/* ============================================
   SHARED STYLES — Open Enrollment Health
   All landing pages include this file
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #1a1a2e;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ---- HERO ---- */
.hero {
    padding: 50px 20px 80px;
    text-align: center;
    position: relative;
    color: white;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -40px;
    left: 0; right: 0;
    height: 80px;
    background: white;
    clip-path: ellipse(55% 100% at 50% 100%);
}

.hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.3);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 13px;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
}

.hero h1 {
    font-size: clamp(26px, 5vw, 46px);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 16px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero .highlight { color: #4ecdc4; }
.hero .highlight-yellow { color: #f1c40f; }
.hero .highlight-red { color: #ff6b6b; }

.hero p.sub {
    font-size: 18px;
    opacity: 0.9;
    max-width: 550px;
    margin: 0 auto 24px;
}

.trust-row {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 14px;
    opacity: 0.85;
    margin-top: 16px;
}

.trust-row span { display: flex; align-items: center; gap: 5px; }

/* ---- URGENCY BAR ---- */
.urgency-bar {
    background: #e74c3c;
    color: white;
    text-align: center;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.3px;
}

/* ---- FORM CARD ---- */
.form-wrap {
    max-width: 500px;
    margin: -40px auto 40px;
    padding: 0 20px;
    position: relative;
    z-index: 10;
}

.card {
    background: white;
    border-radius: 16px;
    padding: 30px 26px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    border: 1px solid #e8e8e8;
}

.card h2 { font-size: 22px; text-align: center; margin-bottom: 4px; }
.card .sub { text-align: center; color: #666; font-size: 14px; margin-bottom: 22px; }

.fg { margin-bottom: 14px; }
.fg label { display: block; font-weight: 600; font-size: 13px; margin-bottom: 5px; color: #333; }

.fg input, .fg select {
    width: 100%;
    padding: 13px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 16px;
    font-family: inherit;
    transition: border-color .2s;
    background: #fafafa;
}

.fg input:focus, .fg select:focus {
    outline: none;
    border-color: #2980b9;
    background: white;
}

.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.btn-primary {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: transform .2s, box-shadow .2s;
    margin-top: 6px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(231,76,60,0.4);
}

.btn-green {
    background: linear-gradient(135deg, #27ae60, #1e8449);
}

.btn-green:hover {
    box-shadow: 0 8px 25px rgba(39,174,96,0.4);
}

.btn-blue {
    background: linear-gradient(135deg, #2980b9, #1a5276);
}

.btn-blue:hover {
    box-shadow: 0 8px 25px rgba(41,128,185,0.4);
}

.form-fine {
    text-align: center;
    margin-top: 10px;
    font-size: 12px;
    color: #999;
}

.form-fine a { color: #2980b9; }

/* ---- SUCCESS STATE ---- */
.form-success {
    display: none;
    text-align: center;
    padding: 36px 20px;
}

.form-success .big-icon { font-size: 60px; margin-bottom: 12px; }
.form-success h2 { color: #27ae60; margin-bottom: 8px; }
.form-success a { color: #2980b9; font-weight: 600; }

/* ---- SECTIONS ---- */
section { padding: 56px 20px; }

.section-title {
    text-align: center;
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 12px;
}

.section-sub {
    text-align: center;
    color: #666;
    max-width: 520px;
    margin: 0 auto 36px;
    font-size: 15px;
}

/* ---- BENEFIT GRID ---- */
.grid3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.bcard {
    padding: 24px;
    border-radius: 12px;
    border: 1px solid #eee;
    text-align: center;
    transition: box-shadow .2s;
}

.bcard:hover { box-shadow: 0 8px 30px rgba(0,0,0,0.08); }
.bcard .icon { font-size: 34px; margin-bottom: 10px; }
.bcard h3 { font-size: 17px; margin-bottom: 6px; }
.bcard p { color: #666; font-size: 14px; }

/* ---- STAT ROW ---- */
.stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    max-width: 700px;
    margin: 0 auto;
    padding: 40px 20px;
}

.stat { text-align: center; }
.stat .num { font-size: 36px; font-weight: 900; color: #2980b9; }
.stat .lbl { font-size: 13px; color: #666; margin-top: 4px; }

/* ---- TESTIMONIALS ---- */
.testi {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 22px;
    margin-bottom: 14px;
    border-left: 4px solid #2980b9;
}

.testi p { font-style: italic; color: #444; margin-bottom: 6px; }
.testi .who { font-weight: 600; font-size: 14px; color: #222; }

/* ---- CTA BANNER ---- */
.cta-banner {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    padding: 48px 20px;
    text-align: center;
}

.cta-banner h2 { font-size: 26px; margin-bottom: 10px; }
.cta-banner p { font-size: 16px; opacity: .9; margin-bottom: 22px; }

.cta-phone {
    display: inline-block;
    background: white;
    color: #c0392b;
    padding: 14px 34px;
    border-radius: 10px;
    font-size: 22px;
    font-weight: 800;
    text-decoration: none;
    transition: transform .2s;
}

.cta-phone:hover { transform: scale(1.05); }

/* ---- FOOTER ---- */
footer {
    background: #111;
    color: #aaa;
    padding: 28px 20px;
    text-align: center;
    font-size: 13px;
}

footer a { color: #4ecdc4; text-decoration: none; }

.legal {
    margin-top: 10px;
    font-size: 11px;
    color: #555;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* ---- FLOATING CALL ---- */
.float-call {
    display: none;
    position: fixed;
    bottom: 20px; right: 20px;
    background: #27ae60;
    color: white;
    width: 58px; height: 58px;
    border-radius: 50%;
    font-size: 26px;
    text-decoration: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    z-index: 100;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%,100% { box-shadow: 0 4px 15px rgba(0,0,0,0.3); }
    50% { box-shadow: 0 4px 25px rgba(39,174,96,0.6); }
}

/* ---- FAQ ---- */
.faq { max-width: 700px; margin: 0 auto; }

.faq-item {
    border-bottom: 1px solid #eee;
    padding: 16px 0;
}

.faq-q {
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-q::after { content: '+'; font-size: 22px; color: #999; transition: transform .2s; }
.faq-item.open .faq-q::after { transform: rotate(45deg); }

.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
    color: #555;
    font-size: 14px;
    line-height: 1.7;
}

.faq-item.open .faq-a { max-height: 300px; padding-top: 10px; }

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
    .float-call { display: flex; }
    .row2 { grid-template-columns: 1fr; }
    .stats { gap: 24px; }
}

/* ---- BACKGROUNDS ---- */
.bg-blue { background: linear-gradient(135deg, #0a2463 0%, #1e5799 50%, #2980b9 100%); }
.bg-dark { background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%); }
.bg-green { background: linear-gradient(135deg, #1e8449 0%, #27ae60 60%, #2ecc71 100%); }
.bg-purple { background: linear-gradient(135deg, #4a148c 0%, #7b1fa2 50%, #9c27b0 100%); }
.bg-orange { background: linear-gradient(135deg, #e65100 0%, #f57c00 50%, #ff9800 100%); }
.bg-teal { background: linear-gradient(135deg, #00695c 0%, #00897b 50%, #009688 100%); }
.bg-gray { background: #f8f9fa; }

/* ---- CALL CTA CARD ---- */
.call-card {
    background: white;
    border-radius: 16px;
    padding: 36px 28px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    border: 1px solid #e8e8e8;
    text-align: center;
}

.call-card h2 { font-size: 22px; margin-bottom: 6px; }
.call-card .sub { color: #666; font-size: 14px; margin-bottom: 24px; }

.call-btn {
    display: block;
    width: 100%;
    padding: 20px;
    background: linear-gradient(135deg, #27ae60, #1e8449);
    color: white;
    border: none;
    border-radius: 14px;
    font-size: 26px;
    font-weight: 800;
    text-decoration: none;
    text-align: center;
    transition: transform .2s, box-shadow .2s;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
    cursor: pointer;
}

.call-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(39,174,96,0.5);
    color: white;
}

.call-btn .call-label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    opacity: 0.9;
    margin-bottom: 4px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.call-or {
    color: #999;
    font-size: 13px;
    margin: 16px 0;
    position: relative;
}

.call-or::before, .call-or::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 35%;
    height: 1px;
    background: #ddd;
}

.call-or::before { left: 0; }
.call-or::after { right: 0; }

.text-btn {
    display: block;
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #2980b9, #1a5276);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    transition: transform .2s;
    margin-bottom: 10px;
}

.text-btn:hover { transform: translateY(-2px); color: white; }

.call-hours {
    font-size: 12px;
    color: #999;
    margin-top: 12px;
}

.call-pulse {
    animation: callPulse 2s infinite;
}

@keyframes callPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.03); }
}

/* Sticky mobile call bar */
.sticky-call {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #27ae60;
    padding: 12px 20px;
    z-index: 200;
    text-align: center;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
}

.sticky-call a {
    color: white;
    text-decoration: none;
    font-size: 20px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

@media (max-width: 768px) {
    .sticky-call { display: block; }
    .float-call { display: none !important; }
    body { padding-bottom: 60px; }
}

/* state bar */
.states-bar {
    background: #0a2463;
    color: white;
    padding: 30px 20px;
    text-align: center;
}

.states-bar h3 { font-size: 18px; margin-bottom: 10px; }
.states-bar p { opacity: .8; font-size: 13px; max-width: 650px; margin: 0 auto; line-height: 1.8; }
