/* ==========================================================================
   GamePadX — Professional Landing Page Stylesheet
   Design System: Editorial Dark / Matte Obsidian / iPhone Glass Dock / 3-Device Showcase
   ========================================================================== */

/* -------------------- Design Tokens -------------------- */
:root {
    --bg-base: #05070B;
    --bg-elevated: #090D15;
    --bg-card: rgba(14, 20, 32, 0.6);
    --bg-card-hover: rgba(20, 28, 44, 0.8);
    --bg-glass-dock: rgba(10, 14, 23, 0.72);
    
    --border-hairline: rgba(255, 255, 255, 0.07);
    --border-subtle: rgba(255, 255, 255, 0.12);
    --border-accent: rgba(56, 189, 248, 0.35);

    --text-primary: #F8FAFC;
    --text-secondary: #94A3B8;
    --text-muted: #64748B;

    --accent-cyan: #38BDF8;
    --accent-blue: #0284C7;
    --accent-green: #10B981;
    --accent-purple: #818CF8;
    --accent-gold: #FBBF24;

    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Plus Jakarta Sans', sans-serif;
    --font-serif-italic: 'Instrument Serif', 'Playfair Display', Georgia, serif;
    --font-mono: 'JetBrains Mono', monospace;

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 32px;
    --radius-full: 9999px;

    --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
    color-scheme: dark;
}

body {
    background-color: var(--bg-base);
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-size: 15px;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: var(--bg-base);
}
::-webkit-scrollbar-thumb {
    background: #1E293B;
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-cyan);
}

/* -------------------- Background Grid & Ambient Lighting -------------------- */
.bg-canvas {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.grid-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(to right, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse at 50% 30%, black 50%, transparent 85%);
}

.ambient-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    pointer-events: none;
}
.glow-top {
    width: 700px;
    height: 450px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.16) 0%, transparent 70%);
    top: -120px;
    left: 50%;
    transform: translateX(-50%);
}
.glow-mid {
    width: 550px;
    height: 550px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.09) 0%, transparent 70%);
    top: 45%;
    right: -100px;
}

/* -------------------- Layout Containers -------------------- */
.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 90px 0;
    position: relative;
}

.text-center { text-align: center; }
.w-100 { width: 100%; }

/* -------------------- Typography -------------------- */
.serif-italic {
    font-family: var(--font-serif-italic);
    font-style: italic;
    font-weight: 400;
    color: #E2E8F0;
    letter-spacing: -0.01em;
}

.section-micro-label {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.section-heading {
    font-size: 40px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 14px;
    color: #FFFFFF;
}
.section-heading .serif-italic {
    font-size: 46px;
}

.section-subtext {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.section-title-box {
    margin-bottom: 48px;
}

/* -------------------- Buttons (Minimalist High-End) -------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-full);
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.btn-primary-pill {
    background: #FFFFFF;
    color: #05070B;
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.18);
}
.btn-primary-pill:hover {
    background: #E2E8F0;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.28);
    color: #05070B;
}

.btn-secondary-pill {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    color: #FFFFFF;
    backdrop-filter: blur(10px);
}
.btn-secondary-pill:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    color: #FFFFFF;
}

/* -------------------- FLOATING DOCK NAVBAR (iOS Glassmorphism) -------------------- */
.dock-header-wrapper {
    position: fixed;
    top: 18px;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    justify-content: center;
    padding: 0 16px;
    pointer-events: none;
}

.dock-navbar {
    pointer-events: auto;
    width: 100%;
    max-width: 920px;
    background: var(--bg-glass-dock);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--border-hairline);
    border-radius: var(--radius-full);
    padding: 7px 10px 7px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    position: relative;
    transition: var(--transition);
}

.dock-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}
.dock-logo-box {
    width: 28px;
    height: 28px;
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-hairline);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.dock-logo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.dock-fallback-icon {
    width: 16px;
    height: 16px;
    color: var(--accent-cyan);
}
.dock-brand-name {
    font-size: 15.5px;
    font-weight: 700;
    color: #FFFFFF;
    letter-spacing: -0.02em;
}

.dock-nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
}
.dock-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 500;
    transition: color 0.2s ease;
}
.dock-link:hover, .dock-link.active {
    color: #FFFFFF;
}

.dock-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}
.dock-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 16px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}
.dock-btn-ghost {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid transparent;
}
.dock-btn-ghost:hover {
    color: #FBBF24;
    background: rgba(251, 191, 36, 0.08);
}
.dock-btn-ghost:hover i {
    color: #FBBF24;
}
.dock-btn-ghost i { width: 14px; height: 14px; }

.dock-btn-solid {
    background: #FFFFFF;
    color: #05070B;
}
.dock-btn-solid:hover {
    background: #E2E8F0;
    transform: translateY(-1px);
}

.dock-mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: #FFFFFF;
    cursor: pointer;
    padding: 6px;
}

/* -------------------- HERO SECTION -------------------- */
.hero-section {
    padding: 130px 0 60px 0;
    position: relative;
}

.hero-header-box {
    text-align: center;
    max-width: 860px;
    margin: 0 auto 35px auto;
}

.hero-headline {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.03em;
    color: #FFFFFF;
    margin-bottom: 16px;
}
.hero-headline .serif-italic {
    font-size: 58px;
    color: #F1F5F9;
}

.hero-subline {
    font-size: 16.5px;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 680px;
    margin: 0 auto;
}

/* -------------------- HERO 3-DEVICE STAGE -------------------- */
.hero-stage-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    margin: 30px 0 25px 0;
}

.hero-devices-stage {
    position: relative;
    width: 100%;
    max-width: 980px;
    min-height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 1. Center PC Gaming Laptop */
.laptop-device-frame {
    width: 780px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
}

.laptop-lid {
    width: 100%;
    aspect-ratio: 16 / 9.6;
    background: #0E1420;
    border: 11px solid #182030;
    border-bottom: none;
    border-radius: 20px 20px 0 0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.9), 0 0 40px rgba(56, 189, 248, 0.08);
}

.laptop-screen-content {
    width: 100%;
    height: 100%;
    position: relative;
    background: #000000;
    overflow: hidden;
}

.laptop-game-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.laptop-screen-overlay-glare {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.laptop-base {
    width: 880px;
    height: 16px;
    background: #1B2436;
    border-radius: 0 0 18px 18px;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7);
}
.laptop-notch {
    width: 100px;
    height: 6px;
    background: #101624;
    border-radius: 0 0 7px 7px;
    margin: 0 auto;
}

/* 2. Phone Device Cards (Left Portrait & Right Landscape) */
.phone-device-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: absolute;
    z-index: 10;
}

.device-tag-header {
    background: rgba(10, 14, 23, 0.92);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border-subtle);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 10.5px;
    font-family: var(--font-mono);
    font-weight: 700;
    color: #F1F5F9;
    margin-bottom: 8px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.6);
    letter-spacing: 0.02em;
}

/* Clean Phone Frames */
.phone-frame-clean {
    background: #080C14;
    border: 3px solid #2A364F;
    overflow: hidden;
    position: relative;
    display: flex;
}

/* Left Portrait Phone (Exact 9:20 Ratio) */
.portrait-card {
    left: -75px;
    top: 25px;
    width: 216px;
}

.phone-frame-clean.portrait-frame {
    width: 216px;
    aspect-ratio: 1260 / 2800;
    border-radius: 24px;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.95), 0 0 30px rgba(56, 189, 248, 0.16);
}

/* Right Landscape Phone (Exact 20:9 Ratio) */
.landscape-card {
    right: -85px;
    bottom: -20px;
    width: 370px;
    z-index: 12;
}

.phone-frame-clean.landscape-frame {
    width: 370px;
    aspect-ratio: 2800 / 1260;
    border-radius: 22px;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.95), 0 0 30px rgba(16, 185, 129, 0.16);
}

.pixel-perfect-img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    display: block;
}

.animate-phone-float {
    animation: phoneHover 7s infinite alternate ease-in-out;
}
.animate-landscape-float {
    animation: landscapeHover 7s infinite alternate-reverse ease-in-out 1s;
}

@keyframes phoneHover {
    0% { transform: translateY(0); }
    100% { transform: translateY(-8px); }
}
@keyframes landscapeHover {
    0% { transform: translateY(0); }
    100% { transform: translateY(8px); }
}

/* -------------------- FLOATING FEATURE PILLS STRIP -------------------- */
.hero-feature-pills-strip {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 12px;
    max-width: 1040px;
    margin: 40px auto 30px auto;
}

.feature-pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    background: rgba(14, 20, 32, 0.85);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border-hairline);
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    color: #CBD5E1;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    transition: var(--transition);
}
.feature-pill-badge:hover {
    border-color: var(--border-accent);
    color: #FFFFFF;
    transform: translateY(-2px);
}
.feature-pill-badge i {
    width: 15px;
    height: 15px;
    color: var(--accent-cyan);
}

/* Hero Action Buttons Row */
.hero-actions-row {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 15px;
}

/* -------------------- CORE CAPABILITIES SECTION -------------------- */
.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 22px;
}

.capability-card {
    background: var(--bg-card);
    border: 1px solid var(--border-hairline);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}
.capability-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-subtle);
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.cap-icon-box {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-hairline);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-cyan);
    margin-bottom: 18px;
}
.cap-icon-box i { width: 20px; height: 20px; }

.cap-title {
    font-size: 17.5px;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.cap-desc {
    font-size: 13.5px;
    color: var(--text-secondary);
    line-height: 1.55;
}

/* -------------------- DOWNLOAD SECTION (Minimal Dual Hub) -------------------- */
/* -------------------- DOWNLOAD SECTION (Full-Width Cards with Horizontal Gallery) -------------------- */
.download-section {
    padding: 100px 0 120px 0;
}

.download-stack-container {
    display: flex;
    flex-direction: column;
    gap: 48px;
    width: 100%;
}

.platform-full-card {
    background: linear-gradient(180deg, rgba(14, 20, 32, 0.75) 0%, rgba(8, 12, 20, 0.95) 100%);
    border: 1px solid var(--border-hairline);
    border-radius: var(--radius-xl);
    padding: 40px 36px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(20px);
    transition: var(--transition);
}
.platform-full-card:hover {
    border-color: rgba(255, 255, 255, 0.14);
}

/* Info Header */
.platform-info-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    margin-bottom: 30px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--border-hairline);
}

.platform-info-main {
    flex: 1;
    max-width: 720px;
}

.platform-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.25);
    border-radius: var(--radius-full);
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--accent-cyan);
    margin-bottom: 12px;
}
.platform-badge i {
    width: 13px;
    height: 13px;
}
.platform-badge.badge-green {
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.25);
    color: var(--accent-green);
}

.platform-card-title {
    font-size: 30px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #FFFFFF;
    margin-bottom: 10px;
}

.platform-card-desc {
    font-size: 14.5px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 18px;
}

.platform-tags-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.p-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-hairline);
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 600;
    color: #E2E8F0;
}
.p-tag i {
    width: 13px;
    height: 13px;
    color: var(--accent-cyan);
}

/* Download CTA Column */
.platform-download-cta {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 270px;
    flex-shrink: 0;
}

.cta-micro-note {
    font-size: 11px;
    color: var(--text-muted);
    text-align: center;
    font-family: var(--font-mono);
    margin-top: 4px;
}

/* Horizontal Gallery Scroll View */
.gallery-scroll-wrapper {
    width: 100%;
}

.gallery-scroll-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.gallery-scroll-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
}
.gallery-scroll-title i {
    width: 15px;
    height: 15px;
    color: var(--accent-cyan);
}

.gallery-scroll-hint {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--text-muted);
    font-family: var(--font-mono);
}
.gallery-scroll-hint i {
    width: 14px;
    height: 14px;
}

.horizontal-scroll-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 16px;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: #1E293B transparent;
}
.horizontal-scroll-track::-webkit-scrollbar {
    height: 6px;
}
.horizontal-scroll-track::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 3px;
}
.horizontal-scroll-track::-webkit-scrollbar-thumb {
    background: #1E293B;
    border-radius: 3px;
}
.horizontal-scroll-track::-webkit-scrollbar-thumb:hover {
    background: var(--accent-cyan);
}

/* Desktop Window Cards */
.screenshot-window-card {
    flex: 0 0 380px;
    scroll-snap-align: start;
    background: #070A12;
    border: 1px solid var(--border-hairline);
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}
.screenshot-window-card:hover {
    border-color: rgba(56, 189, 248, 0.35);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
}

.window-bar-mini {
    background: #0D121F;
    padding: 7px 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid var(--border-hairline);
}

.window-dots-mini {
    display: flex;
    gap: 4px;
}
.window-dots-mini span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
}
.d-red { background: #FF5F56; }
.d-yellow { background: #FFBD2E; }
.d-green { background: #27C93F; }

.w-label {
    font-family: var(--font-mono);
    font-size: 10.5px;
    color: var(--text-muted);
}

.desktop-aspect {
    width: 100%;
    aspect-ratio: 16 / 10.8;
    background: #000000;
    overflow: hidden;
}
.desktop-aspect img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.screenshot-caption {
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid var(--border-hairline);
}
.screenshot-caption h4 {
    font-size: 13.5px;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 2px;
}
.screenshot-caption p {
    font-size: 11.5px;
    color: var(--text-muted);
    line-height: 1.4;
    margin: 0;
}

/* Mobile Screen Cards */
.screenshot-mobile-card {
    flex: 0 0 auto;
    scroll-snap-align: start;
    align-self: flex-start;
    background: #070A12;
    border: 1px solid var(--border-hairline);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}
.screenshot-mobile-card:hover {
    border-color: rgba(16, 185, 129, 0.35);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
}

.screenshot-mobile-card.portrait-item {
    width: 230px;
}
.screenshot-mobile-card.landscape-item {
    width: 440px;
}

.mobile-frame-badge {
    background: #0D121F;
    padding: 6px 12px;
    font-family: var(--font-mono);
    font-size: 10.5px;
    font-weight: 600;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border-hairline);
    text-align: center;
}

.multi-layout-badge {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 5px 10px;
}

.layout-pill-selector {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    background: rgba(0, 0, 0, 0.4);
    padding: 2px 4px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-hairline);
}

.layout-pill-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-size: 9.5px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: var(--transition);
}

.layout-pill-btn:hover {
    color: #FFFFFF;
}

.layout-pill-btn.active {
    background: var(--accent-green);
    color: #030508;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.4);
}

.mobile-frame-box {
    width: 100%;
    background: #000000;
    overflow: hidden;
}

.mobile-frame-box.portrait-aspect {
    padding: 0;
    background: #000000;
    display: block;
}
.mobile-frame-box.portrait-aspect img {
    width: 100%;
    height: auto;
    display: block;
}

.mobile-frame-box.landscape-aspect {
    padding: 24px 14px;
    min-height: 240px;
}
.mobile-frame-box.landscape-aspect img {
    width: 100%;
    height: auto;
    max-height: 100%;
    aspect-ratio: 2800 / 1260;
    object-fit: contain;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
    display: block;
}

/* Stacked Multi-Layout Cards */
.screenshot-mobile-card.stacked-layouts-card {
    width: 440px;
}

.mobile-frame-box.stacked-aspect {
    padding: 12px 14px;
    background: #04060A;
}

.stacked-layouts-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.stacked-layout-layer {
    position: relative;
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
    transition: var(--transition);
}
.stacked-layout-layer:hover {
    transform: scale(1.02);
    border-color: var(--accent-green);
    box-shadow: 0 6px 18px rgba(16, 185, 129, 0.2);
    z-index: 2;
}

.stacked-layout-layer img {
    width: 100%;
    height: auto;
    aspect-ratio: 2800 / 1260;
    object-fit: cover;
    display: block;
}

.layer-tag {
    position: absolute;
    top: 6px;
    left: 8px;
    background: rgba(3, 5, 8, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: var(--accent-green);
    font-family: var(--font-mono);
    font-size: 9px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: var(--radius-sm);
    backdrop-filter: blur(8px);
    z-index: 1;
}

/* -------------------- CLEAN MINIMAL SINGLE-ROW FOOTER (Reference Style) -------------------- */
.minimal-footer {
    background: #030508;
    border-top: 1px solid var(--border-hairline);
    padding: 30px 0;
}

.footer-clean-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13.5px;
    color: var(--text-muted);
}

.footer-brand-left {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
}

.footer-mini-logo {
    width: 22px;
    height: 22px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border-hairline);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.footer-mini-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.footer-author-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}
.footer-author-link:hover {
    color: var(--accent-cyan);
}

.footer-clean-links {
    display: flex;
    align-items: center;
    gap: 28px;
}
.footer-clean-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 500;
    transition: color 0.2s ease;
}
.footer-clean-links a:hover {
    color: #FFFFFF;
}

/* -------------------- RESPONSIVE QUERIES -------------------- */
@media (max-width: 1100px) {
    .hero-headline { font-size: 42px; }
    .hero-headline .serif-italic { font-size: 46px; }
    .hero-devices-stage {
        max-width: 800px;
        min-height: 460px;
    }
    .laptop-device-frame { width: 620px; }
    .laptop-base { width: 700px; }
    .portrait-card {
        left: -20px;
        top: 20px;
        width: 180px;
    }
    .phone-frame-clean.portrait-frame {
        width: 180px;
    }
    .landscape-card {
        right: -30px;
        bottom: -15px;
        width: 300px;
    }
    .phone-frame-clean.landscape-frame {
        width: 300px;
    }
    .capabilities-grid { grid-template-columns: repeat(2, 1fr); }
    .download-showcase-grid { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 768px) {
    .dock-navbar {
        border-radius: 24px;
        padding: 8px 14px;
    }
    /* Mobile Drawer Dropdown Fix (Solid visible background) */
    .dock-nav-links {
        display: none;
        position: absolute;
        top: calc(100% + 12px);
        left: 0;
        right: 0;
        width: 100%;
        background: #0B0F19 !important;
        border: 1px solid rgba(255, 255, 255, 0.16) !important;
        box-shadow: 0 25px 60px rgba(0, 0, 0, 0.98), 0 0 35px rgba(56, 189, 248, 0.18) !important;
        backdrop-filter: blur(30px) !important;
        -webkit-backdrop-filter: blur(30px) !important;
        padding: 20px 24px;
        border-radius: 20px;
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        z-index: 9999;
    }
    .dock-nav-links.open {
        display: flex !important;
    }
    .dock-link {
        font-size: 15px;
        color: #F1F5F9;
        width: 100%;
        padding: 4px 0;
    }
    .dock-mobile-toggle { display: block; }
    .dock-btn-ghost { display: none; }
    .hero-headline { font-size: 32px; }
    .hero-headline .serif-italic { font-size: 36px; }
    .hero-devices-stage {
        min-height: auto;
        flex-direction: column;
        gap: 25px;
    }
    .laptop-device-frame { width: 100%; }
    .laptop-base { width: 105%; }
    .portrait-card {
        position: relative;
        left: auto;
        top: auto;
        width: 210px;
    }
    .phone-frame-clean.portrait-frame {
        width: 210px;
    }
    .landscape-card {
        position: relative;
        right: auto;
        bottom: auto;
        width: 320px;
    }
    .phone-frame-clean.landscape-frame {
        width: 320px;
    }
    .capabilities-grid { grid-template-columns: 1fr; }
    .download-stack-container { gap: 32px; }
    .platform-full-card { padding: 26px 18px; border-radius: var(--radius-lg); }
    .platform-info-header { flex-direction: column; gap: 20px; }
    .platform-card-title { font-size: 24px; }
    .platform-download-cta { width: 100%; min-width: auto; }
    .screenshot-window-card { flex: 0 0 300px; }
    .screenshot-mobile-card.landscape-item { width: 300px; }
    .screenshot-mobile-card.portrait-item { width: 180px; }
    .footer-clean-row {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

/* ==========================================================================
   PRIVACY POLICY PAGE (Clean Reader Design)
   ========================================================================== */
.policy-main-clean {
    padding-top: 100px;
    padding-bottom: 80px;
}

.policy-reader-container {
    max-width: 860px;
    margin: 0 auto;
}

.policy-card-clean {
    background: var(--bg-card);
    border: 1px solid var(--border-hairline);
    border-radius: var(--radius-lg);
    padding: 48px 44px;
    backdrop-filter: blur(24px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.policy-clean-header {
    border-bottom: 1px solid var(--border-hairline);
    padding-bottom: 24px;
    margin-bottom: 30px;
}

.policy-clean-tag {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--accent-cyan);
    background: rgba(56, 189, 248, 0.08);
    border: 1px solid rgba(56, 189, 248, 0.2);
    padding: 3px 10px;
    border-radius: var(--radius-sm);
    margin-bottom: 12px;
}

.policy-clean-title {
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #FFFFFF;
    margin-bottom: 8px;
    line-height: 1.25;
}

.policy-clean-date {
    font-size: 13px;
    color: var(--text-muted);
    font-family: var(--font-mono);
}

.policy-clean-body {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.7;
}

.policy-lead-text {
    font-size: 15.5px;
    color: #E2E8F0;
    margin-bottom: 14px;
}

.policy-clean-section {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.policy-clean-section h2 {
    font-size: 19px;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.policy-subgroup {
    margin-top: 18px;
}

.policy-subgroup h3 {
    font-size: 15.5px;
    font-weight: 600;
    color: #F1F5F9;
    margin-bottom: 8px;
}

.policy-bullet-list {
    list-style: none;
    padding: 0;
    margin: 12px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.policy-bullet-list li {
    position: relative;
    padding-left: 18px;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.policy-bullet-list li::before {
    content: "•";
    position: absolute;
    left: 2px;
    color: var(--accent-cyan);
    font-weight: bold;
}

.policy-clean-section strong {
    color: #F1F5F9;
    font-weight: 600;
}

.policy-clean-section code {
    font-family: var(--font-mono);
    font-size: 12.5px;
    background: rgba(255, 255, 255, 0.07);
    color: var(--accent-cyan);
    padding: 2px 6px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Permissions Table */
.permissions-table-wrap {
    width: 100%;
    overflow-x: auto;
    margin: 16px 0;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-hairline);
    background: rgba(9, 13, 22, 0.6);
}

.permissions-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13.5px;
    text-align: left;
}

.permissions-table th {
    background: rgba(255, 255, 255, 0.04);
    color: #FFFFFF;
    font-weight: 600;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-subtle);
    white-space: nowrap;
}

.permissions-table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-hairline);
    color: var(--text-secondary);
    vertical-align: top;
    line-height: 1.5;
}

.permissions-table tr:last-child td {
    border-bottom: none;
}

.permissions-table tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

/* Contact box */
.policy-contact-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-hairline);
    border-radius: var(--radius-sm);
    padding: 16px 20px;
    margin-top: 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.policy-contact-box p {
    margin: 0;
    font-size: 14px;
}

.policy-contact-box a {
    color: var(--accent-cyan);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.policy-contact-box a:hover {
    text-decoration: underline;
}

.active-footer-link {
    color: #FFFFFF !important;
    font-weight: 600 !important;
}

@media (max-width: 768px) {
    .policy-main-clean {
        padding-top: 80px;
        padding-bottom: 40px;
    }
    .policy-card-clean {
        padding: 28px 20px;
        border-radius: var(--radius-md);
    }
    .policy-clean-title {
        font-size: 24px;
    }
}