/* Design System Tokens */
:root {
    --primary: #d32f2f;     /* Warmer, solid red (Standard Medical/Brand Red) */
    --primary-dark: #b71c1c;
    --primary-light: #fff5f5; /* Very soft warm red tint for background */
    --accent: #fbbf24;      /* Vibrant Yellow */
    --accent-hover: #f59e0b;
    --secondary: #ffffff;   /* Pure White */
    --text-white: #ffffff;
    --text-dark: #1e1b4b;
    --text-muted: #6b7280;
    --white: #ffffff;
    --bg-light: #fffafa;    /* Extremely soft red/white background */
    --font-main: 'Outfit', 'Inter', system-ui, -apple-system, sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1);
}

/* Base reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-light);
    -webkit-font-smoothing: antialiased;
}

/* Layout Utilities */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-padding {
    padding: 5rem 0;
}

/* Typography */
h1, h2, h3, h4 {
    line-height: 1.2;
    font-weight: 800;
}

.text-balance {
    text-wrap: balance;
}

/* Hero Section */
.hero {
    background: var(--primary);
    color: var(--text-white);
    padding: 4rem 1rem; /* Slightly less padding to keep content above fold */
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 80vh; /* Ensure hero is the main focus */
    display: flex;
    align-items: center;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to top, rgba(0,0,0,0.1), transparent);
    pointer-events: none;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.logo-container {
    margin-bottom: 2.5rem;
}

.logo-container img {
    height: 120px;
    width: auto;
    border-radius: 1.5rem; /* Rounded corners for the logo as requested */
    display: block;
    margin: 0 auto;
}

.hero h1 {
    font-size: clamp(2.5rem, 8vw, 3.5rem); /* Fluid typography */
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -0.04em;
}

.hero p {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 3rem;
    text-wrap: balance;
}

.cta-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.btn-primary {
    background: #25d366;    /* WhatsApp Green */
    color: #ffffff;
    padding: 1.5rem 3rem;
    border-radius: 1.5rem;
    font-size: 1.5rem;
    font-weight: 900;
    text-decoration: none;
    text-align: center;
    text-transform: uppercase;
    box-shadow: 0 0.625rem 0 0 #128c7e; /* Darker green shadow */
    transition: var(--transition);
    position: relative;
    width: 100%;
    max-width: 500px;
    animation: cta-pulse 2s infinite;
}

@keyframes cta-pulse {
    0% { transform: scale(1); box-shadow: 0 0.625rem 0 0 #128c7e; }
    50% { transform: scale(1.03); box-shadow: 0 0.75rem 20px rgba(37, 211, 102, 0.4); }
    100% { transform: scale(1); box-shadow: 0 0.625rem 0 0 #128c7e; }
}

.btn-primary:hover {
    transform: translateY(-2px);
    background: #128c7e;
}

.btn-primary:active {
    transform: translateY(4px);
    box-shadow: 0 0 0 0 transparent;
}

.btn-subtext {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.8;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--secondary);
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.5); opacity: 0.5; }
    100% { transform: scale(1); opacity: 1; }
}

/* Features/Benefits */
.features {
    background: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-card {
    padding: 2.5rem;
    background: var(--bg-light);
    border-radius: 2rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--secondary);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--white);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--secondary);
    box-shadow: var(--shadow-sm);
}

.feature-card h3 {
    margin-bottom: 1rem;
    color: var(--primary);
    font-size: 1.5rem;
}

.feature-card p {
    color: var(--text-muted);
}

/* Interactive Elements */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
}

.status-open {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.status-closed {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.copy-button {
    cursor: pointer;
    background: var(--white);
    padding: 0.75rem 1rem;
    border-radius: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid rgba(0,0,0,0.05);
    margin: 1rem 0;
    transition: var(--transition);
}

.copy-button:hover {
    background: var(--primary-light);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.copy-button:active {
    transform: scale(0.95);
}

.share-btn {
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 1.25rem 2rem;
    border-radius: 1.25rem;
    font-weight: 800;
    font-size: 1.1rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 2rem;
    transition: var(--transition);
    width: 100%;
    max-width: 320px;
}

.share-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

/* Info Section Refinement */
.info-section {
    background: #fffafa;
    color: var(--text-dark);
    padding: 5rem 0;
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.info-item h2 {
    font-size: 2.25rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.hours-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.hours-list li {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(220, 38, 38, 0.1);
    display: flex;
    justify-content: space-between;
    font-weight: 600;
}

/* Fix for mobile stacking space */
@media (max-width: 968px) {
    .info-grid {
        gap: 4rem;
    }
    
    .info-item:not(:last-child) {
        border-bottom: 1px solid rgba(0,0,0,0.05);
        padding-bottom: 3rem;
    }
}

/* Footer */
footer {
    padding: 4rem 0;
    background: #0a192f;
    color: #94a3b8;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-logo {
    margin-bottom: 2rem;
    filter: grayscale(1) brightness(2);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-links a {
    color: inherit;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
}

.footer-links a:hover {
    color: var(--white);
}

/* Responsive */
@media (max-width: 968px) {
    .hero-grid, .features-grid, .info-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-image {
        order: -1;
        max-width: 300px;
        margin: 0 auto;
    }
}

@media (max-width: 640px) {
    .section-padding {
        padding: 3rem 0;
    }
    
    .btn-primary {
        font-size: 1.25rem;
        padding: 1.25rem 2rem;
    }
    
    .hero {
        min-height: 70vh;
    }
}

@media (max-width: 380px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: #25d366;
    color: white;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 999;
    text-decoration: none;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1) rotate(5deg);
    background: #128c7e;
}

/* Animations */
[data-fade] {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
}

[data-fade].visible {
    opacity: 1;
    transform: translateY(0);
}
