:root {
    --bg: #F6FAFD;
    --surface: #FFFFFF;
    --primary: #2563EB;
    --cyan: #06B6D4;
    --mint: #10B981;
    --grey-sky: #EDF4F9;
    --navy: #0F172A;
    --grey-steel: #64748B;
    --grad-accent: linear-gradient(135deg, #2563EB, #06B6D4);
    --grad-sec: linear-gradient(135deg, #10B981, #06B6D4);
    --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --shadow-soft: 0 8px 30px rgba(37, 99, 235, 0.08);
    --shadow-hover: 0 12px 40px rgba(37, 99, 235, 0.15);
    --border-rad: 16px;
    --transition: all 0.3s ease;
}

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

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

body {
    font-family: var(--font-main);
    background-color: var(--bg);
    color: var(--navy);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 80px 0;
}

.text-center {
    text-align: center;
}

.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
    text-align: center;
}

.btn-primary {
    background: var(--grad-accent);
    color: var(--surface);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.3);
}

.btn-secondary {
    background: var(--surface);
    color: var(--primary);
    border: 1px solid var(--grey-sky);
    box-shadow: var(--shadow-soft);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    border-color: var(--primary);
}

/* Announcement Bar */
.announcement {
    background: var(--navy);
    color: var(--surface);
    font-size: 0.875rem;
    padding: 10px 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    z-index: 100;
    position: relative;
}

.announcement a {
    color: var(--cyan);
    font-weight: 600;
}

.announcement a:hover {
    color: var(--surface);
}

/* Header */
.header {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 99;
    border-bottom: 1px solid rgba(37, 99, 235, 0.05);
    padding: 16px 0;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--navy);
}

.logo svg {
    width: 24px;
    height: 24px;
    fill: var(--primary);
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-links a {
    font-weight: 500;
    color: var(--grey-steel);
    position: relative;
    padding-bottom: 4px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

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

.nav-links a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    padding: 100px 0 60px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--navy);
    letter-spacing: -0.02em;
}

.hero-content h1 span {
    background: var(--grad-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.125rem;
    color: var(--grey-steel);
    margin-bottom: 32px;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: 16px;
}

.hero-image {
    position: relative;
    border-radius: var(--border-rad);
    overflow: hidden;
    box-shadow: var(--shadow-hover);
}

.hero-image img {
    width: 100%;
    display: block;
    border-radius: var(--border-rad);
}

/* Trusted Partners */
.partners {
    padding: 40px 0;
    background: var(--surface);
    border-top: 1px solid var(--grey-sky);
    border-bottom: 1px solid var(--grey-sky);
}

.partners-strip {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 32px;
    opacity: 0.6;
    filter: grayscale(100%);
}

.partner-logo {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--grey-steel);
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Medical Slot Showcase */
.showcase {
    background: var(--bg);
}

.showcase-header {
    margin-bottom: 40px;
}

.showcase-header h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.game-container {
    background: var(--surface);
    padding: 16px;
    border-radius: 24px;
    border: 2px solid rgba(37, 99, 235, 0.1);
    box-shadow: var(--shadow-hover);
    max-width: 1000px;
    margin: 0 auto;
}

.game-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 16px;
    background: #000;
}

.game-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.game-controls {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 24px;
    padding-bottom: 8px;
}

.game-desc {
    text-align: center;
    color: var(--grey-steel);
    margin-top: 16px;
    font-size: 0.9rem;
}

/* Feature Dashboard */
.features {
    background: var(--surface);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.widget {
    background: var(--surface);
    border: 1px solid var(--grey-sky);
    border-radius: var(--border-rad);
    padding: 32px 24px;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.widget::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--grad-accent);
    opacity: 0;
    transition: var(--transition);
}

.widget:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.widget:hover::before {
    opacity: 1;
}

.widget-icon {
    width: 48px;
    height: 48px;
    background: var(--grey-sky);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--primary);
}

.widget h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.widget p {
    color: var(--grey-steel);
    font-size: 0.95rem;
}

/* Medical Statistics */
.stats {
    background: var(--navy);
    color: var(--surface);
    padding: 100px 0;
    position: relative;
}

.stats-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.1;
    z-index: 0;
}

.stats .container {
    position: relative;
    z-index: 1;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
}

.stat-item h4 {
    font-size: 4rem;
    font-weight: 700;
    background: var(--grad-sec);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 8px;
    line-height: 1;
}

.stat-item p {
    font-size: 1.1rem;
    color: var(--grey-sky);
}

/* Healthcare Timeline */
.timeline-section {
    background: var(--surface);
}

.timeline {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-top: 60px;
    padding-bottom: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 24px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--grey-sky);
    z-index: 1;
}

.timeline-step {
    position: relative;
    z-index: 2;
    text-align: center;
    flex: 1;
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--surface);
    border: 2px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-weight: 700;
    color: var(--primary);
    box-shadow: 0 0 0 8px var(--surface);
}

.timeline-step h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.timeline-step p {
    color: var(--grey-steel);
    font-size: 0.9rem;
    max-width: 200px;
    margin: 0 auto;
}

.timeline-img {
    margin-top: 60px;
    border-radius: var(--border-rad);
    overflow: hidden;
    box-shadow: var(--shadow-hover);
}

/* FAQ Section */
.faq-section {
    background: var(--bg);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--surface);
    border: 1px solid var(--grey-sky);
    border-radius: 12px;
    margin-bottom: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.faq-question {
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--primary);
}

.faq-icon {
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: var(--grey-steel);
}

.faq-item.active .faq-answer {
    padding: 0 24px 24px;
    max-height: 200px;
}

/* Contact Section */
.contact-section {
    background: var(--surface);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    background: var(--bg);
    border-radius: 24px;
    padding: 40px;
    box-shadow: var(--shadow-soft);
}

.contact-info {
    padding-right: 24px;
}

.contact-info h3 {
    font-size: 2rem;
    margin-bottom: 16px;
}

.contact-info p {
    color: var(--grey-steel);
    margin-bottom: 32px;
}

.support-email {
    font-weight: 600;
    color: var(--navy);
    font-size: 1.1rem;
    display: inline-block;
    margin-top: 8px;
    padding: 12px 24px;
    background: var(--grey-sky);
    border-radius: 8px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--navy);
}

.form-group input,
.form-group textarea {
    padding: 16px;
    border: 1px solid var(--grey-sky);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    background: var(--surface);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

/* Footer */
.footer {
    background: var(--surface);
    border-top: 1px solid var(--grey-sky);
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h5 {
    font-size: 1.1rem;
    margin-bottom: 16px;
    color: var(--navy);
}

.footer-col p {
    color: var(--grey-steel);
    font-size: 0.9rem;
    margin-bottom: 24px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--grey-steel);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 4px;
}

.footer-bottom {
    border-top: 1px solid var(--grey-sky);
    padding-top: 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: var(--navy);
}

.footer-logo svg {
    width: 20px;
    height: 20px;
    fill: var(--primary);
}

.footer-disclaimer {
    color: var(--grey-steel);
    font-size: 0.85rem;
    max-width: 800px;
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 24px;
    left: 24px;
    background: var(--surface);
    border: 1px solid var(--primary);
    border-radius: 20px;
    padding: 24px;
    width: 320px;
    box-shadow: var(--shadow-hover);
    z-index: 9999;
    transform: translateY(150%);
    transition: transform 0.3s ease;
}

.cookie-popup.show {
    transform: translateY(0);
}

.cookie-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.cookie-icon {
    font-size: 24px;
}

.cookie-popup h4 {
    font-size: 1.1rem;
}

.cookie-popup p {
    font-size: 0.9rem;
    color: var(--grey-steel);
    margin-bottom: 20px;
}

.cookie-actions {
    display: flex;
    gap: 12px;
}

.cookie-actions button {
    flex: 1;
    padding: 8px 0;
    font-size: 0.9rem;
}

/* Subpages General */
.subpage-hero {
    background: var(--surface);
    padding: 80px 0;
    text-align: center;
    border-bottom: 1px solid var(--grey-sky);
}

.subpage-hero h1 {
    font-size: 3rem;
    margin-bottom: 16px;
    background: var(--grad-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subpage-content {
    background: var(--bg);
    padding: 60px 0;
}

.content-box {
    background: var(--surface);
    padding: 40px;
    border-radius: var(--border-rad);
    box-shadow: var(--shadow-soft);
    max-width: 800px;
    margin: 0 auto;
}

.content-box h2 {
    margin: 32px 0 16px;
    font-size: 1.8rem;
}

.content-box p {
    margin-bottom: 16px;
    color: var(--grey-steel);
}

.content-box ul {
    list-style: disc inside;
    margin-bottom: 24px;
    color: var(--grey-steel);
}

.return-home-container {
    text-align: center;
    margin-top: 40px;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-grid,
    .stats-grid,
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .timeline {
        flex-direction: column;
        gap: 40px;
        margin-top: 40px;
    }
    
    .timeline::before {
        left: 24px;
        top: 0;
        width: 2px;
        height: 100%;
    }
    
    .timeline-step {
        display: flex;
        align-items: center;
        text-align: left;
        gap: 24px;
    }
    
    .step-number {
        margin: 0;
    }
    
    .timeline-step p {
        margin: 0;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none; /* Simplified for prompt constraints */
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .feature-grid,
    .stats-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        padding: 24px;
    }
}