/* ========================================
   CryoStats.io — Full Site Stylesheet
   ======================================== */

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

:root {
    --bg: #F0F6FF;
    --bg-tint: #E8F0FE;
    --bg-dark: #060D1E;
    --bg-dark-gradient: linear-gradient(160deg, #0A1628, #0D2060, #060D1E);

    --border: rgba(0, 30, 80, 0.08);
    --border-strong: rgba(0, 30, 80, 0.16);
    --border-dark: rgba(255, 255, 255, 0.07);

    --text-primary: #0A1628;
    --text-body: #3A4A68;
    --text-muted: #7A8AA8;

    --text-primary-dark: #E4EEFF;
    --text-body-dark: rgba(255, 255, 255, 0.55);
    --text-muted-dark: rgba(255, 255, 255, 0.4);

    --accent: #4B9DFF;
    --accent-hover: #3A8AEE;
    --accent-bg: rgba(75, 157, 255, 0.08);

    --surface-dark: rgba(255, 255, 255, 0.04);

    --cta-shadow: 0 4px 20px rgba(75, 157, 255, 0.4);

    --radius-sm: 4px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 14px;
    --radius-full: 9999px;

    --shadow-md: 0 2px 12px rgba(0, 20, 60, 0.08);
    --shadow-lg: 0 8px 32px rgba(0, 20, 60, 0.12);

    --font-display: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
    --font: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', 'SF Mono', 'Fira Code', monospace;

    --sample-dna: #4A7FC1;
    --sample-rna: #C84848;
    --sample-protein: #3A9E62;
    --sample-cell-line: #7B52B8;
    --sample-tissue: #C8527A;
    --sample-plasmid: #D07030;
    --sample-primer: #A89420;
    --sample-antibody: #2A8FA8;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font);
    color: var(--text-body);
    background: var(--bg);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

.container-narrow {
    max-width: 760px;
    margin: 0 auto;
    padding: 0 24px;
}

.gradient-text {
    font-style: normal;
    color: var(--accent);
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: var(--accent);
    background-clip: unset;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font);
    font-weight: 700;
    font-size: 1rem;
    padding: 12px 24px;
    border-radius: var(--radius-xl);
    border: none;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s, color 0.15s, box-shadow 0.15s;
    white-space: nowrap;
    text-decoration: none;
}

.btn-primary {
    background: var(--accent);
    color: #fff;
    box-shadow: var(--cta-shadow);
}
.btn-primary:hover {
    background: var(--accent-hover);
    box-shadow: 0 4px 28px rgba(75, 157, 255, 0.55);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1.5px solid var(--border-strong);
}
.btn-outline:hover {
    border-color: var(--text-body);
}

.btn-lg { padding: 14px 30px; font-size: 1rem; }

/* ========================================
   NAVBAR
   ======================================== */
.navbar {
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(240, 246, 255, 0.94);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 9px;
    font-family: var(--font);
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: -0.01em;
    flex-shrink: 0;
}

.logo-icon {
    width: 28px;
    height: 28px;
    border-radius: 7px;
}

.logo-dot {
    color: var(--accent);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
}

.nav-links a {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-body);
    transition: color 0.15s;
}
.nav-links a:hover {
    color: var(--text-primary);
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Hamburger */
.nav-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px;
}
.nav-hamburger span {
    display: block;
    height: 1.5px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.25s ease;
}

/* Mobile menu */
.nav-mobile-menu {
    display: none;
    flex-direction: column;
    padding: 12px 24px 20px;
    border-top: 1px solid var(--border);
    background: var(--bg);
    gap: 0;
}
.nav-mobile-menu.open {
    display: flex;
}
.nav-mobile-menu a {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-body);
    padding: 11px 0;
    border-bottom: 1px solid var(--border);
    transition: color 0.15s;
}
.nav-mobile-menu a:last-child {
    border-bottom: none;
}
.nav-mobile-menu a:hover {
    color: var(--accent);
}

/* ========================================
   HERO
   ======================================== */
.hero {
    padding: 80px 0 96px;
    text-align: left;
    position: relative;
    background: var(--bg-dark-gradient);
    color: var(--text-primary-dark);
    overflow: hidden;
}

.hero-bg {
    display: block;
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-gradient {
    display: block;
    position: absolute;
    inset: 0;
    background: var(--bg-dark-gradient);
}

.hero-grid {
    display: block;
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
}

.hero-container {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 64px;
}

.hero-copy {
    flex: 1 1 0;
    min-width: 0;
}

.hero-phone {
    flex: 0 0 auto;
    display: flex;
    justify-content: center;
}

/* iPhone device frame */
.device-iphone {
    position: relative;
    width: 300px;
    padding: 12px;
    background: linear-gradient(155deg, #34373d 0%, #0a0b0e 55%, #1a1c20 100%);
    border-radius: 46px;
    box-shadow:
        0 30px 70px rgba(0, 0, 0, 0.45),
        0 6px 18px rgba(0, 0, 0, 0.35),
        inset 0 0 0 2px rgba(255, 255, 255, 0.06);
}

.device-iphone picture {
    display: block;
    width: 100%;
}
.device-iphone img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 589 / 1280;
    border-radius: 34px;
}

.device-island {
    position: absolute;
    top: 21px;
    left: 50%;
    transform: translateX(-50%);
    width: 88px;
    height: 25px;
    background: #000;
    border-radius: 13px;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    padding: 4px 10px;
    background: rgba(75, 157, 255, 0.12);
    border-radius: var(--radius-full);
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 28px;
}

.hero .btn-outline {
    color: var(--text-primary-dark);
    border-color: rgba(255, 255, 255, 0.2);
}
.hero .btn-outline:hover {
    border-color: rgba(255, 255, 255, 0.4);
}

.badge-dot {
    display: none;
}

.hero h1 {
    font-family: var(--font-display);
    font-size: 4.25rem;
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.015em;
    color: var(--text-primary-dark);
    max-width: 760px;
    margin-bottom: 22px;
}

.hero-subtitle {
    font-size: 1.0625rem;
    color: var(--text-body-dark);
    max-width: 520px;
    margin: 0 0 36px;
    line-height: 1.72;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    flex-wrap: wrap;
}

/* ========================================
   SOCIAL PROOF STRIP
   ======================================== */
.social-proof {
    padding: 22px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--bg);
}

.social-proof-inner {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 40px;
    flex-wrap: wrap;
}

.proof-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-body);
}

.proof-icon {
    width: 18px;
    height: 18px;
    color: var(--accent);
    flex-shrink: 0;
}

/* ========================================
   SECTION COMMON
   ======================================== */
.section-header {
    margin-bottom: 48px;
    text-align: left;
}

.section-eyebrow {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 14px;
}

.section-header h2 {
    font-family: var(--font-display);
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.015em;
    color: var(--text-primary);
    margin-bottom: 14px;
}

.section-header p {
    font-size: 1rem;
    color: var(--text-body);
    max-width: 520px;
    line-height: 1.7;
}

/* ========================================
   FEATURES / PILLARS
   ======================================== */
.features {
    padding: 88px 0 96px;
    border-top: 1px solid var(--border);
}

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

.pillar-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 28px 24px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: #fff;
    text-align: left;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.pillar-card:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-md);
}

.pillar-num {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 0.04em;
    padding-top: 3px;
    font-variant-numeric: tabular-nums;
}

.pillar-icon {
    width: 40px;
    height: 40px;
    margin: 0;
    color: var(--accent);
    flex-shrink: 0;
}

.pillar-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.pillar-body h3 {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
    letter-spacing: -0.01em;
}

.pillar-body p {
    font-size: 0.875rem;
    color: var(--text-body);
    line-height: 1.65;
    max-width: 560px;
}

/* ========================================
   HOW IT WORKS
   ======================================== */
.how-it-works {
    padding: 88px 0;
    background: var(--bg-tint);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    position: relative;
}

.steps-grid::before {
    display: none;
}

.step-item {
    text-align: left;
    padding: 0 40px 0 0;
    position: relative;
    z-index: 1;
}

.step-item + .step-item {
    padding: 0 40px 0 40px;
    border-left: 1px solid var(--border);
}

.step-item:last-child {
    padding-right: 0;
}

.step-number {
    display: block;
    width: auto;
    height: auto;
    border-radius: 0;
    background: none;
    box-shadow: none;
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent);
    opacity: 0.25;
    margin: 0 0 20px;
    line-height: 1;
    letter-spacing: -0.02em;
}

.step-item h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.step-item p {
    font-size: 0.875rem;
    color: var(--text-body);
    line-height: 1.65;
}

/* ========================================
   APP PREVIEW
   ======================================== */
.app-preview {
    padding: 88px 0;
    background: var(--bg-dark-gradient);
    color: var(--text-primary-dark);
}
.app-preview .section-eyebrow {
    color: var(--text-muted-dark);
}
.app-preview .section-header h2 {
    color: var(--text-primary-dark);
}
.app-preview .section-header p {
    color: var(--text-body-dark);
}
.app-preview .screenshot-caption {
    color: var(--text-muted-dark);
}

.screenshots-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px 32px;
    margin: 48px auto 0;
    max-width: 880px;
}

.screenshot-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease;
}

.screenshot-item:hover {
    transform: translateY(-6px);
}

.screenshot-frame {
    border-radius: 38px;
    overflow: hidden;
    box-shadow: 0 16px 48px rgba(0,0,0,0.14), 0 4px 12px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,0,0,0.05);
    background: #fff;
    line-height: 0;
}

.screenshot-frame img {
    width: 100%;
    height: auto;
    display: block;
}

.screenshot-frame--empty {
    aspect-ratio: 320 / 693;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-50);
    border: 2px dashed var(--gray-200);
}

.screenshot-coming-soon {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--gray-400);
    letter-spacing: 0.02em;
}

.screenshot-caption {
    margin-top: 16px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-muted);
    text-align: center;
    line-height: 1.4;
}

/* ========================================
   PRICING
   ======================================== */
.pricing {
    padding: 88px 0;
    border-top: 1px solid var(--border);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 640px;
    margin: 0 auto;
}

.pricing-grid--three {
    grid-template-columns: repeat(3, 1fr);
    max-width: 960px;
}

.pricing-card {
    padding: 36px 32px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    position: relative;
    transition: none;
}

.pricing-card:hover {
    box-shadow: none;
    transform: none;
}

.pricing-card.featured {
    border-color: var(--accent);
    border-width: 1.5px;
    background: rgba(75, 157, 255, 0.04);
    box-shadow: 0 0 30px rgba(75, 157, 255, 0.08);
}

.pricing-badge {
    position: absolute;
    top: -11px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: var(--radius-sm);
    white-space: nowrap;
}

.pricing-plan {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 4px;
}

.price-amount {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    line-height: 1;
}

.price-period {
    font-size: 0.9375rem;
    color: var(--text-muted);
    font-weight: 500;
}

.pricing-note {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.pricing-post-beta-note {
    margin-top: 12px;
    font-size: 0.75rem;
    color: var(--text-muted);
    text-align: center;
}

.pricing-trial {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent);
    background: var(--accent-bg);
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    margin-bottom: 24px;
}

.pricing-features {
    list-style: none;
    margin-bottom: 24px;
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.875rem;
    color: var(--text-body);
    padding: 7px 0;
    border-bottom: 1px solid var(--border);
}
.pricing-features li:last-child {
    border-bottom: none;
}

.check-icon {
    width: 16px;
    height: 16px;
    color: var(--accent);
    flex-shrink: 0;
    margin-top: 2px;
}

.pricing-cta {
    display: block;
    text-align: center;
    padding: 12px;
    border-radius: var(--radius-xl);
    font-weight: 700;
    font-size: 0.9rem;
    transition: background 0.15s, border-color 0.15s, box-shadow 0.15s;
    cursor: pointer;
    text-decoration: none;
}

.pricing-cta.primary {
    background: var(--accent);
    color: #fff;
    box-shadow: var(--cta-shadow);
}
.pricing-cta.primary:hover {
    background: var(--accent-hover);
    box-shadow: 0 4px 28px rgba(75, 157, 255, 0.55);
}

.pricing-cta.secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1.5px solid var(--border-strong);
}
.pricing-cta.secondary:hover {
    border-color: var(--text-body);
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    padding: 52px 0 28px;
    border-top: 1px solid var(--border);
    background: #060D1E;
    color: rgba(255, 255, 255, 0.4);
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand .logo {
    color: #E4EEFF;
    margin-bottom: 12px;
    display: inline-flex;
}

.footer-brand p {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.65;
    max-width: 220px;
}

.footer-col h4 {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 16px;
}

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

.footer-col ul li a {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.55);
    transition: color 0.15s;
}
.footer-col ul li a:hover {
    color: #E4EEFF;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    flex-wrap: wrap;
    gap: 8px;
}

.footer-copy {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.3);
}

.footer-disclaimer {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.3);
}

/* ========================================
   ANIMATIONS
   ======================================== */
.reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

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

/* ========================================
   INNER PAGE LAYOUT (terms, privacy, etc.)
   ======================================== */
.page-hero {
    padding: 56px 0 44px;
    border-bottom: 1px solid var(--border);
    background: linear-gradient(180deg, var(--bg) 0%, var(--bg-tint) 100%);
}

.page-hero h1 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.015em;
    line-height: 1.1;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.page-hero p {
    font-size: 1rem;
    color: var(--text-body);
    line-height: 1.65;
}

.page-content {
    padding: 56px 0 96px;
}

.prose h2 {
    font-family: var(--font-display);
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 40px 0 12px;
    padding-top: 40px;
    border-top: 1px solid var(--border);
    letter-spacing: -0.01em;
}

.prose h2:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.prose h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 24px 0 8px;
    letter-spacing: -0.01em;
}

.prose p {
    font-size: 0.9375rem;
    color: var(--text-body);
    line-height: 1.75;
    margin-bottom: 16px;
}

.prose ul, .prose ol {
    margin: 0 0 16px 20px;
}

.prose li {
    font-size: 0.9375rem;
    color: var(--text-body);
    line-height: 1.75;
    margin-bottom: 6px;
}

.prose .callout {
    background: var(--accent-bg);
    border-left: 2px solid var(--accent);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    padding: 16px 20px;
    margin: 24px 0;
    font-size: 0.875rem;
    color: var(--text-body);
    line-height: 1.65;
}

.prose strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* ========================================
   SUPPORT PAGE
   ======================================== */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 48px;
}

.contact-card {
    padding: 28px 24px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: border-color 0.15s;
}
.contact-card:hover {
    border-color: var(--border-strong);
}

.contact-card-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: var(--accent-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    color: var(--accent);
}

.contact-card h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
    letter-spacing: -0.01em;
}
.contact-card p {
    font-size: 0.875rem;
    color: var(--text-body);
    line-height: 1.6;
    margin-bottom: 16px;
}
.contact-card a.link {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--accent);
    transition: color 0.15s;
}
.contact-card a.link:hover {
    color: var(--accent-hover);
}

/* ========================================
   FAQ PAGE
   ======================================== */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.faq-item {
    border-bottom: 1px solid var(--border);
}
.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    cursor: pointer;
    gap: 16px;
    user-select: none;
    transition: background 0.15s;
}
.faq-question:hover {
    background: var(--bg-tint);
}

.faq-question h3 {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.faq-chevron {
    width: 18px;
    height: 18px;
    color: var(--text-muted);
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

.faq-item.open .faq-chevron {
    transform: rotate(180deg);
}

.faq-answer {
    display: none;
    padding: 0 20px 18px;
}
.faq-item.open .faq-answer {
    display: block;
}

.faq-answer p {
    font-size: 0.875rem;
    color: var(--text-body);
    line-height: 1.7;
}

/* ========================================
   ABOUT PAGE
   ======================================== */
.about-hero-content {
    max-width: 640px;
}

.about-values {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 48px;
}

.value-card {
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
}

.value-card h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.value-card p {
    font-size: 0.875rem;
    color: var(--text-body);
    line-height: 1.65;
}

/* ========================================
   FREE TIER CALLOUT
   ======================================== */
.pricing-free-tier {
    font-family: var(--font-mono);
    font-size: 0.8125rem;
    color: var(--text-body);
    background: var(--accent-bg);
    padding: 10px 16px;
    border-radius: var(--radius-md);
    margin-bottom: 32px;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

/* ========================================
   SAMPLE TYPE DOTS
   ======================================== */
.sample-types-strip {
    display: flex;
    gap: 22px;
    flex-wrap: wrap;
    justify-content: center;
    padding: 16px 0;
}
.sample-dot {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--dot-color);
    display: flex;
    align-items: center;
    gap: 7px;
}
/* App sample-type glyph, tinted with the type color via CSS mask */
.sample-dot::before {
    content: '';
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    background: var(--dot-color);
    -webkit-mask: var(--glyph) center / contain no-repeat;
    mask: var(--glyph) center / contain no-repeat;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
    }
}

@media (max-width: 900px) {
    .hero-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 44px;
    }
    .hero-phone {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-cta { display: none; }
    .nav-hamburger { display: flex; }

    .hero { padding: 60px 0 80px; }
    .hero h1 { font-size: 2.75rem; }
    .hero-subtitle { margin-bottom: 32px; }

    .social-proof-inner {
        gap: 20px;
    }

    .pillars-grid {
        grid-template-columns: 1fr;
    }

    .steps-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .step-item {
        padding: 24px 0 0;
        border-left: none !important;
        border-top: 1px solid var(--border);
    }

    .step-item + .step-item {
        padding: 24px 0 0;
    }

    .step-item:first-child {
        border-top: none;
        padding-top: 0;
    }

    .screenshots-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 36px 24px;
        max-width: 560px;
    }

    .screenshot-item:hover {
        transform: none;
    }

    .pricing-grid,
    .pricing-grid--three {
        grid-template-columns: 1fr;
        max-width: 380px;
        margin: 0 auto;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

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

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .about-values {
        grid-template-columns: 1fr;
    }

    .page-hero h1 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 2.25rem; }
    .section-header h2 { font-size: 1.875rem; }
    .footer-top { grid-template-columns: 1fr; }
    .device-iphone { width: 260px; padding: 10px; border-radius: 40px; }
    .device-iphone picture,
    .device-iphone img { border-radius: 30px; }
    .device-island { top: 18px; width: 76px; height: 22px; }
    .screenshots-row { grid-template-columns: 1fr; max-width: 300px; gap: 36px; }
}

/* ========================================
   DARK MODE
   ======================================== */
@media (prefers-color-scheme: dark) {
    :root {
        --bg: #0A1628;
        --bg-tint: #0D1B33;
        --border: rgba(255, 255, 255, 0.07);
        --border-strong: rgba(255, 255, 255, 0.14);
        --text-primary: #E4EEFF;
        --text-body: rgba(255, 255, 255, 0.65);
        --text-muted: rgba(255, 255, 255, 0.4);
        --accent-bg: rgba(75, 157, 255, 0.1);
        --shadow-md: 0 2px 12px rgba(0, 0, 0, 0.3);
        --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.4);
    }

    .navbar {
        background: rgba(10, 22, 40, 0.94);
    }

    .pillar-card,
    .pricing-card,
    .contact-card,
    .value-card {
        background: var(--surface-dark);
    }

    .faq-list {
        border-color: rgba(255, 255, 255, 0.07);
    }

    .faq-item {
        border-color: rgba(255, 255, 255, 0.07);
    }

    .faq-question:hover {
        background: rgba(255, 255, 255, 0.03);
    }

    .cs-banner,
    .cs-notice,
    .cs-modal__card {
        background: #0E1A30;
        border-color: rgba(255, 255, 255, 0.12);
        color: var(--text-body-dark);
    }
    .cs-banner__text,
    .cs-notice__text,
    .cs-modal__desc { color: var(--text-body-dark); }
    .cs-modal__title,
    .cs-modal__row-title { color: var(--text-primary-dark); }
    .cs-btn--ghost { color: var(--text-primary-dark); border-color: rgba(255, 255, 255, 0.22); }
    .cs-toggle__track { background: rgba(255, 255, 255, 0.18); }
}

/* ========================================
   APP STORE BADGE
   ======================================== */
.appstore-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 9px 18px;
    background: #000;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--radius-xl);
    text-decoration: none;
    transition: transform 0.15s, box-shadow 0.15s;
}
.appstore-badge:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.28);
}
.appstore-badge-apple {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}
.appstore-badge-text {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
    text-align: left;
}
.appstore-badge-sub {
    font-size: 0.6rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    opacity: 0.92;
}
.appstore-badge-main {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 600;
}

/* On the dark hero, lift the badge off the navy gradient */
.hero .appstore-badge {
    border-color: rgba(255, 255, 255, 0.28);
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.38);
}

/* Compact badge for the navbar */
.appstore-badge--nav {
    padding: 6px 12px;
    gap: 7px;
}
.appstore-badge--nav .appstore-badge-apple { width: 17px; height: 17px; }
.appstore-badge--nav .appstore-badge-sub { font-size: 0.5rem; }
.appstore-badge--nav .appstore-badge-main { font-size: 0.85rem; }

/* Full-width badge inside pricing cards */
.appstore-badge--full {
    margin-top: 24px;
    width: 100%;
    justify-content: center;
}

.hero-foot {
    margin-top: 22px;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.02em;
    color: var(--text-muted-dark);
}

/* ========================================
   CRYOSTATS FOR MAC
   ======================================== */
.mac-section {
    padding: 88px 0;
    background: var(--bg);
    border-top: 1px solid var(--border);
}
.mac-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}
.mac-copy .section-eyebrow { display: block; margin-bottom: 16px; }
.mac-copy h2 {
    font-family: var(--font-display);
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.015em;
    color: var(--text-primary);
    margin-bottom: 18px;
}
.mac-copy > p {
    color: var(--text-body);
    line-height: 1.7;
    margin-bottom: 22px;
}
.mac-feature-list {
    list-style: none;
    margin: 0 0 22px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 11px;
}
.mac-feature-list li {
    position: relative;
    padding-left: 26px;
    color: var(--text-body);
    font-size: 0.95rem;
    line-height: 1.5;
}
.mac-feature-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 7px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--accent-bg);
    box-shadow: inset 0 0 0 2px var(--accent);
}
.mac-note {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    line-height: 1.6;
    color: var(--text-muted);
    background: var(--accent-bg);
    border-radius: var(--radius-md);
    padding: 14px 16px;
}
.mac-shot {
    width: 100%;
}
.mac-shot img {
    width: 100%;
    height: auto;
    /* Screenshot ships with its own native window corners + drop shadow,
       so no CSS border-radius/box-shadow here (avoids a double shadow). */
}

.pricing-fineprint {
    max-width: 640px;
    margin: 28px auto 0;
    text-align: center;
    font-size: 0.72rem;
    line-height: 1.6;
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .mac-inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .appstore-badge--nav {
        display: none;
    }
}

/* ========================================
   COOKIE CONSENT (cs-*)
   ======================================== */
.cs-hidden { display: none !important; }

#cs-consent {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    display: flex;
    justify-content: center;
    padding: 16px;
    pointer-events: none;
}
#cs-consent > * { pointer-events: auto; }

.cs-banner,
.cs-notice {
    width: 100%;
    max-width: 720px;
    background: var(--bg-tint);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 18px;
}
.cs-notice { max-width: 760px; padding: 12px 18px; }

.cs-banner__text,
.cs-notice__text {
    flex: 1;
    margin: 0;
    font-family: var(--font);
    font-size: 0.85rem;
    line-height: 1.55;
    color: var(--text-body);
}
.cs-notice__text { font-size: 0.8125rem; }
.cs-link { color: var(--accent); text-decoration: underline; }

.cs-banner__actions,
.cs-notice__actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

/* Accept and Reject get equal size/shape (reject as easy as accept) */
.cs-btn {
    font-family: var(--font);
    font-weight: 700;
    font-size: 0.85rem;
    padding: 9px 18px;
    border-radius: var(--radius-xl);
    border: 1.5px solid transparent;
    background: var(--accent);
    color: #fff;
    cursor: pointer;
    white-space: nowrap;
    box-shadow: var(--cta-shadow);
    transition: background 0.15s, border-color 0.15s, box-shadow 0.15s;
}
.cs-btn:hover { background: var(--accent-hover); }
.cs-btn--ghost {
    background: transparent;
    color: var(--text-primary);
    border-color: var(--border-strong);
    box-shadow: none;
}
.cs-btn--ghost:hover { border-color: var(--text-body); }

/* Preferences modal */
.cs-modal {
    position: fixed;
    inset: 0;
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.cs-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(6, 13, 30, 0.5);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}
.cs-modal__card {
    position: relative;
    width: 100%;
    max-width: 460px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 28px;
}
.cs-modal__title {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 8px;
}
.cs-modal__desc {
    font-size: 0.85rem;
    line-height: 1.55;
    color: var(--text-body);
    margin: 0 0 20px;
}
.cs-modal__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.cs-modal__row-title { font-weight: 600; color: var(--text-primary); font-size: 0.9rem; }
.cs-modal__row-sub { font-family: var(--font-mono); font-size: 0.72rem; color: var(--text-muted); margin-top: 2px; }
.cs-modal__status {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    line-height: 1.5;
    color: var(--text-muted);
    margin: 14px 0 20px;
    min-height: 1em;
}
.cs-modal__actions { display: flex; gap: 10px; justify-content: flex-end; }

/* Toggle switch */
.cs-toggle { position: relative; display: inline-block; width: 44px; height: 26px; flex-shrink: 0; }
.cs-toggle input { position: absolute; opacity: 0; width: 0; height: 0; }
.cs-toggle__track {
    position: absolute;
    inset: 0;
    background: var(--border-strong);
    border-radius: var(--radius-full);
    transition: background 0.18s;
}
.cs-toggle__track::before {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 20px;
    height: 20px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
    transition: transform 0.18s;
}
.cs-toggle input:checked + .cs-toggle__track { background: var(--accent); }
.cs-toggle input:checked + .cs-toggle__track::before { transform: translateX(18px); }
.cs-toggle input:disabled + .cs-toggle__track { opacity: 0.5; }

@media (max-width: 768px) {
    .cs-banner,
    .cs-notice { flex-direction: column; align-items: stretch; }
    .cs-banner__actions,
    .cs-notice__actions { justify-content: stretch; }
    .cs-btn { flex: 1; }
}
