/* ═══════════════════════════════════════════════════════════════════════════
   ChipOS - Clean White & Blue Theme
   Inspired by supermemory.ai
   ═══════════════════════════════════════════════════════════════════════════ */

/* CSS Variables */
:root {
    /* Colors - Exact Wix Autono Palette */
    --black: #000000;
    --white: #FFFFFF;
    --off-white: #F4F4F4;
    /* Section Grey */
    --gray-light: #E0E0E0;
    --gray-medium: #808080;
    --gray-dark: #333333;
    --accent-copper: #D48E6A;
    --code-bg: #1a1a1a;

    --bg-primary: var(--white);
    --bg-secondary: var(--off-white);
    --bg-dark: var(--black);

    --text-primary: var(--black);
    --text-secondary: var(--gray-dark);
    --text-muted: var(--gray-medium);
    --text-on-dark: var(--white);

    /* Typography - Exact Wix Autono Specs */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Montserrat', sans-serif;

    /* H1 Specs */
    --h1-size: 64px;
    --h1-weight: 400;
    --h1-spacing: 5.12px;
    --h1-line-height: 96px;

    /* H2 Specs */
    --h2-size: 40px;
    --h2-weight: 400;
    --h2-spacing: 3.2px;
    --h2-line-height: 60px;

    /* Body Specs */
    --body-size: 16px;
    --body-large-size: 24px;
    --body-spacing: 1.2px;
    --body-line-height: 1.8em;

    /* Spacing & Borders */
    --section-padding: 100px;
    --container-width: 980px;
    --radius-md: 8px;
    /* Wix uses 8px for buttons/inputs */
    --radius-lg: 8px;

    --transition-base: 0.4s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: var(--body-line-height);
    letter-spacing: var(--body-spacing);
    font-size: var(--body-size);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    /* Prevent horizontal scroll globally */
}

h1 {
    font-family: var(--font-heading);
    font-size: var(--h1-size);
    font-weight: var(--h1-weight);
    letter-spacing: var(--h1-spacing);
    line-height: var(--h1-line-height);
    text-transform: uppercase;
    margin: 0;
}

h2 {
    font-family: var(--font-heading);
    font-size: var(--h2-size);
    font-weight: var(--h2-weight);
    letter-spacing: var(--h2-spacing);
    line-height: var(--h2-line-height);
    text-transform: uppercase;
}

::selection {
    background: var(--black);
    color: var(--white);
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   Navigation
   ═══════════════════════════════════════════════════════════════════════════ */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 24px 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-light);
    transition: all var(--transition-base);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 700;
    font-size: 18px;
    transition: opacity var(--transition-fast);
    margin-right: 40px;
}

.logo:hover {
    opacity: 0.7;
}

.logo-icon {
    color: var(--black);
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: opacity var(--transition-fast);
}

.nav-links a:hover {
    opacity: 0.6;
}

.nav-hamburger {
    display: none;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-left: 24px;
}

.nav-link-secondary {
    color: var(--text-primary);
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: opacity var(--transition-fast);
}

.nav-link-secondary:hover {
    opacity: 0.6;
}

.nav-cta-secondary {
    padding: 12px 24px;
    background: transparent;
    color: var(--black);
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid var(--black);
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    cursor: pointer;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 42px;
    /* Fixed height to match .nav-cta exactly */
    box-sizing: border-box;
}

.nav-cta {
    padding: 12px 24px;
    background: var(--black);
    color: white;
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 42px;
    box-sizing: border-box;
    border: 1px solid var(--black);
}

.nav-cta:hover {
    background: #333;
    border-color: #333;
    transform: translateY(-1px);
}

.nav-cta-secondary:hover {
    background: var(--off-white);
    transform: translateY(-1px);
}

/* Calendly Floating Badge Overrides */
.calendly-badge-widget {
    right: 30px !important;
    bottom: 30px !important;
}

.calendly-badge-content {
    border-radius: 0 !important;
    /* Makes it square */
    font-family: var(--font-heading) !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    letter-spacing: 2px !important;
    padding: 0 30px !important;
    height: 50px !important;
    line-height: 50px !important;
    text-transform: uppercase !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2) !important;
}

/* Mobile adjustments for Calendly Floating Badge */
@media (max-width: 768px) {
    .calendly-badge-widget {
        right: 16px !important;
        bottom: 16px !important;
    }

    .calendly-badge-content {
        padding: 0 20px !important;
        height: 40px !important;
        line-height: 40px !important;
        font-size: 10px !important;
        letter-spacing: 1px !important;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════
   Buttons
   ═══════════════════════════════════════════════════════════════════════════ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    font-size: 14px;
    font-weight: 700;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all var(--transition-fast);
}

.btn-primary {
    background: var(--black);
    color: var(--white);
}

.btn-primary:hover {
    background: #333;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
    background: var(--white);
    color: var(--black);
    border: 2px solid var(--black);
}

.btn-secondary:hover {
    background: var(--black);
    color: var(--white);
}

.btn-ghost {
    background: transparent;
    color: var(--black);
    border: 2px solid var(--black);
}


.btn-ghost:hover {
    background: var(--black);
    color: var(--white);
}

.btn-lg {
    padding: 20px 40px;
    font-size: 15px;
}

.btn-lg svg {
    width: 20px;
    height: 20px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   Hero Section
   ═══════════════════════════════════════════════════════════════════════════ */

.hero {
    position: relative;
    padding: 160px 0 120px;
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: var(--black);
    color: var(--white);
    overflow: hidden;
}

/* Background Video */
.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: none;
    /* Restored natural colors as requested */
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    /* Removed 0.6 overlay as requested */
    z-index: 2;
}

.hero-content {
    max-width: 900px;
    position: relative;
    z-index: 10;
    padding: 0 24px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: var(--radius-sm);
    margin-bottom: 32px;
}

.badge-icon {
    display: flex;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 64px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1px;
    text-transform: uppercase;
    margin-bottom: 24px;
    color: var(--white);
    min-height: 140px;
}

/* Typewriter Animation */
.typewriter {
    display: inline;
}

.cursor {
    display: inline-block;
    color: var(--accent-copper);
    font-weight: 300;
    animation: blink 0.8s ease-in-out infinite;
}

@keyframes blink {

    0%,
    50% {
        opacity: 1;
    }

    51%,
    100% {
        opacity: 0;
    }
}

.text-over {
    font-size: 80px;
    font-weight: 900;
    color: var(--white);
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
    display: inline-block;
}

.text-gradient {
    color: var(--white);
}

.hero-subtitle {
    font-size: 20px;
    color: var(--gray-light);
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Waitlist Form */
.hero-waitlist {
    display: flex;
    gap: 0;
    margin-bottom: 32px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    border: 2px solid white;
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.hero-waitlist input {
    flex: 1;
    padding: 20px 24px;
    background: transparent;
    border: none;
    font-size: 15px;
    font-family: var(--font-body);
    color: var(--white);
    outline: none;
}

.hero-waitlist input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.hero-waitlist .btn {
    white-space: nowrap;
    border-radius: 0;
    background: white;
    color: black;
    border: none;
}

.hero-waitlist .btn:hover {
    background: var(--gray-light);
}

.hero-ctas {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 64px;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
}

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

.stat-value {
    display: block;
    font-size: 32px;
    font-weight: 800;
    font-family: var(--font-heading);
    color: var(--white);
    margin-bottom: 4px;
}

.stat-label {
    font-size: 11px;
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gray-medium);
}

.stat-divider {
    width: 1px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
}

.stat-item-link {
    text-decoration: none;
    transition: transform var(--transition-fast);
}

.stat-item-link:hover {
    transform: translateY(-2px);
}

.stat-item-link:hover .stat-value {
    color: var(--blue-600);
}

.stat-label-group {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.stat-note {
    font-size: 11px;
    color: var(--text-muted);
    opacity: 0.8;
}

/* Hero Visual */
.hero-visual {
    position: relative;
}

.visual-card {
    background: var(--code-bg);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow:
        0 25px 50px -12px rgba(0, 0, 0, 0.25),
        0 0 0 1px rgba(0, 0, 0, 0.05);
}

.visual-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.visual-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
}

.visual-dots span:first-child {
    background: #ff5f57;
}

.visual-dots span:nth-child(2) {
    background: #ffbd2e;
}

.visual-dots span:nth-child(3) {
    background: #28ca42;
}

.visual-title {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
}

.visual-image {
    width: 100%;
    display: block;
}

/* ═══════════════════════════════════════════════════════════════════════════
   Logo Cloud
   ═══════════════════════════════════════════════════════════════════════════ */

.logo-cloud {
    padding: 100px 0;
    background: var(--bg-secondary);
    /* Alternating color */
    border-bottom: 1px solid var(--black);
    text-align: center;
}

.logos {
    display: flex;
    justify-content: center;
    gap: 80px;
    max-width: var(--container-width);
    margin: 0 auto;
}

.logo-item {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--black);
}

/* ═══════════════════════════════════════════════════════════════════════════
   Section Header
   ═══════════════════════════════════════════════════════════════════════════ */

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-badge {
    display: inline-block;
    padding: 8px 16px;
    background: var(--black);
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 400;
    border-radius: var(--radius-md);
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: var(--h2-size);
    font-weight: var(--h2-weight);
    text-transform: uppercase;
    letter-spacing: var(--h2-spacing);
    margin-bottom: 24px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   Vision Dark Pivot (Vertical Label & Scaled Type)
   ═══════════════════════════════════════════════════════════════════════════ */

.vision-dark {
    background: #000000;
    color: #FFFFFF;
    padding: 140px 0;
    overflow: hidden;
}

.vision-layout {
    display: flex;
    gap: 60px;
    align-items: center;
    /* Center vertically as requested */
}

.vision-side-label {
    padding-top: 10px;
    border-right: 2px solid rgba(255, 255, 255, 0.15);
    padding-right: 32px;
}

.vertical-text {
    writing-mode: vertical-lr;
    transform: rotate(180deg);
    font-family: var(--font-heading);
    font-size: 64px;
    /* Big vertical text */
    font-weight: 800;
    letter-spacing: 12px;
    color: rgba(255, 255, 255, 0.9);
    /* High visibility as requested */
    text-transform: uppercase;
    user-select: none;
}

.vision-main-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
    flex: 1;
}

.vision-text-content h2 {
    font-size: 32px;
    /* Reduced from 40px */
    line-height: 1.3;
    margin-bottom: 24px;
    color: #FFFFFF;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.vision-body .text-large {
    font-size: 18px;
    /* Reduced from 22px */
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
}

.vision-body .text-secondary {
    font-size: 14px;
    /* Reduced from 16px */
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.5);
}

.vision-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.seamless-img {
    width: 150%;
    /* Bigger impact */
    max-width: none;
    height: auto;
    display: block;
    filter: none;
    transform: translateX(10%);
}

.stat-subtext {
    display: block;
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 4px;
    font-style: italic;
}

/* ═══════════════════════════════════════════════════════════════════════════
   Installation Section (RTLViz Docs)
   ═══════════════════════════════════════════════════════════════════════════ */

.installation {
    padding: 100px 0;
    background: var(--bg-primary);
    /* White bg for alternating rhythm */
    border-top: 1px solid var(--gray-light);
}

.install-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
    margin-top: 60px;
}

.install-card {
    background: var(--white);
    border: 1px solid var(--gray-light);
    padding: 40px;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.install-card .code-block {
    margin-top: 0;
}

.install-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    background: var(--black);
}

.install-card:hover h3,
.install-card:hover p,
.install-card:hover .step-num {
    color: var(--white);
}

.install-card:hover .code-block {
    background: #1a1a1a;
}

.install-card:hover .code-header {
    background: rgba(255, 255, 255, 0.1);
}

.install-card:hover .code-header span {
    color: rgba(255, 255, 255, 0.7);
}

.install-card:hover .copy-btn {
    color: rgba(255, 255, 255, 0.7);
}

.step-num {
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 800;
    color: var(--accent-copper);
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.install-card h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 16px;
    letter-spacing: 1px;
}

.install-card p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.6;
    min-height: 80px;
    /* Force consistent height for 3-4 lines */
}

.code-snippet {
    background: #f8f9fa;
    border: 1px solid #eee;
    padding: 12px 16px;
    font-family: 'SF Mono', 'Fira Code', monospace;
    font-size: 13px;
    color: var(--black);
    border-radius: 4px;
}


/* Dark Card Variant for Products */
.product-card.dark {
    background: #000000;
    border-color: #333333;
    color: #FFFFFF;
}

.product-card.dark h3 {
    color: #FFFFFF;
}

.product-card.dark p {
    color: rgba(255, 255, 255, 0.6);
}

.product-card.dark .product-link {
    color: #FFFFFF;
}

.product-card.dark .product-badge.coming-soon {
    background: #333333;
    color: #FFFFFF;
}


/* ═══════════════════════════════════════════════════════════════════════════
   Installation Section
   ═══════════════════════════════════════════════════════════════════════════ */

.installation {
    padding: var(--section-padding) 0;
    background: var(--bg-primary);
}

.install-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.install-step {
    background: var(--white);
    border: 2px solid var(--black);
    padding: 40px;
    transition: all var(--transition-base);
}

.install-step:hover {
    background: var(--black);
    color: var(--white);
}

.install-step:hover p {
    color: var(--gray-light);
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--black);
    color: white;
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 800;
    border-radius: 0;
    margin-bottom: 24px;
}

.install-step:hover .step-number {
    background: white;
    color: black;
}

.install-step h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.install-step>p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

/* Code Block */
.code-block {
    background: var(--code-bg);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.code-block.light {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-light);
}

.code-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.code-block.light .code-header {
    background: rgba(0, 0, 0, 0.03);
    border-bottom-color: var(--border-light);
}

.code-header span {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.code-block.light .code-header span {
    color: var(--text-muted);
}

.copy-btn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: all var(--transition-fast);
}

.copy-btn:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
}

.copy-btn.copied {
    color: var(--success);
}

.code-block pre {
    padding: 16px;
    overflow-x: hidden;
    white-space: pre-wrap;
    word-break: break-word;
}

.code-block code {
    font-family: 'SF Mono', 'Fira Code', monospace;
    font-size: 14px;
    color: #e2e8f0;
    line-height: 1.6;
}

.code-block.light code {
    color: var(--text-primary);
}

.code-block .prompt {
    color: var(--blue-500);
    margin-right: 8px;
}

.code-block .comment {
    color: var(--text-muted);
}

/* ═══════════════════════════════════════════════════════════════════════════
   Features Section
   ═══════════════════════════════════════════════════════════════════════════ */

.features {
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--white);
    border: 2px solid var(--black);
    padding: 40px;
    transition: all var(--transition-base);
}

.feature-card:hover {
    background: var(--black);
    color: var(--white);
    transform: translateY(-8px);
}

.feature-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--off-white);
    border-radius: 0;
    margin-bottom: 24px;
    color: var(--black);
    transition: all var(--transition-base);
}

.feature-card:hover .feature-icon {
    background: var(--white);
    color: var(--black);
}

.feature-card h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 14px;
    color: var(--text-secondary);
}

.feature-card:hover p {
    color: var(--gray-light);
}

.technology {
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
    /* Alternating color for depth */
}

/* Z-Pattern (Architecture Section) */
.z-pattern {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.z-pattern-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    background: var(--white);
    border: 2px solid var(--black);
    padding: 40px;
    transition: all 0.3s ease;
}

.z-pattern-item:nth-child(even) {
    direction: rtl;
}

.z-pattern-item:nth-child(even)>* {
    direction: ltr;
}

.z-pattern-item:hover {
    background: var(--black);
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.z-pattern-item:hover .z-content h3,
.z-pattern-item:hover .z-content p {
    color: var(--white);
}

.z-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.z-content h3 {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
    transition: color 0.3s ease;
}

.z-content p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

/* ═══════════════════════════════════════════════════════════════════════════
   Products Section
   ═══════════════════════════════════════════════════════════════════════════ */

.products {
    padding: var(--section-padding) 0;
    background: var(--bg-primary);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.product-card {
    background: var(--white);
    border: 2px solid var(--black);
    padding: 60px;
    transition: all var(--transition-base);
}

.product-card:hover {
    border-color: var(--border-medium);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
}

.product-card.featured {
    background: var(--black);
    color: var(--white);
}

.product-badge {
    display: inline-block;
    padding: 6px 12px;
    background: var(--accent-copper);
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
}

.product-badge.coming-soon {
    background: var(--text-muted);
}

.product-card h3 {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.product-card p {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.product-card.featured p {
    color: var(--gray-light);
}

.product-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--black);
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: gap var(--transition-fast);
}

.product-card.featured .product-link {
    color: var(--white);
}

.product-link:hover {
    gap: 10px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   About Section
   ═══════════════════════════════════════════════════════════════════════════ */

.about {
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-text .section-badge {
    margin-bottom: 20px;
}

.about-text h2 {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 32px;
}

.about-text p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-stats {
    display: flex;
    gap: 32px;
    margin-top: 32px;
}

.about-stat .value {
    font-family: var(--font-heading);
    font-size: 40px;
    font-weight: 800;
    color: var(--black);
}

.about-stat .label {
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gray-medium);
}

/* About Visual - Chart */
.about-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.growth-chart {
    display: flex;
    gap: 48px;
    height: 200px;
    align-items: flex-end;
    margin-bottom: 16px;
}

.chart-bar {
    width: 80px;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 16px;
    font-size: 14px;
    font-weight: 700;
    color: white;
    transition: transform var(--transition-base);
}

.chart-bar:hover {
    transform: scaleY(1.05);
    transform-origin: bottom;
}

.bar-2025 {
    height: 90px;
    background: var(--blue-500);
}

.bar-2034 {
    height: 200px;
    background: linear-gradient(180deg, var(--blue-600) 0%, var(--blue-700) 100%);
}

.chart-labels {
    display: flex;
    gap: 108px;
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}

.growth-indicator {
    margin-top: 24px;
    padding: 8px 20px;
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
    font-size: 14px;
    font-weight: 700;
    border-radius: var(--radius-full);
}

/* ═══════════════════════════════════════════════════════════════════════════
   CTA Section
   ═══════════════════════════════════════════════════════════════════════════ */

.cta {
    padding: var(--section-padding) 0;
    background: var(--black);
    color: var(--white);
    text-align: center;
}

.cta-card {
    max-width: 800px;
    margin: 0 auto;
}

.cta-card h2 {
    font-family: var(--font-heading);
    font-size: 56px;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 32px;
}

.cta-card>p {
    font-size: 18px;
    opacity: 0.9;
    max-width: 480px;
    margin: 0 auto 36px;
}

.waitlist-form {
    display: flex;
    gap: 12px;
    justify-content: center;
    max-width: 480px;
    margin: 0 auto;
}

.waitlist-form input {
    flex: 1;
    padding: 16px 24px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: var(--radius-full);
    color: white;
    font-size: 15px;
    font-family: var(--font-family);
    outline: none;
    transition: all var(--transition-fast);
}

.waitlist-form input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.waitlist-form input:focus {
    background: rgba(255, 255, 255, 0.2);
    border-color: white;
}

.waitlist-form .btn-primary {
    background: white;
    color: var(--blue-600);
}

.waitlist-form .btn-primary:hover {
    background: var(--bg-secondary);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.cta-features {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-top: 28px;
}

.cta-features span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    opacity: 0.8;
}

/* ═══════════════════════════════════════════════════════════════════════════
   Footer
   ═══════════════════════════════════════════════════════════════════════════ */

.footer {
    padding: 100px 0 60px;
    background: var(--bg-secondary);
    color: var(--black);
    border-top: 1px solid var(--black);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* Updated to 2 columns */
    gap: 80px;
    margin-bottom: 60px;
}

.footer-col h4 {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 32px;
}

.footer-tagline {
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-top: 24px;
    max-width: 280px;
}

.footer-links,
.footer-contact-list {
    list-style: none;
    padding: 0;
}

.footer-links li,
.footer-contact-list li {
    margin-bottom: 16px;
}

.footer-links a,
.footer-contact-list a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 14px;
    transition: var(--transition-base);
}

.footer-links a:hover,
.footer-contact-list a:hover {
    color: var(--black);
}

.footer-newsletter {
    display: flex;
    gap: 8px;
    margin-top: 24px;
}

.footer-newsletter input {
    flex: 1;
    padding: 12px 16px;
    background: var(--white);
    border: 1px solid var(--black);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 14px;
    outline: none;
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid var(--gray-light);
}

.footer-bottom p {
    font-size: 12px;
    color: var(--text-muted);
    letter-spacing: 1px;
}

.footer-bottom a {
    color: var(--blue-600);
    text-decoration: none;
}

/* ═══════════════════════════════════════════════════════════════════════════
   Layout Utilities
   ═══════════════════════════════════════════════════════════════════════════ */

.z-pattern-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-bottom: 100px;
}

.z-pattern-item:nth-child(even) {
    direction: rtl;
}

.z-pattern-item:nth-child(even) .z-content {
    direction: ltr;
}

.z-pattern-item:nth-child(even) {
    direction: rtl;
}

.z-pattern-item:nth-child(even) .z-content {
    direction: ltr;
}

.z-image img {
    width: 100%;
    height: auto;
    border: 1px solid var(--black);
    border-radius: var(--radius-lg);
}

.z-content h3 {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 24px;
}

.z-content p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
}

/* ═══════════════════════════════════════════════════════════════════════════
   Toast
   ═══════════════════════════════════════════════════════════════════════════ */

@media (max-width: 768px) {

    /* Architecture Section Horizontal Scroll */
    .z-pattern {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 16px;
        padding: 0 16px 24px 16px;
        /* Padding for scroll and shadow */
        margin: 0 -16px;
        /* Negative margin to pull scroll to edges */
        width: calc(100% + 32px);
        -webkit-overflow-scrolling: touch;
    }

    /* Hide scrollbar */
    .z-pattern::-webkit-scrollbar {
        display: none;
    }

    .z-pattern {
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    .z-pattern-item {
        flex: 0 0 85%;
        /* Card width */
        grid-template-columns: 1fr;
        gap: 24px;
        margin-bottom: 0;
        scroll-snap-align: center;
        background: var(--white);
        border: 1px solid var(--gray-light);
        padding: 24px;
        border-radius: var(--radius-md);
    }

    .z-pattern-item:first-child {
        margin-top: 0;
    }

    .z-pattern-item:nth-child(even) .z-image {
        order: -1;
        /* Reset order so image is always on top */
    }

    .z-image img {
        height: 200px;
        /* Fixed height for consistency */
        object-fit: contain;
        /* changed from cover to contain to show full diagram */
        background: var(--off-white);
    }

    .z-content h3 {
        font-size: 20px;
        margin-top: 16px;
        margin-bottom: 12px;
    }

    .z-content p {
        font-size: 14px;
    }
}

.toast {
    position: fixed;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 24px;
    background: var(--text-primary);
    color: white;
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s var(--ease-out);
    z-index: 2000;
}

.toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    visibility: visible;
}

.toast svg {
    color: var(--success);
}

/* ═══════════════════════════════════════════════════════════════════════════
   Animations
   ═══════════════════════════════════════════════════════════════════════════ */

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.7s var(--ease-out);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ═══════════════════════════════════════════════════════════════════════════
   Responsive
   ═══════════════════════════════════════════════════════════════════════════ */

@media (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 48px;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-ctas {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 72px;
    }

    /* Navbar Mobile */
    .navbar {
        padding: calc(16px + env(safe-area-inset-top)) 0 16px;
    }

    .navbar.menu-open {
        height: 100vh;
        background: #ffffff !important;
        bottom: 0;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: #ffffff !important;
        z-index: 999;
        padding: 100px 32px 40px;
        gap: 0;
        overflow-y: auto;
    }

    .nav-links.active {
        display: flex;
        background: #ffffff !important;
    }

    .nav-links a {
        font-size: 18px;
        padding: 20px 0;
        border-bottom: 1px solid #eee;
        letter-spacing: 1.5px;
        color: #000;
    }

    .nav-links a:last-child {
        border-bottom: none;
    }

    /* Hamburger button */
    .nav-hamburger {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        width: 28px;
        height: 28px;
        cursor: pointer;
        z-index: 1002;
        position: relative;
        background: none;
        border: none;
        padding: 0;
    }

    .nav-hamburger span {
        display: block;
        width: 100%;
        height: 2px;
        background: #000;
        transition: all 0.3s ease;
    }

    .nav-hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .nav-container {
        padding: 0 16px;
    }

    .logo {
        margin-right: 0;
        position: relative;
        z-index: 1001;
    }

    .nav-cta {
        padding: 8px 12px;
        font-size: 12px;
        height: 36px;
    }

    .nav-cta-secondary {
        display: none;
        /* Hide subscribe on mobile navbar to save space */
    }

    .nav-actions {
        gap: 8px;
        margin-left: 0;
    }

    /* Hero Mobile */
    .hero {
        padding: 120px 16px 60px;
        gap: 32px;
    }

    .hero-title {
        font-size: 32px;
        min-height: 100px;
        letter-spacing: -0.5px;
    }

    .text-over {
        font-size: 48px;
    }

    .cursor {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 16px;
        margin-bottom: 24px;
    }

    /* Hero Waitlist Form Mobile - Stack vertically */
    .hero-waitlist {
        flex-direction: column;
        gap: 12px;
        max-width: 100%;
    }

    .hero-waitlist input {
        width: 100%;
        padding: 14px 18px;
        font-size: 16px;
        /* Prevents iOS zoom on focus */
    }

    .hero-waitlist .btn {
        width: 100%;
        justify-content: center;
        padding: 14px 20px;
    }

    .btn-lg {
        padding: 14px 24px;
        font-size: 15px;
    }

    .hero-ctas {
        flex-direction: column;
        gap: 12px;
    }

    .hero-ctas .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 24px;
        justify-content: center;
    }

    .stat-divider {
        display: none;
    }

    .stat-value {
        font-size: 20px;
    }

    /* Hero Visual Mobile */
    .hero-visual {
        order: 0;
        /* Text first, visual second */
        margin-top: 24px;
    }

    .visual-card {
        border-radius: var(--radius-md);
    }

    /* Logo Cloud Mobile */
    .logos {
        gap: 24px;
        flex-wrap: wrap;
    }

    .logo-item svg {
        width: 32px;
        height: 32px;
    }

    /* Sections Mobile */
    .section-header h2 {
        font-size: 28px;
    }

    .section-header p {
        font-size: 15px;
    }

    .install-grid,
    .features-grid,
    .products-grid {
        grid-template-columns: 1fr;
    }

    .install-step.full-width {
        grid-column: auto;
    }

    .install-step,
    .feature-card,
    .product-card {
        padding: 20px;
    }

    /* CTA Section Mobile */
    .waitlist-form {
        flex-direction: column;
    }

    .waitlist-form input {
        font-size: 16px;
        /* Prevents iOS zoom */
    }

    .cta-card {
        padding: 40px 20px;
    }

    .cta-card h2 {
        font-size: 24px;
    }

    .cta-features {
        flex-direction: column;
        gap: 12px;
    }

    /* About Section Mobile */
    .about-stats {
        flex-direction: column;
        gap: 16px;
    }

    .growth-chart {
        height: 150px;
    }

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

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

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .footer-contacts {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }

    .founder-separator {
        display: none;
    }

    .footer-contacts a {
        display: inline;
    }

    .separator {
        display: none;
    }
}

.footer-contacts {
    margin-top: 12px;
    font-size: 14px;
    color: var(--text-secondary);
}

.footer-contacts p {
    font-weight: 500;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.footer-contacts a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-contacts a:hover {
    color: var(--blue-600);
}

.founder-contact {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.founder-name {
    font-weight: 600;
    color: var(--text-primary);
}

.founder-links {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
}

.sep {
    color: var(--border-medium);
    font-size: 12px;
}

.founder-separator {
    margin: 0 16px;
    color: var(--border-medium);
}

.separator {
    margin: 0 8px;
    color: var(--border-medium);
}

/* Orange Badge for Beta - Solid Style */
.badge-orange {
    color: #FFFFFF !important;
    background: #FF5722 !important;
    border: none !important;
}

.product-card.dark .product-badge.coming-soon.badge-orange {
    color: #FFFFFF;
    background: #FF5722;
    border: none;
}

/* Blog Section */
.blog {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.blog-card {
    background: var(--white);
    border: 2px solid var(--black);
    padding: 60px;
    max-width: 1000px;
    margin: 0 auto;
    transition: all 0.3s ease;
}

.blog-card:hover {
    background: var(--black);
    transform: translateY(-5px);
}

.blog-card:hover h3,
.blog-card:hover p,
.blog-card:hover .product-link {
    color: var(--white);
}

.blog-card h3 {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 16px;
    color: var(--black);
}

.blog-card p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

/* Demo Section */
.demo {
    padding: 100px 0;
    background: var(--bg-primary);
    /* Contrasts with Docs (white) and Blog (secondary) if needed, or alternating */
    border-top: 1px solid var(--gray-light);
}

.video-thumbnail {
    display: inline-block;
    position: relative;
    max-width: 900px;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-thumbnail:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.video-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(255, 87, 34, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), background 0.3s ease;
    box-shadow: 0 10px 20px rgba(255, 87, 34, 0.3);
}

.video-thumbnail:hover .play-button {
    transform: translate(-50%, -50%) scale(1.1);
    background: #FF5722;
}

.play-button svg {
    width: 40px;
    height: 40px;
    color: white;
    margin-left: 4px;
}

/* Minimal Footer */
.footer-minimal {
    background: #FAFAFA;
    padding: 60px 0 40px;
    border-top: 1px solid var(--border-light);
    font-size: 14px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

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

.brand-name {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 18px;
    color: var(--black);
}

.brand-tagline {
    color: var(--text-secondary);
    font-size: 13px;
}

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

.footer-nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.footer-nav a:hover {
    color: var(--black);
}

.footer-divider {
    height: 1px;
    background: var(--border-light);
    margin-bottom: 32px;
    opacity: 0.6;
}

.footer-info {
    text-align: center;
    color: var(--text-muted);
}

.copyright {
    margin-bottom: 24px;
    font-size: 12px;
    color: var(--text-muted);
}

.founders-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.founders-label {
    font-weight: 600;
    color: var(--black);
    font-size: 13px;
}

.founders-list {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
}

.founder-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.founder-name {
    font-weight: 700;
    color: var(--black);
    font-size: 13px;
}

.founder-links {
    font-size: 12px;
    color: var(--text-muted);
}

.founder-links a {
    color: var(--text-secondary);
    text-decoration: none;
}

.founder-links a:hover {
    text-decoration: underline;
}

.separator {
    margin: 0 4px;
    color: var(--border-medium);
}

.founder-group-separator {
    color: var(--border-medium);
    margin: 0 12px;
    font-size: 20px;
    line-height: 0;
}

/* Pill Header (Blog Box) */
.pill-header {
    background: #000000;
    color: #FFFFFF;
    display: inline-block;
    padding: 12px 40px;
    border-radius: 8px;
    /* Slightly rounded corners */
    text-transform: uppercase;
    font-family: var(--font-heading);
    font-weight: 800;
    /* Extra bold */
    font-size: 24px;
    letter-spacing: 1px;
    margin-bottom: 24px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Blog Carousel Styles */
.blog-carousel {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.blog-carousel-track {
    display: flex;
    transition: transform 0.4s ease-in-out;
}

.blog-carousel .blog-card {
    flex: 0 0 100%;
    min-width: 100%;
    box-sizing: border-box;
    background: var(--white);
    border: 2px solid var(--black);
    padding: 40px;
    transition: all var(--transition-base);
}

.blog-carousel .blog-card:hover {
    background: var(--black);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.blog-carousel .blog-card:hover .blog-content h3,
.blog-carousel .blog-card:hover .blog-content p,
.blog-carousel .blog-card:hover .product-link {
    color: var(--white);
}

.blog-carousel .blog-content h3 {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
    color: var(--black);
}

.blog-carousel .blog-content p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.blog-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.blog-carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
}

.blog-carousel-dot.active {
    background: #000;
    transform: scale(1.2);
}

.blog-view-all {
    text-align: center;
    margin-top: 32px;
}

.blog-view-all a {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--black);
    text-decoration: none;
    transition: opacity var(--transition-fast);
}

.blog-view-all a:hover {
    opacity: 0.7;
}

/* ═══════════════════════════════════════════════════════════════════════════
   Mobile Fixes (Round 11 - Carousel & Vertical Vision)
   ═══════════════════════════════════════════════════════════════════════════ */

/* Hide carousel dots on desktop */
.carousel-dots {
    display: none;
}

@media (max-width: 768px) {

    /* 1. Global Safety */
    body {
        overflow-x: hidden;
    }

    /* 2. Documentation Carousel */
    .install-steps {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 16px;
        padding: 20px 0;
        margin: 0 -24px;
        /* Extend to edges */
        padding-left: 24px;
        padding-right: 24px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        /* Firefox */
    }

    .install-steps::-webkit-scrollbar {
        display: none;
        /* Chrome/Safari */
    }

    .install-card {
        flex: 0 0 80vw;
        /* Card width = 80% of viewport */
        scroll-snap-align: center;
        min-width: 80vw;
        box-sizing: border-box;
    }

    .code-snippet {
        white-space: nowrap;
        overflow-x: auto;
        font-size: 12px;
        padding: 10px 12px;
    }

    /* Carousel Dots */
    .carousel-dots {
        display: flex;
        justify-content: center;
        gap: 10px;
        margin-top: 20px;
    }

    .carousel-dot {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: #ddd;
        cursor: pointer;
        transition: background 0.3s ease, transform 0.2s ease;
    }

    .carousel-dot.active {
        background: #000;
        transform: scale(1.2);
    }

    /* 3. Vision Section - Keep Vertical Text */
    .vision-layout {
        flex-direction: row;
        /* Keep horizontal layout */
        gap: 24px;
        align-items: flex-start;
        text-align: left;
        padding: 0 16px;
    }

    .vision-side-label {
        border-right: 2px solid rgba(255, 255, 255, 0.15);
        border-bottom: none;
        padding-right: 20px;
        padding-bottom: 0;
        width: auto;
        display: block;
        flex-shrink: 0;
    }

    .vertical-text {
        writing-mode: vertical-lr;
        transform: rotate(180deg);
        font-size: 28px;
        /* Smaller for mobile */
        letter-spacing: 8px;
    }

    .vision-main-content {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .vision-text-content h2 {
        font-size: 24px;
    }

    .vision-body .text-large {
        font-size: 14px;
    }

    .seamless-img {
        width: 100%;
        max-width: 100%;
        transform: none;
    }

    /* 4. Footer Mobile Alignment */
    .founders-list {
        flex-direction: column;
        gap: 24px;
    }

    .founder-item {
        align-items: center;
        text-align: center;
    }

    .founder-group-separator {
        display: none;
    }
}

/* SEO Utility Classes */
.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}


/* 
   Careers Page
    */

.careers-page {
    background-color: var(--black);
    color: var(--white);
    min-height: 100vh;
}

.careers-hero {
    padding: 180px 0 100px;
    text-align: center;
    background: radial-gradient(circle at 50% 50%, #1a1a1a 0%, #000000 70%);
}

.careers-hero .hero-title {
    font-size: 80px;
    margin-bottom: 24px;
    line-height: 1.1;
}

.careers-hero .hero-subtitle {
    max-width: 600px;
    margin: 0 auto;
    font-size: 20px;
    color: #888;
    font-weight: 400;
}

.careers-list {
    padding: 0 0 160px;
}

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

.job-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 32px 40px;
    border-radius: 4px;
    /* Slightly squarer radius */
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
    overflow: hidden;
}

.job-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 8px;
}

.job-title {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 0.5px;
}

.job-location {
    font-family: var(--font-body);
    font-size: 14px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.job-description {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: #aaa;
    margin-bottom: 16px;
}

.job-apply-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: auto;
    width: fit-content;
    padding-bottom: 2px;
    border-bottom: 1px solid transparent;
    transition: all 0.2s ease;
}

.job-apply-link:hover {
    padding-left: 4px;
    border-bottom-color: var(--white);
}

.job-apply-link .arrow {
    transition: transform 0.2s ease;
}

.job-apply-link:hover .arrow {
    transform: translateX(4px);
}

/* Mobile Responsiveness for Careers */
@media (max-width: 768px) {
    .careers-hero .hero-title {
        font-size: 32px;
    }

    .job-card {
        padding: 24px;
    }

    .job-header {
        flex-direction: column;
        gap: 8px;
    }
}