/* ============================================================
   SecureFuture — Design System (Medicare)
   ============================================================ */

:root {
    /* Primary — Sapphire Blue (Healthcare Trust) */
    --primary-50:  #eff6ff;
    --primary-100: #dbeafe;
    --primary-200: #bfdbfe;
    --primary-300: #93c5fd;
    --primary-400: #60a5fa;
    --primary-500: #3b82f6;
    --primary-600: #2563eb;
    --primary-700: #1d4ed8;
    --primary-800: #1e40af;
    --primary-900: #1e3a8a;

    /* Accent — Warm Coral */
    --accent-50:  #fff7ed;
    --accent-100: #ffedd5;
    --accent-200: #fed7aa;
    --accent-300: #fdba74;
    --accent-400: #fb923c;
    --accent-500: #f97316;
    --accent-600: #ea580c;

    /* Slate Neutrals */
    --slate-50:  #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --slate-900: #0f172a;

    /* Semantic */
    --emerald-500: #10b981;
    --emerald-600: #059669;
    --emerald-100: #d1fae5;
    --red-500:     #ef4444;
    --red-600:     #dc2626;
    --sky-500:     #0ea5e9;
    --sky-600:     #0284c7;
    --violet-500:  #8b5cf6;
    --violet-600:  #7c3aed;
    --rose-500:    #f43f5e;
    --rose-600:    #e11d48;

    --white: #ffffff;

    /* Typography */
    --font-sans: 'Plus Jakarta Sans', 'Inter', system-ui, -apple-system, sans-serif;

    /* Layout */
    --container-max: 1280px;
    --section-py: 100px;
    --radius-sm: 0.5rem;
    --radius-md: 1rem;
    --radius-lg: 1.5rem;
    --radius-xl: 2rem;
    --radius-2xl: 2.5rem;
    --radius-3xl: 3rem;
}

/* ---- Reset ---- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--font-sans);
    background: var(--white);
    color: var(--slate-900);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

.container { max-width: var(--container-max); margin: 0 auto; padding: 0 1.5rem; }
.text-center { text-align: center; }
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.gap-2 { gap: 0.5rem; } .gap-3 { gap: 0.75rem; } .gap-4 { gap: 1rem; }
.gap-5 { gap: 1.25rem; } .gap-6 { gap: 1.5rem; } .gap-8 { gap: 2rem; }
.gap-10 { gap: 2.5rem; } .gap-12 { gap: 3rem; } .gap-16 { gap: 4rem; }
.w-full { width: 100%; }

.grid { display: grid; gap: 2rem; }
.grid-cols-1 { grid-template-columns: 1fr; }
@media (min-width: 640px)  { .sm\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 768px)  { .md\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); } .md\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .lg\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); } .lg\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); } .lg\:grid-cols-4 { grid-template-columns: repeat(4, 1fr); } }

/* ============================================================ NAVIGATION */
.navbar { position: fixed; top: 0; left: 0; width: 100%; z-index: 100; transition: all 0.3s ease; }
.glass-nav { background: rgba(255,255,255,0.82); backdrop-filter: blur(16px) saturate(180%); -webkit-backdrop-filter: blur(16px) saturate(180%); border-bottom: 1px solid rgba(255,255,255,0.3); }
.glass-nav.scrolled { box-shadow: 0 4px 30px rgba(0,0,0,0.06); }
.nav-inner { display: flex; justify-content: space-between; align-items: center; height: 4.5rem; }
.nav-logo { display: flex; align-items: center; gap: 0.75rem; }
.nav-logo-icon { width: 2.5rem; height: 2.5rem; background: linear-gradient(135deg, var(--primary-600), var(--primary-500)); border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; color: var(--white); box-shadow: 0 4px 14px rgba(37,99,235,0.3); }
.nav-logo-text { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.02em; color: var(--slate-900); }
.nav-logo-text span { color: var(--primary-600); }
.nav-links { display: none; align-items: center; gap: 2rem; }
@media (min-width: 768px) { .nav-links { display: flex; } }
.nav-link { font-size: 0.9rem; font-weight: 600; color: var(--slate-600); transition: color 0.2s; position: relative; }
.nav-link::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px; background: var(--primary-600); transition: width 0.3s; }
.nav-link:hover { color: var(--primary-600); }
.nav-link:hover::after { width: 100%; }
.mobile-menu-btn { display: block; background: none; border: none; color: var(--slate-600); cursor: pointer; padding: 0.5rem; }
@media (min-width: 768px) { .mobile-menu-btn { display: none; } }
.mobile-menu { background: var(--white); border-bottom: 1px solid var(--slate-100); box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25); padding: 0.5rem 0 1.5rem; }
.mobile-menu a { display: block; padding: 1rem 1.5rem; font-size: 1.05rem; font-weight: 600; color: var(--slate-700); transition: all 0.2s; }
.mobile-menu a:hover { background: var(--primary-50); color: var(--primary-600); }

/* ============================================================ BUTTONS */
.btn { display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-family: var(--font-sans); border-radius: var(--radius-lg); transition: all 0.3s cubic-bezier(.4,0,.2,1); cursor: pointer; border: none; font-size: 0.9rem; padding: 0.75rem 1.75rem; gap: 0.5rem; }
.btn-primary { background: linear-gradient(135deg, var(--primary-600), var(--primary-500)); color: var(--white); box-shadow: 0 8px 24px rgba(37,99,235,0.25); }
.btn-primary:hover { background: linear-gradient(135deg, var(--primary-700), var(--primary-600)); box-shadow: 0 12px 32px rgba(37,99,235,0.35); transform: translateY(-2px); }
.btn-lg { padding: 1.15rem 2.5rem; font-size: 1.05rem; border-radius: var(--radius-xl); }
.btn-outline { background: var(--white); border: 2px solid var(--slate-200); color: var(--slate-700); }
.btn-outline:hover { border-color: var(--primary-200); color: var(--primary-600); background: var(--primary-50); transform: translateY(-2px); }

/* ============================================================ HERO */
.hero { min-height: 100vh; display: flex; align-items: center; padding-top: 120px; padding-bottom: 60px; position: relative; overflow: hidden; background: linear-gradient(165deg, var(--white) 0%, var(--primary-50) 50%, var(--slate-50) 100%); }
.hero::before { content: ''; position: absolute; top: -200px; right: -200px; width: 600px; height: 600px; background: radial-gradient(circle, rgba(37,99,235,0.08), transparent 70%); border-radius: 50%; }
.hero::after { content: ''; position: absolute; bottom: -100px; left: -150px; width: 400px; height: 400px; background: radial-gradient(circle, rgba(249,115,22,0.06), transparent 70%); border-radius: 50%; }
.hero-content { display: flex; flex-direction: column; gap: 3.5rem; position: relative; z-index: 1; }
@media (min-width: 1024px) { .hero-content { flex-direction: row; align-items: center; gap: 4rem; } }
.hero-text { flex: 1; }
.hero-image { flex: 1; position: relative; }
.hero h1 { font-size: 3rem; font-weight: 800; color: var(--slate-900); line-height: 1.08; margin-bottom: 1.5rem; letter-spacing: -0.03em; }
@media (min-width: 768px) { .hero h1 { font-size: 3.75rem; } }
@media (min-width: 1024px) { .hero h1 { font-size: 4.25rem; } }
.hero h1 .gradient-text { background: linear-gradient(135deg, var(--primary-600), var(--primary-400)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.lead { font-size: 1.15rem; color: var(--slate-500); margin-bottom: 2.5rem; font-weight: 500; line-height: 1.7; max-width: 540px; }
@media (min-width: 768px) { .lead { font-size: 1.25rem; } }
.hero-image-wrapper { position: relative; border-radius: var(--radius-3xl); overflow: hidden; box-shadow: 0 40px 80px -12px rgba(0,0,0,0.18), 0 0 0 1px rgba(255,255,255,0.5); }
.hero-image-wrapper img { width: 100%; height: auto; transition: transform 0.8s cubic-bezier(.4,0,.2,1); }
.hero-image-wrapper:hover img { transform: scale(1.03); }
.hero-floating-card { position: absolute; bottom: 1.5rem; left: 1.5rem; background: rgba(255,255,255,0.85); backdrop-filter: blur(12px); border-radius: var(--radius-xl); padding: 1.25rem 1.5rem; border: 1px solid rgba(255,255,255,0.4); box-shadow: 0 12px 40px rgba(0,0,0,0.1); display: flex; align-items: center; gap: 1rem; animation: floatUp 3s ease-in-out infinite; }
@keyframes floatUp { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.hero-trust-badges { display: flex; align-items: center; gap: 2rem; margin-top: 2rem; flex-wrap: wrap; }
.trust-badge { display: flex; align-items: center; gap: 0.5rem; color: var(--slate-500); font-size: 0.875rem; font-weight: 600; }
.trust-badge-icon { width: 2.25rem; height: 2.25rem; background: var(--white); border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; color: var(--primary-600); border: 1px solid var(--slate-200); box-shadow: 0 2px 8px rgba(0,0,0,0.04); }

/* ============================================================ SECTION HEADERS */
section { padding: var(--section-py) 0; }
.section-label { font-size: 0.85rem; font-weight: 700; color: var(--primary-600); text-transform: uppercase; letter-spacing: 0.2em; margin-bottom: 0.75rem; }
.section-title { font-size: 2.25rem; font-weight: 800; color: var(--slate-900); margin-bottom: 1.25rem; letter-spacing: -0.02em; line-height: 1.15; }
@media (min-width: 768px) { .section-title { font-size: 2.75rem; } }
.section-desc { font-size: 1.1rem; color: var(--slate-500); max-width: 40rem; margin: 0 auto; line-height: 1.7; font-weight: 500; }

/* ============================================================ COVERAGE CARDS */
.coverage-card { background: var(--white); border-radius: var(--radius-2xl); overflow: hidden; border: 1px solid var(--slate-100); transition: all 0.4s cubic-bezier(.4,0,.2,1); position: relative; }
.coverage-card:hover { transform: translateY(-8px); box-shadow: 0 30px 60px -12px rgba(0,0,0,0.12); border-color: var(--primary-100); }
.coverage-card-img { aspect-ratio: 16/10; overflow: hidden; position: relative; }
.coverage-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s cubic-bezier(.4,0,.2,1); }
.coverage-card:hover .coverage-card-img img { transform: scale(1.08); }
.coverage-card-img .card-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(15,23,42,0.5), transparent 50%); }
.coverage-card-body { padding: 2rem 2rem 2.5rem; }
.coverage-icon-box { width: 3.25rem; height: 3.25rem; border-radius: var(--radius-lg); display: flex; align-items: center; justify-content: center; color: var(--white); margin-bottom: 1.25rem; box-shadow: 0 8px 20px rgba(0,0,0,0.1); }
.coverage-card h4 { font-size: 1.35rem; font-weight: 700; color: var(--slate-900); margin-bottom: 0.75rem; }
.coverage-card p { color: var(--slate-500); line-height: 1.7; font-weight: 500; font-size: 0.95rem; }

/* ============================================================ BENEFITS */
.benefits-section { background: linear-gradient(170deg, var(--slate-50) 0%, var(--white) 100%); position: relative; overflow: hidden; }
.benefits-section::before { content: ''; position: absolute; top: 0; right: 0; width: 50%; height: 100%; background: radial-gradient(circle at 70% 30%, rgba(37,99,235,0.04), transparent 60%); }
.split-layout { display: flex; flex-direction: column; gap: 4rem; align-items: center; }
@media (min-width: 1024px) { .split-layout { flex-direction: row; gap: 5rem; } .split-half { width: 50%; } .order-lg-1 { order: 1; } .order-lg-2 { order: 2; } }
.benefit-item { display: flex; gap: 1.25rem; align-items: flex-start; }
.benefit-icon { flex-shrink: 0; width: 3.25rem; height: 3.25rem; background: var(--white); border-radius: var(--radius-lg); border: 1px solid var(--slate-200); display: flex; align-items: center; justify-content: center; color: var(--primary-600); box-shadow: 0 2px 8px rgba(0,0,0,0.04); transition: all 0.3s; }
.benefit-item:hover .benefit-icon { background: var(--primary-600); color: var(--white); border-color: var(--primary-600); box-shadow: 0 8px 24px rgba(37,99,235,0.25); }
.benefit-title { font-size: 1.15rem; font-weight: 700; color: var(--slate-900); margin-bottom: 0.4rem; }
.benefit-desc { color: var(--slate-500); line-height: 1.65; font-weight: 500; font-size: 0.95rem; }
.image-wrapper { position: relative; border-radius: var(--radius-3xl); overflow: hidden; border: 4px solid var(--white); box-shadow: 0 25px 50px -12px rgba(0,0,0,0.18); }
.image-wrapper img { width: 100%; display: block; }

/* ============================================================ CHECK LIST */
.coverage-detail-section { background: var(--white); }
.check-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; max-width: 56rem; margin: 0 auto; }
@media (min-width: 640px) { .check-grid { grid-template-columns: repeat(2, 1fr); } }
.check-item { display: flex; align-items: center; gap: 1rem; padding: 1.25rem 1.5rem; background: var(--slate-50); border-radius: var(--radius-xl); border: 1px solid var(--slate-100); transition: all 0.3s; }
.check-item:hover { border-color: var(--primary-200); box-shadow: 0 4px 16px rgba(37,99,235,0.08); transform: translateY(-2px); }
.check-icon { width: 2.75rem; height: 2.75rem; flex-shrink: 0; background: var(--primary-50); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--primary-600); }
.check-item p { font-weight: 600; color: var(--slate-700); line-height: 1.4; font-size: 0.95rem; }

/* ============================================================ ABOUT */
.about-section { background: var(--white); }
.about-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; margin-top: 2.5rem; }
.about-stat-value { font-size: 2.25rem; font-weight: 800; color: var(--primary-600); margin-bottom: 0.35rem; letter-spacing: -0.02em; }
.about-stat-label { font-size: 0.8rem; font-weight: 700; color: var(--slate-400); text-transform: uppercase; letter-spacing: 0.1em; }

/* ============================================================ CTA */
.cta-section { padding-bottom: 6rem; }
.cta-box { background: linear-gradient(135deg, var(--primary-50) 0%, var(--white) 100%); border: 1px solid var(--primary-100); border-radius: 4rem; padding: 5rem 2.5rem; text-align: center; position: relative; overflow: hidden; }
.cta-box::before { content: ''; position: absolute; top: -50%; right: -20%; width: 500px; height: 500px; background: radial-gradient(circle, rgba(37,99,235,0.06), transparent 70%); border-radius: 50%; }
.cta-content { position: relative; z-index: 1; max-width: 48rem; margin: 0 auto; }
.cta-title { font-size: 2.25rem; font-weight: 800; color: var(--slate-900); margin-bottom: 1.5rem; line-height: 1.15; letter-spacing: -0.02em; }
@media (min-width: 768px) { .cta-title { font-size: 2.75rem; } }
.cta-desc { font-size: 1.15rem; color: var(--slate-500); margin-bottom: 2.5rem; font-weight: 500; line-height: 1.7; }
.cta-fine-print { margin-top: 2rem; color: var(--slate-400); font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; }

/* ============================================================ FOOTER */
footer { background: var(--slate-900); padding: 4rem 0 2.5rem; color: var(--slate-400); }
.footer-simple { display: flex; flex-direction: column; align-items: center; gap: 1.25rem; }

/* ============================================================ ANIMATIONS */
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
.animate-reveal { animation: reveal 0.8s cubic-bezier(.4,0,.2,1) forwards; opacity: 0; transform: translateY(24px); }
@keyframes reveal { to { opacity: 1; transform: translateY(0); } }
.reveal-on-scroll { opacity: 0; transform: translateY(30px); transition: all 0.7s cubic-bezier(.4,0,.2,1); }
.reveal-on-scroll.revealed { opacity: 1; transform: translateY(0); }
[x-cloak] { display: none !important; }

/* ============================================================ RESPONSIVE */
@media (max-width: 767px) {
    :root { --section-py: 64px; }
    .hero h1 { font-size: 2.5rem; }
    .cta-box { border-radius: var(--radius-2xl); padding: 3rem 1.5rem; }
    .hero-floating-card { display: none; }
    footer { padding: 3rem 0 2rem; }
}

/* ============================================================ FEATURE CARDS */
.feature-card { background: var(--slate-50); padding: 2.5rem; border-radius: var(--radius-2xl); border: 1px solid var(--slate-100); transition: all 0.4s; }
.feature-card:hover { box-shadow: 0 20px 48px rgba(0,0,0,0.08); transform: translateY(-6px); }
.feature-card-icon { width: 3.5rem; height: 3.5rem; background: var(--white); border-radius: var(--radius-xl); display: flex; align-items: center; justify-content: center; margin-bottom: 1.5rem; box-shadow: 0 4px 12px rgba(0,0,0,0.04); transition: all 0.3s; }
.feature-card:hover .feature-card-icon { box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
.feature-card h4 { font-size: 1.2rem; font-weight: 700; color: var(--slate-900); margin-bottom: 0.75rem; }
.feature-card p { color: var(--slate-500); line-height: 1.65; font-weight: 500; font-size: 0.93rem; }
.fc-blue { color: var(--primary-600); }
.fc-emerald { color: var(--emerald-600); }
.fc-amber { color: var(--accent-600); }
.fc-sky { color: var(--sky-600); }
.fc-rose { color: var(--rose-500); }
.fc-violet { color: var(--violet-600); }
.feature-card:hover .fc-blue { background: var(--primary-600); color: var(--white); }
.feature-card:hover .fc-emerald { background: var(--emerald-600); color: var(--white); }
.feature-card:hover .fc-amber { background: var(--accent-600); color: var(--white); }
.feature-card:hover .fc-sky { background: var(--sky-600); color: var(--white); }
.feature-card:hover .fc-rose { background: var(--rose-500); color: var(--white); }
.feature-card:hover .fc-violet { background: var(--violet-600); color: var(--white); }
