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

:root {
    --bg: #000;
    --surface: #0a0a0a;
    --card: rgba(255,255,255,0.03);
    --glass: rgba(255,255,255,0.05);
    --glass-strong: rgba(255,255,255,0.08);
    --border: rgba(255,255,255,0.06);
    --border-hover: rgba(255,255,255,0.12);
    --text: #fff;
    --text-secondary: #999;
    --text-muted: #555;
    --glow: rgba(255,255,255,0.04);
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', -apple-system, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* AMBIENT GLOW */
.hero::before {
    content: '';
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 600px;
    background: radial-gradient(ellipse, rgba(255,255,255,0.03) 0%, transparent 70%);
    pointer-events: none;
}

/* NAV */
nav {
    position: fixed;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    width: calc(100% - 32px);
    max-width: 1000px;
    background: rgba(255,255,255,0.04);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border: 1px solid var(--border);
    border-radius: 999px;
    transition: background 0.4s ease, border-color 0.4s ease;
}

.nav-inner {
    padding: 0 32px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.nav-logo img {
    height: 20px;
    opacity: 0.9;
    transition: filter 0.4s ease;
}

/* Dark nav mode for light sections */
nav.nav-dark {
    background: rgba(0,0,0,0.04);
    border-color: rgba(0,0,0,0.1);
}

nav.nav-dark .nav-logo img {
    filter: invert(1);
}

nav.nav-dark .nav-links a {
    color: rgba(0,0,0,0.5);
}

nav.nav-dark .nav-links a:hover,
nav.nav-dark .nav-links a.active {
    color: #000;
}

nav.nav-dark .nav-btn {
    background: rgba(0,0,0,0.06);
    border-color: rgba(0,0,0,0.1);
}

nav.nav-dark .nav-btn:hover {
    background: rgba(0,0,0,0.1);
    border-color: rgba(0,0,0,0.15);
}

nav.nav-dark .hamburger span {
    background: rgba(0,0,0,0.6);
}

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

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: color 0.3s;
    letter-spacing: 0.2px;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--text);
}

.nav-btn {
    padding: 7px 18px !important;
    background: rgba(255,255,255,0.06);
    border: 1px solid var(--border);
    border-radius: 10px;
    transition: all 0.3s;
}

.nav-btn:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--border-hover);
}

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 36px;
    border-radius: 14px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    letter-spacing: 0.2px;
}

.btn-primary {
    background: #fff;
    color: #000;
    box-shadow: 0 0 30px rgba(255,255,255,0.08);
}

.btn-primary:hover {
    background: #f0f0f0;
    box-shadow: 0 0 50px rgba(255,255,255,0.12);
    transform: translateY(-1px);
}

.btn-secondary {
    background: rgba(255,255,255,0.05);
    color: rgba(255,255,255,0.8);
    border: 1px solid var(--border);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.08);
    border-color: var(--border-hover);
    color: #fff;
    transform: translateY(-1px);
}

.btn-full {
    width: 100%;
}

/* FLUID CANVAS */
#fluid-canvas {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 100%;
    pointer-events: none;
    opacity: 0.7;
    z-index: 0;
    filter: blur(10px);
    mask-image: radial-gradient(ellipse 85% 75% at 50% 45%, black 20%, transparent 72%);
    -webkit-mask-image: radial-gradient(ellipse 85% 75% at 50% 45%, black 20%, transparent 72%);
}

@media (max-width: 768px) {
    #fluid-canvas {
        opacity: 0.85;
        filter: blur(8px);
    }
    #fluid-canvas-discover {
        opacity: 0.85;
        filter: blur(8px);
    }
}

/* HERO */
.hero {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 160px 40px 120px;
    text-align: center;
    overflow: visible;
}

/* hero-logo removed — logo already in nav */

.hero-badge {
    display: inline-block;
    padding: 6px 18px;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: 999px;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 24px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.hero h1,
.hero .hero-sub,
.hero .hero-actions {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-family: 'Inter', sans-serif;
    font-size: clamp(40px, 6.5vw, 76px);
    font-weight: 700;
    line-height: 1.08;
    margin-bottom: 28px;
    letter-spacing: -2.5px;
    color: #fff;
}

.hero-sub {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto 48px;
    line-height: 1.75;
    font-weight: 400;
    letter-spacing: -0.2px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Old text carousel removed — see demos.css for showcase */

/* STATEMENT */
.statement {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 40px;
    text-align: center;
}

.statement-inner {
    max-width: 700px;
    margin: 0 auto;
}

.statement-text {
    font-family: 'Inter', sans-serif;
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -1px;
    color: #fff;
    margin-bottom: 24px;
}

.statement-highlight {
    color: #fff;
}

.statement-sub {
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.75;
    max-width: 520px;
    margin: 0 auto;
}

.statement-video {
    position: relative;
    margin-top: 48px;
    width: 100%;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    aspect-ratio: 16 / 9;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    background: #000;
}

.statement-video iframe {
    width: 100%;
    height: 100%;
    border-radius: 16px;
}

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    transition: transform 0.2s ease, opacity 0.2s ease;
    opacity: 0.85;
}

.statement-video:hover .video-play-btn {
    transform: translate(-50%, -50%) scale(1.1);
    opacity: 1;
}

/* SECTIONS */
section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 120px 40px;
}

.section-label {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 16px;
}

section h2 {
    font-family: 'Inter', sans-serif;
    font-size: clamp(30px, 4.5vw, 44px);
    font-weight: 700;
    margin-bottom: 56px;
    letter-spacing: -1.5px;
    color: #fff;
}

/* FEATURES */
.feature-grid {
    display: flex;
    gap: 16px;
    align-items: stretch;
}

.feature-card {
    background: var(--glass);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 40px 36px;
    position: relative;
    overflow: hidden;
    flex: 1 1 0%;
    min-width: 0;
    cursor: pointer;
    display: flex;
    gap: 32px;
    align-items: stretch;
    transition:
        flex-grow 0.45s cubic-bezier(0.4, 0, 0.2, 1),
        flex-shrink 0.45s cubic-bezier(0.4, 0, 0.2, 1),
        flex-basis 0.45s cubic-bezier(0.4, 0, 0.2, 1),
        padding 0.45s cubic-bezier(0.4, 0, 0.2, 1),
        gap 0.45s cubic-bezier(0.4, 0, 0.2, 1),
        background 0.35s ease,
        border-color 0.35s ease,
        box-shadow 0.35s ease,
        transform 0.3s ease,
        border-radius 0.35s ease;
}

.feature-card.expanded {
    flex-grow: 8;
    background: var(--glass-strong);
    border-color: var(--border-hover);
    box-shadow: 0 24px 80px rgba(0,0,0,0.5);
}

.feature-card.collapsed {
    flex-grow: 0;
    flex-shrink: 0;
    flex-basis: 80px;
    padding: 16px;
    border-radius: 20px;
    justify-content: center;
    align-items: center;
    gap: 0;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: opacity 0.4s;
}

.feature-card:hover:not(.expanded):not(.collapsed) {
    background: var(--glass-strong);
    border-color: var(--border-hover);
    transform: translateY(-2px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.feature-card.collapsed:hover {
    transform: translateY(-2px);
    background: rgba(255,255,255,0.1);
    border-color: var(--border-hover);
}

/* Card content — left side */
.feature-card-content {
    min-width: 0;
    display: flex;
    flex-direction: column;
    transition: flex 0.45s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s ease;
}

.feature-card.expanded .feature-card-content {
    flex: 0 0 38%;
    justify-content: center;
}

.feature-icon {
    display: none;
}

.feature-card.collapsed .feature-icon {
    margin-bottom: 0;
}

.feature-card h3 {
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    letter-spacing: -0.3px;
    overflow: hidden;
    max-height: 60px;
    opacity: 1;
    transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.25s ease,
                margin 0.3s ease;
}

.feature-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.75;
    overflow: hidden;
    max-height: 200px;
    opacity: 1;
    transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.25s ease;
}

/* While the grid is in an "active" state (some card hovered, or returning
   to default), non-expanded text is hidden so we don't see it reflow. The
   class is managed from JS and kept on until the layout fully settles. */
.feature-grid.grid-active .feature-card h3,
.feature-grid.grid-active .feature-card p {
    opacity: 0;
    transition: opacity 0.12s ease;
}

.feature-card.collapsed h3 {
    max-height: 0;
    opacity: 0;
    margin-bottom: 0;
    transition: max-height 0.25s cubic-bezier(0.4, 0, 0.2, 1) 0.1s,
                opacity 0.12s ease,
                margin 0.25s ease 0.1s;
}

.feature-card.collapsed p {
    max-height: 0;
    opacity: 0;
    transition: max-height 0.25s cubic-bezier(0.4, 0, 0.2, 1) 0.1s,
                opacity 0.12s ease;
}

/* Expanded card: text becomes visible only AFTER the 0.45s flex transition completes */
.feature-grid.grid-active .feature-card.expanded h3 {
    opacity: 1;
    transition: opacity 0.2s ease 0.5s;
}

.feature-grid.grid-active .feature-card.expanded p {
    opacity: 1;
    transition: opacity 0.2s ease 0.55s;
}

/* Collapsed cards: center the icon */
.feature-card.collapsed .feature-card-content {
    align-items: center;
    justify-content: center;
    width: 100%;
    flex: 1;
    min-width: 0;
}

.feature-card.collapsed .feature-chat-demo {
    flex: 0;
    width: 0;
    min-width: 0;
    opacity: 0;
    overflow: hidden;
    padding: 0;
    margin: 0;
    pointer-events: none;
}

/* Feature Chat Demo */
.feature-chat-demo {
    flex: 0;
    opacity: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-width: 0;
    max-height: 0;
    /* Default state (returning from expanded): fade out fast, then layout changes */
    transition:
        flex 0.45s cubic-bezier(0.4, 0, 0.2, 1) 0.1s,
        max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1) 0.1s,
        opacity 0.15s ease;
}

.feature-card.expanded .feature-chat-demo {
    flex: 1;
    opacity: 1;
    max-height: 600px;
    transition:
        flex 0.45s cubic-bezier(0.4, 0, 0.2, 1),
        max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.2s ease 0.35s;
}

.feature-chat-messages {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 12px;
    flex: 1;
}

.feature-chat-msg {
    display: flex;
    flex-direction: column;
    gap: 4px;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.feature-chat-msg.visible {
    opacity: 1;
    transform: translateY(0);
}

.feature-chat-msg.user {
    align-items: flex-end;
}

.feature-chat-msg.assistant {
    align-items: flex-start;
}

.feature-chat-label {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
}

.feature-chat-msg.user .feature-chat-label {
    color: rgba(255,255,255,0.4);
}

.feature-chat-msg.assistant .feature-chat-label {
    color: rgba(111, 204, 128, 0.6);
}

.feature-chat-text {
    font-size: 13px;
    line-height: 1.5;
    font-family: 'Inter', sans-serif;
    min-height: 18px;
    padding: 10px 14px;
    border-radius: 14px;
    max-width: 88%;
}

.feature-chat-msg.user .feature-chat-text {
    color: #fff;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.08);
    border-bottom-right-radius: 4px;
}

.feature-chat-msg.assistant .feature-chat-text {
    color: #ccc;
    background: rgba(111, 204, 128, 0.08);
    border: 1px solid rgba(111, 204, 128, 0.1);
    border-bottom-left-radius: 4px;
}

.feature-chat-cursor {
    display: inline-block;
    width: 6px;
    height: 14px;
    background: rgba(255,255,255,0.5);
    border-radius: 1px;
    animation: featureChatBlink 0.8s step-end infinite;
    vertical-align: text-bottom;
    margin-left: 2px;
}

@keyframes featureChatBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* Spinning loader */
.feature-chat-loader {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 0;
    opacity: 0;
    transition: opacity 0.3s;
}

.feature-chat-loader.visible {
    opacity: 1;
}

.feature-chat-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255,255,255,0.08);
    border-top-color: rgba(255,255,255,0.5);
    border-radius: 50%;
    animation: featureSpin 0.7s linear infinite;
}

@keyframes featureSpin {
    to { transform: rotate(360deg); }
}

.feature-chat-loader-text {
    font-size: 12px;
    color: var(--text-muted);
    font-family: 'Inter', sans-serif;
}

/* Result mini preview */
.feature-chat-result {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    padding: 14px 16px;
    opacity: 0;
    transform: translateY(6px) scale(0.97);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    margin-top: 8px;
}

.feature-chat-result.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.feature-chat-result-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.feature-chat-result-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
}

.feature-chat-result-badge {
    font-size: 10px;
    color: #6fcc80;
    background: rgba(111, 204, 128, 0.1);
    padding: 2px 8px;
    border-radius: 999px;
    font-weight: 500;
}

.feature-chat-result-body {
    display: flex;
    gap: 8px;
}

.feature-chat-result-block {
    flex: 1;
    background: rgba(255,255,255,0.04);
    border-radius: 8px;
    height: 28px;
}

.feature-chat-result-block:first-child {
    flex: 2;
}

.feature-chat-inputbar {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    padding: 10px 14px;
    margin-top: auto;
}

.feature-chat-inputbar input {
    flex: 1;
    background: none;
    border: none;
    outline: none;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
}

.feature-chat-inputbar input::placeholder {
    color: var(--text-muted);
}

.feature-chat-send {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    flex-shrink: 0;
    transition: background 0.2s, transform 0.15s;
}

.feature-chat-send.sending {
    background: rgba(255,255,255,0.25);
    transform: scale(0.9);
}

/* Mockup — hidden by default, shown only on takeover */
.feature-chat-mockup {
    display: none;
    opacity: 0;
    flex: 1;
    min-height: 0;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    font-family: 'Inter', sans-serif;
}

.feature-card.result-takeover .feature-chat-result-body {
    display: none;
}

.feature-card.result-takeover .feature-chat-mockup {
    display: flex;
    opacity: 1;
    animation: mockupFadeIn 0.45s cubic-bezier(0.16,1,0.3,1) 0.15s backwards;
}

@keyframes mockupFadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Shared mockup primitives */
.mockup-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 10px;
}

.mockup-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 600;
    flex-shrink: 0;
}

.mockup-col {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.mockup-label {
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mockup-sublabel {
    font-size: 10px;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mockup-amount {
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    font-variant-numeric: tabular-nums;
}

.mockup-pill {
    font-size: 9px;
    padding: 3px 9px;
    border-radius: 999px;
    font-weight: 600;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.mockup-pill-success { color: #6fcc80; background: rgba(111,204,128,0.12); }
.mockup-pill-warning { color: #f59e0b; background: rgba(245,158,11,0.12); }
.mockup-pill-muted { color: rgba(255,255,255,0.6); background: rgba(255,255,255,0.06); }

.mockup-btn-primary {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 600;
    color: #fff;
    background: rgba(111,204,128,0.14);
    border: 1px solid rgba(111,204,128,0.25);
    padding: 5px 10px;
    border-radius: 8px;
}

.mockup-btn-ghost {
    font-size: 11px;
    font-weight: 600;
    color: #fff;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 5px 12px;
    border-radius: 8px;
}

/* Invoices mockup */
.mockup-toolbar {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mockup-search {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 8px;
    font-size: 11px;
    color: var(--text-muted);
}

/* Dashboard mockup */
.mockup-dashboard {
    flex-direction: row;
    gap: 10px;
}

.mockup-dash-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
}

.mockup-dash-title {
    font-size: 13px;
    font-weight: 600;
    color: #fff;
}

.mockup-dash-stats {
    display: flex;
    gap: 8px;
}

.mockup-stat {
    flex: 1;
    padding: 10px 12px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 10px;
    min-width: 0;
}

.mockup-stat-val {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    font-family: 'Space Grotesk', sans-serif;
}

.mockup-stat-lbl {
    font-size: 9px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 2px;
}

.mockup-dash-chart {
    flex: 1;
    min-height: 60px;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 10px;
    padding: 8px;
    display: flex;
}

.mockup-dash-chart svg {
    width: 100%;
    height: 100%;
}

.mockup-dash-sidebar {
    width: 120px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 8px;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 10px;
}

.mockup-nav-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 8px;
    font-size: 11px;
    color: var(--text-secondary);
    border-radius: 6px;
}

.mockup-nav-item.active {
    background: rgba(111,204,128,0.1);
    color: #6fcc80;
}

/* Export mockup */
.mockup-file-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Calendar mockup */
.mockup-calendar {
    flex-direction: row;
    gap: 10px;
}

.mockup-cal-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 10px 12px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 10px;
    min-width: 0;
}

.mockup-cal-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mockup-cal-month {
    font-size: 12px;
    font-weight: 600;
    color: #fff;
}

.mockup-toggle-dark {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 9px;
    padding: 3px 8px;
    background: rgba(139,92,246,0.12);
    color: #a78bfa;
    border-radius: 999px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.mockup-cal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 3px;
}

.mockup-dow {
    font-size: 9px;
    color: var(--text-muted);
    text-align: center;
    font-weight: 600;
    padding: 2px 0;
}

.mockup-cal-cell {
    font-size: 10px;
    color: #ccc;
    text-align: center;
    padding: 4px 0;
    border-radius: 4px;
    position: relative;
}

.mockup-cal-cell.muted { color: rgba(255,255,255,0.2); }
.mockup-cal-cell.today { background: #6fcc80; color: #0a0a0a; font-weight: 700; }
.mockup-cal-cell.has-event::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 3px;
    background: #6fcc80;
    border-radius: 50%;
}

.mockup-cal-events {
    width: 160px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.mockup-event {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 8px;
}

.mockup-event-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.mockup-event > div:last-child {
    min-width: 0;
    flex: 1;
}

/* Shrink sidebar/events panel if card is too narrow */
@media (max-width: 1100px) {
    .mockup-dash-sidebar { width: 100px; }
    .mockup-cal-events { width: 140px; }
}

/* Result takeover — the result preview grows to fill the whole card */
.feature-card.result-takeover {
    gap: 0 !important;
    flex-grow: 8 !important;
    flex-shrink: 1 !important;
    flex-basis: 0% !important;
    transition: padding 0.45s cubic-bezier(0.4,0,0.2,1),
                gap 0.45s cubic-bezier(0.4,0,0.2,1),
                background 0.35s ease,
                border-color 0.35s ease,
                box-shadow 0.35s ease;
}

.feature-card.result-takeover .feature-card-content {
    position: absolute;
    left: 0;
    top: 0;
    width: 0 !important;
    height: 0 !important;
    opacity: 0;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden;
    pointer-events: none;
    flex: 0 0 0 !important;
}

.feature-card.result-takeover .feature-chat-messages,
.feature-card.result-takeover .feature-chat-inputbar,
.feature-card.result-takeover .feature-chat-loader {
    opacity: 0;
    max-height: 0;
    margin: 0;
    padding: 0;
    border-width: 0;
    overflow: hidden;
    pointer-events: none;
    transition: max-height 0.35s cubic-bezier(0.4,0,0.2,1),
                opacity 0.2s ease,
                margin 0.35s ease,
                padding 0.35s ease;
}

.feature-card.result-takeover .feature-chat-result {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 28px 32px;
    transition: flex 0.45s cubic-bezier(0.4,0,0.2,1),
                padding 0.45s cubic-bezier(0.4,0,0.2,1),
                background 0.3s ease;
    background: rgba(255,255,255,0.04);
}

.feature-card.result-takeover .feature-chat-result-header {
    margin-bottom: 20px;
}

.feature-card.result-takeover .feature-chat-result-title {
    font-size: 16px;
}


@media (max-width: 900px) {
    .feature-grid {
        flex-wrap: wrap;
    }
    .feature-card {
        flex: 1 1 calc(50% - 8px);
    }
    .feature-card.expanded {
        flex: 1 1 100%;
    }
    .feature-card.collapsed {
        flex: 0 0 80px;
    }
}

@media (max-width: 600px) {
    .feature-grid {
        flex-direction: column;
    }
    .feature-card {
        flex: none;
        width: 100%;
    }
    .feature-card.collapsed {
        flex: none;
        width: 100%;
        height: 56px;
        flex-basis: 56px;
        padding: 12px;
    }
    .feature-card.expanded {
        flex-direction: column;
    }
    .feature-card.expanded .feature-card-content {
        flex: none;
    }
}

/* FEATURES + DISCOVER combined into one viewport */
@media (min-width: 901px) {
    .features-discover-combo {
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 80px;
        padding: 60px 0;
        box-sizing: border-box;
    }
    .features-discover-combo > section {
        padding-top: 0;
        padding-bottom: 0;
    }
    .features-discover-combo > section.discover {
        padding-bottom: 0;
    }
    .features-discover-combo > section.features h2 {
        margin-bottom: 32px;
    }
    .features-discover-combo > section.discover .discover-card {
        padding: 36px 44px;
    }
    .features-discover-combo > section.discover .discover-card h2 {
        margin-bottom: 22px;
        font-size: clamp(24px, 3.2vw, 34px);
    }
}

/* DISCOVER */
.discover {
    text-align: left;
    position: relative;
    overflow: visible;
    padding-bottom: 200px;
}

#fluid-canvas-discover {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 100%;
    pointer-events: none;
    opacity: 0.6;
    z-index: 0;
    filter: blur(12px);
    mask-image: radial-gradient(ellipse 85% 75% at 50% 55%, black 15%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 85% 75% at 50% 55%, black 15%, transparent 70%);
}

.discover::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 600px;
    background: radial-gradient(ellipse, rgba(255,255,255,0.03) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.discover-card {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 28px;
    padding: 56px 52px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.discover-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
}

.discover-card .section-label {
    color: rgba(255,255,255,0.4);
}

.discover-card h2 {
    margin-bottom: 32px;
    background: none;
    -webkit-text-fill-color: #fff;
    color: #fff;
}

.discover-input-wrap {
    display: flex;
    gap: 10px;
}

.discover-input-wrap input {
    flex: 1;
    padding: 14px 20px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    outline: none;
    transition: border-color 0.3s;
}

.discover-input-wrap input:focus {
    border-color: rgba(255,255,255,0.25);
}

.discover-input-wrap input::placeholder {
    color: rgba(255,255,255,0.35);
}

.discover-input-wrap button {
    padding: 14px 28px;
    background: #fff;
    color: #000;
    border: none;
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

.discover-input-wrap button:hover {
    background: #e0e0e0;
}

.discover-input-wrap button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.discover-result {
    margin-top: 28px;
    padding-top: 28px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 15px;
    color: rgba(255,255,255,0.6);
    line-height: 1.8;
}

.discover-result strong {
    color: #fff;
}

.discover-cursor {
    display: inline-block;
    width: 2px;
    height: 1em;
    background: rgba(255,255,255,0.5);
    margin-left: 2px;
    vertical-align: text-bottom;
    animation: blink 0.8s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* VISION BLOCK */
.vision-block {
    max-width: none;
    padding: 0;
    position: relative;
    overflow: hidden;
    min-height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: default;
}

.vision-noise {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(120, 80, 255, 0.25) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 50%, rgba(255, 100, 60, 0.2) 0%, transparent 60%),
        radial-gradient(ellipse at 50% 0%, rgba(60, 180, 255, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 100%, rgba(200, 60, 255, 0.1) 0%, transparent 50%),
        linear-gradient(135deg, #0a0a0a 0%, #111 50%, #0a0a0a 100%);
    filter: contrast(1.1) brightness(0.9);
    z-index: 0;
}

.vision-noise::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 200px 200px;
    opacity: 0.12;
    mix-blend-mode: overlay;
}

.vision-inner {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 120px 40px;
    max-width: 800px;
    margin: 0 auto;
}

.vision-title {
    font-family: 'Inter', sans-serif;
    font-size: clamp(30px, 5vw, 52px);
    font-weight: 700;
    letter-spacing: -1.5px;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 0;
}

.vision-sub {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    font-size: 17px;
    color: rgba(255,255,255,0.55);
    line-height: 1.75;
    max-width: 520px;
    margin: 0 auto;
    transition: max-height 0.5s ease, opacity 0.4s ease, margin 0.5s ease;
}

.vision-block:hover .vision-sub {
    max-height: 120px;
    opacity: 1;
    margin-top: 24px;
}

.vision-cta {
    display: inline-block;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    text-decoration: none;
    padding: 10px 28px;
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 100px;
    letter-spacing: 0.3px;
    transition: max-height 0.5s ease 0.1s, opacity 0.4s ease 0.15s, margin 0.5s ease, background 0.3s ease, border-color 0.3s ease;
}

.vision-block:hover .vision-cta {
    max-height: 60px;
    opacity: 1;
    margin-top: 28px;
}

.vision-cta:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.5);
}

@media (max-width: 768px) {
    .vision-block {
        min-height: 360px;
    }
    .vision-inner {
        padding: 80px 24px;
    }
    .vision-sub,
    .vision-block:hover .vision-sub {
        max-height: 200px;
        opacity: 1;
        margin-top: 24px;
    }
    .vision-cta,
    .vision-block:hover .vision-cta {
        max-height: 60px;
        opacity: 1;
        margin-top: 28px;
    }
}

/* PRINCIPLES */
.principles-section {
    max-width: none;
    padding: 120px 0;
    background: #ffffff;
    color: #111;
}

.principles-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 80px;
}

.principles-left h2 {
    margin-bottom: 0;
    color: #111;
}

.principles-section .section-label {
    color: #999;
}

.principles-right {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.principle {
    display: flex;
    gap: 20px;
    padding: 32px 36px;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 4px 12px rgba(0,0,0,0.03);
    transition: background 0.4s ease, box-shadow 0.4s ease, transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.6s ease;
    opacity: 0;
    transform: translateY(-60px) scale(0.97);
}

.principle.principle-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.principle:last-child {
    border-bottom: none;
}

.principle:hover {
    background: rgba(0,0,0,0.02);
    box-shadow: 0 2px 6px rgba(0,0,0,0.06), 0 8px 20px rgba(0,0,0,0.04);
}

.principle:hover .principle-icon {
    background: rgba(0,0,0,0.08);
    border-color: rgba(0,0,0,0.15);
    color: #000;
}

.principle-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 12px;
    color: rgba(0,0,0,0.5);
    flex-shrink: 0;
    transition: background 0.3s, border-color 0.3s, color 0.3s;
}

.principle h3 {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    letter-spacing: -0.3px;
    color: #111;
}

.principle p {
    font-size: 15px;
    color: #666;
    line-height: 1.75;
}

@media (max-width: 768px) {
    .principles-section {
        padding: 80px 0;
    }
    .principles-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 0 24px;
    }
}

/* BETA */
.beta {
    display: flex;
    justify-content: center;
    max-width: none;
    background: #ffffff;
    padding-top: 120px;
    padding-bottom: 120px;
}

.footer-left .beta-card {
    background: rgba(0,0,0,0.03);
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 20px;
    padding: 36px;
    width: 100%;
    position: relative;
}

.beta-card {
    background: rgba(0,0,0,0.03);
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 28px;
    padding: 56px;
    max-width: 560px;
    width: 100%;
    position: relative;
}

.beta-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0,0,0,0.08), transparent);
}

.beta-card h2 {
    margin-bottom: 12px;
    background: linear-gradient(180deg, #111 30%, rgba(0,0,0,0.6) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.beta-card .section-label {
    color: #999;
}

.beta-card > p {
    color: #666;
    margin-bottom: 32px;
    font-size: 15px;
    line-height: 1.75;
}

.beta-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-row {
    display: flex;
    gap: 10px;
}

.form-row input,
.form-row select {
    flex: 1;
}

.beta-card input {
    width: 100%;
    padding: 14px 18px;
    background: rgba(0,0,0,0.04);
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 12px;
    color: #111;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    outline: none;
    transition: all 0.3s;
    appearance: none;
}

.beta-card input::placeholder {
    color: #999;
}

.beta-card input:focus {
    border-color: rgba(0,0,0,0.2);
    background: rgba(0,0,0,0.06);
    box-shadow: 0 0 20px rgba(0,0,0,0.03);
}

.beta-card .btn-primary {
    background: #111;
    color: #fff;
    box-shadow: 0 0 30px rgba(0,0,0,0.08);
}

.beta-card .btn-primary:hover {
    background: #333;
    box-shadow: 0 0 50px rgba(0,0,0,0.12);
}

.custom-select {
    position: relative;
    flex: 1;
    font-family: 'Inter', sans-serif;
}

.custom-select-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    background: rgba(0,0,0,0.04);
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 12px;
    color: #111;
    font-family: inherit;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
}

.custom-select-trigger:hover {
    background: rgba(0,0,0,0.06);
    border-color: rgba(0,0,0,0.15);
}

.custom-select.is-open .custom-select-trigger {
    background: rgba(0,0,0,0.06);
    border-color: rgba(0,0,0,0.2);
    box-shadow: 0 0 20px rgba(0,0,0,0.03);
}

.custom-select-value {
    color: #111;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.custom-select-value.is-placeholder {
    color: #999;
}

.custom-select-arrow {
    color: #666;
    transition: transform 0.2s ease;
    flex-shrink: 0;
    margin-left: 12px;
}

.custom-select.is-open .custom-select-arrow {
    transform: rotate(180deg);
}

.custom-select-menu {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 12px;
    padding: 6px;
    list-style: none;
    z-index: 20;
    box-shadow: 0 12px 32px rgba(0,0,0,0.08), 0 2px 8px rgba(0,0,0,0.04);
    opacity: 0;
    transform: translateY(-6px);
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.custom-select.is-open .custom-select-menu {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.custom-select-option {
    padding: 10px 14px;
    font-size: 14px;
    color: #111;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.15s ease;
}

.custom-select-option:hover {
    background: rgba(0,0,0,0.05);
}

.custom-select-option.is-selected {
    background: rgba(0,0,0,0.08);
    font-weight: 500;
}

input, select {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255,255,255,0.04);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text);
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    outline: none;
    transition: all 0.3s;
    appearance: none;
}

input::placeholder {
    color: var(--text-muted);
}

select {
    color: var(--text-muted);
    cursor: pointer;
}

select:valid {
    color: var(--text);
}

input:focus, select:focus {
    border-color: rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.06);
    box-shadow: 0 0 20px rgba(255,255,255,0.03);
}

.form-message {
    font-size: 13px;
    min-height: 20px;
    text-align: center;
    margin-top: 4px;
}

.form-message.success {
    color: #aaa;
}

.form-message.error {
    color: #888;
}

/* ABOUT */
.about-hero {
    max-width: 800px;
    margin: 0 auto;
    padding: 180px 40px 60px;
    text-align: center;
}

.about-hero h1 {
    font-family: 'Inter', sans-serif;
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -1.5px;
    margin-bottom: 16px;
    color: #fff;
}

.about-content {
    max-width: 640px;
    margin: 0 auto;
    padding: 0 40px 120px;
}

.about-block {
    padding: 40px 0;
}

.about-lead {
    font-family: 'Inter', sans-serif;
    font-size: 22px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

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

.about-block p:last-child {
    margin-bottom: 0;
}

.about-divider {
    width: 100%;
    height: 1px;
    background: var(--border);
}

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

.about-cta p {
    font-size: 20px !important;
    color: #fff !important;
    font-weight: 600;
    margin-bottom: 24px !important;
    letter-spacing: -0.3px;
}

/* PRESS */
.press-hero {
    max-width: 1200px;
    margin: 0 auto;
    padding: 160px 40px 80px;
}

.press-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px 100px;
}

.press-section {
    margin-bottom: 64px;
}

.press-section h2 {
    font-family: 'Inter', sans-serif;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 24px;
    letter-spacing: -0.5px;
}

.press-card {
    background: var(--glass);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 36px;
}

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

.press-card p:last-child {
    margin-bottom: 0;
}

.press-card a {
    color: var(--text);
}

.facts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
}

.fact-card {
    background: var(--glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 28px;
}

.fact-label {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
}

.fact-value {
    font-family: 'Inter', sans-serif;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.brand-assets {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

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

.brand-asset span {
    display: block;
    margin-top: 12px;
    font-size: 12px;
    color: var(--text-muted);
}

.asset-preview {
    width: 160px;
    height: 160px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
}

.asset-preview.dark {
    background: #000;
}

.asset-preview.light {
    background: #fff;
}

.guideline {
    margin-bottom: 32px;
}

.guideline:last-child {
    margin-bottom: 0;
}

.guideline h3 {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
    letter-spacing: -0.3px;
}

.guideline p {
    color: var(--text-secondary);
}

.color-swatches {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.swatch {
    text-align: center;
}

.swatch-color {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    margin-bottom: 8px;
}

.swatch span {
    font-size: 11px;
    color: var(--text-muted);
    font-family: 'SF Mono', monospace;
}

/* FOOTER */
footer {
    background: #f5f5f5;
    padding: 80px 40px;
    overflow: hidden;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 60px;
}

.footer-left {
    flex: 0 0 45%;
}

.footer-right {
    flex: 1;
    display: flex;
    flex-direction: column;
}

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

.footer-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col-title {
    font-size: 12px;
    font-weight: 600;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 4px;
}

.footer-col a {
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: #000;
}

.footer-wordmark {
    margin-top: auto;
    user-select: none;
    pointer-events: none;
    margin-bottom: -80px;
    padding-top: 40px;
}

.footer-logo-svg {
    width: 100%;
    height: auto;
    display: block;
}

.footer-logo-svg path {
    fill: #000;
}

/* SCROLL REVEAL — very subtle */
.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.1, 0.25, 1),
                transform 0.8s cubic-bezier(0.25, 0.1, 0.25, 1);
}

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

/* Stagger children within a grid — slide in from right */
.reveal-stagger .feature-card {
    opacity: 0;
    transform: translateX(60px);
}

.reveal-stagger.visible .feature-card {
    opacity: 1;
    transform: translateX(0);
}

.reveal-stagger .feature-card:nth-child(1) { transition-delay: 0s; }
.reveal-stagger .feature-card:nth-child(2) { transition-delay: 0.15s; }
.reveal-stagger .feature-card:nth-child(3) { transition-delay: 0.3s; }
.reveal-stagger .feature-card:nth-child(4) { transition-delay: 0.45s; }

/* Hero loads immediately with a gentle fade */
.hero-reveal {
    opacity: 0;
    transform: translateY(12px);
    animation: heroIn 0.9s cubic-bezier(0.25, 0.1, 0.25, 1) 0.15s forwards;
}

@keyframes heroIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-reveal-delayed {
    opacity: 0;
    transform: translateY(12px);
    animation: heroIn 0.9s cubic-bezier(0.25, 0.1, 0.25, 1) 0.35s forwards;
}

.hero-reveal-delayed-2 {
    opacity: 0;
    transform: translateY(12px);
    animation: heroIn 0.9s cubic-bezier(0.25, 0.1, 0.25, 1) 0.55s forwards;
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
    .reveal,
    .reveal-stagger .feature-card,
    .hero-reveal,
    .hero-reveal-delayed,
    .hero-reveal-delayed-2 {
        opacity: 1;
        transform: none;
        animation: none;
        transition: none;
    }
}

/* HAMBURGER BUTTON */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 201;
    gap: 6px;
}

.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: rgba(255,255,255,0.8);
    border-radius: 2px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}

/* Hamburger → X animation */
.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

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

.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* MOBILE MENU OVERLAY */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 150;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                visibility 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu {
    position: absolute;
    top: 80px;
    left: 50%;
    transform: translateX(-50%) translateY(-20px) scale(0.95);
    width: calc(100% - 32px);
    max-width: 400px;
    background: rgba(20, 20, 20, 0.85);
    backdrop-filter: blur(60px) saturate(180%);
    -webkit-backdrop-filter: blur(60px) saturate(180%);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 24px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 24px 80px rgba(0,0,0,0.6),
                0 0 0 1px rgba(255,255,255,0.05) inset;
}

.mobile-menu-overlay.active .mobile-menu {
    transform: translateX(-50%) translateY(0) scale(1);
    opacity: 1;
}

.mobile-menu a {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 500;
    border-radius: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: -0.2px;
}

.mobile-menu a:hover,
.mobile-menu a.active {
    color: #fff;
    background: rgba(255,255,255,0.08);
}

.mobile-menu-btn {
    margin-top: 4px;
    background: rgba(255,255,255,0.06) !important;
    border: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    justify-content: center;
}

.mobile-menu-btn:hover {
    background: rgba(255,255,255,0.12) !important;
    border-color: rgba(255,255,255,0.2);
}

/* Staggered link entrance */
.mobile-menu-overlay.active .mobile-menu a:nth-child(1) { transition-delay: 0.05s; }
.mobile-menu-overlay.active .mobile-menu a:nth-child(2) { transition-delay: 0.1s; }
.mobile-menu-overlay.active .mobile-menu a:nth-child(3) { transition-delay: 0.15s; }
.mobile-menu-overlay.active .mobile-menu a:nth-child(4) { transition-delay: 0.2s; }

.mobile-menu-overlay:not(.active) .mobile-menu a {
    opacity: 0;
    transform: translateY(-8px);
}

.mobile-menu-overlay.active .mobile-menu a {
    opacity: 1;
    transform: translateY(0);
}

/* BRIDGE DEMO */
.bridge-demo {
    padding: 100px 20px;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.bridge-demo h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 40px;
    font-weight: 700;
    letter-spacing: -1.5px;
    margin-bottom: 12px;
}

.bridge-demo-sub {
    color: var(--text-secondary);
    font-size: 17px;
    margin-bottom: 40px;
}

.bridge-demo-prompts {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.bridge-demo-prompts button {
    background: var(--glass);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    padding: 10px 24px;
    border-radius: 999px;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: all 0.25s;
}

.bridge-demo-prompts button:hover {
    background: var(--glass-strong);
    border-color: var(--border-hover);
    color: var(--text);
}

.bridge-demo-prompts button.active {
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.25);
    color: #fff;
}

.bridge-demo-prompts button:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* Bridge Window */
.bridge-window {
    background: #0a0a0a;
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    text-align: left;
    max-width: 800px;
    margin: 0 auto;
}

.bridge-titlebar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 20px;
    background: rgba(255,255,255,0.02);
    border-bottom: 1px solid var(--border);
}

.bridge-titlebar .demo-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
}

.bridge-titlebar span {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 13px;
    color: var(--text-muted);
    margin-left: 8px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.bridge-terminal {
    padding: 28px 24px;
    min-height: 340px;
    font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
    font-size: 13.5px;
    line-height: 1.7;
    position: relative;
}

/* Idle state */
.bridge-idle {
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
    padding-top: 120px;
    justify-content: center;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
}

.bridge-idle .bridge-blink {
    display: inline-block;
    width: 8px;
    height: 18px;
    background: var(--text-muted);
    animation: bridgeBlink 1s step-end infinite;
    border-radius: 1px;
}

@keyframes bridgeBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* Terminal lines */
.bridge-line {
    opacity: 0;
    transform: translateY(4px);
    animation: bridgeLineIn 0.3s forwards;
}

@keyframes bridgeLineIn {
    to { opacity: 1; transform: translateY(0); }
}

.bridge-line.prompt {
    color: #fff;
    font-weight: 500;
    margin-bottom: 16px;
}

.bridge-line.prompt .arrow {
    color: rgba(255,255,255,0.3);
    margin-right: 10px;
}

.bridge-line.info {
    color: #888;
}

.bridge-line.success {
    color: #6fcc80;
}

.bridge-line.file {
    color: #666;
    padding-left: 16px;
}

.bridge-line.component {
    color: #aaa;
    padding-left: 16px;
}

.bridge-line.component .check {
    color: #6fcc80;
    margin-right: 6px;
}

.bridge-line.component .desc {
    color: #555;
    margin-left: 4px;
}

.bridge-line.heading {
    color: #ccc;
    margin-top: 14px;
    margin-bottom: 4px;
}

.bridge-line.done {
    color: #6fcc80;
    font-weight: 600;
    margin-top: 16px;
    font-size: 14px;
}

/* Progress bar */
.bridge-progress {
    margin: 8px 0 0 16px;
    height: 6px;
    width: 260px;
    background: rgba(255,255,255,0.06);
    border-radius: 999px;
    overflow: hidden;
}

.bridge-progress-fill {
    height: 100%;
    width: 0%;
    background: #fff;
    border-radius: 999px;
    transition: width 0.15s linear;
}

/* Result mini-app */
.bridge-result {
    margin: 20px 0 4px;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    overflow: hidden;
    opacity: 0;
    transform: translateY(8px) scale(0.98);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    background: #050505;
}

.bridge-result.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.bridge-app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 18px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.bridge-app-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
}

.bridge-app-badge {
    font-size: 11px;
    color: #6fcc80;
    background: rgba(111, 204, 128, 0.1);
    padding: 3px 10px;
    border-radius: 999px;
    font-weight: 500;
}

.bridge-app-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 18px;
    border-bottom: 1px solid rgba(255,255,255,0.03);
    font-size: 13px;
    transition: background 0.15s;
}

.bridge-app-row:last-child {
    border-bottom: none;
}

.bridge-app-row:hover {
    background: rgba(255,255,255,0.02);
}

.bridge-app-row .label {
    color: #ccc;
    font-weight: 500;
}

.bridge-app-row .meta {
    color: #666;
    font-size: 12px;
}

.bridge-app-row .amount {
    color: #fff;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 14px;
    min-width: 70px;
    text-align: right;
}

.bridge-app-row .status {
    font-size: 11px;
    padding: 3px 10px;
    border-radius: 999px;
    font-weight: 500;
    min-width: 70px;
    text-align: center;
}

.status-paid {
    color: #6fcc80;
    background: rgba(111,204,128,0.1);
}

.status-open {
    color: #f0b060;
    background: rgba(240,176,96,0.1);
}

.status-overdue {
    color: #e06060;
    background: rgba(224,96,96,0.1);
}

.status-active {
    color: #4db8ff;
    background: rgba(77,184,255,0.1);
}

.status-waiting {
    color: #aaa;
    background: rgba(170,170,170,0.08);
}

.status-low {
    color: #f0b060;
    background: rgba(240,176,96,0.1);
}

.status-out {
    color: #e06060;
    background: rgba(224,96,96,0.1);
}

.status-ok {
    color: #6fcc80;
    background: rgba(111,204,128,0.1);
}

.bridge-app-footer {
    display: flex;
    justify-content: space-between;
    padding: 12px 18px;
    border-top: 1px solid rgba(255,255,255,0.06);
    font-size: 12px;
    color: #555;
}

.bridge-app-footer .val {
    color: #999;
    font-weight: 600;
}

/* Typing cursor in prompt */
.bridge-cursor {
    display: inline-block;
    width: 7px;
    height: 15px;
    background: rgba(255,255,255,0.6);
    margin-left: 2px;
    vertical-align: middle;
    animation: bridgeBlink 0.8s step-end infinite;
    border-radius: 1px;
}

/* BLOG / LATEST UPDATES */
.blog-section {
    padding: 100px 60px;
    background: #fff;
    max-width: none;
}

.blog-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.blog-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 56px;
}

.blog-section .section-label {
    color: #999;
}

.blog-section h2 {
    font-family: 'Inter', sans-serif;
    font-size: clamp(30px, 4.5vw, 44px);
    font-weight: 700;
    letter-spacing: -1.5px;
    color: #000;
    margin-bottom: 0;
    margin-top: 16px;
}

.blog-view-all {
    color: #666;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
    white-space: nowrap;
}

.blog-view-all:hover {
    color: #000;
}

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

.blog-card {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    border-radius: 16px;
    overflow: hidden;
    background: #f8f8f8;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}

.blog-card-image {
    aspect-ratio: 16/10;
    position: relative;
    overflow: hidden;
    border-radius: 16px 16px 0 0;
}

.blog-gradient-noise::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.15'/%3E%3C/svg%3E");
    background-size: 128px 128px;
    mix-blend-mode: overlay;
    pointer-events: none;
    border-radius: inherit;
}

.blog-card-body {
    padding: 20px;
}

.blog-card-title {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.4;
    color: #000;
}

.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
}

.blog-card-category {
    color: #333;
    font-weight: 500;
}

.blog-card-date {
    color: #999;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    nav { top: 8px; width: calc(100% - 16px); }
    .nav-inner { padding: 0 16px; height: 48px; }
    .nav-links { display: none; }
    .hamburger { display: flex; }
    .mobile-menu-overlay { display: block; }
    .hero { padding: 150px 20px 80px; }
    .hero-logo { height: 36px; }
    section { padding: 80px 20px; }
    .beta-card { padding: 36px 24px; }
    .form-row { flex-direction: column; }
    .press-hero { padding: 120px 20px 40px; }
    .press-content { padding: 0 20px 60px; }
    .press-card { padding: 24px; }
    .blog-section { padding: 60px 20px; }
    .blog-grid { grid-template-columns: 1fr; gap: 20px; }
    .blog-header { flex-direction: column; align-items: flex-start; gap: 12px; }
    .footer-inner { flex-direction: column; gap: 40px; }
    .footer-left { flex: none; }
    footer { padding: 48px 20px; }

    /* Bridge demo mobile */
    .bridge-demo { padding: 60px 16px; }
    .bridge-demo h2 { font-size: 28px; }
    .bridge-demo-prompts { gap: 8px; }
    .bridge-demo-prompts button { padding: 8px 16px; font-size: 13px; }
    .bridge-terminal { padding: 20px 16px; min-height: 280px; font-size: 12px; }
    .bridge-app-row { flex-wrap: wrap; gap: 6px; padding: 10px 14px; }
    .bridge-app-row .meta { display: none; }
    .bridge-app-header, .bridge-app-footer { padding: 10px 14px; }
    .bridge-progress { width: 200px; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 32px; letter-spacing: -1.5px; }
    .hero-sub { font-size: 15px; }
    .footer-nav { flex-direction: column; gap: 32px; }
}

/* Lock body scroll when menu is open */
body.menu-open {
    overflow: hidden;
}
