/* ==========================================================================
   Volition Solutions — Main Stylesheet
   https://volitionsolutions.com
   ==========================================================================

   COLOR SCHEME
   ---------------------------------------------------------------------------
   Primary Blue:    #5DC6EE  (--blue)        — CTAs, links, accents, tech feel
   Action Orange:   #E6924D  (--orange)      — Emergency/urgency, warnings, warmth
   Neutral Slate:   #586A75  (--slate)       — Secondary text, muted UI elements
   Dark Base:       #0B1215  (--dark)        — Page background

   TYPOGRAPHY
   ---------------------------------------------------------------------------
   Body / UI:       Inter (with system font fallback stack)
   Monospace:       JetBrains Mono — stat counters, step numbers, code-like text

   MAJOR SECTIONS
   ---------------------------------------------------------------------------
   1.  Reset & Base        — Box-model reset, CSS custom properties, globals
   2.  Typography          — Fluid headings (clamp), gradient text utility
   3.  Buttons             — Primary, outline, emergency variants + sizes
   4.  Navbar              — Fixed header with scroll-triggered glassmorphism
   5.  Hero                — Full-viewport intro with grid overlay, stats
   6.  Trust Bar           — Social-proof certification badges
   7.  Services            — Card grid + pillar accordion layout
   8.  Ecosystem           — Animated SVG node diagram (radial layout)
   9.  Industries          — 5-column icon grid
   10. Why Us              — Split layout with sticky metric cards
   11. Process             — Horizontal stepped flow with connectors
   12. Process Detail      — Sub-pages: timeline, highlight cards, detail grids
   13. Testimonials        — 3-column quote cards
   14. CTA                 — Centered call-to-action with radial glow
   15. Page Hero           — Interior page banners (FAQ, Contact, etc.)
   16. FAQ                 — Filterable accordion with category grouping
   17. Emergency Banner    — Orange-accented urgency strip with pulse animation
   18. Contact             — Two-column layout: info + form
   19. Footer              — 4-column grid, certifications, bottom bar
   20. Case Studies        — Expandable card accordion with stats & quotes
   21. Animations          — Scroll-triggered fade-in utility
   22. Responsive          — Breakpoints: 1024 / 768 / 480

   RESPONSIVE BREAKPOINT STRATEGY
   ---------------------------------------------------------------------------
   1024px — Tablet landscape: grids drop to 2-col, sticky sidebar becomes
            static, process steps wrap to 2-per-row, footer to 2-col
    768px — Tablet portrait / mobile: single-column grids, hamburger nav,
            stacked forms, hidden scroll indicator, full-width buttons
    480px — Small mobile: tighter padding, smaller headings, fully stacked
            CTA and hero action buttons

   ========================================================================== */

/* ==========================================================================
   1. RESET & BASE
   ========================================================================== */
/* Universal reset: border-box sizing prevents padding from expanding elements */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Design tokens — all visual values centralized here for easy theming */
:root {
    /* Brand blues — primary accent for links, buttons, active states */
    --blue: #5DC6EE;
    --blue-dark: #3AABE0;
    --blue-light: #8FD9F4;
    --blue-glow: rgba(93, 198, 238, 0.15);       /* Subtle background tint for blue elements */
    --blue-glow-strong: rgba(93, 198, 238, 0.3);

    /* Brand orange — reserved for emergency / urgency / warm accents */
    --orange: #E6924D;
    --orange-dark: #D47A33;
    --orange-light: #F0AC74;
    --orange-glow: rgba(230, 146, 77, 0.15);

    /* Slate — neutral midtone for secondary chrome */
    --slate: #586A75;
    --slate-dark: #3E4E58;
    --slate-light: #7A8D99;

    /* Dark surfaces — progressively lighter for layered depth (card > surface) */
    --dark: #0B1215;
    --dark-card: #111B21;
    --dark-surface: #162028;
    --dark-border: #1E2E37;
    --dark-border-light: #2A3E49;

    /* Text hierarchy: primary > secondary > muted */
    --text-primary: #E8ECF0;
    --text-secondary: #9AACB8;
    --text-muted: #849BAA;
    --white: #FFFFFF;

    /* Shared border-radius scale */
    --radius-sm: 6px;
    --radius: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    /* Elevation shadows — increase intensity with size */
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.2);
    --shadow: 0 4px 20px rgba(0,0,0,0.3);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.4);

    /* Material Design-style easing for snappy but smooth transitions */
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    /* Font stacks */
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

html {
    scroll-behavior: smooth;
    /* Sub-pixel font rendering for crisper text on macOS / WebKit / Firefox */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--dark);
    overflow-x: hidden;             /* Prevent horizontal scroll from animated elements */
}

a {
    color: var(--blue);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--blue-light);
}

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

ul { list-style: none; }

/* --- Accessibility Utilities --- */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    z-index: 10000;
    padding: 12px 24px;
    background: var(--blue);
    color: var(--dark);
    font-weight: 700;
    border-radius: var(--radius);
    text-decoration: none;
    transition: top 0.2s;
}

.skip-link:focus {
    top: 16px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ==========================================================================
   2. TYPOGRAPHY
   Fluid type scale uses clamp() for responsive sizing without breakpoints.
   Format: clamp(min, preferred vw, max)
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-primary);
    font-weight: 700;
    line-height: 1.2;
}

h1 { font-size: clamp(2.5rem, 5.5vw, 4.2rem); letter-spacing: -0.03em; font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); letter-spacing: -0.02em; }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
h4 { font-size: 1.1rem; }

/* Gradient text effect: fills text with a blue-to-orange gradient.
   Uses background-clip:text to mask the gradient to the letter shapes,
   then makes the actual text fill transparent so the gradient shows through.
   -webkit- prefixes required for Safari / older Chrome. */
.text-gradient {
    background: linear-gradient(135deg, var(--blue), var(--orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Pill-shaped label that appears above section headings (e.g., "OUR SERVICES") */
.section-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--blue);
    background: var(--blue-glow);
    border: 1px solid rgba(93, 198, 238, 0.2);
    padding: 6px 16px;
    border-radius: 100px;          /* Large value forces a perfect pill shape */
    margin-bottom: 16px;
}

.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 64px;
}

.section-hint {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 12px;
    font-style: italic;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-top: 16px;
}

/* ==========================================================================
   3. BUTTONS
   Shared .btn base with modifier classes for variant styles and sizes.
   Hover states use translateY for a subtle "lift" effect paired with
   intensified box-shadows to reinforce depth.
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font);
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    white-space: nowrap;
}

.btn-sm { padding: 12px 20px; font-size: 0.9rem; }
.btn-lg { padding: 14px 32px; font-size: 1rem; }
.btn-full { width: 100%; justify-content: center; }

/* Dark text on blue gradient — high contrast for the main CTA */
.btn-primary {
    background: linear-gradient(135deg, var(--blue), var(--blue-dark));
    color: var(--dark);
    box-shadow: 0 4px 15px rgba(93, 198, 238, 0.3);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(93, 198, 238, 0.45);
    color: var(--dark);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1.5px solid var(--dark-border-light);
}
.btn-outline:hover {
    border-color: var(--blue);
    color: var(--blue);
    background: var(--blue-glow);
}

.btn-outline-light {
    background: transparent;
    color: var(--white);
    border: 1.5px solid rgba(255,255,255,0.3);
}
.btn-outline-light:hover {
    border-color: var(--white);
    background: rgba(255,255,255,0.1);
    color: var(--white);
}

/* Emergency buttons use orange to signal urgency — used for "IT down?" flows */
.btn-emergency {
    background: linear-gradient(135deg, var(--orange), var(--orange-dark));
    color: var(--white);
    box-shadow: 0 4px 15px rgba(230, 146, 77, 0.3);
    font-weight: 700;
}
.btn-emergency:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(230, 146, 77, 0.5);
    color: var(--white);
}

.btn-emergency-outline {
    background: transparent;
    color: var(--orange);
    border: 2px solid var(--orange);
    font-weight: 700;
}
.btn-emergency-outline:hover {
    background: var(--orange);
    color: var(--white);
}

/* ==========================================================================
   4. NAVBAR
   Starts transparent over the hero, then JS adds .scrolled class on scroll
   to trigger the glassmorphism backdrop-filter effect.
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
    background: transparent;
}

/* Glassmorphism: semi-transparent bg + blur creates frosted-glass effect.
   -webkit- prefix needed for Safari support. */
.navbar.scrolled {
    background: rgba(11, 18, 21, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--dark-border);
    padding: 10px 0;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.logo-img {
    height: 42px;
    width: auto;
    display: block;
}

.footer-logo-img {
    height: 52px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    position: relative;
    padding: 12px 0;
}

/* Animated underline: starts at width:0, expands to 100% on hover/active */
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--blue);
    transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-primary);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

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

/* Hamburger icon: three stacked spans. Hidden on desktop, shown at 768px. */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 12px;
    min-width: 48px;
    min-height: 48px;
    align-items: center;
    justify-content: center;
}
.mobile-toggle span {
    width: 26px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
}

/* ==========================================================================
   5. HERO
   Full-viewport landing section with layered radial gradients for subtle
   color washes and a CSS grid overlay for a "tech dashboard" aesthetic.
   ========================================================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 120px;
    overflow: hidden;
    /* Layered radial gradients: blue glow upper-center + orange glow lower-right,
       composited over the dark base to create a soft ambient light effect */
    background: radial-gradient(ellipse 80% 60% at 50% 40%, rgba(93, 198, 238, 0.08), transparent),
                radial-gradient(ellipse 60% 50% at 80% 60%, rgba(230, 146, 77, 0.05), transparent),
                var(--dark);
}

/* Faint grid pattern overlaid on the hero background.
   Two perpendicular linear-gradients create the horizontal + vertical lines.
   mask-image fades the grid out toward the edges so it doesn't abruptly end. */
.hero-bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(93, 198, 238, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(93, 198, 238, 0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 20%, transparent 70%);
}

.hero-container {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

/* Pulsing red "PROTECTION ENABLED" button — links to threat dashboard */
.protection-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: fit-content;
    margin: 0 auto 16px;
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    color: #ff4444;
    background: rgba(255, 0, 64, 0.08);
    border: 1px solid rgba(255, 0, 64, 0.4);
    padding: 10px 24px;
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.3s ease;
    animation: protection-glow 2s ease-in-out infinite;
}

.protection-btn:hover {
    background: rgba(255, 0, 64, 0.15);
    border-color: rgba(255, 0, 64, 0.7);
    box-shadow: 0 0 30px rgba(255, 0, 64, 0.3);
    color: #ff6666;
}

.protection-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ff0040;
    box-shadow: 0 0 8px #ff0040;
    animation: dot-pulse 1.5s ease-in-out infinite;
}

@keyframes protection-glow {
    0%, 100% { box-shadow: 0 0 10px rgba(255, 0, 64, 0.1); }
    50% { box-shadow: 0 0 20px rgba(255, 0, 64, 0.25); }
}

@keyframes dot-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.8); }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--blue);
    background: var(--blue-glow);
    border: 1px solid rgba(93, 198, 238, 0.2);
    padding: 8px 20px;
    border-radius: 100px;
    margin-bottom: 32px;
}

.hero-content h1 {
    margin-bottom: 24px;
}

.hero-sub {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 620px;
    line-height: 1.7;
    margin: 0 auto 40px;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 64px;
}

/* Hero Partner Badges — color-coded dots indicate each vendor/partner brand */
.hero-partners {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 48px;
    padding: 20px 24px;
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-lg);
}

.hero-partners-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    font-weight: 600;
}

.partner-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    padding: 10px 16px;
    background: var(--dark-surface);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-sm);
    white-space: nowrap;
}

.partner-badge .badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.partner-badge .badge-dot.microsoft { background: var(--blue); }
.partner-badge .badge-dot.azure { background: #0078D4; }
.partner-badge .badge-dot.dropsuite { background: #22C55E; }
.partner-badge .badge-dot.valimail { background: #A855F7; }
.partner-badge .badge-dot.checkpoint { background: var(--orange); }

/* Hero Stats */
.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-primary);
    font-family: var(--font-mono);
}

.stat-plus {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--blue);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--dark-border-light);
}

/* Hero Scroll Indicator — pinned to bottom center with a delayed fade-in
   so it appears after the hero content has settled. Hidden on mobile (768px). */
.hero-scroll-indicator {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--orange);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    animation: fadeInUp 1s ease 1s both;   /* 1s delay via animation-delay */
}

/* Downward chevron constructed from two borders rotated 45deg */
.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid var(--orange);
    border-bottom: 2px solid var(--orange);
    transform: rotate(45deg);
    animation: scrollBounce 2s ease infinite;
}

/* Gentle bounce loop for the scroll arrow */
@keyframes scrollBounce {
    0%, 100% { transform: rotate(45deg) translateY(0); }
    50% { transform: rotate(45deg) translateY(6px); }
}

/* Fade-in + slide-up for the scroll indicator; keeps translateX(-50%) to
   maintain horizontal centering throughout the animation */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateX(-50%) translateY(20px); }
    to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* ==========================================================================
   6. TRUST BAR
   Horizontal strip of certification/partnership badges for social proof.
   ========================================================================== */
.trust-bar {
    padding: 32px 0;
    border-bottom: 1px solid var(--dark-border);
    background: var(--dark-card);
}

.trust-label {
    text-align: center;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-muted);
    margin-bottom: 20px;
    font-weight: 600;
}

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

.trust-item {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-secondary);
    letter-spacing: 0.05em;
    padding: 12px 22px;
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-sm);
    background: var(--dark-surface);
}

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

.trust-logo {
    height: 40px;
    width: auto;
    object-fit: contain;
    filter: grayscale(1) brightness(1.8);
    opacity: 0.6;
    transition: all 0.4s ease;
}

.trust-logo:hover {
    filter: grayscale(0) brightness(1);
    opacity: 1;
}

/* ---------- Technology Partners Section ---------- */

.partners-section {
    padding: 80px 0;
    background: var(--dark-bg);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    margin-top: 48px;
}

.partner-logo-card {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-sm);
    transition: all 0.4s ease;
}

.partner-logo-card:hover {
    border-color: var(--accent-blue);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(93, 198, 238, 0.15);
}

.partner-logo-card img {
    max-height: 72px;
    max-width: 100%;
    width: auto;
    object-fit: contain;
    filter: grayscale(1) brightness(1.8);
    opacity: 0.5;
    transition: all 0.4s ease;
}

.partner-logo-card:hover img {
    filter: grayscale(0);
    opacity: 1;
}

/* White-on-transparent logos (designed for dark backgrounds) — skip brightness boost */
.partner-logo-card img.logo-light {
    filter: grayscale(1);
    opacity: 0.7;
}
.partner-logo-card:hover img.logo-light {
    filter: grayscale(0);
    opacity: 1;
}
.trust-logo.logo-light {
    filter: grayscale(1);
    opacity: 0.7;
}
.trust-logo.logo-light:hover {
    filter: grayscale(0);
    opacity: 1;
}

.partners-compliance {
    margin-top: 48px;
    text-align: center;
}

.partners-compliance-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #888;
    margin-bottom: 24px;
    font-weight: 600;
}

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

.compliance-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: var(--radius-sm);
    transition: all 0.4s ease;
}

.compliance-badge:hover {
    border-color: var(--accent-blue);
}

.compliance-badge img {
    max-height: 56px;
    max-width: 140px;
    width: auto;
    object-fit: contain;
    filter: grayscale(1);
    opacity: 0.6;
    transition: all 0.4s ease;
}

.compliance-badge:hover img {
    filter: grayscale(0);
    opacity: 1;
}

/* ==========================================================================
   7. SERVICES
   Two layout systems:
   - .services-grid: 3-column card grid (drops to 2-col at 1024, 1-col at 768)
   - .service-pillar: accordion-style grouped cards with a header + auto-fill grid
   ========================================================================== */

/* ---------- Threat Deterrence Section ----------
   Homepage section between partners and services. Displays 4 stat cards
   (3 red "danger" + 1 green "protected") with a multi-layered defense
   description and a link to the threat dashboard demo page.
   Red (#ff4444) = threats/risks, Green (#00ff88) = VS protection.
   Grid drops: 4-col → 2-col at 1024px → 1-col at 480px. */

.threat-section {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--dark-bg) 0%, rgba(15, 5, 5, 0.4) 50%, var(--dark-bg) 100%);
}

.threat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 60px;
}

.threat-card {
    text-align: center;
    padding: 32px 20px;
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.threat-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 68, 68, 0.4);
    box-shadow: 0 8px 32px rgba(255, 0, 64, 0.1);
}

.threat-card-green:hover {
    border-color: rgba(0, 255, 136, 0.4);
    box-shadow: 0 8px 32px rgba(0, 255, 136, 0.1);
}

.threat-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    margin-bottom: 16px;
}

.threat-icon-red {
    background: rgba(255, 0, 64, 0.1);
    color: #ff4444;
}

.threat-icon-green {
    background: rgba(0, 255, 136, 0.1);
    color: #00ff88;
}

.threat-card h3 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.threat-card:not(.threat-card-green) h3 {
    color: #ff4444;
}

.threat-card-green h3 {
    color: #00ff88;
}

.threat-card p {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.5;
}

.threat-summary {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 48px;
    align-items: start;
    padding: 48px;
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-lg);
}

.threat-summary h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.threat-summary > .threat-summary-text > p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 24px;
}

.threat-features {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.threat-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.threat-check {
    color: #00ff88;
    font-weight: 700;
    font-size: 1rem;
}

.threat-summary-cta {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 280px;
}

.btn-threat-demo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    color: #ff4444;
    background: rgba(255, 0, 64, 0.08);
    border: 1px solid rgba(255, 0, 64, 0.4);
    border-radius: var(--radius-sm);
    transition: var(--transition);
    animation: threat-btn-pulse 2s ease-in-out infinite;
}

.btn-threat-demo:hover {
    background: rgba(255, 0, 64, 0.15);
    border-color: rgba(255, 0, 64, 0.7);
    box-shadow: 0 0 30px rgba(255, 0, 64, 0.2);
    color: #ff6666;
}

@keyframes threat-btn-pulse {
    0%, 100% { box-shadow: 0 0 10px rgba(255, 0, 64, 0.1); }
    50% { box-shadow: 0 0 20px rgba(255, 0, 64, 0.2); }
}

@media (max-width: 1024px) {
    .threat-grid { grid-template-columns: repeat(2, 1fr); }
    .threat-summary { grid-template-columns: 1fr; }
    .threat-summary-cta { min-width: unset; }
    .threat-features { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .threat-section { padding: 60px 0; }
    .threat-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .threat-card { padding: 20px 16px; }
    .threat-card h3 { font-size: 1.5rem; }
    .threat-summary { padding: 24px; gap: 24px; }
}

@media (max-width: 480px) {
    .threat-grid { grid-template-columns: 1fr; }
}

/* ========================================================================== */

.services {
    padding: 100px 0;
}

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

.service-card {
    position: relative;
    padding: 36px 32px;
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

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

/* Featured card gets a blue-tinted top-to-bottom gradient to stand out */
.service-card.featured {
    border-color: rgba(93, 198, 238, 0.3);
    background: linear-gradient(180deg, rgba(93, 198, 238, 0.05), var(--dark-card));
}

/* Floating pill badge ("Most Popular", etc.) — negative top pulls it above the card edge */
.service-badge {
    position: absolute;
    top: -10px;
    right: 24px;
    background: linear-gradient(135deg, var(--blue), var(--blue-dark));
    color: var(--dark);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 5px 14px;
    border-radius: 100px;
}

.service-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: var(--blue-glow);
    border: 1px solid rgba(93, 198, 238, 0.15);
    border-radius: var(--radius);
    color: var(--blue);
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 12px;
}

.service-card > p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    margin-bottom: 20px;
}

.service-features {
    margin-bottom: 20px;
}

.service-features li {
    position: relative;
    padding-left: 20px;
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 8px;
}

/* Custom bullet: small blue circle replaces default list-style */
.service-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--blue);
}

.service-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--blue);
}
.service-link:hover { gap: 4px; }

/* --- Service Pillars ---
   Grouped service listings. Each pillar has a header bar and an auto-fill
   grid of linked cards. Uses [data-accent="orange"] attribute for orange
   variants (e.g., security services) to swap blue accent colors to orange. */
.service-pillar {
    margin-bottom: 48px;
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.pillar-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 28px 32px;
    background: var(--dark-surface);
    border-bottom: 1px solid var(--dark-border);
    position: relative;
}

.pillar-count {
    position: absolute;
    right: 32px;
    top: 50%;
    transform: translateY(-50%);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-muted);
    background: rgba(93, 198, 238, 0.08);
    border: 1px solid rgba(93, 198, 238, 0.12);
    padding: 4px 12px;
    border-radius: 20px;
}

.service-pillar[data-accent="orange"] .pillar-count {
    background: rgba(230, 146, 77, 0.08);
    border-color: rgba(230, 146, 77, 0.12);
}

.pillar-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    background: var(--blue-glow);
    border: 1px solid rgba(93, 198, 238, 0.15);
    border-radius: var(--radius);
    color: var(--blue);
    flex-shrink: 0;
}

.pillar-icon-orange {
    background: rgba(230, 146, 77, 0.1);
    border-color: rgba(230, 146, 77, 0.15);
    color: var(--orange);
}

.pillar-header h3 {
    margin-bottom: 2px;
}

.pillar-header p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* auto-fill + minmax creates a responsive grid that wraps without media queries.
   1px gap + dark-border background simulates thin divider lines between cards. */
.pillar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1px;
    background: var(--dark-border);
}

.pillar-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 24px;
    background: var(--dark-card);
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

/* Left-edge accent bar: invisible by default, fades in on hover to provide
   a visual "active" indicator without shifting the layout */
.pillar-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 100%;
    background: var(--blue);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-pillar[data-accent="orange"] .pillar-card::before {
    background: var(--orange);
}

.pillar-card:hover {
    background: rgba(93, 198, 238, 0.04);
}

.service-pillar[data-accent="orange"] .pillar-card:hover {
    background: rgba(230, 146, 77, 0.04);
}

.pillar-card:hover::before {
    opacity: 1;
}

.pillar-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(93, 198, 238, 0.08);
    border: 1px solid rgba(93, 198, 238, 0.12);
    border-radius: 10px;
    color: var(--blue);
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.pillar-card-icon-orange {
    background: rgba(230, 146, 77, 0.08);
    border-color: rgba(230, 146, 77, 0.12);
    color: var(--orange);
}

.pillar-card:hover .pillar-card-icon {
    background: rgba(93, 198, 238, 0.15);
    border-color: rgba(93, 198, 238, 0.25);
    transform: scale(1.05);
}

.service-pillar[data-accent="orange"] .pillar-card:hover .pillar-card-icon {
    background: rgba(230, 146, 77, 0.15);
    border-color: rgba(230, 146, 77, 0.25);
}

.pillar-card-text {
    flex: 1;
    min-width: 0;
}

.pillar-card-text h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0;
    color: var(--text-primary);
    transition: color 0.3s ease;
}

.pillar-card:hover .pillar-card-text h4 {
    color: var(--blue);
}

.service-pillar[data-accent="orange"] .pillar-card:hover .pillar-card-text h4 {
    color: var(--orange);
}

.pillar-card-text p {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.4;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    margin: 0;
    transition: max-height 0.4s ease, opacity 0.3s ease, margin 0.3s ease;
}

.pillar-card:hover .pillar-card-text p {
    max-height: 60px;
    opacity: 1;
    margin-top: 4px;
}

/* Arrow slides in from the left and fades in on card hover */
.pillar-card-arrow {
    color: var(--text-muted);
    font-size: 1.1rem;
    opacity: 0;
    transform: translateX(-8px);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.pillar-card:hover .pillar-card-arrow {
    opacity: 1;
    transform: translateX(0);
    color: var(--blue);
}

.service-pillar[data-accent="orange"] .pillar-card:hover .pillar-card-arrow {
    color: var(--orange);
}

/* ==========================================================================
   8. ECOSYSTEM DIAGRAM
   Radial layout with a center hub (VS logo) surrounded by service nodes
   positioned via absolute + percentage coordinates. SVG lines connect
   nodes to the hub. Animated rings pulse outward for a "radar" feel.
   ========================================================================== */
.ecosystem {
    padding: 100px 0;
    background: var(--dark-card);
    border-top: 1px solid var(--dark-border);
    border-bottom: 1px solid var(--dark-border);
    overflow: hidden;
}

/* Hint text prompting users to click the service icons */
.section-header .eco-hint {
    color: var(--orange);
    font-size: 1rem;
    font-weight: 600;
    margin-top: 12px;
    letter-spacing: 0.02em;
}
.eco-hint-arrow {
    display: inline-block;
    font-size: 1.2rem;
    animation: eco-hint-bounce 1.5s ease-in-out infinite;
    margin-left: 4px;
}
@keyframes eco-hint-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(6px); }
}

/* Square aspect-ratio container keeps the diagram proportional at all sizes */
.ecosystem-wrapper {
    position: relative;
    width: 100%;
    max-width: 750px;
    margin: 0 auto;
    aspect-ratio: 1 / 1;
}

.eco-grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(93, 198, 238, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(93, 198, 238, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridPulse 4s ease-in-out infinite;
}

@keyframes gridPulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* Concentric dashed rings: staggered animation-delay creates a
   cascading pulse effect radiating outward from the center hub */
.eco-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 1px dashed rgba(93, 198, 238, 0.15);
    animation: ecoRingPulse 3s ease-in-out infinite;
    pointer-events: none;
}

.eco-ring-1 { width: 40%; height: 40%; animation-delay: 0s; }
.eco-ring-2 { width: 60%; height: 60%; animation-delay: 0.5s; }
.eco-ring-3 { width: 80%; height: 80%; animation-delay: 1s; }

@keyframes ecoRingPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

.eco-svg {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
}

.eco-strand {
    stroke: rgba(93, 198, 238, 0.1);
    stroke-width: 1;
    fill: none;
}

.eco-line {
    stroke: url(#ecoLineGrad);
    stroke-width: 2;
    fill: none;
    opacity: 0.6;
}

.eco-line-glow {
    stroke: var(--blue);
    stroke-width: 4;
    fill: none;
    opacity: 0.15;
}

.eco-particle {
    fill: var(--blue);
    filter: drop-shadow(0 0 6px var(--blue));
}

/* Center Hub — houses the VS logo at the diagram center.
   Multi-layered box-shadow creates a glowing halo effect:
   outer blue glow, medium blue glow, faint orange tint, inset inner glow */
.eco-hub {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 140px;
    z-index: 10;
    border-radius: 20px;
    background: linear-gradient(145deg, var(--dark-surface), var(--dark));
    border: 1px solid rgba(93, 198, 238, 0.25);
    box-shadow:
        0 0 30px rgba(93, 198, 238, 0.15),
        0 0 60px rgba(93, 198, 238, 0.08),
        0 0 100px rgba(230, 146, 77, 0.05),
        inset 0 0 20px rgba(93, 198, 238, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.eco-hub-outer {
    display: none;
}

.eco-hub-middle {
    display: none;
}

.eco-hub-inner {
    z-index: 11;
}

.eco-logo {
    width: 130px;
    height: auto;
    filter: drop-shadow(0 0 20px rgba(93, 198, 238, 0.3));
}

/* Service Nodes — positioned by inline top/left percentages in HTML.
   translate(-50%, -50%) centers each node on its coordinate point. */
.eco-node {
    position: absolute;
    transform: translate(-50%, -50%);
    z-index: 5;
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.eco-node:hover {
    transform: translate(-50%, -50%) scale(1.15);
}

.eco-node:hover .eco-node-ring {
    box-shadow:
        0 0 30px rgba(93, 198, 238, 0.5),
        0 0 60px rgba(93, 198, 238, 0.2),
        inset 0 0 20px rgba(93, 198, 238, 0.15);
    border-color: var(--blue);
}

.eco-node-ring {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(145deg, var(--dark-surface), var(--dark));
    border: 2px solid rgba(93, 198, 238, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 0 20px rgba(93, 198, 238, 0.15),
        inset 0 0 15px rgba(93, 198, 238, 0.05);
    transition: all 0.3s ease;
    margin: 0 auto;
}

.eco-node-label {
    position: absolute;
    width: 110px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-secondary);
    line-height: 1.3;
}

/* 768px: Shrink ecosystem diagram elements proportionally for mobile */
@media (max-width: 768px) {
    .ecosystem-wrapper {
        max-width: 100%;
    }

    .eco-hub { width: 100px; height: 72px; border-radius: 12px; }
    .eco-logo { width: 60px; }
    .eco-node-ring { width: 52px; height: 52px; }
    .eco-node-ring svg { width: 22px; height: 22px; }
    .eco-node-label { font-size: 0.7rem; width: 80px; }
}

/* --- Ecosystem Service Drawer ---
   Slide-out panel from the right edge, triggered by clicking a service node.
   Overlay dims the background. Panel contains icon, title, description,
   capabilities list, and a CTA button. Full-width on mobile. */
.eco-drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
    backdrop-filter: blur(4px);
}
.eco-drawer-overlay.open {
    opacity: 1;
    visibility: visible;
}

.eco-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 420px;
    height: 100vh;
    background: linear-gradient(180deg, var(--dark-surface), var(--dark));
    border-left: 1px solid rgba(93, 198, 238, 0.15);
    z-index: 9999;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    overflow-y: auto;
    padding: 48px 36px 36px;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.4);
}
.eco-drawer.open {
    transform: translateX(0);
}

.eco-drawer-close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    padding: 4px 8px;
    border-radius: var(--radius);
    transition: color 0.2s, background 0.2s;
}
.eco-drawer-close:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.eco-drawer-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(145deg, var(--dark-card), var(--dark));
    border: 2px solid rgba(93, 198, 238, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    box-shadow:
        0 0 25px rgba(93, 198, 238, 0.2),
        inset 0 0 15px rgba(93, 198, 238, 0.05);
}
.eco-drawer-icon svg {
    width: 32px;
    height: 32px;
}

.eco-drawer-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    background: linear-gradient(135deg, var(--blue), var(--orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.eco-drawer-desc {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 24px;
}

.eco-drawer-list {
    list-style: none;
    padding: 0;
    margin-bottom: 32px;
}
.eco-drawer-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
    padding: 10px 0;
    border-bottom: 1px solid var(--dark-border);
}
.eco-drawer-list li::before {
    content: '';
    flex-shrink: 0;
    width: 8px;
    height: 8px;
    margin-top: 6px;
    border-radius: 50%;
    background: var(--blue);
    box-shadow: 0 0 8px rgba(93, 198, 238, 0.4);
}
.eco-drawer-list li:last-child {
    border-bottom: none;
}

.eco-drawer-cta {
    display: inline-block;
    margin-top: 8px;
}

@media (max-width: 768px) {
    .eco-drawer {
        width: 100%;
        padding: 40px 24px 24px;
    }
}

/* ==========================================================================
   9. INDUSTRIES
   5-column icon grid. Drops to 3-col at 1024, 2-col at 768/480.
   ========================================================================== */
.industries {
    padding: 100px 0;
    background: var(--dark-card);
    border-top: 1px solid var(--dark-border);
    border-bottom: 1px solid var(--dark-border);
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.industry-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 28px 16px;
    background: var(--dark-surface);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-lg);
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
}

.industry-card:hover {
    border-color: var(--blue);
    color: var(--blue);
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(93, 198, 238, 0.1);
}

.industry-card svg {
    color: var(--blue);
}

/* 1024px tablet: industries to 3-col */
@media (max-width: 1024px) {
    .industries-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* 768px mobile: industries to 2-col, pillar grid to single-column,
   pillar card arrow stays visible (always-on) for touch discoverability */
@media (max-width: 768px) {
    .industries-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pillar-grid {
        grid-template-columns: 1fr;
    }

    .pillar-header {
        padding: 20px 20px;
    }

    .pillar-count {
        display: none;
    }

    .pillar-card {
        padding: 16px 20px;
        gap: 12px;
    }

    .pillar-card-icon {
        width: 38px;
        height: 38px;
    }

    /* Keep arrow visible on mobile since there's no hover state on touch */
    .pillar-card-arrow {
        opacity: 0.4;
        transform: translateX(0);
    }
}

/* 480px small mobile: maintain 2-col for industries */
@media (max-width: 480px) {
    .industries-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ==========================================================================
   10. WHY US
   Two-column layout: scrollable features on the left, sticky metric cards
   on the right that follow the viewport as the user scrolls.
   ========================================================================== */
.why-us {
    padding: 100px 0;
    background: var(--dark-card);
    border-top: 1px solid var(--dark-border);
    border-bottom: 1px solid var(--dark-border);
}

/* Fixed right column width (380px) gives metrics consistent proportions */
.why-us-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 64px;
    align-items: start;
}

.why-us-content > p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-top: 20px;
    margin-bottom: 40px;
    line-height: 1.7;
}

.why-features {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.why-feature {
    display: flex;
    gap: 16px;
}

.why-feature-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--blue-glow);
    border-radius: var(--radius-sm);
    color: var(--blue);
}

.why-feature h4 {
    margin-bottom: 4px;
}

.why-feature p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Sticky sidebar: metric cards stay visible while the user scrolls through
   the feature list. top:120px accounts for fixed navbar height + spacing.
   Falls back to static layout at 1024px when grid collapses. */
.why-us-visual {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: sticky;
    top: 120px;
}

.visual-card {
    padding: 32px;
    background: var(--dark-surface);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.visual-card:hover {
    border-color: var(--blue);
    box-shadow: 0 0 30px var(--blue-glow);
}

.metric-value {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--blue);
    font-family: var(--font-mono);
    margin-bottom: 8px;
}

.metric-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ==========================================================================
   11. PROCESS
   Horizontal stepped flow with connector lines between steps. Wraps to
   2-per-row at 1024px and single-column at 768px (connectors hidden).
   ========================================================================== */
.process {
    padding: 100px 0;
}

.process-steps {
    display: flex;
    align-items: flex-start;
    gap: 0;
}

.process-step {
    flex: 1;
    padding: 32px 24px;
    text-align: center;
}

.step-number {
    font-family: var(--font-mono);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark-border-light);
    margin-bottom: 16px;
    line-height: 1;
}

.process-step h3 {
    margin-bottom: 12px;
}

.process-step p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.process-step-link {
    text-decoration: none;
    display: block;
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-lg);
    transition: var(--transition);
    cursor: pointer;
}

.process-step-link:hover {
    border-color: var(--orange);
    background: rgba(255, 152, 0, 0.06);
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(255, 152, 0, 0.2);
}

.process-step-link h3,
.process-step-link p {
    color: inherit;
}

.process-step-link:hover .step-number {
    color: var(--orange);
}

/* CTA text visible but subtle; brightens on card hover */
.step-cta {
    display: block;
    margin-top: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--orange);
    opacity: 0.5;
    transition: var(--transition);
}

.process-step-link:hover .step-cta {
    opacity: 1;
}

.process-connector {
    width: 60px;
    height: 2px;
    background: var(--dark-border-light);
    margin-top: 56px;
    flex-shrink: 0;
}

/* ==========================================================================
   12. PROCESS DETAIL PAGES
   Sub-pages for each process step. Includes detail grids, highlight cards,
   vertical timelines, and a "next step" CTA block.
   ========================================================================== */
.process-detail {
    padding: 64px 0 100px;
}

.detail-block {
    margin-bottom: 64px;
}

.detail-block-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--dark-border);
}

.detail-number {
    font-family: var(--font-mono);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--blue);
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--blue-glow);
    border: 1px solid rgba(93, 198, 238, 0.2);
    border-radius: var(--radius);
}

.detail-block-content > p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 16px;
    max-width: 800px;
}

.detail-block-content > p a {
    color: var(--blue);
    text-decoration: underline;
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 28px;
}

.detail-card {
    padding: 28px 24px;
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.detail-card:hover {
    border-color: var(--dark-border-light);
}

.detail-card h4 {
    margin-bottom: 8px;
    font-size: 1rem;
}

.detail-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Detail Highlights */
.detail-highlights {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 28px;
}

.highlight-item {
    display: flex;
    gap: 16px;
    padding: 24px;
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-lg);
}

.highlight-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--blue-glow);
    border-radius: var(--radius);
    color: var(--blue);
}

.highlight-item h4 {
    margin-bottom: 6px;
}

.highlight-item p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.6;
}

/* Detail Timeline — vertical line connecting step markers.
   ::before pseudo-element draws the connecting line; .timeline-marker
   circles are positioned over it with a higher z-index. */
.detail-timeline {
    position: relative;
    padding-left: 40px;
    margin-top: 28px;
}

.detail-timeline::before {
    content: '';
    position: absolute;
    left: 11px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: var(--dark-border-light);
}

.timeline-item {
    position: relative;
    padding-bottom: 32px;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: -40px;
    top: 4px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--dark-surface);
    border: 3px solid var(--blue);
    z-index: 1;
}

.timeline-content h4 {
    margin-bottom: 6px;
    font-size: 1.05rem;
}

.timeline-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Detail List */
.detail-list {
    list-style: none;
    margin-top: 20px;
}

.detail-list li {
    position: relative;
    padding: 16px 20px 16px 28px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    border-bottom: 1px solid var(--dark-border);
}

.detail-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 24px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--blue);
}

.detail-list li strong {
    color: var(--text-primary);
}

/* Detail Next CTA */
.detail-next {
    margin-top: 80px;
    padding: 64px 48px;
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-xl);
    text-align: center;
}

.detail-next h2 {
    margin-bottom: 12px;
}

.detail-next p {
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto 32px;
    font-size: 1.05rem;
}

.detail-next-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* 1024px: detail grid to 2-col */
@media (max-width: 1024px) {
    .detail-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 768px: single-col detail grids, stacked highlight items, full-width buttons */
@media (max-width: 768px) {
    .detail-grid {
        grid-template-columns: 1fr;
    }

    .detail-block-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .highlight-item {
        flex-direction: column;
    }

    .detail-next {
        padding: 40px 24px;
    }

    .detail-next-actions {
        flex-direction: column;
    }

    .detail-next-actions .btn {
        width: 100%;
        justify-content: center;
    }
}

/* ==========================================================================
   13. TESTIMONIALS
   3-column card grid. Each card has star rating, quote, and author avatar.
   Avatar uses a gradient background with initials (no image required).
   ========================================================================== */
.testimonials {
    padding: 100px 0;
    background: var(--dark-card);
    border-top: 1px solid var(--dark-border);
}

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

.testimonial-card {
    padding: 32px;
    background: var(--dark-surface);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.testimonial-card:hover {
    border-color: var(--dark-border-light);
    transform: translateY(-2px);
}

.testimonial-stars {
    color: var(--orange);
    font-size: 1.1rem;
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.testimonial-card > p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue), var(--blue-dark));
    color: var(--dark);
    font-weight: 700;
    font-size: 0.85rem;
}

.testimonial-author strong {
    display: block;
    font-size: 0.9rem;
}

.testimonial-author span {
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* ==========================================================================
   14. CTA (CALL TO ACTION)
   Centered section with a radial blue glow behind the text to draw focus.
   ========================================================================== */
.cta {
    padding: 100px 0;
    /* Centered radial gradient creates a spotlight effect behind the CTA text */
    background: radial-gradient(ellipse 70% 80% at 50% 50%, rgba(93, 198, 238, 0.1), transparent),
                var(--dark);
}

.cta-content {
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}

.cta-content h2 {
    margin-bottom: 16px;
}

.cta-content p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 32px;
}

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

/* ==========================================================================
   15. PAGE HERO (Interior Pages: FAQ, Contact, Case Studies, etc.)
   Shorter hero banner with radial glow. Extra top padding clears the
   fixed navbar.
   ========================================================================== */
.page-hero {
    position: relative;
    padding: 160px 0 80px;
    background: radial-gradient(ellipse 70% 70% at 50% 30%, rgba(93, 198, 238, 0.08), transparent),
                var(--dark);
    overflow: hidden;
}

.page-hero-content {
    max-width: 640px;
}

.page-hero-content h1 {
    margin-bottom: 16px;
}

.page-hero-content p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.7;
}

/* ==========================================================================
   16. FAQ
   Filterable accordion. Filter buttons toggle category visibility via JS.
   Expand/collapse uses max-height transition on .faq-answer — a CSS-only
   technique that avoids JS height calculation (max-height:800px is an
   upper bound; actual content determines the visible height).
   ========================================================================== */
.faq-section {
    padding: 64px 0 100px;
}

.faq-filter {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 48px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--dark-border);
}

.faq-filter-btn {
    padding: 12px 22px;
    font-family: var(--font);
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-muted);
    background: transparent;
    border: 1px solid var(--dark-border);
    border-radius: 100px;
    cursor: pointer;
    transition: var(--transition);
}

.faq-filter-btn:hover {
    color: var(--text-primary);
    border-color: var(--dark-border-light);
}

.faq-filter-btn.active {
    color: var(--dark);
    background: var(--blue);
    border-color: var(--blue);
}

.faq-category {
    margin-bottom: 48px;
}

.faq-category-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.3rem;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--dark-border);
}

.faq-category-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--blue-glow);
    border-radius: var(--radius-sm);
    color: var(--blue);
}

.faq-item {
    border: 1px solid var(--dark-border);
    border-radius: var(--radius);
    margin-bottom: 8px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--dark-border-light);
}

.faq-item.active {
    border-color: rgba(93, 198, 238, 0.3);
    background: rgba(93, 198, 238, 0.03);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    background: none;
    border: none;
    font-family: var(--font);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    text-align: left;
    cursor: pointer;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--blue);
}

.faq-chevron {
    flex-shrink: 0;
    color: var(--text-muted);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-chevron {
    transform: rotate(180deg);
    color: var(--blue);
}

/* Accordion expand/collapse: animates max-height from 0 to a generous
   upper bound. The 800px ceiling must exceed the tallest answer's height. */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 800px;
    padding: 0 24px 24px;
}

.faq-answer p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 12px;
}

.faq-answer ul,
.faq-answer ol {
    margin: 12px 0;
    padding-left: 20px;
}

.faq-answer ul { list-style: disc; }
.faq-answer ol { list-style: decimal; }

.faq-answer li {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: 8px;
}

.faq-answer li strong {
    color: var(--text-primary);
}

.faq-answer a {
    color: var(--blue);
    text-decoration: underline;
}

/* FAQ CTA */
.faq-cta {
    text-align: center;
    padding: 64px 48px;
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-xl);
    margin-top: 48px;
}

.faq-cta h2 { margin-bottom: 12px; }

.faq-cta p {
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto 32px;
}

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

/* ---------- Legal Pages (Privacy Policy, Terms of Service) ---------- */

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 0 60px;
}

.legal-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-top: 48px;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--dark-border);
}

.legal-content h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-top: 24px;
    margin-bottom: 12px;
}

.legal-content p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
}

.legal-content ul {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
    padding-left: 24px;
}

.legal-content ul li {
    margin-bottom: 8px;
}

.legal-content a {
    color: var(--accent-blue);
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.legal-content a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

/* ==========================================================================
   17. EMERGENCY BANNER
   Orange-accented urgency strip with a pulsing ring animation around the
   alert icon to draw immediate attention.
   ========================================================================== */
.emergency-banner {
    padding: 48px 0;
    background: linear-gradient(135deg, rgba(230, 146, 77, 0.1), rgba(230, 146, 77, 0.03));
    border-top: 2px solid var(--orange);
    border-bottom: 1px solid var(--dark-border);
}

.emergency-content {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.emergency-icon-wrapper {
    position: relative;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: var(--orange-glow);
    border-radius: 50%;
    color: var(--orange);
}

/* Expanding ring animation: scales up while fading out, creating a
   "sonar ping" effect that loops every 2s */
.emergency-pulse {
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid var(--orange);
    animation: pulse 2s ease infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.3); opacity: 0; }
}

.emergency-text {
    flex: 1;
    min-width: 200px;
}

.emergency-text h2 {
    font-size: 1.5rem;
    margin-bottom: 4px;
}

.emergency-text p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.emergency-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.emergency-divider {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ==========================================================================
   18. CONTACT SECTION
   Two-column layout: left side has contact info + trust badges,
   right side has the contact form and emergency form.
   Collapses to single-column at 768px.
   ========================================================================== */
.contact-section {
    padding: 80px 0 100px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
}

.contact-info h2 {
    margin-bottom: 12px;
}

.contact-info > p {
    color: var(--text-secondary);
    margin-bottom: 36px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 40px;
}

.contact-method {
    display: flex;
    gap: 16px;
}

.contact-method-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--blue-glow);
    border: 1px solid rgba(93, 198, 238, 0.15);
    border-radius: var(--radius);
    color: var(--blue);
}

.contact-method h4 {
    margin-bottom: 2px;
}

.contact-value {
    font-size: 1rem;
    font-weight: 600;
    color: var(--blue);
}

.contact-method p {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 2px;
}

.contact-trust {
    padding: 24px;
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-lg);
}

.contact-trust h4 {
    margin-bottom: 16px;
}

.contact-trust li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.contact-trust li svg {
    color: var(--blue);
    flex-shrink: 0;
}

/* --- Contact Form ---
   Shared styles for both the standard contact form and the emergency form.
   Emergency form uses orange border + gradient background to differentiate. */
.contact-form-wrapper {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.contact-form,
.emergency-form {
    padding: 36px;
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-lg);
}

.contact-form h3,
.emergency-form h3 {
    margin-bottom: 8px;
}

.contact-form > p,
.emergency-form > p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 28px;
}

.emergency-form {
    border-color: rgba(230, 146, 77, 0.3);
    background: linear-gradient(180deg, rgba(230, 146, 77, 0.05), var(--dark-card));
}

.emergency-form-header {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--orange);
    margin-bottom: 8px;
}

.emergency-form-header h3 {
    color: var(--orange);
}

.emergency-note {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 12px;
}

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

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

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.required { color: var(--orange); }

/* Honeypot field — visually hidden but accessible to bots */
.hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Turnstile widget spacing */
.cf-turnstile {
    margin-bottom: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    font-family: var(--font);
    font-size: 0.95rem;
    color: var(--text-primary);
    background: var(--dark-surface);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius);
    transition: var(--transition);
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

/* Focus ring: blue border + 3px spread glow for accessibility and visual feedback */
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px var(--blue-glow);
}

/* Custom select dropdown arrow: appearance:none removes the native arrow,
   then an inline SVG data-URI chevron is placed as a background image */
.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236B8090' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 40px;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.form-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    flex-shrink: 0;
    accent-color: var(--blue);
}

.form-checkbox label {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Form Success State — hidden by default; JS adds .show class after submit */
.form-success {
    display: none;
    text-align: center;
    padding: 48px 24px;
}

.form-success.show {
    display: block;
}

.form-success svg {
    color: var(--blue);
    margin-bottom: 16px;
}

.form-success h3 {
    margin-bottom: 8px;
}

.form-success p {
    color: var(--text-secondary);
}

/* ==========================================================================
   19. FOOTER
   4-column grid: brand info (1.5fr), two link columns (1fr each),
   contact + emergency info (1.2fr). Weighted fr units give the brand
   and contact columns more space.
   ========================================================================== */
.footer {
    padding: 64px 0 32px;
    background: var(--dark-card);
    border-top: 1px solid var(--dark-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 16px;
    margin-bottom: 20px;
    line-height: 1.6;
}

.footer-certifications {
    display: flex;
    gap: 8px;
}

.footer-certifications span {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    padding: 4px 12px;
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-sm);
}

.footer-links h4,
.footer-contact h4 {
    margin-bottom: 20px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
}

.footer-links li { margin-bottom: 4px; }

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.9rem;
    display: inline-block;
    padding: 6px 0;
}
.footer-links a:hover { color: var(--blue); }

.footer-contact ul { margin-bottom: 20px; }

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-contact li svg {
    color: var(--text-muted);
    flex-shrink: 0;
}

.footer-contact a { color: var(--text-secondary); }
.footer-contact a:hover { color: var(--blue); }

/* !important overrides anchor color inheritance to keep emergency link orange */
.footer-emergency {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--orange) !important;
    font-weight: 600;
    font-size: 0.9rem;
}
.footer-emergency:hover { color: var(--orange-light) !important; }

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 32px;
    border-top: 1px solid var(--dark-border);
    color: var(--text-muted);
    font-size: 0.82rem;
}

/* ==========================================================================
   20. CASE STUDIES
   Expandable card accordion. Each card has a clickable header with key
   stats; expanding it reveals the full case study body (challenge,
   solution, results, quote). Uses max-height transition for smooth
   expand/collapse (5000px ceiling accommodates long content).
   ========================================================================== */
.case-studies-section {
    padding: 60px 0 80px;
}

.case-cards {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.case-card {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.case-card.active {
    border-color: rgba(93, 198, 238, 0.3);
}

.case-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    width: 100%;
    padding: 36px 40px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    color: inherit;
    font-family: inherit;
    transition: background 0.3s ease;
}

.case-card-header:hover {
    background: rgba(93, 198, 238, 0.03);
}

.case-card-intro {
    flex: 1;
}

.case-card-badges {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.case-study-industry {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--orange);
    background: var(--orange-glow);
    border: 1px solid rgba(230, 146, 77, 0.2);
    padding: 5px 14px;
    border-radius: 100px;
}

.case-card-intro h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    margin-bottom: 8px;
}

.case-card-intro > p {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin-bottom: 16px;
}

.case-card-stats {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.case-card-stats span {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

.case-card-stats strong {
    color: var(--blue);
    font-family: var(--font-mono);
    font-weight: 700;
}

.case-card-toggle {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    padding: 12px;
}

.toggle-text {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--blue);
    white-space: nowrap;
}

.toggle-icon {
    color: var(--blue);
    transition: transform 0.4s ease;
}

.case-card.active .toggle-icon {
    transform: rotate(180deg);
}

.case-card.active .toggle-text {
    display: none;
}

/* Expandable Body — same max-height technique as the FAQ accordion.
   cubic-bezier(0.4, 0, 0.2, 1) is Material Design "standard" easing for
   a natural deceleration curve. 5000px ceiling is generous to avoid
   clipping long case studies. */
.case-card-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.case-card.active .case-card-body {
    max-height: 5000px;
}

.case-card-body > .case-study-meta {
    margin: 0 40px 32px;
}

.case-card-body > .case-study-content {
    padding: 0 40px 40px;
}

/* Keep existing inner styles */
.case-study-tagline {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 700px;
}

.case-study-meta {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 48px;
    padding: 28px 32px;
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-lg);
}

.meta-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.meta-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
}

.meta-value {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-primary);
}

.case-study-content {
    max-width: 900px;
}

.case-block {
    margin-bottom: 48px;
}

.case-block h3 {
    font-size: 1.4rem;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--dark-border);
}

.case-block > p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 16px;
}

/* Case Challenges */
.case-challenges {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 24px;
}

.challenge-item {
    display: flex;
    gap: 16px;
    padding: 24px;
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-lg);
}

.challenge-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--orange-glow);
    border: 1px solid rgba(230, 146, 77, 0.15);
    border-radius: var(--radius);
    color: var(--orange);
}

.challenge-item h4 {
    margin-bottom: 6px;
}

.challenge-item p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.6;
}

/* Case Solution Grid */
.case-solution-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 24px;
}

.solution-item {
    padding: 24px;
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-lg);
}

.solution-item h4 {
    margin-bottom: 8px;
    color: var(--blue);
}

.solution-item p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Case Results */
.case-results {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 24px;
}

.result-stat {
    padding: 28px 20px;
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-lg);
    text-align: center;
}

.result-value {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    font-family: var(--font-mono);
    color: var(--blue);
    margin-bottom: 8px;
}

.result-label {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.4;
}

/* Case Quote — blue-to-orange gradient background mirrors the brand duality;
   thick left border serves as a traditional blockquote visual indicator */
.case-quote {
    margin-top: 48px;
    padding: 40px;
    background: linear-gradient(135deg, rgba(93, 198, 238, 0.05), rgba(230, 146, 77, 0.03));
    border: 1px solid var(--dark-border);
    border-left: 4px solid var(--blue);
    border-radius: var(--radius-lg);
}

.case-quote blockquote {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-primary);
    line-height: 1.8;
    margin-bottom: 16px;
}

.case-quote-author {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 600;
}

/* 1024px: case study meta + results drop to 2-col */
@media (max-width: 1024px) {
    .case-study-meta {
        grid-template-columns: repeat(2, 1fr);
    }

    .case-results {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 768px: case study cards go full-width, toggle moves inline,
   solution grid and meta collapse to single column */
@media (max-width: 768px) {
    .case-card-header {
        flex-direction: column;
        padding: 24px;
        gap: 16px;
    }

    .case-card-toggle {
        flex-direction: row;
        width: 100%;
        justify-content: center;
        padding: 8px;
    }

    .case-card-body > .case-study-meta,
    .case-card-body > .case-study-content {
        padding-left: 24px;
        padding-right: 24px;
        margin-left: 0;
        margin-right: 0;
    }

    .case-study-meta {
        grid-template-columns: 1fr;
        padding: 20px;
    }

    .case-solution-grid {
        grid-template-columns: 1fr;
    }

    .case-results {
        grid-template-columns: repeat(2, 1fr);
    }

    .challenge-item {
        flex-direction: column;
    }

    .case-quote {
        padding: 24px;
    }

    .case-card-stats {
        gap: 16px;
    }
}

/* ==========================================================================
   21. ANIMATIONS
   Scroll-triggered fade-in utility. Elements start invisible and shifted
   24px down; JS adds .visible when the element enters the viewport
   (typically via IntersectionObserver).
   ========================================================================== */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   22. RESPONSIVE BREAKPOINTS
   --------------------------------------------------------------------------
   Strategy:
   - 1024px: Tablet landscape. Multi-column grids reduce (3->2 col).
     Sticky sidebar becomes static. Process steps wrap 2-per-row.
   - 768px:  Tablet portrait / mobile. Everything goes single-column.
     Desktop nav hidden, hamburger shown. Full-width buttons.
   - 480px:  Small phones. Tighter padding, smaller type, vertically
     stacked action buttons.
   ========================================================================== */

/* --- 1024px: Tablet Landscape ---
   Services 3->2 col, Why Us sidebar unsticks to horizontal row,
   process connectors hidden & steps 2-per-row, footer to 2-col */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-us-grid {
        grid-template-columns: 1fr;
    }

    /* Sidebar becomes a horizontal row of metric cards */
    .why-us-visual {
        position: static;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .visual-card { flex: 1; min-width: 200px; }

    .process-steps {
        flex-wrap: wrap;
        justify-content: center;
    }

    .process-connector { display: none; }
    .process-step { flex: 0 0 calc(50% - 12px); }

    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .partners-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* --- 768px: Mobile ---
   Hamburger nav, single-column grids, full-width emergency actions,
   stacked footer. Hero shrinks from 100vh to auto height. */
@media (max-width: 768px) {
    /* Hide desktop nav; JS toggles .open class to reveal mobile menu */
    .nav-links,
    .nav-actions { display: none; }

    /* Mobile nav: full-width dropdown with glassmorphism background */
    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(11, 18, 21, 0.98);
        backdrop-filter: blur(20px);
        padding: 24px;
        gap: 4px;
        border-bottom: 1px solid var(--dark-border);
    }

    /* Nav actions positioned below nav links (offset by ~200px to clear them) */
    .nav-actions.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: calc(100% + 200px);
        left: 0;
        right: 0;
        background: rgba(11, 18, 21, 0.98);
        padding: 0 24px 24px;
        gap: 12px;
        border-bottom: 1px solid var(--dark-border);
    }

    .nav-links.open a { padding: 14px 0; font-size: 1rem; }

    .mobile-toggle { display: flex; }

    /* Remove full-viewport height on mobile to prevent excessive whitespace */
    .hero { min-height: auto; padding: 140px 0 60px; }

    .hero-partners {
        gap: 12px;
    }

    .partner-badge { font-size: 0.8rem; padding: 8px 14px; }

    .hero-stats { gap: 20px; }
    .stat-number { font-size: 1.5rem; }
    .stat-divider { height: 30px; }

    .services-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .emergency-content {
        flex-direction: column;
        text-align: center;
    }

    .emergency-actions {
        flex-direction: column;
        width: 100%;
    }

    .emergency-actions .btn { width: 100%; justify-content: center; }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .faq-filter {
        gap: 6px;
    }

    .faq-filter-btn {
        font-size: 0.82rem;
        padding: 10px 16px;
    }

    .process-step { flex: 0 0 100%; padding: 24px 20px; }

    /* Scroll indicator is unnecessary on mobile (users naturally scroll) */
    .hero-scroll-indicator { display: none; }

    .partners-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
        margin-top: 32px;
    }
    .trust-logos {
        gap: 24px;
    }
    .trust-logo {
        height: 26px;
    }
    .partner-logo-card {
        padding: 10px;
    }

    /* Reduce section spacing for mobile */
    .section-header { margin: 0 auto 40px; }
    .services { padding: 60px 0; }
    .service-card { padding: 24px 20px; }
    .testimonial-card { padding: 24px; }
    .why-features { gap: 16px; }
    .visual-card { padding: 24px; }
    .page-hero { padding: 120px 0 60px; }
    .faq-cta { padding: 40px 24px; }
    .contact-method-icon { width: 40px; height: 40px; }
    .emergency-icon-wrapper { width: 48px; height: 48px; }
    .partners-section { padding: 60px 0; }
    .industries { padding: 60px 0; }
    .why-us { padding: 60px 0; }
    .process { padding: 60px 0; }
    .testimonials { padding: 60px 0; }
    .cta { padding: 60px 0; }

    .pillar-grid { gap: 1px; }
}

/* --- 480px: Small Mobile ---
   Tighter container padding, smaller hero text, fully stacked buttons */
@media (max-width: 480px) {
    .container { padding: 0 16px; }

    h1 { font-size: 2rem; }

    .hero-sub { font-size: 1rem; }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .hero-actions .btn { width: 100%; justify-content: center; }

    .cta-actions {
        flex-direction: column;
    }

    .cta-actions .btn { width: 100%; justify-content: center; }

    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    /* Tighter spacing for small screens */
    .section-header { margin: 0 auto 32px; }
    .services { padding: 40px 0; }
    .service-card { padding: 20px 16px; }
    .testimonial-card { padding: 20px; }
    .visual-card { padding: 20px; }
    .page-hero { padding: 100px 0 40px; }
    .faq-cta { padding: 32px 16px; }
    .partners-section { padding: 40px 0; }
    .industries { padding: 40px 0; }
    .why-us { padding: 40px 0; }
    .process { padding: 40px 0; }
    .testimonials { padding: 40px 0; }
    .cta { padding: 40px 0; }
    .contact-method-icon { width: 36px; height: 36px; }
    .trust-logos { gap: 16px; }
    .trust-logo { height: 22px; }
    .partner-logo-card { padding: 8px; }
    .partner-logo-card img { max-height: 40px; }
}
