/* Shared Styles for Bed Registry */

/* HERO */
.hero { padding: 140px 2rem 80px; background: #fff; position: relative; overflow: hidden; }
.hero::after { content: ''; position: absolute; top: 0; right: 0; width: 45%; height: 100%; background: var(--off-white); z-index: 0; }
.hero-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; position: relative; z-index: 1; }
.hero-text { max-width: 520px; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 0.8rem; color: var(--coral); font-weight: 500; margin-bottom: 1.25rem; letter-spacing: 0.03em; text-transform: uppercase; }
.hero-eyebrow::before { content: ''; width: 32px; height: 3px; background: var(--coral); border-radius: 2px; }
.hero h1 { font-family: var(--font-display); font-size: 2.75rem; font-weight: 400; color: var(--navy); line-height: 1.2; margin-bottom: 1.25rem; letter-spacing: -0.5px; }
.hero h1 em { font-style: italic; color: var(--coral); }
.hero p { font-size: 1.1rem; color: var(--text-secondary); line-height: 1.7; margin-bottom: 2rem; }
.hero-search { display: flex; gap: 8px; margin-bottom: 1rem; }
.hero-search input { flex: 1; padding: 14px 18px; font-size: 1rem; font-family: var(--font-body); border: 1.5px solid var(--border); border-radius: 8px; background: #fff; color: var(--text); outline: none; transition: border-color 0.2s; }
.hero-search input:focus { border-color: var(--navy); }
.hero-search input::placeholder { color: var(--text-muted); }
.hero-search button { padding: 14px 28px; font-size: 0.95rem; font-family: var(--font-body); font-weight: 500; background: var(--coral); color: #fff; border: none; border-radius: 8px; cursor: pointer; transition: background 0.2s; white-space: nowrap; }
.hero-search button:hover { background: var(--coral-dark); }
.hero-search-note { font-size: 0.8rem; color: var(--text-muted); }

.hero-cards { display: flex; flex-direction: column; gap: 10px; }
.facility-preview { background: #fff; border-radius: 10px; padding: 16px 20px; border: 1px solid var(--border); border-left: 4px solid var(--sage); position: relative; transition: transform 0.2s, box-shadow 0.2s; }
.facility-preview:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(26,58,92,0.08); }
.facility-preview.full { border-left-color: var(--red); }
.facility-preview.pending { border-left-color: var(--text-muted); }
.fp-header { display: flex; justify-content: space-between; align-items: start; margin-bottom: 6px; }
.fp-name { font-size: 0.95rem; font-weight: 500; color: var(--navy); }
.fp-badge { font-size: 0.7rem; font-weight: 500; padding: 3px 10px; border-radius: 20px; }
.badge-available { background: var(--sage-light); color: var(--sage-dark); }
.badge-full { background: var(--red-light); color: var(--red); }
.fp-meta { font-size: 0.8rem; color: var(--text-secondary); }
.fp-details { display: flex; gap: 16px; margin-top: 8px; font-size: 0.78rem; color: var(--text-muted); }
.fp-details span { display: flex; align-items: center; gap: 4px; }
.fp-pulse { position: absolute; top: 16px; right: 16px; }
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sage); }
.facility-preview.full .pulse-dot { background: var(--red); }

/* STATS BAR */
.stats-bar { background: var(--navy); padding: 3rem 2rem; }
.stats-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.stat-item { text-align: center; }
.stat-num { font-family: var(--font-display); font-size: 2.25rem; font-weight: 400; color: #fff; margin-bottom: 4px; }
.stat-label { font-size: 0.85rem; color: var(--sky-light); }

/* SECTION STYLES */
.section { padding: 5rem 2rem; }
.section-alt { background: var(--off-white); }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-header { max-width: 600px; margin-bottom: 3rem; }
.section-header .eyebrow { font-size: 0.75rem; font-weight: 500; color: var(--coral); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.75rem; }
.section-header h2 { font-family: var(--font-display); font-size: 2rem; font-weight: 400; color: var(--navy); line-height: 1.3; margin-bottom: 0.75rem; }
.section-header p { font-size: 1rem; color: var(--text-secondary); line-height: 1.6; }

/* HOW IT WORKS */
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.how-step { position: relative; padding: 2rem; border-radius: 12px; border: 1px solid var(--border); background: #fff; transition: border-color 0.2s; }
.how-step:hover { border-color: var(--sky); }
.how-num { font-family: var(--font-display); font-size: 3rem; font-weight: 300; color: var(--off-white); position: absolute; top: 12px; right: 16px; line-height: 1; }
.how-icon { width: 44px; height: 44px; border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; font-size: 1.2rem; }
.how-icon.verify { background: #EEF3FF; color: var(--navy); }
.how-icon.search { background: var(--sage-light); color: var(--sage); }
.how-icon.alert { background: #FFF3EE; color: var(--coral); }
.how-step h3 { font-size: 1.05rem; font-weight: 500; color: var(--navy); margin-bottom: 0.5rem; }
.how-step p { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.6; }

/* AUDIENCE CARDS */
.audience-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.audience-card { background: #fff; border-radius: 12px; border: 1px solid var(--border); padding: 2.5rem 2rem; transition: all 0.25s; position: relative; overflow: hidden; }
.audience-card:hover { border-color: var(--navy); transform: translateY(-4px); box-shadow: 0 12px 32px rgba(26,58,92,0.1); }
.audience-card::after { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--navy); opacity: 0; transition: opacity 0.25s; }
.audience-card:hover::after { opacity: 1; }
.ac-icon { width: 48px; height: 48px; border-radius: 12px; background: var(--off-white); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; margin-bottom: 1.25rem; }
.audience-card h3 { font-size: 1.15rem; font-weight: 500; color: var(--navy); margin-bottom: 0.5rem; }
.audience-card p { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.6; margin-bottom: 1.5rem; }
.ac-features { list-style: none; margin-bottom: 1.5rem; }
.ac-features li { font-size: 0.85rem; color: var(--text-secondary); padding: 6px 0; display: flex; align-items: center; gap: 8px; }
.ac-features li::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--sage); flex-shrink: 0; }
.ac-link { font-size: 0.9rem; font-weight: 500; color: var(--coral); display: inline-flex; align-items: center; gap: 6px; transition: gap 0.2s; }
.ac-link:hover { gap: 10px; }

/* TRUST SECTION */
.trust-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.trust-content h2 { font-family: var(--font-display); font-size: 2rem; font-weight: 400; color: var(--navy); line-height: 1.3; margin-bottom: 1rem; }
.trust-content p { font-size: 1rem; color: var(--text-secondary); line-height: 1.7; margin-bottom: 1.5rem; }
.trust-points { display: flex; flex-direction: column; gap: 1rem; }
.trust-point { display: flex; gap: 12px; align-items: start; }
.trust-check { width: 24px; height: 24px; border-radius: 50%; background: var(--sage-light); color: var(--sage); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 0.7rem; font-weight: 600; margin-top: 2px; }
.trust-point p { font-size: 0.92rem; color: var(--text-secondary); line-height: 1.5; }
.trust-point strong { color: var(--navy); font-weight: 500; }
.trust-visual { background: var(--off-white); border-radius: 16px; padding: 2.5rem; }
.trust-stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.trust-stat { background: #fff; border-radius: 10px; padding: 1.25rem; border: 1px solid var(--border); }
.trust-stat .ts-num { font-family: var(--font-display); font-size: 1.75rem; font-weight: 400; color: var(--navy); }
.trust-stat .ts-label { font-size: 0.8rem; color: var(--text-muted); margin-top: 2px; }
.trust-stat .ts-bar { height: 4px; border-radius: 2px; background: var(--off-white); margin-top: 10px; overflow: hidden; }
.trust-stat .ts-bar-fill { height: 100%; border-radius: 2px; }

/* CTA SECTION */
.cta-section { background: var(--navy); padding: 5rem 2rem; text-align: center; position: relative; overflow: hidden; }
.cta-section::before { content: ''; position: absolute; top: -50%; right: -10%; width: 400px; height: 400px; border-radius: 50%; background: rgba(91,140,181,0.1); }
.cta-section::after { content: ''; position: absolute; bottom: -30%; left: -5%; width: 300px; height: 300px; border-radius: 50%; background: rgba(232,93,58,0.08); }
.cta-inner { position: relative; z-index: 1; max-width: 600px; margin: 0 auto; }
.cta-section h2 { font-family: var(--font-display); font-size: 2rem; font-weight: 400; color: #fff; margin-bottom: 0.75rem; }
.cta-section p { font-size: 1.05rem; color: var(--sky-light); margin-bottom: 2rem; line-height: 1.6; }
.cta-buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn-primary { padding: 14px 32px; font-size: 0.95rem; font-family: var(--font-body); font-weight: 500; background: var(--coral); color: #fff; border: none; border-radius: 8px; cursor: pointer; transition: background 0.2s; text-decoration: none; display: inline-block; }
.btn-primary:hover { background: var(--coral-dark); }
.btn-outline { padding: 14px 32px; font-size: 0.95rem; font-family: var(--font-body); font-weight: 500; background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.25); border-radius: 8px; cursor: pointer; transition: all 0.2s; text-decoration: none; display: inline-block; }
.btn-outline:hover { border-color: rgba(255,255,255,0.5); background: rgba(255,255,255,0.05); }

/* ANIMATIONS */
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.fade-up { opacity: 0; animation: fadeUp 0.6s ease forwards; }
.fade-up-d1 { animation-delay: 0.1s; }
.fade-up-d2 { animation-delay: 0.2s; }
.fade-up-d3 { animation-delay: 0.3s; }
.fade-up-d4 { animation-delay: 0.4s; }
.fade-up-d5 { animation-delay: 0.5s; }

/* DASHBOARD STYLES */
.dashboard { display: grid; grid-template-columns: 360px 1fr; height: calc(100vh - 64px); margin-top: 64px; }

/* SIDEBAR */
.sidebar { background: #fff; border-right: 1px solid var(--border); display: flex; flex-direction: column; overflow: hidden; }
.sidebar-header { padding: 1.25rem 1.25rem 0; }
.sidebar-header h1 { font-family: var(--font-display); font-size: 1.3rem; font-weight: 400; color: var(--navy); margin-bottom: 0.75rem; }
.search-box { position: relative; margin-bottom: 1rem; }
.search-box input { width: 100%; padding: 10px 14px 10px 38px; font-size: 0.9rem; font-family: var(--font-body); border: 1.5px solid var(--border); border-radius: 8px; background: #fff; color: var(--text); outline: none; transition: border-color 0.2s; }
.search-box input:focus { border-color: var(--navy); }
.search-box input::placeholder { color: var(--text-muted); }
.search-box svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; stroke: var(--text-muted); }

.filters { padding: 0 1.25rem 1rem; display: flex; flex-direction: column; gap: 0.75rem; }
.filter-row { display: flex; gap: 8px; }
.filter-row select { flex: 1; padding: 8px 10px; font-size: 0.82rem; font-family: var(--font-body); border: 1px solid var(--border); border-radius: 6px; background: #fff; color: var(--text); cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238A96A0' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; padding-right: 28px; }
.filter-legend { display: flex; gap: 12px; padding: 8px 0 4px; border-top: 1px solid var(--off-white); }
.legend-item { display: flex; align-items: center; gap: 5px; font-size: 0.75rem; color: var(--text-muted); }
.legend-dot { width: 8px; height: 8px; border-radius: 50%; }
.legend-dot.avail { background: var(--sage); }
.legend-dot.full { background: var(--red); }
.legend-dot.unknown { background: #ccc; }

.results-meta { padding: 0.75rem 1.25rem; background: var(--off-white); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); font-size: 0.8rem; color: var(--text-secondary); display: flex; justify-content: space-between; align-items: center; }

.facility-list { flex: 1; overflow-y: auto; }
.facility-item { padding: 1rem 1.25rem; border-bottom: 1px solid var(--off-white); cursor: pointer; transition: background 0.15s; display: flex; gap: 12px; align-items: start; }
.facility-item:hover { background: var(--off-white); }
.fi-indicator { width: 4px; border-radius: 2px; min-height: 48px; flex-shrink: 0; }
.fi-indicator.avail { background: var(--sage); }
.fi-indicator.full { background: var(--red); }
.fi-indicator.unknown { background: #D0D5DA; }
.fi-content { flex: 1; min-width: 0; }
.fi-header { display: flex; justify-content: space-between; align-items: start; margin-bottom: 3px; }
.fi-name { font-size: 0.9rem; font-weight: 500; color: var(--navy); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 200px; }
.fi-badge { font-size: 0.68rem; font-weight: 500; padding: 2px 8px; border-radius: 12px; flex-shrink: 0; }
.fi-badge.avail { background: var(--sage-light); color: var(--sage-dark); }
.fi-badge.full { background: var(--red-light); color: var(--red); }
.fi-badge.unknown { background: var(--off-white); color: var(--text-muted); }
.fi-suburb { font-size: 0.8rem; color: var(--text-secondary); margin-bottom: 4px; }
.fi-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.fi-tag { font-size: 0.7rem; color: var(--text-muted); background: var(--off-white); padding: 2px 6px; border-radius: 4px; }

/* MAP */
.map-container { position: relative; width: 100%; height: 100%; }
#map { width: 100%; height: 100%; }
.leaflet-control-attribution { font-size: 10px !important; }

/* PAGE HERO (for role pages) */
.page-hero { padding: 140px 2rem 60px; background: linear-gradient(180deg, #fff 0%, var(--off-white) 100%); }
.page-hero-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.ph-text { max-width: 520px; }
.ph-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 0.8rem; color: var(--coral); font-weight: 500; margin-bottom: 1.25rem; letter-spacing: 0.03em; text-transform: uppercase; }
.ph-eyebrow::before { content: ''; width: 32px; height: 3px; background: var(--coral); border-radius: 2px; }
.ph-text h1 { font-family: var(--font-display); font-size: 2.5rem; font-weight: 400; color: var(--navy); line-height: 1.2; margin-bottom: 1rem; letter-spacing: -0.5px; }
.ph-text h1 em { font-style: italic; color: var(--coral); }
.ph-text p { font-size: 1.05rem; color: var(--text-secondary); line-height: 1.7; margin-bottom: 1.5rem; }
.ph-text .cta-group { display: flex; gap: 12px; align-items: center; }
.btn-coral { display: inline-block; padding: 13px 28px; font-size: 0.95rem; font-family: var(--font-body); font-weight: 500; background: var(--coral); color: #fff; border: none; border-radius: 8px; cursor: pointer; transition: background 0.2s; }
.btn-coral:hover { background: var(--coral-dark); }
.btn-ghost { display: inline-block; padding: 13px 28px; font-size: 0.95rem; font-family: var(--font-body); font-weight: 500; background: transparent; color: var(--navy); border: 1.5px solid var(--border); border-radius: 8px; cursor: pointer; transition: all 0.2s; }
.btn-ghost:hover { border-color: var(--navy); }

.ph-visual { position: relative; }
.ph-illustration { background: var(--off-white); border-radius: 16px; padding: 2rem; border: 1px solid var(--border); }
.journey-steps { display: flex; flex-direction: column; gap: 1rem; }
.journey-step { display: flex; gap: 14px; align-items: start; padding: 14px 16px; background: #fff; border-radius: 10px; border: 1px solid var(--border); transition: border-color 0.2s; }
.journey-step:hover { border-color: var(--sky); }
.js-num { width: 28px; height: 28px; border-radius: 50%; background: var(--navy); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 0.75rem; font-weight: 500; flex-shrink: 0; }
.js-content h4 { font-size: 0.9rem; font-weight: 500; color: var(--navy); margin-bottom: 2px; }
.js-content p { font-size: 0.8rem; color: var(--text-muted); line-height: 1.4; }

/* FEATURES GRID */
.features-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.feature-card { background: #fff; border-radius: 12px; border: 1px solid var(--border); padding: 2rem; transition: all 0.2s; }
.feature-card:hover { border-color: var(--sky); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(26,58,92,0.06); }
.fc-icon { width: 44px; height: 44px; border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; }
.fc-icon svg { width: 20px; height: 20px; }
.feature-card h3 { font-size: 1.05rem; font-weight: 500; color: var(--navy); margin-bottom: 0.5rem; }
.feature-card p { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.6; }

/* FAQ */
.faq-list { max-width: 720px; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q { padding: 1.25rem 0; font-size: 1rem; font-weight: 500; color: var(--navy); cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.faq-q::after { content: '+'; font-size: 1.25rem; color: var(--text-muted); font-weight: 300; transition: transform 0.2s; }
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-a-inner { padding: 0 0 1.25rem; font-size: 0.92rem; color: var(--text-secondary); line-height: 1.7; }
.faq-item.open .faq-a { max-height: 200px; }

/* SIGNUP FORM */
.signup-section { background: var(--navy); padding: 5rem 2rem; }
.signup-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.signup-text h2 { font-family: var(--font-display); font-size: 2rem; font-weight: 400; color: #fff; margin-bottom: 0.75rem; }
.signup-text p { font-size: 1rem; color: var(--sky-light); line-height: 1.7; margin-bottom: 1rem; }
.signup-text .price-tag { display: inline-flex; align-items: baseline; gap: 6px; }
.signup-text .price { font-family: var(--font-display); font-size: 1.75rem; color: #fff; }
.signup-text .price-note { font-size: 0.85rem; color: var(--sky-light); }
.signup-form { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); border-radius: 16px; padding: 2rem; }
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; font-size: 0.8rem; color: var(--sky-light); margin-bottom: 4px; font-weight: 500; }
.form-group input, .form-group select { width: 100%; padding: 10px 14px; font-size: 0.9rem; font-family: var(--font-body); border: 1px solid rgba(255,255,255,0.15); border-radius: 8px; background: rgba(255,255,255,0.06); color: #fff; outline: none; transition: border-color 0.2s; }
.form-group input:focus, .form-group select:focus { border-color: var(--coral); }
.form-group input::placeholder { color: rgba(255,255,255,0.35); }
.form-group select { appearance: none; cursor: pointer; }
.form-group select option { background: var(--navy); color: #fff; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-submit { width: 100%; padding: 13px; font-size: 0.95rem; font-family: var(--font-body); font-weight: 500; background: var(--coral); color: #fff; border: none; border-radius: 8px; cursor: pointer; transition: background 0.2s; margin-top: 0.5rem; }
.form-submit:hover { background: var(--coral-dark); }
.form-note { font-size: 0.78rem; color: rgba(255,255,255,0.4); text-align: center; margin-top: 0.75rem; }

/* DARK HERO (advisor/hospital) */
.dark-hero { padding: 140px 2rem 60px; background: var(--navy); position: relative; overflow: hidden; }
.dark-hero::before { content: ''; position: absolute; top: -100px; right: -50px; width: 500px; height: 500px; border-radius: 50%; background: rgba(91,140,181,0.08); }
.dark-hero::after { content: ''; position: absolute; bottom: -150px; left: -50px; width: 400px; height: 400px; border-radius: 50%; background: rgba(232,93,58,0.06); }
.dark-hero-inner { max-width: 1200px; margin: 0 auto; position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.dh-text h1 { font-family: var(--font-display); font-size: 2.5rem; font-weight: 400; color: #fff; line-height: 1.2; margin-bottom: 1rem; }
.dh-text h1 em { font-style: italic; color: var(--coral-light); }
.dh-text p { font-size: 1.05rem; color: var(--sky-light); line-height: 1.7; margin-bottom: 2rem; }
.dh-text .cta-group { display: flex; gap: 12px; align-items: center; }
.btn-outline-w { padding: 13px 28px; font-size: 0.95rem; font-family: var(--font-body); font-weight: 500; background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.25); border-radius: 8px; cursor: pointer; display: inline-block; transition: all 0.2s; }
.btn-outline-w:hover { border-color: rgba(255,255,255,0.5); background: rgba(255,255,255,0.05); }

.metrics-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.metric-card { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); border-radius: 12px; padding: 1.25rem; }
.mc-num { font-family: var(--font-display); font-size: 1.75rem; font-weight: 400; color: #fff; }
.mc-label { font-size: 0.8rem; color: var(--sky-light); margin-top: 2px; }
.mc-bar { height: 3px; background: rgba(255,255,255,0.1); border-radius: 2px; margin-top: 10px; overflow: hidden; }
.mc-bar-fill { height: 100%; border-radius: 2px; }

/* PAIN POINTS */
.pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.pain-card { padding: 2rem; border-radius: 12px; }
.pain-card.before { background: var(--red-light); border: 1px solid #F5C4C0; }
.pain-card.after { background: var(--sage-light); border: 1px solid #B5DCC7; }
.pain-card h3 { font-size: 0.95rem; font-weight: 500; margin-bottom: 0.75rem; }
.pain-card.before h3 { color: var(--red); }
.pain-card.after h3 { color: var(--sage-dark); }
.pain-card p { font-size: 0.88rem; line-height: 1.6; }
.pain-card.before p { color: #7A2A20; }
.pain-card.after p { color: #1A5A32; }

/* PRICING PREVIEW */
.pricing-preview { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.pp-content h2 { font-family: var(--font-display); font-size: 2rem; font-weight: 400; color: var(--navy); margin-bottom: 0.75rem; }
.pp-content p { font-size: 1rem; color: var(--text-secondary); line-height: 1.7; margin-bottom: 1.5rem; }
.pp-price { margin-bottom: 1.5rem; }
.pp-price .price-main { font-family: var(--font-display); font-size: 2.5rem; font-weight: 400; color: var(--navy); }
.pp-price .price-strike { font-family: var(--font-display); font-size: 1.25rem; color: var(--text-muted); text-decoration: line-through; margin-right: 8px; }
.pp-price .price-period { font-size: 0.9rem; color: var(--text-muted); }
.pp-price .price-note { font-size: 0.85rem; color: var(--coral); font-weight: 500; margin-top: 4px; }
.pp-features { list-style: none; }
.pp-features li { padding: 8px 0; font-size: 0.92rem; color: var(--text-secondary); display: flex; align-items: center; gap: 10px; border-bottom: 1px solid var(--off-white); }
.pp-features li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--sage); flex-shrink: 0; }

/* BETA/FORM CARD */
.beta-form-card { background: var(--off-white); border-radius: 16px; padding: 2.5rem; border: 1px solid var(--border); }
.beta-form-card h3 { font-family: var(--font-display); font-size: 1.3rem; font-weight: 400; color: var(--navy); margin-bottom: 0.5rem; }
.beta-form-card .subtitle { font-size: 0.9rem; color: var(--text-secondary); margin-bottom: 1.5rem; }
.form-group input, .form-group select { width: 100%; padding: 10px 14px; font-size: 0.9rem; font-family: var(--font-body); border: 1.5px solid var(--border); border-radius: 8px; background: #fff; color: var(--text); outline: none; transition: border-color 0.2s; }
.form-group input:focus, .form-group select:focus { border-color: var(--navy); }
.form-group input::placeholder { color: var(--text-muted); }
.form-group select { appearance: none; cursor: pointer; }

/* CTA DARK SECTION */
.cta-section { background: var(--navy); padding: 5rem 2rem; text-align: center; }
.cta-inner { max-width: 600px; margin: 0 auto; }
.cta-section h2 { font-family: var(--font-display); font-size: 2rem; font-weight: 400; color: #fff; margin-bottom: 0.75rem; }
.cta-section p { font-size: 1.05rem; color: var(--sky-light); margin-bottom: 2rem; line-height: 1.6; }
.cta-buttons { display: flex; gap: 12px; justify-content: center; }

/* HOSPITAL-SPECIFIC STYLES */
.delay-cost { margin-bottom: 1.5rem; }
.delay-cost h3 { font-size: 0.85rem; font-weight: 500; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 0.03em; margin-bottom: 1rem; }
.delay-bar { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.db-label { font-size: 0.8rem; color: var(--text-secondary); width: 100px; flex-shrink: 0; }
.db-track { flex: 1; height: 24px; background: #fff; border-radius: 6px; border: 1px solid var(--border); overflow: hidden; position: relative; }
.db-fill { height: 100%; border-radius: 5px; display: flex; align-items: center; padding-left: 8px; font-size: 0.7rem; font-weight: 500; color: #fff; }
.db-val { font-size: 0.8rem; font-weight: 500; color: var(--navy); width: 70px; text-align: right; flex-shrink: 0; }
.delay-note { font-size: 0.78rem; color: var(--text-muted); font-style: italic; margin-top: 0.5rem; }

/* TIERS */
.tiers-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.tier-card { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 2rem; position: relative; }
.tier-card.featured { border: 2px solid var(--navy); }
.tier-card.featured::before { content: 'Most popular'; position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--navy); color: #fff; font-size: 0.7rem; font-weight: 500; padding: 3px 14px; border-radius: 20px; white-space: nowrap; }
.tc-name { font-size: 0.8rem; font-weight: 500; color: var(--coral); text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 0.5rem; }
.tc-price { font-family: var(--font-display); font-size: 2rem; font-weight: 400; color: var(--navy); margin-bottom: 4px; }
.tc-price span { font-size: 0.9rem; font-weight: 400; color: var(--text-muted); }
.tc-desc { font-size: 0.85rem; color: var(--text-secondary); margin-bottom: 1.5rem; line-height: 1.5; }
.tc-features { list-style: none; margin-bottom: 1.5rem; }
.tc-features li { font-size: 0.85rem; color: var(--text-secondary); padding: 6px 0; display: flex; align-items: center; gap: 8px; }
.tc-features li::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--sage); flex-shrink: 0; }
.tc-btn { display: block; width: 100%; padding: 11px; font-size: 0.9rem; font-family: var(--font-body); font-weight: 500; border-radius: 8px; cursor: pointer; text-align: center; transition: all 0.2s; }
.tc-btn.primary { background: var(--coral); color: #fff; border: none; }
.tc-btn.primary:hover { background: var(--coral-dark); }
.tc-btn.outline { background: #fff; color: var(--navy); border: 1.5px solid var(--border); }
.tc-btn.outline:hover { border-color: var(--navy); }

/* DEMO FORM SECTION */
.demo-section { background: var(--navy); padding: 5rem 2rem; }
.demo-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.demo-text h2 { font-family: var(--font-display); font-size: 2rem; font-weight: 400; color: #fff; margin-bottom: 0.75rem; }
.demo-text p { font-size: 1rem; color: var(--sky-light); line-height: 1.7; margin-bottom: 1.5rem; }
.demo-benefits { list-style: none; }
.demo-benefits li { padding: 8px 0; font-size: 0.92rem; color: var(--sky-light); display: flex; align-items: center; gap: 10px; }
.demo-benefits li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--coral); flex-shrink: 0; }
.demo-form { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); border-radius: 16px; padding: 2rem; }
.demo-form h3 { font-family: var(--font-display); font-size: 1.3rem; font-weight: 400; color: #fff; margin-bottom: 1.25rem; }
.demo-form .form-group textarea { resize: vertical; min-height: 80px; }

/* PRICING PAGE STYLES */
.page-header { padding: 140px 2rem 50px; text-align: center; background: linear-gradient(180deg, #fff 0%, var(--off-white) 100%); }
.page-header h1 { font-family: var(--font-display); font-size: 2.5rem; font-weight: 400; color: var(--navy); margin-bottom: 0.75rem; }
.page-header p { font-size: 1.1rem; color: var(--text-secondary); max-width: 560px; margin: 0 auto; line-height: 1.6; }

.audience-tabs { display: flex; justify-content: center; gap: 8px; margin-bottom: 3rem; }
.audience-tab { padding: 10px 24px; font-size: 0.9rem; font-family: var(--font-body); font-weight: 500; border: 1.5px solid var(--border); border-radius: 8px; cursor: pointer; background: #fff; color: var(--text-secondary); transition: all 0.2s; }
.audience-tab.active { background: var(--navy); color: #fff; border-color: var(--navy); }
.audience-tab:hover:not(.active) { border-color: var(--navy); color: var(--navy); }

.pricing-section { display: none; }
.pricing-section.active { display: block; }

.pricing-grid { display: grid; gap: 1.5rem; }
.pricing-grid.cols-2 { grid-template-columns: repeat(2, 1fr); max-width: 800px; margin: 0 auto; }
.pricing-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }

.price-card { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 2.25rem; position: relative; transition: all 0.2s; }
.price-card:hover { border-color: var(--sky); box-shadow: 0 8px 24px rgba(26,58,92,0.06); }
.price-card.featured { border: 2px solid var(--navy); }
.price-card.featured::before { content: 'Recommended'; position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--navy); color: #fff; font-size: 0.7rem; font-weight: 500; padding: 3px 14px; border-radius: 20px; white-space: nowrap; }

.pc-audience { font-size: 0.72rem; font-weight: 500; color: var(--coral); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.75rem; }
.pc-name { font-size: 1.15rem; font-weight: 500; color: var(--navy); margin-bottom: 0.5rem; }
.pc-price-row { display: flex; align-items: baseline; gap: 4px; margin-bottom: 4px; }
.pc-price { font-family: var(--font-display); font-size: 2.25rem; font-weight: 400; color: var(--navy); }
.pc-period { font-size: 0.9rem; color: var(--text-muted); }
.pc-strike { font-family: var(--font-display); font-size: 1.1rem; color: var(--text-muted); text-decoration: line-through; margin-right: 6px; }
.pc-note { font-size: 0.82rem; color: var(--coral); font-weight: 500; margin-bottom: 1rem; }
.pc-desc { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.6; margin-bottom: 1.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--off-white); }
.pc-features { list-style: none; margin-bottom: 1.75rem; }
.pc-features li { font-size: 0.88rem; color: var(--text-secondary); padding: 6px 0; display: flex; align-items: start; gap: 10px; }
.pc-features li::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--sage); flex-shrink: 0; margin-top: 7px; }
.pc-btn { display: block; width: 100%; padding: 12px; font-size: 0.92rem; font-family: var(--font-body); font-weight: 500; border-radius: 8px; cursor: pointer; text-align: center; transition: all 0.2s; border: none; }
.pc-btn.primary { background: var(--coral); color: #fff; }
.pc-btn.primary:hover { background: var(--coral-dark); }
.pc-btn.navy { background: var(--navy); color: #fff; }
.pc-btn.navy:hover { background: var(--navy-light); }
.pc-btn.outline { background: #fff; color: var(--navy); border: 1.5px solid var(--border); }
.pc-btn.outline:hover { border-color: var(--navy); }

/* COMPARISON TABLE */
.comparison-section { padding: 3rem 2rem 5rem; background: var(--off-white); }
.comp-inner { max-width: 900px; margin: 0 auto; }
.comp-inner h2 { font-family: var(--font-display); font-size: 1.75rem; font-weight: 400; color: var(--navy); text-align: center; margin-bottom: 2.5rem; }
.comp-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 12px; overflow: hidden; border: 1px solid var(--border); }
.comp-table th { text-align: left; padding: 14px 16px; font-size: 0.82rem; font-weight: 500; color: var(--navy); background: var(--off-white); border-bottom: 1px solid var(--border); }
.comp-table th:not(:first-child) { text-align: center; }
.comp-table td { padding: 12px 16px; font-size: 0.85rem; color: var(--text-secondary); border-bottom: 1px solid var(--off-white); }
.comp-table td:not(:first-child) { text-align: center; }
.comp-table tr:last-child td { border-bottom: none; }
.check { color: var(--sage); font-weight: 600; }
.dash { color: var(--text-muted); }

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 2rem; }
  .hero::after { display: none; }
  .hero h1 { font-size: 2.1rem; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .how-grid { grid-template-columns: 1fr; }
  .audience-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .dashboard { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
  .sidebar { max-height: 45vh; }
  /* Pricing grids stack on mobile */
  div[style*="grid-template-columns: repeat(3, 1fr)"],
  div[style*="grid-template-columns: repeat(2, 1fr)"] {
    grid-template-columns: 1fr !important;
    max-width: 480px !important;
  }
}

@media (max-width: 600px) {
  .hero { padding: 110px 1.25rem 50px; }
  .hero h1 { font-size: 1.75rem; }
  .hero-search { flex-direction: column; }
  .stats-inner { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .section { padding: 3rem 1.25rem; }
  .cta-buttons { flex-direction: column; align-items: center; }
}
