/* ========================================
   QUBES AI - REVAMP STYLES
   Cyberpunk / Glass / Futuristic
   ======================================== */

/* ========================================
   CSS VARIABLES - ENHANCED
   ======================================== */
:root {
    --bg-primary: #050508;
    --bg-secondary: #0a0a12;
    --bg-tertiary: #12121e;

    --glass-bg: rgba(12, 12, 20, 0.7);
    --glass-bg-light: rgba(20, 20, 35, 0.6);
    --glass-border: rgba(120, 70, 230, 0.15);
    --glass-border-hover: rgba(120, 70, 230, 0.4);

    --accent-primary: #7743e4;
    --accent-secondary: #00d9ff;
    --accent-tertiary: #d2b1fc;
    --accent-success: #00ff88;
    --accent-warning: #ffaa00;
    --bch-green: #0AC18E;

    --text-primary: #f0f0f5;
    --text-secondary: #a0a0b5;
    --text-tertiary: #606080;

    --font-display: 'Orbitron', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-accent: 'Rajdhani', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    --glow-primary: 0 0 30px rgba(119, 67, 228, 0.4);
    --glow-secondary: 0 0 30px rgba(0, 217, 255, 0.4);
    --glow-combined: 0 0 40px rgba(119, 67, 228, 0.3), 0 0 80px rgba(0, 217, 255, 0.2);
}

/* ========================================
   ANIMATED BACKGROUND - ENHANCED
   ======================================== */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background: var(--bg-primary);
}

.bg-grid {
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background-image:
        linear-gradient(rgba(119, 67, 228, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(119, 67, 228, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: gridMove 30s linear infinite;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(60px, 60px); }
}

.bg-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.5;
    animation: glowPulse 8s ease-in-out infinite;
}

.bg-glow-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(119, 67, 228, 0.4) 0%, transparent 70%);
    top: -10%;
    left: -10%;
    animation-delay: 0s;
}

.bg-glow-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 217, 255, 0.3) 0%, transparent 70%);
    bottom: -10%;
    right: -10%;
    animation-delay: -3s;
}

.bg-glow-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(210, 177, 252, 0.3) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -5s;
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.1); }
}

/* ========================================
   HEADER - ENHANCED
   ======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(5, 5, 10, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    padding: 16px 0;
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(5, 5, 10, 0.95);
    padding: 12px 0;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    box-shadow: var(--glow-primary);
}

.logo-text {
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 3px;
}

.nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-family: var(--font-accent);
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link-github {
    display: flex;
    align-items: center;
    padding: 8px;
    border-radius: 8px;
    background: rgba(119, 67, 228, 0.1);
    border: 1px solid rgba(119, 67, 228, 0.3);
    transition: all 0.3s ease;
}

.nav-link-github:hover {
    background: rgba(119, 67, 228, 0.2);
    border-color: var(--accent-primary);
    box-shadow: var(--glow-primary);
}

.nav-link-github::after {
    display: none;
}

.nav-download {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px !important;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--accent-primary), #5a2db8);
    border: 1px solid rgba(119, 67, 228, 0.5);
    color: white !important;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.nav-download:hover {
    background: linear-gradient(135deg, #8855f0, var(--accent-primary));
    box-shadow: var(--glow-primary);
    transform: translateY(-2px);
}

.nav-download::after {
    display: none;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
}

/* ========================================
   HERO SECTION - REVAMPED
   ======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 140px 0 80px;
    position: relative;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    max-width: 600px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: linear-gradient(135deg, rgba(119, 67, 228, 0.2), rgba(0, 217, 255, 0.1));
    border: 1px solid rgba(119, 67, 228, 0.4);
    border-radius: 30px;
    margin-bottom: 32px;
    animation: badgePulse 3s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { box-shadow: 0 0 20px rgba(119, 67, 228, 0.2); }
    50% { box-shadow: 0 0 30px rgba(119, 67, 228, 0.4); }
}

.badge-icon {
    color: var(--accent-secondary);
}

.badge-text {
    font-family: var(--font-accent);
    font-size: 14px;
    font-weight: 600;
    color: var(--accent-tertiary);
    letter-spacing: 0.5px;
}

.hero-title {
    font-family: var(--font-display);
    font-size: 72px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 28px;
    color: var(--text-primary);
}

.hero-title-line-2 {
    display: block;
    margin-top: 8px;
}

.hero-subtitle {
    font-size: 21px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 48px;
}

.hero-subtitle strong {
    color: var(--text-primary);
}

.hero-subtitle em {
    color: var(--accent-secondary);
    font-style: normal;
}

.hero-tagline {
    font-family: var(--font-accent);
    font-size: 16px;
    font-weight: 500;
    color: var(--text-secondary);
    margin-top: 20px;
    padding: 14px 24px;
    background: rgba(119, 67, 228, 0.1);
    border: 1px solid rgba(119, 67, 228, 0.3);
    border-radius: 12px;
    text-align: center;
}

.hero-stats {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 40px;
    margin-bottom: 40px;
}

.stat {
    text-align: center;
    flex-shrink: 0;
}

.stat-value {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 8px;
}

.stat-icon {
    stroke: var(--accent-primary);
}

.stat-icon.bch-icon {
    width: 32px;
    height: 32px;
    vertical-align: middle;
    margin-right: 4px;
}

.stat-label {
    font-family: var(--font-accent);
    font-size: 13px;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.button-large {
    padding: 18px 36px !important;
    font-size: 18px !important;
    flex-direction: column;
    gap: 4px;
}

.button-large svg {
    width: 28px;
    height: 28px;
    margin-bottom: 4px;
}

.button-subtitle {
    font-size: 12px;
    opacity: 0.7;
    font-weight: 400;
}

.hero-platforms {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.platforms-label {
    font-size: 13px;
    color: var(--text-tertiary);
}

.platform-icons {
    display: flex;
    gap: 12px;
}

.platform {
    color: var(--text-tertiary);
    opacity: 0.6;
    transition: all 0.3s ease;
    cursor: default;
}

.platform:hover {
    color: var(--accent-secondary);
    opacity: 1;
}

/* Hero Screenshot */
.hero-screenshot {
    margin-bottom: 24px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow:
        0 25px 50px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(119, 67, 228, 0.3);
    border: 2px solid rgba(119, 67, 228, 0.3);
    transition: all 0.3s ease;
}

.hero-screenshot:hover {
    box-shadow:
        0 30px 60px rgba(0, 0, 0, 0.6),
        0 0 60px rgba(119, 67, 228, 0.4);
    border-color: rgba(119, 67, 228, 0.5);
}

.hero-app-image {
    width: 100%;
    height: auto;
    display: block;
}

/* ========================================
   BUTTONS - ENHANCED
   ======================================== */
.button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    font-family: var(--font-accent);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 12px;
    border: 1px solid;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.button:hover::before {
    left: 100%;
}

.button-primary {
    background: linear-gradient(135deg, rgba(119, 67, 228, 0.3), rgba(0, 217, 255, 0.2));
    border-color: var(--accent-primary);
    color: var(--text-primary);
}

.button-primary:hover {
    background: linear-gradient(135deg, rgba(119, 67, 228, 0.5), rgba(0, 217, 255, 0.3));
    box-shadow: var(--glow-combined);
    transform: translateY(-2px);
}

.button-secondary {
    background: rgba(0, 217, 255, 0.1);
    border-color: rgba(0, 217, 255, 0.4);
    color: var(--accent-secondary);
}

.button-secondary:hover {
    background: rgba(0, 217, 255, 0.2);
    border-color: var(--accent-secondary);
    box-shadow: var(--glow-secondary);
    transform: translateY(-2px);
}

.button-large {
    padding: 18px 36px;
    font-size: 17px;
}

/* ========================================
   BCMR PREVIEW - HERO
   ======================================== */
.bcmr-preview {
    padding: 0;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    box-shadow: var(--glow-combined);
}

.bcmr-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    background: rgba(0, 0, 0, 0.4);
    border-bottom: 1px solid var(--glass-border);
}

.bcmr-dots {
    display: flex;
    gap: 6px;
}

.bcmr-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.bcmr-dots span:nth-child(1) { background: #ff5f57; }
.bcmr-dots span:nth-child(2) { background: #ffbd2e; }
.bcmr-dots span:nth-child(3) { background: #28c940; }

.bcmr-title {
    flex: 1;
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--text-tertiary);
}

.bcmr-link-icon {
    color: var(--text-tertiary);
    transition: color 0.3s ease;
}

.bcmr-link-icon:hover {
    color: var(--accent-secondary);
}

.bcmr-code {
    padding: 24px;
    margin: 0;
    font-family: var(--font-mono);
    font-size: 13px;
    line-height: 1.7;
    overflow-x: auto;
    background: transparent;
}

.json-key { color: var(--accent-tertiary); }
.json-string { color: var(--accent-success); }
.json-number { color: var(--accent-warning); }
.json-comment { color: var(--text-tertiary); font-style: italic; }

.bcmr-footer {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid var(--glass-border);
    font-size: 13px;
    color: var(--text-tertiary);
}

.bcmr-live-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-success);
    border-radius: 50%;
    animation: livePulse 2s ease-in-out infinite;
}

@keyframes livePulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 8px var(--accent-success); }
    50% { opacity: 0.5; box-shadow: 0 0 4px var(--accent-success); }
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-tertiary);
    font-size: 13px;
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* ========================================
   SECTIONS - BASE STYLES
   ======================================== */
.section {
    padding: 140px 0;
    position: relative;
}

.section + .section {
    margin-top: 20px;
}

.section-alt {
    background: linear-gradient(180deg, transparent, var(--bg-secondary) 10%, var(--bg-secondary) 90%, transparent);
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 80px;
}

.section-label {
    display: inline-block;
    font-family: var(--font-accent);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-secondary);
    margin-bottom: 16px;
    padding: 6px 16px;
    background: rgba(0, 217, 255, 0.1);
    border: 1px solid rgba(0, 217, 255, 0.3);
    border-radius: 20px;
}

.section-title {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.gradient-text {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary), var(--accent-tertiary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========================================
   GLASS CARD - ENHANCED
   ======================================== */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.glass-card:hover {
    border-color: var(--glass-border-hover);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 40px rgba(119, 67, 228, 0.1);
}

/* ========================================
   HOW IT WORKS SECTION
   ======================================== */
.how-it-works-section {
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

.steps-container {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
}

.step {
    flex: 0 1 200px;
    text-align: center;
    padding: 24px 16px;
    position: relative;
}

.step-number {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 28px;
    height: 28px;
    background: var(--accent-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 700;
    color: white;
}

.step-icon {
    width: 80px;
    height: 80px;
    margin: 20px auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(119, 67, 228, 0.2), rgba(0, 217, 255, 0.1));
    border: 2px solid rgba(119, 67, 228, 0.3);
    border-radius: 20px;
    color: var(--accent-secondary);
    transition: all 0.3s ease;
}

.step:hover .step-icon {
    transform: translateY(-4px);
    border-color: var(--accent-primary);
    box-shadow: 0 10px 30px rgba(119, 67, 228, 0.3);
}

.step h3 {
    font-family: var(--font-accent);
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.step p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.step-connector {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 70px;
    color: var(--accent-primary);
    opacity: 0.5;
}

/* Pricing Section */
.pricing-section {
    margin-top: 60px;
    text-align: center;
}

.pricing-header {
    margin-bottom: 32px;
}

.pricing-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: white;
    padding: 10px 24px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    box-shadow: 0 4px 20px rgba(119, 67, 228, 0.4);
}

.pricing-subtitle {
    font-size: 15px;
    color: var(--text-tertiary);
    margin: 0;
}

.pricing-cards {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 24px;
}

.pricing-card {
    background: rgba(30, 30, 50, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 32px 40px;
    min-width: 200px;
    position: relative;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-4px);
    border-color: rgba(119, 67, 228, 0.3);
}

.pricing-card-featured {
    background: linear-gradient(135deg, rgba(119, 67, 228, 0.2), rgba(0, 217, 255, 0.1));
    border: 2px solid var(--accent-primary);
    transform: scale(1.05);
}

.pricing-card-featured:hover {
    transform: scale(1.05) translateY(-4px);
    border-color: var(--accent-secondary);
    box-shadow: 0 20px 40px rgba(119, 67, 228, 0.3);
}

.pricing-card-ribbon {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #00d9ff, #00ff88);
    color: #0a0a14;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
}

.pricing-card-label {
    font-size: 12px;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.pricing-card-amount {
    font-family: var(--font-display);
    font-size: 42px;
    font-weight: 900;
    color: var(--text-primary);
    line-height: 1;
    margin-bottom: 4px;
}

.pricing-card-amount span {
    font-size: 20px;
    font-weight: 500;
    color: var(--accent-secondary);
}

.pricing-card-usd {
    font-size: 16px;
    color: var(--accent-secondary);
    font-weight: 600;
    margin-bottom: 8px;
}

.pricing-card-period {
    font-size: 13px;
    color: var(--text-tertiary);
}

.pricing-note {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
}

@media (max-width: 600px) {
    .pricing-cards {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .pricing-card {
        width: 100%;
        max-width: 280px;
    }

    .pricing-card-featured {
        transform: scale(1);
    }

    .pricing-card-featured:hover {
        transform: translateY(-4px);
    }

    .pricing-card-amount {
        font-size: 36px;
    }
}

@media (max-width: 968px) {
    .steps-container {
        flex-direction: column;
        align-items: center;
    }

    .step {
        flex: none;
        width: 100%;
        max-width: 300px;
    }

    .step-connector {
        padding: 0;
        transform: rotate(90deg);
        margin: -10px 0;
    }
}

/* ========================================
   THREE PILLARS SECTION
   ======================================== */
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.pillar-card {
    padding: 48px 36px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.pillar-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.pillar-card:hover::before {
    opacity: 1;
}

.pillar-featured {
    transform: scale(1.05);
    border-color: rgba(0, 217, 255, 0.3);
    box-shadow: var(--glow-secondary);
}

.pillar-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 4px 12px;
    font-family: var(--font-accent);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-secondary);
    background: rgba(0, 217, 255, 0.15);
    border: 1px solid rgba(0, 217, 255, 0.3);
    border-radius: 12px;
}

.pillar-icon {
    margin-bottom: 24px;
}

.pillar-title {
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.pillar-description {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 24px;
}

.pillar-highlight {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(119, 67, 228, 0.1);
    border: 1px solid rgba(119, 67, 228, 0.2);
    border-radius: 20px;
    font-size: 14px;
    color: var(--accent-tertiary);
}

.highlight-icon {
    font-size: 16px;
}

/* ========================================
   REAL STORIES SECTION
   ======================================== */
.stories-section {
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.stories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

@media (max-width: 1100px) {
    .stories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.story-card {
    padding: 32px;
    position: relative;
}

.story-card::before {
    content: '"';
    position: absolute;
    top: 16px;
    left: 24px;
    font-family: Georgia, serif;
    font-size: 60px;
    color: var(--accent-primary);
    opacity: 0.3;
    line-height: 1;
}

.story-quote {
    font-size: 17px;
    line-height: 1.7;
    color: var(--text-primary);
    font-style: italic;
    margin-bottom: 20px;
    padding-left: 20px;
}

.story-use-case {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.use-case-tag {
    font-family: var(--font-accent);
    font-size: 13px;
    font-weight: 600;
    color: var(--accent-secondary);
    background: rgba(0, 217, 255, 0.1);
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid rgba(0, 217, 255, 0.3);
}

.use-case-detail {
    font-size: 13px;
    color: var(--text-tertiary);
}

@media (max-width: 768px) {
    .stories-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   BITCOIN CASH SECTION
   ======================================== */
.bch-content {
    max-width: 1000px;
    margin: 0 auto;
}

.bch-main {
    padding: 48px;
    text-align: center;
}

.bch-logo-container {
    margin-bottom: 32px;
    display: flex;
    justify-content: center;
}

.bch-logo {
    height: 100px;
    width: auto;
    filter: drop-shadow(0 0 30px rgba(10, 193, 142, 0.5));
    transition: all 0.3s ease;
}

.bch-logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 40px rgba(10, 193, 142, 0.7));
}

.bch-quote {
    font-size: 22px;
    font-style: italic;
    color: var(--text-secondary);
    margin: 0 0 40px;
    padding: 0 40px;
    line-height: 1.7;
}

.bch-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 32px;
    text-align: left;
}

.bch-feature {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.bch-feature-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(119, 67, 228, 0.2), rgba(0, 217, 255, 0.2));
    border-radius: 12px;
    color: var(--accent-secondary);
}

.bch-feature-content h4 {
    font-family: var(--font-accent);
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.bch-feature-content p {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
}

/* ========================================
   EXPAND BUTTON & EXPANDABLE CONTENT
   ======================================== */
.expand-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: rgba(119, 67, 228, 0.1);
    border: 1px solid rgba(119, 67, 228, 0.3);
    border-radius: 30px;
    color: var(--accent-tertiary);
    font-family: var(--font-accent);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.expand-btn:hover {
    background: rgba(119, 67, 228, 0.2);
    border-color: var(--accent-primary);
}

.expand-btn svg {
    transition: transform 0.3s ease;
}

.expand-btn.expanded svg {
    transform: rotate(180deg);
}

.expand-btn-center {
    display: flex;
    margin: 40px auto 0;
}

.expandable-content {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.5s ease;
    margin-top: 0;
}

.expandable-content.expanded {
    max-height: 2000px;
    opacity: 1;
    margin-top: 40px;
}

.technical-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.technical-card {
    padding: 28px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
}

.technical-card h4 {
    font-family: var(--font-accent);
    font-size: 18px;
    font-weight: 600;
    color: var(--accent-secondary);
    margin-bottom: 16px;
}

.technical-card pre {
    margin: 0 0 16px;
    padding: 16px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 8px;
    overflow-x: auto;
}

.technical-card code {
    font-family: var(--font-mono);
    font-size: 13px;
    line-height: 1.6;
}

.technical-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

.technical-card ul {
    margin: 0;
    padding-left: 20px;
}

.technical-card li {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 8px;
    line-height: 1.6;
}

.technical-card li strong {
    color: var(--text-primary);
}

.resource-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.resource-links a {
    color: var(--accent-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.resource-links a:hover {
    color: var(--accent-tertiary);
}

/* ========================================
   FEATURE SECTIONS
   ======================================== */
.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.feature-row-reverse {
    direction: rtl;
}

.feature-row-reverse > * {
    direction: ltr;
}

.feature-content .section-label {
    display: inline-block;
    margin-bottom: 16px;
}

.feature-content .section-title {
    text-align: left;
    font-size: 42px;
    margin-bottom: 20px;
}

.feature-description {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 32px;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0 0 32px;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.feature-list li:last-child {
    border-bottom: none;
}

.feature-list-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(119, 67, 228, 0.2), rgba(0, 217, 255, 0.2));
    border-radius: 8px;
    font-size: 16px;
    color: var(--accent-secondary);
}

.feature-list li div {
    flex: 1;
}

.feature-list li strong {
    display: block;
    font-size: 16px;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.feature-list li span {
    font-size: 14px;
    color: var(--text-tertiary);
}

/* Ownership Highlight Box */
.ownership-highlight {
    display: flex;
    align-items: center;
    gap: 16px;
    background: linear-gradient(135deg, rgba(119, 67, 228, 0.15), rgba(0, 217, 255, 0.1));
    border: 1px solid rgba(119, 67, 228, 0.4);
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 24px;
}

.ownership-highlight-icon {
    font-size: 28px;
    flex-shrink: 0;
}

.ownership-highlight-text {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.ownership-highlight-text strong {
    color: var(--accent-secondary);
}

.feature-visual {
    display: flex;
    justify-content: center;
}

/* ========================================
   SCREENSHOT PLACEHOLDERS
   ======================================== */
.screenshot-placeholder {
    width: 100%;
    max-width: 480px;
    aspect-ratio: 16/10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    background: linear-gradient(135deg, rgba(119, 67, 228, 0.1), rgba(0, 217, 255, 0.1));
    border: 2px dashed rgba(119, 67, 228, 0.3);
}

.screenshot-placeholder.large {
    max-width: 100%;
    aspect-ratio: 16/9;
}

.placeholder-icon {
    color: var(--text-tertiary);
    opacity: 0.5;
}

.placeholder-text {
    font-family: var(--font-accent);
    font-size: 14px;
    color: var(--text-tertiary);
}

/* Screenshot Frame */
.screenshot-frame {
    padding: 8px;
    border-radius: 16px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(119, 67, 228, 0.1), rgba(0, 217, 255, 0.05));
}

.feature-screenshot {
    width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

/* ========================================
   MEMORY CHAIN VISUAL
   ======================================== */
.memory-chain-visual {
    padding: 32px;
    width: 100%;
    max-width: 400px;
}

.memory-block-visual {
    padding: 20px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    border-left: 3px solid var(--accent-primary);
}

.block-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.block-type {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 600;
    color: var(--accent-secondary);
    padding: 4px 8px;
    background: rgba(0, 217, 255, 0.15);
    border-radius: 4px;
}

.block-hash {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-tertiary);
}

.block-content {
    font-size: 14px;
    color: var(--text-secondary);
    font-style: italic;
}

.chain-connector {
    display: flex;
    justify-content: center;
    padding: 4px 0;
}

.chain-more {
    text-align: center;
    padding: 16px 0 0;
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--text-tertiary);
}

/* ========================================
   PROVIDER SHOWCASE
   ======================================== */
.provider-showcase {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 32px;
}

.provider-badge-large {
    padding: 12px 24px;
    background: rgba(119, 67, 228, 0.15);
    border: 1px solid rgba(119, 67, 228, 0.3);
    border-radius: 30px;
    font-family: var(--font-accent);
    font-size: 15px;
    font-weight: 600;
    color: var(--accent-tertiary);
}

.provider-more {
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.15), rgba(119, 67, 228, 0.15));
    border-color: rgba(0, 217, 255, 0.3);
    color: var(--accent-secondary);
}

.providers-full-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.provider-category {
    padding: 24px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
}

.provider-category h4 {
    font-family: var(--font-accent);
    font-size: 16px;
    font-weight: 600;
    color: var(--accent-secondary);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--glass-border);
}

.provider-category ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.provider-category li {
    font-size: 14px;
    color: var(--text-secondary);
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.provider-category li:last-child {
    border-bottom: none;
}

/* ========================================
   VOICE PROVIDERS
   ======================================== */
.voice-providers {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}

.voice-provider {
    padding: 16px 20px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
}

.voice-provider strong {
    display: block;
    font-size: 16px;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.voice-provider span {
    font-size: 14px;
    color: var(--text-tertiary);
}

/* ========================================
   SKILLS VISUAL
   ======================================== */
.skills-visual {
    padding: 32px;
    width: 100%;
    max-width: 400px;
}

.skill-item {
    margin-bottom: 24px;
}

.skill-item:last-child {
    margin-bottom: 0;
}

.skill-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.skill-name {
    font-family: var(--font-accent);
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
}

.skill-level {
    font-size: 12px;
    color: var(--accent-secondary);
    padding: 4px 10px;
    background: rgba(0, 217, 255, 0.15);
    border-radius: 10px;
}

.skill-bar {
    height: 8px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 4px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 4px;
    position: relative;
}

.skill-progress::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: skillShine 2s ease-in-out infinite;
}

@keyframes skillShine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* ========================================
   NETWORK VISUAL
   ======================================== */
.network-visual {
    width: 100%;
    max-width: 400px;
    aspect-ratio: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.network-lines {
    position: absolute;
    width: 100%;
    height: 100%;
}

.network-node {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.node-avatar {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 50%;
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    color: white;
    box-shadow: var(--glow-primary);
}

.node-center {
    z-index: 2;
}

.node-center .node-avatar {
    width: 70px;
    height: 70px;
    font-size: 24px;
}

.node-center span {
    font-size: 13px;
    color: var(--text-secondary);
}

.node-1 { top: 15%; left: 10%; }
.node-2 { top: 15%; right: 10%; }
.node-3 { bottom: 15%; left: 10%; }
.node-4 { bottom: 15%; right: 10%; }

/* ========================================
   FLOW DIAGRAM
   ======================================== */
.flow-diagram {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 16px;
}

.flow-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 20px;
    background: rgba(119, 67, 228, 0.1);
    border: 1px solid rgba(119, 67, 228, 0.2);
    border-radius: 12px;
}

.flow-number {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 50%;
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 700;
    color: white;
}

.flow-step span:last-child {
    font-size: 13px;
    color: var(--text-secondary);
}

.flow-arrow {
    font-size: 20px;
    color: var(--text-tertiary);
}

.flow-note {
    font-size: 13px;
    color: var(--text-tertiary);
    text-align: center;
    margin-top: 8px;
    font-style: italic;
}

/* ========================================
   APP SECTION
   ======================================== */
.app-showcase {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.app-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.app-feature {
    padding: 32px 24px;
    text-align: center;
}

.app-feature-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, rgba(119, 67, 228, 0.2), rgba(0, 217, 255, 0.2));
    border-radius: 16px;
    color: var(--accent-secondary);
}

.app-feature h4 {
    font-family: var(--font-accent);
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.app-feature p {
    font-size: 14px;
    color: var(--text-tertiary);
    margin: 0;
}

.app-screenshot {
    padding: 24px;
}

.github-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 32px 40px;
    background: linear-gradient(135deg, rgba(119, 67, 228, 0.15), rgba(0, 217, 255, 0.1));
    border-color: rgba(119, 67, 228, 0.3);
}

.github-content {
    display: flex;
    align-items: center;
    gap: 24px;
}

.github-icon {
    color: var(--text-primary);
}

.github-text h4 {
    font-family: var(--font-accent);
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.github-text p {
    font-size: 15px;
    color: var(--text-secondary);
    margin: 0;
}

/* ========================================
   REGISTRY SECTION
   ======================================== */
.registry-stats-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    margin-bottom: 48px;
}

.registry-stat {
    text-align: center;
}

.registry-stat-value {
    display: block;
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.registry-stat-label {
    font-size: 14px;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.registry-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: rgba(0, 217, 255, 0.1);
    border: 1px solid rgba(0, 217, 255, 0.3);
    border-radius: 30px;
    color: var(--accent-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.registry-link:hover {
    background: rgba(0, 217, 255, 0.2);
    border-color: var(--accent-secondary);
}

.qubes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.qube-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.qube-card:hover {
    transform: translateY(-8px);
    border-color: var(--glass-border-hover);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 30px rgba(119, 67, 228, 0.2);
}

.qube-avatar-container {
    width: 100%;
    aspect-ratio: 1;
    background: linear-gradient(135deg, var(--bg-secondary), var(--bg-tertiary));
    display: flex;
    align-items: center;
    justify-content: center;
}

.qube-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.qube-avatar-placeholder {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 50%;
    font-family: var(--font-display);
    font-size: 42px;
    font-weight: 700;
    color: white;
}

.qube-info {
    padding: 24px;
}

.qube-name {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.qube-id {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--accent-secondary);
    background: rgba(0, 217, 255, 0.1);
    padding: 4px 10px;
    border-radius: 6px;
    margin-bottom: 16px;
}

.qube-description {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.qube-attributes {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.qube-attribute {
    font-size: 11px;
    color: var(--text-tertiary);
    background: rgba(255, 255, 255, 0.05);
    padding: 4px 10px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.qube-attribute-value {
    color: var(--text-secondary);
    margin-left: 4px;
}

/* Qube Card - JS Generated */
.qube-card-avatar {
    width: 100%;
    aspect-ratio: 1;
    background: linear-gradient(135deg, var(--bg-secondary), var(--bg-tertiary));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.qube-card-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.qube-card-info {
    padding: 24px;
    text-align: center;
}

.qube-card-name {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 8px 0;
}

.qube-card-id {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--accent-secondary);
    background: rgba(0, 217, 255, 0.1);
    padding: 4px 10px;
    border-radius: 6px;
    margin-bottom: 12px;
}

.qube-card-description {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.qube-card-footer {
    padding: 12px 24px;
    border-top: 1px solid var(--glass-border);
    display: flex;
    justify-content: center;
}

.qube-card-chain {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--accent-success);
}

.loading-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 20px;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(119, 67, 228, 0.2);
    border-top-color: var(--accent-primary);
    border-radius: 50%;
    margin: 0 auto 20px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading-state p {
    color: var(--text-tertiary);
    font-size: 15px;
}

.registry-loading,
.registry-empty,
.registry-error {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 20px;
}

.registry-empty .empty-icon,
.registry-error .error-icon {
    margin-bottom: 24px;
    color: var(--accent-primary);
    opacity: 0.6;
}

.registry-empty h4,
.registry-error h4 {
    font-family: var(--font-accent);
    font-size: 24px;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.registry-empty p,
.registry-error p {
    color: var(--text-secondary);
    font-size: 16px;
    max-width: 400px;
    margin: 0 auto;
}

.load-more-btn {
    display: flex;
    margin: 48px auto 0;
}

/* ========================================
   USE CASES SECTION
   ======================================== */
.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.use-case-card {
    padding: 40px 32px;
    text-align: center;
    transition: all 0.3s ease;
}

.use-case-card:hover {
    transform: translateY(-8px);
}

.use-case-icon {
    font-size: 56px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 20px rgba(119, 67, 228, 0.4));
}

.use-case-card h4 {
    font-family: var(--font-accent);
    font-size: 22px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.use-case-card p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

/* ========================================
   SOVEREIGN STATS PANEL
   ======================================== */
.sovereign-stats {
    padding: 32px;
    text-align: center;
}

.sovereign-stat-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 28px;
    color: var(--accent-success);
}

.sovereign-stat-header svg {
    filter: drop-shadow(0 0 10px rgba(0, 255, 136, 0.5));
}

.sovereign-stat-header span {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.sovereign-metrics {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.sovereign-metric {
    text-align: center;
}

.sovereign-metric .metric-value {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 700;
    color: var(--accent-secondary);
    text-shadow: 0 0 20px rgba(0, 217, 255, 0.5);
}

.sovereign-metric .metric-label {
    font-size: 12px;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.sovereign-checklist {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 24px;
    margin-bottom: 28px;
}

.check-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-secondary);
}

.check-icon {
    color: var(--accent-success);
    font-weight: bold;
}

.supported-models {
    border-top: 1px solid var(--glass-border);
    padding-top: 20px;
}

.models-label {
    display: block;
    font-size: 12px;
    color: var(--text-tertiary);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.model-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.model-tag {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--accent-tertiary);
    background: rgba(119, 67, 228, 0.15);
    padding: 6px 12px;
    border-radius: 6px;
    border: 1px solid rgba(119, 67, 228, 0.3);
}

/* ========================================
   SKILLS SECTION (EXPANDED)
   ======================================== */
.skills-section {
    background: linear-gradient(180deg, transparent 0%, rgba(119, 67, 228, 0.05) 50%, transparent 100%);
}

.skills-showcase {
    margin-bottom: 60px;
}

.skills-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: stretch;
}

.skills-images .screenshot-frame {
    height: 100%;
}

.skills-images .feature-screenshot {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.skill-image-main {
    transform: perspective(1000px) rotateY(-2deg);
    transition: transform 0.3s ease;
}

.skill-image-main:hover {
    transform: perspective(1000px) rotateY(0deg);
}

.skill-image-secondary {
    transform: perspective(1000px) rotateY(2deg);
    transition: transform 0.3s ease;
}

.skill-image-secondary:hover {
    transform: perspective(1000px) rotateY(0deg);
}

.skill-branches {
    margin-bottom: 60px;
}

.branches-title {
    font-family: var(--font-accent);
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 32px;
}

.branches-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.branches-grid .branch-card {
    flex: 0 1 200px;
    max-width: 220px;
}

.branch-card {
    padding: 24px;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.branch-card:hover {
    transform: translateY(-4px);
}

.branch-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    margin: 0 auto 16px;
    color: white;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary)) !important;
    border: 1px solid rgba(119, 67, 228, 0.3);
    box-shadow: 0 4px 15px rgba(119, 67, 228, 0.3);
}

.branch-card h4 {
    font-family: var(--font-accent);
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.branch-card p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

.skills-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.skill-detail-card {
    padding: 36px;
    text-align: center;
}

.detail-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 20px;
    color: var(--accent-primary);
}

.detail-header h3 {
    font-family: var(--font-accent);
    font-size: 22px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.skill-detail-card > p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
}

.progression-example {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 24px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
}

.prog-level {
    text-align: center;
    padding: 8px 12px;
    background: rgba(119, 67, 228, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(119, 67, 228, 0.2);
}

.prog-level.prog-max {
    background: rgba(119, 67, 228, 0.25);
    border-color: var(--accent-primary);
}

.prog-name {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-primary);
}

.prog-xp {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--accent-secondary);
}

.prog-arrow {
    color: var(--text-tertiary);
    font-size: 14px;
}

.detail-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.detail-list li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 10px;
    font-size: 14px;
    color: var(--text-secondary);
}

.detail-list li::before {
    content: '>';
    position: absolute;
    left: 0;
    color: var(--accent-primary);
    font-family: var(--font-mono);
}

.tools-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 20px;
}

.tool-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    border: 1px solid var(--glass-border);
}

.tool-icon {
    font-size: 18px;
}

.tool-name {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--accent-secondary);
}

.tools-note {
    font-size: 13px;
    color: var(--text-tertiary);
    font-style: italic;
    text-align: center;
    margin: 0;
}

/* ========================================
   VISION SECTION (ENDLESS POSSIBILITIES)
   ======================================== */
.vision-section {
    background: linear-gradient(180deg, transparent 0%, rgba(119, 67, 228, 0.05) 50%, transparent 100%);
}

.vision-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 30px;
    margin-bottom: 48px;
}

.vision-card.glass-card {
    padding: 40px;
    background: rgba(12, 12, 20, 0.8) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 2px dashed rgba(119, 67, 228, 0.4) !important;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.vision-card.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(119, 67, 228, 0.1) 0%, rgba(0, 217, 255, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.vision-card.glass-card:hover {
    border-color: rgba(119, 67, 228, 0.7) !important;
    transform: translateY(-8px);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 40px rgba(119, 67, 228, 0.2),
        inset 0 0 60px rgba(119, 67, 228, 0.05);
}

.vision-card.glass-card:hover::before {
    opacity: 1;
}

.vision-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(119, 67, 228, 0.25), rgba(0, 217, 255, 0.15));
    border: 2px dashed rgba(119, 67, 228, 0.5);
    border-radius: 20px;
    margin-bottom: 28px;
    color: var(--accent-tertiary);
    position: relative;
    z-index: 1;
    box-shadow:
        0 0 30px rgba(119, 67, 228, 0.2),
        inset 0 0 20px rgba(119, 67, 228, 0.1);
}

.vision-icon svg {
    filter: drop-shadow(0 0 8px rgba(210, 177, 252, 0.5));
}

.vision-card h4 {
    font-family: var(--font-accent);
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.vision-card p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.vision-tag {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--accent-secondary);
    background: rgba(0, 217, 255, 0.15);
    border: 1px dashed rgba(0, 217, 255, 0.5);
    padding: 8px 16px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
    z-index: 1;
    box-shadow: 0 0 15px rgba(0, 217, 255, 0.1);
}

.vision-disclaimer {
    text-align: center;
    font-size: 15px;
    color: var(--text-tertiary);
    font-style: italic;
    max-width: 650px;
    margin: 0 auto;
    padding: 24px 0 0;
    border-top: 2px dashed rgba(119, 67, 228, 0.2);
}

/* ========================================
   TECHNOLOGY SECTION
   ======================================== */
.tech-overview {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-bottom: 40px;
}

.tech-badge {
    padding: 14px 28px;
    background: linear-gradient(135deg, rgba(119, 67, 228, 0.15), rgba(0, 217, 255, 0.1));
    border: 1px solid rgba(119, 67, 228, 0.3);
    border-radius: 30px;
    font-family: var(--font-accent);
    font-size: 16px;
    font-weight: 600;
    color: var(--accent-tertiary);
}

.tech-full-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.tech-category-card {
    padding: 28px;
}

.tech-category-card h4 {
    font-family: var(--font-accent);
    font-size: 18px;
    font-weight: 600;
    color: var(--accent-secondary);
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--glass-border);
}

.tech-category-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tech-category-card li {
    font-size: 14px;
    color: var(--text-secondary);
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.tech-category-card li:last-child {
    border-bottom: none;
}

.tech-category-card li strong {
    color: var(--text-primary);
}

/* ========================================
   VIDEO SECTION
   ======================================== */
.video-container {
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
}

.video-placeholder {
    aspect-ratio: 16/9;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    background: linear-gradient(135deg, rgba(119, 67, 228, 0.15), rgba(0, 217, 255, 0.1));
    cursor: pointer;
    transition: all 0.3s ease;
}

.video-placeholder:hover {
    background: linear-gradient(135deg, rgba(119, 67, 228, 0.25), rgba(0, 217, 255, 0.15));
}

.video-play-btn {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 50%;
    color: white;
    box-shadow: var(--glow-combined);
    transition: all 0.3s ease;
}

.video-placeholder:hover .video-play-btn {
    transform: scale(1.1);
}

/* ========================================
   COMPARISON TABLE SECTION
   ======================================== */
.comparison-section {
    background: var(--bg-secondary);
}

.comparison-table-wrapper {
    max-width: 900px;
    margin: 0 auto;
    overflow-x: auto;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
}

.comparison-table th,
.comparison-table td {
    padding: 16px 20px;
    text-align: left;
    border-bottom: 1px solid rgba(119, 67, 228, 0.15);
}

.comparison-table th {
    font-family: var(--font-accent);
    font-weight: 600;
    color: var(--text-primary);
    background: rgba(119, 67, 228, 0.1);
}

.comparison-table th:first-child {
    border-radius: 12px 0 0 0;
}

.comparison-table th:last-child {
    border-radius: 0 12px 0 0;
}

.comparison-table tbody tr:hover {
    background: rgba(119, 67, 228, 0.05);
}

.comparison-table td:first-child {
    font-weight: 500;
    color: var(--text-primary);
}

.highlight-col {
    background: rgba(0, 217, 255, 0.05);
}

.compare-good {
    color: var(--accent-success);
    font-weight: 500;
}

.compare-bad {
    color: var(--text-tertiary);
}

.compare-neutral {
    color: var(--accent-warning);
}

/* ========================================
   FAQ SECTION
   ======================================== */
.faq-section {
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.faq-item {
    padding: 28px;
}

.faq-item h4 {
    font-family: var(--font-accent);
    font-size: 17px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.faq-item p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
}

@media (max-width: 768px) {
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   EMAIL SIGNUP SECTION
   ======================================== */
.signup-section {
    padding: 80px 0;
}

.signup-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 48px;
    max-width: 900px;
    margin: 0 auto;
}

.signup-content h3 {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.signup-content p {
    font-size: 16px;
    color: var(--text-secondary);
}

.signup-form {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.signup-form input[type="email"] {
    padding: 14px 20px;
    font-size: 15px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: var(--text-primary);
    width: 280px;
    transition: all 0.3s ease;
}

.signup-form input[type="email"]:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(119, 67, 228, 0.2);
}

.signup-form input[type="email"]::placeholder {
    color: var(--text-tertiary);
}

.signup-form button {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .signup-card {
        flex-direction: column;
        text-align: center;
        padding: 32px;
    }

    .signup-form {
        flex-direction: column;
        width: 100%;
    }

    .signup-form input[type="email"] {
        width: 100%;
    }

    .signup-form button {
        width: 100%;
        justify-content: center;
    }
}

.signup-message {
    margin-top: 16px;
    font-size: 14px;
    text-align: center;
    min-height: 20px;
}

.signup-message.success {
    color: var(--accent-success);
}

.signup-message.error {
    color: #ff6b6b;
}

/* ========================================
   CTA SECTION
   ======================================== */
.cta-section {
    padding: 100px 0;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px;
    text-align: center;
    background: linear-gradient(135deg, rgba(119, 67, 228, 0.2), rgba(0, 217, 255, 0.1));
    border-color: rgba(119, 67, 228, 0.4);
    box-shadow: var(--glow-combined);
}

.cta-title {
    font-family: var(--font-display);
    font-size: 42px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.cta-description {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.7;
}

.cta-features {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    color: var(--text-secondary);
}

.cta-feature svg {
    color: var(--accent-success);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--glass-border);
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-logo-img {
    width: 40px;
    height: 40px;
    border-radius: 10px;
}

.footer-logo-text {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-tagline {
    font-size: 15px;
    color: var(--text-tertiary);
    line-height: 1.7;
    margin-bottom: 24px;
}

.footer-social {
    display: flex;
    gap: 16px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(119, 67, 228, 0.1);
    border: 1px solid rgba(119, 67, 228, 0.2);
    border-radius: 10px;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: rgba(119, 67, 228, 0.2);
    border-color: var(--accent-primary);
    color: var(--accent-tertiary);
}

.footer-links-section h4 {
    font-family: var(--font-accent);
    font-size: 16px;
    font-weight: 600;
    color: var(--accent-secondary);
    margin-bottom: 24px;
}

.footer-links-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links-section li {
    margin-bottom: 14px;
}

.footer-links-section a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links-section a:hover {
    color: var(--accent-tertiary);
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid var(--glass-border);
    text-align: center;
}

.footer-copyright {
    font-size: 14px;
    color: var(--text-tertiary);
    margin-bottom: 8px;
}

.footer-powered {
    font-size: 13px;
    color: var(--text-tertiary);
}

.footer-powered strong {
    color: var(--accent-secondary);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 1200px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        max-width: 700px;
        margin: 0 auto;
    }

    .hero-stats {
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-platforms {
        justify-content: center;
    }

    .hero-screenshot {
        max-width: 600px;
        margin: 0 auto 24px;
    }

    .bcmr-preview {
        max-width: 500px;
        margin: 0 auto;
    }

    .providers-full-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tech-full-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 968px) {
    .nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: rgba(5, 5, 10, 0.98);
        backdrop-filter: blur(20px);
        border-top: 1px solid var(--glass-border);
        padding: 24px;
        gap: 16px;
        display: none;
    }

    .nav.active {
        display: flex;
    }

    .nav-link {
        display: block;
        padding: 12px 16px;
        text-align: center;
        border-radius: 8px;
        background: rgba(119, 67, 228, 0.05);
    }

    .nav-link::after {
        display: none;
    }

    .nav-link:hover {
        background: rgba(119, 67, 228, 0.15);
    }

    .mobile-menu-btn {
        display: flex;
    }

    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .pillars-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .pillar-featured {
        transform: none;
    }

    .feature-row,
    .feature-row-reverse {
        grid-template-columns: 1fr;
        gap: 48px;
        direction: ltr;
    }

    .feature-content .section-title {
        text-align: center;
    }

    .feature-content .section-label {
        display: block;
        text-align: center;
    }

    .feature-description {
        text-align: center;
    }

    .feature-visual {
        order: -1;
    }

    .bch-features {
        grid-template-columns: 1fr;
    }

    .app-features {
        grid-template-columns: repeat(2, 1fr);
    }

    .use-cases-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .vision-grid {
        grid-template-columns: 1fr !important;
    }

    .skills-images {
        grid-template-columns: 1fr;
    }

    .skill-image-main,
    .skill-image-secondary {
        transform: none;
    }

    .branches-grid .branch-card {
        flex: 0 1 150px;
    }

    .skills-details {
        grid-template-columns: 1fr;
    }

    .progression-example {
        gap: 4px;
    }

    .prog-level {
        padding: 6px 8px;
    }

    .prog-name {
        font-size: 10px;
    }

    .prog-xp {
        font-size: 9px;
    }

    .tools-grid {
        flex-direction: column;
        align-items: center;
    }

    .tools-grid .tool-item {
        width: 100%;
        max-width: 280px;
    }

    .sovereign-metrics {
        gap: 20px;
    }

    .sovereign-metric .metric-value {
        font-size: 24px;
    }

    .github-cta {
        flex-direction: column;
        text-align: center;
        gap: 24px;
    }

    .github-content {
        flex-direction: column;
    }
}

@media (max-width: 640px) {
    .section {
        padding: 100px 0;
    }

    .section + .section {
        margin-top: 10px;
    }

    .section-title {
        font-size: 36px;
    }

    .hero-title {
        font-size: 42px;
    }

    .hero-stats {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px 24px;
    }

    .stat-value {
        font-size: 24px;
    }

    .stat-label {
        font-size: 11px;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .button {
        width: 100%;
        justify-content: center;
    }

    .button-large {
        padding: 16px 24px !important;
        font-size: 16px !important;
    }

    .hero-platforms {
        flex-direction: column;
        gap: 8px;
    }

    .platform-icons {
        justify-content: center;
    }

    .hero-screenshot {
        border-radius: 12px;
        margin-bottom: 16px;
    }

    .hero-app-image {
        border-radius: 12px;
    }

    .providers-full-grid,
    .tech-full-grid {
        grid-template-columns: 1fr;
    }

    .app-features {
        grid-template-columns: 1fr;
    }

    .use-cases-grid {
        grid-template-columns: 1fr;
    }

    .cta-content {
        padding: 40px 24px;
    }

    .cta-title {
        font-size: 32px;
    }

    .cta-features {
        flex-direction: column;
        gap: 16px;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .registry-stats-row {
        flex-direction: column;
        gap: 24px;
    }

    .flow-diagram {
        flex-direction: column;
    }

    .flow-arrow {
        transform: rotate(90deg);
    }

    .section-progress {
        display: none;
    }
}

/* ========================================
   SECTION PROGRESS INDICATOR
   ======================================== */
.section-progress {
    position: fixed;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.progress-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(119, 67, 228, 0.2);
    border: 2px solid rgba(119, 67, 228, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.progress-dot:hover {
    background: rgba(119, 67, 228, 0.4);
    border-color: rgba(119, 67, 228, 0.8);
    transform: scale(1.2);
}

.progress-dot.active {
    background: var(--accent-primary);
    border-color: var(--accent-secondary);
    box-shadow: 0 0 10px var(--accent-primary);
}

.progress-dot::before {
    content: attr(data-label);
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    white-space: nowrap;
    font-size: 12px;
    color: var(--text-secondary);
    background: rgba(5, 5, 10, 0.9);
    padding: 4px 10px;
    border-radius: 4px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.progress-dot:hover::before {
    opacity: 1;
}

@media (max-width: 968px) {
    .section-progress {
        display: none;
    }
}

/* ========================================
   "SAME AI. YOUR RULES." SECTION
   ======================================== */

.ai-layer-visual {
    padding: 40px;
    margin-bottom: 40px;
    text-align: center;
}

.ai-models-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 20px;
}

.ai-model-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px 24px;
    background: rgba(119, 67, 228, 0.1);
    border: 1px solid rgba(119, 67, 228, 0.3);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.ai-model-badge:hover {
    background: rgba(119, 67, 228, 0.2);
    border-color: rgba(119, 67, 228, 0.5);
    transform: translateY(-2px);
}

.ai-model-badge .model-name {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
}

.ai-model-badge .model-company {
    font-size: 12px;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.ai-model-badge.model-more {
    background: rgba(0, 217, 255, 0.1);
    border-color: rgba(0, 217, 255, 0.3);
}

.ai-model-badge.model-more:hover {
    background: rgba(0, 217, 255, 0.2);
    border-color: rgba(0, 217, 255, 0.5);
}

.flow-arrows {
    margin: 10px 0;
    opacity: 0.8;
}

.qube-layer {
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

.qube-layer-content {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 40px;
    background: linear-gradient(135deg, rgba(119, 67, 228, 0.2), rgba(0, 217, 255, 0.2));
    border: 2px solid rgba(119, 67, 228, 0.5);
    border-radius: 16px;
    box-shadow: var(--glow-combined);
}

.qube-layer-icon img {
    border-radius: 8px;
}

.qube-layer-text h4 {
    font-family: var(--font-display);
    font-size: 24px;
    margin: 0;
    color: var(--text-primary);
}

.qube-layer-text p {
    margin: 4px 0 0;
    font-size: 14px;
    color: var(--accent-secondary);
}

.ai-layer-caption {
    margin-top: 24px;
    font-size: 16px;
    color: var(--text-secondary);
    font-style: italic;
}

/* What Qubes Adds */
.what-qubes-adds {
    margin: 50px 0 40px;
}

.adds-title {
    text-align: center;
    font-family: var(--font-accent);
    font-size: 24px;
    color: var(--text-primary);
    margin-bottom: 30px;
}

.adds-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.adds-item {
    padding: 24px;
    text-align: center;
}

.adds-icon {
    font-size: 36px;
    margin-bottom: 12px;
}

.adds-item h4 {
    font-family: var(--font-accent);
    font-size: 18px;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.adds-item p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ========================================
   REGISTRY CTA SECTION
   ======================================== */

.registry-cta-section {
    padding: 60px 0;
}

.registry-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 40px 50px;
    gap: 30px;
}

.registry-cta-content h3 {
    font-family: var(--font-display);
    font-size: 28px;
    color: var(--text-primary);
    margin: 8px 0;
}

.registry-cta-content p {
    font-size: 16px;
    color: var(--text-secondary);
    margin: 0;
}

@media (max-width: 768px) {
    .ai-layer-visual {
        padding: 24px;
    }

    .ai-models-row {
        gap: 10px;
    }

    .ai-model-badge {
        padding: 12px 16px;
    }

    .ai-model-badge .model-name {
        font-size: 14px;
    }

    .qube-layer-content {
        padding: 16px 24px;
        flex-direction: column;
        text-align: center;
    }

    .qube-layer-text h4 {
        font-size: 20px;
    }

    .flow-arrows svg {
        width: 100%;
        height: 40px;
    }

    .registry-cta {
        flex-direction: column;
        text-align: center;
        padding: 30px;
    }

    .registry-cta-content h3 {
        font-size: 22px;
    }
}

/* ========================================
   DEEP DIVE ACCORDION
   ======================================== */

.deep-dive-header {
    padding-bottom: 20px;
}

.deep-dive-nav {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 800px;
    margin: 0 auto;
}

.deep-dive-toggle {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
    padding: 20px 24px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
}

.deep-dive-toggle:hover {
    background: var(--glass-bg-light);
    border-color: var(--glass-border-hover);
    transform: translateX(4px);
}

.deep-dive-toggle.active {
    background: rgba(119, 67, 228, 0.15);
    border-color: var(--accent-primary);
}

.deep-dive-toggle .toggle-icon {
    font-size: 28px;
    flex-shrink: 0;
}

.deep-dive-toggle .toggle-title {
    font-family: var(--font-accent);
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    flex: 1;
}

.deep-dive-toggle .toggle-subtitle {
    font-size: 14px;
    color: var(--text-tertiary);
    margin-right: 16px;
}

.deep-dive-toggle .toggle-chevron {
    flex-shrink: 0;
    transition: transform 0.3s ease;
    color: var(--text-tertiary);
}

.deep-dive-toggle.active .toggle-chevron {
    transform: rotate(180deg);
    color: var(--accent-secondary);
}

/* Deep Dive Items - Collapsed by default */
.deep-dive-item {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    padding: 0 !important;
    margin: 0;
    transition: max-height 0.4s ease, opacity 0.3s ease, padding 0.3s ease;
}

.deep-dive-item.expanded {
    max-height: 3000px;
    opacity: 1;
    padding: 80px 0 !important;
}

/* Smooth scroll target offset */
.deep-dive-item:target {
    scroll-margin-top: 100px;
}

@media (max-width: 768px) {
    .deep-dive-toggle {
        padding: 16px 20px;
        gap: 12px;
    }

    .deep-dive-toggle .toggle-icon {
        font-size: 24px;
    }

    .deep-dive-toggle .toggle-title {
        font-size: 16px;
    }

    .deep-dive-toggle .toggle-subtitle {
        display: none;
    }

    .deep-dive-item.expanded {
        padding: 60px 0 !important;
    }
}
