/* ===== Reset & Base ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #7c5cff;
    --primary-dark: #5b3fd8;
    --primary-light: #a78bfa;
    --accent: #22d3ee;
    --accent-2: #f472b6;
    --bg: #030310;
    --bg-light: #080818;
    --bg-card: #0a0b1e;
    --text: #e4e7f8;
    --text-muted: #7e87aa;
    --border: #1a1d3a;
    --gradient: linear-gradient(120deg, #7c5cff 0%, #22d3ee 55%, #f472b6 100%);
    --gradient-soft: linear-gradient(135deg, rgba(124, 92, 255, 0.12), rgba(34, 211, 238, 0.10), rgba(244, 114, 182, 0.10));
    --radius: 14px;
    --radius-lg: 22px;
    --shadow: 0 18px 60px rgba(2, 2, 16, 0.65);
    --shadow-glow: 0 0 60px rgba(124, 92, 255, 0.25);
    --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Times New Roman', Times, Georgia, serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
    isolation: isolate;
}

.site-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
    background:
        radial-gradient(circle at 12% 18%, rgba(124, 92, 255, 0.18) 0%, transparent 36%),
        radial-gradient(circle at 86% 14%, rgba(34, 211, 238, 0.12) 0%, transparent 32%),
        radial-gradient(circle at 78% 82%, rgba(244, 114, 182, 0.10) 0%, transparent 32%),
        radial-gradient(circle at 22% 78%, rgba(99, 102, 241, 0.10) 0%, transparent 34%),
        radial-gradient(circle at 50% 50%, rgba(56, 92, 255, 0.06) 0%, transparent 60%),
        linear-gradient(180deg, #020210 0%, #030314 35%, #020210 100%);
}

.site-bg__canvas,
.site-bg__glow,
.site-bg__noise,
.site-bg__grid {
    position: absolute;
    inset: 0;
}

.site-bg__canvas {
    width: 100%;
    height: 100%;
    opacity: 1;
}

.site-bg__glow {
    background:
        radial-gradient(circle at 50% 12%, rgba(255, 255, 255, 0.03) 0%, transparent 28%),
        radial-gradient(circle at 50% 44%, rgba(124, 92, 255, 0.10) 0%, transparent 44%),
        radial-gradient(circle at 18% 70%, rgba(34, 211, 238, 0.08) 0%, transparent 32%),
        radial-gradient(circle at 82% 76%, rgba(244, 114, 182, 0.07) 0%, transparent 32%);
    mix-blend-mode: screen;
    animation: bgGlowDrift 22s ease-in-out infinite alternate;
}

@keyframes bgGlowDrift {
    0%   { transform: translate3d(-1.5%, -1%, 0) scale(1); }
    100% { transform: translate3d(2%, 1.5%, 0) scale(1.04); }
}

.site-bg__grid {
    background-image:
        linear-gradient(rgba(125, 156, 255, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(125, 156, 255, 0.045) 1px, transparent 1px);
    background-size: 88px 88px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.14) 32%, transparent 70%);
    -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.14) 32%, transparent 70%);
    opacity: 0.38;
    transform: perspective(980px) rotateX(72deg) translateY(-10%);
    transform-origin: top center;
}

.site-bg__noise {
    opacity: 0.11;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.55) 0 1px, transparent 1.6px),
        radial-gradient(circle at 78% 42%, rgba(255, 255, 255, 0.45) 0 1px, transparent 1.6px),
        radial-gradient(circle at 34% 80%, rgba(255, 255, 255, 0.35) 0 1px, transparent 1.6px),
        radial-gradient(circle at 60% 18%, rgba(255, 255, 255, 0.28) 0 1px, transparent 1.6px);
    background-size: 210px 210px, 280px 280px, 240px 240px, 320px 320px;
    animation: siteNoiseDrift 26s linear infinite;
}

@keyframes siteNoiseDrift {
    from { transform: translate3d(0, 0, 0); }
    to { transform: translate3d(-120px, -80px, 0); }
}

body > :not(.site-bg):not(script):not(.header) {
    position: relative;
    z-index: 1;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ===== Header ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    background: #000;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(132, 112, 194, 0.24);
    box-shadow: none;
    transform: translateZ(0);
    transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
    padding-top: env(safe-area-inset-top);
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
}

.header.scrolled {
    border-bottom-color: rgba(132, 112, 194, 0.3);
    background: #000;
    box-shadow: none;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 1.4rem;
    font-weight: 800;
}

.logo-image {
    display: block;
    width: 82px;
    height: 38px;
    object-fit: contain;
    object-position: center center;
    flex-shrink: 0;
    mix-blend-mode: lighten;
    filter: brightness(1.08) contrast(1.1) saturate(1.04);
}

.logo-text {
    color: #a99fbc;
    font-family: 'Helvetica Neue', 'Arial', sans-serif;
    font-size: 1.58rem;
    font-weight: 800;
    font-style: italic;
    font-stretch: expanded;
    letter-spacing: 0.055em;
    line-height: 1;
    text-shadow: 0 0 18px rgba(124, 92, 255, 0.1);
    text-transform: none;
}

.footer .logo-image {
    width: 101px;
    height: 48px;
}

.footer .logo-text {
    color: #9f95b5;
    font-size: 1.66rem;
}

.nav {
    margin-left: auto;
}

.nav-list {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: width var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-cta {
    color: var(--primary-light) !important;
    border: 1.5px solid var(--primary-light);
    border-radius: 100px;
    padding: 8px 22px;
    transition: all var(--transition);
}

.nav-cta::after {
    display: none !important;
}

.nav-cta:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff !important;
}

.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.burger span {
    width: 24px;
    height: 2px;
    background: var(--text);
    transition: transform var(--transition), opacity var(--transition);
}

.burger.active span:nth-child(1) { transform: rotate(45deg) translateY(7px); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: rotate(-45deg) translateY(-7px); }

/* ===== Lang Toggle ===== */
.lang-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: var(--bg-card);
    color: var(--text);
    font-size: 12px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.25s ease;
    margin-left: 12px;
    letter-spacing: 0.5px;
    flex-shrink: 0;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.lang-toggle:hover {
    border-color: var(--primary);
    background: #131632;
    color: #fff;
}

.lang-toggle.active {
    background: linear-gradient(135deg, rgba(37, 31, 92, 0.96), rgba(17, 63, 88, 0.96));
    border-color: rgba(124, 92, 255, 0.18);
    color: #fff;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all var(--transition);
    border: none;
    text-decoration: none;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.btn-primary {
    background: linear-gradient(135deg, #29205f 0%, #15324e 55%, #4d2456 100%);
    color: #fff;
    border: 1px solid rgba(124, 92, 255, 0.18);
    box-shadow: 0 10px 24px rgba(8, 8, 24, 0.45);
}

.btn-primary:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #34287b 0%, #184060 55%, #61306c 100%);
    box-shadow: 0 14px 30px rgba(8, 8, 24, 0.58);
}

.btn-outline {
    background: rgba(10, 11, 30, 0.92);
    color: var(--text);
    border: 1px solid var(--border);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: #d9def8;
    background: rgba(19, 22, 50, 0.96);
}

.btn-full {
    width: 100%;
}

/* ===== Hero ===== */
.hero {
    padding: 100px 0 60px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.15), transparent 70%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.08), transparent 70%);
    pointer-events: none;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 0;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(19, 22, 50, 0.92);
    border: 1px solid rgba(124, 92, 255, 0.18);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 24px;
    color: var(--primary-light);
}

.hero h1 {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    color: #f5f7ff;
    text-shadow:
        -1px 0 0 rgba(0, 0, 0, 0.7),
        1px 0 0 rgba(0, 0, 0, 0.7),
        0 -1px 0 rgba(0, 0, 0, 0.7),
        0 1px 0 rgba(0, 0, 0, 0.7),
        0 10px 24px rgba(2, 4, 18, 0.45);
}

.gradient-text {
    color: #f5f7ff;
    background: none;
    -webkit-background-clip: initial;
    -webkit-text-fill-color: currentColor;
    background-clip: border-box;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: rgba(230, 235, 252, 0.86);
    margin-bottom: 36px;
    max-width: 520px;
    text-shadow:
        -1px 0 0 rgba(0, 0, 0, 0.55),
        1px 0 0 rgba(0, 0, 0, 0.55),
        0 -1px 0 rgba(0, 0, 0, 0.55),
        0 1px 0 rgba(0, 0, 0, 0.55),
        0 6px 18px rgba(2, 4, 18, 0.32);
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, max-content);
    column-gap: clamp(44px, 6vw, 88px);
    row-gap: 12px;
    width: fit-content;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-stats .stat:nth-child(2) {
    align-items: center;
    text-align: center;
}

.hero-stats .stat:nth-child(3) {
    align-items: flex-end;
    text-align: right;
}

.stat-value {
    display: flex;
    align-items: baseline;
    gap: 2px;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #d7d1ea 0%, #b5a9d4 52%, #8d78c6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 8px rgba(20, 14, 32, 0.42));
}

.stat-suffix {
    font-size: 1.6rem;
    font-weight: 800;
    background: linear-gradient(135deg, #d7d1ea 0%, #b5a9d4 52%, #8d78c6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 8px rgba(20, 14, 32, 0.42));
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}

/* Code window */
.hero-visual {
    position: relative;
    --panel-extra-x: 0px;
    --panel-extra-y: 0px;
    --panel-opacity: 1;
    --panel-blur: 0px;
    display: flex;
    justify-content: flex-end;
}

.code-window {
    width: min(100%, 760px);
    background: rgba(22, 22, 42, 0.78);
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.code-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 18px 24px;
    background: rgba(10, 12, 28, 0.42);
    border-bottom: 1px solid rgba(148, 163, 184, 0.14);
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red { background: #ef4444; }
.dot.yellow { background: #eab308; }
.dot.green { background: #22c55e; }

.code-title {
    margin-left: 12px;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.code-body {
    padding: 34px 36px 40px;
    font-size: 1.08rem;
    line-height: 1.95;
    font-family: 'Fira Code', 'Cascadia Code', monospace;
    overflow-x: auto;
}

.code-body code {
    display: block;
    white-space: pre-wrap;
    position: relative;
}

.code-body code::after {
    content: '';
    display: inline-block;
    width: 10px;
    height: 1.15em;
    margin-left: 6px;
    vertical-align: -0.18em;
    border-radius: 2px;
    background: rgba(216, 229, 255, 0.85);
    box-shadow: 0 0 18px rgba(124, 92, 255, 0.35);
    animation: codeCaretBlink 0.9s steps(1) infinite;
}

@keyframes codeCaretBlink {
    0%, 48% { opacity: 1; }
    50%, 100% { opacity: 0; }
}

.code-body .tag { color: #ef4444; }
.code-body .attr { color: #eab308; }
.code-body .str { color: #22c55e; }

/* ===== Sections Common ===== */
.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 40px;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(79, 70, 229, 0.1);
    border: 1px solid rgba(79, 70, 229, 0.2);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.section-header h2 {
    font-size: 2.4rem;
    font-weight: 800;
    margin-bottom: 14px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.05rem;
}

/* ===== Services ===== */
.services {
    padding: 70px 0;
    position: relative;
    z-index: 1;
}

.services::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 180px;
    background:
        linear-gradient(180deg, rgba(8, 10, 22, 0) 0%, rgba(6, 8, 20, 0.42) 42%, rgba(3, 4, 14, 0.88) 78%, #020210 100%),
        radial-gradient(70% 120% at 50% 100%, rgba(71, 99, 224, 0.12) 0%, rgba(21, 34, 84, 0.06) 40%, rgba(2, 2, 16, 0) 75%);
    pointer-events: none;
    z-index: 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 30px;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), border-color var(--transition), box-shadow var(--transition), background var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1px;
    background: var(--gradient);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.service-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-soft);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.service-card:hover {
    border-color: transparent;
    transform: translateY(-8px) scale(1.015);
    box-shadow: 0 24px 60px rgba(124, 92, 255, 0.28), 0 0 0 1px rgba(124, 92, 255, 0.12);
}

.service-card:hover::before,
.service-card:hover::after {
    opacity: 1;
}

.service-card.featured {
    border-color: var(--primary);
    background: linear-gradient(135deg, rgba(124, 92, 255, 0.10), rgba(34, 211, 238, 0.06));
}

.service-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 4px 12px;
    background: linear-gradient(135deg, rgba(52, 40, 123, 0.96), rgba(24, 64, 96, 0.94), rgba(97, 48, 108, 0.92));
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 8px 22px rgba(8, 8, 24, 0.35);
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 600;
    color: #fff;
}

.service-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon svg {
    width: 32px;
    height: 32px;
}

.service-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.service-features {
    margin-bottom: 20px;
}

.service-features li {
    padding: 4px 0;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.service-features li::before {
    content: '✓ ';
    color: var(--accent);
    font-weight: 700;
}

.service-price {
    font-size: 1.1rem;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== High-Risk / iGaming / Betting ===== */
.highrisk {
    padding: 70px 0;
    background: linear-gradient(180deg, var(--bg) 0%, #060816 50%, var(--bg) 100%);
    position: relative;
}

.highrisk::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: radial-gradient(ellipse at 30% 50%, rgba(79, 70, 229, 0.06) 0%, transparent 60%),
                radial-gradient(ellipse at 70% 50%, rgba(6, 182, 212, 0.05) 0%, transparent 60%);
    pointer-events: none;
}

.highrisk .container {
    position: relative;
    z-index: 1;
}

.highrisk-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.highrisk-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 30px;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.highrisk-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 3px;
    background: var(--gradient);
    opacity: 0;
    transition: opacity var(--transition);
}

.highrisk-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: 0 10px 40px rgba(79, 70, 229, 0.15);
}

.highrisk-card:hover::before {
    opacity: 1;
}

.highrisk-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.highrisk-icon svg {
    width: 32px;
    height: 32px;
}

.highrisk-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.highrisk-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 16px;
}

.highrisk-features {
    list-style: none;
}

.highrisk-features li {
    padding: 4px 0;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.highrisk-features li::before {
    content: '✓ ';
    color: var(--accent);
    font-weight: 700;
}

/* Extras */
.highrisk-extras {
    margin-top: 0;
}

.highrisk-extras-header {
    text-align: center;
    margin-bottom: 24px;
}

.highrisk-extras-header h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.extras-badge {
    font-size: 0.7rem;
    font-weight: 600;
    padding: 4px 12px;
    background: var(--gradient);
    border-radius: 100px;
    color: #fff;
    letter-spacing: 0.5px;
}

.highrisk-extras-header > p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.extras-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 24px;
}

.extras-item {
    display: flex;
    gap: 16px;
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all var(--transition);
}

.extras-item:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(79, 70, 229, 0.1);
}

.extras-icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.extras-icon svg {
    width: 28px;
    height: 28px;
}

.extras-item strong {
    display: block;
    font-size: 1rem;
    margin-bottom: 6px;
}

.extras-item p {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.5;
    margin: 0;
}

.extras-note {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.8rem;
    font-style: italic;
    opacity: 0.7;
}

/* ===== Disclaimer ===== */
.disclaimer-item {
    border-color: rgba(234, 179, 8, 0.35) !important;
    background: rgba(234, 179, 8, 0.06) !important;
}

.disclaimer-item .extras-icon svg {
    stroke: #fbbf24 !important;
}

.disclaimer-item strong {
    color: #fbbf24;
}

.disclaimer-item p {
    color: #fde68a;
}

/* ===== Tech ===== */
.tech {
    padding: 60px 0;
    background: rgba(6, 6, 20, 0.88);
    backdrop-filter: blur(8px);
    position: relative;
    overflow: hidden;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 24px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all var(--transition);
    cursor: default;
}

.tech-item:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
}

.tech-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tech-icon svg {
    width: 32px;
    height: 32px;
}

.tech-item span {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
}

/* ===== AI Banner ===== */
.ai-section {
    padding: 88px 0 64px;
    margin-top: 0;
    background: linear-gradient(180deg, rgba(6, 8, 22, 0.96) 0%, rgba(5, 7, 20, 0.90) 34%, rgba(4, 5, 18, 0.84) 100%);
    backdrop-filter: blur(14px);
    position: relative;
    overflow: hidden;
}

.ai-section::before {
    content: '';
    position: absolute;
    top: -120px;
    left: 0;
    right: 0;
    height: 320px;
    background:
        linear-gradient(180deg, rgba(12, 16, 34, 0) 0%, rgba(14, 18, 38, 0.44) 36%, rgba(14, 18, 38, 0) 100%),
        radial-gradient(60% 90% at 50% 0%, rgba(90, 120, 255, 0.16) 0%, rgba(15, 22, 58, 0.08) 46%, rgba(8, 10, 26, 0) 78%);
    pointer-events: none;
}

.ai-section::after {
    content: '';
    position: absolute;
    right: -8%;
    top: 12%;
    width: 32vw;
    height: 32vw;
    min-width: 280px;
    min-height: 280px;
    background: radial-gradient(circle, rgba(40, 196, 255, 0.12) 0%, rgba(51, 92, 255, 0.06) 34%, rgba(10, 16, 40, 0) 70%);
    filter: blur(24px);
    pointer-events: none;
}

.ai-section .container,
.services .container,
.highrisk .container,
.tech .container,
.process .container,
.reviews .container,
.faq .container,
.contact .container,
.footer .container {
    position: relative;
    z-index: 1;
}

.ai-banner {
    position: relative;
    border-radius: 32px;
    padding: 54px 58px 50px;
    background:
        radial-gradient(120% 160% at 50% 0%, rgba(84, 113, 255, 0.16) 0%, rgba(29, 45, 99, 0.08) 30%, rgba(11, 16, 34, 0) 64%),
        linear-gradient(135deg, rgba(25, 33, 72, 0.72), rgba(14, 22, 46, 0.8));
    border: 1px solid rgba(106, 132, 255, 0.24);
    overflow: hidden;
    text-align: center;
    box-shadow: 0 30px 90px rgba(5, 10, 28, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.ai-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.045) 0%, rgba(255, 255, 255, 0) 32%);
    pointer-events: none;
}

.ai-banner-glow {
    position: absolute;
    top: -40%; right: -10%;
    width: 420px; height: 420px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.18) 0%, rgba(86, 97, 255, 0.12) 30%, transparent 72%);
    border-radius: 50%;
    pointer-events: none;
    filter: blur(10px);
}

.ai-banner-content {
    position: relative;
    z-index: 1;
}

.ai-banner h3 {
    font-size: clamp(2rem, 3vw, 3.4rem);
    font-weight: 800;
    margin-bottom: 22px;
    line-height: 1.08;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    max-width: 940px;
    margin-left: auto;
    margin-right: auto;
}

.ai-banner p {
    color: rgba(220, 229, 242, 0.82);
    font-size: 1.06rem;
    line-height: 1.9;
    max-width: 980px;
    margin: 0 auto;
    text-wrap: balance;
}

/* ===== Mini CTA (между секциями) ===== */
.mini-cta {
    padding: 56px 0;
    position: relative;
}

.mini-cta-inner {
    max-width: 880px;
    margin: 0 auto;
    text-align: center;
    padding: 28px 32px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(132, 112, 194, 0.08), rgba(94, 156, 211, 0.06));
    border: 1px solid rgba(132, 112, 194, 0.22);
    box-shadow: 0 18px 50px -32px rgba(94, 156, 211, 0.45);
}

.mini-cta-tag {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(180, 196, 230, 0.85);
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(132, 112, 194, 0.14);
    border: 1px solid rgba(132, 112, 194, 0.28);
    margin-bottom: 14px;
}

.mini-cta-inner h3 {
    font-size: clamp(1.25rem, 2.4vw, 1.7rem);
    line-height: 1.35;
    margin: 0 0 10px;
    color: #f1f4fb;
    text-wrap: balance;
}

.mini-cta-inner p {
    margin: 0;
    color: rgba(216, 224, 240, 0.78);
    font-size: 0.98rem;
    line-height: 1.65;
    text-wrap: balance;
}

@media (max-width: 768px) {
    .mini-cta {
        padding: 36px 0;
    }
    .mini-cta-inner {
        padding: 22px 18px;
        border-radius: 16px;
    }
    .mini-cta-inner p {
        font-size: 0.92rem;
    }
}

/* ===== Portfolio ===== */
.portfolio {
    padding: 100px 0;
}

.portfolio-filter {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 24px;
    border-radius: 100px;
    border: 1px solid var(--border);
    background: rgba(9, 10, 26, 0.94);
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition);
    font-family: inherit;
}

.filter-btn:hover,
.filter-btn.active {
    border-color: var(--primary);
    color: #fff;
    background: rgba(33, 28, 82, 0.88);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.portfolio-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition);
}

.portfolio-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.portfolio-card.hidden {
    display: none;
}

.portfolio-image {
    height: 200px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: flex-end;
    padding: 16px;
}

.portfolio-tag {
    padding: 4px 12px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 500;
}

.portfolio-info {
    padding: 24px;
}

.portfolio-info h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.portfolio-info p {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 16px;
}

.portfolio-tech {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.portfolio-tech span {
    padding: 4px 10px;
    background: rgba(79, 70, 229, 0.1);
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--primary-light);
}

/* ===== Process ===== */
.process {
    padding: 70px 0;
    background: rgba(5, 6, 18, 0.86);
    backdrop-filter: blur(8px);
    position: relative;
    overflow: hidden;
}

.process-timeline {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 35px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border);
}

.process-step {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    position: relative;
}

.process-step:last-child {
    margin-bottom: 0;
}

.step-number {
    flex-shrink: 0;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 2px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--primary-light);
    position: relative;
    z-index: 1;
    transition: all var(--transition);
}

.process-step:hover .step-number {
    border-color: var(--primary);
    background: rgba(79, 70, 229, 0.1);
    box-shadow: 0 0 20px rgba(79, 70, 229, 0.2);
}

.step-content {
    padding-top: 14px;
}

.step-content h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.step-content p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ===== Pricing ===== */
.pricing {
    padding: 100px 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: start;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 30px;
    position: relative;
    transition: all var(--transition);
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.pricing-card.popular {
    border-color: var(--primary);
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.08), rgba(6, 182, 212, 0.05));
    transform: scale(1.05);
}

.pricing-card.popular:hover {
    transform: scale(1.05) translateY(-4px);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 20px;
    background: var(--gradient);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
}

.pricing-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border);
}

.pricing-header h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    margin-bottom: 12px;
}

.price-amount {
    font-size: 2.8rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.price-currency {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-muted);
}

.pricing-header p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.pricing-features {
    margin-bottom: 30px;
}

.pricing-features li {
    padding: 8px 0;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pricing-features li.included::before {
    content: '✓';
    color: var(--accent);
    font-weight: 700;
    font-size: 1.1rem;
}

.pricing-features li.excluded {
    color: var(--text-muted);
    opacity: 0.5;
}

.pricing-features li.excluded::before {
    content: '✗';
    color: #ef4444;
    font-weight: 700;
    font-size: 1.1rem;
}

/* ===== Reviews ===== */
.reviews {
    padding: 70px 0;
    background: rgba(4, 5, 16, 0.86);
    backdrop-filter: blur(8px);
    position: relative;
    overflow: hidden;
}

.reviews-slider {
    position: relative;
    overflow: hidden;
}

.reviews-track {
    display: flex;
    gap: 24px;
    transition: transform 0.5s ease;
}

.review-card {
    flex: 0 0 calc(33.333% - 16px);
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
}

.review-stars {
    color: #eab308;
    font-size: 1.2rem;
    margin-bottom: 16px;
}

.review-text {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 24px;
    line-height: 1.8;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.review-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    color: #fff;
}

.review-author strong {
    display: block;
    font-size: 0.9rem;
}

.review-author span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.reviews-controls {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 30px;
}

.review-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(9, 10, 26, 0.96);
    border: 1px solid var(--border);
    color: var(--text);
    font-size: 1.2rem;
    cursor: pointer;
    transition: all var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.review-btn:hover {
    border-color: var(--primary);
    background: rgba(27, 24, 72, 0.92);
}

/* ===== FAQ ===== */
.faq {
    padding: 70px 0;
    position: relative;
    overflow: hidden;
}

.faq-list {
    max-width: 700px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 12px;
    overflow: hidden;
    transition: border-color var(--transition);
}

.faq-item:hover,
.faq-item.active {
    border-color: var(--primary);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    background: var(--bg-card);
    border: none;
    color: var(--text);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    transition: color var(--transition);
}

.faq-icon {
    font-size: 1.4rem;
    font-weight: 300;
    color: var(--primary-light);
    transition: transform var(--transition);
    flex-shrink: 0;
    margin-left: 16px;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-answer p {
    padding: 0 24px 20px;
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.8;
}

/* ===== Contact ===== */
.contact {
    padding: 70px 0;
    background: rgba(4, 5, 16, 0.88);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info h2 {
    font-size: 2rem;
    font-weight: 800;
    margin: 16px 0;
}

.contact-info > p {
    color: var(--text-muted);
    margin-bottom: 36px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 16px;
}

.contact-icon {
    font-size: 1.5rem;
}

.contact-method strong {
    display: block;
    font-size: 0.85rem;
    margin-bottom: 2px;
}

.contact-method a {
    color: var(--primary-light);
    font-size: 0.9rem;
}

.contact-method a:hover {
    color: var(--text);
}

/* Form */
.contact-form {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px;
}

.form-group {
    margin-bottom: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-muted);
}

.label-optional {
    font-weight: 400;
    font-size: 0.78rem;
    color: var(--text-muted);
    opacity: 0.7;
    margin-left: 4px;
}

input, select, textarea {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text);
    font-size: 0.9rem;
    font-family: inherit;
    transition: border-color var(--transition);
    outline: none;
}

input:focus, select:focus, textarea:focus {
    border-color: var(--primary);
}

input::placeholder, textarea::placeholder {
    color: #4a4a6a;
}

select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2394a3b8' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

select option {
    background: var(--bg-card);
}

textarea {
    resize: vertical;
    min-height: 100px;
}

.form-note {
    text-align: center;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 12px;
}

/* ===== Footer ===== */
.footer {
    padding: 50px 0 24px;
    border-top: none;
    background: #000;
    backdrop-filter: blur(10px);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 32px;
    margin-bottom: 32px;
}

.footer-about p {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 14px;
    max-width: 280px;
}

.footer-links h4 {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.footer-links a:hover {
    color: var(--text);
}

.footer-bottom {
    padding-top: 24px;
    background: #000;
}

.footer-bottom-line {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(132, 112, 194, 0.2);
}

.footer-bottom-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.footer-bottom .footer-privacy {
    color: var(--text-muted);
    font-size: 0.85rem;
    text-align: right;
}

.footer-bottom .footer-privacy:hover {
    color: var(--text);
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.footer-support {
    font-size: 0.75rem !important;
    opacity: 0.6;
}

@media (max-width: 768px) {
    .footer-bottom-line {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: start;
    }

    .footer-bottom .footer-privacy {
        align-self: start;
        margin-top: 0;
        text-align: right;
    }
}

.tech::before,
.process::before,
.reviews::before,
.faq::before,
.contact::before,
.footer::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: -1px;
    height: 200px;
    background: linear-gradient(180deg, rgba(3, 3, 16, 0.98) 0%, rgba(3, 3, 16, 0.50) 40%, rgba(3, 3, 16, 0) 100%);
    pointer-events: none;
    z-index: 0;
}

/* Decorative separator lines between sections */
.section-separator {
    position: relative;
    height: 1px;
    width: 100%;
    overflow: visible;
    z-index: 2;
}

.section-separator::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    width: min(80vw, 900px);
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(124, 92, 255, 0.35) 20%, rgba(34, 211, 238, 0.45) 50%, rgba(244, 114, 182, 0.35) 80%, transparent 100%);
}

.section-separator::after {
    content: '';
    position: absolute;
    left: 50%;
    top: -20px;
    transform: translateX(-50%);
    width: min(60vw, 700px);
    height: 40px;
    background: radial-gradient(ellipse at 50% 50%, rgba(124, 92, 255, 0.12) 0%, rgba(34, 211, 238, 0.06) 40%, transparent 70%);
    filter: blur(10px);
    pointer-events: none;
}

/* Diamond accent at center of separator */
.section-separator .sep-diamond {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    width: 8px;
    height: 8px;
    background: var(--gradient);
    border-radius: 2px;
    box-shadow: 0 0 16px rgba(124, 92, 255, 0.6), 0 0 40px rgba(34, 211, 238, 0.3);
    z-index: 1;
}

/* Variant: dotted line */
.section-separator.sep-dots::before {
    background: repeating-linear-gradient(90deg, transparent, transparent 12px, rgba(124, 92, 255, 0.3) 12px, rgba(124, 92, 255, 0.3) 14px, transparent 14px, transparent 26px);
    width: min(70vw, 800px);
}

/* Variant: wider glow */
.section-separator.sep-wide::before {
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, rgba(244, 114, 182, 0.25) 15%, rgba(124, 92, 255, 0.5) 50%, rgba(34, 211, 238, 0.25) 85%, transparent 100%);
}

.section-separator.sep-wide::after {
    height: 60px;
    top: -30px;
    width: min(70vw, 800px);
    background: radial-gradient(ellipse at 50% 50%, rgba(124, 92, 255, 0.08) 0%, transparent 70%);
    filter: blur(18px);
}

.tech::after,
.process::after,
.reviews::after,
.faq::after,
.contact::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 150px;
    background: linear-gradient(180deg, rgba(8, 12, 24, 0) 0%, rgba(8, 12, 24, 0.26) 44%, rgba(8, 12, 24, 0.78) 100%);
    pointer-events: none;
    z-index: 0;
}

/* ===== Animations ===== */

/* Section divider */
.services,
.highrisk,
.process,
.faq,
.contact,
.tech,
.reviews,
.footer,
.ai-section {
    border-top: none;
}

.fade-up {
    --fade-y: 60px;
    --parallax-y: 0px;
    --parallax-rotate: 0deg;
    --parallax-scale: 0.94;
    opacity: 0;
    transform: translate3d(0, calc(var(--fade-y) + var(--parallax-y)), 0) rotateX(var(--parallax-rotate)) scale(var(--parallax-scale));
    transform-origin: 50% 100%;
    filter: blur(8px);
    transition:
        opacity 0.95s cubic-bezier(0.16, 1, 0.3, 1),
        transform 1.05s cubic-bezier(0.16, 1, 0.3, 1),
        filter 0.7s ease-out;
    will-change: transform, opacity, filter;
}

.fade-up.visible {
    opacity: 1;
    --fade-y: 0px;
    --parallax-scale: 1;
    filter: blur(0);
}

/* Directional reveal variants — set via JS */
.fade-up.reveal-left {
    --fade-y: 0px;
    transform: translate3d(-90px, 0, 0) rotateY(8deg) scale(0.96);
    transform-origin: 100% 50%;
}
.fade-up.reveal-left.visible {
    transform: translate3d(0, 0, 0) rotateY(0) scale(1);
}

.fade-up.reveal-right {
    --fade-y: 0px;
    transform: translate3d(90px, 0, 0) rotateY(-8deg) scale(0.96);
    transform-origin: 0% 50%;
}
.fade-up.reveal-right.visible {
    transform: translate3d(0, 0, 0) rotateY(0) scale(1);
}

.fade-up.reveal-zoom {
    --fade-y: 0px;
    transform: scale(0.78) rotate(-2deg);
    filter: blur(14px);
}
.fade-up.reveal-zoom.visible {
    transform: scale(1) rotate(0);
    filter: blur(0);
}

.fade-up.reveal-tilt {
    --fade-y: 70px;
    transform: translate3d(0, 70px, 0) rotateX(18deg) scale(0.92);
    transform-origin: 50% 100%;
    perspective: 1200px;
}
.fade-up.reveal-tilt.visible {
    transform: translate3d(0, 0, 0) rotateX(0) scale(1);
}

.fade-up.reveal-flip {
    --fade-y: 0px;
    transform: perspective(1000px) rotateX(-30deg) translateY(40px);
    transform-origin: 50% 0%;
    opacity: 0;
}
.fade-up.reveal-flip.visible {
    transform: perspective(1000px) rotateX(0) translateY(0);
    opacity: 1;
}

/* Stagger delays based on data-stagger */
.fade-up[data-stagger="1"] { transition-delay: 0.08s; }
.fade-up[data-stagger="2"] { transition-delay: 0.16s; }
.fade-up[data-stagger="3"] { transition-delay: 0.24s; }
.fade-up[data-stagger="4"] { transition-delay: 0.32s; }
.fade-up[data-stagger="5"] { transition-delay: 0.40s; }
.fade-up[data-stagger="6"] { transition-delay: 0.48s; }

/* ===== Toast ===== */
.toast {
    position: relative;
    margin-top: 16px;
    padding: 14px 16px;
    width: 100%;
    background: var(--bg-card);
    border: 1px solid var(--accent);
    border-radius: var(--radius);
    color: var(--text);
    font-size: 0.9rem;
    line-height: 1.55;
    white-space: normal;
    word-break: break-word;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    z-index: 2;
    transform: translateY(8px);
    opacity: 0;
    transition: opacity 0.28s ease, transform 0.28s ease;
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

@media (max-width: 768px) {
    .toast {
        padding: 14px 16px;
        font-size: 0.86rem;
    }
}

/* ===== Contact Form Wide ===== */

.contact-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 32px;
    max-width: 1100px;
    margin: 0 auto;
    align-items: start;
}

.contact-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: sticky;
    top: 100px;
}

.contact-info-card {
    padding: 24px;
    border-radius: var(--radius-lg);
    background: var(--bg-card);
    border: 1px solid var(--border);
    transition: border-color var(--transition);
}

.contact-info-card:hover {
    border-color: rgba(79, 70, 229, 0.3);
}

.contact-info-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.contact-info-privacy .contact-info-icon {
    background: rgba(0, 212, 255, 0.1);
    color: #00d4ff;
}

.contact-info-warning .contact-info-icon {
    background: rgba(251, 191, 36, 0.1);
    color: #fbbf24;
}

.contact-info-card h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 10px;
}

.contact-info-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.contact-form-wide {
    padding: 44px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}

.contact-form-wide .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-note a {
    color: var(--accent);
    text-decoration: underline;
}

.form-note a:hover {
    color: var(--primary-light);
}

/* ===== Crypto Payment Notice ===== */
.crypto-payment-notice {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 40px;
    padding: 20px 30px;
    background: linear-gradient(135deg, rgba(38, 161, 123, 0.1), rgba(247, 147, 26, 0.06));
    border: 1px solid rgba(38, 161, 123, 0.25);
    border-radius: var(--radius);
    margin-bottom: 32px;
    position: relative;
    z-index: 1;
}

.crypto-notice-content {
    display: flex;
    align-items: center;
    gap: 14px;
}

.crypto-notice-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.crypto-notice-icon svg {
    width: 28px;
    height: 28px;
}

.crypto-notice-content strong {
    display: block;
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.crypto-notice-content p {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin: 0;
}

.crypto-logos {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.crypto-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    transition: transform var(--transition);
}

.crypto-logo:hover {
    transform: scale(1.15);
}

/* ===== Price USDT Logo ===== */
.price {
    display: flex;
    align-items: center;
    gap: 8px;
}

.price-usdt-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

/* ===== Footer Privacy ===== */
.footer-privacy {
    font-size: 0.78rem;
    color: var(--text-muted);
    text-decoration: underline;
    opacity: 0.7;
    transition: opacity var(--transition), color var(--transition);
}

.footer-privacy:hover {
    opacity: 1;
    color: var(--accent);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }

    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-visual {
        max-width: 500px;
        margin: 0 auto;
    }

    .services-grid,
    .portfolio-grid,
    .pricing-grid,
    .highrisk-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .extras-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-card.popular {
        transform: none;
    }

    .pricing-card.popular:hover {
        transform: translateY(-4px);
    }

    .tech-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .review-card {
        flex: 0 0 calc(50% - 12px);
    }

    .ai-banner {
        padding: 40px 34px 36px;
    }

    .ai-banner h3 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .hero {
        padding: 100px 0 36px;
    }

    .hero .container {
        gap: 22px;
    }

    .hero-content {
        text-align: left;
    }

    .crypto-payment-notice {
        flex-direction: column;
        text-align: center;
        gap: 16px;
        margin-top: 28px;
        padding: 18px 20px;
    }

    .crypto-notice-content {
        flex-direction: column;
        gap: 10px;
    }

    .contact-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .contact-sidebar {
        flex-direction: column;
        position: static;
    }

    .contact-form-wide {
        padding: 28px 22px;
    }

    .contact-form-wide .form-row {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        margin-bottom: 34px;
    }

    .hero-badge {
        align-self: flex-start;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .services,
    .portfolio,
    .process,
    .reviews,
    .faq,
    .contact,
    .highrisk {
        padding: 50px 0;
    }

    .ai-section {
        padding: 54px 0 38px;
        margin-top: 18px;
    }

    .ai-banner {
        padding: 34px 22px 30px;
        border-radius: 24px;
    }

    .ai-banner h3 {
        font-size: 1.55rem;
        margin-bottom: 16px;
    }

    .ai-banner p {
        font-size: 0.94rem;
        line-height: 1.8;
    }

    .nav {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(15, 15, 26, 0.98);
        backdrop-filter: blur(20px);
        padding: 24px;
        border-bottom: 1px solid var(--border);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .nav.open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-list {
        flex-direction: column;
        gap: 16px;
    }

    .nav-link {
        font-size: 1.1rem;
    }

    .nav-cta {
        text-align: center;
        display: block;
        width: fit-content;
        margin: 4px auto 0;
    }

    .burger {
        display: flex;
    }

    .lang-toggle {
        margin-left: auto;
        margin-right: 12px;
    }

    .hero-visual {
        width: 100%;
        max-width: 100%;
        justify-content: flex-start;
    }

    .code-window {
        width: 100%;
        max-width: 100%;
        animation: none;
        transform: none !important;
    }

    .scroll-panel,
    .scroll-stage,
    .fade-up,
    [data-scroll-reveal] {
        transform: none !important;
        transition: none !important;
        filter: none !important;
    }

    .code-body {
        padding: 24px 20px 28px;
        font-size: 0.94rem;
        line-height: 1.7;
    }

    .services-grid,
    .portfolio-grid,
    .pricing-grid,
    .highrisk-grid {
        grid-template-columns: 1fr;
    }

    .extras-grid {
        grid-template-columns: 1fr;
    }

    .tech-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .hero-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        justify-content: center;
        justify-items: center;
        width: 100%;
        column-gap: 12px;
        row-gap: 12px;
    }

    .stat {
        align-items: center;
        text-align: center;
    }

    .hero-stats .stat:nth-child(2),
    .hero-stats .stat:nth-child(3) {
        align-items: center;
        text-align: center;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .stat-suffix {
        font-size: 1.3rem;
    }

    .stat-label {
        font-size: 0.75rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px 20px;
    }

    .footer-about {
        grid-column: 1 / -1;
        text-align: center;
    }

    .footer-about .logo {
        justify-content: center;
    }

    .footer-about p {
        max-width: 100%;
        margin: 14px auto 0;
    }

    .footer-bottom-line {
        gap: 14px;
    }

    .footer-bottom-copy {
        width: 100%;
    }

    .footer-links {
        text-align: center;
    }

    .review-card {
        flex: 0 0 100%;
    }

    .extras-item {
        padding: 18px;
        gap: 12px;
    }

    .highrisk-extras-header h3 {
        font-size: 1.2rem;
        flex-direction: column;
        gap: 8px;
    }

    .service-card,
    .highrisk-card {
        padding: 28px 22px;
    }

    .process-timeline::before {
        left: 20px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero {
        padding: 92px 0 30px;
    }

    .hero h1 {
        font-size: 1.7rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

    .section-header p {
        font-size: 0.9rem;
    }

    .hero-actions .btn {
        text-align: center;
    }

    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-form {
        padding: 20px;
    }

    .ai-banner {
        padding: 28px 18px 24px;
    }

    .ai-banner h3 {
        font-size: 1.32rem;
    }

    .extras-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 10px;
        padding: 16px;
    }

    .disclaimer-item {
        padding: 18px 16px;
    }
    .disclaimer-item strong {
        font-size: 1.05rem;
        margin-bottom: 8px;
    }
    .disclaimer-item p {
        font-size: 0.88rem;
        line-height: 1.55;
    }

    .service-card,
    .highrisk-card {
        padding: 24px 18px;
    }

    .pricing-card {
        padding: 28px 20px;
    }

    .crypto-payment-notice {
        margin-top: 24px;
        padding: 18px 16px;
    }

    .footer-bottom p {
        font-size: 0.75rem;
    }

    .hero-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 12px;
        justify-items: center;
        width: 100%;
    }

    .stat {
        flex-direction: column;
        align-items: center;
        gap: 4px;
        text-align: center;
    }

    .hero-stats .stat:nth-child(2),
    .hero-stats .stat:nth-child(3) {
        align-items: center;
        text-align: center;
    }

    .footer-bottom-copy {
        align-items: flex-start;
        text-align: left;
    }

    .footer-bottom-line {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: start;
    }

    .footer-bottom .footer-privacy {
        align-self: start;
        margin-top: 0;
        text-align: right;
    }

    .stat-value {
        gap: 1px;
    }

    .stat-number {
        font-size: 1.6rem;
    }

    .stat-suffix {
        font-size: 1.2rem;
    }

    .stat-label {
        font-size: 0.8rem;
        color: var(--text-muted);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px 16px;
        text-align: center;
    }

    .footer-about {
        grid-column: 1 / -1;
        text-align: center;
    }

    .footer-about .logo {
        justify-content: center;
    }

    .footer-about p {
        max-width: 100%;
        margin: 10px auto 0;
    }

    .footer-links {
        text-align: center;
    }

    .footer-links h4 {
        margin-bottom: 10px;
    }

    .footer-links li {
        margin-bottom: 6px;
    }

    .footer-bottom-line {
        padding-top: 14px;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .process-step {
        gap: 16px;
    }

    .step-number {
        width: 48px;
        height: 48px;
        font-size: 0.95rem;
    }

    .pricing-card {
        padding: 24px 16px;
    }

    .review-card {
        padding: 24px;
    }

    .faq-question {
        padding: 16px 18px;
        font-size: 0.88rem;
    }

    .faq-answer p {
        padding: 0 18px 16px;
        font-size: 0.85rem;
    }

    .contact-sidebar {
        flex-direction: column;
    }

    .contact-form-wide {
        padding: 24px 16px;
    }
}

/* ===== 3D Section — PREMIUM SHOWCASE ===== */
.threed-section {
    padding: 160px 0 140px;
    background: linear-gradient(180deg, #020210 0%, #060618 40%, #0a0a20 70%, #020210 100%);
    overflow: hidden;
    border: none;
    position: relative;
    perspective: 1200px;
}

/* Smooth gradient fade from services (top) into 3D section */
.threed-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 280px;
    background:
        linear-gradient(180deg, #020210 0%, rgba(4, 6, 18, 0.92) 18%, rgba(7, 10, 24, 0.68) 42%, rgba(8, 12, 28, 0.32) 70%, rgba(8, 12, 28, 0) 100%),
        radial-gradient(90% 85% at 50% 0%, rgba(77, 104, 228, 0.1) 0%, rgba(17, 26, 66, 0.05) 44%, rgba(2, 2, 16, 0) 78%);
    z-index: 3;
    pointer-events: none;
}

/* Smooth gradient fade from 3D section into next (bottom) */
.threed-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(0deg, var(--bg) 0%, rgba(15, 15, 26, 0.5) 40%, transparent 100%);
    z-index: 3;
    pointer-events: none;
}

/* WebGL Canvas */
#webglCanvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* Floating Orbs */
.threed-orbs {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.threed-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0;
    transition: opacity 1.2s ease;
}

.threed-section.in-view .threed-orb { opacity: 1; }

.threed-orb--1 {
    width: 500px;
    height: 500px;
    top: -10%;
    right: -5%;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.25) 0%, transparent 70%);
    animation: orbDrift1 16s ease-in-out infinite;
}

.threed-orb--2 {
    width: 400px;
    height: 400px;
    bottom: -5%;
    left: -8%;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.2) 0%, transparent 70%);
    animation: orbDrift2 20s ease-in-out infinite;
}

.threed-orb--3 {
    width: 300px;
    height: 300px;
    top: 40%;
    left: 50%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, transparent 70%);
    animation: orbDrift3 14s ease-in-out infinite;
}

@keyframes orbDrift1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(-40px, 30px) scale(1.1); }
    66% { transform: translate(20px, -20px) scale(0.95); }
}

@keyframes orbDrift2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(50px, -40px) scale(1.15); }
}

@keyframes orbDrift3 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    40% { transform: translate(-30px, 20px) scale(1.1); }
    80% { transform: translate(25px, -35px) scale(0.9); }
}

/* Grid floor effect */
.threed-grid-floor {
    position: absolute;
    bottom: 0;
    left: -10%;
    right: -10%;
    height: 40%;
    background:
        linear-gradient(90deg, rgba(79, 70, 229, 0.05) 1px, transparent 1px),
        linear-gradient(0deg, rgba(79, 70, 229, 0.05) 1px, transparent 1px);
    background-size: 60px 60px;
    transform: perspective(600px) rotateX(55deg);
    transform-origin: bottom center;
    mask-image: linear-gradient(to top, rgba(0,0,0,0.4) 0%, transparent 80%);
    -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,0.4) 0%, transparent 80%);
    z-index: 1;
    opacity: 0;
    will-change: transform, opacity;
    animation: gridPulse 4s ease-in-out infinite;
}

.threed-section.in-view .threed-grid-floor { opacity: 1; }

@keyframes gridPulse {
    0%, 100% { background-size: 60px 60px; }
    50% { background-size: 62px 62px; }
}

/* Overlay */
.threed-overlay {
    position: relative;
    z-index: 5;
    min-height: 700px;
    display: flex;
    align-items: center;
    width: 100%;
}

.threed-section .container.threed-layout {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    width: 100%;
}

.threed-layout {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0;
}

/* Info panel */
.threed-info {
    max-width: 560px;
    position: relative;
    z-index: 10;
    padding-left: 0;
}

.threed-tag {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 100px;
    border: 1px solid rgba(6, 182, 212, 0.3);
    background: rgba(6, 182, 212, 0.06);
    color: var(--accent);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 28px;
    backdrop-filter: blur(12px);
    box-shadow: 0 0 30px rgba(6, 182, 212, 0.08);
    animation: tagFloat 3s ease-in-out infinite;
    position: relative;
}

.threed-tag::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 100px;
    background: linear-gradient(90deg, rgba(6,182,212,0.4), rgba(79,70,229,0.4), rgba(139,92,246,0.4), rgba(6,182,212,0.4));
    background-size: 300% 100%;
    z-index: -1;
    animation: tagBorderFlow 4s linear infinite;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    -webkit-mask-composite: xor;
    padding: 1px;
}

@keyframes tagFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

@keyframes tagBorderFlow {
    0% { background-position: 0% 50%; }
    100% { background-position: 300% 50%; }
}

.threed-info h2 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: rgba(255, 255, 255, 0.92);
}

.gradient-text-glow {
    background: linear-gradient(135deg, #06b6d4 0%, #818cf8 30%, #c084fc 55%, #06b6d4 80%, #818cf8 100%);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 5s ease-in-out infinite;
    text-shadow: none;
    filter: drop-shadow(0 0 40px rgba(6, 182, 212, 0.35));
    position: relative;
}

@keyframes gradientShift {
    0% { background-position: 0% 0%; }
    50% { background-position: 100% 100%; }
    100% { background-position: 0% 0%; }
}

.threed-subtitle {
    color: rgba(180, 195, 220, 0.7);
    font-size: 1.15rem;
    line-height: 1.9;
    margin-bottom: 40px;
}

/* Capabilities grid */
.threed-capabilities {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 36px;
}

.threed-cap {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 20px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(4px);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.threed-cap::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.06) 0%, rgba(79, 70, 229, 0.04) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.threed-cap:hover {
    border-color: rgba(6, 182, 212, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(6, 182, 212, 0.08);
}

.threed-cap:hover::before { opacity: 1; }

.threed-cap__icon {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.15), rgba(79, 70, 229, 0.15));
    color: var(--accent);
    position: relative;
    z-index: 1;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.threed-cap:hover .threed-cap__icon {
    transform: scale(1.12) rotate(-3deg);
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.2);
}

.threed-cap__icon svg {
    width: 18px;
    height: 18px;
}

.threed-cap__text {
    position: relative;
    z-index: 1;
}

.threed-cap__text strong {
    display: block;
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 3px;
    font-weight: 600;
}

.threed-cap__text span {
    font-size: 0.78rem;
    color: rgba(180, 195, 220, 0.5);
    line-height: 1.4;
}

/* Price notice */
.threed-price-notice {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 18px 22px;
    background: rgba(249, 115, 22, 0.04);
    border: 1px solid rgba(249, 115, 22, 0.15);
    border-radius: var(--radius);
    color: #fbbf24;
    font-size: 0.85rem;
    line-height: 1.6;
    backdrop-filter: blur(8px);
}

.threed-price-notice svg {
    flex-shrink: 0;
    margin-top: 2px;
    stroke: #fbbf24;
}

.threed-price-notice span {
    color: var(--text-muted);
}

/* Scroll reveal animations */
[data-scroll-reveal] {
    --scroll-reveal-y: 30px;
    --scroll-reveal-scale: 0.985;
    --scroll-reveal-rotate: 0deg;
    opacity: 0;
    transform: translate3d(0, var(--scroll-reveal-y), 0) rotateX(var(--scroll-reveal-rotate)) scale(var(--scroll-reveal-scale));
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}

[data-scroll-reveal].revealed {
    opacity: 1;
    --scroll-reveal-y: 0px;
    --scroll-reveal-scale: 1;
}

.scroll-stage {
    --stage-shift: 0px;
    --stage-tilt: 0deg;
    --stage-scale: 1;
    --stage-glow: 0;
    --stage-sweep: 0;
}

.scroll-stage::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 12%;
    width: min(72vw, 920px);
    height: 140px;
    transform: translateX(-50%) scaleX(calc(0.92 + var(--stage-glow) * 0.08));
    background: linear-gradient(90deg, rgba(20, 40, 96, 0) 0%, rgba(62, 118, 255, calc(var(--stage-sweep) * 0.04)) 24%, rgba(36, 210, 255, calc(var(--stage-sweep) * 0.06)) 50%, rgba(93, 88, 255, calc(var(--stage-sweep) * 0.03)) 76%, rgba(20, 40, 96, 0) 100%);
    filter: blur(28px);
    pointer-events: none;
    z-index: 0;
}

.scroll-stage::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 8%;
    width: min(40vw, 520px);
    height: min(40vw, 520px);
    border-radius: 50%;
    transform: translateX(-50%) scale(calc(0.94 + var(--stage-glow) * 0.08));
    background: radial-gradient(circle, rgba(94, 132, 255, calc(var(--stage-glow) * 0.06)) 0%, rgba(22, 181, 255, calc(var(--stage-glow) * 0.04)) 26%, rgba(112, 75, 255, calc(var(--stage-glow) * 0.02)) 48%, transparent 74%);
    filter: blur(16px);
    pointer-events: none;
    z-index: 0;
}

.footer.scroll-stage::after {
    display: none;
}

.footer.scroll-stage::before {
    display: none;
}

.scroll-panel {
    --panel-shift: 0px;
    --panel-slide-x: 0px;
    --panel-rotate: 0deg;
    --panel-scale: 1;
    --panel-extra-x: 0px;
    --panel-extra-y: 0px;
    --panel-opacity: 1;
    --panel-blur: 0px;
    transform: translate3d(calc(var(--panel-extra-x) + var(--panel-slide-x)), calc(var(--panel-shift) + var(--panel-extra-y)), 0) rotateX(var(--panel-rotate)) scale(var(--panel-scale));
    opacity: var(--panel-opacity);
    filter: blur(var(--panel-blur));
    transform-style: preserve-3d;
    transition: transform 0.32s ease-out, opacity 0.24s linear, filter 0.24s linear;
    will-change: transform, opacity, filter;
}

.hero .scroll-panel {
    transition: transform 0.24s ease-out;
}

.services,
.faq,
.footer {
    background: linear-gradient(180deg, rgba(4, 5, 16, 0.72) 0%, rgba(3, 4, 14, 0.88) 100%);
    backdrop-filter: blur(6px);
}

.footer {
    background: #000;
    backdrop-filter: blur(10px);
}

.service-card,
.tech-item,
.review-card,
.faq-question,
.process-step,
.contact-form,
.contact-card,
.extras-item {
    box-shadow: 0 18px 50px rgba(4, 8, 24, 0.22);
}

@media (prefers-reduced-motion: reduce) {
    .site-bg__noise,
    .code-window,
    .fade-up,
    [data-scroll-reveal],
    .scroll-panel {
        animation: none !important;
        transition: none !important;
    }

    .fade-up,
    .fade-up.visible,
    [data-scroll-reveal],
    [data-scroll-reveal].revealed,
    .scroll-panel {
        transform: none !important;
        opacity: 1 !important;
    }
}

[data-scroll-reveal][data-delay="1"] { transition-delay: 0.15s; }
[data-scroll-reveal][data-delay="2"] { transition-delay: 0.3s; }
[data-scroll-reveal][data-delay="3"] { transition-delay: 0.45s; }
[data-scroll-reveal][data-delay="4"] { transition-delay: 0.6s; }

/* Capability cards stagger — driven by .in-view */
.threed-section .threed-cap {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.4s ease,
                box-shadow 0.4s ease;
}

.threed-section.in-view .threed-cap {
    opacity: 1;
    transform: translateY(0);
    border-color: rgba(6, 182, 212, 0.12);
    box-shadow: 0 8px 30px rgba(6, 182, 212, 0.06);
}

.threed-section.in-view .threed-cap::before {
    opacity: 0.7;
}

.threed-section.in-view .threed-cap .threed-cap__icon {
    box-shadow: 0 0 18px rgba(6, 182, 212, 0.08);
}

.threed-section.in-view .threed-cap:nth-child(1) { transition-delay: 0.5s; }
.threed-section.in-view .threed-cap:nth-child(2) { transition-delay: 0.65s; }
.threed-section.in-view .threed-cap:nth-child(3) { transition-delay: 0.8s; }
.threed-section.in-view .threed-cap:nth-child(4) { transition-delay: 0.95s; }

/* Floating line decoration */
.threed-info::before {
    content: '';
    position: absolute;
    left: -16px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, transparent 0%, rgba(6,182,212,0.4) 30%, rgba(79,70,229,0.4) 70%, transparent 100%);
    border-radius: 2px;
    opacity: 0;
    transition: opacity 1s ease 0.3s;
}

.threed-section.in-view .threed-info::before {
    opacity: 1;
    animation: lineGlow 3s ease-in-out infinite;
}

@keyframes lineGlow {
    0%, 100% { box-shadow: 0 0 8px rgba(6,182,212,0.2); }
    50% { box-shadow: 0 0 16px rgba(6,182,212,0.5); }
}

/* ===== 3D SECTION RESPONSIVE ===== */
@media (max-width: 768px) {
    .threed-section { padding: 100px 0 80px; }
    .threed-overlay {
        min-height: 660px;
        align-items: center;
    }
    .threed-section .container.threed-layout { max-width: 100%; padding: 0 20px; }
    .threed-layout {
        justify-content: center;
        width: 100%;
    }
    .threed-info {
        max-width: 100%;
        text-align: center;
        margin-top: 0;
        padding: 18px 14px;
        border-radius: 20px;
        background: transparent;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        box-shadow: none;
        isolation: isolate;
    }
    .threed-info::before {
        display: block;
        left: 50%;
        top: -70px;
        bottom: auto;
        width: 2px;
        height: 54px;
        transform: translateX(-50%);
        opacity: 0.9;
    }
    .threed-info::after {
        content: '';
        position: absolute;
        left: -6px;
        right: -6px;
        top: 38px;
        height: 270px;
        border-radius: 28px;
        background: radial-gradient(circle at 50% 18%, rgba(8, 12, 28, 0.82) 0%, rgba(8, 12, 28, 0.66) 42%, rgba(8, 12, 28, 0.22) 72%, rgba(8, 12, 28, 0) 100%);
        filter: blur(10px);
        z-index: 0;
        pointer-events: none;
    }
    .threed-info > * {
        position: relative;
        z-index: 1;
    }
    .threed-info h2 {
        font-size: 2rem;
        color: rgba(255, 255, 255, 0.98);
        text-shadow: 0 8px 28px rgba(0, 0, 0, 0.42);
    }
    .threed-subtitle {
        font-size: 1rem;
        color: rgba(229, 236, 247, 0.94);
        text-shadow: 0 6px 20px rgba(0, 0, 0, 0.34);
    }
    .threed-capabilities { grid-template-columns: 1fr 1fr; gap: 10px; }
    .threed-cap {
        justify-content: center;
        background: rgba(10, 15, 30, 0.62);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border-color: rgba(255, 255, 255, 0.12);
        padding: 12px 14px;
        box-shadow: 0 10px 24px rgba(4, 8, 20, 0.18);
    }
    .threed-cap__text strong { color: rgba(255, 255, 255, 0.96); }
    .threed-cap__text span { color: rgba(214, 225, 240, 0.78); }
    .threed-price-notice {
        flex-direction: column;
        gap: 8px;
        text-align: center;
        align-items: center;
        background: rgba(36, 20, 10, 0.54);
    }
    .threed-tag { margin-left: auto; margin-right: auto; }
}

/* ===== Mobile fixes (iPhone notch, iGaming spacing, 3D readability) ===== */
@media (max-width: 768px) {
    body {
        background: var(--bg);
    }
    /* фон notch-зоны не должен быть прозрачным */
    .header {
        background: #000;
    }

    /* iGaming: убираем огромный пустой просвет сверху */
    .highrisk {
        padding: 36px 0 50px;
    }
    .highrisk .section-header {
        margin-bottom: 24px;
    }

    /* Threed: орб на фоне, текст сверху (как на десктопе) */
    .threed-section {
        padding: 70px 0 60px;
    }
    .threed-overlay {
        min-height: 640px;
        position: relative;
        padding-top: 0;
        align-items: center;
        justify-content: center;
    }
    /* важно: не переопределяем высоту канваса — он заливает всю секцию (inset:0),
       иначе CSS-высота не совпадает с internal width/height и сфера становится овальной */
    .threed-info {
        padding: 14px 12px 0;
        text-align: center;
        background: transparent;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        box-shadow: none;
    }
    .threed-info::after {
        display: none;
    }
    .threed-info::before {
        display: none;
    }
    .threed-info h2 {
        font-size: 1.65rem;
        line-height: 1.25;
        margin-bottom: 12px;
    }
    .threed-subtitle {
        font-size: 0.95rem;
        line-height: 1.55;
        margin-bottom: 16px;
    }
    .threed-capabilities {
        gap: 8px;
        margin-top: 8px;
    }
    .threed-cap {
        padding: 10px 10px;
        gap: 8px;
    }
    .threed-cap__text strong {
        font-size: 0.88rem;
        line-height: 1.2;
    }
    .threed-cap__text span {
        font-size: 0.74rem;
        line-height: 1.3;
    }
    .threed-cap__icon {
        width: 32px;
        height: 32px;
    }
    .threed-cap__icon svg {
        width: 18px;
        height: 18px;
    }
    .threed-orbs,
    .threed-grid-floor {
        display: none;
    }
}

@media (max-width: 480px) {
    .threed-overlay {
        min-height: 560px;
    }
    .threed-info h2 {
        font-size: 1.45rem;
    }
}
