/* Custom properties based on the reference image design */
:root {
    --bg-main: #1e3a8a; /* Deep blue base */
    --bg-darker: #111827; /* Near black for bottom gradient */
    --accent-coral: #f43f5e; /* Vibrant button color from screenshot */
    --accent-blue: #93c5fd; /* Light blue for "Health Assistant" text */
    --glass-white: rgba(255, 255, 255, 0.05);
    --border-light: rgba(255, 255, 255, 0.1);
    --text-primary: #ffffff;
    --text-dim: rgba(255, 255, 255, 0.7);
}

/* Global Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-darker);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

/* 1. Navbar: Glassmorphic Floating Pill */
.navbar {
    position: fixed;
    top: 20px;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    justify-content: center;
}

.nav-container {
    width: 90%;
    max-width: 1100px;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(15px);
    border: 1px solid var(--border-light);
    padding: 12px 40px;
    border-radius: 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-weight: 800;
    font-size: 1.3rem;
    color: #93c5fd;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-primary);
    font-size: 0.95rem;
    font-weight: 500;
    transition: 0.3s ease;
}

.nav-links a:hover {
    color: var(--accent-blue);
}

/* 2. Hero Section: Mesh Gradient Background */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 10% 80px;
    background: 
        radial-gradient(circle at 50% 10%, rgba(59, 130, 246, 0.35) 0%, transparent 50%),
        linear-gradient(135deg, #1e40af 0%, #111827 100%);
}

.brand-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 15px rgba(244, 63, 94, 0.4));
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 25px;
}

.cyan-gradient {
    color: var(--accent-blue);
}

.hero-subtext {
    color: var(--text-dim);
    max-width: 800px;
    margin: 0 auto 15px;
    font-size: 1.1rem;
}

/* 3. Hero Feature Grid: Transparent Glass Boxes */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1000px;
    margin: 50px auto;
}

.feature-card-item {
    background: var(--glass-white);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-light);
    padding: 40px 20px;
    border-radius: 24px;
    transition: transform 0.3s ease, background 0.3s ease;
}

.feature-card-item:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.08);
}

.card-icon {
    font-size: 2rem;
    margin-bottom: 15px;
}

/* 4. The Coral Action Button (as seen in screenshot) */
.btn-main {
    display: inline-block;
    background: var(--accent-coral);
    color: white;
    padding: 18px 45px;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 10px 25px rgba(244, 63, 94, 0.3);
    transition: 0.3s ease;
}

.btn-main:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 35px rgba(244, 63, 94, 0.5);
}

/* 5. About Section: Bento Grid */
.about-section {
    padding: 100px 10%;
    background-color: #f8fafc;
    color: #1e293b;
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.underline {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #10b981);
    margin: 0 auto 50px;
    border-radius: 2px;
}

.about-grid {
    display: flex;
    gap: 30px;
    text-align: left;
}

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

.info-card {
    padding: 30px;
    border-radius: 20px;
    position: relative;
}

.crisis-card { background-color: #fff1f2; } 
.solution-card { background-color: #f0f9ff; } 

.about-right {
    flex: 1;
}

.mission-card {
    background-color: #ffffff;
    padding: 40px;
    border-radius: 30px;
    height: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
}

.quote-box {
    margin-top: 30px;
    padding: 20px;
    border-left: 4px solid #3b82f6;
    background-color: #f8fafc;
    border-radius: 0 15px 15px 0;
    font-style: italic;
    font-weight: 600;
}

.card-icon-circle {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.red-bg { background-color: #f43f5e; color: white; }
.blue-bg { background-color: #3b82f6; color: white; }
.highlight-red { color: #e11d48; font-weight: 700; }
.highlight-blue { color: #2563eb; font-weight: 700; }
.text-red { color: #ef4444; }
.text-green { color: #10b981; }

@media (max-width: 900px) {
    .about-grid { flex-direction: column; }
}

/* 6. Waitlist */
.waitlist-section {
    min-height: 100vh;
    padding: 100px 10%;
    background: radial-gradient(circle at 50% 50%, #10b98122 0%, transparent 70%), 
                linear-gradient(135deg, #1e40af 0%, #064e3b 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgb(255, 255, 255);
    text-align: center;
}

.main-waitlist-icon .icon-circle {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    font-size: 2.5rem;
    backdrop-filter: blur(5px);
}

.waitlist-section h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.waitlist-description {
    max-width: 750px;
    margin: 0 auto 50px;
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

.benefit-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 900px;
    margin: 0 auto 60px;
}

.benefit-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px 20px;
    border-radius: 20px;
    transition: transform 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
}

.benefit-icon { font-size: 1.8rem; margin-bottom: 10px; }
.benefit-card h4 { font-size: 1.1rem; margin-bottom: 5px; }
.benefit-card p { font-size: 0.85rem; color: rgba(255, 255, 255, 0.6); }

.btn-waitlist-main {
    background: #ffffff;
    color: #1e40af;
    padding: 16px 40px;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-waitlist-main:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.button-subtext {
    margin-top: 15px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

.red-text { color: #f87171; }
.yellow-text { color: #facc15; }
.green-text { color: #4ade80; }

@media (max-width: 768px) {
    .benefit-grid { grid-template-columns: 1fr; }
}

/* Contact Section Updates */
.contact-section {
    padding: 100px 10%;
    background-color: #f8fafc;
    text-align: center;
}

.contact-section .section-title {
    color: #0f172a; 
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.contact-subheadline {
    color: #64748b;
    margin-bottom: 50px;
    font-size: 1.1rem;
}

.contact-grid {
    display: flex;
    gap: 30px;
    justify-content: center;
    max-width: 1000px;
    margin: 0 auto 60px;
}

.contact-card {
    background: #ffffff;
    flex: 1;
    padding: 40px;
    border-radius: 24px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    text-align: left;
    transition: transform 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
}

/* This targets the address text to make it black */
.contact-card p {
    color: #000000;
}

/* Ensures any email links in the contact cards are also black */
.contact-card p a {
    color: #000000;
    text-decoration: none;
}

.contact-icon-wrapper {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.blue-icon { background-color: #eff6ff; color: #3b82f6; }
.green-icon { background-color: #f0fdf4; color: #10b981; }

.contact-card h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: #0f172a;
}

.slogan-pill {
    display: inline-block;
    background-color: #0d9488;
    color: white;
    padding: 12px 35px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 1rem;
}

/* Footer Styles */
.main-footer {
    background-color: #0f172a;
    color: #94a3b8;
    padding: 30px 10%;
    font-size: 0.85rem;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-logo {
    color: rgb(255, 255, 255);
    font-weight: 700;
    font-size: 1.1rem;
}

.footer-right a {
    color: #94a3b8;
    text-decoration: none;
}

@media (max-width: 768px) {
    .contact-grid { flex-direction: column; }
    .footer-container { flex-direction: column; gap: 15px; text-align: center; }
}