:root {
    --bg:        #07080d;
    --bg2:       #0d0f17;
    --surface:   #111520;
    --border:    rgba(255,255,255,0.07);
    --accent:    #00e5c3;
    --accent2:   #7c6dfa;
    --text:      #e8eaf0;
    --muted:     #7a7f96;
    --heading:   #ffffff;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'DM Sans', sans-serif;
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
    line-height: 1.65;
}

/* ── NAV ── */
nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    display: flex; align-items: center; justify-content: space-between;
    padding: 20px 48px;
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(18px);
    background: rgba(7,8,13,0.78);
}

.nav-logo {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: 1.35rem;
    letter-spacing: -0.02em;
    color: var(--heading);
    text-decoration: none;
    display: flex; align-items: center; gap: 10px;
}
.nav-logo span {
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links { display: flex; gap: 8px; align-items: center; }

.nav-links a {
    color: var(--muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 8px;
    transition: color 0.2s, background 0.2s;
}
.nav-links a:hover { color: var(--heading); background: var(--surface); }

.btn-nav {
    background: var(--accent) !important;
    color: #07080d !important;
    font-weight: 600 !important;
}
.btn-nav:hover { opacity: 0.88; background: var(--accent) !important; }

/* ── PAGES ── */
.page { display: none; }
.page.active { display: block; }

/* ══════════════════════════════
   LANDING PAGE
══════════════════════════════ */

/* Hero */
.hero {
    min-height: 100vh;
    display: flex; align-items: center; justify-content: center;
    padding: 120px 48px 80px;
    position: relative;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    width: 700px; height: 700px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0,229,195,0.12) 0%, transparent 70%);
    top: -160px; right: -180px;
    pointer-events: none;
}
.hero-glow2 {
    position: absolute;
    width: 500px; height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(124,109,250,0.1) 0%, transparent 70%);
    bottom: -80px; left: -100px;
    pointer-events: none;
}

.hero-grid {
    max-width: 1160px; width: 100%;
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 64px; align-items: center;
}

.hero-tag {
    display: inline-flex; align-items: center; gap: 8px;
    border: 1px solid rgba(0,229,195,0.3);
    background: rgba(0,229,195,0.07);
    border-radius: 100px;
    padding: 6px 14px;
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--accent);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 28px;
}
.hero-tag::before {
    content: '';
    width: 6px; height: 6px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.4; transform: scale(0.7); }
}

.hero-title {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: clamp(2.6rem, 5vw, 4rem);
    line-height: 1.08;
    letter-spacing: -0.03em;
    color: var(--heading);
    margin-bottom: 24px;
}
.hero-title .grad {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent2) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-sub {
    font-size: 1.05rem;
    color: var(--muted);
    font-weight: 300;
    max-width: 440px;
    margin-bottom: 40px;
    line-height: 1.75;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.btn-primary {
    background: linear-gradient(135deg, var(--accent), #00bfa8);
    color: #07080d;
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 0.92rem;
    padding: 14px 30px;
    border-radius: 12px;
    text-decoration: none;
    display: inline-flex; align-items: center; gap: 8px;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 0 30px rgba(0,229,195,0.25);
    border: none; cursor: pointer;
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 44px rgba(0,229,195,0.38);
}

.btn-ghost {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text);
    font-family: 'Syne', sans-serif;
    font-weight: 600;
    font-size: 0.92rem;
    padding: 14px 30px;
    border-radius: 12px;
    text-decoration: none;
    display: inline-flex; align-items: center; gap: 8px;
    transition: border-color 0.2s, background 0.2s;
    cursor: pointer;
}
.btn-ghost:hover { border-color: var(--accent); background: rgba(0,229,195,0.05); }

/* Phone mockup */
.hero-visual {
    display: flex; justify-content: center; align-items: center;
    position: relative;
}

.phone-wrap {
    position: relative;
    animation: float 5s ease-in-out infinite;
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-18px); }
}

.phone {
    width: 240px;
    background: var(--surface);
    border-radius: 38px;
    border: 1.5px solid rgba(255,255,255,0.1);
    padding: 16px;
    box-shadow: 0 40px 100px rgba(0,0,0,0.7), 0 0 0 1px rgba(255,255,255,0.04);
    position: relative;
    overflow: hidden;
}
.phone::before {
    content: '';
    position: absolute; top: 0; left: 50%; transform: translateX(-50%);
    width: 72px; height: 26px;
    background: #07080d;
    border-radius: 0 0 16px 16px;
    z-index: 2;
}

.phone-screen {
    background: linear-gradient(160deg, #141829 0%, #0d1020 100%);
    border-radius: 28px;
    height: 400px;
    padding: 40px 16px 16px;
    display: flex; flex-direction: column; gap: 12px;
    overflow: hidden;
}

.phone-bar {
    height: 10px; border-radius: 6px;
    background: rgba(255,255,255,0.07);
    animation: shimmer 2.5s ease-in-out infinite;
}
.phone-bar.accent { background: linear-gradient(90deg, var(--accent), var(--accent2)); width: 60%; }
.phone-bar.s1 { width: 90%; animation-delay: 0.2s; }
.phone-bar.s2 { width: 70%; animation-delay: 0.4s; }
.phone-bar.s3 { width: 80%; animation-delay: 0.6s; }
.phone-bar.s4 { width: 50%; animation-delay: 0.8s; }

@keyframes shimmer {
    0%, 100% { opacity: 0.6; }
    50%       { opacity: 1; }
}

.phone-card {
    background: rgba(0,229,195,0.08);
    border: 1px solid rgba(0,229,195,0.2);
    border-radius: 14px;
    padding: 12px;
    display: flex; gap: 10px; align-items: center;
    margin-top: 8px;
}
.phone-icon {
    width: 32px; height: 32px;
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    border-radius: 8px;
    flex-shrink: 0;
}
.phone-mini-bars { flex: 1; display: flex; flex-direction: column; gap: 5px; }
.phone-mini-bar {
    height: 7px; border-radius: 4px;
    background: rgba(255,255,255,0.12);
}
.phone-mini-bar:first-child { width: 80%; }
.phone-mini-bar:last-child { width: 55%; }

.phone-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(0,229,195,0.12);
    top: 50%; left: 50%; transform: translate(-50%, -50%);
    pointer-events: none;
}
.phone-ring.r1 { width: 340px; height: 340px; }
.phone-ring.r2 { width: 460px; height: 460px; border-color: rgba(124,109,250,0.08); }
.phone-ring.r3 { width: 580px; height: 580px; border-color: rgba(0,229,195,0.05); }

/* Stats */
.stats {
    max-width: 1160px; margin: 0 auto;
    padding: 0 48px 80px;
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border);
    border-radius: 16px;
    overflow: hidden;
}
.stat-item {
    background: var(--bg);
    padding: 36px 32px;
    text-align: center;
}
.stat-num {
    font-family: 'Syne', sans-serif;
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--heading);
    letter-spacing: -0.04em;
    margin-bottom: 6px;
}
.stat-num span { color: var(--accent); }
.stat-label { font-size: 0.85rem; color: var(--muted); font-weight: 400; }

/* Services */
.section {
    max-width: 1160px; margin: 0 auto;
    padding: 80px 48px;
}

.section-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 12px;
}

.section-title {
    font-family: 'Syne', sans-serif;
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 800;
    color: var(--heading);
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 16px;
}

.section-sub {
    color: var(--muted);
    font-size: 1rem;
    max-width: 500px;
    font-weight: 300;
}

.divider {
    width: 100%; height: 1px;
    background: var(--border);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    margin-top: 56px;
    background: var(--border);
    border-radius: 20px;
    overflow: hidden;
}

.service-card {
    background: var(--bg2);
    padding: 40px 32px;
    transition: background 0.25s;
    position: relative;
    overflow: hidden;
}
.service-card:hover { background: var(--surface); }
.service-card::after {
    content: '';
    position: absolute; bottom: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--accent2));
    transform: scaleX(0);
    transition: transform 0.3s;
    transform-origin: left;
}
.service-card:hover::after { transform: scaleX(1); }

.service-icon {
    width: 48px; height: 48px;
    border-radius: 14px;
    background: rgba(0,229,195,0.1);
    border: 1px solid rgba(0,229,195,0.2);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 24px;
}
.service-icon.purple {
    background: rgba(124,109,250,0.1);
    border-color: rgba(124,109,250,0.25);
}

.service-name {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--heading);
    margin-bottom: 10px;
}
.service-desc {
    font-size: 0.88rem;
    color: var(--muted);
    line-height: 1.7;
}

/* Tech stack */
.tech-strip {
    max-width: 1160px; margin: 0 auto;
    padding: 0 48px 80px;
}
.tech-strip-label {
    text-align: center;
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 32px;
}
.tech-logos {
    display: flex; flex-wrap: wrap;
    gap: 12px; justify-content: center;
}
.tech-pill {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 100px;
    padding: 10px 20px;
    font-size: 0.84rem;
    font-weight: 500;
    color: var(--muted);
    transition: color 0.2s, border-color 0.2s;
}
.tech-pill:hover { color: var(--heading); border-color: rgba(0,229,195,0.35); }

/* Process */
.process-list {
    margin-top: 56px;
    display: flex; flex-direction: column; gap: 0;
}
.process-item {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 24px;
    padding: 32px 0;
    border-bottom: 1px solid var(--border);
    align-items: start;
}
.process-num {
    font-family: 'Syne', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    color: var(--surface);
    line-height: 1;
    letter-spacing: -0.04em;
}
.process-content {}
.process-title {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--heading);
    margin-bottom: 8px;
}
.process-desc { font-size: 0.9rem; color: var(--muted); }

/* Contact */
.contact-wrap {
    background: var(--bg2);
    border-top: 1px solid var(--border);
}
.contact-inner {
    max-width: 1160px; margin: 0 auto;
    padding: 80px 48px;
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 80px; align-items: center;
}
.contact-email-link {
    display: inline-flex; align-items: center; gap: 10px;
    font-family: 'Syne', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--accent);
    text-decoration: none;
    border-bottom: 2px solid rgba(0,229,195,0.3);
    padding-bottom: 4px;
    transition: border-color 0.2s;
}
.contact-email-link:hover { border-color: var(--accent); }
.contact-detail { color: var(--muted); font-size: 0.9rem; margin-top: 8px; }

/* Footer */
footer {
    border-top: 1px solid var(--border);
    padding: 28px 48px;
    display: flex; justify-content: space-between; align-items: center;
    max-width: 100%;
}
.footer-copy { font-size: 0.82rem; color: var(--muted); }
.footer-policy {
    font-size: 0.82rem;
    color: var(--muted);
    text-decoration: none;
    transition: color 0.2s;
    cursor: pointer;
    background: none; border: none;
}
.footer-policy:hover { color: var(--accent); }

/* ══════════════════════════════
   PRIVACY POLICY PAGE
══════════════════════════════ */
.policy-page { padding-top: 96px; }

.policy-hero {
    background: linear-gradient(180deg, rgba(0,229,195,0.05) 0%, transparent 100%);
    border-bottom: 1px solid var(--border);
    padding: 60px 48px 50px;
    text-align: center;
}

.policy-hero-badge {
    display: inline-block;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 16px;
}

.policy-hero h1 {
    font-family: 'Syne', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--heading);
    letter-spacing: -0.03em;
    margin-bottom: 12px;
}

.policy-hero-sub {
    color: var(--muted);
    font-size: 0.92rem;
}

.policy-layout {
    max-width: 860px; margin: 0 auto;
    padding: 56px 48px 96px;
}

.policy-toc {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 28px 32px;
    margin-bottom: 52px;
}
.policy-toc h3 {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 16px;
}
.policy-toc ol {
    list-style: none;
    display: flex; flex-direction: column; gap: 8px;
    counter-reset: toc-counter;
}
.policy-toc ol li { counter-increment: toc-counter; }
.policy-toc ol li a {
    color: var(--text);
    text-decoration: none;
    font-size: 0.9rem;
    display: flex; align-items: center; gap: 10px;
    transition: color 0.2s;
}
.policy-toc ol li a::before {
    content: counter(toc-counter, decimal-leading-zero);
    font-size: 0.72rem;
    color: var(--accent);
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    min-width: 26px;
}
.policy-toc ol li a:hover { color: var(--accent); }

.policy-section {
    margin-bottom: 48px;
    scroll-margin-top: 96px;
}

.policy-section h2 {
    font-family: 'Syne', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--heading);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
    display: flex; align-items: center; gap: 12px;
}
.policy-section h2 .sec-num {
    font-size: 0.72rem;
    color: var(--accent);
    font-weight: 700;
    letter-spacing: 0.05em;
    background: rgba(0,229,195,0.1);
    border: 1px solid rgba(0,229,195,0.2);
    border-radius: 6px;
    padding: 3px 8px;
}

.policy-section p {
    color: var(--text);
    font-size: 0.94rem;
    line-height: 1.8;
    margin-bottom: 14px;
}

.policy-section ul, .policy-section ol {
    padding-left: 0; list-style: none;
    display: flex; flex-direction: column; gap: 10px;
    margin-bottom: 14px;
}

.policy-section ul li, .policy-section ol li {
    font-size: 0.92rem;
    color: var(--text);
    line-height: 1.75;
    padding-left: 20px;
    position: relative;
}
.policy-section ul li::before {
    content: '→';
    position: absolute; left: 0;
    color: var(--accent);
    font-size: 0.82rem;
    top: 2px;
}
.policy-section ol {
    counter-reset: ol-counter;
}
.policy-section ol li { counter-increment: ol-counter; }
.policy-section ol li::before {
    content: counter(ol-counter) '.';
    position: absolute; left: 0;
    color: var(--accent);
    font-size: 0.8rem;
    font-weight: 700;
    font-family: 'Syne', sans-serif;
}

.policy-section strong { color: var(--heading); font-weight: 600; }

.policy-contact-box {
    background: linear-gradient(135deg, rgba(0,229,195,0.08), rgba(124,109,250,0.08));
    border: 1px solid rgba(0,229,195,0.2);
    border-radius: 16px;
    padding: 32px;
    margin-top: 8px;
}
.policy-contact-box p { margin: 0; }
.policy-contact-box a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
}
.policy-contact-box a:hover { text-decoration: underline; }

/* Responsive */
@media (max-width: 900px) {
    nav { padding: 18px 24px; }
    .hero { padding: 110px 24px 60px; }
    .hero-grid { grid-template-columns: 1fr; gap: 48px; }
    .hero-visual { order: -1; }
    .stats { padding: 0 24px 60px; grid-template-columns: 1fr; }
    .section { padding: 60px 24px; }
    .services-grid { grid-template-columns: 1fr; }
    .contact-inner { grid-template-columns: 1fr; gap: 40px; padding: 60px 24px; }
    footer { padding: 24px; flex-direction: column; gap: 10px; text-align: center; }
    .tech-strip { padding: 0 24px 60px; }
    .policy-layout { padding: 40px 24px 80px; }
    .policy-hero { padding: 50px 24px 40px; }
}

@media (max-width: 600px) {
    .hero-actions { flex-direction: column; }
    .process-item { grid-template-columns: 48px 1fr; }
}