/* ==========================================================================
   StoryNest Design System 2026 - High-Converting Mobile SaaS Architecture
   ========================================================================== */

:root {
    color-scheme: light dark;
    --bg-dark: #07090e;
    --bg: #0b0f19;
    --bg-card: #111726;
    --surface: rgba(17, 23, 38, 0.72);
    --surface-hover: rgba(27, 36, 58, 0.85);
    --surface-glass: rgba(255, 255, 255, 0.04);
    --surface-glass-border: rgba(255, 255, 255, 0.08);
    --surface-border: rgba(255, 255, 255, 0.10);
    --text: #f8fafc;
    --text-muted: #94a3b8;
    --text-subtle: #64748b;
    
    /* Brand Palettes */
    --accent-indigo: #6366f1;
    --accent-purple: #8b5cf6;
    --accent-pink: #ec4899;
    --accent-cyan: #06b6d4;
    --accent-emerald: #10b981;
    --accent-amber: #f59e0b;
    
    /* Gradients */
    --brand-gradient: linear-gradient(135deg, #8b5cf6 0%, #6366f1 50%, #ec4899 100%);
    --cyan-gradient: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);
    --mesh-glow: radial-gradient(circle at 50% 0%, rgba(139, 92, 246, 0.18) 0%, transparent 60%);
    --card-gradient: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
    
    /* Elevation & Radius */
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.25);
    --shadow-md: 0 12px 32px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.6);
    --shadow-glow: 0 0 50px rgba(139, 92, 246, 0.3);
    
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 36px;
    --radius-full: 9999px;
    --container: 1180px;
}

@media (prefers-color-scheme: light) {
    :root {
        --bg-dark: #f1f5f9;
        --bg: #f8fafc;
        --bg-card: #ffffff;
        --surface: rgba(255, 255, 255, 0.85);
        --surface-hover: #ffffff;
        --surface-glass: rgba(15, 23, 42, 0.03);
        --surface-glass-border: rgba(15, 23, 42, 0.08);
        --surface-border: rgba(15, 23, 42, 0.10);
        --text: #0f172a;
        --text-muted: #475569;
        --text-subtle: #94a3b8;
        --shadow-sm: 0 4px 12px rgba(15, 23, 42, 0.05);
        --shadow-md: 0 12px 32px rgba(15, 23, 42, 0.08);
        --shadow-lg: 0 24px 60px rgba(15, 23, 42, 0.12);
        --shadow-glow: 0 0 50px rgba(99, 102, 241, 0.18);
        --mesh-glow: radial-gradient(circle at 50% 0%, rgba(99, 102, 241, 0.12) 0%, transparent 60%);
    }
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", Roboto, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    background-image: 
        radial-gradient(circle at 12% 12%, rgba(139, 92, 246, 0.12) 0%, transparent 45%),
        radial-gradient(circle at 88% 18%, rgba(236, 72, 153, 0.10) 0%, transparent 45%),
        radial-gradient(circle at 50% 85%, rgba(6, 182, 212, 0.08) 0%, transparent 50%);
    background-attachment: fixed;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.container {
    width: min(100% - 40px, var(--container));
    margin: 0 auto;
}

/* ==========================================================================
   Top Trust Bar
   ========================================================================== */
.trust-banner {
    background: color-mix(in srgb, var(--bg-dark) 90%, black);
    border-bottom: 1px solid var(--surface-border);
    font-size: 0.8rem;
    padding: 7px 0;
    color: var(--text-muted);
}

.trust-banner-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.trust-badge-group {
    display: flex;
    align-items: center;
    gap: 18px;
}

.live-pulse {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    color: var(--accent-emerald);
}

.live-pulse::before {
    content: "";
    width: 8px;
    height: 8px;
    background-color: var(--accent-emerald);
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* ==========================================================================
   Sticky Glass Navigation
   ========================================================================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    background: color-mix(in srgb, var(--bg) 80%, transparent);
    border-bottom: 1px solid var(--surface-border);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 74px;
}

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

.brand-icon-box {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: var(--radius-sm);
    background: var(--brand-gradient);
    font-size: 22px;
    box-shadow: 0 6px 18px rgba(139, 92, 246, 0.45);
    color: white;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-title {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.brand-subtitle {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

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

.nav-link {
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-size: 0.925rem;
    font-weight: 600;
    color: var(--text-muted);
}

.nav-link:hover, .nav-link.active {
    color: var(--text);
    background: var(--surface-glass);
}

.nav-cta-btn {
    background: var(--brand-gradient);
    color: white !important;
    padding: 10px 22px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 4px 16px rgba(139, 92, 246, 0.4);
    margin-left: 10px;
}

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

/* ==========================================================================
   Pill Tags & Typography
   ========================================================================== */
.pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    background: rgba(139, 92, 246, 0.12);
    color: var(--accent-purple);
    border: 1px solid rgba(139, 92, 246, 0.28);
}

.pill.gold {
    background: rgba(245, 158, 11, 0.12);
    color: var(--accent-amber);
    border-color: rgba(245, 158, 11, 0.28);
}

.pill.cyan {
    background: rgba(6, 182, 212, 0.12);
    color: var(--accent-cyan);
    border-color: rgba(6, 182, 212, 0.28);
}

.pill.emerald {
    background: rgba(16, 185, 129, 0.12);
    color: var(--accent-emerald);
    border-color: rgba(16, 185, 129, 0.28);
}

.gradient-text {
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ==========================================================================
   Buttons & Store Badges (SVG App Store & Google Play)
   ========================================================================== */
.store-badges-row {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin: 28px 0;
}

.store-badge-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    background: var(--bg-card);
    border: 1px solid var(--surface-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    color: var(--text);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.store-badge-link:hover {
    transform: translateY(-3px);
    border-color: rgba(139, 92, 246, 0.5);
    box-shadow: var(--shadow-glow);
}

.store-badge-link.disabled {
    opacity: 0.65;
    cursor: default;
    border-style: dashed;
    background: var(--surface-glass);
    box-shadow: none;
    pointer-events: none;
}

.store-svg-icon {
    width: 32px;
    height: 32px;
    fill: currentColor;
    flex-shrink: 0;
}

.store-text-group {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.store-subtitle {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    display: flex;
    align-items: center;
    gap: 6px;
}

.store-title {
    font-size: 1.15rem;
    font-weight: 800;
    line-height: 1.2;
    display: flex;
    align-items: center;
    gap: 8px;
}

.badge-tag-soon {
    font-size: 0.65rem;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: var(--radius-full);
    background: rgba(245, 158, 11, 0.2);
    color: var(--accent-amber);
    border: 1px solid rgba(245, 158, 11, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.95rem;
    background: var(--surface);
    border: 1px solid var(--surface-border);
    color: var(--text);
}

.btn-secondary:hover {
    background: var(--surface-hover);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    padding: 70px 0 50px;
    position: relative;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 50px;
}

.hero-left h1 {
    font-size: clamp(2.6rem, 5vw, 4.2rem);
    font-weight: 900;
    letter-spacing: -0.035em;
    line-height: 1.12;
    margin: 18px 0;
}

.hero-copy {
    font-size: 1.2rem;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 580px;
    margin-bottom: 24px;
}

/* ==========================================================================
   Photo-Realistic iPhone 16 Pro Hardware & iOS UI Simulation
   ========================================================================== */
.iphone-chassis {
    position: relative;
    width: min(100%, 320px);
    margin: 0 auto;
    border-radius: 48px;
    padding: 10px;
    background: linear-gradient(145deg, #2a2e3d 0%, #151922 40%, #0c0f14 100%);
    border: 3px solid rgba(255, 255, 255, 0.22);
    box-shadow: 
        0 25px 70px -10px rgba(0, 0, 0, 0.85),
        0 0 45px rgba(139, 92, 246, 0.3),
        inset 0 0 12px rgba(255, 255, 255, 0.12);
}

/* Side Hardware Buttons simulation */
.iphone-chassis::before {
    content: "";
    position: absolute;
    left: -6px;
    top: 110px;
    width: 3px;
    height: 50px;
    background: #2a2e3d;
    border-radius: 3px 0 0 3px;
    box-shadow: 0 70px 0 #2a2e3d, 0 130px 0 #2a2e3d;
}

.iphone-chassis::after {
    content: "";
    position: absolute;
    right: -6px;
    top: 140px;
    width: 3px;
    height: 75px;
    background: #2a2e3d;
    border-radius: 0 3px 3px 0;
}

.iphone-screen {
    position: relative;
    border-radius: 40px;
    overflow: hidden;
    background: #0f121d;
    color: #f8fafc;
    display: flex;
    flex-direction: column;
    height: 600px;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.6);
}

/* Dynamic Island */
.dynamic-island {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 92px;
    height: 25px;
    background: #000000;
    border-radius: 20px;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.9);
}

.di-camera {
    width: 9px;
    height: 9px;
    background: #111827;
    border-radius: 50%;
    border: 1px solid #1e293b;
}

.di-sensor {
    width: 7px;
    height: 7px;
    background: #0f172a;
    border-radius: 50%;
}

/* iOS Top Status Bar */
.ios-status-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 18px 6px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #ffffff;
    z-index: 10;
}

.ios-status-icons {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.7rem;
}

/* App Scrollable Content Area */
.ios-app-body {
    flex: 1;
    overflow: hidden;
    padding: 6px 14px 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* App Top Navigation Bar inside Phone */
.ios-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2px;
}

.ios-nav-title {
    font-size: 1.15rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #c084fc, #f472b6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.ios-nav-actions {
    display: flex;
    gap: 8px;
}

.ios-icon-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: grid;
    place-items: center;
    font-size: 12px;
}

/* iOS Category Filter Pills */
.ios-filter-pills {
    display: flex;
    gap: 6px;
    overflow: hidden;
}

.ios-pill {
    padding: 4px 10px;
    border-radius: 99px;
    font-size: 0.68rem;
    font-weight: 700;
    white-space: nowrap;
    background: rgba(255, 255, 255, 0.08);
    color: #94a3b8;
}

.ios-pill.active {
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
    color: #ffffff;
}

/* Featured Story Banner Card (Screen 1) */
.ios-featured-card {
    background: linear-gradient(145deg, #1e1b4b, #312e81 60%, #4c1d95);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 18px;
    padding: 12px;
    position: relative;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.featured-badge-top {
    font-size: 0.62rem;
    font-weight: 800;
    color: #fcd34d;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 4px;
}

.featured-story-title {
    font-size: 0.95rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 2px;
}

.featured-story-desc {
    font-size: 0.68rem;
    color: #cbd5e1;
    line-height: 1.35;
    margin-bottom: 8px;
}

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

.read-time-pill {
    font-size: 0.62rem;
    font-weight: 700;
    color: #f472b6;
    background: rgba(244, 114, 182, 0.15);
    padding: 3px 8px;
    border-radius: 99px;
}

.play-action-btn {
    padding: 4px 12px;
    border-radius: 99px;
    background: #ffffff;
    color: #0f172a;
    font-size: 0.68rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Story Row Cards (Screen 1) */
.ios-story-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ios-story-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 14px;
}

.story-thumb {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    font-size: 18px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    flex-shrink: 0;
}

.story-info {
    flex: 1;
    text-align: left;
}

.story-info h5 {
    font-size: 0.78rem;
    font-weight: 800;
    margin: 0;
    line-height: 1.2;
}

.story-info span {
    font-size: 0.65rem;
    color: #94a3b8;
}

.story-heart {
    font-size: 12px;
    color: #ec4899;
}

/* Audio Player Screen (Screen 2) */
.ios-audio-player-modal {
    background: linear-gradient(180deg, #181534 0%, #0d0b20 100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    padding: 16px 14px;
    text-align: center;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}

.player-grabber {
    width: 36px;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 99px;
    margin: 0 auto 12px;
}

.player-disc-art {
    width: 86px;
    height: 86px;
    border-radius: 50%;
    margin: 0 auto 12px;
    background: radial-gradient(circle at 30% 30%, #ec4899, #8b5cf6, #3b82f6);
    display: grid;
    place-items: center;
    font-size: 40px;
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.5);
    border: 3px solid rgba(255, 255, 255, 0.2);
}

.player-title-text {
    font-size: 0.95rem;
    font-weight: 800;
    margin-bottom: 2px;
}

.player-subtitle-text {
    font-size: 0.7rem;
    color: #a5b4fc;
    font-weight: 600;
    margin-bottom: 12px;
}

.player-scrubber-box {
    margin-bottom: 12px;
}

.scrubber-track {
    height: 4px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 99px;
    position: relative;
    overflow: hidden;
    margin-bottom: 4px;
}

.scrubber-fill {
    width: 55%;
    height: 100%;
    background: linear-gradient(90deg, #8b5cf6, #ec4899);
}

.scrubber-times {
    display: flex;
    justify-content: space-between;
    font-size: 0.62rem;
    color: #94a3b8;
    font-weight: 600;
}

.player-big-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 14px;
}

.play-pause-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #ffffff;
    color: #0f172a;
    display: grid;
    place-items: center;
    font-size: 18px;
    box-shadow: 0 0 16px rgba(255, 255, 255, 0.4);
}

.sound-mixer-pills {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
}

.mixer-pill {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 6px 8px;
    font-size: 0.68rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mixer-pill.active {
    background: rgba(139, 92, 246, 0.2);
    border-color: rgba(139, 92, 246, 0.4);
    color: #c084fc;
    font-weight: 700;
}

/* Book Reader Screen (Screen 3) */
.ios-reader-screen {
    background: #1e1929;
    border-radius: 20px;
    padding: 14px;
    flex: 1;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.reader-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.72rem;
    color: #cbd5e1;
}

.reader-book-body {
    flex: 1;
    padding: 12px 0;
    text-align: left;
    font-family: "Georgia", serif;
    font-size: 0.82rem;
    line-height: 1.6;
    color: #f5eedb;
}

.reader-book-body p {
    color: #f5eedb;
    margin-bottom: 8px;
}

.reader-dropcap {
    float: left;
    font-size: 1.8rem;
    line-height: 0.8;
    font-weight: 900;
    margin-right: 6px;
    color: #f472b6;
    font-family: -apple-system, sans-serif;
}

.reader-bottom-toolbar {
    background: rgba(0, 0, 0, 0.35);
    border-radius: 12px;
    padding: 8px 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.theme-pill-group {
    display: flex;
    gap: 5px;
}

.theme-dot {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid transparent;
}

.theme-dot.white { background: #ffffff; }
.theme-dot.sepia { background: #d4b886; border-color: #f472b6; }
.theme-dot.black { background: #0f172a; }

/* iOS Bottom Tab Bar */
.ios-tab-bar {
    height: 48px;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 0 10px;
    z-index: 10;
}

.ios-tab-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    font-size: 0.58rem;
    font-weight: 700;
    color: #64748b;
}

.ios-tab-item.active {
    color: #c084fc;
}

.ios-tab-icon {
    font-size: 14px;
}

/* Bottom iOS Home Indicator */
.ios-home-indicator-bar {
    width: 100px;
    height: 4px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 99px;
    margin: 4px auto 6px;
    z-index: 20;
}

/* ==========================================================================
   Trust Proof Bar
   ========================================================================== */
.trust-metrics-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    padding: 32px;
    background: var(--surface);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--surface-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    margin: 40px 0 80px;
}

.trust-metric-box {
    display: flex;
    align-items: center;
    gap: 16px;
}

.metric-icon-circle {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: var(--radius-md);
    font-size: 24px;
    background: rgba(139, 92, 246, 0.12);
    color: var(--accent-purple);
    flex-shrink: 0;
}

.metric-content strong {
    display: block;
    font-size: 1.1rem;
    font-weight: 800;
}

.metric-content p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ==========================================================================
   3-Screen Panoramic Showcase
   ========================================================================== */
.panoramic-section {
    padding: 80px 0;
}

.section-title-wrap {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 56px;
}

.section-title-wrap h2 {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    margin: 14px 0;
}

.section-title-wrap p {
    font-size: 1.15rem;
    color: var(--text-muted);
}

.panoramic-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 36px;
    align-items: start;
}

.showcase-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 24px;
}

.showcase-desc-box {
    background: var(--bg-card);
    border: 1px solid var(--surface-border);
    border-radius: var(--radius-md);
    padding: 24px;
    width: 100%;
}

.showcase-step-num {
    display: inline-block;
    width: 28px;
    height: 28px;
    line-height: 28px;
    border-radius: 50%;
    background: var(--brand-gradient);
    color: white;
    font-size: 0.85rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.showcase-desc-box h3 {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.showcase-desc-box p {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ==========================================================================
   Frosted Cards & Capabilities Grid
   ========================================================================== */
.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
    gap: 24px;
}

.capability-card {
    background: var(--bg-card);
    border: 1px solid var(--surface-border);
    border-radius: var(--radius-lg);
    padding: 36px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.capability-card:hover {
    transform: translateY(-5px);
    border-color: rgba(139, 92, 246, 0.4);
    box-shadow: var(--shadow-md);
}

.capability-icon {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border-radius: var(--radius-md);
    font-size: 26px;
    margin-bottom: 22px;
    background: rgba(139, 92, 246, 0.12);
    color: var(--accent-purple);
}

.capability-card h3 {
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 12px;
}

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

/* ==========================================================================
   Ecosystem Comparison Table
   ========================================================================== */
.comparison-card {
    background: var(--bg-card);
    border: 1px solid var(--surface-border);
    border-radius: var(--radius-lg);
    padding: 40px;
    margin: 60px 0;
    box-shadow: var(--shadow-sm);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 24px;
    text-align: left;
}

.comparison-table th, .comparison-table td {
    padding: 16px 20px;
    border-bottom: 1px solid var(--surface-border);
    font-size: 0.95rem;
}

.comparison-table th {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
}

/* ==========================================================================
   FAQ Accordion (<details> & <summary>)
   ========================================================================== */
.faq-accordion-container {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

details.faq-detail {
    background: var(--bg-card);
    border: 1px solid var(--surface-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all 0.25s ease;
}

details.faq-detail[open] {
    border-color: rgba(139, 92, 246, 0.4);
    box-shadow: var(--shadow-sm);
}

summary.faq-summary {
    list-style: none;
    padding: 22px 24px;
    font-size: 1.15rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text);
    user-select: none;
}

summary.faq-summary::-webkit-details-marker {
    display: none;
}

summary.faq-summary .chevron {
    width: 18px;
    height: 18px;
    transition: transform 0.25s ease;
    fill: var(--text-muted);
}

details.faq-detail[open] summary .chevron {
    transform: rotate(180deg);
    fill: var(--accent-purple);
}

.faq-answer {
    padding: 0 24px 24px;
    font-size: 0.98rem;
    color: var(--text-muted);
    line-height: 1.65;
}

/* ==========================================================================
   Contact Action Chips & Forms
   ========================================================================== */
.chips-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 28px 0;
}

.action-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: var(--surface);
    border: 1px solid var(--surface-border);
    border-radius: var(--radius-full);
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text);
    box-shadow: var(--shadow-sm);
    transition: all 0.2s ease;
}

.action-chip:hover {
    background: var(--surface-hover);
    border-color: rgba(139, 92, 246, 0.4);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    background: var(--surface);
    border: 1px solid var(--surface-border);
    border-radius: var(--radius-md);
    color: var(--text);
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.2s;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-purple);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.25);
}

textarea.form-control {
    min-height: 140px;
    resize: vertical;
}

.btn-primary-action {
    background: var(--brand-gradient);
    color: white;
    padding: 14px 32px;
    border: none;
    border-radius: var(--radius-full);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 18px rgba(139, 92, 246, 0.45);
    transition: all 0.25s ease;
}

.btn-primary-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(139, 92, 246, 0.6);
}

/* ==========================================================================
   Legal Document Layout
   ========================================================================== */
.legal-wrapper {
    max-width: 860px;
    margin: 40px auto 80px;
    background: var(--bg-card);
    border: 1px solid var(--surface-border);
    border-radius: var(--radius-lg);
    padding: 50px;
    box-shadow: var(--shadow-sm);
}

.legal-wrapper h1 {
    font-size: 2.6rem;
    font-weight: 900;
    margin: 12px 0 6px;
}

.legal-meta {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 32px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--surface-border);
}

.legal-wrapper h2 {
    font-size: 1.5rem;
    font-weight: 800;
    margin: 36px 0 12px;
    color: var(--text);
}

.legal-wrapper p, .legal-wrapper li {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 14px;
}

.legal-wrapper ul {
    padding-left: 24px;
    margin-bottom: 20px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
    border-top: 1px solid var(--surface-border);
    background: color-mix(in srgb, var(--bg-dark) 94%, black);
    padding: 70px 0 40px;
    margin-top: 80px;
}

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

.footer-brand p {
    margin-top: 14px;
    font-size: 0.95rem;
    color: var(--text-muted);
    max-width: 320px;
    line-height: 1.6;
}

.footer-col h4 {
    font-size: 0.88rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 18px;
    color: var(--text);
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

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

.footer-col a:hover {
    color: var(--text);
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid var(--surface-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

@media (max-width: 900px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-copy {
        margin: 0 auto 24px;
    }
    .store-badges-row {
        justify-content: center;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .legal-wrapper {
        padding: 24px;
    }
    .nav-links {
        display: none;
    }
}
