/* ================================================================
   AXON LANDING PAGE — Ultra Premium Dark Theme
   ================================================================ */

/* ====== CSS Variables ====== */
:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary: #0f172a;
    --accent: #22d3ee;
    --accent2: #a78bfa;
    --text: #f8fafc;
    --text-muted: #94a3b8;
    --bg: #050a18;
    --bg-card: rgba(15, 23, 42, 0.6);
    --bg-card-hover: rgba(30, 41, 59, 0.8);
    --border: rgba(99, 102, 241, 0.15);
    --border-hover: rgba(99, 102, 241, 0.4);
    --success: #22c55e;
    --warning: #eab308;
    --error: #ef4444;
    --gradient: linear-gradient(135deg, #6366f1 0%, #22d3ee 50%, #a78bfa 100%);
    --gradient-subtle: linear-gradient(135deg, rgba(99, 102, 241, 0.15) 0%, rgba(34, 211, 238, 0.1) 50%, rgba(167, 139, 250, 0.15) 100%);
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
    --shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 40px rgba(99, 102, 241, 0.15), 0 0 80px rgba(99, 102, 241, 0.05);
    --shadow-glow-strong: 0 0 60px rgba(99, 102, 241, 0.3), 0 0 120px rgba(34, 211, 238, 0.1);
    --radius: 16px;
    --radius-sm: 10px;
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--primary) var(--bg);
}

::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: var(--bg);
}
::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 3px;
}

body {
    font-family: var(--font-sans);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ====== Animated Mesh Gradient Background ====== */
.mesh-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.mesh-bg::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background:
        radial-gradient(ellipse 600px 600px at 20% 30%, rgba(99, 102, 241, 0.12) 0%, transparent 70%),
        radial-gradient(ellipse 500px 500px at 70% 20%, rgba(34, 211, 238, 0.08) 0%, transparent 70%),
        radial-gradient(ellipse 700px 700px at 50% 80%, rgba(167, 139, 250, 0.08) 0%, transparent 70%),
        radial-gradient(ellipse 400px 400px at 80% 60%, rgba(99, 102, 241, 0.06) 0%, transparent 70%);
    animation: meshFloat 20s ease-in-out infinite;
}

@keyframes meshFloat {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(2%, -3%) rotate(1deg); }
    50% { transform: translate(-1%, 2%) rotate(-0.5deg); }
    75% { transform: translate(3%, 1%) rotate(0.5deg); }
}

/* ====== WebGL Starfield Canvas ====== */
#starfield {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

/* ====== Mouse Follow Glow ====== */
.mouse-glow {
    position: fixed;
    width: 800px;
    height: 800px;
    border-radius: 50%;
    background: radial-gradient(circle,
        rgba(99, 102, 241, 0.08) 0%,
        rgba(34, 211, 238, 0.04) 30%,
        transparent 70%);
    pointer-events: none;
    z-index: 1;
    transform: translate(-50%, -50%);
    transition: left 0.5s cubic-bezier(0.16, 1, 0.3, 1), top 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: left, top;
    filter: blur(20px);
}

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

/* Ensure all content sits above backgrounds */
.navbar, header, section, footer {
    position: relative;
    z-index: 2;
}

/* ====== Hero Entrance Animations ====== */
.hero-badge, .hero-title, .hero-description, .hero-buttons, .hero-stats, .hero-visual {
    opacity: 0;
    animation: heroSlideIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.hero-badge       { animation-delay: 0.1s; }
.hero-title       { animation-delay: 0.3s; }
.hero-description { animation-delay: 0.5s; }
.hero-buttons     { animation-delay: 0.7s; }
.hero-stats       { animation-delay: 0.9s; }
.hero-visual      { animation-delay: 0.6s; }

@keyframes heroSlideIn {
    from { opacity: 0; transform: translateY(40px) scale(0.96); filter: blur(8px); }
    to   { opacity: 1; transform: translateY(0) scale(1); filter: blur(0px); }
}

/* ====== Scroll Reveal Animation ====== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ====== Gradient Text Animation ====== */
.gradient-text {
    background: linear-gradient(135deg, #6366f1, #22d3ee, #a78bfa, #6366f1) !important;
    background-size: 300% 300% !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    animation: gradientFlow 6s ease infinite;
}

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

/* ====== Floating Particles (CSS only) ====== */
.particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}
.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--primary-light);
    border-radius: 50%;
    opacity: 0;
    animation: particleFloat 8s ease-in-out infinite;
}
.particle:nth-child(1) { left: 10%; animation-delay: 0s; animation-duration: 7s; }
.particle:nth-child(2) { left: 25%; animation-delay: 1.5s; animation-duration: 9s; }
.particle:nth-child(3) { left: 40%; animation-delay: 3s; animation-duration: 6s; }
.particle:nth-child(4) { left: 55%; animation-delay: 0.5s; animation-duration: 10s; }
.particle:nth-child(5) { left: 70%; animation-delay: 2s; animation-duration: 8s; }
.particle:nth-child(6) { left: 85%; animation-delay: 4s; animation-duration: 7s; }
.particle:nth-child(7) { left: 15%; animation-delay: 1s; animation-duration: 11s; }
.particle:nth-child(8) { left: 60%; animation-delay: 3.5s; animation-duration: 9s; }

@keyframes particleFloat {
    0% { transform: translateY(100vh) scale(0); opacity: 0; }
    10% { opacity: 0.6; }
    90% { opacity: 0.6; }
    100% { transform: translateY(-100px) scale(1.5); opacity: 0; }
}

/* ====== Navigation ====== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    background: transparent;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(5, 10, 24, 0.85);
    backdrop-filter: blur(20px) saturate(1.8);
    -webkit-backdrop-filter: blur(20px) saturate(1.8);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo-icon {
    font-size: 1.75rem;
    filter: drop-shadow(0 0 8px rgba(99, 102, 241, 0.5));
}

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

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

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

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

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

/* ====== Buttons ====== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    position: relative;
    overflow: hidden;
}

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

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

.btn-primary {
    background: var(--gradient);
    color: white;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 40px rgba(99, 102, 241, 0.5), 0 0 60px rgba(99, 102, 241, 0.2);
}

.btn-secondary {
    background: rgba(15, 23, 42, 0.8);
    color: var(--text);
    border: 1px solid var(--border);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(30, 41, 59, 0.9);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-glow);
    transform: translateY(-2px);
}

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

.btn-outline:hover {
    border-color: var(--primary);
    background: rgba(99, 102, 241, 0.1);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.15);
    transform: translateY(-2px);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1rem;
    border-radius: var(--radius);
}

.github-icon {
    flex-shrink: 0;
}

/* ====== Hero Section ====== */
.hero {
    padding: 160px 0 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 1000px;
    height: 1000px;
    background:
        radial-gradient(circle at 30% 40%, rgba(99, 102, 241, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 70% 60%, rgba(34, 211, 238, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(167, 139, 250, 0.08) 0%, transparent 60%);
    pointer-events: none;
    animation: heroPulse 8s ease-in-out infinite;
}

@keyframes heroPulse {
    0%, 100% { opacity: 0.8; transform: translateX(-50%) scale(1); }
    50% { opacity: 1; transform: translateX(-50%) scale(1.05); }
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary-light);
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 28px;
    border: 1px solid rgba(99, 102, 241, 0.25);
    backdrop-filter: blur(8px);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.1);
    animation: heroSlideIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards, badgePulse 3s ease-in-out infinite 1.2s;
}

@keyframes badgePulse {
    0%, 100% { box-shadow: 0 0 20px rgba(99, 102, 241, 0.1); }
    50% { box-shadow: 0 0 30px rgba(99, 102, 241, 0.25); }
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.08;
    margin-bottom: 28px;
    letter-spacing: -0.03em;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 540px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 56px;
}

.hero-stats {
    display: flex;
    gap: 48px;
}

.stat {
    display: flex;
    flex-direction: column;
    position: relative;
}

.stat::after {
    content: '';
    position: absolute;
    right: -24px;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 30px;
    background: var(--border);
}

.stat:last-child::after {
    display: none;
}

.stat-value {
    font-size: 1.75rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

/* ====== Terminal (Hero visual) ====== */
.terminal {
    background: rgba(13, 17, 23, 0.9);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    border: 1px solid var(--border);
    backdrop-filter: blur(20px);
    transition: var(--transition);
}

.terminal:hover {
    box-shadow: var(--shadow-lg), var(--shadow-glow-strong);
    border-color: var(--border-hover);
    transform: translateY(-4px);
}

.terminal-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 18px;
    background: rgba(22, 27, 34, 0.8);
    border-bottom: 1px solid var(--border);
}

.terminal-dots {
    display: flex;
    gap: 8px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    transition: var(--transition-fast);
}

.dot.red { background: #ff5f56; box-shadow: 0 0 6px rgba(255, 95, 86, 0.4); }
.dot.yellow { background: #ffbd2e; box-shadow: 0 0 6px rgba(255, 189, 46, 0.4); }
.dot.green { background: #27ca40; box-shadow: 0 0 6px rgba(39, 202, 64, 0.4); }

.terminal:hover .dot.red { box-shadow: 0 0 12px rgba(255, 95, 86, 0.6); }
.terminal:hover .dot.yellow { box-shadow: 0 0 12px rgba(255, 189, 46, 0.6); }
.terminal:hover .dot.green { box-shadow: 0 0 12px rgba(39, 202, 64, 0.6); }

.terminal-title {
    color: var(--text-muted);
    font-size: 0.8125rem;
    font-family: var(--font-mono);
}

.terminal-body {
    padding: 24px;
    font-family: var(--font-mono);
    font-size: 0.875rem;
    line-height: 1.9;
    position: relative;
}

.terminal-body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    opacity: 0.3;
}

.terminal-body .prompt {
    color: var(--accent);
    text-shadow: 0 0 8px rgba(34, 211, 238, 0.3);
}

.terminal-body .info {
    color: var(--primary-light);
}

.terminal-body .success {
    color: var(--success);
    text-shadow: 0 0 8px rgba(34, 197, 94, 0.2);
}

.terminal-body .cursor {
    border-right: 2px solid var(--accent);
    animation: blink 1s infinite;
    box-shadow: 0 0 4px var(--accent);
}

@keyframes blink {
    0%, 50% { border-color: var(--accent); }
    51%, 100% { border-color: transparent; }
}

/* ====== Sections Common ====== */
section {
    padding: 120px 0;
}

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

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    background: rgba(99, 102, 241, 0.08);
    color: var(--primary-light);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 20px;
    border: 1px solid rgba(99, 102, 241, 0.15);
}

.section-title {
    font-size: 2.75rem;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.03em;
}

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

/* ====== Section Dividers ====== */
.section-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-hover), transparent);
    margin: 0 auto;
    max-width: 800px;
}

/* ====== Glassmorphism Card Base ====== */
.glass-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    backdrop-filter: blur(20px) saturate(1.5);
    -webkit-backdrop-filter: blur(20px) saturate(1.5);
    transition: var(--transition);
}

.glass-card:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-glow);
}

/* ====== Features Section ====== */
.features {
    background: transparent;
    position: relative;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse 80% 50% at 50% 50%, rgba(99, 102, 241, 0.04) 0%, transparent 70%);
    pointer-events: none;
}

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

.feature-card {
    background: var(--bg-card);
    padding: 32px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

/* Card shimmer effect on hover */
.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.05), transparent);
    transition: left 0.6s ease;
}

.feature-card:hover::before {
    left: 100%;
}

/* Card top gradient line */
.feature-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient);
    opacity: 0;
    transition: opacity 0.4s ease;
}

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

.feature-card.featured-card {
    border-color: rgba(99, 102, 241, 0.3);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.08) 0%, rgba(34, 211, 238, 0.04) 100%);
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.08);
}

.feature-card.featured-card::after {
    opacity: 0.6;
}

.feature-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-glow);
}

.feature-card.featured-card:hover {
    box-shadow: var(--shadow-glow-strong);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    display: inline-block;
    filter: drop-shadow(0 0 8px rgba(99, 102, 241, 0.3));
}

.feature-card h3 {
    font-size: 1.125rem;
    margin-bottom: 12px;
    font-weight: 700;
    letter-spacing: -0.01em;
}

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

/* ====== Video Demo Section ====== */
.demo-video-section {
    padding: 48px 0;
    position: relative;
}

.demo-video-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 40% at 50% 50%, rgba(34, 211, 238, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

.video-showcase {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 32px;
    align-items: start;
    margin-top: 32px;
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
}

.video-container {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    background: #000;
    transition: var(--transition);
}

.video-container:hover {
    box-shadow: var(--shadow-lg), var(--shadow-glow-strong);
    border-color: var(--border-hover);
}

.video-container video {
    width: 100%;
    display: block;
    border-radius: var(--radius);
}

.video-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.video-feature {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 16px 18px;
    background: var(--bg-card);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.video-feature:hover {
    border-color: var(--border-hover);
    transform: translateX(6px);
    box-shadow: -4px 0 20px rgba(99, 102, 241, 0.1);
}

.vf-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
    margin-top: 1px;
}

.video-feature strong {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 3px;
}

.video-feature p {
    color: var(--text-muted);
    font-size: 0.8rem;
    margin: 0;
    line-height: 1.5;
}

/* ====== Architecture Section ====== */
.architecture-diagram {
    max-width: 650px;
    margin: 0 auto;
}

.arch-layer {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 28px;
    border: 1px solid var(--border);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.arch-layer::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--gradient);
    opacity: 0;
    transition: opacity 0.4s;
}

.arch-layer:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-glow);
    transform: translateX(4px);
}

.arch-layer:hover::before {
    opacity: 1;
}

.arch-layer-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.layer-number {
    width: 36px;
    height: 36px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.3);
    flex-shrink: 0;
}

.arch-layer h3 {
    font-size: 1.125rem;
    font-weight: 700;
}

.arch-layer-content {
    color: var(--text-muted);
    font-size: 0.9375rem;
    padding-left: 52px;
    line-height: 1.7;
}

.arch-layer-content code {
    color: var(--accent);
    font-family: var(--font-mono);
    background: rgba(34, 211, 238, 0.08);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.85rem;
}

.arch-arrow {
    text-align: center;
    font-size: 1.5rem;
    color: var(--primary);
    padding: 12px 0;
    opacity: 0.5;
}

/* ====== Quick Start Section ====== */
.quickstart {
    position: relative;
}

.quickstart::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(99, 102, 241, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

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

.step {
    display: flex;
    gap: 24px;
    margin-bottom: 36px;
    position: relative;
}

.step::before {
    content: '';
    position: absolute;
    left: 23px;
    top: 56px;
    bottom: -36px;
    width: 2px;
    background: linear-gradient(180deg, var(--primary), transparent);
    opacity: 0.2;
}

.step:last-child::before {
    display: none;
}

.step-number {
    width: 48px;
    height: 48px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.25rem;
    flex-shrink: 0;
    box-shadow: 0 0 25px rgba(99, 102, 241, 0.3);
}

.step-content {
    flex: 1;
}

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

.code-block {
    display: flex;
    align-items: center;
    background: rgba(13, 17, 23, 0.8);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    overflow: hidden;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.code-block:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-glow);
}

.code-block code {
    flex: 1;
    padding: 18px 20px;
    font-family: var(--font-mono);
    font-size: 0.875rem;
    color: var(--accent);
}

.copy-btn {
    padding: 18px 22px;
    background: rgba(30, 41, 59, 0.5);
    border: none;
    border-left: 1px solid var(--border);
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition-fast);
    font-size: 0.875rem;
    font-weight: 500;
}

.copy-btn:hover {
    background: rgba(99, 102, 241, 0.15);
    color: var(--text);
}

/* ====== Blog Section ====== */
.blog {
    padding: 120px 0;
    position: relative;
}

.blog::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent, rgba(5, 10, 24, 0.5), transparent);
    pointer-events: none;
}

.blog-posts {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.blog-post {
    background: var(--bg-card);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    padding: 40px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.blog-post::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    opacity: 0;
    transition: opacity 0.4s;
}

.blog-post:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-glow);
    transform: translateY(-2px);
}

.blog-post:hover::before {
    opacity: 0.5;
}

.blog-post.featured {
    border-color: rgba(99, 102, 241, 0.25);
    box-shadow: 0 0 40px rgba(99, 102, 241, 0.05);
}

.blog-post-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.blog-tag {
    background: var(--gradient);
    color: white;
    padding: 5px 14px;
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.blog-date {
    color: var(--text-muted);
    font-size: 0.8125rem;
}

.blog-post h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.3;
    letter-spacing: -0.02em;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.blog-content {
    color: var(--text-muted);
    line-height: 1.8;
}

.blog-content h4 {
    color: var(--text);
    font-size: 1.125rem;
    font-weight: 700;
    margin: 24px 0 14px;
}

.blog-content h4:first-child {
    margin-top: 0;
}

.blog-content p {
    margin-bottom: 14px;
}

.blog-content ul, .blog-content ol {
    margin: 14px 0;
    padding-left: 24px;
}

.blog-content li {
    margin-bottom: 10px;
}

.blog-content li strong {
    color: var(--text);
}

.blog-content code {
    background: rgba(99, 102, 241, 0.12);
    color: var(--primary-light);
    padding: 2px 8px;
    border-radius: 4px;
    font-family: var(--font-mono);
    font-size: 0.85rem;
}

.blog-content .code-block {
    display: block;
    padding: 20px;
    overflow-x: auto;
}

.blog-content .code-block code {
    background: transparent;
    padding: 0;
    display: block;
    white-space: pre-wrap;
    word-break: break-word;
    line-height: 1.6;
}

.blog-footer {
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.btn-small {
    padding: 10px 22px;
    font-size: 0.875rem;
}

/* ====== CTA Section ====== */
.cta {
    background: var(--gradient);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(255,255,255,0.05) 0%, transparent 50%);
    pointer-events: none;
}

.cta::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 40%, rgba(255,255,255,0.03) 50%, transparent 60%);
    animation: ctaSheen 6s linear infinite;
}

@keyframes ctaSheen {
    0% { transform: translateX(-100%) translateY(-100%) rotate(0deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(0deg); }
}

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

.cta-content h2 {
    font-size: 2.75rem;
    margin-bottom: 16px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.cta-content p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 36px;
}

.cta .btn-primary {
    background: white;
    color: var(--primary-dark);
    font-weight: 700;
}

.cta .btn-primary:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    transform: translateY(-3px) scale(1.02);
}

/* ====== Footer ====== */
.footer {
    background: rgba(5, 10, 24, 0.95);
    padding: 60px 0 30px;
    border-top: 1px solid var(--border);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
}

.footer-info p {
    color: var(--text-muted);
    margin-top: 12px;
    font-size: 0.9375rem;
}

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

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9375rem;
    transition: var(--transition-fast);
}

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

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid var(--border);
    text-align: center;
}

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

/* ====== Sponsor Section ====== */
.sponsor-section {
    padding: 100px 0;
    text-align: center;
    position: relative;
}

.sponsor-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(167, 139, 250, 0.04) 0%, transparent 70%);
    pointer-events: none;
}

.sponsor-content h2 {
    font-size: 2.75rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sponsor-content > p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    line-height: 1.7;
}

.sponsor-tiers {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}

.sponsor-tier {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2.5rem 2rem;
    min-width: 220px;
    max-width: 280px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.sponsor-tier::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient);
    opacity: 0;
    transition: opacity 0.4s;
}

.sponsor-tier:hover {
    border-color: var(--border-hover);
    transform: translateY(-6px);
    box-shadow: var(--shadow-glow-strong);
}

.sponsor-tier:hover::before {
    opacity: 1;
}

.sponsor-tier.featured-tier {
    border-color: rgba(99, 102, 241, 0.3);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(34, 211, 238, 0.05));
}

.sponsor-tier.featured-tier::before {
    opacity: 0.6;
}

.sponsor-tier h4 {
    font-size: 1.1rem;
    color: var(--text);
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.tier-price {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tier-price span {
    font-size: 0.9rem;
    font-weight: 400;
    -webkit-text-fill-color: var(--text-muted);
}

.sponsor-tier p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

.sponsor-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.sponsor-qrcodes {
    display: flex;
    gap: 2.5rem;
    justify-content: center;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}

.sponsor-qrcode {
    text-align: center;
}

.sponsor-qrcode img {
    width: 180px;
    height: 180px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    object-fit: cover;
    transition: var(--transition);
}

.sponsor-qrcode img:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-glow-strong);
    transform: scale(1.08);
}

.sponsor-qrcode p {
    margin-top: 0.75rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ====== Responsive ====== */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-buttons {
        justify-content: center;
    }
    .hero-stats {
        justify-content: center;
    }
    .hero-visual {
        display: none;
    }
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .hero-stats {
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    .navbar .container {
        flex-wrap: wrap;
        gap: 16px;
    }
    .nav-links {
        order: 3;
        width: 100%;
        justify-content: center;
        gap: 12px;
        flex-wrap: wrap;
    }
    .hero-title {
        font-size: 2.5rem;
    }
    .section-title {
        font-size: 2rem;
    }
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .hero-stats {
        flex-direction: column;
        gap: 24px;
    }
    .stat::after {
        display: none;
    }
    .footer-content {
        flex-direction: column;
        gap: 32px;
    }
    .footer-links {
        flex-direction: column;
        gap: 16px;
    }
    .video-showcase {
        grid-template-columns: 1fr;
    }
    .video-features {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    .hero-buttons {
        flex-direction: column;
    }
    .btn {
        width: 100%;
        justify-content: center;
    }
    .features-grid {
        grid-template-columns: 1fr;
    }
    .step {
        flex-direction: column;
        gap: 16px;
    }
    .step::before {
        display: none;
    }
    .sponsor-tiers {
        flex-direction: column !important;
        align-items: center;
    }
    .video-features {
        grid-template-columns: 1fr;
    }
}

/* ====== Animated Grid Background (for hero) ====== */
.grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(99, 102, 241, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99, 102, 241, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 60% 50% at 50% 50%, black, transparent);
    -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 50%, black, transparent);
    pointer-events: none;
}

/* ====== Glow Ring (for hero visual) ====== */
.glow-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(99, 102, 241, 0.2);
    animation: ringPulse 4s ease-in-out infinite;
    pointer-events: none;
}

.glow-ring-1 {
    width: 300px;
    height: 300px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 0s;
}

.glow-ring-2 {
    width: 450px;
    height: 450px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 1.3s;
    border-color: rgba(34, 211, 238, 0.1);
}

.glow-ring-3 {
    width: 600px;
    height: 600px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 2.6s;
    border-color: rgba(167, 139, 250, 0.08);
}

@keyframes ringPulse {
    0%, 100% { opacity: 0.3; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.7; transform: translate(-50%, -50%) scale(1.05); }
}

/* ====== Typing Animation (for terminal) ====== */
.typing-line {
    overflow: hidden;
    white-space: nowrap;
    animation: typingReveal 0.8s steps(40) forwards;
    opacity: 0;
}

.typing-line:nth-child(1) { animation-delay: 0.5s; }
.typing-line:nth-child(2) { animation-delay: 1s; }
.typing-line:nth-child(3) { animation-delay: 1.5s; }
.typing-line:nth-child(4) { animation-delay: 2s; }
.typing-line:nth-child(5) { animation-delay: 2.5s; }
.typing-line:nth-child(6) { animation-delay: 3s; }
.typing-line:nth-child(7) { animation-delay: 3.5s; }
.typing-line:nth-child(8) { animation-delay: 4s; }

@keyframes typingReveal {
    from { max-width: 0; opacity: 0; }
    to { max-width: 100%; opacity: 1; }
}

/* ====== Number Counter Animation ====== */
@keyframes countUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ====== Selection Color ====== */
::selection {
    background: rgba(99, 102, 241, 0.3);
    color: var(--text);
}

/* ====== Focus Styles ====== */
a:focus-visible, button:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}
