/* ═══════════════════════════════════════════
   SimplBooks Marketing Design System
   Moneybird-level modern, rounded, premium UI
   ═══════════════════════════════════════════ */

/* ── Design Tokens ── */
:root {
    /* Colors — Primary */
    --m-primary: #0d9488;
    --m-primary-hover: #0b7c72;
    --m-primary-light: #f0fdfa;
    --m-primary-border: #ccfbf1;
    --m-primary-glow: rgba(13, 148, 136, 0.08);

    /* Colors — Accent */
    --m-accent: #F59E0B;
    --m-accent-hover: #D97706;

    /* Colors — Text */
    --m-text: #0f172a;
    --m-text-secondary: #64748b;
    --m-text-muted: #94a3b8;

    /* Colors — Surfaces */
    --m-white: #ffffff;
    --m-gray-bg: #f8fafc;
    --m-border: #e2e8f0;
    --m-border-light: #f1f5f9;

    /* Colors — Dark sections (dark teal, not black/navy) */
    --m-dark-bg: #0f2a28;
    --m-dark-surface: rgba(255, 255, 255, 0.04);
    --m-dark-border: rgba(255, 255, 255, 0.08);
    --m-dark-text: #e2e8f0;
    --m-dark-muted: #cbd5e1;
    --m-dark-accent: #5eead4;

    /* Border Radius — Moneybird-level rounded */
    --m-radius-sm: 12px;
    --m-radius-md: 16px;
    --m-radius-lg: 20px;
    --m-radius-xl: 24px;
    --m-radius-pill: 9999px;

    /* Shadows — soft and simple (2-layer max) */
    --m-shadow-card: 0 1px 3px rgba(0, 0, 0, 0.04), 0 6px 24px rgba(0, 0, 0, 0.06);
    --m-shadow-card-hover: 0 2px 8px rgba(0, 0, 0, 0.04), 0 12px 40px rgba(0, 0, 0, 0.08);
    --m-shadow-soft: 0 2px 12px rgba(0, 0, 0, 0.05);
    --m-shadow-float: 0 4px 24px rgba(0, 0, 0, 0.1);

    /* Spacing */
    --m-section-pad: clamp(80px, 12vw, 120px);
    --m-card-pad: 36px;
    --m-max-width: 1200px;

    /* Typography */
    --m-font-display: 'Bricolage Grotesque', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --m-font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}


/* ── Reset & Base ── */
html { scroll-behavior: smooth; }
html, body { overflow-x: hidden; }
*, *::before, *::after { box-sizing: border-box; }

body {
    margin: 0;
    padding: 0;
    background: var(--m-white);
    color: var(--m-text);
    font-family: var(--m-font-body);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}


/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--m-radius-sm);
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-primary {
    background: var(--m-primary);
    color: #fff;
}
.btn-primary:hover {
    background: var(--m-primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(13, 148, 136, 0.25);
}

.btn-ghost {
    background: transparent;
    color: #475569;
    border: 1px solid var(--m-border);
}
.btn-ghost:hover {
    border-color: var(--m-primary);
    color: var(--m-primary);
}

.btn-accent {
    background: var(--m-accent);
    color: #fff;
    box-shadow: 0 2px 12px rgba(245, 158, 11, 0.25);
}
.btn-accent:hover {
    background: var(--m-accent-hover);
    box-shadow: 0 4px 20px rgba(245, 158, 11, 0.35);
    transform: translateY(-1px);
}

.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-lg { padding: 16px 36px; font-size: 16px; }


/* ── Intro Banner ── */
.intro-banner {
    background: linear-gradient(135deg, #0f766e, #0d9488);
    color: #fff;
    font-size: 13px;
    padding: 8px 16px;
    text-align: center;
}
.intro-banner-inner {
    max-width: var(--m-max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}
.intro-banner-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 3px 10px;
    border-radius: var(--m-radius-pill);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.3px;
}
.intro-banner-text { color: rgba(255, 255, 255, 0.9); }
.intro-banner-text strong { color: #fff; }
.intro-banner-sep { margin: 0 2px; opacity: 0.5; }
.intro-banner-link {
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    transition: border-color 0.2s;
}
.intro-banner-link:hover { border-color: #fff; }


/* ── Navigation ── */
.landing-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    padding: 0 24px;
}

.nav-inner {
    max-width: var(--m-max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

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

.nav-links {
    display: flex;
    gap: 36px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: var(--m-text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.15s;
}
.nav-links a:hover { color: var(--m-text); }

.nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: var(--m-text);
}

/* Login icon (mobile only) */
.nav-login-icon {
    display: none;
    padding: 8px;
    color: var(--m-text);
}

/* Mobile menu */
.nav-mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    z-index: 101;
    padding: 80px 20px 20px;
    flex-direction: column;
    gap: 4px;
    overflow-y: auto;
}
.nav-mobile-menu.open { display: flex; }
.nav-mobile-menu a {
    display: block;
    padding: 16px;
    color: var(--m-text);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    border-radius: var(--m-radius-sm);
}
.nav-mobile-menu a:hover { background: var(--m-gray-bg); }
.nav-mobile-menu .mobile-cta {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--m-border-light);
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.nav-mobile-menu .mobile-cta .btn { text-align: center; }
.nav-mobile-menu .mobile-cta .btn-primary { color: #fff; }
.nav-mobile-menu .mobile-cta .btn-ghost { color: #475569; }


/* ── Sections ── */
.section {
    padding: var(--m-section-pad) 24px;
}

.section-inner {
    max-width: var(--m-max-width);
    margin: 0 auto;
}

.section-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    color: var(--m-primary);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--m-font-display);
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 900;
    margin: 0 0 16px;
    letter-spacing: -0.025em;
    line-height: 1.1;
    text-wrap: balance;
}

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

.section-subtitle {
    font-size: 17px;
    line-height: 1.7;
    color: var(--m-text-secondary);
    margin: 0 0 56px;
    max-width: 500px;
    text-wrap: balance;
}

.section-subtitle-center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}


/* ── Dark Section ── */
.section-dark {
    background: var(--m-dark-bg);
    color: var(--m-dark-text);
}
.section-dark .section-label { color: var(--m-dark-accent); }
.section-dark .section-title { color: #fff; }
.section-dark .section-subtitle { color: var(--m-dark-muted); }


/* ── Gray Section ── */
.section-gray {
    background: var(--m-gray-bg);
}


/* ── Teal Gradient Section ── */
.section-teal {
    background: linear-gradient(180deg, var(--m-primary-light) 0%, var(--m-white) 100%);
}


/* ── Icon Boxes ── */
.icon-box {
    width: 52px;
    height: 52px;
    border-radius: var(--m-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    background: var(--m-primary-light);
    color: var(--m-primary);
}

.icon-box-sm {
    width: 44px;
    height: 44px;
    border-radius: var(--m-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: var(--m-primary-light);
    color: var(--m-primary);
}


/* ── Cards (Moneybird-style) ── */
.pillar-card {
    background: var(--m-white);
    border: 1px solid var(--m-border);
    border-radius: var(--m-radius-lg);
    padding: var(--m-card-pad) 28px;
    transition: box-shadow 0.3s, transform 0.3s;
}
.pillar-card:hover {
    box-shadow: var(--m-shadow-card-hover);
    transform: translateY(-2px);
}
.pillar-card h3 {
    font-family: var(--m-font-display);
    font-size: 18px;
    font-weight: 800;
    margin: 0 0 10px;
}
.pillar-card p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--m-text-secondary);
    margin: 0;
}


/* ── Bento Section (Moneybird-style depth) ── */
.bento-section {
    background: #f0f5f4;
    border-radius: var(--m-radius-xl);
    padding: 48px;
    max-width: var(--m-max-width);
    margin: 0 auto;
}

/* ── Bento Grid ── */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 16px;
    max-width: var(--m-max-width);
    margin: 0 auto;
}

.bento-card {
    background: var(--m-white);
    border: none;
    border-radius: var(--m-radius-lg);
    padding: 32px;
    transition: box-shadow 0.3s, transform 0.3s;
    box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}
.bento-card:hover {
    box-shadow: var(--m-shadow-card-hover);
    transform: translateY(-2px);
}

/* Bento sizing */
.bento-wide { grid-column: span 8; }
.bento-narrow { grid-column: span 4; }
.bento-half { grid-column: span 6; }
.bento-third { grid-column: span 4; }
.bento-full { grid-column: span 12; }

/* Bento color variants — only teal shades, no blue/black */
.bento-teal {
    background: var(--m-primary);
    border: none;
    color: #fff;
}
.bento-teal h3 { color: #fff; }
.bento-teal p { color: #fff; }
.bento-teal .bento-link { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.bento-teal .bento-link:hover { text-decoration-color: rgba(255,255,255,0.5); }

.bento-dark {
    background: #134e4a;
    border: none;
    color: #fff;
}
.bento-dark h3 { color: #fff; }
.bento-dark p { color: #fff; }
.bento-dark .bento-link { color: #5eead4; }

.bento-accent {
    background: #0f766e;
    border: none;
    color: #fff;
}
.bento-accent h3 { color: #fff; }
.bento-accent p { color: #fff; }
.bento-accent .bento-link { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* Bento with image */
.bento-card-img {
    border-radius: var(--m-radius-lg);
    overflow: hidden;
    padding: 0;
}
.bento-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    min-height: 200px;
}

.bento-card h3 {
    font-family: var(--m-font-display);
    font-size: 20px;
    font-weight: 800;
    margin: 0 0 10px;
}
.bento-card p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--m-text-secondary);
    margin: 0;
}
/* Override p color on colored cards (must come after .bento-card p) */
.bento-card.bento-teal p,
.bento-card.bento-dark p,
.bento-card.bento-accent p { color: #fff; }

/* Bento link arrow */
.bento-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--m-primary);
    text-decoration: none;
    margin-top: 16px;
    transition: gap 0.2s;
}
.bento-link:hover { gap: 10px; }


/* ── Floating Cards (hero overlay style) ── */
.hero-float-card {
    position: absolute;
    background: var(--m-white);
    border-radius: var(--m-radius-lg);
    padding: 14px 18px;
    box-shadow: var(--m-shadow-float);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 3;
}

.hero-float-icon {
    width: 36px;
    height: 36px;
    border-radius: var(--m-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.hero-float-icon-teal {
    background: var(--m-primary-light);
    color: var(--m-primary);
}
.hero-float-icon-accent {
    background: #fef3c7;
    color: var(--m-accent);
}

.hero-float-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--m-text);
    margin: 0;
    white-space: nowrap;
}
.hero-float-sub {
    font-size: 12px;
    color: var(--m-text-secondary);
    margin: 0;
    white-space: nowrap;
}

@keyframes floatCard1 {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}
@keyframes floatCard2 {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}
@keyframes floatCard3 {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}


/* ── Pill Tabs ── */
.pill-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 36px;
}

.pill-tab {
    padding: 10px 24px;
    border: 1px solid var(--m-border);
    border-radius: var(--m-radius-pill);
    background: var(--m-white);
    color: var(--m-text-secondary);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s;
}
.pill-tab:hover {
    border-color: var(--m-primary);
    color: var(--m-primary);
}
.pill-tab.active {
    background: var(--m-primary);
    border-color: var(--m-primary);
    color: #fff;
}


/* ── Manifesto ── */
.manifesto {
    max-width: 580px;
    margin: 0 auto;
}
.manifesto p {
    font-size: 17px;
    line-height: 1.85;
    color: #475569;
    margin: 0 0 20px;
}
.manifesto strong {
    color: var(--m-text);
    font-weight: 600;
}


/* ── Steps Grid ── */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.step-card {
    background: var(--m-white);
    border: 1px solid var(--m-border-light);
    border-radius: var(--m-radius-lg);
    padding: var(--m-card-pad) 28px;
    transition: box-shadow 0.3s, transform 0.3s;
}
.step-card:hover {
    box-shadow: var(--m-shadow-card-hover);
    transform: translateY(-2px);
}
.step-card-accent {
    background: var(--m-primary-light);
    border-color: #99f6e4;
}
.step-number {
    width: 44px;
    height: 44px;
    border-radius: var(--m-radius-sm);
    background: var(--m-primary);
    color: #fff;
    font-family: var(--m-font-display);
    font-size: 18px;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}
.step-card h3 {
    font-family: var(--m-font-display);
    font-size: 18px;
    font-weight: 800;
    margin: 0 0 10px;
}
.step-card p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--m-text-secondary);
    margin: 0;
}


/* ── Foundation Grid ── */
.foundation-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    max-width: 800px;
    margin: 0 auto;
}
.foundation-card {
    background: var(--m-white);
    border: 1px solid var(--m-border-light);
    border-radius: var(--m-radius-md);
    padding: 24px 22px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    transition: box-shadow 0.2s;
}
.foundation-card:hover { box-shadow: var(--m-shadow-soft); }
.foundation-card h3 {
    font-family: var(--m-font-display);
    font-size: 15px;
    font-weight: 800;
    margin: 0 0 4px;
}
.foundation-card p {
    font-size: 13px;
    line-height: 1.6;
    color: var(--m-text-secondary);
    margin: 0;
}


/* ── Comparison Section (dark) ── */
.comparison-section {
    background: var(--m-dark-bg);
    color: #ffffff;
}
.comparison-section .section-label { color: var(--m-dark-accent); }
.comparison-section .section-title { color: #fff; }
.comparison-section .section-subtitle { color: rgba(255, 255, 255, 0.7); }

.comparison-wrapper {
    max-width: 780px;
    margin: 0 auto;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
    font-variant-numeric: tabular-nums;
}
.comparison-table th,
.comparison-table td {
    padding: 16px 18px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.comparison-table th {
    font-weight: 600;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding-bottom: 18px;
}
.comparison-table th:first-child,
.comparison-table td:first-child {
    text-align: left;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
}
.comparison-table .hl { color: #ffffff; font-weight: 700; }
.comparison-table th.hl { color: #ffffff; font-weight: 700; font-size: 14px; }
.comparison-table .dim { color: rgba(255, 255, 255, 0.35); }
.comparison-table tbody tr:last-child td { border-bottom: none; }


/* ── Cost Chart (ROI) ── */
.cost-chart {
    max-width: 600px;
    margin: 0 auto;
}
.cost-chart-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 36px;
}
.cost-chart-tab {
    padding: 10px 24px;
    border: 1px solid var(--m-border);
    border-radius: var(--m-radius-pill);
    background: var(--m-white);
    color: var(--m-text-secondary);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s;
}
.cost-chart-tab:hover {
    border-color: var(--m-primary);
    color: var(--m-primary);
}
.cost-chart-tab.active {
    background: var(--m-primary);
    border-color: var(--m-primary);
    color: #fff;
}
.cost-chart-bars {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.cost-bar-row {
    display: flex;
    align-items: center;
    gap: 14px;
}
.cost-bar-label {
    width: 100px;
    flex-shrink: 0;
    font-size: 13px;
    font-weight: 500;
    color: var(--m-text-secondary);
    text-align: right;
}
.cost-bar-label.cost-bar-hl {
    color: var(--m-primary);
    font-weight: 700;
}
.cost-bar-track {
    flex: 1;
    background: var(--m-border-light);
    border-radius: var(--m-radius-sm);
    height: 40px;
    overflow: hidden;
}
.cost-bar-fill {
    height: 100%;
    border-radius: var(--m-radius-sm);
    display: flex;
    align-items: center;
    padding-left: 14px;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    transition: width 0.6s ease;
    min-width: fit-content;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}
.cost-bar-fill.bar-simplbooks {
    background: var(--m-primary);
}
.cost-bar-fill.bar-competitor {
    background: #cbd5e1;
    color: #475569;
}
.cost-chart-note {
    text-align: center;
    margin-top: 24px;
    font-size: 13px;
    color: var(--m-text-muted);
}


/* ── Sem Section ── */
.sem-section {
    background: var(--m-primary-light);
}

.sem-hero-photo {
    width: 100%;
    border-radius: var(--m-radius-lg);
    object-fit: cover;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.08);
}

.sem-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
    max-width: 960px;
    margin: 0 auto;
}

.sem-chat {
    background: var(--m-white);
    border: 1px solid var(--m-border);
    border-radius: var(--m-radius-lg);
    padding: 28px;
    box-shadow: var(--m-shadow-soft);
}

.chat-msg {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 20px;
}
.chat-msg:last-child { margin-bottom: 0; }

.chat-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 12px;
    font-weight: 700;
}
.chat-avatar-user { background: var(--m-border-light); color: var(--m-text-secondary); }
.chat-avatar-sem { background: none; padding: 0; overflow: hidden; border-radius: 10px; }
.chat-avatar-sem img { width: 100%; height: 100%; object-fit: cover; }

.chat-bubble {
    padding: 14px 18px;
    border-radius: var(--m-radius-md);
    font-size: 14px;
    line-height: 1.6;
    max-width: 85%;
}
.chat-bubble-user { background: var(--m-gray-bg); border: 1px solid var(--m-border-light); }
.chat-bubble-sem { background: var(--m-primary-light); border: 1px solid var(--m-primary-border); }


/* ── Sem Quip (section divider) ── */
.sem-quip-landing {
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin: -40px auto -40px;
    padding: 0 24px;
}

.sem-quip-card {
    display: flex;
    gap: 20px;
    align-items: center;
    background: white;
    border-radius: var(--m-radius-lg);
    padding: 28px 32px;
    box-shadow:
        0 4px 24px rgba(13, 148, 136, 0.1),
        0 1px 3px rgba(0, 0, 0, 0.04),
        0 0 0 1px rgba(13, 148, 136, 0.06);
}

.sem-quip-orb {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 4px 20px rgba(13, 148, 136, 0.3);
    animation: semFloat 3s ease-in-out infinite;
}

.sem-quip-content { flex: 1; }
.sem-quip-content p {
    margin: 0;
    font-size: 17px;
    color: #1a2332;
    line-height: 1.55;
    font-style: italic;
    font-weight: 500;
}

.sem-quip-name {
    display: block;
    margin-top: 8px;
    font-size: 12px;
    font-weight: 700;
    color: var(--m-primary);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

@keyframes semFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}


/* ── Pricing ── */
.pricing-section {
    background: linear-gradient(180deg, var(--m-primary-light) 0%, var(--m-white) 100%);
}

.pricing-card {
    max-width: 480px;
    margin: 0 auto;
    background: var(--m-white);
    border: 1px solid var(--m-border);
    border-radius: var(--m-radius-xl);
    padding: 48px 40px;
    text-align: center;
    box-shadow: var(--m-shadow-card);
}

.pricing-price {
    font-family: var(--m-font-display);
    font-size: 64px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -2px;
    margin-bottom: 4px;
    color: var(--m-text);
}

.pricing-intro-label {
    display: inline-block;
    background: var(--m-primary-light);
    color: var(--m-primary);
    font-size: 13px;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: var(--m-radius-pill);
    margin-bottom: 16px;
    border: 1px solid var(--m-primary-border);
}
.pricing-suffix { font-size: 15px; font-weight: 500; color: var(--m-text-muted); margin-top: 4px; }
.pricing-old { font-size: 13px; color: #cbd5e1; margin-top: 6px; }
.pricing-old s { text-decoration: line-through; }
.pricing-btw { font-size: 13px; color: var(--m-primary); font-weight: 600; margin-top: 8px; }

.pricing-divider {
    height: 1px;
    background: var(--m-border-light);
    margin: 28px 0;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 32px;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.pricing-features li {
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #334155;
}
.pricing-features li svg { flex-shrink: 0; color: var(--m-primary); }

.pricing-card .btn { width: 100%; padding: 16px; font-size: 16px; border-radius: var(--m-radius-sm); }
.pricing-note { margin-top: 16px; font-size: 13px; color: var(--m-text-muted); }
.pricing-note a { color: var(--m-primary); font-weight: 600; text-decoration: none; }


/* ── Build Section (dark cards) ── */
.build-section {
    background: var(--m-dark-bg);
    color: var(--m-dark-text);
}
.build-section .section-label { color: var(--m-dark-accent); }
.build-section .section-title { color: #fff; }
.build-section .section-subtitle { color: var(--m-dark-muted); }

.build-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 48px;
}
.build-card {
    background: var(--m-dark-surface);
    border: 1px solid var(--m-dark-border);
    border-radius: var(--m-radius-lg);
    padding: 32px 24px;
    transition: all 0.3s;
}
.build-card:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(52, 211, 153, 0.3);
    transform: translateY(-2px);
}
.build-card .build-icon {
    width: 44px; height: 44px; border-radius: var(--m-radius-sm);
    background: rgba(52, 211, 153, 0.1);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 16px;
}
.build-card .build-icon svg { color: var(--m-dark-accent); }
.build-card h3 {
    font-family: var(--m-font-display);
    font-size: 17px; font-weight: 800;
    color: #fff; margin: 0 0 8px;
}
.build-card p {
    font-size: 14px; line-height: 1.7;
    color: var(--m-dark-muted); margin: 0;
}
.build-code {
    background: var(--m-dark-surface);
    border: 1px solid var(--m-dark-border);
    border-radius: var(--m-radius-sm);
    padding: 24px;
    margin-top: 40px;
    font-family: 'SF Mono', 'Fira Code', monospace;
    font-size: 14px;
    color: var(--m-dark-muted);
    overflow-x: auto;
}
.build-code .comment { color: #475569; }
.build-code .keyword { color: var(--m-dark-accent); }
.build-code .string { color: var(--m-accent); }


/* ── Founder ── */
.founder-section { background: var(--m-gray-bg); }
.founder-card {
    display: grid;
    grid-template-columns: 280px 1fr;
    align-items: center;
    gap: 56px;
    max-width: 820px;
    margin: 0 auto;
    background: var(--m-white);
    border-radius: var(--m-radius-lg);
    padding: 40px 48px;
    box-shadow: var(--m-shadow-soft);
}
.founder-photo-wrap { position: relative; }
.founder-photo {
    width: 100%;
    aspect-ratio: 1;
    border-radius: var(--m-radius-md);
    object-fit: cover;
    display: block;
}
.founder-text h3 {
    font-family: var(--m-font-display);
    font-size: 24px;
    font-weight: 800;
    margin: 0 0 4px;
    color: var(--m-text);
}
.founder-role {
    font-size: 14px;
    color: var(--m-primary);
    font-weight: 600;
    margin: 0 0 16px;
}
.founder-text p {
    font-size: 16px;
    line-height: 1.75;
    color: #475569;
    margin: 0 0 20px;
}
.founder-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 15px;
    color: var(--m-primary);
    font-weight: 600;
    text-decoration: none;
}
.founder-link:hover { gap: 10px; }


/* ── FAQ ── */
.faq-list { max-width: 640px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--m-border-light); }
.faq-item:last-child { border-bottom: none; }

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 22px 0;
    font-size: 15px;
    font-weight: 600;
    color: var(--m-text);
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    font-family: inherit;
    transition: color 0.15s;
}
.faq-question:hover { color: var(--m-primary); }

.faq-icon {
    font-size: 20px;
    font-weight: 300;
    transition: transform 0.25s;
    color: var(--m-text-muted);
}
.faq-item.open .faq-icon { transform: rotate(45deg); }

.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-item.open .faq-answer { max-height: 300px; }
.faq-answer p {
    margin: 0;
    padding: 0 0 22px;
    font-size: 14px;
    line-height: 1.75;
    color: var(--m-text-secondary);
}


/* ── CTA Section ── */
.final-cta {
    text-align: center;
    padding: var(--m-section-pad) 24px;
}
.final-cta.section-dark {
    background: var(--m-dark-bg);
}
.final-cta .section-inner { max-width: 520px; }
.final-cta-desc {
    font-size: 17px;
    color: var(--m-text-secondary);
    margin: 20px 0 36px;
    line-height: 1.7;
    text-wrap: balance;
}
.final-cta.section-dark .final-cta-desc { color: var(--m-dark-muted); }
.final-cta-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}


/* ── Footer ── */
.landing-footer {
    padding: 24px;
    background: var(--m-gray-bg);
}
.footer-inner {
    max-width: var(--m-max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.footer-copy { font-size: 13px; color: var(--m-text-muted); }
.footer-links { display: flex; gap: 24px; }
.footer-links a {
    font-size: 13px;
    color: var(--m-text-muted);
    text-decoration: none;
    transition: color 0.15s;
}
.footer-links a:hover { color: var(--m-text); }


/* ── Animations ── */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}


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

@media (max-width: 900px) {
    .pillars-grid { grid-template-columns: 1fr; }
    .sem-grid { grid-template-columns: 1fr; gap: 40px; }
    .foundation-grid { grid-template-columns: 1fr; }
    .build-grid { grid-template-columns: 1fr; }
    .steps-grid { grid-template-columns: 1fr; gap: 14px; }

    /* Bento: stack to 2-col */
    .bento-wide,
    .bento-narrow { grid-column: span 6; }
    .bento-half { grid-column: span 6; }
    .bento-section { padding: 32px 24px; border-radius: var(--m-radius-lg); }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-hamburger { display: block; order: -1; }
    .nav-inner {
        justify-content: space-between;
    }
    .nav-logo {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }
    .nav-actions .nav-login-text,
    .nav-actions .nav-demo-text { display: none; }
    .nav-login-icon { display: block; }
}

@media (max-width: 640px) {
    .section { padding: 56px 20px; }

    .landing-nav { padding: 0 16px; }
    .nav-actions .btn-sm {
        padding: 12px 14px;
        font-size: 13px;
        white-space: nowrap;
        min-height: 44px;
    }

    /* Bento: single column on mobile */
    .bento-wide,
    .bento-narrow,
    .bento-half,
    .bento-third,
    .bento-full { grid-column: span 12; }
    .bento-section { padding: 24px 16px; border-radius: var(--m-radius-md); }
    .bento-card { padding: 24px; }

    .pricing-card { padding: 32px 22px; }
    .pricing-price { font-size: 48px; }

    /* Comparison table mobile: card-style rows */
    .comparison-table thead { display: none; }
    .comparison-table td { display: none; }
    .comparison-table td:first-child,
    .comparison-table td.hl { display: block; }
    .comparison-table { font-size: 15px; }
    .comparison-table tbody tr {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 16px 20px;
        margin-bottom: 8px;
        border-bottom: none;
        background: rgba(255, 255, 255, 0.06);
        border-radius: var(--m-radius-sm);
    }
    .comparison-table tbody tr:last-child { margin-bottom: 0; }
    .comparison-table td:first-child {
        text-align: left;
        font-weight: 500;
        color: rgba(255, 255, 255, 0.7);
        padding: 0;
        border: none;
        font-size: 14px;
    }
    .comparison-table td.hl {
        text-align: right;
        padding: 0;
        border: none;
        font-weight: 700;
        color: #fff;
    }

    /* Cost chart mobile */
    .cost-bar-label { width: 76px; font-size: 12px; }
    .cost-bar-fill { font-size: 12px; padding-left: 10px; }
    .cost-bar-track { height: 36px; }

    /* Sem quip mobile */
    .sem-quip-landing { margin: -28px auto -28px; }
    .sem-quip-card { padding: 20px; gap: 14px; border-radius: var(--m-radius-md); }
    .sem-quip-orb { width: 48px; height: 48px; border-radius: 14px; }
    .sem-quip-content p { font-size: 15px; }

    /* Footer mobile */
    .footer-inner { flex-direction: column; gap: 12px; text-align: center; }

    /* Founder mobile */
    .founder-card {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 28px;
        padding: 28px 24px 32px;
    }
    .founder-photo {
        max-width: 200px;
        margin: 0 auto;
        border-radius: 50%;
    }

    /* CTA buttons mobile */
    .final-cta-buttons { flex-direction: column; width: 100%; }
    .final-cta-buttons .btn { width: 100%; text-align: center; }
}

@media (max-width: 480px) {
    .pricing-price { font-size: 44px; }
    .pricing-card { padding: 24px 18px; }
}

@media (max-width: 380px) {
    .pricing-price { font-size: 36px; }
}


/* ═══════════════════════════════════════════
   Content Pages (SEO pages, blog, comparison)
   ═══════════════════════════════════════════ */

/* ── Content Hero (narrower than landing hero) ── */
.content-hero {
    padding: var(--m-section-pad) 24px clamp(48px, 6vw, 72px);
    text-align: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, var(--m-primary-light) 0%, var(--m-white) 100%);
}
.content-hero::before {
    content: '';
    position: absolute;
    top: -120px; left: 50%;
    transform: translateX(-50%);
    width: 800px; height: 800px;
    background: radial-gradient(circle, rgba(13,148,136,0.06) 0%, transparent 60%);
    pointer-events: none;
}
.content-hero-inner {
    max-width: 720px;
    margin: 0 auto;
    position: relative;
}
.content-hero h1 {
    font-family: var(--m-font-display);
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 900;
    line-height: 1.1;
    margin: 0 0 20px;
    letter-spacing: -0.03em;
    text-wrap: balance;
}
.content-hero h1 em { font-style: normal; color: var(--m-primary); }
.content-hero .hero-sub {
    font-size: clamp(16px, 2vw, 18px);
    line-height: 1.7;
    color: var(--m-text-secondary);
    margin: 0 auto 32px;
    max-width: 540px;
}


/* ── Content Body ── */
.content h2 {
    font-family: var(--m-font-display);
    font-size: clamp(22px, 3vw, 30px);
    font-weight: 800;
    margin: 0 0 16px;
    letter-spacing: -0.02em;
}
.content h3 {
    font-size: 18px;
    font-weight: 700;
    margin: 24px 0 8px;
}
.content p {
    font-size: 16px;
    line-height: 1.8;
    color: #475569;
    margin: 0 0 16px;
}
.content ul {
    margin: 0 0 24px;
    padding-left: 20px;
}
.content li {
    font-size: 15px;
    line-height: 1.8;
    color: #475569;
    margin-bottom: 8px;
}
.content li strong { color: var(--m-text); }
.content a { color: var(--m-primary); }
.content a:hover { text-decoration: underline; }


/* ── Highlight Box ── */
.highlight-box {
    background: var(--m-primary-light);
    border: 1px solid var(--m-primary-border);
    border-radius: var(--m-radius-sm);
    padding: 24px;
    margin: 24px 0;
}
.highlight-box h3 {
    font-family: var(--m-font-display);
    font-size: 18px;
    font-weight: 800;
    margin: 0 0 8px;
    color: var(--m-primary);
}
.highlight-box p {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
    color: #475569;
}


/* ── CTA Section (teal gradient, used on content pages) ── */
.cta-section {
    padding: var(--m-section-pad) 24px;
    text-align: center;
    background: var(--m-dark-bg);
    color: white;
}
.cta-section h2 {
    font-family: var(--m-font-display);
    font-size: clamp(24px, 4vw, 36px);
    font-weight: 900;
    margin: 0 0 12px;
}
.cta-section p {
    font-size: 16px;
    color: var(--m-dark-muted);
    margin: 0 0 28px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}
.cta-section .btn-primary { background: white; color: var(--m-primary); }
.cta-section .btn-primary:hover { background: var(--m-primary-light); }


/* ── Breadcrumb ── */
.breadcrumb {
    font-size: 13px;
    color: var(--m-text-muted);
    margin-bottom: 16px;
}
.breadcrumb a { color: var(--m-primary); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }


/* ── Internal Links ── */
.internal-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 24px;
}
.internal-links a {
    font-size: 13px;
    color: var(--m-primary);
    text-decoration: none;
    padding: 6px 14px;
    border: 1px solid var(--m-border);
    border-radius: var(--m-radius-sm);
    transition: all 0.2s;
}
.internal-links a:hover {
    border-color: var(--m-primary);
    background: var(--m-primary-light);
}


/* ── Section Alt ── */
.section-alt { background: var(--m-gray-bg); }


/* ── Article (Blog Posts) ── */
.article {
    max-width: 680px;
    margin: 0 auto;
    padding: 48px 24px 80px;
}
.article-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--m-text-muted);
    text-decoration: none;
    margin-bottom: 32px;
}
.article-back:hover { color: var(--m-primary); }
.article-header { margin-bottom: 40px; }
.article-date {
    font-size: 13px;
    color: var(--m-text-muted);
    margin-bottom: 12px;
}
.article h1 {
    font-family: var(--m-font-display);
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 900;
    line-height: 1.15;
    margin: 0 0 16px;
    letter-spacing: -0.025em;
}
.article-intro {
    font-size: 18px;
    line-height: 1.7;
    color: var(--m-text-secondary);
}
.article-body h2 {
    font-family: var(--m-font-display);
    font-size: 24px;
    font-weight: 800;
    margin: 48px 0 16px;
}
.article-body p {
    font-size: 16px;
    line-height: 1.85;
    color: #475569;
    margin: 0 0 20px;
}
.article-body blockquote {
    border-left: 3px solid var(--m-primary);
    padding: 16px 24px;
    margin: 24px 0;
    background: var(--m-primary-light);
    border-radius: 0 var(--m-radius-sm) var(--m-radius-sm) 0;
    font-size: 16px;
    color: #334155;
    line-height: 1.7;
}
.article-body strong { color: var(--m-text); }
.article-body a { color: var(--m-primary); }
.article-cta {
    background: var(--m-dark-bg);
    border-radius: var(--m-radius-lg);
    padding: 40px;
    text-align: center;
    margin-top: 48px;
    color: white;
}
.article-cta h3 {
    font-family: var(--m-font-display);
    font-size: 22px;
    font-weight: 800;
    margin: 0 0 12px;
}
.article-cta p {
    font-size: 15px;
    color: var(--m-dark-muted);
    margin: 0 0 24px;
}


/* ── Legal Pages ── */
.legal-container {
    max-width: 720px;
    margin: 0 auto;
    padding: 48px 24px 80px;
}
.legal-card {
    background: var(--m-white);
    border-radius: var(--m-radius-lg);
    padding: 48px;
    box-shadow: var(--m-shadow-card);
}
.legal-header {
    margin-bottom: 40px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--m-border-light);
}
.legal-header h1 {
    font-family: var(--m-font-display);
    font-size: 28px;
    font-weight: 800;
    margin: 0 0 8px;
}
.legal-header p {
    font-size: 14px;
    color: var(--m-text-muted);
    margin: 0;
}
.legal-content h2 {
    font-family: var(--m-font-display);
    font-size: 20px;
    font-weight: 700;
    margin: 32px 0 12px;
    color: var(--m-text);
}
.legal-content p {
    font-size: 15px;
    line-height: 1.75;
    color: #475569;
    margin: 0 0 16px;
}
.legal-content ul {
    margin: 0 0 16px;
    padding-left: 20px;
}
.legal-content li {
    font-size: 15px;
    line-height: 1.75;
    color: #475569;
    margin-bottom: 6px;
}
.legal-content a { color: var(--m-primary); }
.legal-footer {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid var(--m-border-light);
    font-size: 13px;
    color: var(--m-text-muted);
}

@media (max-width: 640px) {
    .legal-card { padding: 28px 20px; }
    .article { padding: 32px 16px 60px; }
    .article-cta { padding: 28px 20px; }
}
