/**
 * Landing Page CSS - AEO Analyzer
 * "The AI Observatory" - Immersive landing experience
 */

/* ==========================================================================
   CSS VARIABLES & BASE
   ========================================================================== */

:root {
    /* Typography */
    --font-display: 'Clash Display', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Colors */
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary: #8b5cf6;
    --accent: #ec4899;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;

    /* Dark Theme */
    --dark: #0f172a;
    --dark-light: #1e293b;
    --dark-card: rgba(30, 41, 59, 0.8);
    --gray: #94a3b8;
    --light: #f1f5f9;
    --white: #ffffff;

    /* Glass Effect */
    --glass: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-strong: rgba(255, 255, 255, 0.08);

    /* Shadows */
    --shadow-soft: 0 8px 32px rgba(0, 0, 0, 0.2);
    --shadow-glow: 0 0 40px rgba(99, 102, 241, 0.3);
    --shadow-glow-strong: 0 0 80px rgba(99, 102, 241, 0.5);

    /* Text Colors */
    --text: #ffffff;
    --text-secondary: #e2e8f0;
    --text-tertiary: #cbd5e1;
    --text-muted: #94a3b8;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary), var(--secondary));
    --gradient-accent: linear-gradient(135deg, var(--secondary), var(--accent));
    --gradient-dark: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--gradient-dark);
    color: var(--text);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.6;
}

/* Distinctive Display Typography */
h1, h2, h3, .display-text {
    font-family: var(--font-display);
    letter-spacing: -0.02em;
}

/* ==========================================================================
   UTILITY CLASSES
   ========================================================================== */

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 5;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--secondary), var(--accent));
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 5s ease-in-out infinite;
}

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

.premium-badge {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(236, 72, 153, 0.2));
    border-color: rgba(139, 92, 246, 0.4);
    color: #c4b5fd;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 16px;
    color: var(--white);
}

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

.skip-link {
    position: absolute;
    top: -100%;
    left: 0;
    background: var(--primary);
    color: var(--white);
    padding: 16px 24px;
    z-index: 9999;
    text-decoration: none;
    font-weight: 600;
    border-radius: 0 0 12px 0;
}

.skip-link:focus {
    top: 0;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ==========================================================================
   HERO SECTION - THE PORTAL
   ========================================================================== */

.hero-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.particle-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 24px;
    z-index: 2;
    background-image: url('/static/images/hero-background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Overlay to blend hero background with animations */
.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(15, 23, 42, 0.7) 0%,
        rgba(15, 23, 42, 0.85) 50%,
        rgba(15, 23, 42, 0.95) 100%
    );
    z-index: -1;
}

.hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

/* Live Indicator */
.live-indicator {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 50px;
    margin-bottom: 32px;
    animation: fadeInDown 0.8s ease-out;
}

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

.live-text {
    color: var(--success);
    font-size: 0.875rem;
    font-weight: 500;
}

/* Hero Title */
.hero-title {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 700;
    line-height: 1.05;
    margin-bottom: 24px;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.title-line {
    display: block;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 48px;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-subtitle strong {
    color: var(--white);
}

/* Portal Orb */
.portal-container {
    margin-bottom: 48px;
    animation: fadeIn 1.5s ease-out 0.6s both;
}

.portal-orb {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto;
}

.portal-glow {
    position: absolute;
    inset: -40px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.4) 0%, transparent 70%);
    border-radius: 50%;
    animation: portalPulse 3s ease-in-out infinite;
}

.portal-ring {
    position: absolute;
    inset: 0;
    border: 2px solid rgba(99, 102, 241, 0.3);
    border-radius: 50%;
}

.portal-ring-1 {
    animation: portalRing 8s linear infinite;
}

.portal-ring-2 {
    inset: 15px;
    border-color: rgba(139, 92, 246, 0.3);
    animation: portalRing 12s linear infinite reverse;
}

.portal-ring-3 {
    inset: 30px;
    border-color: rgba(236, 72, 153, 0.3);
    animation: portalRing 16s linear infinite;
}

.portal-center {
    position: absolute;
    inset: 45px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-glow-strong);
}

.portal-text {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    color: var(--white);
}

/* Hero Input */
.hero-input-wrapper {
    animation: fadeInUp 1s ease-out 0.8s both;
}

.hero-form {
    max-width: 600px;
    margin: 0 auto 16px;
}

.input-container {
    display: flex;
    align-items: center;
    background: var(--glass-strong);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 8px;
    transition: all 0.3s ease;
}

.input-container:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.2);
}

.input-icon {
    width: 24px;
    height: 24px;
    margin: 0 12px;
    color: var(--text-muted);
}

.hero-input {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--white);
    font-size: 1.125rem;
    padding: 16px 0;
    outline: none;
}

.hero-input::placeholder {
    color: var(--text-muted);
}

.hero-submit-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.4);
}

.hero-submit-btn .btn-icon {
    width: 18px;
    height: 18px;
}

.hero-input-note {
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    animation: fadeIn 1s ease-out 1.2s both;
    z-index: 10;
}

.scroll-text {
    display: block;
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-bottom: 8px;
}

.scroll-arrow {
    animation: bounce 2s ease-in-out infinite;
}

.scroll-arrow i {
    color: var(--primary-light);
}

/* ==========================================================================
   REVELATION SECTION - THE PROBLEM
   ========================================================================== */

.revelation-section {
    padding: 120px 0;
    position: relative;
    z-index: 2;
}

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

/* Reality Split */
.reality-split {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 32px;
    align-items: center;
    margin-bottom: 64px;
}

.reality-card {
    background: var(--glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 24px;
    min-width: 0;
    overflow: hidden;
}

.reality-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 24px;
}

.reality-old .reality-visual {
    opacity: 0.7;
}

/* Search Box Mock */
.search-box-mock {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.1);
    padding: 16px 20px;
    border-radius: 12px;
    margin-bottom: 16px;
}

.search-box-mock i {
    color: var(--text-muted);
}

.search-box-mock span {
    color: var(--text-secondary);
}

.arrow-down {
    text-align: center;
    padding: 8px 0;
    color: var(--text-muted);
}

.results-mock {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.result-item {
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    color: var(--text-tertiary);
    font-size: 0.875rem;
}

/* Reality Divider */
.reality-divider {
    display: flex;
    align-items: center;
    justify-content: center;
}

.vs-badge {
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
}

/* AI Pipeline */
.ai-pipeline {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.pipeline-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 12px 10px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 12px;
    min-width: 80px;
    flex-shrink: 0;
}

.pipeline-arrow {
    flex-shrink: 0;
}

.pipeline-step i {
    color: var(--primary-light);
}

.pipeline-step span {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-align: center;
}

.pipeline-arrow {
    color: var(--text-muted);
}

/* Revelation Message */
.revelation-message {
    text-align: center;
    margin-bottom: 64px;
}

.revelation-message p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.revelation-message .highlight {
    font-size: 1.5rem;
    color: var(--white);
    margin-top: 16px;
}

.revelation-message .tagline {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--primary-light);
    margin-top: 8px;
}

/* Stats Counter */
.stats-reveal {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
    padding: 32px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
}

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-light);
    margin-bottom: 8px;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* ==========================================================================
   CONSTELLATION SECTION - AI PLATFORMS
   ========================================================================== */

.constellation-section {
    padding: 120px 0;
    position: relative;
    z-index: 2;
    background:
        url('/static/images/gradients/mesh-blue-purple.png') center center / cover no-repeat,
        radial-gradient(ellipse at center, rgba(99, 102, 241, 0.05) 0%, transparent 70%);
    background-blend-mode: screen, normal;
}

.constellation-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
    z-index: -1;
}

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

/* Star Map */
.starmap-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 48px;
}

.starmap {
    position: relative;
    width: 500px;
    height: 500px;
    max-width: 100%;
}

.star-node {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.star-node:not(.star-center) {
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) rotate(var(--angle)) translateY(calc(-1 * var(--distance))) rotate(calc(-1 * var(--angle)));
}

.star-center {
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.star-glow {
    position: absolute;
    inset: -30px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.4) 0%, transparent 70%);
    border-radius: 50%;
    animation: starPulse 3s ease-in-out infinite;
}

.star-icon {
    width: 56px;
    height: 56px;
    background: var(--glass-strong);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.star-center .star-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border: none;
}

.star-icon img {
    width: 28px;
    height: 28px;
    filter: brightness(0) invert(1);
}

.star-icon i {
    color: var(--white);
}

.star-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 500;
    white-space: nowrap;
    position: relative;
    z-index: 2;
}

.star-center .star-label {
    font-size: 0.875rem;
    color: var(--white);
    font-weight: 600;
}

.star-node:hover .star-icon {
    transform: scale(1.15);
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.5);
}

/* Connection Lines SVG */
.connection-lines {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

/* Platform Info Panel */
.platform-info-panel {
    background: var(--glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 24px 32px;
    max-width: 500px;
    text-align: center;
}

.panel-title {
    font-size: 1rem;
    color: var(--text);
    margin-bottom: 8px;
}

.panel-content p {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* Platform Info Panel - Active & Updating States */
.platform-info-panel.updating {
    opacity: 0.5;
    transform: scale(0.98);
    transition: all 0.15s ease;
}

.platform-info-panel.active {
    border-color: var(--primary);
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.2);
}

.panel-description {
    margin-bottom: 16px;
    line-height: 1.6;
}

.panel-signals {
    text-align: left;
}

.signals-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

.signals-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.signal-tag {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    background: rgba(99, 102, 241, 0.15);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 20px;
    font-size: 0.75rem;
    color: var(--primary-light);
    font-weight: 500;
}

/* Platform Node Active State */
.star-node.active .star-icon {
    transform: scale(1.2);
    box-shadow: 0 0 40px rgba(99, 102, 241, 0.6);
    background: var(--gradient-primary);
}

.star-node.active .star-label {
    color: var(--white);
    font-weight: 600;
}

.constellation-note {
    text-align: center;
    color: var(--text-secondary);
    margin-top: 32px;
}

.constellation-note strong {
    color: var(--primary-light);
}

/* ==========================================================================
   SCANNER SECTION - LIVE DEMO
   ========================================================================== */

.scanner-section {
    padding: 120px 0;
    position: relative;
    z-index: 2;
    overflow: hidden;
}

.scanner-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: url('/static/images/gradients/glow-orb-cyan.png') center / contain no-repeat;
    opacity: 0.3;
    z-index: -1;
    pointer-events: none;
}

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

/* Scanner Interface */
.scanner-interface {
    max-width: 700px;
    margin: 0 auto;
}

.scanner-window {
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-soft), var(--shadow-glow);
}

.scanner-titlebar {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid var(--glass-border);
}

.window-controls {
    display: flex;
    gap: 8px;
}

.control-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.control-dot.red { background: #ef4444; }
.control-dot.yellow { background: #f59e0b; }
.control-dot.green { background: #10b981; }

.window-title {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 600;
    letter-spacing: 0.05em;
}

.scanner-body {
    padding: 32px;
}

/* Scanner Form */
.scanner-form {
    margin-bottom: 24px;
}

.scanner-input-row {
    display: flex;
    gap: 12px;
}

.scanner-input {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    padding: 14px 18px;
    color: var(--white);
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
}

.scanner-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

.scanner-input::placeholder {
    color: var(--text-muted);
}

.scanner-btn {
    padding: 14px 28px;
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 100px;
}

.scanner-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.4);
}

.scanner-btn .btn-loading {
    display: none;
}

.scanner-btn.loading .btn-default {
    display: none;
}

.scanner-btn.loading .btn-loading {
    display: inline-flex;
}

.spinning {
    animation: spin 1s linear infinite;
}

/* Scanner Results */
.scanner-results {
    min-height: 200px;
}

.results-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 48px;
    color: var(--text-muted);
}

.placeholder-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
    opacity: 0.5;
}

.results-content {
    animation: fadeIn 0.5s ease-out;
}

/* Score Preview */
.score-preview {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--glass-border);
}

.score-circle-mini {
    position: relative;
    width: 100px;
    height: 100px;
}

.score-circle-mini svg {
    transform: rotate(-90deg);
}

.score-track {
    fill: none;
    stroke: rgba(255, 255, 255, 0.1);
    stroke-width: 8;
}

.score-fill {
    fill: none;
    stroke: url(#scoreGradient);
    stroke-width: 8;
    stroke-linecap: round;
    stroke-dasharray: 327;
    stroke-dashoffset: 327;
    transition: stroke-dashoffset 1s ease-out;
}

.score-value {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
}

.score-grade {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-light);
}

/* Quick Checks */
.quick-checks {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.check-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
}

.check-item i {
    flex-shrink: 0;
}

.check-item.pass i { color: var(--success); }
.check-item.warning i { color: var(--warning); }
.check-item.fail i { color: var(--danger); }

.check-item span {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.results-cta {
    text-align: center;
}

.results-cta .btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.results-cta .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.4);
}

/* Error State */
.error-icon {
    color: var(--danger);
    opacity: 1;
}

.error-message {
    color: var(--danger);
    text-align: center;
    margin-top: 8px;
}

/* Grade Colors */
.grade-a\+, .grade-a, .grade-a- { color: var(--success); }
.grade-b\+, .grade-b, .grade-b- { color: var(--primary-light); }
.grade-c\+, .grade-c, .grade-c- { color: var(--warning); }
.grade-d, .grade-f { color: var(--danger); }

/* ==========================================================================
   HEXCORE SECTION - 6 DIMENSIONS
   ========================================================================== */

.hexcore-section {
    padding: 120px 0;
    position: relative;
    z-index: 2;
    background:
        url('/static/images/gradients/mesh-purple-pink.png') center center / cover no-repeat,
        radial-gradient(ellipse at center, rgba(139, 92, 246, 0.05) 0%, transparent 70%);
    background-blend-mode: screen, normal;
}

.hexcore-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.65);
    z-index: -1;
}

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

/* Hexcore Container */
.hexcore-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

/* Hexagon Visualization */
.hexcore-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 450px;
    padding: 20px;
}

.hexagon-wrapper {
    position: relative;
    width: 380px;
    height: 380px;
}

.hex-face {
    position: absolute;
    width: 120px;
    height: 120px;
    background: var(--glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hex-face:hover {
    transform: scale(1.05) !important;
    border-color: var(--primary);
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.3);
}

.hex-face.active {
    background: rgba(99, 102, 241, 0.2);
    border-color: var(--primary);
    box-shadow: 0 0 40px rgba(99, 102, 241, 0.4);
}

/* Hexagon positions (hexagonal layout - 6 around the edges) */
.hex-face-1 { top: 0; left: 50%; transform: translateX(-50%); }           /* Technical - top center */
.hex-face-2 { top: 70px; right: 0; }                                        /* Structural - top right */
.hex-face-3 { top: 70px; left: 0; }                                         /* Content - top left */
.hex-face-4 { bottom: 0; left: 50%; transform: translateX(-50%); }         /* Performance - bottom center */
.hex-face-5 { bottom: 70px; right: 0; }                                     /* Media - bottom right */
.hex-face-6 { bottom: 70px; left: 0; }                                      /* AI-Specific - bottom left */

.hex-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
}

.hex-content i {
    width: 32px;
    height: 32px;
    color: var(--primary-light);
}

.hex-content span {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text);
}

.hex-weight {
    font-size: 0.75rem !important;
    color: var(--text-muted) !important;
    font-weight: 400 !important;
}

/* Dimension Panel */
.dimension-panel {
    max-height: 600px;
    overflow-y: auto;
}

.dimension-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.dimension-card {
    background: var(--glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 24px;
    transition: all 0.3s ease;
}

.dimension-card.active,
.dimension-card:hover {
    border-color: var(--primary);
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.2);
}

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

.card-header i {
    flex-shrink: 0;
}

.card-header h3 {
    flex: 1;
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
}

.weight-badge {
    padding: 4px 10px;
    background: rgba(99, 102, 241, 0.2);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary-light);
}

.check-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.check-list li::before {
    content: '•';
    color: var(--primary-light);
}

/* Icon Colors */
.icon-primary { color: var(--primary); }
.icon-secondary { color: var(--secondary); }
.icon-accent { color: var(--accent); }
.icon-success { color: var(--success); }
.icon-warning { color: var(--warning); }
.icon-danger { color: var(--danger); }

/* ==========================================================================
   AUTOPILOT SECTION - AUTO-FIX
   ========================================================================== */

.autopilot-section {
    padding: 120px 0;
    position: relative;
    z-index: 2;
}

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

/* Auto-Fix Demo */
.autofix-demo {
    max-width: 1000px;
    margin: 0 auto;
}

.demo-panels {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 24px;
    align-items: center;
}

.demo-panel {
    background: var(--glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 24px;
}

.panel-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
}

/* Issues List */
.issues-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.issue-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    font-size: 0.875rem;
}

.issue-item i {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
}

.issue-item.critical i { color: var(--danger); }
.issue-item.high i { color: var(--warning); }
.issue-item.medium i { color: #f59e0b; }
.issue-item.fixed i { color: var(--success); }

.issue-item span {
    color: var(--text-secondary);
}

.issues-list.fixed .issue-item {
    background: rgba(16, 185, 129, 0.1);
}

/* Score Indicator */
.score-indicator {
    display: flex;
    align-items: baseline;
    gap: 12px;
    padding: 16px;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.2);
}

.score-indicator.low {
    background: rgba(239, 68, 68, 0.1);
}

.score-indicator.high {
    background: rgba(16, 185, 129, 0.1);
}

.score-indicator .score {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
}

.score-indicator.low .score { color: var(--danger); }
.score-indicator.high .score { color: var(--success); }

.score-indicator .grade {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Magic Code */
.magic-code-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.code-label {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.code-block {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 16px 20px;
    font-family: 'Monaco', 'Menlo', monospace;
    font-size: 0.75rem;
    color: var(--success);
    word-break: break-all;
    max-width: 300px;
}

.apply-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: var(--gradient-accent);
    color: var(--white);
    border: none;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.apply-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.4);
}

/* Autofix Demo Animation States */
.apply-btn.applying {
    animation: magicPulse 1s ease-in-out infinite;
    pointer-events: none;
}

.apply-btn.applying i {
    animation: spin 1s linear infinite;
}

@keyframes magicPulse {
    0%, 100% {
        box-shadow: 0 0 20px rgba(139, 92, 246, 0.4);
    }
    50% {
        box-shadow: 0 0 40px rgba(139, 92, 246, 0.8), 0 0 60px rgba(236, 72, 153, 0.4);
    }
}

.demo-panel {
    transition: all 0.5s ease;
}

.demo-before.fading {
    opacity: 0.5;
    transform: scale(0.95);
}

.demo-before.fading .issue-item {
    animation: strikethrough 0.3s ease forwards;
}

.demo-before.fading .issue-item:nth-child(2) { animation-delay: 0.1s; }
.demo-before.fading .issue-item:nth-child(3) { animation-delay: 0.2s; }
.demo-before.fading .issue-item:nth-child(4) { animation-delay: 0.3s; }
.demo-before.fading .issue-item:nth-child(5) { animation-delay: 0.4s; }

@keyframes strikethrough {
    to {
        text-decoration: line-through;
        opacity: 0.4;
    }
}

.demo-after.appearing {
    animation: glowIn 0.6s ease forwards;
}

.demo-after.appearing .issue-item {
    animation: checkmarkAppear 0.4s ease forwards;
    opacity: 0;
    transform: translateX(-10px);
}

.demo-after.appearing .issue-item:nth-child(1) { animation-delay: 0.1s; }
.demo-after.appearing .issue-item:nth-child(2) { animation-delay: 0.2s; }
.demo-after.appearing .issue-item:nth-child(3) { animation-delay: 0.3s; }
.demo-after.appearing .issue-item:nth-child(4) { animation-delay: 0.4s; }
.demo-after.appearing .issue-item:nth-child(5) { animation-delay: 0.5s; }

@keyframes checkmarkAppear {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes glowIn {
    from {
        box-shadow: 0 0 0 rgba(16, 185, 129, 0);
    }
    to {
        box-shadow: 0 0 30px rgba(16, 185, 129, 0.3);
    }
}

.autopilot-note {
    text-align: center;
    color: var(--text-secondary);
    margin-top: 48px;
}

/* ==========================================================================
   PROOF SECTION - VIDEO & SOCIAL PROOF
   ========================================================================== */

.proof-section {
    padding: 120px 0;
    position: relative;
    z-index: 2;
    background: radial-gradient(ellipse at center, rgba(236, 72, 153, 0.05) 0%, transparent 70%);
}

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

/* Video Showcase */
.video-showcase {
    position: relative;
    max-width: 900px;
    margin: 0 auto 64px;
    overflow: visible;
}

.video-frame {
    background: var(--glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 8px;
    box-shadow: var(--shadow-soft);
    position: relative;
    z-index: 2;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    border-radius: 16px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--dark-light) 0%, var(--dark) 100%);
}

.video-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.05) 100%);
}

.video-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
}

.play-btn {
    position: absolute;
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(99, 102, 241, 0.5);
}

.play-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 48px rgba(99, 102, 241, 0.6);
}

.play-btn i {
    color: var(--white);
    margin-left: 4px;
}

#youtubePlayer {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

/* Orbit Stats */
.orbit-stats {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.orbit-stat {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    text-align: center;
    pointer-events: auto;
    background: var(--glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 16px 20px;
}

.stat-left {
    left: -120px;
}

.stat-right {
    right: -120px;
}

.orbit-stat .stat-value {
    display: block;
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
}

.orbit-stat .stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Proof Stats */
.proof-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 700px;
    margin: 0 auto;
}

.proof-stat {
    text-align: center;
    padding: 24px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
}

.proof-number {
    display: block;
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-light);
    margin-bottom: 4px;
}

.proof-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* ==========================================================================
   GATEWAY SECTION - PRICING
   ========================================================================== */

.gateway-section {
    padding: 120px 0;
    position: relative;
    z-index: 2;
    background:
        url('/static/images/gradients/mesh-dark-accent.png') center center / cover no-repeat;
}

.gateway-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.75);
    z-index: -1;
}

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

/* Pricing Cards */
.pricing-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto 32px;
    perspective: 1500px;
    transform-style: preserve-3d;
}

.pricing-card {
    position: relative;
    background: var(--glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 32px;
    text-align: center;
    transition: transform 0.1s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    transform-style: preserve-3d;
    will-change: transform;
}

.pricing-card:hover {
    box-shadow: var(--shadow-glow);
}

/* 3D Tilt effect - applied via JS */
.pricing-card.tilt-active {
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.pricing-card .card-content-3d {
    transform: translateZ(20px);
    transition: transform 0.3s ease;
}

.pricing-card:hover .card-content-3d {
    transform: translateZ(40px);
}

/* Inner glow on tilt */
.pricing-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    background: radial-gradient(
        circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgba(99, 102, 241, 0.15) 0%,
        transparent 50%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

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

.pricing-card.featured {
    background: rgba(99, 102, 241, 0.1);
    border-color: var(--primary);
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    box-shadow: 0 0 50px rgba(99, 102, 241, 0.4);
}

/* Featured card animated border glow */
.pricing-card.featured::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 26px;
    background: linear-gradient(
        var(--gradient-angle, 0deg),
        var(--primary),
        var(--secondary),
        var(--accent),
        var(--primary)
    );
    z-index: -1;
    opacity: 0.6;
    animation: rotateGradient 4s linear infinite;
}

@keyframes rotateGradient {
    0% { --gradient-angle: 0deg; }
    100% { --gradient-angle: 360deg; }
}

/* Fallback for browsers without @property support */
@supports not (background: paint(something)) {
    .pricing-card.featured::after {
        background: linear-gradient(45deg, var(--primary), var(--secondary), var(--accent));
        animation: gradientShift 4s ease infinite;
    }
}

.popular-tag {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 20px;
    background: var(--gradient-primary);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--white);
}

.card-tier {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 16px;
}

.card-price {
    margin-bottom: 16px;
}

.card-price .amount {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    color: var(--white);
}

.card-price .period {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.credits-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(99, 102, 241, 0.2);
    border-radius: 20px;
    color: var(--primary-light);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 24px;
}

.card-features {
    list-style: none;
    text-align: left;
    margin-bottom: 24px;
}

.card-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    color: var(--text-secondary);
    font-size: 0.875rem;
    border-bottom: 1px solid var(--glass-border);
}

.card-features li:last-child {
    border-bottom: none;
}

.card-features i {
    color: var(--success);
    flex-shrink: 0;
}

.card-cta {
    display: block;
    padding: 14px 24px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: var(--white);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.card-cta:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--primary);
}

.card-cta.primary {
    background: var(--gradient-primary);
    border: none;
}

.card-cta.primary:hover {
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.4);
}

.full-pricing-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--primary-light);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.full-pricing-link:hover {
    color: var(--white);
}

/* ==========================================================================
   LAUNCH SECTION - FINAL CTA
   ========================================================================== */

.launch-section {
    position: relative;
    padding: 160px 0;
    z-index: 2;
    overflow: hidden;
}

.launch-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(15, 23, 42, 0.9) 50%, var(--dark) 100%);
}

.stars {
    position: absolute;
    inset: 0;
}

.distant-orb {
    position: absolute;
    bottom: 20%;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    animation: portalPulse 4s ease-in-out infinite;
}

.launch-content {
    position: relative;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.launch-title {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 48px;
}

.launch-form {
    margin-bottom: 24px;
}

.launch-input-container {
    margin-bottom: 16px;
}

.launch-input {
    width: 100%;
    padding: 20px 24px;
    background: var(--glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    color: var(--white);
    font-size: 1.125rem;
    text-align: center;
    outline: none;
    transition: all 0.3s ease;
}

.launch-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.2);
}

.launch-input::placeholder {
    color: var(--text-muted);
}

.launch-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 20px 48px;
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    border-radius: 16px;
    font-size: 1.125rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(99, 102, 241, 0.4);
}

.launch-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 48px rgba(99, 102, 241, 0.5);
}

.launch-note {
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.landing-footer {
    padding: 40px 0;
    background: var(--dark);
    border-top: 1px solid var(--glass-border);
}

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

.footer-brand {
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer-logo {
    height: 32px;
    width: auto;
}

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

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

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

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

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */

@media (max-width: 1024px) {
    .hexcore-container {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .hexcore-visual {
        min-height: 350px;
    }

    .hexagon-wrapper {
        width: 280px;
        height: 280px;
    }

    .hex-face {
        width: 110px;
        height: 110px;
    }

    .orbit-stats {
        display: none;
    }

    .demo-panels {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .magic-code-wrapper {
        order: -1;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: clamp(2rem, 10vw, 3.5rem);
    }

    .hero-submit-btn {
        padding: 16px 24px;
    }

    .hero-submit-btn .btn-text {
        display: none;
    }

    .reality-split {
        grid-template-columns: 1fr;
    }

    .reality-divider {
        order: 1;
    }

    .reality-old {
        order: 0;
    }

    .reality-new {
        order: 2;
    }

    .starmap {
        width: 200px;
        height: 200px;
        margin: 0 auto;
    }

    .star-node:not(.star-center) {
        --distance: 58px;
    }

    .starmap-container {
        overflow: visible;
        padding: 0;
        width: 100%;
    }

    .constellation-section {
        overflow-x: clip;
        overflow-y: visible;
    }

    .constellation-section .container {
        overflow: visible;
    }

    .star-icon {
        width: 36px;
        height: 36px;
    }

    .star-icon img {
        width: 16px;
        height: 16px;
    }

    .star-label {
        font-size: 0.5rem;
        white-space: nowrap;
    }

    .star-center .star-icon {
        width: 48px;
        height: 48px;
    }

    .stats-reveal {
        grid-template-columns: 1fr;
    }

    .pricing-cards {
        grid-template-columns: 1fr;
    }

    .pricing-card.featured {
        transform: none;
    }

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

    .proof-stats {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .scanner-input-row {
        flex-direction: column;
    }

    .scanner-btn {
        width: 100%;
    }

    /* Starmap - smaller on tiny screens */
    .starmap {
        width: 260px;
        height: 260px;
    }

    .star-node:not(.star-center) {
        --distance: 75px;
    }

    .starmap-container {
        margin: 0 -16px;
    }

    .star-icon {
        width: 38px;
        height: 38px;
    }

    .star-icon img {
        width: 16px;
        height: 16px;
    }

    .star-label {
        font-size: 0.55rem;
    }

    .star-center .star-icon {
        width: 50px;
        height: 60px;
    }

    .hexagon-wrapper {
        width: 260px;
        height: 260px;
    }

    .hex-face {
        width: 90px;
        height: 90px;
    }

    .hex-content span {
        font-size: 0.75rem;
    }

    .hex-weight {
        display: none;
    }
}

/* ==========================================================================
   SECTION DIVIDERS & GLOW UTILITIES
   ========================================================================== */

/* Wave Dividers */
.section-divider {
    position: absolute;
    left: 0;
    right: 0;
    width: 100%;
    height: 80px;
    z-index: 3;
    pointer-events: none;
}

.section-divider-top {
    top: 0;
    background: url('/static/images/gradients/wave-divider-top.svg') center bottom / 100% 100% no-repeat;
}

.section-divider-bottom {
    bottom: 0;
    background: url('/static/images/gradients/wave-divider-bottom.svg') center top / 100% 100% no-repeat;
}

.section-divider-subtle {
    height: 60px;
    background: url('/static/images/gradients/wave-divider-subtle.svg') center / 100% 100% no-repeat;
}

/* Glow Orb Utilities */
.glow-orb {
    position: absolute;
    pointer-events: none;
    z-index: 0;
    opacity: 0.4;
}

.glow-orb-cyan {
    background: url('/static/images/gradients/glow-orb-cyan.png') center / contain no-repeat;
}

.glow-orb-purple {
    background: url('/static/images/gradients/glow-orb-purple.png') center / contain no-repeat;
}

.glow-orb-pink {
    background: url('/static/images/gradients/glow-orb-pink.png') center / contain no-repeat;
}

/* Size Variants */
.glow-orb-sm {
    width: 300px;
    height: 300px;
}

.glow-orb-md {
    width: 500px;
    height: 500px;
}

.glow-orb-lg {
    width: 800px;
    height: 800px;
}

/* Position Variants */
.glow-orb-center {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.glow-orb-top-right {
    top: -10%;
    right: -10%;
}

.glow-orb-bottom-left {
    bottom: -10%;
    left: -10%;
}

/* Animated Glow */
.glow-orb-animated {
    animation: glowFloat 8s ease-in-out infinite;
}

@keyframes glowFloat {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.3;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.5;
    }
}

/* Add floating glow to proof section */
.proof-section {
    overflow: hidden;
}

.proof-section::after {
    content: '';
    position: absolute;
    bottom: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: url('/static/images/gradients/glow-orb-pink.png') center / contain no-repeat;
    opacity: 0.25;
    z-index: -1;
    pointer-events: none;
}

/* Add floating glow to autopilot section */
.autopilot-section {
    overflow: hidden;
}

.autopilot-section::after {
    content: '';
    position: absolute;
    top: 20%;
    left: -15%;
    width: 500px;
    height: 500px;
    background: url('/static/images/gradients/glow-orb-purple.png') center / contain no-repeat;
    opacity: 0.2;
    z-index: -1;
    pointer-events: none;
}

/* ==========================================================================
   STICKY NAVIGATION HEADER
   ========================================================================== */

.landing-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
    padding: 12px 0;
}

.landing-header.scrolled {
    background: rgba(15, 23, 42, 0.95);
    border-bottom-color: var(--glass-border);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-logo {
    display: flex;
    align-items: center;
}

.header-logo img {
    height: 32px;
    width: auto;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--white);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-login {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.header-login:hover {
    color: var(--white);
}

.header-cta {
    padding: 10px 20px;
    background: var(--gradient-primary);
    color: var(--white);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.header-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.4);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    cursor: pointer;
    padding: 8px;
}

.mobile-menu {
    display: none;
    flex-direction: column;
    padding: 16px 24px;
    background: rgba(15, 23, 42, 0.98);
    border-top: 1px solid var(--glass-border);
}

.mobile-menu.active {
    display: flex;
}

.mobile-nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    padding: 12px 0;
    font-size: 1rem;
    border-bottom: 1px solid var(--glass-border);
}

.mobile-nav-link:hover {
    color: var(--white);
}

.mobile-cta {
    display: block;
    text-align: center;
    margin-top: 16px;
    padding: 14px 24px;
    background: var(--gradient-primary);
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    border-radius: 10px;
}

/* Adjust hero section for header */
.hero-section {
    padding-top: 100px;
}

@media (max-width: 768px) {
    .header-nav,
    .header-actions {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero-section {
        padding-top: 80px;
    }
}

/* ==========================================================================
   TRUSTED BY SECTION (Hero)
   ========================================================================== */

.trusted-by {
    margin-top: 48px;
    animation: fadeInUp 1s ease-out 1s both;
}

.trusted-label {
    display: block;
    color: var(--text-muted);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
}

.trusted-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    opacity: 0.6;
}

.trusted-logo {
    color: var(--text-tertiary);
    font-size: 0.875rem;
    font-weight: 600;
    padding: 8px 16px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
}

@media (max-width: 768px) {
    .trusted-logos {
        gap: 12px;
    }

    .trusted-logo {
        font-size: 0.75rem;
        padding: 6px 12px;
    }
}

/* ==========================================================================
   TESTIMONIALS SECTION
   ========================================================================== */

.testimonials-section {
    padding: 120px 0;
    position: relative;
    z-index: 2;
    background: radial-gradient(ellipse at center, rgba(99, 102, 241, 0.05) 0%, transparent 70%);
}

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

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.testimonial-card {
    background: var(--glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.testimonial-card.featured-testimonial {
    background: rgba(99, 102, 241, 0.1);
    border-color: var(--primary);
}

.testimonial-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 16px;
}

.star-filled {
    width: 16px;
    height: 16px;
    color: #fbbf24;
    fill: #fbbf24;
}

.testimonial-text {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 24px;
    flex-grow: 1;
}

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

.author-avatar {
    width: 44px;
    height: 44px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--white);
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    color: var(--white);
    font-weight: 600;
    font-size: 0.9rem;
}

.author-role {
    color: var(--text-muted);
    font-size: 0.8rem;
}

@media (max-width: 1024px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }
}

/* ==========================================================================
   FAQ SECTION
   ========================================================================== */

.faq-section {
    padding: 120px 0;
    position: relative;
    z-index: 2;
}

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

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: var(--glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(99, 102, 241, 0.3);
}

.faq-item.active {
    border-color: var(--primary);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1rem;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.02);
}

.faq-icon {
    width: 20px;
    height: 20px;
    color: var(--text-muted);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    color: var(--primary-light);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 24px 20px;
}

.faq-answer p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

.faq-cta {
    text-align: center;
    margin-top: 48px;
}

.faq-cta p {
    color: var(--text-muted);
    margin-bottom: 8px;
}

.faq-contact-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-light);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.faq-contact-link:hover {
    color: var(--white);
}

.faq-contact-link i {
    width: 16px;
    height: 16px;
}

/* ==========================================================================
   MOBILE CTA FIX
   ========================================================================== */

@media (max-width: 768px) {
    /* Keep button text visible on mobile */
    .hero-submit-btn {
        padding: 14px 20px;
    }

    .hero-submit-btn .btn-text {
        display: inline;
        font-size: 0.9rem;
    }

    /* Make input smaller to fit */
    .hero-input {
        font-size: 0.95rem;
        padding: 14px 0;
    }

    .input-container {
        flex-wrap: nowrap;
    }

    .input-icon {
        display: none;
    }
}

/* ==========================================================================
   AI MENTIONS SECTION
   ========================================================================== */

.mentions-section {
    padding: 120px 0;
    position: relative;
    z-index: 2;
    background:
        radial-gradient(ellipse at 30% 50%, rgba(99, 102, 241, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 50%, rgba(139, 92, 246, 0.08) 0%, transparent 50%);
}

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

.mentions-showcase {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 64px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.mentions-visual {
    position: relative;
}

/* Brand Center Node */
.brand-center {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    z-index: 10;
}

.brand-pulse {
    position: absolute;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    animation: brandPulse 3s ease-in-out infinite;
}

@keyframes brandPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.3);
        opacity: 0.2;
    }
}

.brand-icon {
    width: 72px;
    height: 72px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 40px rgba(99, 102, 241, 0.5);
    position: relative;
    z-index: 2;
}

.brand-icon i {
    width: 32px;
    height: 32px;
    color: var(--white);
}

.brand-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--white);
    white-space: nowrap;
}

/* Mention Cards */
.mention-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding: 60px 0;
}

.mention-card {
    background: var(--glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 20px;
    transition: all 0.3s ease;
}

.mention-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.mention-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.platform-icon {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1);
}

.platform-name {
    flex: 1;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--white);
}

.mention-status {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.mention-status.positive {
    background: rgba(16, 185, 129, 0.2);
    color: var(--success);
}

.mention-status.neutral {
    background: rgba(99, 102, 241, 0.2);
    color: var(--primary-light);
}

.mention-preview {
    margin-bottom: 12px;
}

.mention-preview p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.mention-preview strong {
    color: var(--primary-light);
}

.mention-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.75rem;
}

.mention-sentiment {
    display: flex;
    align-items: center;
    gap: 4px;
}

.mention-sentiment i {
    width: 14px;
    height: 14px;
}

.mention-sentiment.positive {
    color: var(--success);
}

.mention-sentiment.neutral {
    color: var(--text-muted);
}

.mention-date {
    color: var(--text-muted);
}

/* Mentions Features */
.mentions-features {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.feature-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: rgba(99, 102, 241, 0.15);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon i {
    width: 24px;
    height: 24px;
    color: var(--primary-light);
}

.feature-content h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 4px;
}

.feature-content p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.mentions-note {
    text-align: center;
    color: var(--text-secondary);
    margin-top: 48px;
    font-size: 1.125rem;
}

.mentions-note strong {
    color: var(--primary-light);
}

/* ==========================================================================
   APP PREVIEW / SCREENSHOTS SECTION
   ========================================================================== */

.app-preview-section {
    padding: 120px 0;
    position: relative;
    z-index: 2;
    background: radial-gradient(ellipse at center, rgba(139, 92, 246, 0.05) 0%, transparent 70%);
}

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

.screenshot-showcase {
    max-width: 1000px;
    margin: 0 auto;
}

/* Screenshot Tabs */
.screenshot-tabs {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 32px;
}

.screenshot-tab {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.screenshot-tab i {
    width: 18px;
    height: 18px;
}

.screenshot-tab:hover {
    border-color: var(--primary);
    color: var(--white);
}

.screenshot-tab.active {
    background: rgba(99, 102, 241, 0.15);
    border-color: var(--primary);
    color: var(--white);
}

/* Screenshot Display */
.screenshot-display {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.screenshot-frame {
    background: var(--dark-light);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-soft), 0 0 60px rgba(99, 102, 241, 0.15);
}

.frame-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid var(--glass-border);
}

.frame-dots {
    display: flex;
    gap: 6px;
}

.frame-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--glass-border);
}

.frame-dots span:nth-child(1) { background: #ef4444; }
.frame-dots span:nth-child(2) { background: #f59e0b; }
.frame-dots span:nth-child(3) { background: #10b981; }

.frame-url {
    flex: 1;
    text-align: center;
    font-size: 0.75rem;
    color: var(--text-muted);
    font-family: monospace;
}

.screenshot-container {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--dark);
}

.screenshot-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.screenshot-img.active {
    opacity: 1;
}

/* Screenshot Info */
.screenshot-info {
    text-align: center;
    min-height: 80px;
}

.screenshot-desc {
    display: none;
    animation: fadeIn 0.5s ease;
}

.screenshot-desc.active {
    display: block;
}

.screenshot-desc h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 8px;
}

.screenshot-desc p {
    color: var(--text-secondary);
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ==========================================================================
   RESPONSIVE - MENTIONS & APP PREVIEW
   ========================================================================== */

@media (max-width: 1024px) {
    .mentions-showcase {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .brand-center {
        position: relative;
        left: auto;
        top: auto;
        transform: none;
        margin-bottom: 24px;
    }

    .mention-cards {
        padding: 0;
    }
}

@media (max-width: 768px) {
    .mention-cards {
        grid-template-columns: 1fr;
    }

    .screenshot-tabs {
        flex-wrap: wrap;
    }

    .screenshot-tab {
        padding: 10px 16px;
        font-size: 0.8rem;
    }

    .screenshot-tab span {
        display: none;
    }

    .screenshot-container {
        aspect-ratio: 4 / 3;
    }
}
