/* ============================================
   COFIELD SOFTWARE SOLUTIONS
   Site Stylesheet
   ============================================ */

/* --- CSS Variables --- */
:root {
    --color-primary: #0f5a5e;
    --color-primary-light: #148a8f;
    --color-primary-dark: #0a3d40;
    --color-secondary: #2563eb;
    --color-tertiary: #7c3aed;
    --color-accent: #f59e0b;

    --color-bg: #fafbfc;
    --color-surface: #ffffff;
    --color-surface-alt: #f1f5f9;
    --color-surface-dark: #0c1e2e;

    --color-text: #1e293b;
    --color-text-muted: #64748b;
    --color-text-light: #94a3b8;
    --color-text-inverse: #f1f5f9;

    --color-border: #e2e8f0;
    --color-border-light: #f1f5f9;

    --color-success: #10b981;
    --color-warning: #f59e0b;
    --color-danger: #ef4444;

    --font-display: 'Instrument Serif', Georgia, serif;
    --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;

    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.12);

    --container-max: 1200px;
    --section-padding: 100px;
}

/* --- Reset & Base --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    color: var(--color-text);
    background: var(--color-bg);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--color-primary-light); }

h1, h2, h3, h4 {
    font-family: var(--font-body);
    font-weight: 600;
    line-height: 1.2;
    color: var(--color-text);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); letter-spacing: -0.02em; }
h3 { font-size: 1.25rem; }

h1 em, h2 em {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 400;
    color: var(--color-primary);
}

/* --- Layout --- */
.page-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.main-content { flex: 1; }

.section-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

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

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

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.25s ease;
    text-decoration: none;
}

.btn-primary {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
}
.btn-primary:hover {
    background: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: transparent;
    color: var(--color-primary);
    border-color: var(--color-primary);
}
.btn-outline:hover {
    background: var(--color-primary);
    color: #fff;
}

.btn-secondary {
    background: var(--color-surface-alt);
    color: var(--color-text);
    border-color: var(--color-border);
}
.btn-secondary:hover {
    background: var(--color-border);
    border-color: var(--color-text-light);
}

.btn-lg { padding: 18px 36px; font-size: 1.05rem; }
.btn-full { width: 100%; }

/* ============================================
   HEADER
   ============================================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(250, 251, 252, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border-light);
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--color-text);
}

.logo-shield {
    flex-shrink: 0;
}

.logo-text {
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: -0.01em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
}

.nav-links a {
    padding: 8px 16px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text-muted);
    border-radius: var(--radius-sm);
    transition: all 0.2s;
}

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

.nav-cta {
    background: var(--color-primary) !important;
    color: #fff !important;
    padding: 10px 20px !important;
    border-radius: var(--radius-md) !important;
}
.nav-cta:hover {
    background: var(--color-primary-dark) !important;
}

/* Mobile Nav */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-text);
    position: relative;
    transition: all 0.3s;
}
.hamburger::before, .hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: var(--color-text);
    transition: all 0.3s;
}
.hamburger::before { top: -7px; }
.hamburger::after { bottom: -7px; }
.hamburger.active { background: transparent; }
.hamburger.active::before { top: 0; transform: rotate(45deg); }
.hamburger.active::after { bottom: 0; transform: rotate(-45deg); }

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 80px 24px 100px;
}

.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(15, 90, 94, 0.08);
    color: var(--color-primary);
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 100px;
    margin-bottom: 24px;
    letter-spacing: 0.02em;
}

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

.hero-sub {
    font-size: 1.15rem;
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 520px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Hero Card */
.hero-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-lg);
}

.card-status {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--color-border-light);
}
.card-status.approved { color: var(--color-success); }

.card-detail {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
}

.card-label {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}
.card-value {
    font-size: 0.9rem;
    font-weight: 600;
}
.card-divider {
    height: 1px;
    background: var(--color-border-light);
    margin: 12px 0;
}

.status-pass { color: var(--color-success); }

/* ============================================
   PAIN POINT SECTION
   ============================================ */
.pain-section {
    padding: var(--section-padding) 0;
    background: var(--color-surface-dark);
    color: var(--color-text-inverse);
}

.pain-section h2 {
    text-align: center;
    color: var(--color-text-inverse);
    margin-bottom: 60px;
}

.pain-section h2 em { color: var(--color-accent); }

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

.stat-card {
    text-align: center;
    padding: 40px 24px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-lg);
}

.stat-number {
    display: block;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--color-accent);
    margin-bottom: 12px;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--color-text-light);
    line-height: 1.5;
}

/* ============================================
   HOW IT WORKS
   ============================================ */
.how-section {
    padding: var(--section-padding) 0;
}

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

.step-card {
    padding: 36px 28px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
}
.step-card:hover {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.step-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-primary);
    opacity: 0.2;
    line-height: 1;
    margin-bottom: 20px;
    letter-spacing: -0.03em;
}

.step-card h3 { margin-bottom: 12px; }
.step-card p { color: var(--color-text-muted); font-size: 0.95rem; }

/* ============================================
   TRUST SECTION
   ============================================ */
.trust-section {
    padding: var(--section-padding) 0;
    background: var(--color-surface-alt);
}

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

.trust-content h2 { margin-bottom: 28px; }

.trust-content p {
    color: var(--color-text-muted);
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.trust-content .btn { margin-top: 16px; }

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    padding: var(--section-padding) 0;
    text-align: center;
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
    color: #fff;
}

.cta-section h2 {
    color: #fff;
    margin-bottom: 16px;
}
.cta-section h2 em { color: rgba(255,255,255,0.8); }

.cta-section p {
    color: rgba(255,255,255,0.75);
    font-size: 1.1rem;
    margin-bottom: 36px;
}

.cta-section .btn-primary {
    background: #fff;
    color: var(--color-primary-dark);
    border-color: #fff;
}
.cta-section .btn-primary:hover {
    background: rgba(255,255,255,0.9);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}

/* ============================================
   PAGE HERO (interior pages)
   ============================================ */
.page-hero {
    padding: 80px 0 60px;
    text-align: center;
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border-light);
}

.page-hero-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(15, 90, 94, 0.08);
    color: var(--color-primary);
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 100px;
    margin-bottom: 24px;
}

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

.page-hero-sub {
    color: var(--color-text-muted);
    font-size: 1.15rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   ABOUT PAGE
   ============================================ */
.about-story { padding: var(--section-padding) 0; }

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: start;
}

.about-content h2 { margin-bottom: 24px; }
.about-content p {
    color: var(--color-text-muted);
    font-size: 1.05rem;
    margin-bottom: 20px;
}

.about-credentials {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.credential-card {
    padding: 32px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    text-align: center;
}

.credential-number {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: -0.03em;
    line-height: 1;
    margin-bottom: 8px;
}

.credential-label {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.5;
}

.credential-card.accent {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
}
.credential-card.accent .credential-label { color: rgba(255,255,255,0.8); }
.credential-card.accent .credential-icon { display: block; margin-bottom: 12px; }

.about-difference { padding: var(--section-padding) 0; background: var(--color-surface-alt); }

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

.diff-card {
    padding: 36px 28px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
}

.diff-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    background: rgba(15,90,94,0.06);
    color: var(--color-primary);
    border-radius: var(--radius-md);
    margin-bottom: 20px;
}

.diff-card h3 { margin-bottom: 12px; }
.diff-card p { color: var(--color-text-muted); font-size: 0.95rem; }

.about-mission {
    padding: var(--section-padding) 0;
}

.mission-block {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.mission-block h2 { margin-bottom: 24px; }

.mission-text {
    font-size: 1.2rem;
    color: var(--color-text-muted);
    line-height: 1.8;
}

/* ============================================
   SERVICES PAGE
   ============================================ */
.product-section {
    padding: var(--section-padding) 0;
}
.product-section.alt {
    background: var(--color-surface-alt);
}

.product-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: start;
}
.product-grid.reverse {
    grid-template-columns: 0.9fr 1.1fr;
    direction: rtl;
}
.product-grid.reverse > * { direction: ltr; }

.product-badge {
    display: inline-block;
    padding: 4px 14px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border-radius: 100px;
    margin-bottom: 16px;
}
.product-badge.primary { background: rgba(15,90,94,0.1); color: var(--color-primary); }
.product-badge.secondary { background: rgba(37,99,235,0.1); color: var(--color-secondary); }
.product-badge.tertiary { background: rgba(124,58,237,0.1); color: var(--color-tertiary); }

.product-content h2 {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    margin-bottom: 4px;
}

.product-headline {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    margin-bottom: 20px;
}

.product-content > p {
    color: var(--color-text-muted);
    font-size: 1.05rem;
    margin-bottom: 32px;
}

/* Feature list */
.feature-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.feature-item svg { flex-shrink: 0; margin-top: 3px; }

.feature-item strong {
    display: block;
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.feature-item span {
    display: block;
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.5;
}

.inline-price {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--color-border);
}

.price-amount {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-text);
    letter-spacing: -0.02em;
}

.price-period {
    font-size: 1rem;
    color: var(--color-text-muted);
    margin-left: 4px;
}

/* Pricing Card */
.pricing-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-md);
}

.pricing-card h3 {
    text-align: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--color-border-light);
}

.pricing-tiers {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

.tier {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    gap: 2px 16px;
    padding: 16px 20px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    transition: all 0.2s;
}

.tier.featured {
    border-color: var(--color-primary);
    background: rgba(15,90,94,0.03);
    position: relative;
}

.tier-badge {
    position: absolute;
    top: -10px;
    right: 16px;
    background: var(--color-primary);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 2px 10px;
    border-radius: 100px;
}

.tier-name {
    font-weight: 600;
    font-size: 1rem;
    grid-column: 1;
    grid-row: 1;
}

.tier-desc {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    grid-column: 1;
    grid-row: 2;
}

.tier-price {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-primary);
    grid-column: 2;
    grid-row: 1 / 3;
    align-self: center;
}
.tier-price span {
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--color-text-muted);
}

.roi-callout {
    padding: 16px;
    background: rgba(16,185,129,0.06);
    border: 1px solid rgba(16,185,129,0.15);
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    color: var(--color-text-muted);
}
.roi-callout strong { color: var(--color-success); }

/* Demo Cards */
.demo-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-md);
}

.demo-header {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--color-text);
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--color-border-light);
}

.demo-extract {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.extract-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.extract-label {
    font-size: 0.8rem;
    color: var(--color-text-light);
    width: 80px;
    flex-shrink: 0;
}

.extract-value {
    font-size: 0.9rem;
    font-weight: 500;
    flex: 1;
}

.extract-confidence {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-success);
    background: rgba(16,185,129,0.08);
    padding: 2px 8px;
    border-radius: 100px;
}

.demo-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--color-success);
    font-weight: 500;
    padding-top: 16px;
    border-top: 1px solid var(--color-border-light);
}

/* PayerPulse Demo */
.pulse-header { color: var(--color-tertiary); }
.pulse-header svg { stroke: var(--color-tertiary); }

.pulse-insight {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 20px;
}

.pulse-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    background: var(--color-surface-alt);
    border-radius: var(--radius-sm);
}

.pulse-payer {
    font-size: 0.85rem;
    font-weight: 600;
    flex: 1;
}

.pulse-code {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    font-family: monospace;
}

.pulse-rate {
    font-size: 0.8rem;
    font-weight: 600;
    padding: 2px 10px;
    border-radius: 100px;
}
.pulse-rate.high { color: var(--color-danger); background: rgba(239,68,68,0.08); }
.pulse-rate.medium { color: var(--color-warning); background: rgba(245,158,11,0.08); }
.pulse-rate.low { color: var(--color-success); background: rgba(16,185,129,0.08); }

.pulse-alert {
    padding: 14px;
    background: rgba(245,158,11,0.06);
    border: 1px solid rgba(245,158,11,0.15);
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    color: var(--color-text-muted);
    line-height: 1.5;
}
.pulse-alert strong { color: var(--color-warning); }

/* Compatibility */
.compat-section {
    padding: var(--section-padding) 0;
    background: var(--color-surface-alt);
}

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

.compat-item {
    padding: 24px;
    text-align: center;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--color-text-muted);
    transition: all 0.2s;
}
.compat-item:hover {
    border-color: var(--color-primary);
    color: var(--color-text);
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-section {
    padding: var(--section-padding) 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: start;
}

.contact-form-wrapper h2 { margin-bottom: 32px; }

/* Forms */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

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

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

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(15,90,94,0.08);
}

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

.form-group .validation-message {
    font-size: 0.8rem;
    color: var(--color-danger);
    margin-top: 4px;
}

.form-success {
    text-align: center;
    padding: 60px 40px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
}
.form-success svg { margin: 0 auto 20px; }
.form-success h3 { margin-bottom: 12px; color: var(--color-primary); }
.form-success p { color: var(--color-text-muted); }

.form-error {
    padding: 12px 16px;
    margin-bottom: 16px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: var(--radius-sm);
    color: var(--color-danger);
    font-size: 0.95rem;
}

/* Contact Info */
.info-card {
    padding: 28px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    margin-bottom: 24px;
}

.info-card h3 { margin-bottom: 20px; }

.info-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin-bottom: 16px;
}
.info-item:last-child { margin-bottom: 0; }

.info-item svg {
    color: var(--color-primary);
    flex-shrink: 0;
    margin-top: 2px;
}

.info-item strong {
    display: block;
    font-size: 0.85rem;
    color: var(--color-text);
}
.info-item span {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.info-card.highlight {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
}
.info-card.highlight h3 { color: #fff; }
.info-card.highlight p { color: rgba(255,255,255,0.8); margin-bottom: 20px; font-size: 0.95rem; }
.info-card.highlight .btn-outline {
    color: #fff;
    border-color: rgba(255,255,255,0.4);
}
.info-card.highlight .btn-outline:hover {
    background: rgba(255,255,255,0.15);
    border-color: #fff;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: var(--color-surface-dark);
    color: var(--color-text-inverse);
    padding: 64px 0 0;
}

.footer-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand .logo-shield {
    margin-bottom: 12px;
}

.footer-brand .logo-text {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 12px;
    color: #fff;
}

.footer-tagline {
    color: var(--color-text-light);
    font-size: 0.95rem;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.footer-col h4 {
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.footer-col a {
    display: block;
    color: var(--color-text-light);
    font-size: 0.9rem;
    padding: 4px 0;
    transition: color 0.2s;
}
.footer-col a:hover { color: #fff; }

.footer-bottom {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 24px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: var(--color-text-light);
}

.footer-location { color: var(--color-text-light); }

/* ============================================
   404 PAGE
   ============================================ */
.not-found {
    text-align: center;
    padding: 120px 24px;
}
.not-found h1 {
    font-size: 6rem;
    font-weight: 800;
    color: var(--color-primary);
    opacity: 0.2;
    margin-bottom: 16px;
}
.not-found p {
    color: var(--color-text-muted);
    font-size: 1.15rem;
    margin-bottom: 32px;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    :root { --section-padding: 72px; }

    .hero { grid-template-columns: 1fr; gap: 48px; padding: 60px 24px 80px; }
    .hero-visual { max-width: 480px; }

    .stat-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
    .steps-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }

    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .about-credentials { flex-direction: row; }
    .about-credentials .credential-card { flex: 1; }

    .product-grid,
    .product-grid.reverse {
        grid-template-columns: 1fr;
        direction: ltr;
        gap: 40px;
    }

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

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

@media (max-width: 768px) {
    :root { --section-padding: 56px; }

    .mobile-toggle { display: block; }

    .nav-links {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--color-surface);
        border-bottom: 1px solid var(--color-border);
        flex-direction: column;
        padding: 16px 24px;
        box-shadow: var(--shadow-md);
    }
    .nav-links.open { display: flex; }
    .nav-links li { width: 100%; }
    .nav-links a { display: block; padding: 12px 16px; }

    .stat-grid { grid-template-columns: 1fr; gap: 16px; }
    .steps-grid { grid-template-columns: 1fr; gap: 16px; }
    .difference-grid { grid-template-columns: 1fr; gap: 16px; }
    .compat-grid { grid-template-columns: repeat(2, 1fr); }
    .form-row { grid-template-columns: 1fr; }

    .about-credentials { flex-direction: column; }

    .footer-links { grid-template-columns: repeat(2, 1fr); }
    .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

@media (max-width: 480px) {
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; }
    .compat-grid { grid-template-columns: 1fr; }
}
