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

:root {
    --bg-primary: #0A0F1C;
    --bg-card: rgba(255, 255, 255, 0.05);
    --bg-card-hover: rgba(255, 255, 255, 0.08);
    --accent-purple: #6C63FF;
    --accent-teal: #00D4AA;
    --text-white: #FFFFFF;
    --text-muted: #B0B8C8;
    --text-dim: #6B7280;
    --accent-coral: #FF6D5A;
    --glow-purple: rgba(108, 99, 255, 0.3);
    --glow-teal: rgba(0, 212, 170, 0.3);
    --glow-coral: rgba(255, 109, 90, 0.3);
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-accent: rgba(108, 99, 255, 0.4);
    --gradient-main: linear-gradient(135deg, #6C63FF, #00D4AA);
    --gradient-coral: linear-gradient(135deg, #FF6D5A, #FF8F7A);
    --nav-height: 72px;
    --section-padding: 120px;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-muted);
    line-height: 1.7;
    overflow-x: hidden;
}

/* ============================================
   DOT MATRIX BACKGROUND
   ============================================ */
.dot-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    background-image: radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 32px 32px;
}

/* ============================================
   UTILITY
   ============================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent-teal);
    margin-bottom: 16px;
}

.section-label::before {
    content: '';
    display: inline-block;
    width: 24px;
    height: 2px;
    background: var(--accent-teal);
    border-radius: 1px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--text-white);
    line-height: 1.2;
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    line-height: 1.7;
}

.gradient-text {
    background: linear-gradient(135deg, #FF6D5A, #6C63FF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Focus-visible for accessibility */
*:focus-visible {
    outline: 2px solid var(--accent-purple);
    outline-offset: 3px;
    border-radius: 4px;
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

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

/* ============================================
   NAV
   ============================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    z-index: 1000;
    background: rgba(10, 15, 28, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
    transition: background 0.3s ease;
}

.nav.scrolled {
    background: rgba(10, 15, 28, 0.92);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-white);
}

.nav-logo svg {
    width: 32px;
    height: 32px;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-coral);
    transition: width 0.3s ease;
    border-radius: 1px;
}

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

.nav-links a:hover::after,
.nav-links a:focus::after {
    width: 100%;
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    padding: 10px 24px;
    background: var(--gradient-coral);
    color: var(--text-white) !important;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    transition: box-shadow 0.3s ease, transform 0.2s ease;
}

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

.nav-cta:hover {
    box-shadow: 0 0 24px var(--glow-coral), 0 0 48px rgba(255, 109, 90, 0.2);
    transform: translateY(-1px);
}

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

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-white);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
}

.hamburger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ============================================
   HERO
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--nav-height);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.5;
}

.hero-blob-1 {
    width: 600px;
    height: 600px;
    background: var(--accent-purple);
    top: -10%;
    left: -5%;
    animation: blobFloat1 12s ease-in-out infinite;
}

.hero-blob-2 {
    width: 500px;
    height: 500px;
    background: var(--accent-teal);
    top: 20%;
    right: -10%;
    animation: blobFloat2 15s ease-in-out infinite;
}

.hero-blob-3 {
    width: 450px;
    height: 450px;
    background: #8B5CF6;
    bottom: -15%;
    left: 30%;
    animation: blobFloat3 18s ease-in-out infinite;
}

.hero-blob-4 {
    width: 350px;
    height: 350px;
    background: var(--accent-coral);
    top: 60%;
    right: 15%;
    opacity: 0.3;
    animation: blobFloat1 20s ease-in-out infinite reverse;
}

@keyframes blobFloat1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(60px, 40px) scale(1.1); }
    50% { transform: translate(30px, 80px) scale(0.95); }
    75% { transform: translate(-40px, 30px) scale(1.05); }
}

@keyframes blobFloat2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(-50px, 50px) scale(1.05); }
    50% { transform: translate(-80px, -20px) scale(1.1); }
    75% { transform: translate(30px, -50px) scale(0.95); }
}

@keyframes blobFloat3 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(70px, -40px) scale(1.08); }
    66% { transform: translate(-50px, 60px) scale(0.92); }
}

.hero-grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: 1;
}

/* ============================================
   ORBITAL / GALAXY VISUAL
   ============================================ */
.hero-orbital {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(600px, 90vw);
    height: min(600px, 90vw);
    z-index: 1;
    opacity: 0;
    animation: orbitalFadeIn 2s ease 0.5s forwards;
}

@keyframes orbitalFadeIn {
    to { opacity: 1; }
}

.hero-orbital svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 8px rgba(108, 99, 255, 0.15));
}

/* Glow pulse on center node */
@keyframes centerPulse {
    0%, 100% { filter: drop-shadow(0 0 8px rgba(108, 99, 255, 0.4)); }
    50% { filter: drop-shadow(0 0 20px rgba(108, 99, 255, 0.7)); }
}

.hero-orbital .center-glow {
    animation: centerPulse 4s ease-in-out infinite;
}

/* Satellite glow keyframes */
@keyframes satelliteGlow {
    0%, 100% { filter: drop-shadow(0 0 4px rgba(108, 99, 255, 0.5)); }
    50% { filter: drop-shadow(0 0 12px rgba(108, 99, 255, 0.9)); }
}

@keyframes satelliteTealGlow {
    0%, 100% { filter: drop-shadow(0 0 4px rgba(0, 212, 170, 0.5)); }
    50% { filter: drop-shadow(0 0 12px rgba(0, 212, 170, 0.9)); }
}

@media (max-width: 768px) {
    .hero-orbital {
        width: 320px;
        height: 320px;
        opacity: 0;
    }
    @keyframes orbitalFadeIn {
        to { opacity: 0.6; }
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 820px;
    margin: 0 auto;
    padding: 60px 24px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(108, 99, 255, 0.12);
    border: 1px solid rgba(108, 99, 255, 0.3);
    border-radius: 100px;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--accent-purple);
    margin-bottom: 32px;
    animation: fadeInDown 0.8s ease forwards;
}

.hero-badge-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-teal);
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(0, 212, 170, 0.4); }
    50% { opacity: 0.8; box-shadow: 0 0 0 8px rgba(0, 212, 170, 0); }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.2rem);
    font-weight: 700;
    color: var(--text-white);
    line-height: 1.1;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease 0.15s forwards;
    opacity: 0;
}

.hero p {
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    color: var(--text-muted);
    max-width: 640px;
    margin: 0 auto 40px;
    line-height: 1.7;
    animation: fadeInUp 0.8s ease 0.3s forwards;
    opacity: 0;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.45s forwards;
    opacity: 0;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    background: var(--gradient-coral);
    color: var(--text-white);
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: box-shadow 0.3s ease, transform 0.2s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-primary:hover {
    box-shadow: 0 0 30px var(--glow-coral), 0 0 60px rgba(255, 109, 90, 0.2);
    transform: translateY(-2px);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    background: transparent;
    color: var(--text-white);
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    border: 1px solid var(--border-accent);
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: rgba(108, 99, 255, 0.1);
    border-color: var(--accent-purple);
    box-shadow: 0 0 20px var(--glow-purple);
    transform: translateY(-2px);
}

/* ============================================
   SOCIAL PROOF / STATS
   ============================================ */
.stats {
    position: relative;
    z-index: 1;
    padding: 80px 0;
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.stat-item {
    text-align: center;
    padding: 32px 16px;
    border-radius: 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    transition: all 0.4s ease;
}

.stat-item:hover {
    border-color: var(--border-accent);
    box-shadow: 0 0 30px var(--glow-purple);
    background: var(--bg-card-hover);
}

.stat-number {
    font-size: clamp(2.2rem, 4vw, 3rem);
    font-weight: 700;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
    margin-bottom: 8px;
}

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

/* ============================================
   SERVICES
   ============================================ */
.services {
    position: relative;
    z-index: 1;
    padding: var(--section-padding) 0;
}

.services-header {
    text-align: center;
    margin-bottom: 64px;
}

.services-header .section-subtitle {
    margin: 0 auto;
}

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

.service-card {
    padding: 40px 32px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-main);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card:hover {
    border-color: var(--border-accent);
    box-shadow: 0 0 30px var(--glow-purple), 0 8px 32px rgba(0, 0, 0, 0.3);
    background: var(--bg-card-hover);
    transform: translateY(-4px);
}

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

.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    margin-bottom: 24px;
    background: rgba(108, 99, 255, 0.1);
    border: 1px solid rgba(108, 99, 255, 0.2);
}

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

.service-icon.teal {
    background: rgba(0, 212, 170, 0.1);
    border-color: rgba(0, 212, 170, 0.2);
}

.service-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 12px;
}

.service-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ============================================
   HOW IT WORKS
   ============================================ */
.how-it-works {
    position: relative;
    z-index: 1;
    padding: var(--section-padding) 0;
    background: rgba(108, 99, 255, 0.02);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.how-header {
    text-align: center;
    margin-bottom: 72px;
}

.how-header .section-subtitle {
    margin: 0 auto;
}

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

.timeline::before {
    content: '';
    position: absolute;
    left: 28px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent-purple), var(--accent-teal));
    opacity: 0.3;
}

.timeline-step {
    display: flex;
    gap: 32px;
    margin-bottom: 48px;
    position: relative;
}

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

.timeline-indicator {
    flex-shrink: 0;
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--bg-primary);
    border: 2px solid var(--accent-purple);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent-purple);
    position: relative;
    z-index: 1;
    box-shadow: 0 0 20px var(--glow-purple);
    transition: all 0.4s ease;
}

.timeline-step:hover .timeline-indicator {
    background: rgba(108, 99, 255, 0.15);
    box-shadow: 0 0 30px var(--glow-purple), 0 0 60px rgba(108, 99, 255, 0.15);
}

.timeline-step:nth-child(even) .timeline-indicator {
    border-color: var(--accent-teal);
    color: var(--accent-teal);
    box-shadow: 0 0 20px var(--glow-teal);
}

.timeline-step:nth-child(even):hover .timeline-indicator {
    background: rgba(0, 212, 170, 0.15);
    box-shadow: 0 0 30px var(--glow-teal), 0 0 60px rgba(0, 212, 170, 0.15);
}

.timeline-content {
    padding: 24px 32px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    flex: 1;
    transition: all 0.4s ease;
}

.timeline-step:hover .timeline-content {
    border-color: var(--border-accent);
    box-shadow: 0 0 20px var(--glow-purple);
}

.timeline-content h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 8px;
}

.timeline-content p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ============================================
   RESULTS / CASE STUDIES
   ============================================ */
.results {
    position: relative;
    z-index: 1;
    padding: var(--section-padding) 0;
}

.results-header {
    text-align: center;
    margin-bottom: 64px;
}

.results-header .section-subtitle {
    margin: 0 auto;
}

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

.result-card {
    padding: 40px 32px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.result-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-main);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.result-card:hover {
    border-color: var(--border-accent);
    box-shadow: 0 0 30px var(--glow-purple), 0 8px 32px rgba(0, 0, 0, 0.3);
    transform: translateY(-4px);
}

.result-card:hover::after {
    opacity: 1;
}

.result-metric {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
    margin-bottom: 8px;
}

.result-metric-label {
    font-size: 0.9rem;
    color: var(--accent-teal);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.result-company {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 12px;
}

.result-desc {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials {
    position: relative;
    z-index: 1;
    padding: var(--section-padding) 0;
    background: rgba(0, 212, 170, 0.02);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.testimonials-header {
    text-align: center;
    margin-bottom: 64px;
}

.testimonials-header .section-subtitle {
    margin: 0 auto;
}

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

.testimonial-card {
    padding: 40px 32px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    position: relative;
    transition: all 0.4s ease;
}

.testimonial-card:hover {
    border-color: var(--border-accent);
    box-shadow: 0 0 20px var(--glow-purple);
}

.testimonial-quote-mark {
    font-size: 4rem;
    line-height: 1;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: Georgia, serif;
    margin-bottom: 16px;
    display: block;
    height: 40px;
}

.testimonial-text {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 28px;
    font-style: italic;
}

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

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gradient-main);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-white);
    flex-shrink: 0;
}

.testimonial-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-white);
}

.testimonial-role {
    font-size: 0.82rem;
    color: var(--text-dim);
    margin-top: 2px;
}

/* ============================================
   ABOUT
   ============================================ */
.about {
    position: relative;
    z-index: 1;
    padding: var(--section-padding) 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about-content h2 {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 700;
    color: var(--text-white);
    line-height: 1.2;
    margin-bottom: 24px;
}

.about-content p {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.about-highlight {
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 14px;
    transition: all 0.4s ease;
}

.about-highlight:hover {
    border-color: var(--border-accent);
    box-shadow: 0 0 20px var(--glow-purple);
}

.about-highlight-icon {
    margin-bottom: 12px;
}

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

.about-highlight h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 6px;
}

.about-highlight p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0;
    line-height: 1.6;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    position: relative;
    z-index: 1;
    padding: var(--section-padding) 0;
    background: rgba(108, 99, 255, 0.03);
    border-top: 1px solid var(--border-subtle);
}

.cta-inner {
    max-width: 680px;
    margin: 0 auto;
    text-align: center;
}

.cta-inner .section-title {
    margin-bottom: 12px;
}

.cta-inner .section-subtitle {
    margin: 0 auto 48px;
}

.cta-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    text-align: left;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    border-radius: 10px;
    color: var(--text-white);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-dim);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--accent-coral);
    box-shadow: 0 0 20px var(--glow-coral);
    background: rgba(255, 255, 255, 0.06);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23B0B8C8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
}

.form-group select option {
    background: var(--bg-primary);
    color: var(--text-white);
}

.form-submit {
    grid-column: 1 / -1;
    margin-top: 8px;
}

.form-submit .btn-primary {
    width: 100%;
    justify-content: center;
    font-size: 1.05rem;
    padding: 18px 32px;
}

/* ============================================
   SUPPORT / REPORT ISSUE
   ============================================ */
.support-section {
    position: relative;
    z-index: 1;
    padding: 80px 0;
    background: rgba(220, 38, 38, 0.02);
    border-top: 1px solid var(--border-subtle);
}

.support-header {
    text-align: center;
    margin-bottom: 48px;
}

.support-form {
    max-width: 640px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.support-success {
    display: none;
    text-align: center;
    padding: 40px 20px;
}

.support-success.show {
    display: block;
}

.support-success svg {
    width: 48px;
    height: 48px;
    color: var(--accent-teal);
    margin-bottom: 16px;
}

.support-success h3 {
    font-size: 1.3rem;
    color: var(--text-white);
    margin-bottom: 8px;
}

.support-success p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.support-note {
    text-align: center;
    margin-top: 24px;
    font-size: 0.85rem;
    color: var(--text-dim);
}

.support-note a {
    color: var(--accent-coral);
    text-decoration: none;
}

@media (max-width: 600px) {
    .support-form {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    position: relative;
    z-index: 1;
    padding: 60px 0 40px;
    border-top: 1px solid var(--border-subtle);
}

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

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

.footer-col h4 {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-white);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-col ul a:hover {
    color: var(--accent-coral);
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    border-color: var(--accent-coral);
    color: var(--accent-coral);
    box-shadow: 0 0 16px var(--glow-coral);
}

.footer-social a svg {
    width: 18px;
    height: 18px;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 32px;
    border-top: 1px solid var(--border-subtle);
    font-size: 0.82rem;
    color: var(--text-dim);
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a {
    text-decoration: none;
    color: var(--text-dim);
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: var(--accent-coral);
}

/* ============================================
   MOBILE RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .results-grid .result-card:last-child {
        grid-column: 1 / -1;
        max-width: 400px;
        justify-self: center;
    }

    .testimonials-grid .testimonial-card:last-child {
        grid-column: 1 / -1;
        max-width: 400px;
        justify-self: center;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-inner {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 80px;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: var(--nav-height);
        left: 0;
        width: 100%;
        background: rgba(10, 15, 28, 0.97);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 32px 24px;
        gap: 24px;
        border-bottom: 1px solid var(--border-subtle);
    }

    .nav-links.open {
        display: flex;
    }

    .hamburger {
        display: flex;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

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

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

    .results-grid .result-card:last-child {
        max-width: none;
    }

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

    .testimonials-grid .testimonial-card:last-child {
        max-width: none;
    }

    .timeline::before {
        left: 22px;
    }

    .timeline-step {
        gap: 20px;
    }

    .timeline-indicator {
        width: 46px;
        height: 46px;
        font-size: 0.95rem;
    }

    .timeline-content {
        padding: 20px;
    }

    .about-highlights {
        grid-template-columns: 1fr;
    }

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

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .hero-blob-1 {
        width: 350px;
        height: 350px;
    }

    .hero-blob-2 {
        width: 300px;
        height: 300px;
    }

    .hero-blob-3 {
        width: 250px;
        height: 250px;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

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

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-primary, .btn-secondary {
        width: 100%;
        justify-content: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-blob, .hero-orbital, .reveal {
        animation: none !important;
        transition: none !important;
    }
    .reveal { opacity: 1; transform: none; }
    .hero-orbital { opacity: 0.7; }
    .hero-badge, .hero h1, .hero p, .hero-buttons {
        animation: none !important;
        opacity: 1 !important;
    }
}

/* ============================================
   THEME TOGGLE BUTTON
   ============================================ */
.theme-toggle {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 10px;
    padding: 0;
    cursor: pointer;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.theme-toggle:hover {
    border-color: var(--accent-coral);
    color: var(--accent-coral);
    box-shadow: 0 0 16px var(--glow-coral);
}

.theme-toggle svg {
    width: 20px;
    height: 20px;
}

.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }

body.light-mode .theme-toggle .icon-moon { display: none; }
body.light-mode .theme-toggle .icon-sun { display: block; }

/* ============================================
   LIGHT MODE OVERRIDES
   ============================================ */
body.light-mode {
    --bg-primary: #FFFFFF;
    --bg-card: rgba(0, 0, 0, 0.03);
    --bg-card-hover: rgba(0, 0, 0, 0.06);
    --text-white: #0F172A;
    --text-muted: #475569;
    --text-dim: #94A3B8;
    --glow-purple: rgba(108, 99, 255, 0.12);
    --glow-teal: rgba(0, 212, 170, 0.12);
    --border-subtle: rgba(0, 0, 0, 0.08);
    --border-accent: rgba(108, 99, 255, 0.25);
}

body.light-mode .dot-bg {
    background-image: radial-gradient(rgba(0, 0, 0, 0.05) 1px, transparent 1px);
}

body.light-mode .nav {
    background: rgba(255, 255, 255, 0.75);
    border-bottom-color: rgba(0, 0, 0, 0.06);
}

body.light-mode .nav.scrolled {
    background: rgba(255, 255, 255, 0.92);
}

body.light-mode .hero-grid-overlay {
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
}

body.light-mode .hero-blob {
    opacity: 0.12;
}

body.light-mode .hamburger span {
    background: #0F172A;
}

body.light-mode .nav-links {
    background: rgba(255, 255, 255, 0.97);
}

/* Keep white text on gradient buttons */
body.light-mode .btn-primary,
body.light-mode .nav-cta,
body.light-mode .testimonial-avatar {
    color: #FFFFFF !important;
    -webkit-text-fill-color: #FFFFFF;
}

body.light-mode .form-group input,
body.light-mode .form-group textarea,
body.light-mode .form-group select {
    background: rgba(0, 0, 0, 0.03);
    color: #0F172A;
}

body.light-mode .form-group input::placeholder,
body.light-mode .form-group textarea::placeholder {
    color: #94A3B8;
}

body.light-mode .form-group input:focus,
body.light-mode .form-group textarea:focus,
body.light-mode .form-group select:focus {
    background: rgba(0, 0, 0, 0.05);
}

body.light-mode .form-group select option {
    background: #FFFFFF;
    color: #0F172A;
}

/* Hero badge adapts */
body.light-mode .hero-badge {
    background: rgba(108, 99, 255, 0.07);
    border-color: rgba(108, 99, 255, 0.2);
}

/* Service icon backgrounds */
body.light-mode .service-icon {
    background: rgba(108, 99, 255, 0.07);
    border-color: rgba(108, 99, 255, 0.15);
}

body.light-mode .service-icon.teal {
    background: rgba(0, 212, 170, 0.07);
    border-color: rgba(0, 212, 170, 0.15);
}

/* Timeline indicator inherits --bg-primary automatically */

/* Eye logo pupil adapts to background */
body.light-mode .nav-logo svg circle[fill="#0A0F1C"] {
    fill: #FFFFFF;
}

/* How-it-works & testimonials section tints */
body.light-mode .how-it-works {
    background: rgba(108, 99, 255, 0.02);
}

body.light-mode .testimonials {
    background: rgba(0, 212, 170, 0.02);
}

body.light-mode .cta-section {
    background: rgba(108, 99, 255, 0.03);
}
