/*
 ===============================================================================
  VerticalX Landing Page - Architectural Studio Grey & Mobile Optimized (style.css)
 ===============================================================================
*/

/* -----------------------------------------------------------------------------
   1. Design System Tokens
   ----------------------------------------------------------------------------- */
:root {
    --bg-grey-top: #e6e6e9;
    --bg-grey-mid: #d4d4d8;
    --bg-grey-bottom: #e2e2e6;

    --bg-card: #ffffff;
    --bg-card-dark: #09090b;
    --bg-card-hover: #f4f4f6;

    --border-subtle: #d1d1d6;
    --border-dark: #27272a;
    --border-red: rgba(230, 0, 38, 0.4);

    --accent-red: #e60026;
    --accent-red-hover: #c40020;
    --accent-red-glow: rgba(230, 0, 38, 0.2);

    --text-main: #09090b;
    --text-muted: #4a4a5a;
    --text-dim: #71717a;
    --text-light: #ffffff;

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    --font-mono: 'Space Mono', monospace;

    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;

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

/* -----------------------------------------------------------------------------
   2. Global Reset & Body Setup
   ----------------------------------------------------------------------------- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    max-width: 100vw;
}

body {
    background-color: var(--bg-grey-top);
    background-image:
        radial-gradient(ellipse at 50% 0%, #f4f4f7 0%, var(--bg-grey-top) 40%, var(--bg-grey-mid) 100%);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    width: 100%;
    max-width: 100vw;
}

/* Subtle Structural Grid Mesh Overlay */
.tech-grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 0;
    opacity: 0.05;
    background-image:
        linear-gradient(to right, #000000 1px, transparent 1px),
        linear-gradient(to bottom, #000000 1px, transparent 1px);
    background-size: 40px 40px;
}

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
    z-index: 1;
}

.section-padding {
    padding: 6rem 0;
}

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

/* Typography Helpers */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    color: var(--text-main);
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.highlight-red {
    color: var(--accent-red);
}

.section-tag {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #ffffff;
    background: #09090b;
    border: 1px solid #18181b;
    padding: 0.4rem 1rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.section-title {
    font-size: 2.75rem;
    font-weight: 900;
    margin-bottom: 1rem;
    color: #09090b;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
}

/* Architectural Tech Card System */
.tech-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.tech-card:hover {
    border-color: #a1a1aa;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.09);
}

/* Dark Accent Tech Cards */
.tech-card-dark {
    background: var(--bg-card-dark);
    color: var(--text-light);
    border: 1px solid var(--border-dark);
    border-radius: var(--radius-lg);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    transition: var(--transition);
}

/* -----------------------------------------------------------------------------
   3. Header Navigation Bar & Un-congested Layout
   ----------------------------------------------------------------------------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1.25rem 0;
    transition: var(--transition);
}

.site-header.scrolled {
    background: rgba(230, 230, 233, 0.94);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
    padding: 0.85rem 0;
}

.nav-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
}

/* Brand Group: Logo + Open Source Tag */
.brand-group {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
}

/* Bold VX Emblem */
.logo-mark-vx {
    background: #09090b;
    color: #ffffff;
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.1rem;
    letter-spacing: -1px;
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: inline-block;
    line-height: 1;
}

.logo-text {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.35rem;
    letter-spacing: 1.5px;
    color: #09090b;
}

.accent-red {
    color: var(--accent-red);
}

/* De-congested Open Source Tag Pill */
.open-source-tag {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--accent-red);
    background: rgba(230, 0, 38, 0.08);
    border: 1px solid var(--border-red);
    padding: 0.25rem 0.6rem;
    border-radius: 50px;
    white-space: nowrap;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    transition: var(--transition);
    white-space: nowrap;
}

.nav-link .num {
    font-family: var(--font-mono);
    color: var(--accent-red);
    margin-right: 0.2rem;
}

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

.mobile-menu-actions {
    display: none;
}

.nav-cta-group {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    flex-shrink: 0;
}

/* Button System */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    padding: 0.7rem 1.4rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-transform: uppercase;
}

.btn-primary {
    background: var(--accent-red);
    color: #ffffff;
    box-shadow: 0 6px 20px var(--accent-red-glow);
}

.btn-primary:hover {
    background: var(--accent-red-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(230, 0, 38, 0.35);
}

.btn-secondary {
    background: #09090b;
    color: #ffffff;
    border: 1px solid #18181b;
}

.btn-secondary:hover {
    background: #181820;
    transform: translateY(-2px);
}

.btn-github {
    background: #ffffff;
    color: #09090b;
    border: 1px solid var(--border-subtle);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.btn-github:hover {
    background: #f4f4f6;
    border-color: #a1a1aa;
}

.star-count {
    font-family: var(--font-mono);
    background: #e4e4e7;
    color: #09090b;
    font-size: 0.75rem;
    padding: 0.15rem 0.45rem;
    border-radius: 4px;
}

.mobile-toggle {
    display: none;
    background: #09090b;
    border: 1px solid #27272a;
    padding: 0.6rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.mobile-toggle span {
    width: 22px;
    height: 2px;
    background: #ffffff;
    border-radius: 2px;
}

/* -----------------------------------------------------------------------------
   4. Hero Section
   ----------------------------------------------------------------------------- */
.hero-section {
    padding-top: 10rem;
    padding-bottom: 5rem;
    position: relative;
    z-index: 1;
}

.hero-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: #ffffff;
    border: 1px solid var(--border-subtle);
    padding: 0.45rem 1.2rem;
    border-radius: var(--radius-sm);
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 700;
    color: #09090b;
    margin-bottom: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.pulse-dot-red {
    width: 8px;
    height: 8px;
    background: var(--accent-red);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--accent-red);
    animation: pulse-red 2s infinite;
}

@keyframes pulse-red {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.4);
        opacity: 0.5;
    }
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
    color: #09090b;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 820px;
    margin: 0 auto 2.5rem;
}

.hero-action-buttons {
    display: flex;
    justify-content: center;
    gap: 1.25rem;
    margin-bottom: 2.5rem;
}

.btn-hero {
    padding: 0.9rem 2.2rem;
    font-size: 0.95rem;
}

.hero-trust-badges {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.8rem;
    margin-bottom: 4rem;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 700;
    font-family: var(--font-mono);
}

.check-icon {
    color: var(--accent-red);
    font-weight: 800;
}

/* Hero Interface Window */
.hero-preview-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0.75rem;
    background: #ffffff;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1.25rem;
    background: #f4f4f6;
    border-radius: 12px 12px 0 0;
    border-bottom: 1px solid var(--border-subtle);
}

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

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

.control.red {
    background: var(--accent-red);
}

.control.grey {
    background: #a1a1aa;
}

.conversion-flow-badge {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    max-width: 100%;
}

.flow-pill {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-sm);
    white-space: nowrap;
    max-width: 100%;
}

.full-text {
    display: inline;
}

.short-text {
    display: none;
}

@media (max-width: 640px) {
    .conversion-flow-badge .full-text {
        display: none !important;
    }

    .conversion-flow-badge .short-text {
        display: inline !important;
    }
}

.source-pill {
    background: #09090b;
    color: #ffffff;
    border: 1px solid #27272a;
}

.flow-arrow {
    color: var(--accent-red);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: flow-arrow-pulse 2s infinite ease-in-out;
}

@keyframes flow-arrow-pulse {

    0%,
    100% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(3px);
    }
}

.output-pill {
    background: rgba(230, 0, 38, 0.12);
    color: var(--accent-red);
    border: 1px solid var(--border-red);
}

.preview-status {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--accent-red);
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 700;
}

.status-indicator-red {
    width: 6px;
    height: 6px;
    background: var(--accent-red);
    border-radius: 50%;
}

.preview-image-container {
    position: relative;
    overflow: hidden;
    border-radius: 0 0 12px 12px;
}

.preview-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0 0 12px 12px;
}

.floating-stat-card {
    position: absolute;
    background: rgba(9, 9, 11, 0.92);
    border: 1px solid #27272a;
    padding: 0.85rem 1.25rem;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    color: white;
}

.card-left {
    bottom: 2rem;
    left: 2rem;
}

.card-right {
    top: 2rem;
    right: 2rem;
}

.stat-icon {
    font-size: 1.4rem;
}

.stat-content {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.stat-label {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: #a1a1aa;
}

.stat-value {
    font-size: 0.9rem;
    font-weight: 800;
    color: white;
}

/* -----------------------------------------------------------------------------
   5. Platform Bar
   ----------------------------------------------------------------------------- */
.platform-bar {
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    padding: 2rem 0;
    background: rgba(255, 255, 255, 0.4);
}

.platform-label {
    text-align: center;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-dim);
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-bottom: 1.25rem;
}

.platform-icons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.platform-chip {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: #ffffff;
    border: 1px solid var(--border-subtle);
    padding: 0.5rem 1.2rem;
    border-radius: var(--radius-sm);
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--text-main);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
    transition: var(--transition);
    cursor: default;
}

.platform-chip:hover {
    border-color: #a1a1aa;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.platform-symbol {
    color: var(--accent-red);
}

/* -----------------------------------------------------------------------------
   6. Pain Points Section
   ----------------------------------------------------------------------------- */
.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 3.5rem;
}

.comparison-card {
    padding: 2.25rem;
    border-radius: var(--radius-lg);
}

.pain-card {
    background: #ffffff;
    border: 1px solid var(--border-subtle);
}

.solution-card {
    background: #09090b;
    color: #ffffff;
    border: 1px solid var(--border-dark);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.solution-card h3 {
    color: #ffffff;
}

.solution-card p {
    color: #a1a1aa;
}

.card-badge {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.3rem 0.8rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1.25rem;
}

.badge-bad {
    background: #f4f4f6;
    color: var(--text-dim);
    border: 1px solid var(--border-subtle);
}

.badge-good {
    background: var(--accent-red);
    color: #ffffff;
}

.comparison-card h3 {
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
}

.comparison-card p {
    font-size: 0.95rem;
}

/* -----------------------------------------------------------------------------
   7. How It Works (Steps)
   ----------------------------------------------------------------------------- */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.step-card {
    padding: 2.5rem 2rem;
    position: relative;
    text-align: left;
}

.step-number {
    font-family: var(--font-mono);
    font-size: 1rem;
    font-weight: 700;
    color: var(--accent-red);
    margin-bottom: 1.25rem;
}

.step-icon {
    font-size: 2.5rem;
    margin-bottom: 1.25rem;
}

.step-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.85rem;
}

.step-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* -----------------------------------------------------------------------------
   8. Key Features Grid
   ----------------------------------------------------------------------------- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.feature-card {
    padding: 2.25rem;
}

.feature-icon {
    font-size: 2.2rem;
    margin-bottom: 1.25rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* -----------------------------------------------------------------------------
   9. Tracking Showcase
   ----------------------------------------------------------------------------- */
.showcase-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: center;
}

.showcase-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.25rem;
}

.description-text {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.feature-checklist {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.feature-checklist li {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.feature-checklist .check {
    font-family: var(--font-mono);
    color: var(--accent-red);
    font-weight: 800;
    flex-shrink: 0;
}

.feature-checklist strong {
    color: var(--text-main);
    display: block;
    margin-bottom: 0.15rem;
}

.feature-checklist span {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.showcase-img {
    width: 100%;
    border-radius: var(--radius-lg);
    display: block;
    border: 1px solid var(--border-subtle);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* -----------------------------------------------------------------------------
   10. Layout Modes Showcase
   ----------------------------------------------------------------------------- */
.layout-tabs-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 3rem;
    margin-bottom: 2.5rem;
}

.layout-tab {
    background: #ffffff;
    border: 1px solid var(--border-subtle);
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 0.85rem;
    padding: 0.75rem 1.4rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.layout-tab:hover {
    background: #f4f4f6;
    color: #09090b;
}

.layout-tab.active {
    background: var(--accent-red);
    color: white;
    border-color: var(--accent-red);
    box-shadow: 0 4px 15px var(--accent-red-glow);
}

.layout-display-box {
    padding: 3rem;
    min-height: 380px;
    background: #09090b;
    color: white;
    border-radius: var(--radius-lg);
}

.layout-content-panel {
    display: none;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    align-items: center;
}

.layout-content-panel.active {
    display: grid;
}

.layout-badge {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent-red);
    background: rgba(230, 0, 38, 0.15);
    border: 1px solid var(--border-red);
    padding: 0.3rem 0.8rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1rem;
}

.layout-info h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: white;
}

.layout-info p {
    color: #a1a1aa;
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.layout-specs {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    background: #14141c;
    padding: 1.25rem;
    border-radius: var(--radius-md);
    border: 1px solid #27272a;
}

.layout-specs li {
    font-size: 0.85rem;
    color: #a1a1aa;
    font-family: var(--font-mono);
}

.layout-specs strong {
    color: white;
}

/* Mockup Visual Boxes */
.layout-visual {
    height: 300px;
    background: #121218;
    border: 1px solid #27272a;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.mockup-frame {
    width: 140px;
    height: 250px;
    border: 2px dashed var(--accent-red);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.subject-box.glowing {
    width: 60px;
    height: 80px;
    border: 2px solid white;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
    border-radius: 4px;
    position: absolute;
    top: 30%;
}

.mockup-text {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--accent-red);
    position: absolute;
    bottom: 10px;
}

.split-half {
    width: 140px;
    height: 120px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 0.75rem;
}

.top-half {
    background: rgba(230, 0, 38, 0.2);
    border: 1px solid var(--accent-red);
    margin-bottom: 8px;
}

.bottom-half {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid #383848;
}

.blur-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #27272a, #09090b);
    filter: blur(20px);
}

.sharp-center {
    position: relative;
    z-index: 2;
    width: 200px;
    height: 110px;
    background: #000000;
    border: 1px solid #383848;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-weight: 700;
}

.center-box {
    width: 120px;
    height: 220px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid #383848;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 700;
}

.fit-center {
    width: 180px;
    height: 100px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid #383848;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 700;
}

.zoom-box {
    width: 150px;
    height: 200px;
    background: rgba(230, 0, 38, 0.15);
    border: 1px solid var(--accent-red);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 700;
}

/* -----------------------------------------------------------------------------
   11. Quickstart Terminal Card
   ----------------------------------------------------------------------------- */
.quickstart-box {
    padding: 4rem 3rem;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    background: #09090b;
    color: white;
    border-radius: var(--radius-lg);
}

.quickstart-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: white;
}

.quickstart-header p {
    color: #a1a1aa;
    font-size: 1.05rem;
    margin-bottom: 2.5rem;
}

.terminal-card {
    background: #121218;
    border: 1px solid #27272a;
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 2.5rem;
}

.terminal-header {
    background: #1a1a24;
    padding: 0.75rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid #27272a;
}

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

.dot.red {
    background: var(--accent-red);
}

.dot.grey {
    background: #52525b;
}

.terminal-title {
    margin-left: auto;
    margin-right: auto;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: #a1a1aa;
}

.terminal-body {
    padding: 1.5rem;
}

.command-line {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    overflow-x: auto;
}

.prompt {
    color: var(--accent-red);
    font-weight: 700;
}

.command {
    color: #4ade80;
    flex: 1;
    text-align: left;
    white-space: nowrap;
}

.copy-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid #383848;
    color: white;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 800;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: var(--transition);
}

.copy-btn:hover {
    background: var(--accent-red);
    border-color: var(--accent-red);
}

.quickstart-actions {
    display: flex;
    justify-content: center;
}

/* -----------------------------------------------------------------------------
   12. FAQ Accordion
   ----------------------------------------------------------------------------- */
.faq-accordion {
    max-width: 820px;
    margin: 3.5rem auto 0;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.faq-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    background: #ffffff;
    border: 1px solid var(--border-subtle);
}

.faq-question {
    width: 100%;
    background: transparent;
    border: none;
    color: #09090b;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.1rem;
    padding: 1.5rem 2rem;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-icon {
    font-family: var(--font-mono);
    font-size: 1.4rem;
    color: var(--accent-red);
    transition: var(--transition);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    display: none;
    padding: 0 2rem 1.5rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

.faq-item.active .faq-answer {
    display: block;
}

/* -----------------------------------------------------------------------------
   13. Footer - FIXED LOGO TEXT VISIBILITY
   ----------------------------------------------------------------------------- */
.site-footer {
    border-top: 1px solid #27272a;
    padding: 5rem 0 3rem;
    background: #09090b !important;
    color: #ffffff !important;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand {
    max-width: 400px;
}

/* Explicit Crisp White Footer Brand Text Fix */
.site-footer .footer-logo-text,
.site-footer .logo-text,
.footer-brand .logo-text {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.35rem;
    letter-spacing: 1.5px;
    color: #ffffff !important;
    /* Crisp stark white text so VERTICAL is 100% visible */
}

.site-footer .logo-mark-vx {
    background: #ffffff !important;
    color: #09090b !important;
}

.footer-tagline {
    color: #a1a1aa !important;
    font-size: 0.9rem;
    margin-top: 1rem;
}

.footer-links-grid {
    display: flex;
    gap: 4rem;
}

.footer-col h4 {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    margin-bottom: 1.25rem;
    color: #ffffff !important;
}

.footer-col a {
    display: block;
    color: #a1a1aa !important;
    text-decoration: none;
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
    transition: var(--transition);
}

.footer-col a:hover {
    color: #ffffff !important;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid #27272a;
    color: #a1a1aa !important;
    font-size: 0.85rem;
    font-family: var(--font-mono);
}

.social-links a {
    color: #a1a1aa !important;
    text-decoration: none;
}

.social-links a:hover {
    color: #ffffff !important;
}

/* -----------------------------------------------------------------------------
   14. Full Mobile & Tablet Responsive Optimization
   ----------------------------------------------------------------------------- */
@media (max-width: 1100px) {
    .open-source-tag {
        display: none;
        /* Hide top tag on smaller tablet view to give nav links maximum breathing space */
    }
}

@media (max-width: 992px) {
    .section-title {
        font-size: 2.2rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-description {
        font-size: 1.05rem;
    }

    .comparison-grid,
    .steps-grid,
    .features-grid,
    .use-cases-grid {
        grid-template-columns: 1fr;
    }

    .showcase-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .layout-content-panel {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-top {
        flex-direction: column;
        gap: 2.5rem;
    }

    .footer-links-grid {
        gap: 2.5rem;
    }

    .desktop-only-btn {
        display: none !important;
    }

    .mobile-toggle {
        display: flex !important;
    }

    .nav-menu {
        display: none;
        /* Controlled by JS mobile toggle */
        flex-direction: column;
        align-items: flex-start;
        position: absolute;
        top: 100%;
        left: 1rem;
        right: 1rem;
        background: #09090b !important;
        border: 1px solid #27272a;
        padding: 1.5rem;
        border-radius: var(--radius-md);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
        gap: 1rem;
        z-index: 200;
    }

    .nav-menu.active {
        display: flex !important;
    }

    .nav-link {
        color: #ffffff !important;
        font-size: 1rem;
        width: 100%;
        padding: 0.5rem 0;
        border-bottom: 1px solid #1a1a24;
    }

    .mobile-menu-actions {
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 0.75rem;
        margin-top: 0.5rem;
    }

    .mobile-action-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .section-padding {
        padding: 4rem 0;
    }

    .hero-section {
        padding-top: 8rem;
        padding-bottom: 3rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-action-buttons {
        flex-direction: column;
        gap: 0.85rem;
    }

    .btn-hero {
        width: 100%;
    }

    .floating-stat-card {
        display: none;
    }

    .preview-header {
        flex-direction: column;
        gap: 0.65rem;
        align-items: center;
        text-align: center;
        padding: 0.75rem 0.85rem;
    }

    .conversion-flow-badge {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.4rem;
        width: 100%;
    }

    .flow-pill {
        font-size: 0.7rem;
        padding: 0.3rem 0.6rem;
    }

    /* Quickstart Terminal Box */
    .quickstart-box {
        padding: 2rem 1.25rem;
    }

    .command-line {
        font-size: 0.75rem;
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    .command {
        white-space: normal;
        word-break: break-all;
    }

    /* Layout Tabs */
    .layout-display-box {
        padding: 1.5rem;
    }

    .layout-tab {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }

    /* Footer */
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.85rem;
        letter-spacing: -0.03em;
    }

    .section-title {
        font-size: 1.7rem;
    }

    .section-tag {
        font-size: 0.7rem;
    }

    .platform-chip {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }

    .btn {
        padding: 0.65rem 1rem;
        font-size: 0.85rem;
    }

    .preview-header {
        padding: 0.6rem 0.5rem;
        gap: 0.5rem;
    }

    .flow-pill {
        font-size: 0.65rem;
        padding: 0.25rem 0.45rem;
        letter-spacing: -0.2px;
    }

    .flow-arrow svg {
        width: 14px;
        height: 14px;
    }
}