/*
Theme Name: Medii
Theme URI: https://medlogics.net
Author: Medlogics
Description: Custom theme for Medlogics healthcare software
Version: 1.2.0
Text Domain: medii
*/

/* ============================================
   TOKENS — Light, airy, modern healthcare
   ============================================ */
:root {
    --c-text: #1A1A2E;
    --c-text-soft: #3D3D56;
    --c-text-muted: #6E6E85;
    --c-text-faint: #9E9EB5;

    --c-primary: #00B894;
    --c-primary-dark: #009B7D;
    --c-primary-light: #E8FFF8;
    --c-primary-glow: rgba(0, 184, 148, 0.12);

    --c-accent: #6C5CE7;
    --c-accent-light: #F0EDFF;
    --c-blue: #0984E3;
    --c-blue-light: #EBF5FF;
    --c-amber: #FDCB6E;
    --c-coral: #E17055;
    --c-coral-light: #FFF0ED;

    --c-bg: #FFFFFF;
    --c-bg-soft: #F7F8FC;
    --c-bg-warm: #FAFBFE;
    --c-bg-hero: #F7F8FC;
    --c-bg-section: linear-gradient(180deg, #F7F8FC 0%, #FFFFFF 100%);
    --c-bg-dark: #1A1A2E;

    --c-border: #EAEAF2;
    --c-border-strong: #D4D4E0;

    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    --sp-xs: 4px;
    --sp-sm: 8px;
    --sp-md: 16px;
    --sp-lg: 24px;
    --sp-xl: 40px;
    --sp-2xl: 64px;
    --sp-3xl: 96px;
    --sp-4xl: 128px;

    --r-sm: 8px;
    --r-md: 12px;
    --r-lg: 16px;
    --r-xl: 24px;
    --r-full: 999px;

    --shadow-xs: 0 1px 2px rgba(26,26,46,0.04);
    --shadow-sm: 0 2px 8px rgba(26,26,46,0.06);
    --shadow-md: 0 4px 16px rgba(26,26,46,0.08);
    --shadow-lg: 0 8px 32px rgba(26,26,46,0.1);
    --shadow-xl: 0 16px 48px rgba(26,26,46,0.12);

    --max-w: 1200px;
    --section-pad: 100px;
}

/* ============================================
   RESET
   ============================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.6;
    color: var(--c-text);
    background: var(--c-bg);
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: all 0.2s ease; }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font);
    font-weight: 700;
    line-height: 1.15;
    color: var(--c-text);
    letter-spacing: -0.025em;
}
button, input, select, textarea { font-family: inherit; font-size: inherit; border: none; outline: none; background: none; }
button { cursor: pointer; }

/* ============================================
   LAYOUT
   ============================================ */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--sp-lg); }
.section { padding: var(--section-pad) 0; }
.text-teal { color: var(--c-primary) !important; }

/* ============================================
   BUTTONS — rounded, friendly, modern
   ============================================ */
.btn-primary,
.btn-secondary,
.btn-ghost,
.btn-subtle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: var(--r-sm);
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    white-space: nowrap;
}
.btn-primary {
    background: var(--c-primary);
    color: #fff;
    border-color: var(--c-primary);
    box-shadow: 0 4px 14px rgba(0,184,148,0.3);
}
.btn-primary:hover {
    background: var(--c-primary-dark);
    border-color: var(--c-primary-dark);
    box-shadow: 0 6px 20px rgba(0,184,148,0.4);
    transform: translateY(-1px);
}
.btn-secondary {
    background: var(--c-bg);
    color: var(--c-text);
    border-color: var(--c-border-strong);
}
.btn-secondary:hover {
    border-color: var(--c-text);
    box-shadow: var(--shadow-sm);
}
.btn-secondary--white {
    background: rgba(255,255,255,0.15);
    color: #fff;
    border-color: rgba(255,255,255,0.3);
    backdrop-filter: blur(8px);
}
.btn-secondary--white:hover {
    background: rgba(255,255,255,0.25);
    border-color: rgba(255,255,255,0.6);
}
.btn-ghost {
    background: transparent;
    color: var(--c-primary);
    border-color: var(--c-primary);
}
.btn-ghost:hover {
    background: var(--c-primary-glow);
}
.btn-subtle {
    background: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.85);
    border-color: rgba(255,255,255,0.2);
}
.btn-subtle:hover {
    background: rgba(255,255,255,0.18);
    color: #fff;
}

.cta-group { display: flex; gap: 12px; flex-wrap: wrap; margin-top: var(--sp-lg); }
.cta-tag {
    font-size: 14px;
    color: var(--c-primary);
    font-weight: 600;
    margin-top: 14px;
    display: inline-block;
}
.cta-tag:hover { text-decoration: underline; }

/* ============================================
   TAGS — soft pill badges
   ============================================ */
.tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: var(--r-full);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.tag-teal { background: var(--c-primary-light); color: #007a69; }
.tag-blue { background: var(--c-blue-light); color: #0369a1; }
.tag-green { background: #ECFDF5; color: #047857; }
.tag-amber { background: #FFFBEB; color: #92400E; }
.tag-coral { background: var(--c-coral-light); color: #c0392b; }

/* ============================================
   TOP BAR (Wolters Kluwer-style utility bar)
   ============================================ */
.top-bar {
    background: var(--c-text);
    color: rgba(255,255,255,0.7);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.01em;
}
.top-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 36px;
}
.top-bar-links {
    display: flex;
    gap: 20px;
}
.top-bar-links a {
    color: rgba(255,255,255,0.6);
    font-size: 12px;
    font-weight: 500;
}
.top-bar-links a:hover { color: #fff; }

/* ============================================
   HEADER (Wolters Kluwer-style: clean, professional)
   ============================================ */
.site-header {
    position: sticky;
    top: 0;
    width: 100%;
    background: #fff;
    z-index: 1000;
    border-bottom: 1px solid var(--c-border);
    transition: box-shadow 0.3s ease;
}
.site-header.scrolled {
    box-shadow: var(--shadow-md);
}
.header-inner {
    display: flex;
    align-items: center;
    height: 72px;
    gap: 12px;
}
.site-logo {
    margin-right: 48px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
}
.logo-img {
    height: 34px;
    width: auto;
}
.logo-img--light {
    filter: brightness(0) invert(1);
}

/* Nav links — WK style: 16px, medium weight, clean hover */
.main-nav {
    display: flex;
    align-items: center;
    gap: 0;
    flex: 1;
}
.main-nav a {
    font-size: 15px;
    font-weight: 500;
    color: var(--c-text);
    padding: 8px 16px;
    position: relative;
    transition: color 0.2s;
}
.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 16px;
    right: 16px;
    height: 2px;
    background: var(--c-primary);
    transform: scaleX(0);
    transition: transform 0.25s ease;
}
.main-nav a:hover {
    color: var(--c-primary);
}
.main-nav a:hover::after {
    transform: scaleX(1);
}

/* CTA — WK style: solid, clean */
.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--c-primary);
    color: #fff;
    padding: 11px 28px;
    border-radius: var(--r-sm);
    font-size: 14px;
    font-weight: 600;
    margin-left: auto;
    flex-shrink: 0;
    transition: all 0.25s ease;
}
.nav-cta:hover {
    background: var(--c-primary-dark);
    box-shadow: var(--shadow-sm);
}

/* Hamburger */
.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 24px;
    height: 24px;
    cursor: pointer;
    margin-left: 16px;
}
.mobile-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--c-text);
    border-radius: 1px;
    transition: transform 0.3s, opacity 0.3s;
}
.mobile-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================
   HERO — Light gradient, large text, modern
   ============================================ */
.hero {
    background: var(--c-bg-hero);
    position: relative;
    overflow: hidden;
    opacity: 1 !important;
    transform: none !important;
}
.hero::before,
.hero::after { display: none; }
.hero-inner {
    text-align: center;
    padding: var(--sp-4xl) var(--sp-lg) var(--sp-3xl);
    position: relative;
    z-index: 1;
}
.hero h1 {
    font-size: clamp(36px, 5.5vw, 64px);
    font-weight: 800;
    color: var(--c-text);
    line-height: 1.08;
    letter-spacing: -0.035em;
    margin-bottom: var(--sp-lg);
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}
.hero h1 em {
    font-style: normal;
    color: var(--c-primary);
}
.hero-subtitle {
    font-size: 18px;
    font-weight: 400;
    color: var(--c-text-muted);
    max-width: 520px;
    line-height: 1.65;
    margin: 0 auto var(--sp-xl);
}
.hero-ctas {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}
.trust-bar {
    margin-top: var(--sp-2xl);
    display: inline-flex;
    align-items: center;
    gap: var(--sp-lg);
    flex-wrap: wrap;
    justify-content: center;
    padding: 14px 28px;
    border-radius: var(--r-full);
    background: rgba(26,26,46,0.04);
    border: 1px solid var(--c-border);
}
.trust-bar span {
    font-size: 14px;
    font-weight: 500;
    color: var(--c-text-muted);
}
.trust-bar span:first-child {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 700;
    color: var(--c-text-faint);
}

/* ============================================
   VALUE PROPS — clean cards on soft bg
   ============================================ */
.value-props {
    background: var(--c-bg);
    padding: var(--section-pad) 0;
}
.value-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sp-lg);
}
.value-card {
    padding: var(--sp-xl);
    background: var(--c-bg-soft);
    border-radius: var(--r-lg);
    border: 1px solid var(--c-border);
    transition: box-shadow 0.3s, transform 0.3s;
}
.value-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}
.value-card + .value-card { border-left: none; }
.value-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: var(--r-md);
    background: var(--c-primary-light);
    margin-bottom: var(--sp-md);
    color: var(--c-primary);
}
.value-icon svg,
.value-icon i[data-lucide] {
    width: 22px;
    height: 22px;
}
.value-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: var(--sp-sm);
}
.value-card p {
    font-size: 15px;
    color: var(--c-text-muted);
    line-height: 1.65;
}

/* ============================================
   PROBLEM / INSIGHT — gradient accent box
   ============================================ */
.problem-section { padding: var(--section-pad) 0; background: var(--c-bg-soft); }
.problem-inner { max-width: 720px; }
.problem-section h2 {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: var(--sp-lg);
}
.problem-section p {
    font-size: 17px;
    color: var(--c-text-soft);
    line-height: 1.75;
    margin-bottom: var(--sp-md);
}

.insight-box {
    background: var(--c-primary);
    border-radius: var(--r-xl);
    padding: var(--sp-xl) var(--sp-xl);
    color: #fff;
    margin-top: var(--sp-xl);
    position: relative;
    overflow: hidden;
}
.insight-box::before { display: none; }
.insight-box h3 {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
    position: relative;
}
.insight-box p {
    color: rgba(255,255,255,0.85);
    font-size: 16px;
    line-height: 1.65;
    position: relative;
}
.insight-box .btn-primary {
    background: #fff;
    color: var(--c-text);
    border-color: #fff;
    box-shadow: var(--shadow-md);
}
.insight-box .btn-primary:hover {
    background: #f0f0f0;
    border-color: #f0f0f0;
}

/* ============================================
   HOW IT WORKS — numbered steps
   ============================================ */
.how-it-works {
    padding: var(--section-pad) 0;
    background: var(--c-bg);
}
.how-it-works > .container > h2 {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: var(--sp-2xl);
    text-align: center;
}
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sp-lg);
}
.step-card {
    background: var(--c-bg);
    border: 1px solid var(--c-border);
    border-radius: var(--r-lg);
    padding: var(--sp-xl);
    transition: box-shadow 0.3s, transform 0.3s;
}
.step-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}
.step-number {
    width: 48px;
    height: 48px;
    border-radius: var(--r-md);
    background: var(--c-text);
    color: #fff;
    font-size: 20px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--sp-md);
}
.step-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}
.step-card p {
    font-size: 15px;
    color: var(--c-text-muted);
    line-height: 1.6;
}

/* ============================================
   MODULES — cards grid
   ============================================ */
.modules-showcase { padding: var(--section-pad) 0; background: var(--c-bg-soft); }
.section-header { text-align: center; margin-bottom: var(--sp-2xl); }
.section-header h2 {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 12px;
}
.section-subtitle,
.section-header p {
    font-size: 17px;
    color: var(--c-text-muted);
    max-width: 540px;
    margin: 0 auto;
    line-height: 1.6;
}
.section-heading {
    font-size: clamp(24px, 3.5vw, 36px);
    font-weight: 800;
    letter-spacing: -0.025em;
    margin-bottom: 12px;
    text-align: center;
}
.modules-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--sp-md);
}
.module-card {
    background: var(--c-bg);
    border: 1px solid var(--c-border);
    border-radius: var(--r-lg);
    padding: var(--sp-lg);
    transition: all 0.3s ease;
}
.module-card:hover {
    border-color: var(--c-primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}
.module-tag {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: var(--r-full);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 14px;
}
.module-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.module-card p { font-size: 14px; color: var(--c-text-muted); line-height: 1.6; }
.modules-ctas {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: var(--sp-xl);
    justify-content: center;
}

/* ============================================
   SOCIAL PROOF — stats + testimonial
   ============================================ */
.social-proof {
    padding: var(--section-pad) 0;
    background: var(--c-bg);
    text-align: center;
}
.social-proof > .container > h2 {
    font-size: clamp(26px, 3.5vw, 36px);
    font-weight: 800;
    letter-spacing: -0.025em;
    margin-bottom: var(--sp-md);
}
.section-lead {
    font-size: 17px;
    color: var(--c-text-muted);
    max-width: 580px;
    margin: 0 auto;
    line-height: 1.65;
}
.stats-row {
    display: flex;
    justify-content: center;
    gap: var(--sp-2xl);
    flex-wrap: wrap;
    padding: var(--sp-2xl) 0 var(--sp-xl);
}
.stat-item { text-align: center; }
.stat-number {
    font-size: 52px;
    font-weight: 800;
    color: var(--c-primary);
    line-height: 1;
    letter-spacing: -0.03em;
    display: block;
}
.stat-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--c-text-faint);
    margin-top: 8px;
    display: block;
}

.testimonial-block,
.quote-block {
    background: var(--c-bg-soft);
    border: 1px solid var(--c-border);
    border-radius: var(--r-xl);
    padding: var(--sp-xl) var(--sp-xl) var(--sp-lg);
    position: relative;
    max-width: 680px;
    margin: 0 auto;
    text-align: left;
}
.testimonial-block::before,
.quote-block::before {
    content: '\201C';
    font-size: 80px;
    color: var(--c-primary);
    position: absolute;
    top: 8px;
    left: 28px;
    line-height: 1;
    opacity: 0.25;
    font-weight: 800;
}
.testimonial-block p,
.quote-block blockquote {
    font-size: 18px;
    font-style: italic;
    color: var(--c-text);
    line-height: 1.7;
    padding-top: 16px;
    font-weight: 400;
}
.testimonial-block cite,
.quote-block cite {
    font-style: normal;
    font-size: 14px;
    color: var(--c-text-faint);
    font-weight: 600;
    display: block;
    margin-top: 16px;
}

/* ============================================
   BOTTOM CTA — gradient banner
   ============================================ */
.bottom-cta { padding: 0 0 var(--section-pad); }
.cta-box {
    background: var(--c-text);
    border-radius: var(--r-xl);
    padding: var(--sp-2xl);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-xl);
    flex-wrap: wrap;
    position: relative;
    overflow: hidden;
}
.cta-box::before { display: none; }
.cta-content { position: relative; }
.cta-content h3 {
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 10px;
    letter-spacing: -0.025em;
}
.cta-content p {
    font-size: 16px;
    color: rgba(255,255,255,0.55);
    line-height: 1.65;
    max-width: 480px;
}
.cta-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-shrink: 0;
    position: relative;
}

/* ============================================
   CARDS — soft, elevated
   ============================================ */
.card {
    background: var(--c-bg);
    border: 1px solid var(--c-border);
    border-radius: var(--r-lg);
    padding: var(--sp-lg);
    transition: all 0.3s ease;
}
.card:hover {
    border-color: var(--c-primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}
.card-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--r-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    background: var(--c-primary-light);
    color: var(--c-primary);
}
.card-icon svg,
.card-icon i[data-lucide] {
    width: 22px;
    height: 22px;
}
.card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.card p { font-size: 14px; color: var(--c-text-muted); line-height: 1.65; }
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--sp-md);
    margin-top: var(--sp-lg);
}
.card-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sp-md);
    margin-top: var(--sp-lg);
}

/* ============================================
   PAGE HEADER — light gradient (not dark!)
   ============================================ */
.page-header {
    background: var(--c-bg-hero);
    padding: var(--sp-4xl) 0 var(--sp-3xl);
    position: relative;
    overflow: hidden;
    opacity: 1 !important;
    transform: none !important;
}
.page-header h1 {
    font-size: clamp(32px, 5vw, 50px);
    font-weight: 800;
    color: var(--c-text);
    letter-spacing: -0.035em;
    margin-bottom: var(--sp-md);
    max-width: 680px;
}
.page-header-subtitle,
.page-header p {
    font-size: 18px;
    color: var(--c-text-muted);
    max-width: 560px;
    line-height: 1.6;
}

/* ============================================
   PAGE SECTIONS
   ============================================ */
.page-section {
    background: var(--c-bg);
    border: 1px solid var(--c-border);
    border-radius: var(--r-lg);
    padding: var(--sp-xl);
    margin-bottom: var(--sp-lg);
}
.page-section-title {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}
.page-section hr {
    border: none;
    border-top: 1px solid var(--c-border);
    margin: var(--sp-lg) 0;
}
.copy-body {
    font-size: 16px;
    color: var(--c-text-soft);
    line-height: 1.75;
    margin-bottom: 14px;
}
.copy-body:last-child { margin-bottom: 0; }

/* ============================================
   TABLES
   ============================================ */
table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
    margin-top: var(--sp-md);
    border-radius: var(--r-md);
    overflow: hidden;
    border: 1px solid var(--c-border);
}
th {
    background: var(--c-bg-soft);
    color: var(--c-text);
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.05em;
    padding: 14px 20px;
    text-align: left;
    text-transform: uppercase;
    border-bottom: 2px solid var(--c-border);
}
td {
    padding: 14px 20px;
    border-bottom: 1px solid var(--c-border);
    color: var(--c-text-soft);
}
tr:last-child td { border-bottom: none; }

/* ============================================
   PRICING
   ============================================ */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--sp-md);
    align-items: start;
}
.pricing-card {
    background: var(--c-bg);
    border: 1px solid var(--c-border);
    border-radius: var(--r-lg);
    padding: var(--sp-xl);
    transition: all 0.3s ease;
}
.pricing-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}
.pricing-card--featured {
    border: 2px solid var(--c-primary);
    position: relative;
    box-shadow: var(--shadow-md);
}
.pricing-card--enterprise {
    background: var(--c-text);
    border-color: transparent;
}
.pricing-card--enterprise h3 { color: #fff; }
.pricing-card--enterprise p { color: rgba(255,255,255,0.6); }
.pricing-card .tag { margin-bottom: 14px; }
.pricing-card h3 { font-size: 22px; margin-top: 10px; margin-bottom: 8px; }
.pricing-card > p { font-size: 15px; color: var(--c-text-muted); line-height: 1.6; margin-bottom: 16px; }
.pricing-features { margin: 20px 0; }
.pricing-feature {
    font-size: 14px;
    color: var(--c-text-soft);
    padding: 6px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}
.pricing-feature::before {
    content: '✓';
    color: var(--c-primary);
    font-weight: 800;
    font-size: 14px;
    flex-shrink: 0;
}
.pricing-card--enterprise .pricing-feature { color: rgba(255,255,255,0.6); }

/* ============================================
   LOCALE
   ============================================ */
.card.locale-us { border-left: 3px solid var(--c-blue); }
.card.locale-bd { border-left: 3px solid var(--c-primary); }
.card.locale-ke { border-left: 3px solid var(--c-amber); }
.card.locale-mx { border-left: 3px solid var(--c-coral); }

/* ============================================
   FOOTER — dark, clean
   ============================================ */
.site-footer {
    background: var(--c-bg-dark);
    padding: var(--sp-2xl) 0 0;
    color: #fff;
}
.footer-top { margin-bottom: var(--sp-xl); }
.footer-logo {
    display: inline-block;
    margin-bottom: 12px;
}
.footer-logo .logo-img { height: 28px; }
.footer-tagline { font-size: 14px; color: rgba(255,255,255,0.5); margin-bottom: 8px; }
.footer-description { font-size: 14px; color: rgba(255,255,255,0.3); line-height: 1.65; max-width: 360px; }
.footer-columns {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--sp-xl);
    padding-bottom: var(--sp-xl);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-col h4 {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255,255,255,0.35);
    margin-bottom: 18px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a { font-size: 14px; color: rgba(255,255,255,0.5); }
.footer-col ul a:hover { color: var(--c-primary); }
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    padding: var(--sp-lg) 0;
}
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,0.25); }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { font-size: 13px; color: rgba(255,255,255,0.3); }
.footer-legal a:hover { color: rgba(255,255,255,0.6); }

/* ============================================
   CONTACT FORM
   ============================================ */
.contact-form { max-width: 600px; }
.form-group { margin-bottom: 20px; }
.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--c-text);
    margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--c-border);
    border-radius: var(--r-sm);
    font-size: 15px;
    color: var(--c-text);
    background: var(--c-bg);
    transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--c-primary);
    box-shadow: 0 0 0 3px var(--c-primary-glow);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-consent { font-size: 13px; color: var(--c-text-faint); margin-top: 12px; }

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   RESPONSIVE — 1024px
   ============================================ */
@media (max-width: 1024px) {
    :root { --section-pad: 80px; }
    .modules-grid { grid-template-columns: repeat(2, 1fr); }
    .pricing-grid { grid-template-columns: repeat(2, 1fr); }
    .card-grid-3 { grid-template-columns: repeat(2, 1fr); }
    .footer-columns { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    :root { --section-pad: 64px; }

    .top-bar { display: none; }
    .mobile-toggle { display: flex; }
    .main-nav {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--c-bg);
        flex-direction: column;
        align-items: stretch;
        padding: var(--sp-lg);
        gap: 0;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        overflow-y: auto;
        z-index: 999;
        border-top: 1px solid var(--c-border);
    }
    .main-nav.is-open { transform: translateX(0); }
    .main-nav a {
        display: block;
        padding: 14px 0;
        font-size: 16px;
        border-bottom: 1px solid var(--c-border);
    }
    .main-nav a::after { display: none; }
    .nav-cta { margin: 20px 0 0; text-align: center; width: 100%; border-radius: var(--r-sm); }

    .value-grid { grid-template-columns: 1fr; }
    .value-card + .value-card { border-left: none; }
    .steps-grid { grid-template-columns: 1fr; }
    .modules-grid { grid-template-columns: 1fr; }
    .cta-box { flex-direction: column; text-align: center; padding: var(--sp-xl); }
    .cta-actions { align-items: stretch; }
    .pricing-grid { grid-template-columns: 1fr; }
    .footer-columns { grid-template-columns: 1fr 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .footer-legal { justify-content: center; }
    .page-header { padding: var(--sp-3xl) 0 var(--sp-2xl); }
    .page-section { padding: var(--sp-lg); }
    .card-grid-3, .card-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    :root { --section-pad: 48px; }
    .stat-number { font-size: 40px; }
    .page-section { padding: 20px 16px; }
    .cta-box { padding: var(--sp-lg); }
    .footer-columns { grid-template-columns: 1fr; }
    .hero-ctas, .cta-group { flex-direction: column; align-items: stretch; }
}
