/* === MyCare Landing - Production CSS === */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    --blue-50: #eff6ff; --blue-100: #dbeafe; --blue-200: #bfdbfe;
    --blue-400: #60a5fa; --blue-500: #3b82f6; --blue-600: #2563eb; --blue-900: #1e3a8a;
    --orange-50: #fff7ed; --orange-100: #ffedd5; --orange-200: #fed7aa;
    --orange-400: #fb923c; --orange-500: #f97316; --orange-600: #ea580c;
    --slate-50: #f8fafc; --slate-100: #f1f5f9; --slate-200: #e2e8f0;
    --slate-400: #94a3b8; --slate-500: #64748b; --slate-600: #475569;
    --slate-800: #1e293b; --slate-900: #0f172a;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #fefefe;
    color: var(--slate-800);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    line-height: 1.6;
}

::selection { background: var(--blue-200); color: var(--blue-900); }

/* --- Utility --- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.text-gradient {
    background: linear-gradient(135deg, var(--blue-500), var(--orange-500));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* --- Ambient BG --- */
.ambient-bg {
    position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden;
}
.ambient-blob {
    position: absolute; border-radius: 50%; filter: blur(100px); mix-blend-mode: multiply;
    animation: blobFloat 8s ease-in-out infinite;
}
.ambient-blob.blue { width: 500px; height: 500px; background: rgba(96,165,250,0.12); top: -100px; right: -100px; }
.ambient-blob.orange { width: 400px; height: 400px; background: rgba(251,146,60,0.1); bottom: -50px; left: -80px; animation-delay: 3s; }

@keyframes blobFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(20px, -30px) scale(1.05); }
}

/* --- Glass --- */
.glass {
    background: rgba(255,255,255,0.75);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.6);
}

/* --- Nav --- */
.site-nav {
    position: fixed; top: 0; width: 100%; z-index: 100;
    transition: box-shadow 0.3s, background 0.3s;
}
.site-nav.scrolled { box-shadow: 0 1px 20px rgba(0,0,0,0.06); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-logo img { height: 32px; width: 32px; object-fit: contain; }
.nav-logo span { font-size: 1.25rem; font-weight: 800; color: var(--slate-900); letter-spacing: -0.02em; }
.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-links a { font-size: 0.875rem; font-weight: 600; color: var(--slate-500); text-decoration: none; transition: color 0.2s; }
.nav-links a:hover { color: var(--blue-600); }
.nav-actions { display: flex; align-items: center; gap: 16px; }
.btn-ghost { font-size: 0.875rem; font-weight: 600; color: var(--slate-600); text-decoration: none; transition: color 0.2s; }
.btn-ghost:hover { color: var(--blue-600); }
.btn-primary {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 24px; font-size: 0.875rem; font-weight: 700;
    color: #fff; background: var(--slate-900); border-radius: 100px;
    text-decoration: none; transition: all 0.3s; border: none; cursor: pointer;
}
.btn-primary:hover { background: var(--slate-800); box-shadow: 0 4px 20px rgba(0,0,0,0.12); transform: translateY(-1px); }
.btn-secondary {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 32px; font-size: 1rem; font-weight: 700;
    color: var(--slate-800); background: #fff; border: 2px solid var(--slate-200); border-radius: 100px;
    text-decoration: none; transition: all 0.3s; cursor: pointer;
}
.btn-secondary:hover { border-color: var(--blue-400); color: var(--blue-600); transform: translateY(-2px); }
.btn-hero {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 16px 36px; font-size: 1rem; font-weight: 700;
    color: #fff; background: linear-gradient(135deg, var(--blue-600), var(--blue-500)); border-radius: 100px;
    text-decoration: none; transition: all 0.3s; border: none; cursor: pointer;
    box-shadow: 0 8px 30px rgba(37,99,235,0.25);
}
.btn-hero:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(37,99,235,0.35); }

/* Mobile menu */
.mobile-toggle { display: none; background: none; border: none; padding: 8px; cursor: pointer; color: var(--slate-600); }
.mobile-menu { display: none; }

/* --- Hero --- */
.hero { padding: 140px 0 80px; position: relative; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 14px; border-radius: 100px;
    background: var(--orange-50); border: 1px solid var(--orange-200);
    font-size: 0.75rem; font-weight: 700; color: var(--orange-600);
    margin-bottom: 24px; text-transform: uppercase; letter-spacing: 0.05em;
}
.hero-badge .pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--orange-500); animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

.hero h1 { font-size: clamp(1.75rem, 4vw, 3.2rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.03em; color: var(--slate-900); margin-bottom: 20px; }
.hero p { font-size: 1.15rem; color: var(--slate-500); max-width: 520px; margin-bottom: 32px; line-height: 1.7; font-weight: 500; }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-visual { position: relative; display: flex; justify-content: center; }
.hero-visual img { width: 100%; max-height: 480px; object-fit: contain; animation: heroFloat 6s ease-in-out infinite; filter: drop-shadow(0 20px 40px rgba(0,0,0,0.08)); }
@keyframes heroFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-15px); } }

/* --- Logos --- */
.logos-bar { padding: 40px 0; border-top: 1px solid var(--slate-100); border-bottom: 1px solid var(--slate-100); background: #fff; }
.logos-label { text-align: center; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.15em; color: var(--slate-400); margin-bottom: 24px; }
.logos-row { display: flex; justify-content: center; gap: 48px; align-items: center; flex-wrap: wrap; opacity: 0.5; transition: opacity 0.5s; }
.logos-row:hover { opacity: 1; }
.logos-row span { font-size: 1.25rem; font-weight: 800; color: var(--slate-700); letter-spacing: -0.02em; }

/* --- Features Grid --- */
.features { padding: 100px 0; background: var(--slate-50); }
.section-header { text-align: center; margin-bottom: 64px; }
.section-header h2 { font-size: clamp(2rem, 3.5vw, 3rem); font-weight: 800; color: var(--slate-900); letter-spacing: -0.02em; margin-bottom: 16px; }
.section-header p { font-size: 1.1rem; color: var(--slate-500); max-width: 600px; margin: 0 auto; font-weight: 500; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card {
    background: #fff; padding: 40px; border-radius: 24px;
    border: 1px solid var(--slate-100); transition: all 0.4s;
    box-shadow: 0 0 30px rgba(59,130,246,0.06);
}
.feature-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(59,130,246,0.12); }
.feature-icon {
    width: 56px; height: 56px; border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 24px; transition: all 0.3s;
}
.feature-icon svg { width: 28px; height: 28px; }
.feature-icon.blue { background: var(--blue-50); color: var(--blue-600); }
.feature-icon.orange { background: var(--orange-50); color: var(--orange-600); }
.feature-icon.green { background: #ecfdf5; color: #059669; }
.feature-card:hover .feature-icon.blue { background: var(--blue-600); color: #fff; }
.feature-card:hover .feature-icon.orange { background: var(--orange-500); color: #fff; }
.feature-card:hover .feature-icon.green { background: #059669; color: #fff; }
.feature-card h3 { font-size: 1.35rem; font-weight: 700; color: var(--slate-900); margin-bottom: 12px; }
.feature-card p { font-size: 0.95rem; color: var(--slate-500); line-height: 1.7; }

/* --- Bento --- */
.bento { padding: 80px 0; }
.bento-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.bento-card {
    background: #fff; padding: 48px; border-radius: 32px;
    border: 1px solid var(--slate-100); overflow: hidden;
    position: relative; transition: all 0.4s;
}
.bento-card:hover { box-shadow: 0 20px 50px rgba(0,0,0,0.06); }
.bento-card h3 { font-size: 1.75rem; font-weight: 800; color: var(--slate-900); margin-bottom: 12px; }
.bento-card > p { font-size: 1rem; color: var(--slate-500); margin-bottom: 32px; max-width: 400px; line-height: 1.7; }
.bento-img { width: 100%; height: 220px; border-radius: 16px; overflow: hidden; }
.bento-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.bento-card:hover .bento-img img { transform: scale(1.04); }

/* --- Stats --- */
.stats { padding: 80px 0; background: linear-gradient(135deg, var(--blue-50), var(--orange-50)); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; text-align: center; }
.stat-item h3 { font-size: 2.5rem; font-weight: 800; letter-spacing: -0.03em; margin-bottom: 4px; }
.stat-item h3.blue { color: var(--blue-600); }
.stat-item h3.orange { color: var(--orange-500); }
.stat-item p { font-size: 0.9rem; font-weight: 600; color: var(--slate-500); }

/* --- How it Works --- */
.workflow { padding: 100px 0; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; position: relative; }
.step { text-align: center; position: relative; }
.step-number {
    width: 48px; height: 48px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 1.1rem; margin: 0 auto 16px;
    transition: all 0.3s;
}
.step-number.blue { background: var(--blue-100); color: var(--blue-600); }
.step-number.orange { background: var(--orange-100); color: var(--orange-600); }
.step h4 { font-size: 1.1rem; font-weight: 700; color: var(--slate-900); margin-bottom: 8px; }
.step p { font-size: 0.875rem; color: var(--slate-500); line-height: 1.6; }

/* --- CTA --- */
.cta { padding: 100px 0; }
.cta-card {
    background: #fff;
    background-image: 
        radial-gradient(at 0% 0%, var(--blue-100) 0, transparent 70%), 
        radial-gradient(at 100% 100%, var(--orange-100) 0, transparent 70%);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 40px;
    padding: 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 40px 100px rgba(37, 99, 235, 0.1);
}
.cta-card::before {
    content: ''; position: absolute; top: -100px; right: -100px;
    width: 400px; height: 400px; border-radius: 50%;
    background: var(--blue-200); filter: blur(80px); opacity: 0.6;
}
.cta-card::after {
    content: ''; position: absolute; bottom: -80px; left: -80px;
    width: 300px; height: 300px; border-radius: 50%;
    background: var(--orange-200); filter: blur(60px); opacity: 0.5;
}
.cta-card h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; color: var(--slate-900); margin-bottom: 16px; position: relative; z-index: 1; }
.cta-card > p { font-size: 1.1rem; color: var(--slate-700); margin-bottom: 40px; max-width: 560px; margin-left: auto; margin-right: auto; position: relative; z-index: 1; }
.cta-form { max-width: 420px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; position: relative; z-index: 1; }
.cta-form input, .cta-form select {
    width: 100%; padding: 16px 20px; font-size: 0.95rem;
    background: rgba(255, 255, 255, 0.8); border: 1px solid var(--slate-200);
    border-radius: 14px; color: var(--slate-900); outline: none; transition: all 0.3s;
    font-family: inherit;
}
.cta-form input::placeholder { color: var(--slate-400); }
.cta-form select { color: var(--slate-500); appearance: none; cursor: pointer; }
.cta-form select option { background: #fff; color: var(--slate-900); }
.cta-form input:focus, .cta-form select:focus { border-color: var(--blue-400); background: #fff; box-shadow: 0 0 0 4px var(--blue-50); }
.cta-form button {
    width: 100%; padding: 18px; font-size: 1.1rem; font-weight: 800;
    background: linear-gradient(135deg, var(--blue-600), var(--blue-500));
    color: #fff; border: none; border-radius: 14px;
    cursor: pointer; transition: all 0.3s;
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.2);
}
.cta-form button:hover { transform: translateY(-2px); box-shadow: 0 15px 40px rgba(37, 99, 235, 0.3); filter: brightness(1.1); }
.cta-form button:active { transform: scale(0.98); }
.cta-note { font-size: 0.8rem; color: var(--slate-500); margin-top: 8px; position: relative; z-index: 1; font-weight: 500; }

/* --- Footer --- */
.site-footer { border-top: 1px solid var(--slate-200); padding: 40px 0; background: #fff; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.footer-brand { display: flex; align-items: center; gap: 8px; }
.footer-brand img { height: 24px; width: 24px; opacity: 0.6; filter: grayscale(1); }
.footer-brand span { font-size: 0.875rem; font-weight: 700; color: var(--slate-500); }
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: 0.875rem; font-weight: 600; color: var(--slate-400); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--blue-600); }
.footer-copy { font-size: 0.8rem; color: var(--slate-400); }

/* --- Reveal Animation --- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.active { opacity: 1; transform: translateY(0); }

/* --- Responsive --- */
@media (max-width: 1024px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .hero { padding: 110px 0 50px; }
    .features, .bento, .workflow, .cta, .stats { padding: 60px 0; }
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .hero p { margin-left: auto; margin-right: auto; }
    .hero-cta { justify-content: center; }
    .hero-visual { order: 1; margin-top: 40px; }
    .features-grid { grid-template-columns: 1fr; }
    .bento-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .steps { grid-template-columns: 1fr 1fr; }
    .cta-card { padding: 48px 24px; }
    .nav-links { display: none; }
    .mobile-toggle { display: block; }
    .mobile-menu.open { display: flex; flex-direction: column; gap: 8px; padding: 0 24px 16px; background: rgba(255,255,255,0.95); backdrop-filter: blur(20px); }
    .mobile-menu a { display: block; padding: 10px 16px; border-radius: 12px; font-weight: 600; color: var(--slate-600); text-decoration: none; }
    .mobile-menu a:hover { background: var(--slate-50); color: var(--blue-600); }
    .footer-inner { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .steps { grid-template-columns: 1fr; }
    .hero h1 { font-size: 2.1rem; }
    .hero-cta .btn-hero, .hero-cta .btn-secondary { width: 100%; justify-content: center; }
}
