*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
    --primary: #1a56db;
    --primary-light: #3b82f6;
    --primary-dark: #1e3a5f;
    --secondary: #f59e0b;
    --dark: #0f172a;
    --darker: #020617;
    --text: #1e293b;
    --text-light: #64748b;
    --bg: #f8fafc;
    --white: #ffffff;
    --success: #10b981;
    --danger: #ef4444;
    --warning: #f59e0b;
    --border: #e2e8f0;
    --purple: #8b5cf6;
    --cyan: #06b6d4;
}
html { scroll-behavior: smooth; font-size: 15px; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', sans-serif; color: var(--text); line-height: 1.7; background: var(--white); }
a { color: var(--primary); text-decoration: none; }
img { max-width: 100%; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-sm { max-width: 800px; margin: 0 auto; padding: 0 24px; }

/* Language Toggle */
.lang-toggle { position: fixed; top: 20px; right: 20px; z-index: 1000; background: var(--white); border: 1px solid var(--border); border-radius: 8px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.1); }
.lang-btn { padding: 8px 14px; border: none; background: none; cursor: pointer; font-size: 0.85rem; font-weight: 600; color: var(--text); }
.lang-btn.active { background: var(--primary); color: white; }
.es { display: none; }
body.lang-es .en { display: none !important; }
body.lang-es .es { display: block !important; }
body.lang-es span.es { display: inline !important; }
body.lang-es a.es { display: block !important; }
body.lang-es table.es { display: table !important; }
body.lang-es div.es { display: block !important; }

/* Nav */
.site-nav { background: var(--dark); padding: 0; position: sticky; top: 0; z-index: 100; border-bottom: 1px solid rgba(255,255,255,0.05); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.nav-logo { color: white; font-size: 1.5rem; font-weight: 800; letter-spacing: -0.02em; }
.nav-logo span { color: var(--secondary); }
.nav-links { display: flex; gap: 4px; align-items: center; }
.nav-links a { color: #94a3b8; font-size: 0.85rem; padding: 8px 14px; border-radius: 6px; transition: all 0.15s; font-weight: 500; }
.nav-links a:hover { color: #fff; background: rgba(255,255,255,0.05); }
.nav-links a.active { color: #fff; background: rgba(59,130,246,0.15); }
.nav-cta { background: var(--secondary) !important; color: #000 !important; font-weight: 600 !important; }
.nav-cta:hover { background: #e89300 !important; }
.nav-dropdown { position: relative; }
.nav-dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu { display: none; position: absolute; top: 100%; left: 0; background: var(--dark); border: 1px solid rgba(255,255,255,0.1); border-radius: 8px; min-width: 220px; padding: 8px; box-shadow: 0 10px 40px rgba(0,0,0,0.3); z-index: 200; }
.dropdown-menu a { display: block; padding: 8px 12px; border-radius: 4px; color: #94a3b8; font-size: 0.85rem; }
.dropdown-menu a:hover { background: rgba(255,255,255,0.05); color: #fff; }
.nav-mobile-btn { display: none; background: none; border: none; color: white; font-size: 1.5rem; cursor: pointer; }

/* Hero */
.hero { padding: 100px 0 80px; text-align: center; }
.hero-dark { background: linear-gradient(135deg, var(--dark) 0%, var(--primary-dark) 100%); color: white; }
.hero-gradient { background: linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #1e3a5f 100%); color: white; }
.hero h1 { font-size: 3.2rem; font-weight: 800; line-height: 1.15; margin-bottom: 20px; letter-spacing: -0.03em; }
.hero h1 span { color: var(--secondary); }
.hero .subtitle { font-size: 1.2rem; color: #94a3b8; max-width: 680px; margin: 0 auto 32px; line-height: 1.8; }
.hero-badges { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 28px; }
.hero-badge { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.1); padding: 6px 14px; border-radius: 20px; font-size: 0.8rem; color: #cbd5e1; font-weight: 500; }
.hero-badge.ai { background: linear-gradient(135deg, var(--purple), var(--primary-light)); color: white; border: none; }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-cta a, .hero-cta button { display: inline-flex; align-items: center; gap: 8px; padding: 14px 32px; border-radius: 8px; font-size: 1.05rem; font-weight: 600; border: none; cursor: pointer; transition: all 0.2s; }
.btn-gold { background: var(--secondary); color: #000; }
.btn-gold:hover { background: #e89300; transform: translateY(-1px); }
.btn-outline-white { background: transparent; color: white; border: 1px solid rgba(255,255,255,0.3); }
.btn-outline-white:hover { background: rgba(255,255,255,0.1); }
.btn-primary-solid { background: var(--primary); color: white; }
.btn-primary-solid:hover { background: var(--primary-dark); }

/* Sections */
.section { padding: 80px 0; }
.section-white { background: var(--white); }
.section-gray { background: var(--bg); }
.section-dark { background: var(--dark); color: white; }
.section-darker { background: var(--darker); color: white; }
.section-gradient { background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%); color: white; }
.section h2 { font-size: 2.2rem; font-weight: 800; margin-bottom: 16px; letter-spacing: -0.02em; }
.section h2.center { text-align: center; }
.section .lead { font-size: 1.1rem; color: var(--text-light); max-width: 680px; line-height: 1.8; }
.section .lead.center { text-align: center; margin-left: auto; margin-right: auto; margin-bottom: 48px; }
.section-dark .lead { color: #94a3b8; }

/* Feature Grid */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.feature-card { background: var(--white); border: 1px solid var(--border); border-radius: 12px; padding: 32px; transition: all 0.2s; }
.feature-card:hover { border-color: var(--primary-light); box-shadow: 0 4px 20px rgba(26,86,219,0.08); transform: translateY(-2px); }
.section-dark .feature-card { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.1); }
.section-dark .feature-card:hover { border-color: rgba(59,130,246,0.4); }
.feature-card .icon { font-size: 2.2rem; margin-bottom: 16px; }
.feature-card h3 { font-size: 1.15rem; margin-bottom: 8px; font-weight: 700; }
.feature-card p { font-size: 0.9rem; color: var(--text-light); line-height: 1.7; }
.section-dark .feature-card p { color: #94a3b8; }
.feature-card .replaces { font-size: 0.75rem; color: var(--danger); margin-top: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }
.feature-card ul { list-style: none; margin-top: 12px; }
.feature-card li { padding: 4px 0; font-size: 0.9rem; color: var(--text-light); }
.feature-card li::before { content: "✓ "; color: var(--success); font-weight: 700; }
.section-dark .feature-card li { color: #94a3b8; }

/* AI Badge */
.ai-tag { display: inline-block; background: linear-gradient(135deg, var(--purple), var(--primary-light)); color: white; padding: 2px 8px; border-radius: 10px; font-size: 0.7rem; font-weight: 600; vertical-align: middle; margin-left: 6px; }

/* Module Hero (for individual pages) */
.module-hero { padding: 60px 0 40px; }
.module-hero .overline { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--secondary); font-weight: 600; margin-bottom: 12px; }
.module-hero h1 { font-size: 2.8rem; margin-bottom: 16px; }
.module-hero .subtitle { margin-bottom: 24px; }

/* Comparison Table */
.comparison-table { width: 100%; border-collapse: separate; border-spacing: 0; border-radius: 12px; overflow: hidden; }
.comparison-table th { padding: 14px 16px; text-align: left; background: var(--primary); color: white; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; font-weight: 600; }
.comparison-table td { padding: 12px 16px; border-bottom: 1px solid var(--border); font-size: 0.9rem; }
.comparison-table tr:last-child td { border-bottom: none; }
.comparison-table tr:nth-child(even) td { background: var(--bg); }
.comparison-table td.col-featured { background: rgba(26,86,219,0.12) !important; border-left: 2px solid var(--primary) !important; border-right: 2px solid var(--primary) !important; }
.comparison-table th.col-featured { background: rgba(26,86,219,0.30) !important; border-left: 2px solid var(--primary) !important; border-right: 2px solid var(--primary) !important; }
.price-them { color: var(--danger); font-weight: 600; }
.price-us { color: var(--success); font-weight: 600; }

/* Checklist */
.checklist { list-style: none; }
.checklist li { padding: 8px 0; font-size: 0.95rem; display: flex; align-items: flex-start; gap: 10px; }
.checklist li::before { content: "✓"; color: var(--success); font-weight: 700; font-size: 1.1rem; flex-shrink: 0; }

/* Split Layout */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split-content h2 { font-size: 2rem; }
.split-visual { background: var(--bg); border-radius: 16px; padding: 40px; text-align: center; border: 1px solid var(--border); }

/* Stats Bar */
.stats-bar { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 24px; padding: 40px 0; }
.stat-item { text-align: center; }
.stat-item .num { font-size: 2.5rem; font-weight: 800; color: var(--primary); line-height: 1; }
.section-dark .stat-item .num { color: var(--secondary); }
.stat-item .label { font-size: 0.8rem; color: var(--text-light); margin-top: 4px; text-transform: uppercase; letter-spacing: 0.05em; }
.section-dark .stat-item .label { color: #64748b; }

/* CTA Section */
.cta-section { padding: 80px 0; text-align: center; }
.cta-section h2 { font-size: 2.2rem; margin-bottom: 12px; }
.cta-section p { color: #94a3b8; max-width: 550px; margin: 0 auto 28px; }

/* Footer */
.site-footer { background: var(--darker); color: #64748b; padding: 60px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.site-footer h4 { color: white; margin-bottom: 16px; font-size: 0.9rem; font-weight: 600; }
.site-footer a { color: #64748b; font-size: 0.85rem; display: block; margin-bottom: 8px; transition: color 0.15s; }
.site-footer a:hover { color: white; }
.footer-brand p { font-size: 0.85rem; line-height: 1.6; margin-bottom: 16px; }
.footer-bottom { border-top: 1px solid #1e293b; padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.footer-bottom p { font-size: 0.8rem; }
.veteran-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06); padding: 8px 16px; border-radius: 8px; font-size: 0.8rem; color: #94a3b8; }

/* Responsive */
@media (max-width: 768px) {
    .hero h1 { font-size: 2rem; }
    .module-hero h1 { font-size: 2rem; }
    .nav-links { display: none; }
    .nav-mobile-btn { display: block; }
    .split { grid-template-columns: 1fr; gap: 32px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .feature-grid { grid-template-columns: 1fr; }
    .hero-cta { flex-direction: column; align-items: center; }
    .stats-bar { grid-template-columns: repeat(2, 1fr); }
}
