/* ===== CSS RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --primary: #0f766e;
    --primary-dark: #0d6460;
    --primary-mid: #14908a;
    --primary-light: #e6f7f6;
    --accent: #f59e0b;
    --accent-light: #fef3c7;
    --teal-glow: rgba(15,118,110,0.18);
    --text-dark: #0f1c24;
    --text-body: #374151;
    --text-muted: #6b7280;
    --bg-light: #f8fffe;
    --bg-section: #f0fdf9;
    --bg-white: #ffffff;
    --border: #d1fae5;
    --border-subtle: #e5e7eb;
    --shadow-sm: 0 2px 8px rgba(15,118,110,0.08);
    --shadow-md: 0 8px 28px rgba(15,118,110,0.13);
    --shadow-lg: 0 20px 60px rgba(15,118,110,0.2);
    --radius: 14px;
    --radius-lg: 22px;
    --radius-xl: 32px;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-body);
    background: var(--bg-white);
    line-height: 1.6;
    overflow-x: hidden;
}

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.25s ease;
    text-decoration: none;
    white-space: nowrap;
    letter-spacing: 0.01em;
}
.btn-primary {
    background: linear-gradient(135deg, #0f766e 0%, #14908a 50%, #0ea5e9 100%);
    color: #fff;
    box-shadow: 0 4px 18px rgba(15,118,110,0.38);
    position: relative;
    overflow: hidden;
}

/* Shimmer sweep on hover */
.btn-primary::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,0.25), transparent);
    transition: left 0.45s ease;
    pointer-events: none;
}
.btn-primary:hover::after { left: 160%; }

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 32px rgba(15,118,110,0.55);
    background: linear-gradient(135deg, #0d6460 0%, #0f766e 50%, #0284c7 100%);
}
.btn-primary:active { transform: translateY(0); box-shadow: 0 4px 18px rgba(15,118,110,0.38); }

/* Pulse ring animation on the header Register Now button */
#registerBtn {
    animation: btn-pulse 2.8s ease infinite;
}
@keyframes btn-pulse {
    0%   { box-shadow: 0 4px 18px rgba(15,118,110,0.38), 0 0 0 0 rgba(15,118,110,0.45); }
    60%  { box-shadow: 0 4px 18px rgba(15,118,110,0.38), 0 0 0 10px rgba(15,118,110,0); }
    100% { box-shadow: 0 4px 18px rgba(15,118,110,0.38), 0 0 0 0 rgba(15,118,110,0); }
}
#registerBtn:hover { animation: none; }

.btn-secondary {
    background: rgba(255,255,255,0.15);
    color: #fff;
    border: 2px solid rgba(255,255,255,0.5);
    backdrop-filter: blur(6px);
}
.btn-secondary:hover {
    background: #fff;
    color: var(--primary);
    border-color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.btn-large { padding: 17px 44px; font-size: 16px; border-radius: 12px; }

/* Secure Your Spot — bigger on desktop + entrance animation */
#registerBtnHero {
    padding: 20px 56px;
    font-size: 18px;
    border-radius: 14px;
    letter-spacing: 0.02em;
    animation: hero-btn-entrance 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) 0.4s both,
               hero-btn-glow 3s ease 1.2s infinite;
}
@keyframes hero-btn-entrance {
    from { opacity: 0; transform: translateY(16px) scale(0.95); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes hero-btn-glow {
    0%, 100% { box-shadow: 0 4px 18px rgba(15,118,110,0.38), 0 0 0 0 rgba(14,165,233,0.4); }
    50%       { box-shadow: 0 8px 32px rgba(15,118,110,0.55), 0 0 0 12px rgba(14,165,233,0); }
}
#registerBtnHero:hover { animation: none; }
.btn-block { width: 100%; padding: 16px; font-size: 16px; }

/* ===== HEADER ===== */
.header {
    position: sticky;
    top: 0;
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-subtle);
    z-index: 100;
    padding: 14px 0;
    box-shadow: 0 1px 12px rgba(15,118,110,0.06);
}
.header-content { display: flex; align-items: center; justify-content: space-between; }
.logo img { height: 48px; object-fit: contain; }

/* ===== HERO ===== */
.hero {
    background: linear-gradient(135deg, #062522 0%, #0a3d39 30%, #0f766e 65%, #0ea5e9 100%);
    position: relative;
    padding: 80px 0 0;
    overflow: hidden;
    min-height: 560px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Decorative orbs */
.hero::before {
    content: '';
    position: absolute;
    top: -80px; right: 5%;
    width: 520px; height: 520px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(14,165,233,0.18) 0%, transparent 65%);
    pointer-events: none;
}
.hero::after {
    content: '';
    position: absolute;
    bottom: -100px; left: -60px;
    width: 420px; height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(245,158,11,0.1) 0%, transparent 65%);
    pointer-events: none;
}

/* Grid lines decoration */
.hero-grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

.hero .container { position: relative; z-index: 2; width: 100%; flex: 1; }

.hero-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 56px;
    align-items: center;
    padding-bottom: 56px;
}

/* Hero Doctor Image — round */
.hero-doctor {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    position: relative;
    z-index: 2;
}
.hero-doctor-ring {
    padding: 6px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(52,211,153,0.5), rgba(14,165,233,0.3), rgba(245,158,11,0.3));
    box-shadow: 0 0 0 8px rgba(52,211,153,0.08), 0 24px 64px rgba(0,0,0,0.4);
}
.hero-doctor-frame {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid rgba(255,255,255,0.15);
}
.hero-doctor-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}
.hero-doctor-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 50px;
    padding: 8px 18px 8px 12px;
    backdrop-filter: blur(8px);
    white-space: nowrap;
}
.hero-doctor-tag-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #34d399;
    box-shadow: 0 0 0 3px rgba(52,211,153,0.25);
    flex-shrink: 0;
    animation: pulse-dot 2s ease infinite;
}
.hero-doctor-tag strong {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
}
.hero-doctor-tag span {
    font-size: 12px;
    color: rgba(255,255,255,0.55);
}
.hero-doctor-tag span::before {
    content: '·';
    margin: 0 5px;
}

/* Hero Info Bar — full width strip at bottom of hero */
.hero-info-bar {
    border-top: 1px solid rgba(255,255,255,0.1);
    background: rgba(0,0,0,0.2);
    backdrop-filter: blur(8px);
    padding: 0;
}
.hero-info-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0;
}
.hero-info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 28px;
    flex: 1;
    min-width: 160px;
}
.hero-info-item svg { color: #34d399; flex-shrink: 0; }
.hero-info-item strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
}
.hero-info-item span {
    font-size: 12px;
    color: rgba(255,255,255,0.5);
}
.hero-info-divider {
    width: 1px;
    height: 36px;
    background: rgba(255,255,255,0.1);
    flex-shrink: 0;
}
.hero-info-cta {
    gap: 10px;
    flex-direction: column;
    align-items: flex-start;
}
.hero-info-cta span {
    font-size: 12px;
    color: rgba(255,255,255,0.6);
}
.hero-info-cta strong { color: #fbbf24; font-weight: 700; }
.seats-track-sm {
    width: 120px;
    height: 5px;
    background: rgba(255,255,255,0.12);
    border-radius: 99px;
    overflow: hidden;
}
.seats-fill-sm {
    height: 100%;
    width: 72%;
    background: linear-gradient(90deg, #34d399, #f59e0b);
    border-radius: 99px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(245,158,11,0.15);
    border: 1px solid rgba(245,158,11,0.45);
    color: #fbbf24;
    padding: 7px 18px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 22px;
}
.hero-badge::before {
    content: '';
    display: inline-block;
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #f59e0b;
    box-shadow: 0 0 0 3px rgba(245,158,11,0.3);
    animation: pulse-dot 2s ease infinite;
}
@keyframes pulse-dot {
    0%, 100% { box-shadow: 0 0 0 3px rgba(245,158,11,0.3); }
    50%       { box-shadow: 0 0 0 7px rgba(245,158,11,0.08); }
}

.hero-title {
    font-size: clamp(38px, 4.5vw, 60px);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.08;
    margin-bottom: 20px;
    letter-spacing: -1.5px;
}
.hero-title span {
    background: linear-gradient(90deg, #6ee7b7, #34d399);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 17px;
    color: rgba(255,255,255,0.72);
    margin-bottom: 36px;
    max-width: 520px;
    line-height: 1.7;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 42px;
}
.meta-item {
    display: flex;
    align-items: center;
    gap: 9px;
    color: rgba(255,255,255,0.88);
    font-size: 14px;
    font-weight: 500;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    padding: 8px 16px;
    border-radius: 50px;
}
.meta-item svg { color: #34d399; flex-shrink: 0; }

.hero-cta-row {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}
.hero-trust {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,0.6);
    font-size: 13px;
}
.hero-trust-dots {
    display: flex;
    gap: -4px;
}
.hero-trust-dot {
    width: 28px; height: 28px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.3);
    background: linear-gradient(135deg, #6ee7b7, #0f766e);
    margin-left: -8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 700;
    color: #fff;
}
.hero-trust-dot:first-child { margin-left: 0; }

/* Hero Event Card */
.hero-event-card {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    backdrop-filter: blur(12px);
    position: relative;
    overflow: hidden;
}
.hero-event-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, #34d399, #0ea5e9, #f59e0b);
}

.event-card-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #34d399;
    margin-bottom: 18px;
}

.event-card-row {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.event-card-row:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}
.event-card-icon {
    width: 40px; height: 40px;
    border-radius: 10px;
    background: rgba(52,211,153,0.15);
    border: 1px solid rgba(52,211,153,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #34d399;
    flex-shrink: 0;
}
.event-card-info { flex: 1; }
.event-card-info strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 2px;
}
.event-card-info span {
    font-size: 12px;
    color: rgba(255,255,255,0.55);
}

.event-seats-bar {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.08);
}
.seats-label {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: rgba(255,255,255,0.6);
    margin-bottom: 8px;
}
.seats-label strong { color: #fbbf24; }
.seats-track {
    height: 6px;
    background: rgba(255,255,255,0.1);
    border-radius: 99px;
    overflow: hidden;
}
.seats-fill {
    height: 100%;
    width: 72%;
    background: linear-gradient(90deg, #34d399, #f59e0b);
    border-radius: 99px;
}
.seats-note {
    font-size: 11px;
    color: rgba(255,255,255,0.45);
    margin-top: 7px;
    text-align: center;
}

/* ===== STATS BAR ===== */
.stats-bar {
    background: var(--bg-section);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 0;
}
.stats-inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    divide-x: 1px solid var(--border-subtle);
}
.stat-item {
    padding: 28px 24px;
    text-align: center;
    border-right: 1px solid var(--border-subtle);
    position: relative;
}
.stat-item:last-child { border-right: none; }
.stat-number {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -1px;
    line-height: 1;
    margin-bottom: 6px;
}
.stat-label {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
}

/* ===== SECTION COMMONS ===== */
.section-header { text-align: center; margin-bottom: 56px; }
.section-eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--primary);
    background: var(--primary-light);
    padding: 5px 14px;
    border-radius: 50px;
    margin-bottom: 14px;
}
.section-title {
    font-size: clamp(28px, 3.5vw, 42px);
    font-weight: 800;
    color: var(--text-dark);
    letter-spacing: -0.8px;
    margin-bottom: 14px;
    line-height: 1.15;
}
.section-subtitle { font-size: 16px; color: var(--text-muted); max-width: 500px; margin: 0 auto; line-height: 1.7; }

/* ===== SPEAKER SECTION ===== */
.speaker-section { padding: 96px 0; background: var(--bg-section); }
.speaker-card-featured {
    display: flex;
    gap: 64px;
    align-items: center;
    background: #fff;
    border-radius: var(--radius-xl);
    padding: 52px 60px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}
.speaker-card-featured::after {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 300px; height: 300px;
    background: radial-gradient(circle at top right, var(--primary-light) 0%, transparent 60%);
    pointer-events: none;
}
.speaker-image-wrapper { flex-shrink: 0; position: relative; z-index: 1; }
.speaker-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--border);
    box-shadow: 0 0 0 8px var(--primary-light), var(--shadow-md);
}
.speaker-image img { width: 100%; height: 100%; object-fit: cover; }
.speaker-verified {
    position: absolute;
    bottom: 8px; right: 8px;
    width: 36px; height: 36px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #fff;
    color: #fff;
}
.speaker-details { position: relative; z-index: 1; }
.speaker-name { font-size: 28px; font-weight: 800; color: var(--text-dark); margin-bottom: 6px; }
.speaker-title { font-size: 15px; font-weight: 600; color: var(--primary); margin-bottom: 3px; }
.speaker-org {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.speaker-org::before {
    content: '📍';
    font-size: 12px;
}
.speaker-bio { font-size: 15px; line-height: 1.8; color: var(--text-body); margin-bottom: 26px; }
.speaker-credentials { display: flex; flex-wrap: wrap; gap: 10px; }
.credential {
    background: var(--primary-light);
    color: var(--primary-dark);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid var(--border);
}

/* ===== WHAT YOU'LL LEARN ===== */
.learn-section { padding: 96px 0; background: #fff; }
.learn-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.learn-card {
    background: var(--bg-light);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius);
    padding: 32px 30px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.learn-card::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--primary), var(--accent));
    border-radius: 4px 0 0 4px;
    opacity: 0;
    transition: opacity 0.3s;
}
.learn-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--border); }
.learn-card:hover::before { opacity: 1; }
.learn-icon {
    width: 52px; height: 52px;
    background: var(--primary-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin-bottom: 18px;
    transition: all 0.3s;
}
.learn-card:hover .learn-icon {
    background: var(--primary);
    color: #fff;
}
.learn-card h3 { font-size: 17px; font-weight: 700; color: var(--text-dark); margin-bottom: 10px; }
.learn-card p { font-size: 14px; color: var(--text-muted); line-height: 1.7; }

/* ===== CTA SECTION ===== */
.cta-section { padding: 80px 0; background: var(--bg-section); }
.cta-card {
    background: linear-gradient(135deg, #062522 0%, #0f766e 50%, #0ea5e9 100%);
    border-radius: var(--radius-xl);
    padding: 72px 64px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}
.cta-card::before {
    content: '';
    position: absolute;
    top: -60px; right: -60px;
    width: 350px; height: 350px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(245,158,11,0.15) 0%, transparent 65%);
}
.cta-card::after {
    content: '';
    position: absolute;
    bottom: -60px; left: -40px;
    width: 280px; height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(14,165,233,0.12) 0%, transparent 65%);
}
.cta-title { font-size: 36px; font-weight: 800; color: #fff; margin-bottom: 14px; letter-spacing: -0.5px; position: relative; z-index: 1; }
.cta-subtitle { font-size: 17px; color: rgba(255,255,255,0.75); margin-bottom: 40px; position: relative; z-index: 1; }
.cta-perks {
    display: flex;
    justify-content: center;
    gap: 28px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}
.cta-perk {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.82);
    font-size: 14px;
    font-weight: 500;
}
.cta-perk::before {
    content: '✓';
    width: 22px; height: 22px;
    background: rgba(52,211,153,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    color: #34d399;
    flex-shrink: 0;
    line-height: 22px;
    text-align: center;
}

/* ===== FOOTER ===== */
.footer { padding: 36px 0; border-top: 1px solid var(--border-subtle); background: #fff; }
.footer-content { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.footer-logo img { height: 40px; object-fit: contain; }
.footer-text { font-size: 13px; color: var(--text-muted); }

/* ===== MODAL ===== */
.modal { display: none; position: fixed; inset: 0; z-index: 1000; align-items: center; justify-content: center; }
.modal.active { display: flex; }
.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(6, 37, 34, 0.75);
    backdrop-filter: blur(6px);
}
.modal-content {
    position: relative;
    background: #fff;
    border-radius: var(--radius-xl);
    padding: 48px 44px;
    width: 100%;
    max-width: 520px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
    z-index: 1;
    animation: slideUp 0.3s ease;
}
@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
.modal-close {
    position: absolute;
    top: 18px; right: 18px;
    background: var(--bg-section);
    border: none;
    width: 36px; height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: all 0.2s;
}
.modal-close:hover { background: #fee2e2; color: #ef4444; }
.modal-header { margin-bottom: 32px; }
.modal-header h2 { font-size: 24px; font-weight: 800; color: var(--text-dark); margin-bottom: 6px; }
.modal-header p { font-size: 14px; color: var(--text-muted); }

/* ===== FORM ===== */
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 14px; font-weight: 600; color: var(--text-dark); margin-bottom: 8px; }
.required { color: #ef4444; }
.form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-subtle);
    border-radius: 10px;
    font-size: 15px;
    font-family: inherit;
    color: var(--text-dark);
    transition: border-color 0.2s, box-shadow 0.2s;
    background: #fff;
    outline: none;
}
.form-group input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(15,118,110,0.12); }
.form-group input::placeholder { color: #c4cdd6; }
.form-hint { font-size: 12px; color: var(--text-muted); margin-top: 5px; display: block; }
.form-message {
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 16px;
    display: none;
}
.form-message.success { background: #f0fdf4; color: #16a34a; border: 1px solid #bbf7d0; display: block; }
.form-message.error { background: #fef2f2; color: #dc2626; border: 1px solid #fecaca; display: block; }

/* Loader spin */
.btn-loader svg { animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ===== SUCCESS STATE ===== */
.success-state { text-align: center; padding: 20px 0; }
.success-icon {
    width: 72px; height: 72px;
    background: linear-gradient(135deg, #dcfce7, #bbf7d0);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: #16a34a;
}
.success-state h3 { font-size: 22px; font-weight: 800; color: var(--text-dark); margin-bottom: 10px; }
.success-state p { font-size: 15px; color: var(--text-muted); line-height: 1.65; }

/* ===== RESPONSIVE ===== */

/* ── Tablet: 768px – 1100px ── */
@media (max-width: 1100px) {
    .hero-layout { grid-template-columns: 1fr 260px; gap: 36px; }
    .hero-doctor-frame { width: 220px; height: 220px; }
    .hero-info-item { padding: 16px 18px; min-width: 130px; }
}

/* ── Tablet: 768px – 900px ── */
@media (max-width: 900px) {
    .hero-layout { grid-template-columns: 1fr 200px; gap: 28px; }
    .hero-doctor-frame { width: 180px; height: 180px; }
    .hero-info-item { padding: 14px 14px; }
    .hero-info-divider { display: none; }
    .stats-inner { grid-template-columns: repeat(2, 1fr); }
    .stat-item:nth-child(2) { border-right: none; }
    .stat-item:nth-child(3) { border-bottom: 1px solid var(--border-subtle); }
    .speaker-section { padding: 72px 0; }
    .learn-section  { padding: 72px 0; }
    .cta-section    { padding: 60px 0; }
}

/* ── Mobile: ≤ 768px ── */
@media (max-width: 768px) {
    .container { padding: 0 18px; }

    /* Header */
    .logo img { height: 40px; }
    .btn:not(.btn-large):not(.btn-block) { padding: 10px 20px; font-size: 14px; }

    /* Hero — single column, all centered */
    .hero { padding: 48px 0 0; min-height: unset; }
    .hero-layout {
        grid-template-columns: 1fr;
        gap: 28px;
        padding-bottom: 36px;
        text-align: center;
    }

    /* 1. Text block */
    .hero-content { order: 1; }
    .hero-badge { display: inline-flex; }
    .hero-title { font-size: clamp(26px, 7vw, 36px); letter-spacing: -0.5px; margin-bottom: 14px; }
    .hero-subtitle { font-size: 15px; margin-bottom: 0; max-width: 100%; padding-bottom: 10px; }

    /* 2. Doctor image — centered below title */
    .hero-doctor { order: 2; flex-direction: column; align-items: center; gap: 14px; }
    .hero-doctor-frame { width: 250px; height: 250px; }
    .hero-doctor-ring { padding: 4px; }
    .hero-doctor-tag { justify-content: center; }

    /* 3. CTA row — centered */
    .hero-cta-row { order: 3; flex-direction: column; align-items: center; gap: 14px; }
    .hero-cta-row .btn-large { width: 100%; justify-content: center; }
    #registerBtnHero { padding: 16px 28px; font-size: 16px; }
    .hero-trust { font-size: 12px; justify-content: center; }

    /* Info bar — 2×2 grid, centered text */
    .hero-info-bar { position: relative; z-index: 2; }
    .hero-info-row { display: grid; grid-template-columns: 1fr 1fr; }
    .hero-info-item {
        padding: 14px 12px;
        min-width: 0;
        align-items: center;
        justify-content: center;
        text-align: center;
        flex-direction: column;
        gap: 6px;
        border-bottom: 1px solid rgba(255,255,255,0.07);
    }
    .hero-info-item:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.07); }
    .hero-info-item svg { margin: 0 auto; }
    .hero-info-divider { display: none; }
    .hero-info-cta {
        grid-column: 1 / -1;
        flex-direction: column;
        align-items: center;
        gap: 8px;
        padding: 14px 16px;
        border-bottom: none;
        text-align: center;
    }
    .seats-track-sm { width: 140px; }
    .hero-info-item strong { font-size: 13px; }
    .hero-info-item span { font-size: 11px; }

    /* Stats */
    .stat-item { padding: 20px 16px; }
    .stat-number { font-size: 26px; }

    /* Speaker */
    .speaker-section { padding: 60px 0; }
    .speaker-card-featured {
        flex-direction: column;
        padding: 32px 24px;
        gap: 28px;
        text-align: center;
        border-radius: var(--radius-lg);
    }
    .speaker-org { justify-content: center; }
    .speaker-credentials { justify-content: center; }
    .speaker-name { font-size: 24px; }

    /* Learn */
    .learn-section { padding: 60px 0; }
    .section-header { margin-bottom: 40px; }
    .learn-grid { grid-template-columns: 1fr; gap: 16px; }
    .learn-card { padding: 26px 22px; }

    /* CTA */
    .cta-section { padding: 48px 0; }
    .cta-card { padding: 40px 24px; border-radius: var(--radius-lg); }
    .cta-title { font-size: 24px; }
    .cta-subtitle { font-size: 15px; margin-bottom: 28px; }
    .cta-perks { flex-direction: column; align-items: flex-start; gap: 12px; padding: 0 4px; margin-bottom: 32px; }
    .cta-section .btn-large { width: 100%; justify-content: center; }

    /* Modal */
    .modal-content {
        padding: 32px 20px;
        margin: 0 12px;
        max-height: 96vh;
        border-radius: var(--radius-lg);
    }
    .modal-header h2 { font-size: 20px; }

    /* Footer */
    .footer-content { flex-direction: column; align-items: center; text-align: center; gap: 12px; }
}

/* ── Small mobile: ≤ 480px ── */
@media (max-width: 480px) {
    .container { padding: 0 16px; }

    .hero { padding: 40px 0 0; }
    .hero-layout { gap: 20px; padding-bottom: 28px; }
    .hero-title { font-size: 28px; }
    .hero-badge { font-size: 11px; padding: 6px 14px; }
    .hero-doctor-frame { width: 200px; height: 200px; }

    .speaker-image { width: 140px; height: 140px; }
    .speaker-verified { width: 30px; height: 30px; }

    .stats-inner { grid-template-columns: repeat(2, 1fr); }
    .stat-item:nth-child(3) { border-bottom: none; }
    .stat-item:nth-child(4) { border-right: none; }
    .stat-number { font-size: 22px; }
    .stat-label { font-size: 12px; }

    .btn-large { padding: 14px 24px; font-size: 14px; }
    .cta-card { padding: 32px 18px; }
    .cta-title { font-size: 22px; }
}

/* ── Very small: ≤ 360px ── */
@media (max-width: 360px) {
    .hero-title { font-size: 26px; }
    .modal-content { margin: 0 8px; padding: 28px 16px; }
    .hero-doctor-frame { width: 180px; height: 180px; }
}

    .stats-inner { grid-template-columns: repeat(2, 1fr); }
    .stat-item:nth-child(3) { border-bottom: none; }
    .stat-item:nth-child(4) { border-right: none; }
    .stat-number { font-size: 22px; }
    .stat-label { font-size: 12px; }

    .btn-large { padding: 14px 24px; font-size: 14px; }

    .hero-event-card { padding: 24px 18px; }
    .event-card-icon { width: 34px; height: 34px; }

    .cta-card { padding: 32px 18px; }
    .cta-title { font-size: 22px; }


/* ── Very small: ≤ 360px ── */
@media (max-width: 360px) {
    .hero-title { font-size: 28px; }
    .modal-content { margin: 0 8px; padding: 28px 16px; }
    .hero-meta { flex-direction: column; align-items: flex-start; }
}
