/* ============================================
   NEUROBITY — DESIGN SYSTEM
   ============================================ */

:root {
    /* Brand */
    --color-primary: #3b5bff;
    --color-primary-dark: #2540d4;
    --color-primary-soft: rgba(59, 91, 255, 0.08);
    --color-primary-glow: rgba(59, 91, 255, 0.25);
    --color-accent: #00d4a8;

    /* Neutrals */
    --color-ink: #0a0e1f;
    --color-ink-2: #1c2434;
    --color-body: #4a5263;
    --color-muted: #8089a0;
    --color-border: #e7e9f0;
    --color-border-soft: #f1f2f7;
    --color-bg: #ffffff;
    --color-bg-soft: #f8f9fc;
    --color-bg-warm: #faf9f6;

    /* Dark */
    --color-dark: #0a0e1f;
    --color-dark-2: #141a2e;

    /* Status hues for tags */
    --tag-blue: #3b5bff;
    --tag-purple: #7c3aed;
    --tag-cyan: #06b6d4;
    --tag-green: #16a34a;
    --tag-orange: #ea7d20;

    /* Typography */
    --font-display: "Bricolage Grotesque", "Plus Jakarta Sans", system-ui, sans-serif;
    --font-body: "Manrope", system-ui, sans-serif;
    --font-mono: "JetBrains Mono", monospace;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
    --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.06);
    --shadow-lg: 0 18px 48px rgba(15, 23, 42, 0.08);
    --shadow-glow: 0 20px 60px rgba(59, 91, 255, 0.18);

    /* Radius */
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
}

/* ============================================
   RESET / BASE
   ============================================ */

* { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    color: var(--color-ink-2);
    background: var(--color-bg);
    line-height: 1.6;
    font-weight: 400;
    margin: 0;
}

a, button, input, textarea {
    text-decoration: none;
    outline: none;
    font-family: inherit;
}

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

h1, h2, h3, h4, h5 {
    font-family: var(--font-display);
    color: var(--color-ink);
    line-height: 1.15;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin: 0;
}

p { margin: 0; }

/* Section header helper */
.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 60px;
}

.section-heading {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 600;
    margin-bottom: 18px;
}

.section-sub {
    font-size: 1.05rem;
    color: var(--color-body);
    line-height: 1.65;
    max-width: 580px;
    margin: 0 auto;
}

.eyebrow {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--color-primary);
    background: var(--color-primary-soft);
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 16px;
}

.eyebrow-light {
    color: rgba(255, 255, 255, 0.85);
    background: rgba(255, 255, 255, 0.1);
}

/* ============================================
   NAVBAR
   ============================================ */

.hamberger-wrap {position: relative;overflow: hidden;width: 30px;height: 30px;display: none;}
.hamberger-wrap span.hamberger {width: 100%;height: 2px;position: absolute;background-color: #000;top: 0;bottom: 0;margin: auto;}
.hamberger-wrap span.hamberger:before {content: "";position: absolute;width: 100%;height: 2px;background-color: #000;top: -12px;}
.hamberger-wrap span.hamberger:after {content: "";position: absolute;width: 100%;height: 2px;background-color: #000;bottom: -12px;}
.mobileMenu-wrap {display: none;}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: saturate(180%) blur(12px);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid var(--color-border-soft);
}

.logo img {
    max-width: 180px;
    height: auto;
}

.main-nav a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-ink-2);
    transition: color 0.2s ease;
    position: relative;
}

.main-nav a:hover {
    color: var(--color-primary);
}

.main-nav a::after {
    content: "";
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.main-nav a:hover::after { width: 100%; }

/* Book demo button (also used JS-bound) */
.book-demo {
    background: var(--color-primary);
    color: white;
    padding: 11px 22px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 14px rgba(59, 91, 255, 0.25);
}

.book-demo:hover {
    background: var(--color-primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(59, 91, 255, 0.35);
}

/* Generic buttons */
.btn-primary {
    background: var(--color-ink);
    color: white;
    padding: 14px 26px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.25s ease;
}

.btn-primary:hover {
    background: var(--color-primary);
    transform: translateY(-1px);
    box-shadow: var(--shadow-glow);
}

.btn-ghost {
    background: transparent;
    color: var(--color-ink);
    padding: 14px 26px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 1rem;
    border: 1.5px solid var(--color-border);
    transition: all 0.25s ease;
}

.btn-ghost:hover {
    border-color: var(--color-ink);
    background: var(--color-ink);
    color: white;
}

.btn-ghost-light {
    background: transparent;
    color: white;
    padding: 14px 26px;
    border-radius: var(--radius-sm);
    font-weight: 500;
    font-size: 1rem;
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    transition: all 0.25s ease;
    font-family: var(--font-mono);
}

.btn-ghost-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

/* ============================================
   HERO
   ============================================ */

.hero-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #ffffff 0%, #f7f8fc 100%);
}

.hero-bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(59, 91, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 91, 255, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(ellipse at top, black 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at top, black 30%, transparent 75%);
    pointer-events: none;
}

.hero-bg-glow {
    position: absolute;
    top: -200px;
    right: -200px;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(59, 91, 255, 0.18), transparent 65%);
    pointer-events: none;
    filter: blur(40px);
}

.hero-content h1 {
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.08;
    margin-bottom: 20px;
    font-variation-settings: "opsz" 96;
}

.grad-text {
    background: linear-gradient(135deg, #3b5bff 0%, #7c3aed 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: white;
    border: 1px solid var(--color-border);
    border-radius: 999px;
    padding: 6px 16px;
    font-size: 0.85rem;
    color: var(--color-body);
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
}

.hero-badge .dot {
    width: 8px;
    height: 8px;
    background: var(--color-accent);
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(0, 212, 168, 0.2);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 4px rgba(0, 212, 168, 0.2); }
    50% { box-shadow: 0 0 0 8px rgba(0, 212, 168, 0); }
}

.hero-sub {
    font-size: 1.125rem;
    color: var(--color-body);
    line-height: 1.65;
    margin-bottom: 32px;
    max-width: 540px;
}

.hero-cta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.hero-mini-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    padding-top: 32px;
    border-top: 1px solid var(--color-border);
}

.hero-mini-stats > div {
    display: flex;
    flex-direction: column;
}

.hero-mini-stats strong {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-ink);
    line-height: 1;
    margin-bottom: 6px;
}

.hero-mini-stats span {
    font-size: 0.85rem;
    color: var(--color-muted);
}

.hero-visual {
    position: relative;
}

.hero-visual-frame {
    background: linear-gradient(135deg, #eef1ff, #f5f0ff);
    border-radius: var(--radius-xl);
    padding: 24px;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.hero-visual-frame::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(59, 91, 255, 0.08) 100%);
    pointer-events: none;
}

.hero-visual-frame img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    position: relative;
    z-index: 1;
}

.floating-tag {
    position: absolute;
    background: white;
    border-radius: 999px;
    padding: 10px 18px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-ink-2);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-border-soft);
    animation: float 4s ease-in-out infinite;
}

.floating-tag i {
    color: var(--color-primary);
    font-size: 0.95rem;
}

.floating-tag-1 {
    top: 20px;
    left: -20px;
    animation-delay: 0s;
}

.floating-tag-2 {
    bottom: 40px;
    right: -10px;
    animation-delay: 1.5s;
}

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

/* ============================================
   ABOUT
   ============================================ */

.about-section {
    background: var(--color-bg);
    border-top: 1px solid var(--color-border-soft);
}

.about-copy p {
    font-size: 1.0625rem;
    color: var(--color-body);
    line-height: 1.75;
    margin-bottom: 22px;
}

.about-copy em {
    color: var(--color-primary);
    font-style: normal;
    font-weight: 600;
}

.about-pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 36px;
}

.pillar {
    padding: 24px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    background: var(--color-bg-soft);
    transition: all 0.3s ease;
}

.pillar:hover {
    background: white;
    border-color: var(--color-primary-soft);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.pillar i {
    font-size: 1.5rem;
    color: var(--color-primary);
    margin-bottom: 14px;
    display: block;
}

.pillar h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--color-ink);
}

.pillar p {
    font-size: 0.9rem;
    color: var(--color-body);
    line-height: 1.5;
}

/* ============================================
   TRUST BAR
   ============================================ */

.trust-bar {
    background: var(--color-bg-soft);
    padding: 60px 20px;
    border-top: 1px solid var(--color-border-soft);
    border-bottom: 1px solid var(--color-border-soft);
}

.trust-label {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-muted);
    margin-bottom: 32px;
}

.trust-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 56px;
    flex-wrap: wrap;
}

.trust-logos span {
    max-width: 120px;
    width: 100%;
    opacity: 0.55;
}

/*.trust-logos span:hover {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.05);
}*/

.trust-logos img {
    width: 100%;
    height: auto;
}

/* ============================================
   SERVICES (preserved + polished)
   ============================================ */

.ai-services-section {
    padding: 80px 20px;
    background: var(--color-bg);
}

.services-container {
    max-width: 1400px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-md);
    transition: all 0.35s ease;
    border: 1px solid var(--color-border-soft);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.servie-card-image img {
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.floating-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #fff;
    position: absolute;
    top: 210px;
    left: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.service-card-content {
    padding: 50px 26px 28px;
}

.service-card-content h3 {
    font-size: 1.375rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--color-ink);
}

.subtitle {
    color: var(--color-muted);
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.divider {
    width: 44px;
    height: 3px;
    border-radius: 2px;
    margin-bottom: 20px;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.service-card-content h4 {
    margin-bottom: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-ink);
}

.service-card-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-card-content ul li {
    margin-bottom: 8px;
    color: var(--color-body);
    font-size: 0.9rem;
    padding-left: 18px;
    position: relative;
}

.service-card-content ul li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: 600;
}

.single-list li { font-size: 0.95rem; margin-bottom: 10px; }

.servise-purple { background: #7c3aed; }
.servise-blue { background: #2563eb; }
.servise-cyan { background: #06b6d4; }
.servise-green { background: #22c55e; }

.servise-purple-border { border-bottom: 4px solid #7c3aed; }
.servise-blue-border { border-bottom: 4px solid #2563eb; }
.servise-cyan-border { border-bottom: 4px solid #06b6d4; }
.servise-green-border { border-bottom: 4px solid #22c55e; }

.servise-purple-icon { color: #7c3aed; }
.servise-blue-icon { color: #2563eb; }
.servise-cyan-icon { color: #06b6d4; }
.servise-green-icon { color: #22c55e; }
.purple-icon { color: #7c3aed; }

/* ============================================
   WORKFLOW (preserved + polished)
   ============================================ */

.workflow-section {
    padding: 60px 20px;
    background: linear-gradient(to bottom, #f8f9fc, #eef4ff);
    position: relative;
    overflow: hidden;
}

.workflow-section::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background: radial-gradient(circle, rgba(59, 91, 255, 0.15) 2px, transparent 2px);
    background-size: 22px 22px;
    opacity: 0.4;
}

.container {
    max-width: 1200px;
    margin: auto;
    position: relative;
    z-index: 2;
}

.heading-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 70px;
}

.heading-wrapper h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 600;
    color: var(--color-ink);
}

.line {
    width: 80px;
    height: 3px;
    background: var(--color-primary);
    border-radius: 10px;
}

.workflow-container {
    display: flex;
    justify-content: space-between;
    gap: 25px;
    flex-wrap: wrap;
}

.workflow-card {
    flex: 1;
    min-width: 220px;
    background: white;
    border-radius: 22px;
    padding: 70px 24px 36px;
    text-align: center;
    position: relative;
    box-shadow: var(--shadow-md);
    transition: 0.4s ease;
    border: 1px solid var(--color-border-soft);
}

.workflow-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.icon-circle {
    width: 84px;
    height: 84px;
    background: white;
    border-radius: 50%;
    position: absolute;
    top: -42px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
}

.step-number {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 14px;
}

.workflow-card h3 {
    font-size: 1.5rem;
    color: var(--color-ink);
    margin-bottom: 12px;
}

.workflow-card p {
    font-size: 0.95rem;
    color: var(--color-body);
    line-height: 1.55;
}

.bottom-line {
    width: 50px;
    height: 4px;
    margin: 22px auto 0;
    border-radius: 20px;
}

.blue .icon-circle, .blue .step-number, .blue .bottom-line {
    color: #1e90ff;
    background-color: rgba(30, 144, 255, 0.08);
}
.green .icon-circle, .green .step-number, .green .bottom-line {
    color: #16c784;
    background-color: rgba(22, 199, 132, 0.08);
}
.purple .icon-circle, .purple .step-number, .purple .bottom-line {
    color: #8a4dff;
    background-color: rgba(138, 77, 255, 0.08);
}
.orange .icon-circle, .orange .step-number, .orange .bottom-line {
    color: #ff9800;
    background-color: rgba(255, 152, 0, 0.08);
}
.blue .bottom-line { background: #1e90ff; }
.green .bottom-line { background: #16c784; }
.purple .bottom-line { background: #8a4dff; }
.orange .bottom-line { background: #ff9800; }


/* ============================================
   CASE STUDIES (new section)
   ============================================ */

.case-studies-section {
    background: var(--color-bg-soft);
    position: relative;
    overflow: hidden;
}

.case-studies-section::before {
    content: "";
    position: absolute;
    top: 10%;
    left: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.08), transparent 65%);
    pointer-events: none;
    filter: blur(60px);
}

/* Featured */
.case-featured {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: white;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    margin-bottom: 50px;
    border: 1px solid var(--color-border-soft);
}

.case-featured-visual {
    position: relative;
    background: linear-gradient(135deg, #1e3a8a, #3b5bff);
    overflow: hidden;
    min-height: 480px;
}

.case-featured-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
    mix-blend-mode: luminosity;
}

.case-featured-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.4) 0%, rgba(124, 58, 237, 0.3) 100%);
    pointer-events: none;
}

.case-featured-overlay {
    position: absolute;
    top: 28px;
    left: 28px;
    z-index: 2;
}

.case-tag {
    display: inline-flex;
    align-items: center;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 500;
    padding: 6px 14px;
    border-radius: 999px;
    background: white;
    color: var(--color-ink);
    letter-spacing: 0.05em;
}

.tag-blue { background: rgba(59, 91, 255, 0.12); color: #2540d4; }
.tag-purple { background: rgba(124, 58, 237, 0.12); color: #6d28d9; }
.tag-cyan { background: rgba(6, 182, 212, 0.12); color: #0891b2; }
.tag-green { background: rgba(22, 163, 74, 0.12); color: #15803d; }
.tag-orange { background: rgba(234, 125, 32, 0.12); color: #c2570c; }

.case-featured-body {
    padding: 48px 44px;
    display: flex;
    flex-direction: column;
}

.case-meta {
    display: flex;
    gap: 24px;
    margin-bottom: 18px;
    font-size: 0.85rem;
    color: var(--color-muted);
    font-family: var(--font-mono);
}

.case-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.case-featured-body h3 {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    line-height: 1.2;
    font-weight: 600;
    margin-bottom: 18px;
}

.case-summary {
    color: var(--color-body);
    line-height: 1.7;
    font-size: 1rem;
    margin-bottom: 24px;
}

.case-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 28px;
}

.case-tech span {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    padding: 5px 12px;
    border-radius: 6px;
    background: var(--color-bg-soft);
    border: 1px solid var(--color-border);
    color: var(--color-body);
}

.case-tech.small span {
    font-size: 0.7rem;
    padding: 4px 10px;
}

.case-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    padding: 24px 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    margin-bottom: 24px;
}

.metric strong {
    font-family: var(--font-display);
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--color-primary);
    display: block;
    line-height: 1;
    margin-bottom: 6px;
}

.metric span {
    font-size: 0.8rem;
    color: var(--color-muted);
    line-height: 1.4;
}

.case-link {
    color: var(--color-ink);
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.25s ease, color 0.25s ease;
    margin-top: auto;
}

.case-link:hover {
    color: var(--color-primary);
    gap: 14px;
}

/* Grid */
.case-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    margin-bottom: 50px;
}

.case-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 32px;
    border: 1px solid var(--color-border-soft);
    box-shadow: var(--shadow-sm);
    transition: all 0.35s ease;
    display: flex;
    flex-direction: column;
}

.case-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    border-color: var(--color-border);
}

.case-card-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 18px;
}

.case-icon {
    font-size: 1.5rem;
    color: var(--color-muted);
    opacity: 0.5;
}

.case-card h3 {
    font-size: 1.25rem;
    line-height: 1.3;
    font-weight: 600;
    margin-bottom: 14px;
}

.case-card p {
    color: var(--color-body);
    line-height: 1.65;
    font-size: 0.95rem;
    margin-bottom: 22px;
}

.case-card-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding: 18px;
    background: var(--color-bg-soft);
    border-radius: var(--radius-md);
    margin-bottom: 18px;
}

.case-card-stats > div {
    text-align: center;
}

.case-card-stats strong {
    font-family: var(--font-display);
    font-size: 1.375rem;
    color: var(--color-ink);
    display: block;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 4px;
}

.case-card-stats span {
    font-size: 0.72rem;
    color: var(--color-muted);
    line-height: 1.3;
}

.case-card .case-link {
    margin-top: auto;
    padding-top: 8px;
}

/* CTA strip below cases */
.case-cta {
    background: var(--color-ink);
    border-radius: var(--radius-xl);
    padding: 40px 48px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
}

.case-cta p {
    color: white;
    font-size: 1.125rem;
    font-family: var(--font-display);
    font-weight: 500;
    line-height: 1.4;
    flex: 1;
    min-width: 280px;
}

.case-cta .btn-primary {
    background: var(--color-primary);
    color: white;
}

.case-cta .btn-primary:hover {
    background: white;
    color: var(--color-ink);
}


/* ============================================
   INDUSTRIES (preserved + spacing fix)
   ============================================ */

.industries-wrap {
    background: white;
    padding: 80px 0 60px;
}

.industries-section {
    padding: 30px 20px 0;
    background: white;
}

.industries-container {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    align-items: center;
}

.industry-box {
    text-align: center;
    position: relative;
    padding: 20px;
}

.industry-box:not(:last-child)::after {
    content: "";
    position: absolute;
    right: -10px;
    top: 20%;
    height: 60%;
    width: 1px;
    background: var(--color-border);
}

.industry-icon-circle {
    width: 110px;
    height: 110px;
    margin: auto;
    border: 2px solid #dce3ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: #fff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
}

.industry-icon-circle i {
    font-size: 36px;
    color: var(--color-primary);
}

.industry-icon-circle::after {
    content: "";
    width: 12px;
    height: 12px;
    background: var(--color-primary);
    border-radius: 50%;
    position: absolute;
    bottom: -6px;
}

.industry-icon-circle::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid var(--color-primary);
    border-top: none;
    border-left: none;
    border-radius: 50%;
    transform: rotate(45deg);
}

.industry-box p {
    font-size: 1.05rem;
    color: var(--color-ink-2);
    font-weight: 600;
    margin-top: 22px;
    font-family: var(--font-display);
}


/* ============================================
   IMPACT NUMBERS (new dark section)
   ============================================ */

.impact-section {
    background: var(--color-dark);
    color: white;
    position: relative;
    overflow: hidden;
}

.impact-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
}

.impact-section::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -150px;
    transform: translateY(-50%);
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(59, 91, 255, 0.25), transparent 65%);
    pointer-events: none;
    filter: blur(60px);
}

.impact-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.impact-head h2 {
    color: white;
    font-size: clamp(1.875rem, 3vw, 2.5rem);
    line-height: 1.15;
    margin-bottom: 16px;
}

.impact-head p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.0625rem;
    line-height: 1.65;
}

.impact-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.impact-stat {
    border-left: 2px solid var(--color-primary);
    padding-left: 22px;
}

.impact-stat strong {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 700;
    color: white;
    line-height: 1;
    display: block;
    margin-bottom: 8px;
}

.impact-stat strong span {
    color: var(--color-primary);
    font-size: 0.6em;
}

.impact-stat p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.95rem;
}


/* ============================================
   WHY US (preserved + polished)
   ============================================ */

.why-section {
    background: var(--color-bg-soft);
}

.why-choose-section {
    padding: 0;
}

.why-grid {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.why-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 28px;
    display: flex;
    align-items: center;
    gap: 24px;
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--color-primary);
    transition: all 0.3s ease;
}

.why-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(4px);
}

.icon-box {
    min-width: 68px;
    height: 68px;
    border-radius: 50%;
    background: var(--color-primary-soft);
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-box i {
    font-size: 28px;
    color: var(--color-primary);
}

.card-content h3 {
    font-size: 1.125rem;
    color: var(--color-ink);
    margin-bottom: 8px;
    font-weight: 600;
}

.card-content p {
    font-size: 0.95rem;
    color: var(--color-body);
    line-height: 1.5;
}


/* ============================================
   TESTIMONIALS (new)
   ============================================ */

.testimonials-section {
    background: white;
}

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

.testimonial-card {
    background: var(--color-bg-soft);
    border-radius: var(--radius-lg);
    padding: 32px;
    position: relative;
    border: 1px solid var(--color-border-soft);
    transition: all 0.3s ease;
    margin: 0;
}

.testimonial-card:hover {
    background: white;
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.quote-mark {
    font-family: var(--font-display);
    font-size: 4rem;
    color: var(--color-primary);
    line-height: 0.8;
    margin-bottom: 8px;
    opacity: 0.3;
}

.testimonial-card blockquote {
    font-size: 1rem;
    color: var(--color-ink-2);
    line-height: 1.7;
    margin: 0 0 24px 0;
    font-style: normal;
    padding: 0;
}

.testimonial-card figcaption {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary), #7c3aed);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-family: var(--font-display);
    font-size: 0.95rem;
}

.testimonial-card figcaption strong {
    display: block;
    color: var(--color-ink);
    font-size: 0.95rem;
    font-weight: 600;
}

.testimonial-card figcaption span {
    color: var(--color-muted);
    font-size: 0.825rem;
}


/* ============================================
   CTA
   ============================================ */

.cta-section {
    background:
        radial-gradient(circle at 20% 30%, rgba(124, 58, 237, 0.4), transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(59, 91, 255, 0.5), transparent 50%),
        var(--color-dark);
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}

.cta-inner {
    position: relative;
    z-index: 1;
}

.cta-inner h2 {
    color: white;
    font-size: clamp(2rem, 4vw, 3rem);
    margin: 16px 0 18px;
}

.cta-inner p {
    font-size: 1.0625rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.65;
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-actions .btn-primary {
    background: white;
    color: var(--color-ink);
}

.cta-actions .btn-primary:hover {
    background: var(--color-primary);
    color: white;
}


/* ============================================
   FOOTER
   ============================================ */

.site-footer {
    background: #06091a;
    color: rgba(255, 255, 255, 0.7);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-brand img {
    max-width: 160px;
    filter: brightness(0) invert(1);
    margin-bottom: 18px;
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 20px;
}

.footer-socials {
    display: flex;
    gap: 10px;
}

.footer-socials a {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
}

.footer-socials a:hover {
    background: var(--color-primary);
    transform: translateY(-2px);
}

.site-footer h5 {
    font-family: var(--font-display);
    color: white;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 16px;
    letter-spacing: 0.02em;
}

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

.site-footer ul li {
    font-size: 0.9rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.55);
}

.site-footer ul li a {
    color: rgba(255, 255, 255, 0.55);
    transition: color 0.2s ease;
}

.site-footer ul li a:hover {
    color: white;
}

.site-footer ul li i {
    color: var(--color-primary);
    font-size: 0.85rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    transition: color 0.2s ease;
}

.footer-bottom-links a:hover {
    color: white;
}


/* ============================================
   FADE UP ANIMATION (preserved — used by JS)
   ============================================ */

.fade-up {
    opacity: 0;
    transform: translateY(60px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}

.fade-up.show {
    opacity: 1;
    transform: translateY(0);
}


/* ============================================
   MODAL (preserved — used by JS)
   ============================================ */

.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(10, 14, 31, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    justify-content: center;
    align-items: center;
    z-index: 999;
    padding: 20px;
}

.modal-box {
    background: white;
    width: 100%;
    max-width: 540px;
    padding: 36px;
    border-radius: var(--radius-xl);
    position: relative;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
    max-height: 90vh;
    overflow-y: auto;
}

.close-btn {
    position: absolute;
    top: 18px;
    right: 22px;
    font-size: 28px;
    cursor: pointer;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-muted);
    transition: all 0.2s ease;
    line-height: 1;
}

.close-btn:hover {
    background: var(--color-bg-soft);
    color: var(--color-ink);
}

.modal-header {
    margin-bottom: 24px;
}

.modal-box h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 10px 0 6px;
    text-align: left;
}

.modal-sub {
    font-size: 0.9rem;
    color: var(--color-body);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.form-group {
    margin-bottom: 14px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-sm);
    outline: none;
    font-size: 0.95rem;
    background: var(--color-bg-soft);
    transition: all 0.2s ease;
    font-family: inherit;
    color: var(--color-ink);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--color-primary);
    background: white;
    box-shadow: 0 0 0 4px var(--color-primary-soft);
}

textarea {
    resize: none;
    height: 90px;
}

.error {
    color: #e11d48;
    font-size: 0.78rem;
    margin-top: 4px;
    display: block;
}

.submit-btn {
    width: 100%;
    background: var(--color-ink);
    color: white;
    border: none;
    padding: 14px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 6px;
}

.submit-btn:hover {
    background: var(--color-primary);
    transform: translateY(-1px);
}


/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1100px) {
    .impact-grid { grid-template-columns: 1fr; gap: 40px; }
    .case-featured { grid-template-columns: 1fr; }
    .case-featured-visual { min-height: 320px; }
    .case-featured-body { padding: 36px; }
}

@media (max-width: 992px) {
    .services-container { grid-template-columns: repeat(2, 1fr); }
    .case-grid { grid-template-columns: 1fr; }
    .testimonial-grid { grid-template-columns: 1fr 1fr; }
    .why-grid { grid-template-columns: 1fr; }
    .industries-container { grid-template-columns: repeat(3, 1fr); }
    .industry-box:nth-child(3)::after { display: none; }
    .heading-wrapper h2 { font-size: 2rem; }
    .about-pillars { grid-template-columns: 1fr 1fr; }
    .hero-mini-stats { gap: 16px; }
    .hero-mini-stats strong { font-size: 1.5rem; }
    .floating-tag-1 { left: 10px; top: 10px; }
    .floating-tag-2 { right: 10px; bottom: 20px; }
    .main-nav a {font-size: 0.7rem;}
}

@media (max-width: 768px) {
    .main-nav { display: none; }
    .logo img { max-width: 140px; }
    .book-demo { padding: 10px 16px; font-size: 0.85rem; }
    .hero-section .grid { gap: 30px; }
    .hero-mini-stats { grid-template-columns: 1fr 1fr 1fr; }
    .services-container { grid-template-columns: 1fr; }
    .content-grid { grid-template-columns: 1fr; }
    .servie-card-image img { height: 220px; }
    .floating-icon { top: 190px; }
    .workflow-container { flex-direction: column; align-items: center; }
    .workflow-card { width: 100%; max-width: 400px; }
    .heading-wrapper { flex-direction: column; gap: 10px; }
    .line { width: 50px; }

    .case-featured-body { padding: 28px; }
    .case-card-stats { grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 14px; }
    .case-card-stats strong { font-size: 1.125rem; }
    .case-metrics { grid-template-columns: 1fr; gap: 14px; }
    .case-cta { padding: 28px; flex-direction: column; align-items: flex-start; }

    .testimonial-grid { grid-template-columns: 1fr; }
    .industries-container { grid-template-columns: repeat(2, 1fr); }
    .industry-box::after { display: none; }
    .industry-icon-circle { width: 96px; height: 96px; }
    .industry-icon-circle i { font-size: 30px; }
    .industry-box p { font-size: 0.95rem; }
    .why-card { flex-direction: column; text-align: center; padding: 26px; }

    .trust-logos { gap: 32px; }
    .trust-logos span { max-width: 90px; }

    .impact-stats { grid-template-columns: 1fr 1fr; gap: 20px; }
    .about-pillars { grid-template-columns: 1fr; }

    .form-row { grid-template-columns: 1fr; gap: 0; }
    .modal-box { padding: 28px; }

    .footer-brand { text-align: center; }
    .footer-brand img { margin-left: auto; margin-right: auto; }
    .footer-socials { justify-content: center; }
    .header-demo {display: none;}
}

@media (max-width: 480px) {
    .industries-container { grid-template-columns: 1fr; }
    .hero-mini-stats { grid-template-columns: 1fr; gap: 20px; }
    .hero-cta { flex-direction: column; }
    .hero-cta a { width: 100%; justify-content: center; }
    .case-card { padding: 24px; }
    .case-featured-body { padding: 24px; }
    .impact-stats { grid-template-columns: 1fr; }
    .cta-actions { flex-direction: column; }
    .cta-actions a { width: 100%; justify-content: center; }
    .hamberger-wrap {display: inline-block;}
    html, body {overflow-x: hidden;}
    .mobileMenu-wrap {display: inline-block;position: fixed;top: 79px;height: calc(100vh - 80px);background-color: #FFF;width: 100%;right: -100%;transition: all .3s ease-in-out;}
    .mobileMenu-wrap ul.mobile-menu {padding-top: 30px;}
    .mobileMenu-wrap ul.mobile-menu li {display: inline-block;width: 100%;}
    .mobileMenu-wrap ul.mobile-menu li a {display: inline-block;width: 100%;padding: 5px 20px;border-bottom: 1px solid #000;}
    .hamberger-wrap.active span.hamberger:before {transform: rotate(45deg);top: 0;left: 30px;}
    .hamberger-wrap.active span.hamberger:after {transform: rotate(-45deg);top: 0;left: 30px;}
    .hamberger-wrap.active span.hamberger {left: -30px;}
    .mobileMenu-wrap.active {right:0;transition: all .3s ease-in-out;}
}


/* ============================================
   CASE STUDY MODAL
   ============================================ */

.case-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(10, 14, 31, 0.7);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 1000;
    justify-content: center;
    align-items: flex-start;
    padding: 40px 20px;
    overflow-y: auto;
    animation: cs-fade 0.25s ease;
}

.case-modal-overlay.is-open {
    display: flex;
}

@keyframes cs-fade {
    from { opacity: 0; }
    to { opacity: 1; }
}

.case-modal-box {
    background: white;
    width: 100%;
    max-width: 880px;
    border-radius: var(--radius-xl);
    position: relative;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
    overflow: hidden;
    animation: cs-rise 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    margin: 0 auto;
}

@keyframes cs-rise {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.case-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.95);
    color: var(--color-ink);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    z-index: 10;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    transition: all 0.2s ease;
    font-family: inherit;
}

.case-modal-close:hover {
    background: white;
    transform: rotate(90deg);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.case-modal-content {
    /* container — children handle padding */
}

/* Hero strip inside modal */
.cs-hero {
    padding: 48px 56px 44px;
    color: white;
    position: relative;
    overflow: hidden;
}

.cs-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(ellipse at top right, black 20%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at top right, black 20%, transparent 75%);
    pointer-events: none;
}

.cs-hero > * {
    position: relative;
    z-index: 1;
}

.cs-hero-blue { background: linear-gradient(135deg, #1e3a8a 0%, #3b5bff 100%); }
.cs-hero-purple { background: linear-gradient(135deg, #4c1d95 0%, #7c3aed 100%); }
.cs-hero-cyan { background: linear-gradient(135deg, #0e7490 0%, #06b6d4 100%); }
.cs-hero-green { background: linear-gradient(135deg, #14532d 0%, #16a34a 100%); }
.cs-hero-orange { background: linear-gradient(135deg, #9a3412 0%, #ea7d20 100%); }

.cs-hero .case-tag {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    margin-bottom: 18px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cs-hero h2 {
    color: white;
    font-size: clamp(1.5rem, 3vw, 2.125rem);
    line-height: 1.2;
    font-weight: 600;
    margin: 0 0 22px;
    max-width: 90%;
}

.cs-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.85);
}

.cs-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* Body of the case study */
.cs-body {
    padding: 44px 56px 56px;
}

.cs-lede {
    font-size: 1.0625rem;
    color: var(--color-ink-2);
    line-height: 1.75;
    margin-bottom: 32px;
    font-family: var(--font-display);
    font-weight: 400;
    font-variation-settings: "opsz" 24;
    border-left: 3px solid var(--color-primary);
    padding-left: 22px;
}

.cs-highlights {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-bottom: 40px;
    padding: 24px;
    background: var(--color-bg-soft);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border-soft);
}

.cs-highlights > div {
    text-align: center;
}

.cs-highlights strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1.1;
    margin-bottom: 6px;
}

.cs-highlights span {
    font-size: 0.75rem;
    color: var(--color-muted);
    line-height: 1.35;
}

.cs-body h3 {
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--color-ink);
    margin: 36px 0 14px;
    position: relative;
    padding-left: 18px;
}

.cs-body h3::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    bottom: 8px;
    width: 4px;
    border-radius: 4px;
    background: var(--color-primary);
}

.cs-body h3:first-child {
    margin-top: 0;
}

.cs-body p {
    font-size: 1rem;
    color: var(--color-body);
    line-height: 1.75;
    margin-bottom: 16px;
}

.cs-body em {
    color: var(--color-ink);
    font-style: italic;
    font-weight: 500;
}

.cs-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
}

.cs-list li {
    position: relative;
    padding: 10px 0 10px 30px;
    color: var(--color-body);
    line-height: 1.65;
    font-size: 0.975rem;
    border-bottom: 1px solid var(--color-border-soft);
}

.cs-list li:last-child {
    border-bottom: none;
}

.cs-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 18px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-primary);
}

.cs-list li strong {
    color: var(--color-ink);
    font-weight: 600;
}

.cs-quote {
    margin: 40px 0;
    padding: 28px 32px 28px 60px;
    background: linear-gradient(135deg, #f8f9fc 0%, #f1f3fb 100%);
    border-radius: var(--radius-md);
    font-family: var(--font-display);
    font-size: 1.0625rem;
    font-style: normal;
    color: var(--color-ink);
    line-height: 1.65;
    position: relative;
    border-left: 4px solid var(--color-primary);
}

.cs-quote::before {
    content: "\201C";
    position: absolute;
    top: -8px;
    left: 18px;
    font-size: 4.5rem;
    color: var(--color-primary);
    opacity: 0.3;
    font-family: Georgia, serif;
    line-height: 1;
}

.cs-quote cite {
    display: block;
    margin-top: 14px;
    font-size: 0.875rem;
    color: var(--color-muted);
    font-style: normal;
    font-weight: 500;
    font-family: var(--font-body);
}

.cs-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.cs-stack span {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    padding: 6px 14px;
    border-radius: 6px;
    background: var(--color-bg-soft);
    border: 1px solid var(--color-border);
    color: var(--color-body);
}

/* Responsive */
@media (max-width: 768px) {
    .case-modal-overlay {
        padding: 12px;
    }
    .case-modal-box {
        border-radius: var(--radius-lg);
    }
    .case-modal-close {
        top: 12px;
        right: 12px;
        width: 38px;
        height: 38px;
    }
    .cs-hero {
        padding: 32px 24px 28px;
    }
    .cs-hero h2 {
        max-width: 85%;
    }
    .cs-meta {
        gap: 12px;
        font-size: 0.72rem;
    }
    .cs-body {
        padding: 28px 24px 32px;
    }
    .cs-highlights {
        grid-template-columns: repeat(2, 1fr);
        padding: 18px;
    }
    .cs-highlights strong {
        font-size: 1.25rem;
    }
    .cs-quote {
        padding: 22px 20px 22px 24px;
        font-size: 0.975rem;
    }
    .cs-quote::before {
        font-size: 3rem;
        top: -2px;
        left: 10px;
    }
    .cs-lede {
        padding-left: 16px;
        font-size: 1rem;
    }
    .cs-body h3 {
        font-size: 1.2rem;
    }
}
