*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --bg: #060810;
    --bg2: #0b0f1a;
    --bg3: #0f1525;
    --cyan: #00f5d4;
    --blue: #0091ff;
    --violet: #7c3aed;
    --red: #ff2d5b;
    --text: #e2e8f0;
    --muted: #64748b;
    --border: rgba(0, 245, 212, 0.12);
    --glow: 0 0 24px rgba(0, 245, 212, 0.25);
    --font-mono: 'Share Tech Mono', monospace;
    --font-cond: 'Barlow Condensed', sans-serif;
    --font-body: 'Barlow', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    overflow-x: hidden;
}

/* ── GRID BACKGROUND ── */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 245, 212, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 245, 212, 0.03) 1px, transparent 1px);
    background-size: 48px 48px;
    pointer-events: none;
    z-index: 0;
}

/* ── NAV ── */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 48px;
    height: 64px;
    background: rgba(6, 8, 16, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.nav-logo-tag {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--muted);
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.nav-logo-name {
    font-family: var(--font-cond);
    font-size: 22px;
    font-weight: 900;
    letter-spacing: 0.08em;
    color: var(--cyan);
    text-shadow: var(--glow);
}

.nav-sep {
    width: 1px;
    height: 28px;
    background: var(--border);
}

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--muted);
    text-decoration: none;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--cyan);
}

.nav-cta {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 9px 20px;
    border: 1px solid var(--cyan);
    color: var(--cyan);
    background: transparent;
    cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s;
    text-decoration: none;
}

.nav-cta:hover {
    background: rgba(0, 245, 212, 0.08);
    box-shadow: var(--glow);
}

/* ── HERO ── */
#hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 24px 80px;
    overflow: hidden;
    z-index: 1;
}

/* Radial glow bg */
#hero::after {
    content: '';
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 700px;
    height: 700px;
    background: radial-gradient(ellipse, rgba(0, 145, 255, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--cyan);
    border: 1px solid rgba(0, 245, 212, 0.3);
    padding: 6px 14px;
    margin-bottom: 32px;
    animation: fadeUp 0.6s ease both;
}

.hero-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--cyan);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--cyan);
    animation: blink 1.4s infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1
    }

    50% {
        opacity: 0.2
    }
}

h1 {
    font-family: var(--font-cond);
    font-weight: 900;
    font-size: clamp(64px, 10vw, 140px);
    line-height: 0.92;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    animation: fadeUp 0.7s 0.1s ease both;
}

h1 .line1 {
    color: var(--text);
}

h1 .line2 {
    color: var(--cyan);
    text-shadow: 0 0 40px rgba(0, 245, 212, 0.4), 0 0 80px rgba(0, 245, 212, 0.15);
}

.hero-sub {
    margin-top: 28px;
    max-width: 520px;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.7;
    color: var(--muted);
    animation: fadeUp 0.7s 0.2s ease both;
}

.hero-actions {
    margin-top: 48px;
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
    animation: fadeUp 0.7s 0.3s ease both;
}

.btn-primary {
    font-family: var(--font-cond);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 14px 36px;
    background: var(--cyan);
    color: var(--bg);
    border: none;
    cursor: pointer;
    transition: box-shadow 0.25s, transform 0.15s;
    text-decoration: none;
}

.btn-primary:hover {
    box-shadow: 0 0 32px rgba(0, 245, 212, 0.5);
    transform: translateY(-2px);
}

.btn-ghost {
    font-family: var(--font-cond);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 14px 36px;
    background: transparent;
    color: var(--text);
    border: 1px solid rgba(255, 255, 255, 0.15);
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s;
    text-decoration: none;
}

.btn-ghost:hover {
    border-color: rgba(255, 255, 255, 0.4);
    color: #fff;
}

/* Stats row */
.hero-stats {
    margin-top: 72px;
    display: flex;
    gap: 64px;
    flex-wrap: wrap;
    justify-content: center;
    animation: fadeUp 0.7s 0.4s ease both;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.stat-num {
    font-family: var(--font-cond);
    font-size: 36px;
    font-weight: 900;
    color: var(--cyan);
    line-height: 1;
}

.stat-label {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--muted);
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

/* Scroll indicator */
.scroll-hint {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    animation: fadeUp 0.7s 0.6s ease both;
}

.scroll-hint span {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--muted);
    letter-spacing: 0.14em;
}

.scroll-line {
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, var(--muted), transparent);
    animation: scrollPulse 1.8s infinite;
}

@keyframes scrollPulse {
    0% {
        opacity: 0;
        transform: scaleY(0);
        transform-origin: top;
    }

    50% {
        opacity: 1;
        transform: scaleY(1);
    }

    100% {
        opacity: 0;
        transform: scaleY(1);
        transform-origin: bottom;
    }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── SECTION SHARED ── */
section {
    position: relative;
    z-index: 1;
}

.section-tag {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--cyan);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-cond);
    font-size: clamp(36px, 5vw, 60px);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    line-height: 1;
    color: var(--text);
}

.section-title em {
    font-style: normal;
    color: var(--cyan);
}

/* ── FEATURES ── */
#features {
    padding: 120px 48px;
    max-width: 1200px;
    margin: 0 auto;
}

.features-header {
    margin-bottom: 72px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
}

.feature-card {
    background: var(--bg2);
    padding: 40px 36px;
    position: relative;
    overflow: hidden;
    transition: background 0.25s;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 0;
    background: var(--cyan);
    transition: height 0.35s ease;
}

.feature-card:hover {
    background: var(--bg3);
}

.feature-card:hover::before {
    height: 100%;
}

.feature-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 24px;
    position: relative;
}

.feature-icon svg {
    width: 100%;
    height: 100%;
}

.feature-num {
    position: absolute;
    top: -4px;
    right: -4px;
    font-family: var(--font-mono);
    font-size: 9px;
    color: var(--cyan);
    opacity: 0.5;
}

.feature-name {
    font-family: var(--font-cond);
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text);
    margin-bottom: 10px;
}

.feature-desc {
    font-size: 14px;
    font-weight: 300;
    line-height: 1.65;
    color: var(--muted);
}

/* ── HOW IT WORKS ── */
#how {
    padding: 120px 48px;
    background: var(--bg2);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.how-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.how-header {
    text-align: center;
    margin-bottom: 80px;
}

.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    position: relative;
}

.steps::before {
    content: '';
    position: absolute;
    top: 28px;
    left: 12.5%;
    right: 12.5%;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--cyan), transparent);
    opacity: 0.3;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 20px;
    gap: 20px;
}

.step-num {
    width: 56px;
    height: 56px;
    border: 1px solid rgba(0, 245, 212, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-size: 16px;
    color: var(--cyan);
    background: var(--bg);
    position: relative;
    z-index: 1;
}

.step-title {
    font-family: var(--font-cond);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text);
}

.step-desc {
    font-size: 13px;
    font-weight: 300;
    line-height: 1.6;
    color: var(--muted);
}

/* ── TESTIMONIALS ── */
#testimonials {
    padding: 120px 48px;
    max-width: 1200px;
    margin: 0 auto;
}

.testi-header {
    text-align: center;
    margin-bottom: 72px;
}

.testi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.testi-card {
    background: var(--bg2);
    border: 1px solid var(--border);
    padding: 36px;
    position: relative;
    transition: border-color 0.25s, transform 0.25s;
}

.testi-card:hover {
    border-color: rgba(0, 245, 212, 0.3);
    transform: translateY(-4px);
}

.testi-quote {
    font-size: 13px;
    line-height: 1.75;
    color: var(--muted);
    font-weight: 300;
    margin-bottom: 28px;
    font-style: italic;
}

.testi-quote::before {
    content: '"';
    font-family: var(--font-cond);
    font-size: 48px;
    color: var(--cyan);
    opacity: 0.25;
    display: block;
    line-height: 0.6;
    margin-bottom: 16px;
}

.testi-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.testi-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-cond);
    font-size: 14px;
    font-weight: 700;
    color: var(--cyan);
    background: rgba(0, 245, 212, 0.06);
    flex-shrink: 0;
}

.testi-name {
    font-family: var(--font-cond);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text);
}

.testi-role {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--muted);
    letter-spacing: 0.1em;
}

.testi-xp {
    margin-left: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
}

.testi-xp-num {
    font-family: var(--font-mono);
    font-size: 14px;
    color: var(--cyan);
}

.testi-xp-label {
    font-family: var(--font-mono);
    font-size: 9px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ── CTA FINAL ── */
#cta {
    padding: 140px 48px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-top: 1px solid var(--border);
}

#cta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(0, 145, 255, 0.07) 0%, transparent 65%);
    pointer-events: none;
}

.cta-eyebrow {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--cyan);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.cta-title {
    font-family: var(--font-cond);
    font-size: clamp(48px, 7vw, 100px);
    font-weight: 900;
    text-transform: uppercase;
    line-height: 0.9;
    margin-bottom: 32px;
}

.cta-title .highlight {
    color: var(--cyan);
    text-shadow: 0 0 60px rgba(0, 245, 212, 0.3);
}

.cta-sub {
    font-size: 16px;
    font-weight: 300;
    color: var(--muted);
    max-width: 480px;
    margin: 0 auto 48px;
    line-height: 1.7;
}

/* ── FOOTER ── */
footer {
    border-top: 1px solid var(--border);
    padding: 32px 48px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    z-index: 1;
    position: relative;
}

.footer-left {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--muted);
    letter-spacing: 0.08em;
}

.footer-left a {
    color: var(--cyan);
    text-decoration: none;
}

.footer-links {
    display: flex;
    gap: 24px;
    list-style: none;
}

.footer-links a {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--muted);
    text-decoration: none;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--cyan);
}

/* ── MODAL (Login/Register) ── */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(6, 8, 16, 0.85);
    backdrop-filter: blur(8px);
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s;
}

.modal-overlay.open {
    opacity: 1;
    pointer-events: all;
}

.modal {
    background: var(--bg2);
    border: 1px solid rgba(0, 245, 212, 0.2);
    width: 440px;
    max-width: calc(100vw - 32px);
    padding: 48px 40px;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.25s;
}

.modal-overlay.open .modal {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 20px;
    font-family: var(--font-mono);
    font-size: 18px;
    color: var(--muted);
    background: none;
    border: none;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}

.modal-close:hover {
    color: var(--text);
}

.modal-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 36px;
    border-bottom: 1px solid var(--border);
}

.modal-tab {
    font-family: var(--font-cond);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 10px 24px 14px;
    background: none;
    border: none;
    color: var(--muted);
    cursor: pointer;
    position: relative;
    transition: color 0.2s;
}

.modal-tab::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--cyan);
    transform: scaleX(0);
    transition: transform 0.2s;
}

.modal-tab.active {
    color: var(--cyan);
}

.modal-tab.active::after {
    transform: scaleX(1);
}

.modal-form {
    display: none;
    flex-direction: column;
    gap: 16px;
}

.modal-form.active {
    display: flex;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.field label {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--muted);
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.field input {
    background: var(--bg3);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text);
    font-family: var(--font-mono);
    font-size: 13px;
    padding: 12px 14px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.field input:focus {
    border-color: rgba(0, 245, 212, 0.4);
    box-shadow: 0 0 0 3px rgba(0, 245, 212, 0.06);
}

.field input::placeholder {
    color: var(--muted);
}

.modal-submit {
    margin-top: 8px;
    width: 100%;
    padding: 14px;
    background: var(--cyan);
    color: var(--bg);
    font-family: var(--font-cond);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: box-shadow 0.25s;
}

.modal-submit:hover {
    box-shadow: 0 0 24px rgba(0, 245, 212, 0.45);
}

.modal-note {
    text-align: center;
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--muted);
    margin-top: 12px;
    letter-spacing: 0.08em;
}

/* ── INTERSECT ANIMATION ── */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
    nav {
        padding: 0 24px;
    }

    nav .nav-links {
        display: none;
    }

    #features,
    #how,
    #testimonials,
    #cta {
        padding: 80px 24px;
    }

    .steps {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .steps::before {
        display: none;
    }

    footer {
        padding: 24px;
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .steps {
        grid-template-columns: 1fr;
    }

    .hero-stats {
        gap: 32px;
    }
}

.btn-google {
  width: 100%;
  padding: 11px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: border-color 0.2s, background 0.2s;
}
.btn-google:hover {
  border-color: rgba(255,255,255,0.28);
  background: rgba(255,255,255,0.04);
}
.modal-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 4px 0;
}
.modal-divider::before,
.modal-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border2);
}
.modal-divider span {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.1em;
}