/* ==========================================================================
   BFVZ Design System — Concept C "Premium Modern"
   Desktop-first, dark default, light/dark toggle via data-theme
   ========================================================================== */

/* --------------------------------------------------------------------------
   FONTS — Self-hosted IBM Plex (WOFF2)
   -------------------------------------------------------------------------- */
@font-face {
    font-family: 'IBM Plex Sans';
    font-style: normal;
    font-weight: 300 700;
    font-display: swap;
    src: url('../fonts/IBMPlexSans-Variable-Latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'IBM Plex Sans';
    font-style: normal;
    font-weight: 300 700;
    font-display: swap;
    src: url('../fonts/IBMPlexSans-Variable-LatinExt.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'IBM Plex Mono';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/IBMPlexMono-Regular-Latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'IBM Plex Mono';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/IBMPlexMono-Regular-LatinExt.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'IBM Plex Mono';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('../fonts/IBMPlexMono-Medium-Latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'IBM Plex Mono';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('../fonts/IBMPlexMono-Medium-LatinExt.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* --------------------------------------------------------------------------
   CUSTOM PROPERTIES — Dark mode (default)
   -------------------------------------------------------------------------- */
:root,
[data-theme="dark"] {
    --bg-primary: #0a0a0a;
    --bg-secondary: #111111;
    --bg-surface: rgba(255, 255, 255, 0.05);
    --bg-surface-hover: rgba(255, 255, 255, 0.08);

    --accent-primary: #3b82f6;
    --accent-primary-hover: #2563eb;
    --accent-primary-dim: rgba(59, 130, 246, 0.12);
    --accent-secondary: #14b8a6;
    --accent-secondary-hover: #0d9488;
    --accent-secondary-dim: rgba(20, 184, 166, 0.12);
    --accent-tertiary: #d97706;
    --accent-tertiary-dim: rgba(217, 119, 6, 0.12);

    --color-success: #22c55e;
    --color-success-dim: rgba(34, 197, 94, 0.12);
    --color-warning: #ef4444;
    --color-warning-dim: rgba(239, 68, 68, 0.12);

    --text-heading: #ffffff;
    --text-primary: #e2e8f0;
    --text-secondary: #cbd5e1;
    --text-muted: #64748b;
    --text-link: #3b82f6;

    --border: rgba(255, 255, 255, 0.08);
    --border-light: rgba(255, 255, 255, 0.1);
    --border-accent: rgba(255, 255, 255, 0.15);

    --shadow-card: 0 0 0 1px rgba(255, 255, 255, 0.06), 0 8px 32px rgba(0, 0, 0, 0.4);
    --shadow-elevated: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 24px 80px rgba(0, 0, 0, 0.5);

    --nav-bg: rgba(10, 10, 10, 0.8);
    --blueprint-opacity: 0;
    --noise-opacity: 0.02;
    --gradient-primary: linear-gradient(135deg, #3b82f6, #14b8a6);

    color-scheme: dark;
}

/* --------------------------------------------------------------------------
   CUSTOM PROPERTIES — Light mode
   -------------------------------------------------------------------------- */
[data-theme="light"] {
    --bg-primary: #fafafa;
    --bg-secondary: #ffffff;
    --bg-surface: rgba(0, 0, 0, 0.02);
    --bg-surface-hover: rgba(0, 0, 0, 0.04);

    --accent-primary: #2563eb;
    --accent-primary-hover: #1d4ed8;
    --accent-primary-dim: rgba(37, 99, 235, 0.08);
    --accent-secondary: #0d9488;
    --accent-secondary-hover: #0f766e;
    --accent-secondary-dim: rgba(13, 148, 136, 0.08);
    --accent-tertiary: #b45309;
    --accent-tertiary-dim: rgba(180, 83, 9, 0.08);

    --color-success: #16a34a;
    --color-success-dim: rgba(22, 163, 74, 0.08);
    --color-warning: #dc2626;
    --color-warning-dim: rgba(220, 38, 38, 0.08);

    --text-heading: #020617;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --text-link: #2563eb;

    --border: rgba(0, 0, 0, 0.06);
    --border-light: rgba(0, 0, 0, 0.08);
    --border-accent: rgba(0, 0, 0, 0.12);

    --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.06);
    --shadow-elevated: 0 16px 64px rgba(0, 0, 0, 0.1);

    --nav-bg: rgba(250, 250, 250, 0.8);
    --blueprint-opacity: 0;
    --noise-opacity: 0;

    color-scheme: light;
}

/* Auto light mode when no data-theme set and system prefers light */
@media (prefers-color-scheme: light) {
    :root:not([data-theme="dark"]) {
        --bg-primary: #fafafa;
        --bg-secondary: #ffffff;
        --bg-surface: rgba(0, 0, 0, 0.02);
        --bg-surface-hover: rgba(0, 0, 0, 0.04);

        --accent-primary: #2563eb;
        --accent-primary-hover: #1d4ed8;
        --accent-primary-dim: rgba(37, 99, 235, 0.08);
        --accent-secondary: #0d9488;
        --accent-secondary-hover: #0f766e;
        --accent-secondary-dim: rgba(13, 148, 136, 0.08);
        --accent-tertiary: #b45309;
        --accent-tertiary-dim: rgba(180, 83, 9, 0.08);

        --color-success: #16a34a;
        --color-success-dim: rgba(22, 163, 74, 0.08);
        --color-warning: #dc2626;
        --color-warning-dim: rgba(220, 38, 38, 0.08);

        --text-heading: #020617;
        --text-primary: #0f172a;
        --text-secondary: #475569;
        --text-muted: #94a3b8;
        --text-link: #2563eb;

        --border: rgba(0, 0, 0, 0.06);
        --border-light: rgba(0, 0, 0, 0.08);
        --border-accent: rgba(0, 0, 0, 0.12);

        --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.06);
        --shadow-elevated: 0 16px 64px rgba(0, 0, 0, 0.1);

        --nav-bg: rgba(250, 250, 250, 0.8);
        --blueprint-opacity: 0;
        --noise-opacity: 0;

        color-scheme: light;
    }
}

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

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

body {
    font-family: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--text-link);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: var(--accent-primary-hover);
}

/* --------------------------------------------------------------------------
   FOCUS STYLES — WCAG 2.2 AA
   -------------------------------------------------------------------------- */
:focus-visible {
    outline: 2px solid var(--accent-primary);
    outline-offset: 2px;
}

:focus:not(:focus-visible) {
    outline: none;
}

/* --------------------------------------------------------------------------
   SKIP NAV
   -------------------------------------------------------------------------- */
.skip-nav {
    position: absolute;
    top: -100%;
    left: 1rem;
    z-index: 10000;
    padding: 0.75rem 1.5rem;
    background: var(--accent-primary);
    color: #fff;
    border-radius: 0 0 8px 8px;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    transition: top 0.2s;
}

.skip-nav:focus {
    top: 0;
}

/* --------------------------------------------------------------------------
   LAYOUT
   -------------------------------------------------------------------------- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 6rem 0;
}

/* --------------------------------------------------------------------------
   TYPOGRAPHY
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-heading);
    line-height: 1.15;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2.6rem, 5vw, 3.125rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.08;
}

h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.369rem);
    font-weight: 600;
    letter-spacing: -0.035em;
}

h3 {
    font-size: 1.777rem;
    font-weight: 600;
}

h4 {
    font-size: 1.333rem;
    font-weight: 500;
}

.label {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.8125rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--accent-secondary);
    font-weight: 500;
    display: block;
    margin-bottom: 0.75rem;
}

.mono {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.875rem;
}

/* --------------------------------------------------------------------------
   SECTION HEADERS
   -------------------------------------------------------------------------- */
.section-header {
    margin-bottom: 3rem;
}

.section-header h2 {
    margin-bottom: 1rem;
}

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

.section-sub-heading {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    color: var(--text-heading);
}

/* --------------------------------------------------------------------------
   BUTTONS
   -------------------------------------------------------------------------- */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 2rem;
    background: linear-gradient(135deg, #3b82f6, #14b8a6);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.25s;
    font-family: 'IBM Plex Sans', sans-serif;
    min-height: 44px;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #2563eb, #0d9488);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(59, 130, 246, 0.3), 0 8px 32px rgba(20, 184, 166, 0.15);
    color: #fff;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.75rem;
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-light);
    border-radius: 10px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.25s;
    font-family: 'IBM Plex Sans', sans-serif;
    min-height: 44px;
}

.btn-secondary:hover {
    border-color: var(--border-accent);
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.btn-cta {
    font-size: 0.95rem;
    padding: 1rem 2rem;
}

.btn-teal {
    background: var(--accent-secondary);
}

.btn-teal:hover {
    background: var(--accent-secondary-hover);
    box-shadow: 0 8px 32px rgba(20, 184, 166, 0.25);
}

/* --------------------------------------------------------------------------
   NAV
   -------------------------------------------------------------------------- */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0.9rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--nav-bg);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border);
}

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

.nav-logo img {
    height: 48px;
    width: auto;
}

.nav-logo-name {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-primary);
    letter-spacing: 0.02em;
}

.nav-logo-sub {
    font-weight: 300;
    color: var(--text-secondary);
    margin-left: 0.15rem;
}

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

.nav-links a:not(.nav-cta) {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.84rem;
    font-weight: 400;
    transition: color 0.2s;
}

.nav-links a:not(.nav-cta):hover {
    color: var(--text-heading);
    text-decoration: underline;
    text-underline-offset: 4px;
}

.nav-cta {
    padding: 0.5rem 1.2rem;
    background: linear-gradient(135deg, #3b82f6, #14b8a6);
    color: #fff;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.8rem;
    transition: all 0.2s;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
}

.nav-cta:hover {
    background: linear-gradient(135deg, #2563eb, #0d9488);
    transform: translateY(-1px);
    box-shadow: 0 6px 24px rgba(59, 130, 246, 0.3);
    color: #fff;
}

/* Theme toggle */
.theme-toggle {
    background: none;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    transition: all 0.2s;
    font-size: 1.1rem;
}

.theme-toggle:hover {
    border-color: var(--border-accent);
    color: var(--text-primary);
    background: var(--bg-secondary);
}

.theme-toggle .icon-sun,
.theme-toggle .icon-moon {
    display: none;
}

/* Dark mode: show sun icon (to switch to light) */
:root:not([data-theme="light"]) .theme-toggle .icon-sun {
    display: block;
}

[data-theme="dark"] .theme-toggle .icon-sun {
    display: block;
}

[data-theme="dark"] .theme-toggle .icon-moon {
    display: none;
}

/* Light mode: show moon icon (to switch to dark) */
[data-theme="light"] .theme-toggle .icon-moon {
    display: block;
}

[data-theme="light"] .theme-toggle .icon-sun {
    display: none;
}

/* Auto light (no data-theme, system prefers light) */
@media (prefers-color-scheme: light) {
    :root:not([data-theme="dark"]) .theme-toggle .icon-sun {
        display: none;
    }
    :root:not([data-theme="dark"]) .theme-toggle .icon-moon {
        display: block;
    }
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.4rem;
    cursor: pointer;
    padding: 0.5rem;
    min-width: 44px;
    min-height: 44px;
}

/* --------------------------------------------------------------------------
   HERO
   -------------------------------------------------------------------------- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 5rem;
}

.hero::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 1000px;
    height: 600px;
    background: radial-gradient(ellipse, rgba(59, 130, 246, 0.06) 0%, rgba(20, 184, 166, 0.03) 40%, transparent 70%);
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.hero-grid-bg {
    position: absolute;
    inset: 0;
    background-image: none;
    background-size: 80px 80px;
    mask-image: radial-gradient(ellipse 60% 55% at 50% 40%, black 10%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 60% 55% at 50% 40%, black 10%, transparent 70%);
}

.hero-glow-1 {
    position: absolute;
    top: -15%;
    right: -5%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.12) 0%, transparent 65%);
    pointer-events: none;
}

.hero-glow-2 {
    position: absolute;
    bottom: 10%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(20, 184, 166, 0.08) 0%, transparent 65%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 820px;
    animation: fade-up 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1.75rem;
    padding: 0.4rem 0.9rem;
    border: 1px solid var(--border-light);
    border-radius: 100px;
    background: var(--bg-secondary);
}

.hero-eyebrow-dot {
    width: 6px;
    height: 6px;
    background: var(--color-success);
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

.hero-eyebrow span {
    font-size: 0.72rem;
    color: var(--text-secondary);
}

.hero h1 {
    font-size: clamp(2.8rem, 5.5vw, 3.5rem);
    margin-bottom: 1.4rem;
}

.hero-sub {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 580px;
    line-height: 1.75;
    margin-bottom: 2.5rem;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.hero-screenshot {
    margin-top: 3.5rem;
    border: 1px solid var(--border-light);
    border-radius: 16px;
    overflow: hidden;
    background: var(--bg-secondary);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 32px 100px rgba(0, 0, 0, 0.5), 0 16px 48px rgba(59, 130, 246, 0.1);
}

.hero-screenshot img {
    width: 100%;
    height: auto;
    border-radius: 16px;
}

.hero-stats {
    display: flex;
    gap: 3.5rem;
    margin-top: 4rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--border);
}

.hero-stat-value {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-heading);
}

.hero-stat-label {
    font-size: 0.76rem;
    color: var(--text-muted);
    margin-top: 0.2rem;
}

/* --------------------------------------------------------------------------
   SOCIAL PROOF BAR
   -------------------------------------------------------------------------- */
.social-proof {
    border: none;
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    padding: 2.5rem 0;
}

.proof-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.proof-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.82rem;
    color: var(--text-secondary);
    font-weight: 400;
}

.proof-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.proof-icon.blue { background: var(--accent-primary-dim); color: var(--accent-primary); }
.proof-icon.teal { background: var(--accent-secondary-dim); color: var(--accent-secondary); }
.proof-icon.amber { background: var(--accent-tertiary-dim); color: var(--accent-tertiary); }
.proof-icon.green { background: var(--color-success-dim); color: var(--color-success); }

/* --------------------------------------------------------------------------
   INDUSTRY TABS
   -------------------------------------------------------------------------- */
.industries {
    background: var(--bg-primary);
}

.tab-list {
    display: flex;
    gap: 0;
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 2rem;
}

.tab-btn {
    flex: 1;
    padding: 1rem 1.5rem;
    background: var(--bg-secondary);
    border: none;
    border-right: 1px solid var(--border);
    color: var(--text-secondary);
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 0.84rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    min-height: 44px;
}

.tab-btn:last-child {
    border-right: none;
}

.tab-btn:hover {
    background: var(--bg-surface);
    color: var(--text-primary);
}

.tab-btn[aria-selected="true"] {
    background: var(--accent-primary-dim);
    color: var(--accent-primary);
    font-weight: 600;
}

.tab-panel-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: center;
}

.tab-panel-screenshot {
    border: 1px solid var(--border-light);
    border-radius: 8px;
    overflow: hidden;
    background: var(--bg-primary);
}

.tab-panel-screenshot img {
    width: 100%;
    height: auto;
}

/* Additional verticals below tabs */
.verticals-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    margin-top: 2.5rem;
}

.vertical-item {
    background: var(--bg-secondary);
    padding: 1.75rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    transition: background 0.3s;
}

.vertical-item:hover {
    background: var(--bg-surface);
}

.vertical-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: var(--accent-primary-dim);
    border: 1px solid rgba(59, 130, 246, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.vertical-item h4 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.15rem;
}

.vertical-item p {
    font-size: 0.76rem;
    color: var(--text-muted);
    font-weight: 300;
}

/* --------------------------------------------------------------------------
   FEATURE DEEP-DIVE (Tabbed Galleries)
   -------------------------------------------------------------------------- */
.features-section {
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

.feature-tabs {
    margin-top: 2rem;
}

.feature-tab-list {
    display: flex;
    gap: 0;
    border: 1px solid var(--border);
    border-bottom: none;
    border-radius: 10px 10px 0 0;
    overflow: hidden;
}

.feature-tab-btn {
    flex: 1;
    padding: 1.25rem 1.5rem;
    background: var(--bg-primary);
    border: none;
    border-right: 1px solid var(--border);
    color: var(--text-secondary);
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 0.84rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    min-height: 44px;
    text-align: center;
}

.feature-tab-btn:last-child {
    border-right: none;
}

.feature-tab-btn:hover {
    background: var(--bg-surface);
    color: var(--text-primary);
}

.feature-tab-btn[aria-selected="true"] {
    background: var(--bg-secondary);
    color: var(--accent-primary);
    font-weight: 600;
    border-bottom: 2px solid var(--accent-primary);
}

.feature-tab-panel {
    display: none;
    border: 1px solid var(--border);
    border-top: none;
    border-radius: 0 0 10px 10px;
    background: var(--bg-primary);
    padding: 2rem;
}

.feature-tab-panel.active {
    display: block;
}

.feature-gallery {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1.5rem;
}

.feature-gallery-main {
    border: 1px solid var(--border-light);
    border-radius: 8px;
    overflow: hidden;
    background: var(--bg-secondary);
}

.feature-gallery-main img {
    width: 100%;
    height: auto;
}

.feature-gallery-thumbs {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.feature-thumb {
    border: 2px solid transparent;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.2s;
    background: none;
    padding: 0;
}

.feature-thumb:hover,
.feature-thumb.active {
    opacity: 1;
    border-color: var(--accent-primary);
}

.feature-thumb img {
    width: 100%;
    height: auto;
}

.feature-description {
    margin-top: 1.5rem;
}

.feature-description h3 {
    font-size: 1.333rem;
    margin-bottom: 0.5rem;
}

.feature-description p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.7;
    font-weight: 300;
}

/* --------------------------------------------------------------------------
   PRODUCT BLOCKS
   -------------------------------------------------------------------------- */
#products {
    padding: 0;
}

.product-block {
    border-top: 1px solid var(--border);
    padding: 6rem 0;
}

.product-block:first-child {
    border-top: none;
}

.product-preview {
    margin-top: 3rem;
    border: 1px solid var(--border-light);
    border-radius: 16px;
    overflow: hidden;
    background: var(--bg-secondary);
    box-shadow: var(--shadow-elevated), 0 0 0 1px rgba(59, 130, 246, 0.1);
}

.product-screenshot {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

.product-cta {
    text-align: center;
    margin-top: 2.5rem;
}

/* Feature grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    margin-top: 3rem;
}

.feature-card {
    background: var(--bg-secondary);
    padding: 1.75rem;
    transition: background 0.3s;
}

.feature-card:hover {
    background: var(--bg-surface);
}

.feature-card h4 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.feature-card p {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.6;
    font-weight: 300;
}

.feature-tag {
    display: inline-block;
    padding: 0.15rem 0.5rem;
    border-radius: 100px;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.55rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-weight: 600;
}

.tag-live {
    background: var(--color-success-dim);
    color: var(--color-success);
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.tag-coming {
    background: var(--accent-tertiary-dim);
    color: var(--accent-tertiary);
    border: 1px solid rgba(217, 119, 6, 0.2);
}

.tag-new {
    background: var(--accent-primary-dim);
    color: var(--accent-primary);
    border: 1px solid rgba(59, 130, 246, 0.2);
}

/* --------------------------------------------------------------------------
   COMPETITIVE POSITIONING
   -------------------------------------------------------------------------- */
.competitive {
    background: var(--bg-primary);
}

.competitive-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    margin-top: 2rem;
}

.competitive-table th,
.competitive-table td {
    padding: 0.75rem 1.25rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
    font-size: 0.82rem;
}

.competitive-table thead th {
    background: var(--bg-secondary);
    font-weight: 600;
    font-size: 0.78rem;
    color: var(--text-primary);
}

.competitive-table thead th:first-child {
    color: var(--text-muted);
    font-weight: 400;
}

.competitive-table tbody td {
    background: var(--bg-primary);
    color: var(--text-secondary);
    font-weight: 300;
}

.competitive-table tbody td:first-child {
    font-weight: 400;
    color: var(--text-primary);
}

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

.comp-yes {
    color: var(--color-success) !important;
    font-weight: 600 !important;
}

.comp-no {
    color: var(--text-muted) !important;
}

.comp-partial {
    color: var(--accent-tertiary) !important;
}

.suite-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.suite-tier {
    padding: 2rem;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--bg-primary);
}

.suite-tier-name {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.suite-tier-name.blue { color: var(--accent-primary); }
.suite-tier-name.teal { color: var(--accent-secondary); }
.suite-tier-name.amber { color: var(--accent-tertiary); }

.suite-tier-price {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-heading);
}

.suite-tier-price span {
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--text-muted);
}

.suite-tier-desc {
    font-size: 0.82rem;
    color: var(--text-secondary);
    font-weight: 300;
    margin-bottom: 1.25rem;
    line-height: 1.6;
}

.suite-visual-list {
    list-style: none;
    border-top: 1px solid var(--border);
    padding-top: 0.75rem;
}

.suite-visual-list li {
    font-size: 0.82rem;
    padding: 0.35rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
}

.suite-visual-list .status-live {
    color: var(--color-success);
}

.suite-visual-list .status-coming {
    color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   PRICING
   -------------------------------------------------------------------------- */
.pricing {
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

.pricing-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    align-items: start;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-card {
    padding: 2.5rem;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--bg-secondary);
    position: relative;
    transition: all 0.3s;
}

.pricing-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-accent);
}

.pricing-card.featured {
    border-color: var(--accent-primary);
    box-shadow: 0 0 60px rgba(59, 130, 246, 0.08);
}

.pricing-card.featured::before {
    content: 'MOST POPULAR';
    position: absolute;
    top: -0.6rem;
    left: 2rem;
    padding: 0.2rem 0.7rem;
    background: var(--accent-primary);
    color: #fff;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.58rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    border-radius: 4px;
}

.pricing-card.team-card {
    border-color: var(--accent-secondary);
    box-shadow: 0 0 60px rgba(20, 184, 166, 0.06);
}

.pricing-card.team-card::before {
    content: 'BEST VALUE';
    position: absolute;
    top: -0.6rem;
    left: 2rem;
    padding: 0.2rem 0.7rem;
    background: var(--accent-secondary);
    color: #fff;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.58rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    border-radius: 4px;
}

.pricing-tier-name {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 0.9rem;
}

.pricing-tier-name.tier-creator { color: var(--color-success); }
.pricing-tier-name.tier-viewer { color: var(--accent-primary); }

.pricing-price {
    font-size: 2.4rem;
    font-weight: 700;
    letter-spacing: -0.04em;
    margin-bottom: 0.2rem;
    color: var(--text-heading);
}

.pricing-price span {
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--text-muted);
}

.pricing-annual {
    font-size: 0.78rem;
    color: var(--color-success);
    margin-bottom: 0.75rem;
    font-family: 'IBM Plex Mono', monospace;
}

.pricing-desc {
    font-size: 0.82rem;
    color: var(--text-secondary);
    margin-bottom: 1.75rem;
    padding-bottom: 1.75rem;
    border-bottom: 1px solid var(--border);
    font-weight: 300;
    line-height: 1.6;
}

.pricing-features {
    list-style: none;
    margin-bottom: 1.75rem;
}

.pricing-features li {
    font-size: 0.83rem;
    color: var(--text-secondary);
    padding: 0.4rem 0;
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
}

.pricing-features li::before {
    content: '\2713';
    color: var(--color-success);
    font-weight: 700;
    font-size: 0.72rem;
    margin-top: 0.15rem;
}

.pricing-features li.locked::before {
    content: '\2014';
    color: var(--text-muted);
}

.pricing-features li.locked {
    color: var(--text-muted);
}

.pricing-btn {
    display: block;
    width: 100%;
    padding: 0.8rem;
    text-align: center;
    border-radius: 8px;
    font-size: 0.84rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s;
    font-family: 'IBM Plex Sans', sans-serif;
    cursor: pointer;
    min-height: 44px;
}

.pricing-btn-primary {
    background: var(--accent-primary);
    color: #fff;
    border: none;
}

.pricing-btn-primary:hover {
    background: var(--accent-primary-hover);
    transform: translateY(-1px);
    color: #fff;
}

.pricing-btn-teal {
    background: var(--accent-secondary);
    color: #fff;
    border: none;
}

.pricing-btn-teal:hover {
    background: var(--accent-secondary-hover);
    transform: translateY(-1px);
    color: #fff;
}

/* Comparison tables */
.comparison {
    margin-top: 4rem;
    overflow-x: auto;
}

.comparison--sm {
    margin-top: 2.25rem;
}

.comparison-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
}

.comparison-table th,
.comparison-table td {
    padding: 0.75rem 1.25rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
    font-size: 0.82rem;
}

.comparison-table thead th {
    background: var(--bg-secondary);
    font-weight: 600;
    font-size: 0.78rem;
    color: var(--text-primary);
}

.comparison-table thead th:first-child {
    color: var(--text-muted);
    font-weight: 400;
}

.comparison-table tbody td {
    background: var(--bg-primary);
    color: var(--text-secondary);
    font-weight: 300;
}

.comparison-table tbody td:first-child {
    font-weight: 400;
}

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

.comp-highlight {
    color: var(--color-success) !important;
    font-weight: 600 !important;
}

.comp-dim {
    color: var(--text-muted) !important;
}

/* --------------------------------------------------------------------------
   INTEGRATION BAR
   -------------------------------------------------------------------------- */
.integration {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 3.5rem 0;
}

.integration-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.integration-item {
    text-align: center;
    padding: 1.5rem;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--bg-primary);
}

.integration-item-icon {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.integration-item h4 {
    font-size: 0.88rem;
    margin-bottom: 0.25rem;
}

.integration-item p {
    font-size: 0.76rem;
    color: var(--text-muted);
    font-weight: 300;
}

/* --------------------------------------------------------------------------
   TRUST & COMPLIANCE
   -------------------------------------------------------------------------- */
.trust {
    background: var(--bg-primary);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.trust-card {
    padding: 2rem;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--bg-secondary);
}

.trust-card h4 {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.trust-card p {
    font-size: 0.84rem;
    color: var(--text-secondary);
    line-height: 1.65;
    font-weight: 300;
}

/* --------------------------------------------------------------------------
   GLASSMORPHISM CARD TREATMENTS
   -------------------------------------------------------------------------- */
.pricing-card,
.suite-tier,
.trust-card,
.integration-item,
.feature-card {
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-card);
}

/* --------------------------------------------------------------------------
   SECTION CONTEXT (muted intro paragraph after section headers)
   -------------------------------------------------------------------------- */
.section-context {
    font-size: 0.95rem;
    color: var(--text-secondary);
    max-width: 640px;
    margin: -0.5rem auto 2rem;
    text-align: center;
    line-height: 1.7;
    font-weight: 300;
}

/* --------------------------------------------------------------------------
   COMPETITIVE ANGLES (prose cards above comparison table)
   -------------------------------------------------------------------------- */
.competitive-angles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.competitive-angle {
    padding: 1.25rem 1.5rem;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--bg-secondary);
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.competitive-angle strong {
    color: var(--text-primary);
    display: block;
    margin-bottom: 0.25rem;
}


/* --------------------------------------------------------------------------
   CTA SECTION
   -------------------------------------------------------------------------- */
.cta {
    text-align: center;
    padding: 7rem 0;
    position: relative;
}

.cta-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 500px;
    background: radial-gradient(ellipse, rgba(59, 130, 246, 0.08) 0%, rgba(20, 184, 166, 0.04) 40%, transparent 70%);
    pointer-events: none;
}

.cta h2 {
    font-size: clamp(2rem, 3.8vw, 2.8rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
    position: relative;
}

.cta p {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 300;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

/* --------------------------------------------------------------------------
   FOOTER
   -------------------------------------------------------------------------- */
footer {
    border-top: 1px solid var(--border);
    padding: 2.5rem 0;
}

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

.footer-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-left img {
    height: 20px;
    width: auto;
    opacity: 0.6;
}

.footer-copy {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.footer-location {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.footer-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.footer-links a {
    font-size: 0.78rem;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

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

footer .theme-toggle {
    width: 32px;
    height: 32px;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.footer-trademark {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-align: center;
    padding: 0.75rem 0 0;
    margin: 0;
    opacity: 0.7;
}

/* --------------------------------------------------------------------------
   PRIVACY / SUPPORT / ACCESSIBILITY PAGES
   -------------------------------------------------------------------------- */
.page-content {
    padding-top: 8rem;
    padding-bottom: 4rem;
}

/* ── Privacy Hero ── */
.privacy-hero {
    max-width: 780px;
    margin: 0 auto 2.5rem;
}

.privacy-hero-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-accent);
    border-radius: 10px;
    padding: 2.25rem;
}

.privacy-hero-card h2 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 0 0.75rem;
    color: var(--text-heading);
}

.privacy-hero-card > p {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-weight: 300;
}

.privacy-hero-card .trust-strip {
    margin-bottom: 0;
    justify-content: flex-start;
}

/* ── Data Flow Diagram ── */
.data-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 1.25rem 0;
}

.flow-step {
    text-align: center;
    min-width: 6rem;
}

.data-flow .flow-icon {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-heading);
    margin-bottom: 0.4rem;
    line-height: 1;
}

.flow-label {
    font-size: 0.78rem;
    color: var(--text-secondary);
    font-weight: 400;
    line-height: 1.4;
}

.flow-label small {
    color: var(--text-muted);
    font-weight: 300;
}

.flow-arrow {
    display: flex;
    align-items: center;
    margin-bottom: 1.25rem;
    width: 2rem;
    height: 2px;
    background: var(--text-muted);
    position: relative;
}

.flow-arrow::after {
    content: '';
    position: absolute;
    right: 0;
    border: solid var(--text-muted);
    border-width: 0 2px 2px 0;
    padding: 3px;
    transform: rotate(-45deg);
}

.flow-caption {
    font-size: 0.78rem;
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 1.25rem;
    font-weight: 300;
}

/* ── Cookie Table ── */
.cookie-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    margin: 1rem 0 1.5rem;
}

.cookie-table th,
.cookie-table td {
    padding: 0.75rem 1.25rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
    font-size: 0.82rem;
}

.cookie-table thead th {
    background: var(--bg-secondary);
    font-weight: 600;
    font-size: 0.78rem;
    color: var(--text-primary);
}

.cookie-table tbody td {
    background: var(--bg-primary);
    color: var(--text-secondary);
    font-weight: 300;
}

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

.content-body {
    max-width: 780px;
    margin: 0 auto;
}

.content-body h2 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-top: 2.5rem;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border);
    color: var(--text-heading);
}

.content-body h3 {
    font-size: 1rem;
    font-weight: 500;
    margin-top: 1.75rem;
    margin-bottom: 0.75rem;
    color: var(--text-heading);
}

.content-body h4 {
    font-size: 0.92rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-heading);
}

.content-body p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 1rem;
    font-weight: 300;
}

.content-body ul {
    list-style: none;
    margin-bottom: 1rem;
    padding-left: 0;
}

.content-body ul li {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.75;
    padding: 0.25rem 0;
    padding-left: 1.25rem;
    position: relative;
    font-weight: 300;
}

.content-body ul li::before {
    content: '\2022';
    color: var(--text-muted);
    position: absolute;
    left: 0;
}

.content-body a {
    color: var(--text-link);
    text-decoration: none;
    transition: color 0.2s;
}

.content-body a:hover {
    color: var(--accent-primary-hover);
}

.content-body .btn-primary {
    color: #fff;
}

.content-body .btn-primary:hover {
    color: #fff;
}

.content-body code {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.82rem;
    background: var(--bg-surface);
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    color: var(--text-primary);
}

.content-body h2:first-child,
.content-body h3:first-child {
    margin-top: 0;
}

/* --------------------------------------------------------------------------
   CONTACT CARD
   -------------------------------------------------------------------------- */
.contact-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: 10px;
    padding: 2.25rem;
    margin-bottom: 1rem;
}

.contact-card h3 {
    margin-top: 0;
}

.contact-email-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 1rem 0;
}

.contact-email {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 1.05rem;
    color: var(--text-primary);
    text-decoration: none;
    user-select: all;
}

.btn-copy {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--text-secondary);
    font-size: 0.78rem;
    font-family: 'IBM Plex Sans', sans-serif;
    padding: 0.35rem 0.75rem;
    cursor: pointer;
    transition: all 0.2s;
    min-height: 44px;
    min-width: 44px;
}

.btn-copy:hover {
    border-color: var(--border-accent);
    color: var(--text-primary);
}

.btn-copy:active {
    transform: scale(0.96);
}

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

.contact-hint {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

/* --------------------------------------------------------------------------
   COOKIE CONSENT BANNER
   -------------------------------------------------------------------------- */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    padding: 1.25rem 2rem;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.2);
}

.cookie-banner p {
    font-size: 0.84rem;
    color: var(--text-secondary);
    margin: 0;
}

.cookie-banner a {
    color: var(--text-link);
}

.cookie-banner-actions {
    display: flex;
    gap: 0.75rem;
}

.cookie-btn {
    padding: 0.5rem 1.25rem;
    border-radius: 6px;
    font-size: 0.82rem;
    font-weight: 600;
    font-family: 'IBM Plex Sans', sans-serif;
    cursor: pointer;
    transition: all 0.2s;
    min-height: 44px;
    border: none;
}

.cookie-btn-accept {
    background: var(--accent-primary);
    color: #fff;
}

.cookie-btn-accept:hover {
    background: var(--accent-primary-hover);
}

.cookie-btn-decline {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border-light);
}

.cookie-btn-decline:hover {
    border-color: var(--border-accent);
    color: var(--text-primary);
}

/* --------------------------------------------------------------------------
   INDUSTRY TAB ALIASES (match HTML class names)
   -------------------------------------------------------------------------- */
.industry-tab-list {
    display: flex;
    gap: 0;
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 2rem;
}

.industry-tab {
    flex: 1;
    padding: 1rem 1.5rem;
    background: var(--bg-secondary);
    border: none;
    border-right: 1px solid var(--border);
    color: var(--text-secondary);
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 0.84rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    min-height: 44px;
}

.industry-tab:last-child {
    border-right: none;
}

.industry-tab:hover {
    background: var(--bg-surface);
    color: var(--text-primary);
}

.industry-tab[aria-selected="true"] {
    background: var(--accent-primary-dim);
    color: var(--accent-primary);
    font-weight: 600;
}

.industry-tab-panel {
    display: none;
    padding: 2rem;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--bg-secondary);
    margin-bottom: 1rem;
}

.industry-tab-panel.active {
    display: block;
}

.tab-panel-details ul {
    list-style: none;
}

.tab-panel-details li {
    font-size: 0.88rem;
    color: var(--text-secondary);
    padding: 0.6rem 0;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.6;
    font-weight: 300;
}

.tab-panel-details li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 1rem;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-secondary);
}

/* --------------------------------------------------------------------------
   FEATURE TAB ALIASES (match HTML class names)
   -------------------------------------------------------------------------- */
.feature-tab {
    flex: 1;
    padding: 1.25rem 1.5rem;
    background: var(--bg-primary);
    border: none;
    border-right: 1px solid var(--border);
    color: var(--text-secondary);
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 0.84rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    min-height: 44px;
    text-align: center;
}

.feature-tab:last-child {
    border-right: none;
}

.feature-tab:hover {
    background: var(--bg-surface);
    color: var(--text-primary);
}

.feature-tab[aria-selected="true"] {
    background: var(--bg-secondary);
    color: var(--accent-primary);
    font-weight: 600;
    border-bottom: 2px solid var(--accent-primary);
}

/* Feature panel content layout */
.feature-panel-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.feature-panel-gallery {
    border: 1px solid var(--border-light);
    border-radius: 8px;
    overflow: hidden;
    background: var(--bg-secondary);
}

.feature-main-image {
    width: 100%;
    height: auto;
}

.feature-thumbnails {
    display: flex;
    gap: 0.75rem;
    padding: 0.75rem;
}

.feature-thumbnails .feature-thumb {
    max-width: 150px;
    border-radius: 6px;
    opacity: 0.7;
}

.feature-panel-details h3 {
    font-size: 1.333rem;
    margin-bottom: 0.5rem;
}

.feature-panel-details p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.7;
    font-weight: 300;
}

/* --------------------------------------------------------------------------
   COMPETITIVE TABLE WRAPPER
   -------------------------------------------------------------------------- */
.competitive-table-wrap {
    overflow-x: auto;
}

/* --------------------------------------------------------------------------
   TRUST ICON ALIASES
   -------------------------------------------------------------------------- */
.trust-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.trust-icon.blue { background: var(--accent-primary-dim); }
.trust-icon.teal { background: var(--accent-secondary-dim); }
.trust-icon.green { background: var(--color-success-dim); }
.trust-icon.amber { background: var(--accent-tertiary-dim); }


/* --------------------------------------------------------------------------
   VISUALLY HIDDEN (a11y)
   -------------------------------------------------------------------------- */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* --------------------------------------------------------------------------
   PRICING BUTTON — TEAL ALIAS
   -------------------------------------------------------------------------- */
.pricing-btn-green {
    background: var(--accent-secondary);
    color: #fff;
    border: none;
}

.pricing-btn-green:hover {
    background: var(--accent-secondary-hover);
    transform: translateY(-1px);
    color: #fff;
}

/* --------------------------------------------------------------------------
   SUITE ROADMAP (inside pricing section)
   -------------------------------------------------------------------------- */
.suite-roadmap {
    margin-top: 4rem;
    padding: 2.5rem;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--bg-secondary);
}

.suite-roadmap h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.suite-roadmap p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    margin-bottom: 0;
    font-weight: 300;
    line-height: 1.65;
}

.label--suite {
    display: block;
    margin-bottom: 1rem;
}

/* --------------------------------------------------------------------------
   VIDEO SECTION
   -------------------------------------------------------------------------- */
.video-section {
    padding: 6rem 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.video-wrapper {
    max-width: 800px;
    margin: 0 auto;
    aspect-ratio: 16 / 9;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    overflow: hidden;
}

.video-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* --------------------------------------------------------------------------
   CTA BAND
   -------------------------------------------------------------------------- */
.cta-band {
    padding: 1.5rem 0;
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border);
}

.cta-band .container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.cta-band p {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-heading);
    margin: 0;
}

.cta-band-link {
    font-size: 0.88rem;
    color: var(--accent-primary);
    text-decoration: none;
    font-weight: 500;
}

.cta-band-link:hover {
    text-decoration: underline;
}

/* --------------------------------------------------------------------------
   TRUST STRIP
   -------------------------------------------------------------------------- */
.trust-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    padding: 0.75rem 0;
    margin-bottom: 1.5rem;
}

.trust-badge {
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 500;
    letter-spacing: 0.02em;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    background: var(--accent-primary-dim);
    padding: 0.3rem 0.75rem;
    border-radius: 20px;
    border: 1px solid var(--border-light);
}

.label--cta {
    display: block;
    margin-bottom: 1.5rem;
}

/* --------------------------------------------------------------------------
   ANIMATIONS
   -------------------------------------------------------------------------- */
@keyframes fade-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.35; }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(25px);
    transition: all 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --------------------------------------------------------------------------
   REDUCED MOTION
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .animate-on-scroll {
        opacity: 1;
        transform: none;
    }
}

/* --------------------------------------------------------------------------
   RESPONSIVE — Desktop-first breakpoints
   -------------------------------------------------------------------------- */

/* xl → lg */
@media (max-width: 1280px) {
    .integration-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* lg → md */
@media (max-width: 1024px) {
    .pricing-layout {
        grid-template-columns: 1fr;
        max-width: 520px;
        margin-left: auto;
        margin-right: auto;
    }

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

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .competitive-angles {
        grid-template-columns: 1fr;
    }

    .tab-panel-content {
        grid-template-columns: 1fr;
    }

    .feature-gallery {
        grid-template-columns: 1fr;
    }

    .feature-gallery-thumbs {
        flex-direction: row;
    }

    .feature-gallery-thumbs .feature-thumb {
        max-width: 120px;
    }

    .feature-tab-btn,
    .feature-tab {
        font-size: 0.76rem;
        padding: 1rem;
    }
}

/* md → sm: hamburger menu */
@media (max-width: 768px) {
    nav {
        padding: 0.75rem 1.25rem;
    }

    .nav-links {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-primary);
        border-bottom: 1px solid var(--border);
        padding: 1.5rem 2rem;
        gap: 1.25rem;
    }

    .container {
        padding: 0 1.25rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

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

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

    .tab-list,
    .industry-tab-list {
        flex-direction: column;
    }

    .tab-btn,
    .industry-tab {
        border-right: none;
        border-bottom: 1px solid var(--border);
    }

    .tab-btn:last-child,
    .industry-tab:last-child {
        border-bottom: none;
    }

    .feature-tab-list {
        flex-direction: column;
    }

    .feature-tab-btn,
    .feature-tab {
        border-right: none;
        border-bottom: 1px solid var(--border);
    }

    .feature-tab-btn:last-child,
    .feature-tab:last-child {
        border-bottom: none;
    }

    .data-flow {
        gap: 0.5rem;
    }

    .flow-step {
        min-width: 4.5rem;
    }

    .flow-label {
        font-size: 0.72rem;
    }

    .cookie-table {
        display: block;
        overflow-x: auto;
    }

    .cookie-table th,
    .cookie-table td {
        padding: 0.5rem 0.75rem;
        font-size: 0.75rem;
    }

    .comparison-table {
        font-size: 0.75rem;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 0.5rem 0.75rem;
    }

    .competitive-table {
        font-size: 0.75rem;
    }

    .competitive-table th,
    .competitive-table td {
        padding: 0.5rem 0.75rem;
    }

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

    .proof-grid {
        flex-direction: column;
        gap: 1.5rem;
    }

    .footer-inner {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

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

    footer .theme-toggle {
        margin-top: 0.5rem;
    }

    .cookie-banner {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
    }
}

/* sm: stack everything */
@media (max-width: 640px) {
    section {
        padding: 4rem 0;
    }

    .hero {
        padding-top: 4rem;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.6rem;
    }

    .hero-sub {
        font-size: 1rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-actions .btn-primary,
    .hero-actions .btn-secondary {
        text-align: center;
        justify-content: center;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .competitive-angles {
        grid-template-columns: 1fr;
    }

    .cta-band .container {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }

    .trust-strip {
        gap: 0.75rem;
    }
}

/* ==========================================================================
   DEMO SECTION
   ========================================================================== */

.demo {
    padding: 6rem 0;
}

.demo .section-header p {
    max-width: 640px;
    margin: 0.75rem auto 0;
    color: var(--text-secondary);
}

/* ── Clickwrap Gate ── */

.demo-gate {
    position: relative;
    max-width: 1200px;
    margin: 2rem auto 0;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-light);
}

.demo-gate-preview {
    width: 100%;
}

.demo-gate-preview img {
    width: 100%;
    height: auto;
    display: block;
    filter: blur(8px) brightness(0.6);
}

.demo-gate-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    gap: 1rem;
}

.demo-gate-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #fff;
}

.demo-gate-content p {
    color: rgba(255, 255, 255, 0.85);
    max-width: 480px;
}

.demo-checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.875rem;
    cursor: pointer;
}

.demo-checkbox-label a {
    color: var(--accent-primary);
    text-decoration: underline;
}

.demo-gate-content .btn {
    min-width: 180px;
    justify-content: center;
    text-align: center;
}

.demo-gate-content .btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* ── Demo Container ── */

.demo-container {
    max-width: 1200px;
    margin: 2rem auto 0;
    min-height: 600px;
    max-height: 80vh;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-light);
    background: var(--bg-primary);
}

/* ── Mobile Fallback ── */

.demo-mobile-fallback {
    display: none;
}

.demo-mobile-fallback img {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 8px;
    margin: 0 auto 1rem;
    display: block;
}

.demo-mobile-fallback p {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* ── Demo CTA ── */

.demo-cta {
    text-align: center;
    margin-top: 2rem;
}

/* ── Terms Dialog ── */

.demo-terms-dialog {
    max-width: 680px;
    width: 90vw;
    margin: auto;
    border-radius: 12px;
    border: 1px solid var(--border-light);
    background: var(--bg-secondary);
    color: var(--text-primary);
    padding: 2.5rem;
    box-shadow: var(--shadow-elevated);
}

.demo-terms-dialog::backdrop {
    background: rgba(0, 0, 0, 0.6);
}

.demo-terms-dialog h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.demo-terms-body {
    max-height: 50vh;
    overflow-y: auto;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
    font-size: 1rem;
    line-height: 1.75;
}

.demo-terms-body ol {
    padding-left: 1.5rem;
}

.demo-terms-body li {
    margin-bottom: 1rem;
}

.demo-terms-close {
    display: block;
    margin: 0 auto;
}

/* ── Inline Demo (feature tab) ── */

.gantt-demo-wrapper {
    position: relative;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    overflow: hidden;
    background: var(--bg-secondary);
}

.demo-gate--inline {
    max-width: 100%;
    border-radius: 8px;
}

.demo-container--inline {
    max-width: 100%;
    margin: 0;
    min-height: 600px;
    max-height: 80vh;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-light);
    background: var(--bg-primary);
}

.gantt-demo-mobile-fallback {
    display: none;
}

.gantt-demo-mobile-fallback img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* ── Demo Responsive ── */

@media (max-width: 768px) {
    .demo-gate,
    .demo-container {
        display: none !important;
    }

    .demo-mobile-fallback {
        display: block;
        text-align: center;
        padding: 1rem;
    }

    .demo-gate--inline,
    .demo-container--inline {
        display: none !important;
    }

    .gantt-demo-mobile-fallback {
        display: block;
    }

    .demo {
        padding: 4rem 0;
    }
}

/* ==========================================================================
   DOWNLOADS PAGE
   ========================================================================== */

.downloads-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 1.25rem;
    margin: 1.5rem 0 2rem;
}

.download-card {
    display: flex;
    flex-direction: column;
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: 10px;
    padding: 1.75rem;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: var(--shadow-card);
    transition: border-color 0.25s, box-shadow 0.25s;
}

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

.download-card-icon {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    line-height: 1;
}

.download-card-icon.blue   { color: var(--accent-primary); }
.download-card-icon.teal   { color: var(--accent-secondary); }
.download-card-icon.green  { color: var(--color-success); }
.download-card-icon.amber  { color: var(--accent-tertiary); }

.download-card-body {
    flex: 1;
}

.download-card-body h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-heading);
}

.download-card-body p {
    font-size: 0.84rem;
    color: var(--text-secondary);
    line-height: 1.65;
    font-weight: 300;
    margin-bottom: 0.75rem;
}

.download-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1.25rem;
}

.download-meta-tag {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    padding: 0.2rem 0.55rem;
    border-radius: 4px;
    background: var(--bg-surface-hover);
    color: var(--text-muted);
    border: 1px solid var(--border);
}

.btn-download {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.65rem 1.5rem;
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    font-family: 'IBM Plex Sans', sans-serif;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.25s;
    min-height: 44px;
    align-self: flex-start;
}

.btn-download:hover {
    border-color: var(--accent-primary);
    background: var(--accent-primary-dim);
    color: var(--accent-primary);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.15);
}

.download-icon {
    font-size: 1rem;
    line-height: 1;
}

.download-note {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 1rem;
    font-size: 0.84rem;
    color: var(--text-secondary);
    line-height: 1.7;
    font-weight: 300;
}

.download-note strong {
    color: var(--text-heading);
    font-weight: 600;
}

.download-callout {
    background: var(--accent-primary-dim);
    border: 1px solid var(--accent-primary);
    border-radius: 10px;
    padding: 2rem;
    margin: 2rem 0 1.5rem;
}

.download-callout h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-heading);
}

.download-callout p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.7;
    font-weight: 300;
    margin-bottom: 1.25rem;
}

/* ── Downloads Responsive ── */

@media (max-width: 768px) {
    .downloads-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .download-card {
        padding: 1.25rem;
    }

    .download-callout {
        padding: 1.25rem;
    }
}
