/* ============================================================
   LUMIOR — Boop Landing Page Stylesheet
   Signature Color System: Cyan / Light Blue / Dark-first
   ============================================================ */

:root {
    --boop-color: #10b981;
    --boop-color-rgb: 16, 185, 129;
    --boop-dark: #047857;
    --boop-dark-rgb: 4, 120, 87;
    --boop-gradient: linear-gradient(135deg, #065f46 0%, #10b981 50%, #a7f3d0 100%);
    --boop-glow: rgba(16, 185, 129, 0.15);
    --boop-glow-strong: rgba(16, 185, 129, 0.35);
    --boop-card-bg: rgba(255, 255, 255, 0.03);
    --boop-border: rgba(255, 255, 255, 0.06);
    --boop-surface: #0d121f;
}

[data-theme="light"] {
    --boop-color: #059669;
    --boop-color-rgb: 5, 150, 105;
    --boop-dark: #064e3b;
    --boop-dark-rgb: 6, 78, 59;
    --boop-gradient: linear-gradient(135deg, #059669 0%, #10b981 50%, #064e3b 100%);
    --boop-glow: rgba(5, 150, 105, 0.08);
    --boop-glow-strong: rgba(5, 150, 105, 0.20);
    --boop-card-bg: rgba(0, 0, 0, 0.02);
    --boop-border: rgba(0, 0, 0, 0.08);
    --boop-surface: #f4f6fa;
}

/* ── Custom Layouts ── */
.boop-hero-container {
    padding-top: 120px;
    padding-bottom: 80px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
    position: relative;
    z-index: 5;
}

@media (max-width: 992px) {
    .boop-hero-container {
        grid-template-columns: 1fr;
        padding-top: 100px;
        gap: 60px;
        text-align: center;
    }
}

.boop-hero-text h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

@media (max-width: 768px) {
    .boop-hero-text h1 {
        font-size: 2.6rem;
    }
}

.boop-cyan-text, .boop-green-text {
    background: var(--boop-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.boop-hero-desc {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 36px;
    max-width: 580px;
}

@media (max-width: 992px) {
    .boop-hero-desc {
        margin: 0 auto 36px;
    }
}

.boop-hero-stats {
    display: flex;
    gap: 32px;
    margin-top: 40px;
    border-top: 1px solid var(--boop-border);
    padding-top: 32px;
}

@media (max-width: 992px) {
    .boop-hero-stats {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .boop-hero-stats {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }
}

.boop-stat-box {
    display: flex;
    flex-direction: column;
}

.boop-stat-num {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
}

.boop-stat-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 4px;
}

/* ── Interactive Phone Simulator Frame ── */
.boop-phone-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.boop-phone-glow {
    position: absolute;
    width: 130%;
    height: 130%;
    background: radial-gradient(circle, rgba(var(--boop-color-rgb), 0.12) 0%, transparent 60%);
    z-index: 0;
    pointer-events: none;
}

.boop-phone-device {
    width: 320px;
    height: 640px;
    background: #000;
    border-radius: 40px;
    padding: 11px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7),
                0 0 0 4px #27272a,
                0 0 0 1px #52525b;
    position: relative;
    z-index: 1;
    overflow: hidden;
    user-select: none;
}

.boop-phone-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 25px;
    background: #000;
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
    z-index: 100;
}

.boop-phone-screen {
    width: 100%;
    height: 100%;
    background: var(--bg-secondary);
    border-radius: 30px;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #fff;
    box-shadow: inset 0 0 10px rgba(0,0,0,0.8);
}

/* Screen Top Bar */
.boop-screen-header {
    background: rgba(13, 18, 31, 0.95);
    padding: 24px 14px 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    z-index: 10;
}

.boop-screen-title {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 6px;
}

.boop-screen-pet-picker {
    background: rgba(255,255,255,0.08);
    border: none;
    color: #fff;
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    outline: none;
}

/* Screen Inner Body Scroll */
.boop-screen-body {
    flex: 1;
    overflow-y: auto;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    scrollbar-width: none;
}
.boop-screen-body::-webkit-scrollbar { display: none; }

/* Screen Footer Nav */
.boop-screen-nav {
    background: rgba(13, 18, 31, 0.95);
    border-top: 1px solid rgba(255,255,255,0.06);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 8px 4px;
    z-index: 10;
}

.boop-screen-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    background: none;
    border: none;
    color: #64748b;
    font-size: 9px;
    cursor: pointer;
    transition: color 0.2s;
    font-weight: 500;
}

.boop-screen-nav-item.active {
    color: var(--boop-color);
}

.boop-screen-nav-item svg {
    width: 18px;
    height: 18px;
}

/* Simulator UI Elements */

/* Pet Dashboard Info Card */
.boop-ui-pet-card {
    background: linear-gradient(135deg, rgba(var(--boop-color-rgb), 0.15) 0%, rgba(var(--boop-dark-rgb), 0.05) 100%);
    border: 1px solid rgba(var(--boop-color-rgb), 0.2);
    border-radius: 16px;
    padding: 12px;
    display: flex;
    gap: 12px;
    align-items: center;
}

.boop-ui-pet-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--boop-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    box-shadow: 0 4px 10px rgba(var(--boop-color-rgb), 0.3);
}

.boop-ui-pet-details {
    flex: 1;
}

.boop-ui-pet-name {
    font-weight: 700;
    font-size: 14px;
    color: #fff;
    margin-bottom: 2px;
}

.boop-ui-pet-meta {
    font-size: 11px;
    color: #94a3b8;
}

.boop-ui-streak-badge {
    background: #f59e0b;
    color: #fff;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 3px;
    box-shadow: 0 2px 6px rgba(245, 158, 11, 0.3);
}

/* Quick Metrics Widget */
.boop-ui-grid-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.boop-ui-metric-box {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 12px;
    padding: 10px;
    text-align: center;
}

.boop-ui-metric-val {
    font-size: 16px;
    font-weight: 700;
    color: var(--boop-color);
}

.boop-ui-metric-lbl {
    font-size: 9px;
    color: #94a3b8;
    margin-top: 2px;
}

/* Quick clicker tool inside the dashboard */
.boop-ui-soundbox-box {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 16px;
    padding: 12px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

.boop-ui-sound-title {
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 700;
    color: #94a3b8;
    letter-spacing: 0.05em;
}

.boop-ui-clicker-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--boop-gradient);
    border: none;
    cursor: pointer;
    box-shadow: 0 6px 15px rgba(var(--boop-color-rgb), 0.3),
                inset 0 -4px 0 rgba(0,0,0,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: transform 0.1s, box-shadow 0.1s;
}

.boop-ui-clicker-btn:active {
    transform: translateY(3px) scale(0.96);
    box-shadow: 0 2px 5px rgba(var(--boop-color-rgb), 0.2);
}

.boop-ui-clicker-btn::after {
    content: '';
    position: absolute;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    top: 10px;
    left: 10px;
}

.boop-ui-clicker-label {
    font-size: 10px;
    font-weight: 600;
    color: #e2e8f0;
}

/* Sound wave animations */
.boop-sound-wave-container {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    top: 0; left: 0;
    pointer-events: none;
    z-index: -1;
}

.boop-sound-wave {
    position: absolute;
    width: 100%; height: 100%;
    border-radius: 50%;
    border: 2px solid var(--boop-color);
    opacity: 0;
    animation: rippleWave 1s cubic-bezier(0.1, 0.8, 0.3, 1) infinite;
}

.boop-sound-wave:nth-child(2) { animation-delay: 0.3s; }
.boop-sound-wave:nth-child(3) { animation-delay: 0.6s; }

@keyframes rippleWave {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(2.4); opacity: 0; }
}

/* Dog reaction text */
.boop-dog-reaction {
    font-size: 13px;
    font-weight: 700;
    color: var(--boop-color);
    min-height: 20px;
    transition: opacity 0.2s;
}

/* Roadmap simulator view */
.boop-ui-roadmap-view {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.boop-ui-roadmap-selects {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.boop-ui-select {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    color: #fff;
    padding: 6px 8px;
    font-size: 11px;
    outline: none;
    cursor: pointer;
}

.boop-ui-lesson-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 12px;
    padding: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: background 0.2s;
}

.boop-ui-lesson-card:hover {
    background: rgba(255,255,255,0.06);
}

.boop-ui-lesson-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: rgba(var(--boop-color-rgb), 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.boop-ui-lesson-details {
    flex: 1;
}

.boop-ui-lesson-title {
    font-size: 11px;
    font-weight: 600;
    color: #fff;
}

.boop-ui-lesson-desc {
    font-size: 9px;
    color: #94a3b8;
    margin-top: 1px;
}

.boop-ui-lesson-status {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 1.5px solid rgba(255,255,255,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
}

.boop-ui-lesson-status.completed {
    background: var(--boop-color);
    border-color: var(--boop-color);
}

.boop-ui-lesson-status.completed::after {
    content: '✓';
    font-size: 8px;
    color: #000;
    font-weight: 900;
}

/* Health Screen Simulator View */
.boop-ui-health-view {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.boop-ui-health-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    background: rgba(255,255,255,0.04);
    padding: 3px;
    border-radius: 8px;
}

.boop-ui-h-tab {
    background: none;
    border: none;
    color: #94a3b8;
    font-size: 10px;
    font-weight: 600;
    padding: 4px;
    border-radius: 6px;
    cursor: pointer;
}

.boop-ui-h-tab.active {
    background: rgba(255,255,255,0.1);
    color: #fff;
}

.boop-ui-health-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.boop-ui-health-item {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 10px;
    padding: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.boop-ui-health-name {
    font-size: 11px;
    font-weight: 600;
}

.boop-ui-health-date {
    font-size: 9px;
    color: #94a3b8;
    margin-top: 2px;
}

.boop-ui-health-badge {
    padding: 2px 6px;
    border-radius: 8px;
    font-size: 8px;
    font-weight: 700;
    text-transform: uppercase;
}

.boop-ui-health-badge.current {
    background: rgba(var(--boop-color-rgb), 0.15);
    color: var(--boop-color);
}

.boop-ui-health-badge.due {
    background: rgba(245, 158, 11, 0.15);
    color: #f59e0b;
}

/* Emergency View */
.boop-ui-emergency-view {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.boop-ui-emergency-alert {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 12px;
    padding: 10px;
    text-align: center;
    color: #fca5a5;
    font-size: 11px;
    font-weight: 600;
}

.boop-ui-emergency-hotline {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 12px;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.boop-ui-hotline-name {
    font-size: 11px;
    font-weight: 700;
}

.boop-ui-hotline-lbl {
    font-size: 9px;
    color: #94a3b8;
    margin-top: 2px;
}

.boop-ui-call-btn {
    background: #ef4444;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(239, 68, 68, 0.4);
}

.boop-ui-call-btn svg { width: 14px; height: 14px; fill: #fff; }

.boop-ui-firstaid-box {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 12px;
    padding: 10px;
}

.boop-ui-firstaid-title {
    font-size: 11px;
    font-weight: 700;
    color: #ef4444;
    margin-bottom: 6px;
}

.boop-ui-firstaid-text {
    font-size: 9px;
    color: #cbd5e1;
    line-height: 1.4;
}

/* Services Finder View */
.boop-ui-services-view {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.boop-ui-map-mock {
    width: 100%;
    height: 120px;
    background: #1e293b;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.06);
}

/* Custom SVG grids representing map streets */
.boop-ui-map-grid {
    width: 100%;
    height: 100%;
    stroke: rgba(255,255,255,0.1);
    stroke-width: 2;
    fill: none;
}

.boop-ui-map-pin {
    position: absolute;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--boop-color);
    border: 2px solid #fff;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,0.5);
    transition: transform 0.2s;
}

.boop-ui-map-pin.active {
    background: #f43f5e;
    transform: scale(1.3);
}

.boop-ui-map-pin:nth-child(2) { top: 30px; left: 60px; }
.boop-ui-map-pin:nth-child(3) { top: 75px; left: 160px; }
.boop-ui-map-pin:nth-child(4) { top: 40px; left: 220px; }

.boop-ui-service-info {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 10px;
    padding: 8px;
    text-align: center;
}

.boop-ui-service-title {
    font-size: 11px;
    font-weight: 700;
}

.boop-ui-service-distance {
    font-size: 9px;
    color: var(--boop-color);
    margin-top: 2px;
    font-weight: 600;
}

/* Whistle Simulator Tool Inside Details Page */
.boop-whistle-card {
    background: var(--boop-card-bg);
    border: 1px solid var(--boop-border);
    border-radius: 20px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    max-width: 400px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.boop-whistle-icon-ring {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(var(--boop-color-rgb), 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    border: 1px solid rgba(var(--boop-color-rgb), 0.2);
}

.boop-whistle-controls {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.boop-whistle-val-lbl {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    display: flex;
    justify-content: space-between;
}

.boop-whistle-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: rgba(255,255,255,0.1);
    outline: none;
}

.boop-whistle-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--boop-color);
    cursor: pointer;
    box-shadow: 0 0 10px rgba(var(--boop-color-rgb), 0.5);
    border: 2px solid var(--bg-secondary);
}

.boop-whistle-slider::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--boop-color);
    cursor: pointer;
    box-shadow: 0 0 10px rgba(var(--boop-color-rgb), 0.5);
    border: 2px solid var(--bg-secondary);
}

.boop-whistle-btn {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 12px;
    background: var(--boop-gradient);
    color: var(--bg-primary);
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(var(--boop-color-rgb), 0.2);
    transition: transform 0.2s, box-shadow 0.2s;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.boop-whistle-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(var(--boop-color-rgb), 0.35);
}

.boop-whistle-btn:active {
    transform: translateY(0);
}

/* ── Interactive Breed Advice Widget ── */
.boop-breed-widget {
    background: var(--boop-card-bg);
    border: 1px solid var(--boop-border);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-md);
    margin-top: 48px;
}

@media (max-width: 768px) {
    .boop-breed-widget {
        padding: 24px;
    }
}

.boop-breed-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 40px;
    align-items: flex-start;
}

@media (max-width: 992px) {
    .boop-breed-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

.boop-breed-select-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

@media (max-width: 992px) {
    .boop-breed-select-list {
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 8px;
    }
}

.boop-breed-btn {
    padding: 14px 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--boop-border);
    border-radius: 12px;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.boop-breed-btn:hover {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-primary);
}

.boop-breed-btn.active {
    background: rgba(var(--boop-color-rgb), 0.1);
    border-color: var(--boop-color);
    color: var(--boop-color);
}

.boop-breed-info-panel {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--boop-border);
    border-radius: 16px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    min-height: 280px;
}

.boop-breed-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--boop-border);
    padding-bottom: 16px;
}

.boop-breed-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
}

.boop-breed-tag {
    background: rgba(var(--boop-color-rgb), 0.15);
    color: var(--boop-color);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.boop-breed-stats-grid {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.boop-breed-stat-row {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.boop-breed-stat-label-row {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
}

.boop-breed-stat-bar-bg {
    width: 100%;
    height: 6px;
    background: rgba(255,255,255,0.06);
    border-radius: 3px;
    overflow: hidden;
}

.boop-breed-stat-bar {
    height: 100%;
    background: var(--boop-gradient);
    border-radius: 3px;
    width: 0;
    transition: width 0.6s cubic-bezier(0.1, 0.8, 0.3, 1);
}

.boop-breed-advice-card {
    background: rgba(var(--boop-color-rgb), 0.05);
    border-left: 3px solid var(--boop-color);
    padding: 16px;
    border-radius: 0 12px 12px 0;
    font-size: 13px;
    color: var(--text-primary);
    line-height: 1.5;
}

.boop-breed-advice-card p {
    margin: 0;
}

/* ── Onboarding / Setup Steps ── */
.boop-steps-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 40px;
}

@media (max-width: 992px) {
    .boop-steps-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
}

@media (max-width: 576px) {
    .boop-steps-row {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

.boop-step-card {
    background: var(--boop-card-bg);
    border: 1px solid var(--boop-border);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    position: relative;
    transition: transform 0.2s, border-color 0.2s;
}

.boop-step-card:hover {
    transform: translateY(-4px);
    border-color: rgba(var(--boop-color-rgb), 0.3);
}

.boop-step-num {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--boop-gradient);
    color: var(--bg-primary);
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(var(--boop-color-rgb), 0.3);
}

.boop-step-icon {
    font-size: 28px;
    margin-bottom: 16px;
    margin-top: 8px;
}

.boop-step-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.boop-step-desc {
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ── FAQ Accordions ── */
.boop-faq-wrapper {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.boop-faq-item {
    background: var(--boop-card-bg);
    border: 1px solid var(--boop-border);
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.2s;
}

.boop-faq-item:hover {
    border-color: rgba(var(--boop-color-rgb), 0.25);
}

.boop-faq-header {
    width: 100%;
    padding: 20px 24px;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 15px;
    font-weight: 700;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    outline: none;
}

.boop-faq-icon {
    font-size: 16px;
    font-weight: 300;
    color: var(--text-secondary);
    transition: transform 0.2s;
}

.boop-faq-item.active .boop-faq-icon {
    transform: rotate(45deg);
    color: var(--boop-color);
}

.boop-faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    padding: 0 24px;
}

.boop-faq-item.active .boop-faq-content {
    max-height: 200px;
    padding-bottom: 20px;
    border-top: 1px solid var(--boop-border);
    padding-top: 16px;
}

.boop-faq-content p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* ── Alternating Features Spotlight ── */
.boop-feat-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 56px 0;
}

@media (max-width: 992px) {
    .boop-feat-row {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 40px 0;
    }
    .boop-feat-row:nth-child(even) .boop-feat-media-col {
        order: 2;
    }
}

.boop-feat-content-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.boop-feat-tag {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--boop-color);
}

.boop-feat-heading {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.25;
}

@media (max-width: 768px) {
    .boop-feat-heading {
        font-size: 1.8rem;
    }
}

.boop-feat-text {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.boop-feat-bullets {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 12px;
}

.boop-feat-bullet-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: var(--text-primary);
    line-height: 1.4;
}

.boop-feat-bullet-item svg {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    color: var(--boop-color);
    margin-top: 2px;
}

/* Feature media panel */
.boop-feat-media-panel {
    background: var(--boop-card-bg);
    border: 1px solid var(--boop-border);
    border-radius: 20px;
    padding: 24px;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

/* Mock charts rendering */
.boop-mock-chart-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.boop-chart-bar-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.boop-chart-lbl {
    font-size: 11px;
    color: var(--text-secondary);
    width: 60px;
}

.boop-chart-track {
    flex: 1;
    height: 12px;
    background: rgba(255,255,255,0.05);
    border-radius: 6px;
    overflow: hidden;
}

.boop-chart-fill {
    height: 100%;
    background: var(--boop-gradient);
    border-radius: 6px;
    transition: width 1s;
}

/* Mock scrapbook */
.boop-scrapbook-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    width: 100%;
}

.boop-scrapbook-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--boop-border);
    border-radius: 12px;
    padding: 16px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.boop-scrapbook-badge {
    font-size: 24px;
    margin-bottom: 8px;
}

.boop-scrapbook-title {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-primary);
}

.boop-scrapbook-date {
    font-size: 9px;
    color: var(--text-secondary);
    margin-top: 4px;
}

/* Final CTA Section customization */
.boop-final-cta {
    position: relative;
    padding: 80px 0;
    text-align: center;
    border-top: 1px solid var(--boop-border);
    overflow: hidden;
}

.boop-final-orb {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(var(--boop-color-rgb), 0.12) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
    pointer-events: none;
}

/* ============================================================
   LIGHT THEME OVERRIDES FOR INTERACTIVE WIDGETS
   ============================================================ */
[data-theme="light"] .boop-phone-screen {
    color: var(--text-primary);
    box-shadow: inset 0 0 10px rgba(0,0,0,0.15);
}

[data-theme="light"] .boop-screen-header {
    background: rgba(255, 255, 255, 0.95);
    border-bottom-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .boop-screen-title {
    color: var(--text-primary);
}

[data-theme="light"] .boop-screen-pet-picker {
    background: rgba(0, 0, 0, 0.05);
    color: var(--text-primary);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .boop-screen-nav {
    background: rgba(255, 255, 255, 0.95);
    border-top-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .boop-screen-nav-item {
    color: var(--text-secondary);
}

[data-theme="light"] .boop-screen-nav-item.active {
    color: var(--boop-color);
}

[data-theme="light"] .boop-ui-pet-name {
    color: var(--text-primary);
}

[data-theme="light"] .boop-ui-pet-meta {
    color: var(--text-secondary);
}

[data-theme="light"] .boop-ui-metric-box {
    background: rgba(0, 0, 0, 0.02);
    border-color: rgba(0, 0, 0, 0.07);
}

[data-theme="light"] .boop-ui-metric-lbl {
    color: var(--text-secondary);
}

[data-theme="light"] .boop-ui-soundbox-box {
    background: rgba(0, 0, 0, 0.02);
    border-color: rgba(0, 0, 0, 0.07);
}

[data-theme="light"] .boop-ui-sound-title {
    color: var(--text-tertiary);
}

[data-theme="light"] .boop-ui-clicker-label {
    color: var(--text-secondary);
}

[data-theme="light"] .boop-ui-roadmap-title {
    color: var(--text-primary);
}

[data-theme="light"] .boop-ui-select {
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.08);
    color: var(--text-primary);
}

[data-theme="light"] .boop-ui-select option {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

[data-theme="light"] .boop-ui-lesson-card {
    background: rgba(0, 0, 0, 0.02);
    border-color: rgba(0, 0, 0, 0.07);
}

[data-theme="light"] .boop-ui-lesson-card:hover {
    background: rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .boop-ui-lesson-title {
    color: var(--text-primary);
}

[data-theme="light"] .boop-ui-lesson-desc {
    color: var(--text-secondary);
}

[data-theme="light"] .boop-ui-lesson-status {
    border-color: rgba(0, 0, 0, 0.18);
}

[data-theme="light"] .boop-ui-health-tabs {
    background: rgba(0, 0, 0, 0.03);
}

[data-theme="light"] .boop-ui-h-tab {
    color: var(--text-secondary);
}

[data-theme="light"] .boop-ui-h-tab.active {
    background: var(--bg-secondary);
    color: var(--text-primary);
    box-shadow: var(--shadow-sm);
}

[data-theme="light"] .boop-ui-health-item {
    background: rgba(0, 0, 0, 0.02);
    border-color: rgba(0, 0, 0, 0.07);
}

[data-theme="light"] .boop-ui-health-name {
    color: var(--text-primary);
}

[data-theme="light"] .boop-ui-health-date {
    color: var(--text-secondary);
}

[data-theme="light"] .boop-ui-emergency-alert {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.22);
    color: #b91c1c;
}

[data-theme="light"] .boop-ui-emergency-hotline {
    background: rgba(0, 0, 0, 0.02);
    border-color: rgba(0, 0, 0, 0.07);
}

[data-theme="light"] .boop-ui-hotline-name {
    color: var(--text-primary);
}

[data-theme="light"] .boop-ui-hotline-lbl {
    color: var(--text-secondary);
}

[data-theme="light"] .boop-ui-firstaid-box {
    background: rgba(0, 0, 0, 0.015);
    border-color: rgba(0, 0, 0, 0.07);
}

[data-theme="light"] .boop-ui-firstaid-title {
    color: #dc2626;
}

[data-theme="light"] .boop-ui-firstaid-text {
    color: var(--text-secondary);
}

[data-theme="light"] .boop-ui-services-view .boop-ui-service-title {
    color: var(--text-primary);
}

[data-theme="light"] .boop-ui-services-view .boop-ui-service-distance {
    color: var(--text-secondary);
}

[data-theme="light"] .boop-ui-services-view .boop-ui-service-info {
    background: rgba(0, 0, 0, 0.02);
    border-color: rgba(0, 0, 0, 0.07);
}

[data-theme="light"] .boop-ui-services-view .boop-ui-map-mock {
    background: #e2e8f0;
    border-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .boop-ui-map-grid {
    stroke: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .boop-whistle-slider {
    background: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .boop-breed-btn:hover {
    background: rgba(0, 0, 0, 0.04);
}

/* ── Boop Legal & Compliance Section ── */
.boop-legal-section {
    max-width: 920px;
    margin: 0 auto;
    padding: 80px 24px;
    scroll-margin-top: 90px;
}
.boop-legal-header {
    text-align: center;
    margin-bottom: 40px;
}
.boop-legal-eyebrow {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--boop-color);
    margin-bottom: 12px;
}
.boop-legal-title {
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    margin-bottom: 12px;
}
.boop-legal-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 620px;
    margin: 0 auto 16px;
    line-height: 1.6;
}
.boop-legal-meta {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-tertiary);
}
.boop-legal-tabs {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 36px;
}
.boop-legal-tab-btn {
    padding: 11px 22px;
    border-radius: 9999px;
    font-size: 0.9rem;
    font-weight: 600;
    background: var(--bg-surface);
    border: 1px solid var(--border-hairline);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.boop-legal-tab-btn:hover {
    border-color: var(--boop-color);
    color: var(--text-primary);
    transform: translateY(-1px);
}
.boop-legal-tab-btn.is-active {
    background: var(--boop-color);
    color: #ffffff;
    border-color: var(--boop-color);
    box-shadow: 0 4px 18px rgba(16, 185, 129, 0.35);
}
.boop-legal-panel {
    display: none;
    background: var(--bg-surface);
    border: 1px solid var(--border-hairline);
    border-radius: 20px;
    padding: clamp(28px, 5vw, 52px);
    line-height: 1.8;
    color: var(--text-secondary);
    font-size: 0.95rem;
    animation: boopLegalFade 0.3s ease;
}
.boop-legal-panel.is-active {
    display: block;
}
@keyframes boopLegalFade {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}
.boop-legal-panel h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-top: 36px;
    margin-bottom: 14px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-hairline);
    letter-spacing: -0.01em;
}
.boop-legal-panel h3:first-of-type {
    margin-top: 0;
}
.boop-legal-panel p {
    margin-bottom: 16px;
}
.boop-legal-panel ul {
    margin-bottom: 20px;
    padding-left: 24px;
}
.boop-legal-panel li {
    margin-bottom: 8px;
}
.boop-legal-panel strong {
    color: var(--text-primary);
    font-weight: 600;
}
.boop-legal-callout {
    background: rgba(16, 185, 129, 0.05);
    border-left: 3px solid var(--boop-color);
    padding: 18px 24px;
    border-radius: 0 14px 14px 0;
    margin: 24px 0;
    color: var(--text-primary);
    font-size: 0.925rem;
    line-height: 1.65;
}
.boop-legal-contact {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid var(--border-hairline);
    font-size: 0.9rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}
.boop-legal-contact a {
    color: var(--boop-color);
    text-decoration: underline;
    text-underline-offset: 4px;
}


