:root {
    --primary-color: #0F766E;
    --primary-dark: #0D9488;
    --text-main: #111827;
    --text-secondary: #4B5563;
    --bg-light: #F3F4F6;
    --white: #FFFFFF;
    --max-width: 1200px;
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    line-height: 1.5;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.2s;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* Navbar */
.navbar {
    height: 80px;
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid #E5E7EB;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

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

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

.nav-links a {
    font-weight: 500;
    color: var(--text-secondary);
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.btn-login {
    font-weight: 600;
    color: var(--primary-color);
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-1px);
}

.btn-patient {
    background-color: #65A30D;
    /* Patient Green */
    color: var(--white);
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    border: none;
}

.btn-patient:hover {
    background-color: #4D7C0F;
    transform: translateY(-1px);
}

/* Dropdown */
.dropdown {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 4px;
    height: 100%;
}

.dropdown-content {
    position: absolute;
    top: 100%;
    left: -12px;
    background-color: var(--white);
    min-width: 280px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid #E5E7EB;
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px;
    border-radius: 8px;
    color: var(--text-main) !important;
    transition: background-color 0.2s;
}

.dropdown-item:hover {
    background-color: var(--bg-light);
}

.dropdown-item i {
    font-size: 24px;
    color: var(--primary-color);
    margin-top: 2px;
}

.dropdown-item div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.dropdown-item strong {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-main);
}

.dropdown-item span {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.2;
}

.hero-image {
    position: relative;
    display: inline-block;
    /* Wraps image tightly */
}

.hero-caption {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.9);
    padding: 8px 16px;
    border-radius: 99px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    white-space: nowrap;
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

/* Hero */
.hero {
    padding: 80px 0;
    background: linear-gradient(to bottom, #F0FDFA, #FFFFFF);
}

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

.badge {
    display: inline-block;
    background-color: #CCFBF1;
    color: var(--primary-color);
    padding: 6px 12px;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
    color: #111827;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
}

.large {
    padding: 14px 28px;
    font-size: 1.1rem;
}

.btn-secondary {
    background-color: var(--white);
    color: var(--text-main);
    border: 1px solid #D1D5DB;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
}

.btn-secondary:hover {
    background-color: var(--bg-light);
}

.trust-markers {
    display: flex;
    gap: 24px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
}

.trust-markers i {
    color: var(--primary-color);
    margin-right: 4px;
}

.hero-image img {
    width: 100%;
    border-radius: 24px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Features */
.features {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 64px;
}

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

.section-header p {
    font-size: 1.25rem;
    color: var(--text-secondary);
}

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

.feature-card {
    padding: 32px;
    border-radius: 16px;
    background-color: var(--white);
    border: 1px solid #E5E7EB;
    transition: all 0.3s;
}

.feature-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
    border-color: var(--primary-color);
}

.icon-box {
    width: 48px;
    height: 48px;
    background-color: #CCFBF1;
    color: var(--primary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 24px;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
}

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

/* CTA */
.cta-section {
    padding: 100px 0;
}

.cta-box {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 64px;
    border-radius: 32px;
    text-align: center;
}

.cta-box h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.cta-box p {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 32px;
}

.btn-light {
    background-color: var(--white);
    color: var(--primary-color);
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 700;
    display: inline-block;
}

.btn-light:hover {
    background-color: #F0FDFA;
}

/* Footer */
footer {
    padding: 64px 0 32px;
    border-top: 1px solid #E5E7EB;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-secondary);
}

.socials {
    display: flex;
    gap: 16px;
    font-size: 20px;
}

/* Mobile */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .trust-markers {
        justify-content: center;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }
}