/* ==========================================================================
   SYSTEM DESIGN: Care2Training Phase 0 (care2training.com)
   VERSION: 1.0.1 - Apple/Stripe UI Architecture (Fully Expanded)
   AUTHOR: Aramuse LLC - Enterprise Architecture Division
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. DESIGN TOKENS (The Master Variables)
   -------------------------------------------------------------------------- */
:root {
    /* Color Palette: Slate & Navy (High Contrast, High Trust) */
    --color-bg-page: #F8FAFC;
    --color-bg-surface: #FFFFFF;
    --color-primary: #0F172A;
    --color-secondary: #1E3A8A;
    --color-accent: #2563EB;
    --color-accent-hover: #1D4ED8;
    --color-accent-glow: rgba(37, 99, 235, 0.15);
    
    /* Typography Palette */
    --text-heading: #0F172A;
    --text-body: #475569;
    --text-muted: #64748B;
    --color-error: #DC2626;
    --color-error-bg: #FEF2F2;

    /* Semantic Borders & Dividers */
    --border-light: rgba(15, 23, 42, 0.08);
    --border-focus: rgba(37, 99, 235, 0.4);

    /* Fluid Typography (Viewport-Relative Scaling) */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --text-h1: clamp(2.5rem, 6vw, 4rem);
    --text-h2: clamp(2rem, 4vw, 2.75rem);
    --text-h3: clamp(1.25rem, 2.5vw, 1.75rem);
    --text-base: clamp(1rem, 1.2vw, 1.125rem);
    --text-sm: 0.875rem;
    --text-xs: 0.75rem;

    /* Mathematical Spacing System */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 6rem;

    /* Motion & Physics (Apple Spring & Stripe Smoothness) */
    --ease-spring: cubic-bezier(0.175, 0.885, 0.32, 1.05);
    --ease-fluid: cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: 150ms var(--ease-fluid);
    --transition-slow: 400ms var(--ease-spring);

    /* Elevation (Shadows mapped to real-world depth) */
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
    --shadow-md: 0 4px 12px -2px rgba(15, 23, 42, 0.08), 0 2px 4px -2px rgba(15, 23, 42, 0.04);
    --shadow-hover: 0 12px 24px -4px rgba(15, 23, 42, 0.12), 0 4px 8px -4px rgba(15, 23, 42, 0.08);
    
    /* Structural Constraints */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --touch-target: 48px; /* Apple iOS 16 Minimum Standard */
    --max-width: 1200px;
}

/* --------------------------------------------------------------------------
   2. NATIVE ENGINE RESET & ACCESSIBILITY
   -------------------------------------------------------------------------- */
*, 
*::before, 
*::after { 
    box-sizing: border-box; 
    margin: 0; 
    padding: 0; 
}

html { 
    scroll-behavior: smooth; 
    -webkit-font-smoothing: antialiased; 
    -moz-osx-font-smoothing: grayscale; 
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

body {
    background-color: var(--color-bg-page);
    color: var(--text-body);
    font-family: var(--font-sans);
    overflow-wrap: break-word;
    line-height: 1.6;
}

::selection {
    background-color: var(--color-accent-glow);
    color: var(--color-primary); 
}

img, 
svg { 
    display: block; 
    max-width: 100%; 
    height: auto; 
}

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

ul { 
    list-style: none; 
}

/* --------------------------------------------------------------------------
   3. TYPOGRAPHY ARCHITECTURE
   -------------------------------------------------------------------------- */
h1, 
h2, 
h3 { 
    color: var(--text-heading); 
    line-height: 1.15; 
    font-weight: 700; 
}

h1 { 
    font-size: var(--text-h1); 
    letter-spacing: -0.03em; 
    margin-bottom: var(--space-md); 
}

h2 { 
    font-size: var(--text-h2); 
    letter-spacing: -0.02em; 
    margin-bottom: var(--space-sm); 
}

h3 { 
    font-size: var(--text-h3); 
    font-weight: 600; 
    letter-spacing: -0.01em; 
}

p { 
    font-size: var(--text-base); 
    margin-bottom: var(--space-sm); 
    color: var(--text-body); 
}

/* --------------------------------------------------------------------------
   4. LAYOUT SYSTEM & GRIDS
   -------------------------------------------------------------------------- */
.container { 
    width: 100%; 
    max-width: var(--max-width); 
    margin: 0 auto; 
    padding: 0 1.5rem; 
    position: relative; 
}

.section { 
    padding: var(--space-lg) 0; 
}

.grid-auto {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-md);
}

.grid-3col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}
@media (max-width: 1024px) {
    .grid-3col { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .grid-3col { grid-template-columns: 1fr; }
}

.grid-4col {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
}
@media (max-width: 1024px) {
    .grid-4col { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .grid-4col { grid-template-columns: 1fr; }
}

.grid-offices {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    justify-content: center;
}

.grid-offices > * {
    flex: 0 0 100%;
    min-width: 0;
}

@media (min-width: 641px) {
    .grid-offices > * {
        flex: 0 0 calc(50% - var(--space-md) / 2);
    }
}

@media (min-width: 1025px) {
    .grid-offices > * {
        flex: 0 0 calc(33.333% - var(--space-md) * 2 / 3);
    }
}

.grid-aside {
    display: grid;
    gap: var(--space-md);
    grid-template-columns: 1fr;
    align-items: start;
}

@media (min-width: 768px) {
    .grid-aside {
        grid-template-columns: 2fr 1fr;
    }
}

.grid-2col {
    display: grid;
    gap: var(--space-md);
    grid-template-columns: 1fr;
    align-items: start;
}

@media (min-width: 768px) {
    .grid-2col {
        grid-template-columns: 1fr 1fr;
    }
}

.flex { 
    display: flex; 
}

.flex-col { 
    flex-direction: column; 
}

.items-center { 
    align-items: center; 
}

.justify-between { 
    justify-content: space-between; 
}

.justify-center { 
    justify-content: center; 
}

.flex-wrap { 
    flex-wrap: wrap; 
}

/* --------------------------------------------------------------------------
   5. COMPONENTS (Cards & Forms)
   -------------------------------------------------------------------------- */
.card { 
    background-color: var(--color-bg-surface); 
    border-radius: var(--radius-lg); 
    padding: var(--space-md); 
    box-shadow: var(--shadow-md); 
    border: 1px solid var(--border-light); 
    transition: var(--transition-slow); 
    will-change: transform; 
}

.card:hover { 
    transform: translateY(-4px); 
    box-shadow: var(--shadow-hover); 
    border-color: rgba(37, 99, 235, 0.1); 
}

.form-group { 
    margin-bottom: var(--space-md); 
    position: relative; 
}

.form-label { 
    display: block; 
    font-size: var(--text-sm); 
    font-weight: 600; 
    color: var(--color-primary); 
    margin-bottom: var(--space-xs); 
    letter-spacing: 0.02em; 
}

.form-input { 
    width: 100%; 
    min-height: var(--touch-target); 
    padding: 0 1.25rem; 
    border-radius: var(--radius-md); 
    border: 1px solid var(--border-light); 
    background-color: var(--color-bg-page); 
    font-family: inherit; 
    font-size: var(--text-base); 
    color: var(--text-heading); 
    transition: var(--transition-fast); 
}

.form-input:focus { 
    outline: none; 
    background-color: var(--color-bg-surface); 
    border-color: var(--color-accent); 
    box-shadow: 0 0 0 4px var(--border-focus); 
}

/* --------------------------------------------------------------------------
   6. INTERACTIVE ELEMENTS (Buttons)
   -------------------------------------------------------------------------- */
.btn { 
    display: inline-flex; 
    align-items: center; 
    justify-content: center; 
    min-height: var(--touch-target); 
    padding: 0 1.75rem; 
    font-size: 1rem; 
    font-weight: 600; 
    border-radius: 99px; 
    border: none; 
    cursor: pointer; 
    transition: var(--transition-fast); 
    will-change: transform;
    max-width: 100%;
    min-width: 0;
}

.btn:active { 
    transform: scale(0.97); 
}

.btn-primary { 
    background-color: var(--color-accent); 
    color: #FFFFFF; 
    box-shadow: var(--shadow-sm), 0 0 0 0 var(--color-accent-glow); 
}

.btn-primary:hover { 
    background-color: var(--color-accent-hover); 
    box-shadow: var(--shadow-md), 0 0 20px 0 var(--color-accent-glow); 
    color: #FFFFFF; 
}

.btn-icon { 
    background: none; 
    border: none; 
    cursor: pointer; 
    padding: 0.5rem; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    color: var(--text-heading); 
    border-radius: var(--radius-sm); 
    transition: var(--transition-fast); 
}

.btn-icon:focus-visible { 
    outline: 2px solid var(--color-accent); 
    background-color: var(--border-light); 
}

/* --------------------------------------------------------------------------
   7. THE "WOW" FACTOR (Entrance Animations)
   -------------------------------------------------------------------------- */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s var(--ease-spring), transform 0.6s var(--ease-spring);
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 100ms; }
.delay-2 { transition-delay: 200ms; }
.delay-3 { transition-delay: 300ms; }

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* --------------------------------------------------------------------------
   8. UTILITY ARCHITECTURE (Spacing & Typography)
   -------------------------------------------------------------------------- */
/* Spacing */
.gap-md { gap: var(--space-md); }
.gap-lg { gap: var(--space-lg); }

.mt-sm { margin-top: var(--space-sm); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.mb-xs { margin-bottom: var(--space-xs); }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }
.pt-sm { padding-top: var(--space-sm); }
.pt-md { padding-top: var(--space-md); }

/* Blog engagement meta */
.blog-meta {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    flex-wrap: wrap;
}
.blog-meta-item {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: var(--text-xs);
    color: var(--text-muted);
}
.blog-meta-accent {
    color: var(--color-accent);
    font-weight: 600;
}

/* Typography */
.text-sm { font-size: var(--text-sm); }
.text-xs { font-size: var(--text-xs); }
.text-muted { color: var(--text-muted); }
.text-accent { color: var(--color-accent); }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }

.uppercase { 
    text-transform: uppercase; 
    letter-spacing: 0.05em; 
}

/* Borders */
.border-t-light { 
    border-top: 1px solid var(--border-light); 
}

.min-h-70vh { 
    min-height: 70vh; 
}

/* ------------
Add to Section 8 of styles.css. 
They are required for center-aligning the Hero text and coloring the background sections without using inline styles. 
--------------*/
.text-center { text-align: center; }
.bg-surface { background-color: var(--color-bg-surface); }
.mx-auto { margin-left: auto; margin-right: auto; }
.max-w-3xl { max-width: 48rem; }
.h-full { height: 100%; }

/* --------------------------------------------------------------------------
   8.5. MISSING UTILITIES & GRID MODIFIERS
   -------------------------------------------------------------------------- */
.btn-secondary {
    background-color: transparent;
    color: var(--color-secondary);
    border: 2px solid var(--color-secondary);
    box-shadow: none;
}

.btn-secondary:hover {
    background-color: var(--color-secondary);
    color: #FFFFFF;
    box-shadow: var(--shadow-md);
}

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hidden { display: none !important; }

.is-invalid {
    border-color: var(--color-error) !important;
    box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.15) !important;
}

.text-h2 { font-size: var(--text-h2); }
.text-h3 { font-size: var(--text-h3); }

.p-sm { padding: var(--space-sm); }
.gap-sm { gap: var(--space-sm); }
.pt-lg { padding-top: var(--space-xl); }

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

@media (max-width: 991px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   8.6. HERO ARCHITECTURE
   -------------------------------------------------------------------------- */
.hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding: var(--space-xl) 0 calc(var(--space-xl) + 2rem);
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(15,23,42,0.7) 0%, rgba(15,23,42,0.5) 50%, rgba(15,23,42,0.8) 100%);
}

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

.hero h1, .hero p {
    color: #FFFFFF;
}

.hero h1 { text-shadow: 0 2px 8px rgba(0,0,0,0.3); }
.hero p  { text-shadow: 0 1px 4px rgba(0,0,0,0.3); }

/* --------------------------------------------------------------------------
   8.7. STATS BAR
   -------------------------------------------------------------------------- */
.stats-bar {
    background-color: var(--color-primary);
    color: #FFFFFF;
    padding: var(--space-md) 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: var(--space-md);
    text-align: center;
}

.stat-number {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 700;
    color: #FFFFFF;
    line-height: 1.2;
}

.stat-label {
    font-size: var(--text-sm);
    color: rgba(255,255,255,0.8);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: var(--space-xs);
}

/* --------------------------------------------------------------------------
   8.8. TIMELINE COMPONENT
   -------------------------------------------------------------------------- */
.timeline {
    position: relative;
    padding-left: 2rem;
}

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

.timeline-item {
    position: relative;
    padding-bottom: var(--space-lg);
}

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

.timeline-item::before {
    content: '';
    position: absolute;
    left: -2rem;
    top: 4px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--color-accent);
    border: 3px solid var(--color-bg-surface);
    box-shadow: 0 0 0 2px var(--color-accent);
}

.timeline-title {
    font-weight: 600;
    color: var(--text-heading);
    margin-bottom: var(--space-xs);
}

.timeline-desc {
    font-size: var(--text-sm);
    color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   8.9. ACCORDION / FAQ
   -------------------------------------------------------------------------- */
.accordion-item {
    border-bottom: 1px solid var(--border-light);
}

.accordion-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-md) 0;
    background: none;
    border: none;
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--text-heading);
    cursor: pointer;
    text-align: left;
    font-family: inherit;
}

.accordion-trigger svg {
    flex-shrink: 0;
    transition: transform 0.3s var(--ease-fluid);
    margin-left: var(--space-sm);
}

.accordion-item.is-open .accordion-trigger svg {
    transform: rotate(180deg);
}

.accordion-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease-spring);
}

.accordion-item.is-open .accordion-panel {
    max-height: 500px;
}

.accordion-body {
    padding-bottom: var(--space-md);
    font-size: var(--text-sm);
    color: var(--text-body);
    line-height: 1.7;
}

/* --------------------------------------------------------------------------
   8.10. TESTIMONIAL CARD
   -------------------------------------------------------------------------- */
.testimonial-card {
    background: var(--color-bg-surface);
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-md);
}

.testimonial-quote {
    font-size: var(--text-base);
    color: var(--text-body);
    font-style: italic;
    margin-bottom: var(--space-md);
    line-height: 1.7;
}

.testimonial-quote::before {
    content: '"';
    font-size: 2rem;
    line-height: 1;
    color: var(--color-accent);
    margin-right: 0.25rem;
    vertical-align: middle;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    background: var(--color-bg-page);
}

.testimonial-name {
    font-weight: 600;
    color: var(--text-heading);
    font-size: var(--text-sm);
}

.testimonial-role {
    font-size: var(--text-xs);
    color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   8.11. PARTNER LOGO GRID
   -------------------------------------------------------------------------- */
.partner-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: var(--space-lg);
}

.partner-logo {
    height: 40px;
    width: auto;
    opacity: 0.5;
    filter: grayscale(100%);
    transition: var(--transition-fast);
}

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

/* --------------------------------------------------------------------------
   8.12. BREADCRUMB NAVIGATION
   -------------------------------------------------------------------------- */
.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    font-size: var(--text-sm);
    color: var(--text-muted);
    margin-bottom: var(--space-md);
}

.breadcrumb a {
    color: var(--text-muted);
}

.breadcrumb a:hover {
    color: var(--color-accent);
}

.breadcrumb-separator {
    color: var(--border-light);
}

.breadcrumb-current {
    color: var(--text-heading);
    font-weight: 500;
}

/* --------------------------------------------------------------------------
   8.13. SOCIAL ICONS
   -------------------------------------------------------------------------- */
.social-links {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    background: var(--color-bg-page);
    color: var(--text-muted);
    transition: var(--transition-fast);
}

.social-link:hover {
    background: var(--color-accent);
    color: #FFFFFF;
    transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   8.14. FLOATING ACTION BUTTONS
   -------------------------------------------------------------------------- */
.whatsapp-fab {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    z-index: 999;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25D366;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    transition: var(--transition-fast);
}

.whatsapp-fab:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 998;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: var(--color-primary);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s var(--ease-fluid);
    cursor: pointer;
    border: none;
}

.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--color-accent);
}

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: var(--color-accent);
    z-index: 1001;
    transition: width 0.1s linear;
}

/* --------------------------------------------------------------------------
   8.15. MOBILE STICKY CTA
   -------------------------------------------------------------------------- */
.mobile-sticky-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 997;
    background: var(--color-bg-surface);
    border-top: 1px solid var(--border-light);
    padding: var(--space-sm) 1.5rem;
    box-shadow: 0 -4px 12px rgba(0,0,0,0.05);
}

.mobile-sticky-cta .btn {
    width: 100%;
}

@media (max-width: 767px) {
    .mobile-sticky-cta { display: block; }
    body { padding-bottom: 80px; }
    .whatsapp-fab { bottom: 5rem; }
    .back-to-top { bottom: 5rem; right: 1rem; }
}

/* --------------------------------------------------------------------------
   8.16. TRUST BADGE BAR
   -------------------------------------------------------------------------- */
.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--color-bg-surface);
    border: 1px solid var(--border-light);
    border-radius: 99px;
    font-size: var(--text-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-heading);
    white-space: nowrap;
}

.trust-badge svg {
    flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   8.17. NEWSLETTER / EMAIL CAPTURE
   -------------------------------------------------------------------------- */
.newsletter-inline {
    display: flex;
    gap: var(--space-sm);
    max-width: 480px;
    margin: 0 auto;
}

.newsletter-inline .form-input {
    flex: 1;
    margin-bottom: 0;
}

@media (max-width: 480px) {
    .newsletter-inline { flex-direction: column; }
}

/* --------------------------------------------------------------------------
   8.17b. TABLE RESPONSIVE
   -------------------------------------------------------------------------- */
.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.table-responsive table {
    min-width: 600px;
}

/* --------------------------------------------------------------------------
   8.18. PRICING TABLE
   -------------------------------------------------------------------------- */
.pricing-table {
    width: 100%;
    border-collapse: collapse;
    font-size: var(--text-sm);
}

.pricing-table th,
.pricing-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-light);
}

.pricing-table th {
    font-weight: 600;
    color: var(--text-heading);
    background: var(--color-bg-page);
}

.pricing-table td {
    color: var(--text-body);
}

.pricing-table tr:hover td {
    background: var(--color-bg-page);
}

/* --------------------------------------------------------------------------
   8.19. TAB COMPONENT
   -------------------------------------------------------------------------- */
.tab-list {
    display: flex;
    gap: var(--space-sm);
    border-bottom: 2px solid var(--border-light);
    margin-bottom: var(--space-lg);
    overflow-x: auto;
    scrollbar-width: none;
}

.tab-list::-webkit-scrollbar { display: none; }

.tab-btn {
    padding: var(--space-sm) var(--space-md);
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    font-family: inherit;
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    white-space: nowrap;
    transition: var(--transition-fast);
}

.tab-btn.is-active {
    color: var(--color-accent);
    border-bottom-color: var(--color-accent);
}

.tab-btn:hover {
    color: var(--color-accent);
}

.tab-panel {
    display: none;
}

.tab-panel.is-active {
    display: block;
}

/* --------------------------------------------------------------------------
   8.20. IMAGE LAZY LOADING PLACEHOLDER
   -------------------------------------------------------------------------- */
.img-lazy {
    opacity: 0;
    transition: opacity 0.5s var(--ease-fluid);
}

.img-lazy.is-loaded {
    opacity: 1;
}

/* --------------------------------------------------------------------------
   8.21. CTA BANNER (Enterprise Compact Card)
   -------------------------------------------------------------------------- */
.cta-banner {
    background: transparent;
    padding: var(--space-sm) 0;
    margin-bottom: var(--space-md);
}

.cta-banner .container {
    background: linear-gradient(135deg, #F8FAFC 0%, #FFFFFF 60%);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: var(--space-md) var(--space-lg);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-lg);
    box-shadow: var(--shadow-sm);
    text-align: left;
}

.cta-banner h2 {
    color: var(--text-heading);
    font-size: clamp(1.15rem, 2vw, 1.4rem);
    font-weight: 700;
    margin-bottom: var(--space-xs);
    line-height: 1.3;
}

.cta-banner p {
    color: var(--text-muted);
    font-size: var(--text-sm);
    margin-bottom: 0;
    max-width: 480px;
    line-height: 1.5;
}

.cta-banner .btn {
    flex-shrink: 0;
    font-size: var(--text-sm);
    padding: 0.6rem 1.25rem;
}

.cta-banner .btn-secondary {
    color: var(--color-accent);
    border-color: var(--color-accent);
    background: transparent;
}

.cta-banner .btn-secondary:hover {
    background: var(--color-accent);
    color: #FFFFFF;
    border-color: var(--color-accent);
}

@media (max-width: 640px) {
    .cta-banner .container {
        flex-direction: column;
        text-align: center;
        padding: var(--space-md);
        gap: var(--space-sm);
    }

    .cta-banner p {
        max-width: none;
    }

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

/* --------------------------------------------------------------------------
   8.22. TRUST BADGE STRIP
   -------------------------------------------------------------------------- */
.trust-strip {
    background: linear-gradient(135deg, #0F172A 0%, #1E3A8A 100%);
    padding: var(--space-md) 0;
}

.trust-strip .container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.trust-strip-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius-sm);
    padding: 0.55rem 1.1rem;
    font-size: var(--text-sm);
    font-weight: 600;
    color: #FFFFFF;
    white-space: nowrap;
    letter-spacing: 0.02em;
    transition: background 0.2s var(--ease-fluid), border-color 0.2s var(--ease-fluid);
    cursor: default;
}

.trust-strip-item:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.28);
}

.trust-strip-item svg {
    flex-shrink: 0;
    color: #60A5FA;
    width: 16px;
    height: 16px;
}

@media (max-width: 640px) {
    .trust-strip-item {
        font-size: var(--text-xs);
        padding: 0.45rem 0.85rem;
    }
}

/* --------------------------------------------------------------------------
   8.23. LOGO MARQUEE RIBBON
   -------------------------------------------------------------------------- */
.logo-marquee {
    overflow: hidden;
    background: var(--color-bg-page);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    padding: var(--space-md) 0;
    position: relative;
}

.logo-marquee-track {
    display: flex;
    width: max-content;
    animation: marquee-scroll 30s linear infinite;
}

.logo-marquee-track:hover {
    animation-play-state: paused;
}

.logo-marquee-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 var(--space-lg);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--text-muted);
    white-space: nowrap;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

/* Employer Badge (colored pill for marquee) */
.employer-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    border-radius: 100px;
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    white-space: nowrap;
    line-height: 1.4;
}

/* Logo Badge (text wordmark pill style) */
.logo-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 var(--space-md);
    min-width: 100px;
}

.logo-badge img {
    max-height: 40px;
    width: auto;
    max-width: 140px;
    object-fit: contain;
    opacity: 0.85;
    transition: opacity 0.3s var(--ease-fluid), transform 0.3s var(--ease-fluid);
}

.logo-badge:hover img {
    opacity: 1;
    transform: scale(1.05);
}

.logo-wordmark {
    display: inline-block;
    font-size: var(--text-xs);
    font-weight: 700;
    color: var(--text-heading);
    white-space: nowrap;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    background: var(--color-bg-surface);
    border: 1.5px solid var(--border-light);
    border-radius: 100px;
    padding: 0.45rem 1rem;
    transition: border-color 0.2s var(--ease-fluid), background 0.2s var(--ease-fluid), color 0.2s var(--ease-fluid);
    box-shadow: var(--shadow-sm);
}

.logo-badge:hover .logo-wordmark {
    color: var(--color-accent);
    border-color: rgba(37, 99, 235, 0.3);
    background: var(--color-accent-glow);
}

/* Static logo grid for trust sections */
.logo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: var(--space-md);
    align-items: center;
    justify-items: center;
}

@keyframes marquee-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* --------------------------------------------------------------------------
   8.24. CHECKLIST COMPONENT
   -------------------------------------------------------------------------- */
.checklist {
    list-style: none;
    padding: 0;
}

.checklist li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.5rem 0;
    font-size: var(--text-sm);
    color: var(--text-body);
}

.checklist li svg {
    flex-shrink: 0;
    margin-top: 2px;
}

/* --------------------------------------------------------------------------
   9. STRUCTURAL COMPONENTS (Header, Nav & Footer)
   -------------------------------------------------------------------------- */

/* --- 9.1 Header / Glass Nav --- */
.glass-nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--border-light);
    padding: 0.75rem 0;
    transition: padding 0.3s var(--ease-fluid), box-shadow 0.3s var(--ease-fluid), background 0.3s var(--ease-fluid);
}

.glass-nav::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
    opacity: 0;
    transition: opacity 0.3s var(--ease-fluid);
}

.glass-nav.scrolled {
    padding: 0.5rem 0;
    box-shadow: 0 4px 24px -4px rgba(15, 23, 42, 0.1);
    background: rgba(255, 255, 255, 0.96);
}

.glass-nav.scrolled::after {
    opacity: 0.5;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    text-decoration: none;
    z-index: 1001;
    position: relative;
}

.brand-logo img,
.brand-logo svg {
    flex-shrink: 0;
    border-radius: var(--radius-sm);
    max-width: 100%;
}

.brand-text {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--text-heading);
    line-height: 1.2;
}

.brand-accent {
    color: var(--color-accent);
}

.brand-gradient {
    background: linear-gradient(135deg, #4475db, #232a6b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.brand-text .brand-gradient {
    color: transparent;
}

.footer-brand-name-text .brand-gradient {
    background: linear-gradient(135deg, #60A5FA, #93C5FD);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.brand-sub {
    display: block;
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-muted);
    line-height: 1;
    margin-top: 1px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nav-link {
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--text-body);
    padding: 0.4rem 0.75rem;
    border-radius: var(--radius-sm);
    transition: color 0.15s var(--ease-fluid), background 0.15s var(--ease-fluid);
}

.nav-link:hover {
    color: var(--color-accent);
    background: var(--color-accent-glow);
}

.nav-link.active {
    color: var(--color-accent);
    font-weight: 600;
}

/* Mobile Menu Architecture */
@media (max-width: 767px) {
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--color-bg-surface);
        flex-direction: column;
        align-items: flex-start;
        padding: 0;
        box-shadow: var(--shadow-md);
        border-bottom: 1px solid var(--border-light);
        clip-path: inset(0 0 100% 0);
        transition: clip-path 0.4s var(--ease-spring);
        gap: 0;
    }

    .nav-menu.is-active {
        clip-path: inset(0 0 0 0);
        padding: var(--space-sm);
    }

    .nav-link {
        width: 100%;
        padding: 0.75rem var(--space-sm);
        font-size: 1rem;
        border-bottom: 1px solid var(--border-light);
        border-radius: 0;
    }

    .nav-menu .btn {
        margin-top: var(--space-sm);
        width: 100%;
    }
}

@media (min-width: 768px) {
    .mobile-toggle {
        display: none;
    }
}

/* --- 9.2 Footer --- */

/* === Mobile-First Base (applies to all breakpoints) === */
.footer-global {
    background-color: #0B1628;
    border-top: none;
    padding: 0;
}

.footer-brand-bar {
    background: rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    padding: var(--space-sm) 0;
}

.footer-brand-area {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.footer-brand-area img {
    max-width: 100%;
}

a.footer-brand-area:hover .footer-brand-name-text {
    color: rgba(255, 255, 255, 0.8);
}

a.footer-brand-area:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 4px;
    border-radius: var(--radius-sm);
}

.footer-brand-name-text {
    font-size: 0.95rem;
    font-weight: 700;
    color: #FFFFFF;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.footer-brand-tagline {
    font-size: 0.65rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-top: 3px;
}

.footer-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md) var(--space-sm);
    padding: var(--space-md) 0;
}

.footer-col-about {
    grid-column: 1 / -1;
}

.footer-col-about .footer-heading {
    display: none;
}

.footer-col-about > p {
    display: none;
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.footer-col:last-child {
    grid-column: 1 / -1;
}

.footer-heading {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.45);
}

.footer-link {
    color: rgba(255, 255, 255, 0.6);
    font-size: var(--text-xs);
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 0;
    transition: color 0.2s var(--ease-fluid);
}

.footer-link:hover {
    color: #FFFFFF;
}

.footer-link:focus-visible {
    color: #FFFFFF;
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
    border-radius: 2px;
}

.footer-contact-line {
    font-size: var(--text-xs);
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.8;
    margin-top: var(--space-xs);
}

.footer-contact-line strong {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
}

.footer-contact-line a {
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.2s var(--ease-fluid);
}

.footer-contact-line a:hover,
.footer-contact-line a:focus-visible {
    color: #FFFFFF;
    outline: none;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.social-links {
    display: flex;
    gap: 0.5rem;
    margin-top: var(--space-sm);
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    flex-shrink: 0;
    transition: background 0.2s var(--ease-fluid), color 0.2s var(--ease-fluid), border-color 0.2s var(--ease-fluid);
}

.social-link:hover,
.social-link:focus-visible {
    background: rgba(37, 99, 235, 0.25);
    border-color: rgba(37, 99, 235, 0.4);
    color: #FFFFFF;
    outline: none;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    padding: var(--space-sm) 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
    text-align: center;
}

.footer-copyright {
    font-size: 0.68rem;
    color: rgba(255, 255, 255, 0.35);
}

.footer-dev-credit {
    color: rgba(255, 255, 255, 0.5);
    font-size: var(--text-xs);
    display: flex;
    align-items: center;
    min-height: 44px;
    gap: 0.25em;
}

.footer-dev-credit a {
    color: #93C5FD;
    font-weight: 500;
    text-decoration: none;
    letter-spacing: 0.01em;
    transition: color 0.2s var(--ease-fluid), opacity 0.2s var(--ease-fluid);
}

.footer-dev-credit a:hover,
.footer-dev-credit a:focus-visible {
    color: #BFDBFE;
    text-decoration: underline;
}

.footer-trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    align-items: center;
    justify-content: center;
}

.footer-trust-badge {
    font-size: 0.6rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 4px;
    padding: 0.15rem 0.4rem;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.footer-legal-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    padding: var(--space-sm) 0;
}

.footer-legal-bar .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.25rem 0.5rem;
}

.footer-legal-link {
    color: rgba(255, 255, 255, 0.5);
    font-size: var(--text-xs);
    display: flex;
    align-items: center;
    min-height: 44px;
    transition: color 0.2s var(--ease-fluid);
}

.footer-legal-link:hover,
.footer-legal-link:focus-visible {
    color: #FFFFFF;
    outline: none;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.footer-legal-sep {
    color: rgba(255, 255, 255, 0.2);
    font-size: var(--text-xs);
    user-select: none;
}

/* === Mobile only: max-width 640px === */
@media (max-width: 640px) {
    .footer-col:last-child {
        display: grid;
        grid-template-columns: 1fr 1fr;
        column-gap: var(--space-sm);
        align-items: start;
    }
    .footer-col:last-child .footer-heading {
        grid-column: 1 / -1;
    }
}

/* === Tablet: min-width 641px === */
@media (min-width: 641px) {
    .footer-brand-bar {
        padding: 1.5rem 0;
    }
    .footer-brand-name-text {
        font-size: 1.05rem;
    }
    .footer-brand-tagline {
        font-size: 0.7rem;
    }
    .footer-cols {
        grid-template-columns: 1fr 1fr 1fr;
        gap: var(--space-md);
        padding: var(--space-lg) 0;
    }
    .footer-col-about .footer-heading {
        display: block;
    }
    .footer-col-about > p {
        display: block;
    }
    .footer-col:last-child {
        grid-column: auto;
    }
    .footer-heading {
        font-size: 0.7rem;
        letter-spacing: 0.1em;
        margin-bottom: 1rem;
    }
    .footer-link {
        font-size: var(--text-sm);
        min-height: auto;
        padding: 0.28rem 0;
        transition: color 0.2s var(--ease-fluid), transform 0.2s var(--ease-fluid);
    }
    .footer-link:hover {
        color: #FFFFFF;
        transform: translateX(3px);
    }
    .footer-contact-line {
        font-size: var(--text-sm);
        line-height: 1.8;
    }
    .social-links {
        gap: 0.6rem;
        margin-top: 1.25rem;
    }
    .social-link {
        width: 36px;
        height: 36px;
        border-radius: 6px;
    }
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        text-align: left;
        padding: 1.25rem 0;
        gap: 0.75rem;
    }
    .footer-copyright {
        font-size: var(--text-xs);
    }
    .footer-trust-badges {
        justify-content: flex-end;
    }
    .footer-trust-badge {
        font-size: 0.68rem;
        padding: 3px 8px;
    }
    .footer-legal-bar .container {
        justify-content: flex-end;
        gap: 0.5rem 0.75rem;
    }
    .footer-legal-link {
        font-size: 0.75rem;
        min-height: auto;
    }
}

/* === Desktop: min-width 1025px === */
@media (min-width: 1025px) {
    .footer-cols {
        grid-template-columns: 1.8fr 1fr 1fr 1fr;
        gap: var(--space-md) var(--space-lg);
    }
    .footer-col-about {
        grid-column: auto;
    }
    .footer-col:last-child {
        grid-column: auto;
    }
}

/* --------------------------------------------------------------------------
   8.18. FAQ CATEGORY CARDS
   -------------------------------------------------------------------------- */
.faq-card-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
}
@media (max-width: 1024px) {
    .faq-card-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .faq-card-grid { grid-template-columns: 1fr; }
}

.faq-category-card {
    background-color: var(--color-bg-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 2.5rem 1.75rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition-slow);
    will-change: transform;
}

.faq-category-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(37, 99, 235, 0.25);
}

.faq-category-card .icon-wrap {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-md);
    background: var(--color-accent-glow);
    color: var(--color-accent);
}

.faq-category-card .icon-wrap svg {
    width: 28px;
    height: 28px;
}

.faq-category-card h3 {
    font-size: var(--text-h3);
    margin-bottom: var(--space-sm);
    color: var(--text-heading);
}

.faq-category-card p {
    font-size: var(--text-base);
    color: var(--text-muted);
    margin: 0;
}

/* --------------------------------------------------------------------------
   8.19. FORM SECTIONS
   -------------------------------------------------------------------------- */
.form-section {
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    margin-bottom: var(--space-md);
    background-color: var(--color-bg-surface);
    min-width: 0;
    max-width: 100%;
}

.form-section:last-child {
    margin-bottom: 0;
}

.form-section-title {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: var(--text-sm);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-heading);
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-sm);
    border-bottom: 1px solid var(--border-light);
}

.form-section-title svg {
    flex-shrink: 0;
    color: var(--color-accent);
}

.form-grid-2 {
    display: grid;
    gap: var(--space-md);
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .form-grid-2 {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .card { padding: var(--space-sm); }
    .form-section { padding: var(--space-sm); }
    .intent-card { padding: var(--space-sm); }
    .btn { white-space: normal; }
}

select.form-input {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F0%2Fsvg%22%20fill%3D%22none%22%20stroke%3D%22%230F172A%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpolyline%20points%3D%226%209%2012%2015%2018%209%22%3E%3C%2Fpolyline%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.2em;
    cursor: pointer;
    padding-right: 2.5rem;
}

/* ==========================================
   FORM CARD: RESPONSIVE PADDING
   ========================================== */
.form-card-main {
    padding: var(--space-sm) 0;
    overflow: hidden;
}

/* Header div sits directly in the card — give it horizontal breathing room since card has no horizontal padding at mobile */
@media (max-width: 640px) {
    .form-card-main > div {
        padding-left: var(--space-sm);
        padding-right: var(--space-sm);
    }
}

@media (min-width: 641px) {
    .form-card-main {
        padding: var(--space-md);
    }
}

@media (min-width: 1025px) {
    .form-card-main {
        padding: var(--space-lg) var(--space-md);
    }
}

/* Cloudflare Turnstile: contain widget within form-group */
.form-group:has(.cf-turnstile) {
    overflow: hidden;
}


/* Submit button in form context: block-level flex to prevent inline-flex box-sizing issues in fieldsets */
.form-section button[type="submit"].btn {
    display: flex;
    width: 100%;
}

/* Consent row: flex label must shrink/wrap to avoid pushing fieldset wider */
.form-section .form-group.flex {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.form-section .form-group.flex input[type="checkbox"] {
    flex-shrink: 0;
    margin-top: 2px;
    margin-right: 0;
}

.form-section .form-group.flex label {
    flex: 1;
    min-width: 0;
    line-height: 1.4;
}

/* ==========================================
   GET STARTED INTENT CARDS & FORMS
   ========================================== */
.intent-card {
    width: 100%;
    text-align: left;
    padding: var(--space-md);
    border: 2px solid var(--border-light);
    border-radius: var(--radius-lg);
    background: var(--color-bg-surface);
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.intent-card:hover, 
.intent-card[aria-checked="true"] {
    border-color: var(--color-accent);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}

.intent-card[aria-checked="true"] {
    background: rgba(37, 99, 235, 0.04);
}

.intent-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background: rgba(37, 99, 235, 0.1);
    color: var(--color-accent);
    display: flex;
    align-items: center;
    justify-content: center;
}

.intent-title {
    font-size: var(--text-base);
    font-weight: 700;
    color: var(--text-heading);
    margin: 0;
}

.intent-desc {
    font-size: var(--text-sm);
    color: var(--text-muted);
    margin: 0;
}

/* Contact Sidebar Utilities */
.contact-panel {
    position: sticky;
    top: 6rem;
}

.contact-block {
    padding-bottom: var(--space-sm);
    border-bottom: 1px solid var(--border-light);
}

.contact-block:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

/* Privacy Checkbox Fix */
.checkbox-native {
    width: 20px;
    height: 20px;
    margin-right: 0.75rem;
    accent-color: var(--color-accent);
    cursor: pointer;
    flex-shrink: 0;
    margin-top: 2px;
}

@media (max-width: 1024px) {
    .contact-panel {
        position: static;
        margin-top: var(--space-lg);
    }
}
