*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --bg:          #04050f;
    --bg-2:        #080b1a;
    --text:        #e8eeff;
    --text-muted:  #7a85a3;
    --text-dim:    #4a5270;
    --orange:      #f97316;
    --orange-l:    #fdba74;
    --amber:       #f59e0b;
    --pink:        #ec4899;
    --pink-l:      #f9a8d4;
    --purple:      #7c3aed;
    --purple-l:    #a78bfa;
    --cyan:        #06b6d4;
    --blue:        #3b82f6;
    --blue-l:      #93c5fd;
    --indigo:      #6366f1;
    --indigo-l:    #a5b4fc;
    --green:       #10b981;
    --emerald:     #10b981;
    --emerald-l:   #6ee7b7;
    --gold:        #f59e0b;
    --gold-l:      #fcd34d;
    --teal:        #0d9488;
    --border:      rgba(255,255,255,0.07);
    --glass:       rgba(255,255,255,0.04);
    --glass-b:     rgba(255,255,255,0.09);
    --font:        'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --radius:      16px;
}

/* ── PER-SOLUTION THEMES (set via <body data-solution="…">) ───────── */
:root, body[data-solution="web"] {
    --a-rgb: 249,115,22;  --b-rgb: 236,72,153;  --a-l: #fdba74;
    --g1: #f97316; --g2: #ec4899;
    --gt:     linear-gradient(135deg, #fdba74 0%, #f472b6 50%, #c084fc 100%);
    --gt-alt: linear-gradient(135deg, #c084fc 0%, #f472b6 50%, #fdba74 100%);
}
body[data-solution="games"] {
    --a-rgb: 6,182,212;   --b-rgb: 124,58,237;  --a-l: #34d399;
    --g1: #7c3aed; --g2: #06b6d4;
    --gt:     linear-gradient(135deg, #34d399 0%, #06b6d4 50%, #a78bfa 100%);
    --gt-alt: linear-gradient(135deg, #a78bfa 0%, #60a5fa 50%, #34d399 100%);
}
body[data-solution="mobile"] {
    --a-rgb: 99,102,241;  --b-rgb: 59,130,246;  --a-l: #a5b4fc;
    --g1: #6366f1; --g2: #3b82f6;
    --gt:     linear-gradient(135deg, #a5b4fc 0%, #60a5fa 50%, #67e8f9 100%);
    --gt-alt: linear-gradient(135deg, #a5b4fc 0%, #c084fc 50%, #f472b6 100%);
}
body[data-solution="e-commerce"] {
    --a-rgb: 16,185,129;  --b-rgb: 245,158,11;  --a-l: #6ee7b7;
    --g1: #10b981; --g2: #f59e0b;
    --gt:     linear-gradient(135deg, #6ee7b7 0%, #34d399 40%, #fcd34d 100%);
    --gt-alt: linear-gradient(135deg, #fcd34d 0%, #6ee7b7 60%, #34d399 100%);
}


html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
    line-height: 1.6;
}

/* ── NEBULA BACKGROUND ─────────────────────────────── */
.nebula {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    mix-blend-mode: screen;
}

.blob-1 {
    width: 900px; height: 900px;
    background: radial-gradient(circle, rgba(var(--a-rgb),0.35) 0%, transparent 70%);
    top: -300px; left: -200px;
    animation: drift1 22s ease-in-out infinite;
}
.blob-2 {
    width: 700px; height: 700px;
    background: radial-gradient(circle, rgba(var(--b-rgb),0.3) 0%, transparent 70%);
    top: -100px; right: -150px;
    animation: drift2 28s ease-in-out infinite;
}
.blob-3 {
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(124,58,237,0.25) 0%, transparent 70%);
    top: 40%; left: 20%;
    animation: drift3 18s ease-in-out infinite;
}
.blob-4 {
    width: 800px; height: 800px;
    background: radial-gradient(circle, rgba(245,158,11,0.18) 0%, transparent 70%);
    bottom: -200px; right: -100px;
    animation: drift4 25s ease-in-out infinite;
}
.blob-5 {
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(var(--a-rgb),0.28) 0%, transparent 70%);
    bottom: 10%; left: -100px;
    animation: drift5 20s ease-in-out infinite;
}

@keyframes drift1 {
    0%,100% { transform: translate(0,0) scale(1); }
    33%      { transform: translate(120px, 80px) scale(1.08); }
    66%      { transform: translate(-60px, 140px) scale(0.94); }
}
@keyframes drift2 {
    0%,100% { transform: translate(0,0) scale(1); }
    40%      { transform: translate(-100px, 60px) scale(1.1); }
    70%      { transform: translate(60px, -80px) scale(0.92); }
}
@keyframes drift3 {
    0%,100% { transform: translate(0,0) scale(1); }
    50%      { transform: translate(80px, -60px) scale(1.15); }
}
@keyframes drift4 {
    0%,100% { transform: translate(0,0) scale(1); }
    30%      { transform: translate(-80px, -50px) scale(0.9); }
    70%      { transform: translate(40px, 80px) scale(1.05); }
}
@keyframes drift5 {
    0%,100% { transform: translate(0,0) scale(1); }
    50%      { transform: translate(100px, -80px) scale(1.12); }
}

.grain {
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    opacity: 0.035;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 200px 200px;
}

#star-canvas {
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

/* ── LAYOUT ───────────────────────────────────────── */
.container { max-width: 1160px; margin: 0 auto; padding: 0 32px; position: relative; z-index: 10; }
.section { padding: 100px 0; }

.gradient-text {
    background: var(--gt);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-text-alt {
    background: var(--gt-alt);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── NAV ──────────────────────────────────────────── */
nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 0 32px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(4,5,15,0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: background 0.3s;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.nav-logo-icon {
    width: 30px; height: 30px;
    background: linear-gradient(135deg, var(--g1), var(--g2));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 0 16px rgba(var(--a-rgb),0.45);
}

.nav-logo-text { display: flex; flex-direction: column; line-height: 1.15; }

.nav-logo-top {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--a-l);
}

.nav-logo-bottom {
    font-size: 13px;
    font-weight: 700;
    color: var(--text);
    white-space: nowrap;
}

.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
}

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

.nav-right { display: flex; align-items: center; gap: 12px; }

.btn-ghost-nav {
    color: var(--text-muted);
    background: none;
    border: none;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    font-family: var(--font);
    padding: 6px 14px;
    border-radius: 8px;
    transition: color 0.2s, background 0.2s;
}

.btn-ghost-nav:hover { color: var(--text); background: var(--glass); }

.btn-primary-nav {
    background: linear-gradient(135deg, var(--g1), var(--g2));
    color: #fff;
    border: none;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    font-family: var(--font);
    padding: 8px 20px;
    border-radius: 8px;
    transition: opacity 0.2s, transform 0.1s, box-shadow 0.2s;
    box-shadow: 0 0 20px rgba(var(--a-rgb),0.35);
}

.btn-primary-nav:hover { opacity: 0.9; transform: translateY(-1px); box-shadow: 0 0 30px rgba(var(--a-rgb),0.5); }

/* ── PAGE HEADER ──────────────────────────────────── */
.page-header {
    padding: 100px 0 32px;
    position: relative;
    z-index: 10;
}

.page-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 0;
}

.breadcrumb-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
    text-decoration: none;
    padding: 5px 12px;
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: 100px;
    transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.breadcrumb-back:hover {
    color: var(--text);
    border-color: rgba(var(--a-rgb),0.3);
    background: rgba(var(--a-rgb),0.05);
}

/* ── SECTION UTILITIES ────────────────────────────── */
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(var(--a-rgb),0.08);
    border: 1px solid rgba(var(--a-rgb),0.2);
    border-radius: 100px;
    padding: 4px 14px;
    font-size: 12px;
    font-weight: 600;
    color: var(--a-l);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.section-title {
    font-size: clamp(30px, 3.5vw, 48px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1.5px;
    margin-bottom: 16px;
    color: var(--text);
}

.section-sub {
    font-size: 18px;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 560px;
}

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

/* ── FEATURES ─────────────────────────────────────── */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.feature-card {
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(var(--a-rgb),0.05) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s;
}

.feature-card:hover {
    border-color: rgba(var(--a-rgb),0.3);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.3), 0 0 0 1px rgba(var(--a-rgb),0.1);
}

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

.feature-icon {
    width: 44px; height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.fi-orange  { background: rgba(249,115,22,0.15); color: #fdba74;  box-shadow: 0 0 20px rgba(249,115,22,0.15); }
.fi-pink    { background: rgba(236,72,153,0.15);  color: #f9a8d4;          box-shadow: 0 0 20px rgba(236,72,153,0.15); }
.fi-amber   { background: rgba(245,158,11,0.15);  color: #fcd34d;          box-shadow: 0 0 20px rgba(245,158,11,0.15); }
.fi-purple  { background: rgba(124,58,237,0.15);  color: #c084fc;          box-shadow: 0 0 20px rgba(124,58,237,0.15); }
.fi-cyan    { background: rgba(6,182,212,0.15);   color: #22d3ee;          box-shadow: 0 0 20px rgba(6,182,212,0.15); }
.fi-green   { background: rgba(16,185,129,0.15);  color: #34d399;          box-shadow: 0 0 20px rgba(16,185,129,0.15); }
.fi-blue    { background: rgba(59,130,246,0.15);  color: #93c5fd;          box-shadow: 0 0 20px rgba(59,130,246,0.15); }
.fi-indigo  { background: rgba(99,102,241,0.15);  color: var(--indigo-l);  box-shadow: 0 0 20px rgba(99,102,241,0.15); }
.fi-emerald { background: rgba(16,185,129,0.15);  color: var(--emerald-l); box-shadow: 0 0 20px rgba(16,185,129,0.15); }
.fi-gold    { background: rgba(245,158,11,0.15);  color: var(--gold-l);    box-shadow: 0 0 20px rgba(245,158,11,0.15); }
.fi-teal    { background: rgba(13,148,136,0.15);  color: #5eead4;          box-shadow: 0 0 20px rgba(13,148,136,0.15); }

.feature-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 10px;
    letter-spacing: -0.3px;
}

.feature-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.65;
}

/* ── HOW IT WORKS ─────────────────────────────────── */
.how-it-works { background: linear-gradient(180deg, transparent 0%, rgba(var(--a-rgb),0.025) 50%, transparent 100%); }

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    position: relative;
}

.steps-grid::before {
    content: '';
    position: absolute;
    top: 28px;
    left: calc(16.6% + 20px);
    right: calc(16.6% + 20px);
    height: 1px;
    background: linear-gradient(90deg, rgba(var(--a-rgb),0.4), rgba(var(--b-rgb),0.4));
}

.step { padding: 0 24px; text-align: center; position: relative; }

.step-number {
    width: 56px; height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(var(--a-rgb),0.15), rgba(var(--b-rgb),0.15));
    border: 1px solid rgba(var(--a-rgb),0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 800;
    color: var(--a-l);
    margin: 0 auto 28px;
    position: relative;
    z-index: 1;
    box-shadow: 0 0 24px rgba(var(--a-rgb),0.18);
}

.step h3 { font-size: 17px; font-weight: 700; color: var(--text); margin-bottom: 12px; letter-spacing: -0.3px; }
.step p   { font-size: 14px; color: var(--text-muted); line-height: 1.65; }

/* ── PRICING ──────────────────────────────────────── */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    align-items: start;
}

.pricing-card {
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 32px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.pricing-card.featured {
    background: linear-gradient(145deg, rgba(var(--a-rgb),0.08) 0%, rgba(var(--b-rgb),0.05) 100%);
    border-color: rgba(var(--a-rgb),0.3);
    box-shadow: 0 0 60px rgba(var(--a-rgb),0.1);
}

.pricing-glow {
    position: absolute;
    top: -60px; right: -60px;
    width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(var(--a-rgb),0.2) 0%, transparent 70%);
    pointer-events: none;
}

.pricing-label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.pricing-card.featured .pricing-label { color: var(--a-l); }

.pricing-price { display: flex; align-items: flex-end; gap: 4px; margin-bottom: 8px; }

.pricing-currency { font-size: 22px; font-weight: 700; color: var(--text); padding-bottom: 6px; }
.pricing-amount   { font-size: 52px; font-weight: 900; line-height: 1; letter-spacing: -2px; color: var(--text); }
.pricing-period   { font-size: 14px; color: var(--text-muted); padding-bottom: 8px; }

.pricing-desc { font-size: 14px; color: var(--text-muted); margin-bottom: 28px; line-height: 1.5; }

.pricing-btn {
    width: 100%;
    padding: 12px;
    border-radius: 9px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    font-family: var(--font);
    margin-bottom: 28px;
    transition: all 0.2s;
}

.pricing-btn-outline {
    background: transparent;
    border: 1px solid var(--glass-b);
    color: var(--text);
}

.pricing-btn-outline:hover { border-color: rgba(255,255,255,0.2); background: var(--glass); }

.pricing-btn-filled {
    background: linear-gradient(135deg, var(--g1), var(--g2));
    border: none;
    color: #fff;
    box-shadow: 0 0 24px rgba(var(--a-rgb),0.35);
}

.pricing-btn-filled:hover { box-shadow: 0 0 36px rgba(var(--a-rgb),0.5); transform: translateY(-1px); }

.pricing-divider { height: 1px; background: var(--border); margin-bottom: 24px; }

.pricing-features { list-style: none; display: flex; flex-direction: column; gap: 12px; }

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--text-muted);
}

.pf-check {
    width: 18px; height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 10px;
}

.pf-check-yes { background: rgba(16,185,129,0.15); color: #34d399; border: 1px solid rgba(16,185,129,0.25); }
.pf-check-no  { background: rgba(255,255,255,0.04); color: var(--text-dim); border: 1px solid var(--border); }

.featured-badge {
    position: absolute;
    top: 14px; right: 16px;
    background: linear-gradient(135deg, var(--g1), var(--g2));
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 100px;
    letter-spacing: 0.3px;
}

/* ── BUTTONS ──────────────────────────────────────── */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--g1) 0%, var(--g2) 100%);
    color: #fff;
    border: none;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    font-family: var(--font);
    padding: 13px 28px;
    border-radius: 10px;
    text-decoration: none;
    transition: opacity 0.2s, transform 0.15s, box-shadow 0.2s;
    box-shadow: 0 0 30px rgba(var(--a-rgb),0.4), 0 4px 16px rgba(0,0,0,0.3);
}

.btn-primary:hover { opacity: 0.9; transform: translateY(-2px); box-shadow: 0 0 40px rgba(var(--a-rgb),0.55), 0 8px 24px rgba(0,0,0,0.3); }

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--glass);
    color: var(--text);
    border: 1px solid var(--glass-b);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    font-family: var(--font);
    padding: 13px 28px;
    border-radius: 10px;
    text-decoration: none;
    backdrop-filter: blur(10px);
    transition: background 0.2s, border-color 0.2s, transform 0.15s;
}

.btn-outline:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.18); transform: translateY(-2px); }

/* ── CTA ──────────────────────────────────────────── */
.cta-banner {
    padding: 120px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-glow-1 {
    position: absolute;
    width: 600px; height: 600px;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(var(--a-rgb),0.2) 0%, transparent 70%);
    filter: blur(60px);
    pointer-events: none;
}

.cta-glow-2 {
    position: absolute;
    width: 400px; height: 400px;
    top: 40%; left: 40%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(var(--b-rgb),0.15) 0%, transparent 70%);
    filter: blur(40px);
    pointer-events: none;
}

.cta-banner h2 {
    font-size: clamp(34px, 4vw, 56px);
    font-weight: 900;
    letter-spacing: -2px;
    line-height: 1.05;
    margin-bottom: 20px;
    position: relative;
}

.cta-banner p {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 500px;
    margin: 0 auto 40px;
    position: relative;
}

.cta-buttons { display: flex; gap: 14px; justify-content: center; position: relative; }

/* ── FOOTER ───────────────────────────────────────── */
footer {
    padding: 60px 0 40px;
    border-top: 1px solid var(--border);
}

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

.footer-brand p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-top: 16px;
    max-width: 260px;
}

.footer-col h4 {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-dim);
    margin-bottom: 16px;
}

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }

.footer-col a {
    font-size: 14px;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

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

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.footer-bottom p { font-size: 13px; color: var(--text-dim); }

/* ── SCROLL ANIMATIONS ────────────────────────────── */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible { opacity: 1; transform: translateY(0); }

.fade-up-delay-1 { transition-delay: 0.1s; }
.fade-up-delay-2 { transition-delay: 0.2s; }
.fade-up-delay-3 { transition-delay: 0.3s; }
.fade-up-delay-4 { transition-delay: 0.4s; }
.fade-up-delay-5 { transition-delay: 0.5s; }

.text-center { text-align: center; }
a { color: inherit; }

@media (max-width: 900px) {
    .features-grid, .pricing-grid { grid-template-columns: 1fr; }
    .steps-grid { grid-template-columns: 1fr; }
    .steps-grid::before { display: none; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    nav .nav-links { display: none; }
}

/* ── UTILITIES ────────────────────────────────────── */
.mx-auto { margin-left: auto; margin-right: auto; }
.footer-tagline { color: var(--text-dim); }
.pricing-amount--lg { font-size: 38px; }

.nav-logo-img {
    display: block;
    height: 36px;
    width: auto;
}

a.pricing-btn {
    display: block;
    box-sizing: border-box;
    text-align: center;
    text-decoration: none;
}
