:root {
    --bg-color: #F8FAFC;         /* Soft slate off-white */
    --bg-secondary: #FFFFFF;     /* Pure white for cards */
    --text-color: #1E293B;       /* Dark Slate */
    --text-muted: #64748B;       /* Lighter slate for subtitles */
    --primary: #0284C7;          /* Medical Blue */
    --primary-hover: #0369A1;
    --secondary: #10B981;        /* Healing Green */
    --border-color: #E2E8F0;     /* Light gray border */
    --navbar-bg: rgba(255, 255, 255, 0.9);
}

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

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

h1, h2, h3, h4, .logo span {
    font-family: 'Outfit', sans-serif;
}

/* Background Gradients (Replacing Glows) */
.glow-bg {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(2, 132, 199, 0.08) 0%, rgba(248, 250, 252, 0) 70%);
    top: -200px;
    left: -200px;
    z-index: -1;
    border-radius: 50%;
}
.glow-2 {
    background: radial-gradient(circle, rgba(16, 185, 129, 0.05) 0%, rgba(248, 250, 252, 0) 70%);
    top: 20%;
    right: -200px;
    left: auto;
}

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

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--navbar-bg);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 100;
}
.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 800;
    color: var(--text-color);
}
.logo i {
    color: var(--primary);
}
.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    margin: 0 15px;
    font-weight: 500;
    transition: color 0.3s;
}
.nav-links a:hover {
    color: var(--primary);
}

/* Buttons */
.btn {
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}
.btn-primary {
    background: var(--primary);
    color: #FFF;
}
.btn-primary:hover {
    background: var(--primary-hover);
    box-shadow: 0 4px 15px rgba(2, 132, 199, 0.3);
}
.btn-secondary {
    background: #FFFFFF;
    color: var(--text-color);
    border: 1px solid var(--border-color);
}
.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
}
.btn-outline {
    border: 1px solid var(--primary);
    color: var(--primary);
    background: transparent;
}
.btn-outline:hover {
    background: var(--primary);
    color: #FFF;
}

/* Glass Card => Clinical Card */
.glass-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

/* Hero Section */
.hero {
    padding: 150px 20px 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}
.hero-content {
    flex: 1;
}
.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(2, 132, 199, 0.1);
    border: 1px solid rgba(2, 132, 199, 0.2);
    border-radius: 20px;
    color: var(--primary);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}
.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
}
.hero h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--text-color);
}
.hero p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 30px;
    max-width: 500px;
}
.hero-cta {
    display: flex;
    gap: 15px;
}
.hero-visual {
    flex: 1;
    position: relative;
}

/* Chat Mockup */
.mockup-card {
    max-width: 400px;
    margin: 0 auto;
    overflow: hidden;
}
.mockup-header {
    background: #F1F5F9;
    padding: 15px 20px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
}
.mockup-dots {
    display: flex;
    gap: 6px;
    margin-right: 15px;
}
.mockup-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #CBD5E1;
}
.mockup-dots span:nth-child(1) { background: #FF5F56; }
.mockup-dots span:nth-child(2) { background: #FFBD2E; }
.mockup-dots span:nth-child(3) { background: #27C93F; }
.mockup-title {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 600;
}
.mockup-body {
    padding: 20px;
    background: #FFFFFF;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.chat-bubble {
    max-width: 85%;
    padding: 12px 16px;
    border-radius: 18px;
    font-size: 14px;
    line-height: 1.5;
}
.chat-bubble.bot {
    background: #F1F5F9;
    color: var(--text-color);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}
.chat-bubble.user {
    background: var(--primary);
    color: #FFFFFF;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}
.ai-generating {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary) !important;
    font-weight: 500;
    background: rgba(2, 132, 199, 0.05) !important;
}

/* Stats Section */
.stats {
    padding: 40px 20px;
    position: relative;
    z-index: 10;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}
.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 5px;
}
.stat-label {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Trust Banner */
.trust-banner {
    padding: 20px 20px 60px;
}
.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}
.trust-item {
    text-align: center;
    padding: 15px;
}
.trust-item i {
    font-size: 40px;
    color: var(--primary);
    margin-bottom: 15px;
}
.trust-item h4 {
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 8px;
}
.trust-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Features Section */
.features {
    padding: 80px 20px;
}
.section-header {
    text-align: center;
    margin-bottom: 50px;
}
.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--text-color);
}
.section-header p {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.feature-card {
    padding: 40px 30px;
    transition: transform 0.3s ease;
}
.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}
.feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(2, 132, 199, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: var(--primary);
    margin-bottom: 20px;
}
.feature-card h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}
.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Architecture Section */
.architecture {
    padding: 80px 20px;
}
.arch-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 40px;
    gap: 20px;
    flex-wrap: wrap;
}
.arch-step {
    text-align: center;
    flex: 1;
    min-width: 150px;
}
.arch-step.highlight {
    background: rgba(2, 132, 199, 0.05);
    border: 1px solid var(--primary);
    padding: 20px;
    border-radius: 15px;
}
.arch-icon {
    font-size: 40px;
    color: var(--primary);
    margin-bottom: 15px;
}
.arch-arrow {
    font-size: 30px;
    color: #CBD5E1;
}
.arch-stack {
    display: flex;
    flex-direction: column;
    gap: 15px;
    flex: 1;
    min-width: 200px;
}
.arch-step.small {
    background: #F8FAFC;
    border: 1px solid var(--border-color);
    padding: 15px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-color);
}
.arch-step.small i {
    color: var(--secondary);
    font-size: 20px;
}

/* Roadmap Timeline */
.roadmap {
    padding: 60px 20px;
}
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 0;
}
.timeline::before {
    content: '';
    position: absolute;
    width: 2px;
    background: var(--border-color);
    top: 0;
    bottom: 0;
    left: 20px;
}
.timeline-item {
    position: relative;
    padding-left: 60px;
    margin-bottom: 40px;
}
.timeline-dot {
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #FFFFFF;
    border: 3px solid var(--border-color);
    left: 11px;
    top: 5px;
    z-index: 2;
}
.timeline-dot.active {
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(2, 132, 199, 0.4);
}
.timeline-content {
    padding: 20px;
    border-radius: 15px;
}
.timeline-content h3 {
    margin-top: 0;
    margin-bottom: 5px;
    color: var(--text-color);
}
.timeline-date {
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 15px;
}

/* Team Section */
.team {
    padding: 60px 20px;
}
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}
.team-card {
    text-align: center;
    padding: 40px 20px;
    border-radius: 20px;
    transition: transform 0.3s;
}
.team-card:hover {
    transform: translateY(-10px);
}
.team-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: #F1F5F9;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
}
.team-avatar i {
    font-size: 50px;
    color: #94A3B8;
}
.team-card h3 {
    margin-bottom: 5px;
    color: var(--text-color);
}
.team-role {
    color: var(--primary);
    font-weight: 500;
}

/* About / Technical Profile Section */
.about {
    padding: 80px 20px;
}
.about-card {
    padding: 60px;
    display: flex;
    gap: 50px;
    align-items: center;
}
.about-content {
    flex: 2;
}
.about-content h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}
.about-content p {
    color: var(--text-muted);
    margin-bottom: 30px;
}
.tech-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.tech-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    color: var(--text-color);
}
.tech-list li i {
    color: var(--secondary);
    font-size: 20px;
}
.about-stats {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    border-left: 1px solid var(--border-color);
    padding-left: 50px;
}
.about-stats .stat-item h4 {
    color: var(--text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}
.about-stats .stat-item p {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-color);
}

/* Footer */
footer {
    border-top: 1px solid var(--border-color);
    padding: 60px 20px 20px;
    background: #FFFFFF;
}
.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}
.footer-brand p {
    color: var(--text-muted);
    margin-top: 15px;
    max-width: 300px;
}
.footer-brand strong {
    color: var(--text-color) !important;
}
.footer-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
}
.footer-links a:hover {
    color: var(--primary);
}
.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Floating Chat Widget */
#chat-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}
.chat-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary);
    color: #FFF;
    border: none;
    font-size: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(2, 132, 199, 0.3);
    transition: transform 0.3s;
}
.chat-btn:hover {
    transform: scale(1.1);
}
#chat-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 350px;
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    transform-origin: bottom right;
    transition: all 0.3s ease;
}
#chat-window.hidden {
    opacity: 0;
    transform: scale(0.5);
    pointer-events: none;
}
.chat-header {
    background: var(--primary);
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #FFF;
}
.chat-header-info {
    display: flex;
    align-items: center;
    gap: 10px;
}
.chat-header-info i {
    font-size: 24px;
}
.chat-header-info h4 {
    margin: 0;
    font-size: 14px;
}
.chat-header-info span {
    font-size: 11px;
    color: rgba(255,255,255,0.8);
}
#close-chat {
    background: none;
    border: none;
    color: #FFF;
    font-size: 20px;
    cursor: pointer;
}
.chat-body {
    height: 350px;
    overflow-y: auto;
    background: #F8FAFC;
}
.chat-footer {
    padding: 15px;
    border-top: 1px solid var(--border-color);
    display: flex;
    gap: 10px;
    background: #FFFFFF;
}
.chat-footer input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    outline: none;
    background: #F1F5F9;
    color: var(--text-color);
}
.chat-footer button {
    background: var(--primary);
    color: #FFF;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Animations */
.pulse {
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(2, 132, 199, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(2, 132, 199, 0); }
    100% { box-shadow: 0 0 0 0 rgba(2, 132, 199, 0); }
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 120px;
    }
    .hero-cta {
        justify-content: center;
    }
    .about-card {
        flex-direction: column;
        padding: 30px;
    }
    .about-stats {
        border-left: none;
        border-top: 1px solid var(--border-color);
        padding-left: 0;
        padding-top: 30px;
        width: 100%;
        flex-direction: row;
        justify-content: space-between;
    }
    .nav-links {
        display: none;
    }
    #chat-window {
        width: 300px;
        right: -10px;
    }
    .arch-container {
        flex-direction: column;
    }
    .arch-arrow {
        transform: rotate(90deg);
        margin: 10px 0;
    }
}

/* Language Toggle Button */
.btn-lang {
    background: #F1F5F9;
    color: var(--text-color);
    border: 1px solid var(--border-color);
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}
.btn-lang:hover {
    background: var(--primary);
    color: #FFF;
    border-color: var(--primary);
}
