/* ══════════════════════════════════════════════════════════════════
   AIRPASS CONNECTIONS CUSTOMER APP — DEDICATED CASE STUDY STYLES
   Prefix: csd- (Case Study Detail) / .airpass-case-study
   ══════════════════════════════════════════════════════════════════ */

:root {
    --csd-navy-950: #040d16;
    --csd-navy-900: #06131f;
    --csd-navy-850: #0a1b2d;
    --csd-navy-800: #0e243c;
    --csd-navy-700: #163252;
    --csd-cyan-500: #0ea5e9;
    --csd-cyan-400: #38bdf8;
    --csd-cyan-600: #0284c7;
    --csd-emerald-500: #10b981;
    --csd-emerald-400: #34d399;
    --csd-paper: #f8fafc;
    --csd-card-bg: #ffffff;
    --csd-border: rgba(14, 36, 60, 0.08);
    --csd-border-light: rgba(255, 255, 255, 0.1);
    --csd-text-main: #0f172a;
    --csd-text-muted: #64748b;
    --csd-text-light: #94a3b8;
    --csd-font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Page Base */
.csd-page {
    background-color: var(--csd-paper);
    color: var(--csd-text-main);
    font-family: var(--csd-font-sans);
    line-height: 1.6;
    overflow-x: clip;
}

.csd-page *,
.csd-page *::before,
.csd-page *::after {
    box-sizing: border-box;
}

.csd-shell {
    width: min(1280px, calc(100% - 48px));
    margin-inline: auto;
}

@media (max-width: 640px) {
    .csd-shell {
        width: calc(100% - 32px);
    }
}

/* Typography & Kickers */
.csd-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--csd-cyan-600);
    margin: 0 0 12px;
}

.csd-kicker--cyan {
    color: var(--csd-cyan-400);
}

.csd-section-title {
    font-size: clamp(26px, 2.8vw, 34px);
    font-weight: 800;
    line-height: 1.18;
    letter-spacing: -0.025em;
    color: var(--csd-navy-900);
    margin: 0 0 16px;
}

.csd-section-title--white {
    color: #ffffff;
}

.csd-section-desc {
    font-size: clamp(15px, 1.2vw, 16.5px);
    color: var(--csd-text-muted);
    line-height: 1.65;
    margin: 0;
}

.csd-section-desc--light {
    color: var(--csd-text-light);
}

/* ══════════════════════════════════════════════════════════
   SECTION 01: HERO
   ══════════════════════════════════════════════════════════ */
.csd-hero {
    position: relative;
    background: radial-gradient(circle at 85% 15%, rgba(14, 165, 233, 0.16), transparent 35%),
                radial-gradient(circle at 15% 85%, rgba(16, 185, 129, 0.12), transparent 30%),
                linear-gradient(145deg, #040c15 0%, #06131f 45%, #0a1f33 100%);
    color: #ffffff;
    padding: 36px 0 88px;
    overflow: hidden;
}

.csd-hero__ambient-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
    z-index: 0;
}

.csd-hero__ambient-glow--cyan {
    top: -200px;
    right: -100px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.25), transparent 70%);
}

.csd-hero__ambient-glow--emerald {
    bottom: -150px;
    left: -150px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.15), transparent 70%);
}

.csd-hero__grid {
    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: 64px 64px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent 85%);
    pointer-events: none;
    z-index: 0;
}

.csd-breadcrumb {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 24px;
}

.csd-breadcrumb a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: color 0.2s ease;
}

.csd-breadcrumb a:hover {
    color: var(--csd-cyan-400);
}

.csd-breadcrumb [aria-current="page"] {
    color: #ffffff;
    font-weight: 500;
}

.csd-breadcrumb__sep {
    color: rgba(255, 255, 255, 0.35);
}

.csd-back-link {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    margin-bottom: 36px;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    transition: all 0.2s ease;
}

.csd-back-link:hover {
    color: #ffffff;
    background: rgba(14, 165, 233, 0.2);
    border-color: rgba(14, 165, 233, 0.4);
    transform: translateX(-3px);
}

.csd-hero__layout {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(440px, 1.25fr);
    gap: clamp(36px, 5vw, 64px);
    align-items: center;
}

.csd-eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--csd-cyan-400);
    margin-bottom: 18px;
}

.csd-eyebrow__pulse {
    width: 8px;
    height: 8px;
    background-color: var(--csd-emerald-400);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--csd-emerald-400);
    animation: csdPulse 2s infinite ease-in-out;
}

@keyframes csdPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.7; }
}

.csd-hero__title {
    font-size: clamp(30px, 3.8vw, 46px);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.03em;
    color: #ffffff;
    margin: 0 0 20px;
}

.csd-hero__title-accent {
    display: block;
    background: linear-gradient(120deg, #38bdf8 0%, #10b981 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.csd-hero__lede {
    font-size: clamp(16px, 1.35vw, 18px);
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.65;
    margin: 0 0 28px;
}

.csd-hero__tech-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 32px;
}

.csd-tech-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px;
    font-size: 13px;
    font-weight: 600;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.csd-fact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin: 0;
}

.csd-fact-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 12px;
    padding: 14px 18px;
    backdrop-filter: blur(8px);
}

.csd-fact-card dt {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--csd-cyan-400);
    margin-bottom: 4px;
}

.csd-fact-card dd {
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
}

/* Hero Visual Showcase (3-Phone Landscape Showcase) */
.csd-hero__showcase {
    margin: 0;
    position: relative;
}

.csd-hero__frame {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: #091a2a;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 28px 60px -15px rgba(0, 0, 0, 0.55),
                0 0 0 1px rgba(56, 189, 248, 0.2);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.csd-hero__frame:hover {
    transform: translateY(-4px);
    box-shadow: 0 32px 70px -12px rgba(0, 0, 0, 0.65),
                0 0 0 1px rgba(56, 189, 248, 0.4);
}

.csd-hero__frame img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.csd-hero__caption {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 14px;
    padding: 0 6px;
}

.csd-caption-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--csd-cyan-400);
}

/* ══════════════════════════════════════════════════════════
   STICKY SECTION NAVIGATION
   ══════════════════════════════════════════════════════════ */
.csd-nav-bar {
    position: sticky;
    top: 72px;
    z-index: 40;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(14, 36, 60, 0.08);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.csd-nav-bar__inner {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    padding: 10px 0;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.csd-nav-bar__inner::-webkit-scrollbar {
    display: none;
}

.csd-nav-bar__link {
    white-space: nowrap;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    color: var(--csd-text-muted);
    text-decoration: none;
    border-radius: 999px;
    transition: all 0.2s ease;
}

.csd-nav-bar__link:hover {
    color: var(--csd-navy-900);
    background: rgba(14, 165, 233, 0.08);
}

.csd-nav-bar__link.is-active {
    color: #ffffff;
    background: var(--csd-navy-900);
    box-shadow: 0 2px 8px rgba(6, 19, 31, 0.2);
}

/* ══════════════════════════════════════════════════════════
   COMMON SECTION STYLING & BALANCED SPACING
   Desktop: 80–100px vertical padding (88px)
   Tablet: 60–72px vertical padding (68px)
   Mobile: 40–56px vertical padding (48px)
   ══════════════════════════════════════════════════════════ */
.csd-section {
    padding: 76px 0;
    position: relative;
    scroll-margin-top: 140px;
}

.csd-section--white {
    background-color: #ffffff;
}

.csd-section--paper {
    background-color: var(--csd-paper);
}

.csd-section--dark {
    background-color: var(--csd-navy-900);
    color: #ffffff;
}

.csd-editorial-header {
    margin-bottom: 48px;
}

.csd-editorial-header--centered {
    text-align: center;
    max-width: 760px;
    margin-inline: auto;
    margin-bottom: 56px;
}

.csd-editorial-header__body {
    max-width: 820px;
}

/* ══════════════════════════════════════════════════════════
   SECTION 02: OVERVIEW SPLIT LAYOUT
   ══════════════════════════════════════════════════════════ */
.csd-split-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(420px, 1.2fr);
    gap: clamp(40px, 6vw, 84px);
    align-items: start;
}

.csd-narrative-lead {
    font-size: clamp(17px, 1.4vw, 20px);
    font-weight: 500;
    line-height: 1.6;
    color: var(--csd-navy-800);
    margin: 0 0 20px;
}

.csd-narrative-body {
    font-size: 15px;
    color: var(--csd-text-muted);
    line-height: 1.7;
    margin: 0;
}

.csd-capabilities-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.csd-capability-card {
    background: var(--csd-card-bg);
    border: 1px solid var(--csd-border);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.csd-capability-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 28px -6px rgba(15, 23, 42, 0.08);
    border-color: rgba(14, 165, 233, 0.35);
}

.csd-capability-num {
    font-size: 13px;
    font-weight: 800;
    color: var(--csd-cyan-600);
    letter-spacing: 0.1em;
}

.csd-capability-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--csd-navy-900);
    margin: 0 0 8px;
    line-height: 1.35;
}

.csd-capability-desc {
    font-size: 13.5px;
    color: var(--csd-text-muted);
    line-height: 1.6;
    margin: 0;
}

/* ══════════════════════════════════════════════════════════
   SCOPED SINGLE-PHONE MOCKUP SIZING & CONTAINER STYLES
   Desktop (1440px+): max-width 300px, max-height 520px
   Laptop (1024-1439px): max-width 270px, max-height 460px
   Tablet (768-1023px): max-width 250px, max-height 420px
   Mobile (<768px): max-width 220px, max-height 380px
   ══════════════════════════════════════════════════════════ */
.airpass-case-study .case-study-phone-frame,
.csd-showcase-frame--phone,
.csd-dark-visual .csd-showcase-frame,
.csd-single-showcase .csd-showcase-frame {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-width: 0;
    min-height: 380px;
    overflow: visible;
    background: transparent;
    border: none;
    box-shadow: none;
    margin: 0 auto;
}

.airpass-case-study .case-study-phone-frame img,
.csd-showcase-frame--phone img,
.csd-dark-visual .csd-showcase-frame img,
.csd-single-showcase .csd-showcase-frame img {
    display: block;
    width: auto;
    height: auto;
    max-width: min(100%, 300px);
    max-height: 520px;
    aspect-ratio: 9 / 19.5;
    object-fit: contain;
    object-position: center;
    flex-shrink: 0;
    border-radius: 28px;
    filter: drop-shadow(0 20px 40px rgba(15, 23, 42, 0.2));
    transition: transform 0.3s ease, filter 0.3s ease;
}

.airpass-case-study .case-study-phone-frame img:hover,
.csd-showcase-frame--phone img:hover,
.csd-dark-visual .csd-showcase-frame img:hover,
.csd-single-showcase .csd-showcase-frame img:hover {
    transform: translateY(-4px);
    filter: drop-shadow(0 28px 52px rgba(15, 23, 42, 0.28));
}

.csd-dark-visual .csd-showcase-frame img {
    filter: drop-shadow(0 24px 50px rgba(0, 0, 0, 0.75)) drop-shadow(0 0 24px rgba(14, 165, 233, 0.25));
}

.csd-dark-visual .csd-showcase-frame img:hover {
    transform: translateY(-4px);
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.85)) drop-shadow(0 0 32px rgba(14, 165, 233, 0.35));
}

/* Laptop (1024px–1439px) */
@media (max-width: 1439px) {
    .airpass-case-study .case-study-phone-frame img,
    .csd-showcase-frame--phone img,
    .csd-dark-visual .csd-showcase-frame img,
    .csd-single-showcase .csd-showcase-frame img {
        max-width: min(100%, 270px);
        max-height: 460px;
    }
}

/* Tablet (768px–1023px) */
@media (max-width: 1023px) {
    .airpass-case-study .case-study-phone-frame img,
    .csd-showcase-frame--phone img,
    .csd-dark-visual .csd-showcase-frame img,
    .csd-single-showcase .csd-showcase-frame img {
        max-width: min(100%, 250px);
        max-height: 420px;
    }
}

/* Mobile (below 768px) */
@media (max-width: 767px) {
    .airpass-case-study .case-study-phone-frame img,
    .csd-showcase-frame--phone img,
    .csd-dark-visual .csd-showcase-frame img,
    .csd-single-showcase .csd-showcase-frame img {
        max-width: min(100%, 220px);
        max-height: 380px;
    }
}

/* ══════════════════════════════════════════════════════════
   SECTION 03: DASHBOARD SHOWCASE & TRIO
   ══════════════════════════════════════════════════════════ */
.csd-single-showcase {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto 48px;
    max-width: 440px;
}

.csd-showcase-caption {
    font-size: 13px;
    color: var(--csd-text-muted);
    margin-top: 16px;
    text-align: center;
}

.csd-feature-trio {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.csd-trio-item {
    background: var(--csd-paper);
    border: 1px solid var(--csd-border);
    border-radius: 14px;
    padding: 24px;
}

.csd-trio-num {
    display: inline-block;
    font-size: 12px;
    font-weight: 800;
    color: var(--csd-cyan-600);
    letter-spacing: 0.1em;
    margin-bottom: 12px;
}

.csd-trio-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--csd-navy-900);
    margin: 0 0 8px;
}

.csd-trio-desc {
    font-size: 13.5px;
    color: var(--csd-text-muted);
    line-height: 1.6;
    margin: 0;
}

/* ══════════════════════════════════════════════════════════
   TWO-COLUMN SPOTLIGHT LAYOUTS (Booking, Order Summary, Support)
   Visual container + Content balanced with vertical centering
   ══════════════════════════════════════════════════════════ */
.csd-spotlight-layout {
    display: grid;
    grid-template-columns: minmax(280px, 340px) minmax(0, 1fr);
    gap: clamp(40px, 5vw, 76px);
    align-items: center;
    max-width: 1080px;
    margin-inline: auto;
}

.csd-spotlight-layout--reverse {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
}

.csd-spotlight-layout--reverse .csd-spotlight-visual {
    order: 2;
}

.csd-spotlight-layout--reverse .csd-summary-details {
    order: 1;
}

.csd-spotlight-visual {
    margin: 0;
    width: 100%;
}

/* Annotation List (Booking Flow) */
.csd-annotation-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.csd-annotation-item {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    background: var(--csd-card-bg);
    border: 1px solid var(--csd-border);
    border-radius: 14px;
    padding: 18px 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.csd-annotation-item:hover {
    transform: translateX(4px);
    border-color: rgba(14, 165, 233, 0.4);
}

.csd-annotation-badge {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(14, 165, 233, 0.1);
    color: var(--csd-cyan-600);
    font-size: 13px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

.csd-annotation-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--csd-navy-900);
    margin: 0 0 6px;
}

.csd-annotation-desc {
    font-size: 13.5px;
    color: var(--csd-text-muted);
    line-height: 1.6;
    margin: 0;
}

/* Order Summary Details */
.csd-summary-details__headline {
    font-size: clamp(24px, 2.5vw, 32px);
    font-weight: 800;
    color: var(--csd-navy-900);
    margin: 0 0 12px;
    letter-spacing: -0.02em;
}

.csd-summary-details__lead {
    font-size: 15px;
    color: var(--csd-text-muted);
    line-height: 1.65;
    margin: 0 0 24px;
}

.csd-breakdown-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.csd-breakdown-card {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: var(--csd-paper);
    border: 1px solid var(--csd-border);
    border-radius: 14px;
    padding: 18px 20px;
}

.csd-breakdown-card__icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(14, 165, 233, 0.12);
    color: var(--csd-cyan-600);
    display: flex;
    align-items: center;
    justify-content: center;
}

.csd-breakdown-card__title {
    font-size: 15px;
    font-weight: 700;
    color: var(--csd-navy-900);
    margin: 0 0 6px;
}

.csd-breakdown-card__text {
    font-size: 13.5px;
    color: var(--csd-text-muted);
    line-height: 1.6;
    margin: 0;
}

/* ══════════════════════════════════════════════════════════
   SECTION 06: DARK SHOWCASE (ORDER & PAYMENT)
   ══════════════════════════════════════════════════════════ */
.csd-dark-layout {
    display: grid;
    grid-template-columns: minmax(280px, 340px) minmax(0, 1fr);
    gap: clamp(40px, 5vw, 76px);
    align-items: center;
    max-width: 1100px;
    margin-inline: auto;
}

.csd-dark-visual {
    margin: 0;
    width: 100%;
}

.csd-dark-highlights {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.csd-dark-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 14px;
    padding: 22px;
    backdrop-filter: blur(8px);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.csd-dark-card:hover {
    transform: translateY(-3px);
    border-color: rgba(56, 189, 248, 0.4);
}

.csd-dark-card__num {
    font-size: 12px;
    font-weight: 800;
    color: var(--csd-cyan-400);
    letter-spacing: 0.1em;
    display: block;
    margin-bottom: 8px;
}

.csd-dark-card__title {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 8px;
    line-height: 1.35;
}

.csd-dark-card__text {
    font-size: 13px;
    color: var(--csd-text-light);
    line-height: 1.6;
    margin: 0;
}

/* ══════════════════════════════════════════════════════════
   SECTION 07: SUPPORT CHANNELS
   ══════════════════════════════════════════════════════════ */
.csd-support-channels {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.csd-support-card {
    background: var(--csd-card-bg);
    border: 1px solid var(--csd-border);
    border-radius: 14px;
    padding: 22px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

.csd-support-card__header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.csd-support-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(14, 165, 233, 0.1);
    color: var(--csd-cyan-600);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.csd-support-card__title {
    font-size: 16px;
    font-weight: 700;
    color: var(--csd-navy-900);
    margin: 0;
}

.csd-support-card__desc {
    font-size: 13.5px;
    color: var(--csd-text-muted);
    line-height: 1.6;
    margin: 0;
}

/* ══════════════════════════════════════════════════════════
   SECTION 08: END-TO-END FLOW (ZERO DUPLICATE IMAGES)
   ══════════════════════════════════════════════════════════ */
.csd-flow-container {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    position: relative;
}

.csd-flow-step {
    background: var(--csd-paper);
    border: 1px solid var(--csd-border);
    border-radius: 16px;
    padding: 24px 20px;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.csd-flow-step:hover {
    transform: translateY(-4px);
    border-color: rgba(14, 165, 233, 0.4);
    box-shadow: 0 12px 24px -4px rgba(15, 23, 42, 0.06);
}

.csd-flow-step__badge {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--csd-navy-900);
    color: #ffffff;
    font-size: 14px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

.csd-flow-step__title {
    font-size: 15px;
    font-weight: 700;
    color: var(--csd-navy-900);
    margin: 0 0 6px;
}

.csd-flow-step__desc {
    font-size: 12.5px;
    color: var(--csd-text-muted);
    line-height: 1.55;
    margin: 0;
}

/* ══════════════════════════════════════════════════════════
   SECTION 09: TECHNOLOGY STACK
   ══════════════════════════════════════════════════════════ */
.csd-tech-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.csd-tech-card {
    background: var(--csd-card-bg);
    border: 1px solid var(--csd-border);
    border-radius: 18px;
    padding: 32px 28px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.03);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.csd-tech-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 36px -6px rgba(15, 23, 42, 0.09);
    border-color: rgba(14, 165, 233, 0.4);
}

.csd-tech-card__icon-wrap {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    background: var(--csd-paper);
    border: 1px solid var(--csd-border);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: transform 0.25s ease;
}

.csd-tech-card:hover .csd-tech-card__icon-wrap {
    transform: scale(1.08);
}

.csd-tech-card__name {
    font-size: 20px;
    font-weight: 800;
    color: var(--csd-navy-900);
    margin: 0 0 4px;
}

.csd-tech-card__role {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--csd-cyan-600);
    margin: 0 0 14px;
}

.csd-tech-card__desc {
    font-size: 14px;
    color: var(--csd-text-muted);
    line-height: 1.6;
    margin: 0;
}

/* ══════════════════════════════════════════════════════════
   SECTION 10: CLOSING CALL TO ACTION
   ══════════════════════════════════════════════════════════ */
.csd-closing {
    position: relative;
    background: radial-gradient(circle at 50% 0%, rgba(14, 165, 233, 0.2), transparent 50%),
                linear-gradient(180deg, #06131f 0%, #03080e 100%);
    color: #ffffff;
    padding: 96px 0 104px;
    text-align: center;
    overflow: hidden;
}

.csd-closing__ambient-glow {
    position: absolute;
    width: 700px;
    height: 700px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.15), transparent 70%);
    bottom: -300px;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
}

.csd-closing__inner {
    position: relative;
    z-index: 1;
    max-width: 760px;
    margin-inline: auto;
}

.csd-closing__title {
    font-size: clamp(26px, 3vw, 36px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.025em;
    color: #ffffff;
    margin: 0 0 18px;
}

.csd-closing__lede {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.65;
    margin: 0 0 32px;
}

.csd-closing__actions {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.csd-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 999px;
    transition: all 0.25s ease;
    cursor: pointer;
}

.csd-btn--primary {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    box-shadow: 0 8px 24px -4px rgba(16, 185, 129, 0.4);
}

.csd-btn--primary:hover {
    background: linear-gradient(135deg, #34d399 0%, #10b981 100%);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px -4px rgba(16, 185, 129, 0.5);
    color: #ffffff;
}

.csd-btn--secondary {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(8px);
}

.csd-btn--secondary:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.3);
    color: #ffffff;
    transform: translateY(-2px);
}

/* ══════════════════════════════════════════════════════════
   SCROLL REVEAL ANIMATIONS
   ══════════════════════════════════════════════════════════ */
.csd-motion-ready .csd-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.csd-motion-ready .csd-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .csd-motion-ready .csd-reveal {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }

    .csd-eyebrow__pulse {
        animation: none !important;
    }
}

/* ══════════════════════════════════════════════════════════
   RESPONSIVE BREAKPOINTS
   ══════════════════════════════════════════════════════════ */
@media (max-width: 1023px) {
    .csd-section {
        padding: 68px 0;
        scroll-margin-top: 130px;
    }

    .csd-hero__layout {
        grid-template-columns: 1fr;
        gap: 44px;
    }

    .csd-split-layout {
        grid-template-columns: 1fr;
        gap: 44px;
    }

    .csd-spotlight-layout,
    .csd-spotlight-layout--reverse {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .csd-spotlight-layout--reverse .csd-spotlight-visual {
        order: 1;
    }

    .csd-spotlight-layout--reverse .csd-summary-details {
        order: 2;
    }

    .csd-dark-layout {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .csd-flow-container {
        grid-template-columns: repeat(3, 1fr);
    }

    .csd-feature-trio {
        grid-template-columns: 1fr;
    }

    .csd-tech-grid {
        grid-template-columns: 1fr;
        max-width: 540px;
        margin-inline: auto;
    }
}

@media (max-width: 767px) {
    .csd-section {
        padding: 48px 0;
        scroll-margin-top: 116px;
    }

    .csd-nav-bar {
        top: 60px;
    }

    .csd-capabilities-grid {
        grid-template-columns: 1fr;
    }

    .csd-dark-highlights {
        grid-template-columns: 1fr;
    }

    .csd-support-channels {
        grid-template-columns: 1fr;
    }

    .csd-flow-container {
        grid-template-columns: 1fr;
    }

    .csd-fact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .csd-hero {
        padding: 24px 0 56px;
    }

    .csd-closing__actions {
        flex-direction: column;
        width: 100%;
    }

    .csd-btn {
        width: 100%;
        justify-content: center;
    }
}
