/* ========== MEDICAL PROFESSIONAL DESIGN ========== */
:root {
    --primary: #1E40AF;
    --secondary: #3B82F6;
    --light-blue: #93C5FD;
    --dark: #0F172A;
    --text-main: #334155;
    --text-light: #64748B;
    --bg-light: #F8FAFC;
    --white: #FFFFFF;
    --border: #E2E8F0;
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--text-main);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    user-select: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1rem;
    line-height: 1.3;
}

p { margin-bottom: 1.2rem; }

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }

/* Typography */
h1 { font-size: 28px; }
h2 { font-size: 24px; }
h3 { font-size: 20px; }

@media (min-width: 768px) {
    h1 { font-size: 36px; }
    h2 { font-size: 30px; }
    h3 { font-size: 24px; }
}

@media (min-width: 1024px) {
    h1 { font-size: 48px; }
    h2 { font-size: 36px; }
}

/* Layout */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
section { padding: 80px 0; }
.bg-light { background-color: var(--bg-light); }
.text-center { text-align: center; }

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 15px;
    color: var(--primary);
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--secondary);
    border-radius: 2px;
}

.grid { display: grid; gap: 30px; grid-template-columns: 1fr; }
@media (min-width: 768px) {
    .grid-2 { grid-template-columns: repeat(2, 1fr); }
    .split-layout { display: flex; align-items: center; gap: 50px; }
    .split-layout > div { flex: 1; }
}
@media (min-width: 992px) {
    .grid-3 { grid-template-columns: repeat(3, 1fr); }
    .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* Buttons */
.cta-btn {
    display: inline-block;
    background-color: var(--secondary);
    color: var(--white);
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    text-align: center;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    min-height: 52px;
    line-height: 52px;
    padding: 0 30px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(59, 130, 246, 0.4);
}
.cta-btn:hover { background-color: var(--primary); transform: scale(1.05); box-shadow: 0 6px 15px rgba(30, 64, 175, 0.5); }
.full-btn { width: 100%; display: block; }

/* Animations */
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity 0.8s ease, transform 0.8s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* Navigation */
.navbar {
    position: fixed; top: 0; left: 0; width: 100%;
    background-color: var(--white);
    z-index: 1000;
    border-bottom: 1px solid var(--border);
    transition: padding 0.3s ease;
    padding: 20px 0;
}
.navbar.scrolled { padding: 10px 0; box-shadow: var(--shadow); }
.nav-container { display: flex; justify-content: space-between; align-items: center; }
.logo a { font-family: 'Montserrat', sans-serif; font-size: 24px; font-weight: 700; color: var(--primary); display: flex; align-items: center; gap: 10px;}
.nav-links { display: none; }
.hamburger { display: flex; flex-direction: column; gap: 6px; cursor: pointer; }
.hamburger span { display: block; width: 30px; height: 3px; background: var(--primary); transition: 0.3s; border-radius: 2px;}

.mobile-menu {
    position: fixed; top: 70px; left: -100%; width: 100%; height: calc(100vh - 70px);
    background: var(--white);
    display: flex; flex-direction: column; padding: 40px 20px; gap: 20px;
    transition: left 0.3s ease; z-index: 999;
}
.mobile-menu.active { left: 0; }
.mobile-menu a { font-size: 18px; font-weight: 700; border-bottom: 1px solid var(--border); padding-bottom: 10px; color: var(--text-main);}

@media (min-width: 768px) {
    .hamburger { display: none; }
    .nav-links { display: flex; gap: 40px; }
    .nav-links a { font-size: 16px; font-weight: 600; transition: color 0.3s; }
    .nav-links a:hover { color: var(--secondary); }
}

/* Cards */
.card {
    background: var(--white);
    padding: 40px 30px;
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: all 0.3s ease;
    text-align: center;
    box-shadow: var(--shadow);
}
.card:hover { box-shadow: 0 10px 25px rgba(0,0,0,0.1); transform: translateY(-5px); border-color: var(--light-blue); }

/* Accordion */
.accordion-item { border: 1px solid var(--border); border-radius: 8px; margin-bottom: 10px; overflow: hidden; background: var(--white);}
.accordion-header {
    width: 100%; padding: 20px; background: none; border: none;
    display: flex; justify-content: space-between; align-items: center;
    font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: 700;
    cursor: pointer; text-align: left; color: var(--primary);
}
.accordion-content { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; padding: 0 20px; }
.accordion-item.active .accordion-content { padding-bottom: 20px; }

/* Pricing */
.timer-box { font-size: 40px; font-weight: 700; color: #DC2626; text-align: center; margin-bottom: 30px; font-family: 'Montserrat', sans-serif; background: #FEF2F2; padding: 15px; border-radius: 12px; border: 2px dashed #F87171;}
.price-card { border: 2px solid var(--border); padding: 40px 20px; text-align: center; position: relative; background: var(--white); border-radius: 16px;}
.price-card.popular { border: 3px solid var(--secondary); transform: scale(1.05); z-index: 1; box-shadow: 0 15px 30px rgba(59, 130, 246, 0.15);}
.price-label { position: absolute; top: -15px; left: 50%; transform: translateX(-50%); background: var(--secondary); color: var(--white); padding: 6px 20px; font-weight: 700; font-size: 14px; border-radius: 20px; text-transform: uppercase; }
.price-large { font-size: 50px; font-weight: 700; color: var(--primary); margin: 20px 0; line-height: 1; }

/* Checkmark List */
.check-list { list-style: none; text-align: left; margin: 0 auto; max-width: 500px;}
.check-list li { padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 18px; display: flex; align-items: center; gap: 10px;}

/* Footer */
.footer { background: var(--dark); color: var(--white); padding: 60px 0 30px; text-align: center; }
.footer-links { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; margin-bottom: 30px; }
.footer-links a { color: var(--light-blue); transition: color 0.3s; }
.footer-links a:hover { color: var(--white); }
.footer p { color: var(--text-light); font-size: 14px; margin-bottom: 20px; }

/* Popups */
.scroll-top { position: fixed; bottom: 20px; right: 20px; width: 56px; height: 56px; background: var(--secondary); color: var(--white); border: none; border-radius: 50%; font-size: 24px; cursor: pointer; opacity: 0; pointer-events: none; transition: 0.3s; z-index: 100; box-shadow: var(--shadow);}
.scroll-top.show { opacity: 1; pointer-events: auto; }
.scroll-top:hover { background: var(--primary); }

.purchase-popup { position: fixed; bottom: 20px; left: 20px; background: var(--white); padding: 15px 20px; border-radius: 12px; border-left: 5px solid var(--secondary); box-shadow: 0 10px 25px rgba(0,0,0,0.15); display: flex; align-items: center; gap: 15px; transform: translateY(150%); transition: transform 0.5s ease; z-index: 999; max-width: 350px;}
.purchase-popup.show { transform: translateY(0); }

.exit-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(15, 23, 42, 0.85); display: flex; align-items: center; justify-content: center; z-index: 9999; opacity: 0; pointer-events: none; transition: 0.3s; padding: 20px; }
.exit-overlay.show { opacity: 1; pointer-events: auto; }
.exit-popup { background: var(--white); max-width: 500px; width: 100%; padding: 40px; text-align: center; position: relative; border-radius: 16px; border-top: 6px solid var(--secondary);}
.exit-close { position: absolute; top: 15px; right: 20px; background: none; border: none; font-size: 28px; cursor: pointer; color: var(--text-light);}
