/* ===== Variables ===== */
:root {
    --primary: #0f0f0f;
    --gold: #b8975a;
    --gold-light: #d4af7a;
    --gold-btn: #c9a45c;
    --bg-white: #ffffff;
    --bg-cream: #f7f5f0;
    --bg-card: #f2efe8;
    --bg-dark: #111111;
    --text-body: #555555;
    --text-muted: #888888;
    --text-heading: #0f0f0f;
    --border: #e5e1d8;
    --border-dark: #2a2a2a;
    --shadow-sm: 0 1px 4px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.09);
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 16px;

    /* ── Typography scale ── */
    --font-serif: 'Playfair Display', 'Georgia', serif;
    --font-sans:  'Inter', 'Segoe UI', system-ui, sans-serif;

    /* headings */
    --fs-h1:   clamp(2.6rem, 6vw, 5rem);
    --fs-h2:   clamp(2rem, 4vw, 3.2rem);
    --fs-h3:   clamp(1.4rem, 2.5vw, 2rem);
    --fs-h4:   1.25rem;
    --fs-h5:   1.05rem;

    /* body / ui */
    --fs-body:    1rem;        /* 16px — main paragraphs */
    --fs-body-sm: 0.875rem;    /* 14px — secondary text, card descs */
    --fs-label:   0.75rem;     /* 12px — overlines, badges, labels */
    --fs-xs:      0.6875rem;   /* 11px — timestamps, captions, fine print */
}

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

body {
    font-family: var(--font-sans);
    color: var(--text-body);
    background: var(--bg-white);
    line-height: 1.65;
    font-size: 16px;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* All headings — Playfair Display, consistent weights & line-height */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    color: var(--text-heading);
    font-weight: 800;
    line-height: 1.12;
    margin: 0;
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); font-weight: 700; }
h5 { font-size: var(--fs-h5); font-weight: 700; }
h6 { font-size: var(--fs-body); font-weight: 700; }

/* Body copy — Inter */
p, span, li, label, input, textarea, button, a {
    font-family: var(--font-sans);
}
p { font-size: var(--fs-body); line-height: 1.7; color: var(--text-body); margin: 0; }

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

/* ── Shared section typography helpers ──
   These classes are used on every page for consistent overlines,
   section headings and body text. Avoid one-off font-size overrides
   in component rules; use these instead. */
.section-overline {
    display: block;
    font-family: var(--font-sans);
    font-size: var(--fs-label);
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}
.section-title-serif {
    font-family: var(--font-serif);
    font-size: var(--fs-h2);
    font-weight: 800;
    color: var(--text-heading);
    line-height: 1.1;
    margin-bottom: 0;
}
.section-body {
    font-family: var(--font-sans);
    font-size: var(--fs-body);
    color: var(--text-body);
    line-height: 1.7;
    max-width: 580px;
}

/* ===== NAVBAR ===== */
.navbar {
    background: #ffffff;
    border-bottom: 1px solid #ede9e0;
    padding: 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: 60px;
    display: flex;
    align-items: center;
}

/* Three-column grid: brand | center nav | actions */
.navbar-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    width: 100%;
    gap: 0;
}

/* Brand — left column */
.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-family: 'Inter', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary) !important;
    letter-spacing: -0.3px;
    white-space: nowrap;
    padding-right: 2rem;
    text-decoration: none;
}

.navbar-logo-img {
    width: 30px;
    height: 30px;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
}

.navbar-brand-icon {
    width: 30px;
    height: 30px;
    background: var(--primary);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.navbar-brand-icon i { color: #fff; font-size: 0.85rem; }

/* Nav links — center column, truly centered */
.navbar-nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
}

.navbar-nav-links li { position: relative; }

.navbar-nav-links a {
    font-size: 0.875rem;
    font-weight: 500;
    color: #444;
    padding: 0 0.7rem;
    line-height: 60px;   /* full navbar height → vertically centered */
    display: block;
    font-family: 'Inter', sans-serif;
    white-space: nowrap;
    transition: color 0.18s;
    text-decoration: none;
}

.navbar-nav-links a:hover { color: #000; }

/* Active — gold underline flush to navbar bottom */
.navbar-nav-links a.active {
    color: #000;
    font-weight: 600;
}

.navbar-nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0.7rem;
    right: 0.7rem;
    height: 2.5px;
    background: var(--gold);
    border-radius: 2px 2px 0 0;
}

/* Actions — right column */
.navbar-actions {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding-left: 2rem;
    flex-shrink: 0;
}

.btn-signin {
    font-size: 0.875rem;
    font-weight: 500;
    color: #333;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.4rem 0.6rem;
    font-family: 'Inter', sans-serif;
    transition: color 0.18s;
    text-decoration: none;
    white-space: nowrap;
}

.btn-signin:hover { color: #000; }

.btn-book-demo {
    font-size: 0.875rem;
    font-weight: 600;
    color: #fff;
    background: #0f0f0f;
    border: none;
    border-radius: 50px;
    padding: 0.55rem 1.35rem;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    transition: background 0.18s;
    display: inline-block;
    white-space: nowrap;
    text-decoration: none;
    line-height: 1.4;
}

.btn-book-demo:hover {
    background: #1a1a1a;
    color: #fff;
}

/* ===== HERO ===== */
.hero-section {
    min-height: 100vh;
    padding: 120px 0 80px;
    background: var(--bg-white);
    position: relative;
    overflow: hidden;
    max-width: 100vw;
}

/* giant watermark */
.hero-watermark {
    position: absolute;
    top: 50%;
    right: -2%;
    transform: translateY(-50%);
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(120px, 16vw, 220px);
    font-weight: 800;
    color: transparent;
    -webkit-text-stroke: 1.5px #e8e4dc;
    pointer-events: none;
    user-select: none;
    white-space: nowrap;
    line-height: 1;
    z-index: 0;
    max-width: 100vw;
    overflow: hidden;
}

@media (max-width: 767px) {
    .hero-watermark { display: none; }
}

/* grid lines background */
.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(var(--border) 1px, transparent 1px),
        linear-gradient(90deg, var(--border) 1px, transparent 1px);
    background-size: 80px 80px;
    opacity: 0.35;
    pointer-events: none;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.75rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    border: 1px solid #ccc;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 700;
    color: #444;
    padding: 0.3rem 0.85rem;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    font-family: 'Inter', sans-serif;
    background: rgba(255,255,255,0.8);
}

.hero-section h1 {
    font-size: clamp(2.8rem, 7vw, 5.8rem);  /* large editorial — matches Lovable */
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -3px;
    margin-bottom: 1.75rem;
    line-height: 1.0;
}

.hero-section h1 em {
    font-style: italic;
    color: var(--gold);
    letter-spacing: -2px;
}

.hero-desc {
    font-size: 1rem;           /* 16px body */
    color: #555;
    max-width: 600px;
    margin-bottom: 2rem;
    line-height: 1.8;
    font-family: 'Inter', sans-serif;
}

.hero-desc strong { color: var(--primary); font-weight: 600; }

/* email + CTA bar */
.hero-cta-bar {
    display: flex;
    align-items: center;
    max-width: 480px;
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: 50px;
    overflow: hidden;
    padding: 0.25rem 0.25rem 0.25rem 1.25rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    margin-bottom: 1.5rem;
}

.hero-cta-bar input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 0.88rem;
    color: #333;
    background: transparent;
    font-family: 'Inter', sans-serif;
    min-width: 0;
}

.hero-cta-bar input::placeholder { color: #aaa; }

.btn-hero-primary {
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    padding: 0.65rem 1.4rem;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: background 0.2s;
    white-space: nowrap;
    flex-shrink: 0;
}

.btn-hero-primary:hover { background: #222; }

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #333;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    background: none;
    border: none;
    transition: color 0.2s;
}

.btn-hero-secondary:hover { color: var(--primary); }

.btn-hero-secondary .play-icon {
    width: 36px;
    height: 36px;
    background: var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.btn-hero-secondary .play-icon i {
    color: #fff;
    font-size: 0.75rem;
    margin-left: 2px;
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    font-size: 0.8rem;
    color: #666;
    font-family: 'Inter', sans-serif;
}

.hero-trust span {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.hero-trust i { color: #555; font-size: 0.75rem; }

/* ===== METRICS ===== */
.metrics-section {
    background: var(--bg-white);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 0;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.metric-item {
    padding: 2.5rem 2.5rem;
    border-right: 1px solid var(--border);
}

.metric-item:last-child { border-right: none; }

.metric-number {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2.8rem, 4vw, 4rem);   /* matches big bold numbers in Lovable */
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 0.6rem;
    letter-spacing: -2px;
}

.metric-label {
    font-size: 0.9rem;
    color: var(--primary);
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    margin-bottom: 0.25rem;
}

.metric-sub {
    font-size: 0.8rem;
    color: #888;
    font-family: 'Inter', sans-serif;
}

/* ===== CATALOG TAGS ===== */
.catalog-section {
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--border);
}

.catalog-inner {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.catalog-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #888;
    font-family: 'Inter', sans-serif;
    flex-shrink: 0;
}

.catalog-tags {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.catalog-tag {
    font-size: 0.88rem;
    font-weight: 500;
    color: #333;
    font-family: 'Inter', sans-serif;
}

/* ===== SECTION COMMON — canonical definitions live in :root block above ===== */

/* ===== FEATURES SECTION ===== */
.features-section {
    padding: 80px 0 60px;
    background: var(--bg-white);
}

.features-header {
    margin-bottom: 3rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.feature-card {
    padding: 2rem;
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--bg-white);
    transition: background 0.25s;
    cursor: default;
}

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

.feature-card:nth-child(3),
.feature-card:nth-child(6) { border-right: none; }

.feature-card:nth-child(4),
.feature-card:nth-child(5),
.feature-card:nth-child(6) { border-bottom: none; }

.feature-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 1.25rem;
}

.feature-icon-circle {
    width: 40px;
    height: 40px;
    border: 1px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-white);
}

.feature-icon-circle i { font-size: 1rem; color: var(--primary); }

.feature-num {
    font-size: 0.72rem;
    font-weight: 700;
    color: #aaa;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.5px;
}

.feature-card h5 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.65rem;
    line-height: 1.18;
    letter-spacing: -0.3px;
}

.feature-card p {
    font-size: 0.875rem;
    color: #666;
    line-height: 1.7;
    font-family: 'Inter', sans-serif;
    margin-bottom: 1rem;
}

.feature-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.feature-chip {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 500;
    color: #555;
    padding: 0.2rem 0.65rem;
    font-family: 'Inter', sans-serif;
}

/* ===== WORKFLOW ===== */
.workflow-section {
    padding: 80px 0;
    background: var(--bg-cream);
}

.workflow-header { margin-bottom: 3rem; }

.workflow-cards {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.75rem;
    margin-bottom: 2.5rem;
}

.workflow-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
}

.workflow-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-bottom: 1rem;
}

.workflow-card-num {
    font-size: 0.7rem;
    font-weight: 700;
    color: #aaa;
    font-family: 'Inter', sans-serif;
    float: right;
    margin-top: -1.5rem;
}

.workflow-card h5 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
    clear: both;
    letter-spacing: -0.2px;
}

.workflow-card p {
    font-size: 0.82rem;
    color: #666;
    line-height: 1.65;
    font-family: 'Inter', sans-serif;
}

.workflow-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--primary);
    font-family: 'Inter', sans-serif;
    transition: gap 0.2s;
}

.workflow-link:hover { gap: 0.65rem; }

/* ===== TESTIMONIALS ===== */
.testimonials-section {
    padding: 80px 0;
    background: var(--bg-white);
}

.testimonials-header {
    margin-bottom: 3rem;
}

.testimonials-layout {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1.25rem;
    align-items: stretch;
}

.testimonial-quote-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.quote-marks {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 3.5rem;
    line-height: 0.5;
    color: #ddd;
    margin-bottom: 1.5rem;
    display: block;
}

.testimonial-quote-text {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.4rem;          /* slightly larger — matches Lovable screenshot */
    color: var(--primary);
    line-height: 1.55;
    font-weight: 700;
    margin-bottom: 2rem;
    flex: 1;
    letter-spacing: -0.3px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.author-avatar {
    width: 40px;
    height: 40px;
    background: var(--bg-card);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    color: #666;
    font-family: 'Inter', sans-serif;
    flex-shrink: 0;
}

.author-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
    font-family: 'Inter', sans-serif;
}

.author-title {
    font-size: 0.78rem;
    color: #888;
    font-family: 'Inter', sans-serif;
}

.testimonial-side {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 200px;
    height: 100%;
}

.testimonial-side > * {
    flex: 1;
}

.testimonial-badge-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem;
    text-align: center;
}

.verified-pill {
    display: inline-block;
    background: var(--bg-cream);
    border: 1px solid var(--border);
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #666;
    font-family: 'Inter', sans-serif;
    padding: 0.25rem 0.6rem;
    margin-bottom: 1rem;
}

.store-initials {
    font-family: 'Inter', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0.5rem 0 0.25rem;
    display: block;
}

.store-label {
    font-size: 0.72rem;
    color: #888;
    font-family: 'Inter', sans-serif;
}

.testimonial-metric-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem;
}

.metric-card-label {
    font-size: 0.75rem;
    color: #888;
    font-family: 'Inter', sans-serif;
    margin-bottom: 0.35rem;
}

.metric-card-value {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 0.2rem;
}

.metric-card-sub {
    font-size: 0.72rem;
    color: #aaa;
    font-family: 'Inter', sans-serif;
}

.nps-bars {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    margin-top: 0.5rem;
}

.nps-bar {
    width: 8px;
    background: var(--gold);
    border-radius: 2px;
}

.testimonial-pagination {
    margin-top: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.pagination-count {
    font-size: 0.8rem;
    color: #888;
    font-family: 'Inter', sans-serif;
}

.pagination-btn {
    width: 36px;
    height: 36px;
    border: 1px solid var(--border);
    border-radius: 50%;
    background: var(--bg-white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.8rem;
    color: #333;
    transition: background 0.2s, border-color 0.2s;
}

.pagination-btn:hover {
    background: var(--bg-cream);
    border-color: #bbb;
}

/* ===== FAQ ===== */
.faq-section {
    padding: 80px 0;
    background: var(--bg-white);
    border-top: 1px solid var(--border);
}

.faq-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 5rem;
    align-items: start;
}

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

.faq-question {
    padding: 1.25rem 0;
    font-size: 0.95rem;        /* slightly larger for readability */
    font-weight: 500;
    color: var(--primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: 'Inter', sans-serif;
    user-select: none;
    transition: color 0.2s;
    line-height: 1.5;
}

.faq-question:hover { color: #000; }

.faq-question .faq-icon {
    width: 24px;
    height: 24px;
    border: 1px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    flex-shrink: 0;
    transition: background 0.2s, transform 0.3s;
}

.faq-question.open .faq-icon {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    transform: rotate(45deg);
}

.faq-answer {
    font-size: 0.875rem;
    color: #666;
    line-height: 1.75;
    font-family: 'Inter', sans-serif;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.3s;
    padding-bottom: 0;
}

.faq-answer.open {
    max-height: 300px;
    padding-bottom: 1.25rem;
}

/* ===== CTA SECTION ===== */
.cta-section {
    padding: 2.5rem 0 5rem;
    background: var(--bg-white);
}

.cta-card {
    background: var(--bg-dark);
    border-radius: 20px;
    padding: 3rem 3.5rem;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 3rem;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(184,151,90,0.2);
    border: 1px solid rgba(184,151,90,0.4);
    border-radius: 50px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--gold-light);
    padding: 0.3rem 0.85rem;
    font-family: 'Inter', sans-serif;
    margin-bottom: 1.5rem;
    display: inline-flex;
}

.cta-card h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2rem, 3.5vw, 3rem);    /* bolder headline in dark card */
    color: #fff;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 0.75rem;
    letter-spacing: -1.5px;
}

.cta-card p {
    font-size: 0.9rem;
    color: #94a3b8;
    line-height: 1.75;
    font-family: 'Inter', sans-serif;
    max-width: 420px;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: flex-end;
    flex-shrink: 0;
}

.btn-cta-gold {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--gold-btn);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    padding: 0.75rem 1.75rem;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    transition: background 0.2s, transform 0.15s;
    white-space: nowrap;
}

.btn-cta-gold:hover {
    background: #b8975a;
    transform: translateY(-1px);
    color: #fff;
}

.btn-cta-outline-light {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    color: #e2e8f0;
    border: 1.5px solid rgba(255,255,255,0.2);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.75rem 1.75rem;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    transition: border-color 0.2s, color 0.2s;
    white-space: nowrap;
}

.btn-cta-outline-light:hover {
    border-color: rgba(255,255,255,0.5);
    color: #fff;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--bg-cream);
    border-top: 1px solid var(--border);
    padding: 3.5rem 0 2rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.footer-logo-img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    display: block;
}

.footer-brand-icon {
    width: 24px;
    height: 24px;
    background: var(--primary);
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-brand-icon i { color: #fff; font-size: 0.75rem; }

.footer-tagline {
    font-size: 0.83rem;
    color: #777;
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    max-width: 280px;
    margin-bottom: 1.25rem;
}

.footer-pills {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.footer-pill {
    border: 1px solid #ccc;
    border-radius: 50px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #555;
    padding: 0.3rem 0.8rem;
    font-family: 'Inter', sans-serif;
}

.footer-col-title {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #888;
    font-family: 'Inter', sans-serif;
    margin-bottom: 1.25rem;
}

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

.footer-links li { margin-bottom: 0.65rem; }

.footer-links a {
    font-size: 0.875rem;
    color: #555;
    font-family: 'Inter', sans-serif;
    transition: color 0.2s;
}

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

.footer-divider {
    border: none;
    border-top: 1px solid var(--border);
    margin: 2rem 0 1.5rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: #888;
    font-family: 'Inter', sans-serif;
    flex-wrap: wrap;
    gap: 0.5rem;
}

/* ===================================================================
   SHARED INNER-PAGE HERO  (.page-hero)
   Used by: Features, WhatsApp, Analytics, Contact
   Replaces: .feat-hero, .wa-hero, .an-hero, .ct-hero
   =================================================================== */
.page-hero {
    padding-top: 120px;
    padding-bottom: 72px;
    border-bottom: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}
/* shared grid-line background — same pattern as home hero */
.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(var(--border) 1px, transparent 1px),
        linear-gradient(90deg, var(--border) 1px, transparent 1px);
    background-size: 80px 80px;
    opacity: 0.45;
    pointer-events: none;
    z-index: 0;
}
.page-hero .container { position: relative; z-index: 1; }

/* badge pill */
.ph-badge {
    display: inline-block;
    font-size: var(--fs-label);
    font-weight: 600;
    letter-spacing: 0.08em;
    color: #666;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 0.3rem 0.85rem;
    margin-bottom: 1.5rem;
}
/* headline */
.ph-title {
    font-size: var(--fs-h1);
    font-weight: 800;
    line-height: 1.08;
    color: var(--text-heading);
    max-width: 820px;
    margin-bottom: 1.25rem;
}
.ph-title em { font-style: italic; }
/* body text */
.ph-body {
    font-size: var(--fs-body);
    color: var(--text-muted);
    max-width: 580px;
    line-height: 1.7;
}

/* ===== WHATSAPP & CRM PAGE ===== */
/* (hero now uses .page-hero — section below covers layout only) */

/* Split section */
.wa-split-section {
    padding: 80px 0;
    border-bottom: 1px solid var(--border);
}
.wa-split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}
/* typography uses shared .section-overline / .section-title-serif / .section-body */

/* CRM card */
.crm-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
}
.crm-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border);
}
.crm-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #e8e4dc;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    color: #555;
    font-family: 'Inter', sans-serif;
    flex-shrink: 0;
}
.crm-customer-info { flex: 1; min-width: 0; }
.crm-customer-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-heading);
    font-family: 'Inter', sans-serif;
}
.crm-customer-meta {
    font-size: 0.76rem;
    color: #888;
    font-family: 'Inter', sans-serif;
    margin-top: 2px;
}
.crm-lifetime { text-align: right; flex-shrink: 0; }
.crm-lifetime-label {
    font-size: 0.7rem;
    color: #aaa;
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.crm-lifetime-value {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-heading);
    font-family: 'Inter', sans-serif;
}
.crm-stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-bottom: 1px solid var(--border);
}
.crm-stat {
    padding: 1rem 0.75rem;
    text-align: center;
    border-right: 1px solid var(--border);
}
.crm-stat:last-child { border-right: none; }
.crm-stat-num {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-heading);
    font-family: 'Inter', sans-serif;
}
.crm-stat-label {
    font-size: 0.62rem;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    font-family: 'Inter', sans-serif;
    margin-top: 2px;
}
.crm-timeline { padding: 1.25rem 1.5rem; }
.crm-timeline-label {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #aaa;
    font-family: 'Inter', sans-serif;
    margin-bottom: 0.85rem;
}
.crm-timeline-row {
    display: flex;
    gap: 1.25rem;
    padding: 0.55rem 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.82rem;
    font-family: 'Inter', sans-serif;
}
.crm-timeline-row:last-child { border-bottom: none; }
.crm-tl-date {
    color: #aaa;
    min-width: 48px;
    flex-shrink: 0;
}
.crm-tl-event { color: #444; }

/* WhatsApp phone mockup */
.wa-phone-mockup {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}
.wa-phone-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: #1a5c40;
    padding: 0.9rem 1.25rem;
    color: #fff;
}
.wa-phone-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    flex-shrink: 0;
}
.wa-phone-brand {
    font-size: 0.88rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
}
.wa-msg-bubble {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--border);
    background: #fff;
}
.wa-msg-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-heading);
    font-family: 'Inter', sans-serif;
    margin-bottom: 0.4rem;
}
.wa-msg-title i { color: #555; }
.wa-msg-body {
    font-size: 0.81rem;
    color: #555;
    line-height: 1.6;
    font-family: 'Inter', sans-serif;
}
.wa-msg-time {
    font-size: 0.7rem;
    color: #bbb;
    text-align: right;
    font-family: 'Inter', sans-serif;
    margin-top: 0.4rem;
}
.wa-phone-caption {
    padding: 0.75rem 1.25rem;
    font-size: 0.75rem;
    color: #bbb;
    text-align: center;
    font-family: 'Inter', sans-serif;
    font-style: italic;
    background: #fafafa;
}

/* Automations section */
.wa-playbooks-section {
    padding: 80px 0 100px;
}
/* typography uses shared .section-overline / .section-title-serif */
.wa-automations-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
}
.wa-auto-card {
    background: #fff;
    padding: 1.5rem 1.4rem;
    transition: background 0.18s;
}
.wa-auto-card:hover { background: var(--bg-cream); }
.wa-auto-icon {
    font-size: 1.3rem;
    color: #444;
    margin-bottom: 0.85rem;
}
.wa-auto-name {
    font-size: var(--fs-body-sm);
    font-weight: 600;
    color: var(--text-heading);
    margin-bottom: 0.35rem;
}
.wa-auto-desc {
    font-size: var(--fs-body-sm);
    color: var(--text-muted);
    line-height: 1.55;
    margin-bottom: 0.85rem;
}
.wa-auto-badge {
    font-size: 0.75rem;
    color: #555;
    font-family: 'Inter', sans-serif;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}
.wa-auto-badge i { color: #444; font-size: 0.75rem; }

@media (max-width: 991px) {
    .wa-split-grid { grid-template-columns: 1fr; gap: 48px; }
    .wa-automations-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575px) {
    .wa-automations-grid { grid-template-columns: 1fr; }
    .crm-stats-row { grid-template-columns: repeat(2, 1fr); }
    .crm-stat { border-bottom: 1px solid var(--border); }
}

.feature-list { list-style: none; padding: 0; }
.feature-list li {
    display: flex; align-items: flex-start; gap: 0.75rem;
    font-size: 0.88rem; color: #444; padding: 0.55rem 0;
    border-bottom: 1px solid var(--border); font-family: 'Inter', sans-serif;
}
.feature-list li:last-child { border-bottom: none; }
.feature-list li i { color: var(--primary); margin-top: 2px; flex-shrink: 0; }

/* ===== CONTACT FORM ===== */
.contact-form {
    background: var(--bg-cream);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
}

.form-label-custom {
    font-size: 0.8rem; font-weight: 600; color: var(--primary);
    margin-bottom: 0.4rem; display: block; font-family: 'Inter', sans-serif;
}

.form-input-custom {
    width: 100%; border: 1.5px solid var(--border); border-radius: 8px;
    padding: 0.75rem 1rem; font-size: 0.88rem; font-family: 'Inter', sans-serif;
    color: var(--primary); background: #fff; outline: none;
    transition: border-color 0.2s, box-shadow 0.2s; resize: none; display: block;
}

.form-input-custom:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(15,15,15,0.06);
}

.form-input-custom::placeholder { color: #bbb; }

/* ===== FEATURES PAGE ===== */

/* Section wrapper */
.fp-section {
    padding: 80px 0;
    background: var(--bg-white);
}

.fp-section-cream {
    background: var(--bg-cream);
}
/* Hero uses shared .page-hero / .ph-badge / .ph-title / .ph-body */

/* Six States Grid — 2 columns */
.states-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.state-card {
    padding: 2rem;
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--bg-white);
    transition: background 0.2s;
}

.state-card:hover { background: var(--bg-cream); }

/* remove right border from even cards */
.state-card:nth-child(even) { border-right: none; }
/* remove bottom border from last 2 */
.state-card:nth-last-child(-n+2) { border-bottom: none; }

.state-card-header {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1rem;
}

.state-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.state-name {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--primary);
    font-family: 'Inter', sans-serif;
    flex: 1;
}

.state-code {
    font-size: 0.72rem;
    font-weight: 500;
    color: #aaa;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.5px;
}

.state-desc {
    font-size: 0.855rem;
    color: #555;
    line-height: 1.7;
    font-family: 'Inter', sans-serif;
    margin-bottom: 1.5rem;
}

.state-meta-row {
    display: flex;
    gap: 2rem;
    border-top: 1px solid var(--border);
    padding-top: 1rem;
}

.state-meta-label {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--primary);
    font-family: 'Inter', sans-serif;
    margin-bottom: 0.2rem;
}

.state-meta-value {
    font-size: 0.78rem;
    color: #888;
    font-family: 'Inter', sans-serif;
}

/* Comparison Table */
.comp-table {
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.comp-table-head,
.comp-table-row {
    display: grid;
    grid-template-columns: 1.2fr 1.4fr 1.4fr;
    align-items: center;
}

.comp-table-head {
    background: var(--bg-cream);
    padding: 0.9rem 1.5rem;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #888;
    font-family: 'Inter', sans-serif;
    border-bottom: 1px solid var(--border);
}

.comp-table-row {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border);
    background: var(--bg-white);
    transition: background 0.15s;
}

.comp-table-row:last-child { border-bottom: none; }
.comp-table-row:hover { background: #fafaf8; }

.comp-col-feature {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
    font-family: 'Inter', sans-serif;
}

.comp-col-old {
    font-size: 0.845rem;
    color: #888;
    font-family: 'Inter', sans-serif;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.comp-col-new {
    font-size: 0.845rem;
    color: #333;
    font-family: 'Inter', sans-serif;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.comp-x {
    color: #ef4444;
    font-weight: 700;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.comp-check {
    color: #16a34a;
    font-weight: 700;
    font-size: 0.8rem;
    flex-shrink: 0;
}

/* Platform extras — 3 cards */
.feat-extra-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.feat-extra-card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.75rem;
    background: var(--bg-white);
    transition: background 0.2s, box-shadow 0.2s;
}

.feat-extra-card:hover {
    background: var(--bg-cream);
    box-shadow: var(--shadow-sm);
}

.feat-extra-card h5 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.65rem;
    letter-spacing: -0.2px;
    line-height: 1.2;
}

.feat-extra-card p {
    font-size: 0.855rem;
    color: #666;
    line-height: 1.68;
    font-family: 'Inter', sans-serif;
    margin: 0;
}

.feat-continue-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--primary);
    font-family: 'Inter', sans-serif;
    transition: gap 0.2s;
    text-decoration: none;
}

.feat-continue-link:hover { gap: 0.7rem; color: var(--primary); }

/* Responsive */
@media (max-width: 767px) {
    .states-grid { grid-template-columns: 1fr; }
    .state-card { border-right: none !important; }
    .state-card:nth-last-child(-n+2) { border-bottom: 1px solid var(--border); }
    .state-card:last-child { border-bottom: none; }
    .comp-table-head,
    .comp-table-row { grid-template-columns: 1fr; gap: 0.3rem; }
    .comp-col-old, .comp-col-new { padding-left: 0.5rem; }
    .feat-extra-grid { grid-template-columns: 1fr; }
}

@media (min-width: 768px) and (max-width: 991px) {
    .feat-extra-grid { grid-template-columns: 1fr 1fr; }
}

/* ===== PRICING ===== */
.pricing-section { padding: 80px 0; background: var(--bg-white); }

.pricing-card {
    background: var(--bg-white);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    height: 100%;
    transition: box-shadow 0.25s, transform 0.25s;
}

.pricing-card.popular { border-color: var(--primary); }
.pricing-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }

.pricing-badge {
    display: inline-block;
    background: var(--primary);
    color: #fff;
    border-radius: 50px;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    margin-bottom: 1rem;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.5px;
}

.pricing-plan-name {
    font-size: 1rem; font-weight: 700; color: var(--primary);
    margin-bottom: 0.25rem; font-family: 'Inter', sans-serif;
}

.pricing-price {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2.5rem; font-weight: 800; color: var(--primary);
    line-height: 1; margin: 1rem 0 0.25rem;
}

.pricing-price sup { font-size: 1.2rem; vertical-align: super; font-weight: 600; }
.pricing-price span { font-size: 0.9rem; font-weight: 400; color: #888; font-family: 'Inter', sans-serif; }
.pricing-desc { font-size: 0.83rem; color: #888; margin-bottom: 1.5rem; font-family: 'Inter', sans-serif; }

.pricing-features { list-style: none; padding: 0; margin: 0 0 2rem; }
.pricing-features li {
    display: flex; align-items: flex-start; gap: 0.6rem;
    font-size: 0.84rem; color: #444; padding: 0.45rem 0;
    border-bottom: 1px solid var(--border); font-family: 'Inter', sans-serif;
}
.pricing-features li:last-child { border-bottom: none; }
.pricing-features li i { color: var(--primary); margin-top: 2px; flex-shrink: 0; }

/* ===== BUTTONS (inner pages) ===== */
.btn-primary-action {
    display: inline-flex; align-items: center; gap: 0.4rem;
    background: var(--primary); color: #fff; border: none;
    border-radius: 50px; font-size: 0.875rem; font-weight: 600;
    padding: 0.75rem 1.75rem; cursor: pointer; font-family: 'Inter', sans-serif;
    transition: background 0.2s, transform 0.15s;
}
.btn-primary-action:hover { background: #222; transform: translateY(-1px); color: #fff; }

.btn-outline-action {
    display: inline-flex; align-items: center; gap: 0.4rem;
    background: transparent; color: var(--primary);
    border: 1.5px solid var(--border); border-radius: 50px;
    font-size: 0.875rem; font-weight: 600; padding: 0.75rem 1.75rem;
    cursor: pointer; font-family: 'Inter', sans-serif;
    transition: border-color 0.2s, transform 0.15s;
}
.btn-outline-action:hover { border-color: #999; transform: translateY(-1px); }

/* ===== SCROLL REVEAL ===== */
.fade-up { opacity: 0; transform: translateY(20px); transition: opacity 0.5s ease, transform 0.5s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
    .navbar-nav-links { display: none; }
    .features-grid { grid-template-columns: 1fr 1fr; }
    .feature-card:nth-child(2), .feature-card:nth-child(4), .feature-card:nth-child(6) { border-right: none; }
    .feature-card:nth-child(5), .feature-card:nth-child(6) { border-bottom: none; }
    .feature-card:nth-child(3) { border-right: 1px solid var(--border); }
    .feature-card:nth-child(4) { border-bottom: 1px solid var(--border); }
    .workflow-cards { grid-template-columns: repeat(2, 1fr); }
    .testimonials-layout { grid-template-columns: 1fr; }
    .testimonial-side { flex-direction: row; width: 100%; }
    .faq-layout { grid-template-columns: 1fr; gap: 2rem; }
    .cta-card { grid-template-columns: 1fr; gap: 2rem; }
    .cta-buttons { align-items: flex-start; flex-direction: row; flex-wrap: wrap; }
    .metrics-grid { grid-template-columns: 1fr; }
    .metric-item { border-right: none; border-bottom: 1px solid var(--border); }
    .metric-item:last-child { border-bottom: none; }
}

@media (max-width: 576px) {
    .features-grid { grid-template-columns: 1fr; }
    .feature-card { border-right: none !important; }
    .workflow-cards { grid-template-columns: 1fr; }
    .hero-cta-bar { border-radius: 12px; flex-direction: column; padding: 0.75rem; }
    .hero-cta-bar input { width: 100%; }
    .btn-hero-primary { width: 100%; justify-content: center; }
}

section { scroll-margin-top: 70px; }

/* ===== ANALYTICS PAGE ===== */
/* Hero uses shared .page-hero / .ph-badge / .ph-title / .ph-body */

/* KPI tiles */
.an-kpi-section {
    padding: 56px 0 0;
}
.an-kpi-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
}
.an-kpi-card {
    background: #fff;
    padding: 1.5rem 1.75rem;
}
.an-kpi-label {
    font-size: var(--fs-xs);
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}
.an-kpi-value {
    font-family: var(--font-serif);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    color: var(--text-heading);
    line-height: 1.1;
    margin-bottom: 0.4rem;
}
.an-kpi-delta {
    font-size: var(--fs-label);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}
.an-delta-up { color: #16a34a; }
.an-delta-down { color: #dc2626; }

/* Charts */
.an-charts-section {
    padding: 40px 0;
    border-bottom: 1px solid var(--border);
}
.an-charts-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 24px;
    align-items: start;
}
.an-chart-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
}
.an-chart-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border);
}
.an-chart-label {
    font-size: var(--fs-xs);
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.2rem;
}
.an-chart-title {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-heading);
    line-height: 1.2;
}
.an-chart-legend {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: var(--fs-label);
    color: var(--text-muted);
    white-space: nowrap;
    margin-top: 0.2rem;
}
.an-legend-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}
.an-chart-body {
    padding: 1.25rem 1.5rem 0.75rem;
}
.an-svg-chart {
    width: 100%;
    height: 130px;
    display: block;
}

/* Donut */
.an-donut-body {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    padding: 1.25rem 1.5rem;
}
.an-donut { flex-shrink: 0; }
.an-donut-svg {
    width: 110px;
    height: 110px;
    display: block;
}
.an-donut-legend {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.an-donut-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: var(--fs-label);
    color: var(--text-body);
}

/* Lower section */
.an-lower-section {
    padding: 40px 0 100px;
}
.an-lower-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

/* SKU table */
.an-sku-table { padding: 0 1.5rem 1.5rem; }
.an-sku-head {
    display: grid;
    grid-template-columns: 80px 1fr 70px 70px;
    font-size: var(--fs-xs);
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
}
.an-sku-row {
    display: grid;
    grid-template-columns: 80px 1fr 70px 70px;
    font-size: var(--fs-body-sm);
    color: var(--text-body);
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
    align-items: center;
}
.an-sku-row:last-child { border-bottom: none; }
.an-sku-code {
    font-weight: 600;
    color: var(--text-heading);
    font-family: var(--font-sans);
}
.an-sku-yield {
    font-weight: 700;
    color: var(--text-heading);
}

/* Cohort heatmap */
.an-cohort-body { padding: 1.25rem 1.5rem; }
.an-cohort-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    margin-bottom: 0.5rem;
}
.an-cohort-cell {
    height: 28px;
    border-radius: 4px;
}
.an-cohort-footer {
    display: flex;
    justify-content: space-between;
    font-size: var(--fs-xs);
    color: var(--text-muted);
    margin-bottom: 1rem;
}
.an-cohort-stat {
    font-size: var(--fs-body-sm);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.an-cohort-stat i { color: #16a34a; }

@media (max-width: 991px) {
    .an-kpi-grid { grid-template-columns: repeat(2, 1fr); }
    .an-charts-grid { grid-template-columns: 1fr; }
    .an-lower-grid { grid-template-columns: 1fr; }
}
@media (max-width: 575px) {
    .an-kpi-grid { grid-template-columns: 1fr 1fr; }
}

/* ===== CONTACT PAGE ===== */
/* Hero uses shared .page-hero / .ph-badge / .ph-title / .ph-body */

/* Main layout */
.ct-main-section { padding: 72px 0 100px; }
.ct-main-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 56px;
    align-items: start;
}

/* Form column — overline uses shared .section-overline */
.ct-form-title {
    font-size: clamp(1.75rem, 3vw, 2.6rem);
    font-weight: 800;
    color: var(--text-heading);
    line-height: 1.1;
    margin-bottom: 2rem;
}

/* WhatsApp form card */
.ct-wa-form {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
}
.ct-field { margin-bottom: 1.5rem; }
.ct-field:last-of-type { margin-bottom: 0; }
.ct-field-label {
    display: block;
    font-size: var(--fs-xs);
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}
.ct-field-input {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 0.75rem 1rem;
    font-size: var(--fs-body-sm);
    color: var(--text-heading);
    background: #fff;
    font-family: var(--font-sans);
    transition: border-color 0.18s;
    outline: none;
}
.ct-field-input:focus { border-color: #aaa; }
.ct-field-input::placeholder { color: #bbb; }
.ct-field-textarea {
    resize: vertical;
    min-height: 90px;
}
.ct-field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

/* Niche pills */
.ct-niche-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.25rem;
}
.ct-niche-pill {
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 0.35rem 0.9rem;
    font-size: var(--fs-label);
    font-weight: 500;
    color: var(--text-body);
    background: #fff;
    cursor: pointer;
    transition: all 0.15s;
    font-family: var(--font-sans);
}
.ct-niche-pill:hover { border-color: #999; color: var(--text-heading); }
.ct-niche-pill.active {
    background: var(--text-heading);
    color: #fff;
    border-color: var(--text-heading);
}

/* Submit button */
.ct-submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    width: 100%;
    background: #0f0f0f;
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 0.9rem 1.5rem;
    font-size: var(--fs-body-sm);
    font-weight: 600;
    font-family: var(--font-sans);
    cursor: pointer;
    margin-top: 1.75rem;
    transition: background 0.18s;
}
.ct-submit-btn:hover { background: #25D366; }
.ct-submit-btn i { font-size: 1rem; }
.ct-submit-note {
    font-size: var(--fs-xs);
    color: #bbb;
    text-align: center;
    margin-top: 0.65rem;
}

/* Sidebar */
.ct-sidebar { display: flex; flex-direction: column; gap: 1.25rem; }
.ct-sidebar-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 1.5rem;
}

/* Demo card */
.ct-demo-header {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    margin-bottom: 0.85rem;
}
.ct-demo-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #f2ede0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--gold);
    flex-shrink: 0;
}
.ct-demo-title {
    font-size: var(--fs-body-sm);
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 0.15rem;
}
.ct-demo-meta {
    font-size: var(--fs-xs);
    color: var(--text-muted);
}
.ct-demo-body {
    font-size: var(--fs-body-sm);
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

/* Slot grid */
.ct-slots-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin-bottom: 1rem;
}
.ct-slot {
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 0.55rem 0.5rem;
    font-size: var(--fs-label);
    font-weight: 500;
    color: var(--text-body);
    background: #fff;
    cursor: pointer;
    font-family: var(--font-sans);
    transition: all 0.15s;
    text-align: center;
}
.ct-slot:hover { border-color: #999; }
.ct-slot.selected {
    background: var(--text-heading);
    color: #fff;
    border-color: var(--text-heading);
}
.ct-slot-full { grid-column: 1 / -1; }
.ct-pick-slot-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    background: #2a2a2a;
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    font-size: var(--fs-body-sm);
    font-weight: 600;
    font-family: var(--font-sans);
    cursor: pointer;
    text-align: center;
    transition: background 0.18s;
}
.ct-pick-slot-btn:hover { background: #25D366; color: #fff; }

/* Phone card */
.ct-phone-header {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    margin-bottom: 0.85rem;
}
.ct-phone-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #f2ede0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--gold);
    flex-shrink: 0;
}
.ct-phone-number {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-heading);
    margin-bottom: 0.35rem;
    text-decoration: none;
}
.ct-phone-number:hover { color: var(--gold); }
.ct-phone-sub {
    font-size: var(--fs-label);
    color: var(--text-muted);
}

/* Promise card */
.ct-promise-card {
    background: var(--text-heading);
    border-color: var(--text-heading);
}
.ct-promise-label {
    font-size: var(--fs-xs);
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
    margin-bottom: 0.75rem;
}
.ct-promise-text {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.35;
}
.ct-promise-gold { color: var(--gold); }

@media (max-width: 991px) {
    .ct-main-grid { grid-template-columns: 1fr; gap: 40px; }
    .ct-sidebar { order: -1; }
}
@media (max-width: 575px) {
    .ct-field-row { grid-template-columns: 1fr; }
    .ct-slots-grid { grid-template-columns: 1fr; }
    .ct-slot-full { grid-column: 1; }
}
