/* ==========================================================================
   Automate — master stylesheet
   Shared across the landing page and every case study page.
   ========================================================================== */

:root {
    --bg: #1c1d1f;
    --bg-alt: #232427;
    --bg-card: #292a2d;
    --border: #3a3b3f;
    --text: #f2f3f4;
    --text-muted: #a1a3a8;
    --accent: #f2f3f4;
    --accent-hover: #ffffff;
    --accent-soft: rgba(242, 243, 244, 0.08);
    --success: #cfd2d6;
    --radius: 14px;
    --max: 1140px;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

.container {
    width: 100%;
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 24px;
}
.container-narrow { max-width: 820px; }

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

/* ---------- Buttons ---------- */
.btn {
    display: inline-block;
    font-size: 1rem;
    font-weight: 600;
    padding: 15px 32px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
    font-family: var(--font);
}
.btn-primary {
    background: var(--accent);
    color: #1c1d1f;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
}
.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}
.btn-ghost {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-lg { padding: 18px 42px; font-size: 1.1rem; }

/* ---------- Header ---------- */
header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(14, 17, 22, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}
.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}
.logo {
    font-weight: 800;
    font-size: 1.2rem;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.logo-mark {
    width: 32px; height: 32px;
    background: var(--accent);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem; font-weight: 800; color: #1c1d1f;
}
.logo-by { color: var(--text-muted); font-weight: 500; }
@media (max-width: 480px) { .logo-by { display: none; } }
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a { color: var(--text-muted); font-size: 0.95rem; font-weight: 500; transition: color 0.15s; }
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-cta .btn { padding: 10px 22px; }
.nav-toggle { display: none; }

/* Nav dropdown (Case Studies) */
.nav-dropdown { position: relative; }
.nav-dropdown > a { display: inline-flex; align-items: center; gap: 6px; }
.nav-dropdown > a .caret { transition: transform 0.15s ease; }
.nav-dropdown:hover > a { color: var(--text); }
.nav-dropdown:hover > a .caret { transform: rotate(180deg); }
.nav-dropdown-menu {
    position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(8px);
    min-width: 300px; padding: 8px;
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: 12px; box-shadow: 0 20px 40px rgba(0,0,0,0.45);
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
}
/* Bridge the gap so the menu doesn't close when moving the cursor down */
.nav-dropdown::after { content: ''; position: absolute; top: 100%; left: 0; right: 0; height: 12px; }
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
    opacity: 1; visibility: visible; pointer-events: auto;
    transform: translateX(-50%) translateY(4px);
}
.nav-dropdown-menu a {
    display: block; padding: 10px 14px; border-radius: 8px;
    color: var(--text-muted); font-size: 0.92rem; line-height: 1.4;
    transition: background 0.15s ease, color 0.15s ease;
}
.nav-dropdown-menu a strong { display: block; color: var(--text); font-weight: 600; font-size: 0.95rem; }
.nav-dropdown-menu a:hover { background: var(--accent-soft); color: var(--text); }

/* ---------- Hero ---------- */
.hero {
    padding: 90px 0 80px;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: -200px; right: -200px;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(255,255,255,0.05), transparent 70%);
    pointer-events: none;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 56px;
    align-items: center;
}
.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent-soft);
    color: var(--text);
    padding: 7px 16px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 26px;
    border: 1px solid var(--border);
}
.badge .dot { width: 8px; height: 8px; border-radius: 50%; background: #7ee0a0; }
.hero h1 {
    font-size: 3.1rem;
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -1.5px;
    margin-bottom: 22px;
}
.hero h1 span {
    color: var(--text);
    box-shadow: inset 0 -0.12em 0 rgba(255,255,255,0.22);
}
.hero p.lead {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 36px;
    max-width: 540px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.hero-note { font-size: 0.85rem; color: var(--text-muted); margin-top: 18px; }

.hero-visual { position: relative; }
.img-placeholder {
    background: linear-gradient(135deg, var(--bg-alt), var(--bg-card));
    border: 1px dashed var(--border);
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    text-align: center;
    gap: 10px;
    font-size: 0.9rem;
}
.img-placeholder svg { opacity: 0.4; }
.hero-visual .img-placeholder { aspect-ratio: 4/5; }
.hero-visual .float-card {
    position: absolute;
    bottom: -24px; left: -32px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 16px 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    display: flex; align-items: center; gap: 14px;
}
.float-card .stat { font-size: 1.6rem; font-weight: 800; color: var(--success); }
.float-card .stat-label { font-size: 0.8rem; color: var(--text-muted); line-height: 1.3; }

/* ---------- Trust strip ---------- */
.trust {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 30px 0;
    background: var(--bg-alt);
}
.trust-inner {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
    text-align: center;
}
.trust-item { flex: 1; min-width: 180px; }
.trust-item .num { font-size: 1.8rem; font-weight: 800; color: var(--text); }
.trust-item .lbl { font-size: 0.85rem; color: var(--text-muted); }

/* ---------- Sections ---------- */
section.pad { padding: 96px 0; }
.section-head { max-width: 720px; margin: 0 auto 60px; text-align: center; }
.section-head .eyebrow {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 14px;
}
.section-head h2 {
    font-size: 2.3rem;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 16px;
    line-height: 1.15;
}
.section-head p { color: var(--text-muted); font-size: 1.1rem; }

/* Problem section */
.problem { background: var(--bg-alt); }
.problem-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.problem-text h2 { font-size: 2.2rem; font-weight: 800; letter-spacing: -1px; margin-bottom: 20px; line-height: 1.15; }
.problem-text p { color: var(--text-muted); margin-bottom: 18px; font-size: 1.05rem; }
.problem-text .highlight { color: var(--text); font-weight: 700; box-shadow: inset 0 -0.12em 0 rgba(255,255,255,0.22); }
.problem-visual .img-placeholder { aspect-ratio: 4/3; }

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.feature {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    transition: transform 0.2s ease, border-color 0.2s ease;
}
.feature:hover { transform: translateY(-4px); border-color: var(--accent); }
.feature .icon {
    width: 48px; height: 48px;
    border-radius: 12px;
    background: var(--accent-soft);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 20px;
    color: var(--accent);
}
.feature h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 10px; }
.feature p { color: var(--text-muted); font-size: 0.98rem; }
.features-more {
    grid-column: 1 / -1;
    text-align: center;
    border: 1px dashed var(--border);
    border-radius: var(--radius);
    padding: 26px;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 1.05rem;
    background: var(--accent-soft);
}
.features-more strong { color: var(--text); }

/* Offer Stack */
.offer { background: var(--bg-alt); }
.offer-stack {
    max-width: 760px;
    margin: 0 auto 40px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.stack-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px 28px;
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
}
.stack-item .stack-num {
    flex: 0 0 auto;
    width: 40px; height: 40px;
    border-radius: 10px;
    background: var(--accent-soft);
    color: var(--accent);
    display: flex; align-items: center; justify-content: center;
    font-weight: 800;
}
.stack-item .stack-body h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 4px; }
.stack-item .stack-body p { color: var(--text-muted); font-size: 0.95rem; }
.stack-item .stack-value {
    margin-left: auto;
    flex: 0 0 auto;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--success);
    text-align: right;
    white-space: nowrap;
}
.stack-plus {
    text-align: center;
    color: var(--text-muted);
    font-weight: 800;
    font-size: 1.4rem;
    line-height: 0.5;
}
.offer-summary {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
    background: linear-gradient(135deg, var(--bg-card), var(--bg-alt));
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--radius);
    padding: 32px;
}
.offer-summary .strike { color: var(--text-muted); text-decoration: line-through; font-size: 1.1rem; }
.offer-summary .real { font-size: 2rem; font-weight: 800; letter-spacing: -1px; margin: 6px 0 4px; }
.offer-summary p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 22px; }
@media (max-width: 640px) {
    .stack-item { flex-wrap: wrap; }
    .stack-item .stack-value { margin-left: 0; text-align: left; }
}

/* Process / Roadmap */
.roadmap { background: var(--bg-alt); }
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.phase {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    position: relative;
}
.phase .days {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}
.phase .step-num {
    position: absolute;
    top: -14px; right: 20px;
    width: 34px; height: 34px;
    background: var(--accent);
    color: #1c1d1f;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}
.phase h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.phase p { color: var(--text-muted); font-size: 0.9rem; }

/* Pricing */
.pricing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; max-width: 900px; margin: 0 auto; }
.price-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px;
}
.price-card.featured { border-color: rgba(255,255,255,0.55); box-shadow: 0 0 0 1px rgba(255,255,255,0.15), 0 20px 50px rgba(0,0,0,0.35); }
.price-card .plan-name { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1.5px; color: var(--text-muted); font-weight: 700; margin-bottom: 16px; }
.price-card .price { font-size: 2.8rem; font-weight: 800; letter-spacing: -1px; }
.price-card .price small { font-size: 1rem; color: var(--text-muted); font-weight: 500; }
.price-card .price-sub { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 24px; }
.price-card ul { list-style: none; margin-bottom: 8px; }
.pay-schedule { margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--border); }
.pay-schedule .pay-title { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1.5px; color: var(--text-muted); font-weight: 700; margin-bottom: 16px; }
.pay-schedule .pay-row { display: flex; align-items: baseline; gap: 14px; padding: 8px 0; }
.pay-schedule .pay-week { flex: 0 0 auto; min-width: 52px; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.5px; color: var(--text); background: var(--bg-alt); border: 1px solid var(--border); border-radius: 999px; padding: 3px 10px; text-align: center; }
.pay-schedule .pay-amount { flex: 0 0 auto; font-weight: 800; font-size: 1rem; color: var(--text); min-width: 54px; }
.pay-schedule .pay-label { color: var(--text-muted); font-size: 0.92rem; }
.price-note { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border); color: var(--text-muted); font-size: 0.88rem; line-height: 1.5; }
.price-card ul li { padding: 9px 0; padding-left: 28px; position: relative; color: var(--text-muted); font-size: 0.95rem; }
.price-card ul li::before {
    content: '✓';
    position: absolute; left: 0;
    color: var(--success);
    font-weight: 700;
}

/* Guarantee */
.guarantee-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.guarantee-card {
    background: linear-gradient(135deg, var(--bg-card), var(--bg-alt));
    border: 1px solid var(--border);
    border-left: 3px solid var(--success);
    border-radius: var(--radius);
    padding: 34px;
}
.guarantee-card h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 12px; display: flex; align-items: center; gap: 12px; }
.guarantee-card .shield { color: var(--success); }
.guarantee-card p { color: var(--text-muted); }

/* About */
.about-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; align-items: center; }
.about-visual .img-placeholder { aspect-ratio: 1/1; border-radius: 50%; }
.about-photo {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid var(--border);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
    display: block;
}
.about-text h2 { font-size: 2.1rem; font-weight: 800; letter-spacing: -1px; margin-bottom: 18px; }
.about-text p { color: var(--text-muted); margin-bottom: 16px; font-size: 1.05rem; }
.stack-tags { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.stack-tag { background: var(--bg-card); border: 1px solid var(--border); padding: 8px 18px; border-radius: 999px; font-size: 0.9rem; font-weight: 600; }

/* CTA banner */
.cta-banner {
    background: linear-gradient(135deg, #2b2c30, #17181a);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 64px 48px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-banner h2 { font-size: 2.4rem; font-weight: 800; letter-spacing: -1px; margin-bottom: 16px; }
.cta-banner p { color: var(--text-muted); font-size: 1.15rem; margin-bottom: 32px; max-width: 620px; margin-left: auto; margin-right: auto; }
.cta-banner .btn-primary { background: #fff; color: #1c1d1f; box-shadow: 0 10px 30px rgba(0,0,0,0.35); }
.cta-banner .btn-primary:hover { background: #e8e9ea; }

/* Footer */
footer { border-top: 1px solid var(--border); padding: 48px 0; background: var(--bg-alt); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }
.footer-inner p { color: var(--text-muted); font-size: 0.9rem; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a { color: var(--text-muted); font-size: 0.9rem; }
.footer-links a:hover { color: var(--text); }

/* ---------- Modal ---------- */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(5, 8, 12, 0.75);
    backdrop-filter: blur(6px);
    display: none;
    align-items: flex-start;
    justify-content: center;
    z-index: 100;
    padding: 24px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}
.modal-overlay.open { display: flex; animation: fade 0.2s ease; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.modal {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 18px;
    max-width: 640px;
    width: 100%;
    padding: 40px;
    position: relative;
    margin: auto;
    animation: pop 0.25s ease;
}
@keyframes pop { from { transform: translateY(20px) scale(0.98); opacity: 0; } to { transform: none; opacity: 1; } }
.modal-close {
    position: absolute;
    top: 18px; right: 18px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1.6rem;
    cursor: pointer;
    line-height: 1;
    width: 32px; height: 32px;
    border-radius: 8px;
    transition: background 0.15s;
}
.modal-close:hover { background: var(--border); color: var(--text); }
.modal h3 { font-size: 1.6rem; font-weight: 800; letter-spacing: -0.5px; margin-bottom: 8px; }
.modal .sub { color: var(--text-muted); margin-bottom: 28px; font-size: 0.98rem; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.9rem; font-weight: 600; margin-bottom: 8px; }
.form-group input,
.form-group textarea {
    width: 100%;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 13px 16px;
    color: var(--text);
    font-size: 1rem;
    font-family: var(--font);
    transition: border-color 0.15s, box-shadow 0.15s;
}
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-soft);
}
.form-group textarea { resize: vertical; min-height: 160px; }
.field-hint { color: var(--text-muted); font-size: 0.82rem; margin-top: 8px; }
.form-group label .optional { color: var(--text-muted); font-weight: 500; }
.form-error { display: none; color: #ff6b6b; font-size: 0.9rem; margin: 4px 0 14px; }
.form-error.show { display: block; }
button[type="submit"][disabled] { opacity: 0.6; cursor: not-allowed; }
.form-group input::placeholder,
.form-group textarea::placeholder { color: #5b6672; }
.modal .btn { width: 100%; margin-top: 6px; }
.form-success {
    display: none;
    text-align: center;
    padding: 20px 0;
}
.form-success .check {
    width: 64px; height: 64px;
    background: var(--accent-soft);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 20px;
    color: var(--success);
}
.form-success h3 { margin-bottom: 10px; }
.form-success p { color: var(--text-muted); }

/* ==========================================================================
   Case study pages
   ========================================================================== */

/* Generic page hero (used on case study pages) */
.page-hero { padding: 90px 0 50px; position: relative; overflow: hidden; }
.page-hero::before {
    content: ''; position: absolute; top: -200px; right: -200px;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(255,255,255,0.05), transparent 70%);
    pointer-events: none;
}
.page-hero .eyebrow { text-transform: uppercase; letter-spacing: 2px; font-size: 0.8rem; font-weight: 700; color: var(--accent); margin-bottom: 14px; }
.page-hero h1 { font-size: 3rem; line-height: 1.1; font-weight: 800; letter-spacing: -1.5px; margin-bottom: 20px; max-width: 820px; }
.page-hero p.lead { font-size: 1.2rem; color: var(--text-muted); max-width: 640px; }
.breadcrumb { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 22px; }
.breadcrumb a { color: var(--text-muted); transition: color 0.15s; }
.breadcrumb a:hover { color: var(--text); }
.breadcrumb span { color: var(--text); }

/* Case study index grid */
.cs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cs-card {
    display: flex; flex-direction: column;
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 32px;
    transition: transform 0.2s ease, border-color 0.2s ease;
}
.cs-card:hover { transform: translateY(-4px); border-color: var(--accent); }
.cs-card .icon {
    width: 48px; height: 48px; border-radius: 12px; background: var(--accent-soft);
    display: flex; align-items: center; justify-content: center; margin-bottom: 20px; color: var(--accent);
}
.cs-card .tag { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); margin-bottom: 10px; }
.cs-card h2 { font-size: 1.3rem; font-weight: 700; margin-bottom: 12px; line-height: 1.25; }
.cs-card p { color: var(--text-muted); font-size: 0.98rem; margin-bottom: 22px; flex: 1; }
.cs-card .cs-link { font-weight: 700; color: var(--text); display: inline-flex; align-items: center; gap: 8px; }
.cs-card .cs-link svg { transition: transform 0.15s ease; }
.cs-card:hover .cs-link svg { transform: translateX(4px); }

/* Case study detail body */
.cs-meta { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 34px; padding-top: 30px; border-top: 1px solid var(--border); }
.cs-meta .meta-item { min-width: 160px; }
.cs-meta .meta-label { text-transform: uppercase; letter-spacing: 1px; font-size: 0.72rem; font-weight: 700; color: var(--text-muted); margin-bottom: 6px; }
.cs-meta .meta-value { font-size: 0.98rem; color: var(--text); font-weight: 600; }

.cs-body { max-width: 820px; }
.cs-body h2 { font-size: 1.7rem; font-weight: 800; letter-spacing: -0.5px; margin: 48px 0 16px; line-height: 1.2; }
.cs-body h3 { font-size: 1.2rem; font-weight: 700; margin: 30px 0 10px; }
.cs-body p { color: var(--text-muted); font-size: 1.05rem; margin-bottom: 18px; }
.cs-body p strong, .cs-body li strong { color: var(--text); }
.cs-body ul { list-style: none; margin: 0 0 20px; padding: 0; }
.cs-body ul li { color: var(--text-muted); font-size: 1.05rem; padding-left: 30px; position: relative; margin-bottom: 12px; }
.cs-body ul li::before {
    content: ''; position: absolute; left: 0; top: 9px;
    width: 16px; height: 16px; border-radius: 5px;
    background: var(--accent-soft); border: 1px solid var(--border);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23f2f3f4' stroke-width='3'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: center;
}

/* Callout / quote */
.callout {
    background: var(--bg-card); border: 1px solid var(--border);
    border-left: 3px solid var(--accent); border-radius: var(--radius);
    padding: 24px 28px; margin: 30px 0; color: var(--text-muted); font-size: 1.05rem;
}
.callout strong { color: var(--text); }

/* Result stat cards */
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 26px 0 10px; }
.stat-box { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; text-align: center; }
.stat-box .num { font-size: 2rem; font-weight: 800; color: var(--text); letter-spacing: -1px; }
.stat-box .lbl { font-size: 0.9rem; color: var(--text-muted); margin-top: 6px; }

/* Prev/next navigation between case studies */
.cs-nav { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 56px; padding-top: 30px; border-top: 1px solid var(--border); }
.cs-nav a { color: var(--text-muted); font-weight: 600; transition: color 0.15s; }
.cs-nav a:hover { color: var(--text); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 900px) {
    .hero-grid, .problem-grid, .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .hero h1 { font-size: 2.5rem; }
    .features-grid, .pricing-grid, .guarantee-grid { grid-template-columns: 1fr; }
    .timeline { grid-template-columns: 1fr 1fr; }
    .hero-visual { order: -1; max-width: 380px; margin: 0 auto; }
    .about-visual { max-width: 300px; margin: 0 auto; }
    .cs-grid { grid-template-columns: 1fr; }
    .stat-grid { grid-template-columns: 1fr; }
    .page-hero h1 { font-size: 2.3rem; }
}
@media (max-width: 640px) {
    .nav-links { display: none; }
    .nav-toggle { display: block; }
    .hero h1 { font-size: 2.1rem; }
    .section-head h2, .problem-text h2 { font-size: 1.8rem; }
    .timeline { grid-template-columns: 1fr; }
    .cta-banner { padding: 44px 28px; }
    .cta-banner h2 { font-size: 1.8rem; }
    section.pad { padding: 64px 0; }
    .modal { padding: 30px 24px; }
    .page-hero { padding: 60px 0 40px; }
    .cs-body h2 { font-size: 1.4rem; }
}
