/* ── Base ── */
html { scroll-behavior: smooth; }
body {
    font-family: 'DM Sans', system-ui, sans-serif;
    background: #050D10;
    color: #E8F0F0;
    letter-spacing: 0.3px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ── Gradient text for headings ── */
.grad-text {
    background: linear-gradient(135deg, #5EEAE4 0%, #ffffff 50%, #3DFDB4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.grad-text-alt {
    background: linear-gradient(135deg, #ffffff 0%, #5EEAE4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── Scroll-triggered fade-in ── */
.fade-up {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ── Staggered children ── */
.stagger > .fade-up:nth-child(1) { transition-delay: 0ms; }
.stagger > .fade-up:nth-child(2) { transition-delay: 80ms; }
.stagger > .fade-up:nth-child(3) { transition-delay: 160ms; }
.stagger > .fade-up:nth-child(4) { transition-delay: 240ms; }
.stagger > .fade-up:nth-child(5) { transition-delay: 320ms; }
.stagger > .fade-up:nth-child(6) { transition-delay: 400ms; }

/* ── Grain overlay ── */
.grain::before {
    content: '';
    position: absolute; inset: 0;
    opacity: 0.025;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-repeat: repeat; background-size: 256px;
    pointer-events: none; z-index: 1;
}

/* ── Glow card ── */
.glow-card {
    position: relative;
    background: linear-gradient(160deg, rgba(94,234,228,0.06) 0%, rgba(5,13,16,0.8) 40%);
    border: 1px solid rgba(94,234,228,0.1);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}
.glow-card:hover {
    transform: translateY(-6px);
    border-color: rgba(94,234,228,0.3);
    box-shadow: 0 0 40px rgba(94,234,228,0.08), 0 20px 60px rgba(0,0,0,0.4);
}

/* ── Pricing card glow ── */
.pricing-card {
    position: relative;
    background: linear-gradient(180deg, rgba(94,234,228,0.04) 0%, rgba(5,13,16,0.9) 100%);
    border: 1px solid rgba(94,234,228,0.1);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.3s ease;
}
.pricing-card:hover {
    transform: translateY(-4px);
    border-color: rgba(94,234,228,0.25);
}
.pricing-popular {
    border-color: rgba(94,234,228,0.35);
    background: linear-gradient(180deg, rgba(94,234,228,0.08) 0%, rgba(5,13,16,0.9) 100%);
    box-shadow: 0 0 60px rgba(94,234,228,0.1), 0 0 120px rgba(94,234,228,0.04);
}

/* ── Elevated shadow ── */
.shadow-glow {
    box-shadow: 0 0 30px rgba(94,234,228,0.06), 0 8px 32px rgba(0,0,0,0.4), 0 24px 64px rgba(0,0,0,0.3);
}

/* ── Nav ── */
.nav-blur {
    backdrop-filter: blur(20px) saturate(1.4);
    -webkit-backdrop-filter: blur(20px) saturate(1.4);
}

/* ── Buttons ── */
.btn-primary {
    background: linear-gradient(135deg, #5EEAE4, #3DFDB4);
    color: #050D10;
    font-weight: 700;
    transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease;
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 24px rgba(94,234,228,0.4), 0 8px 24px rgba(61,253,180,0.2);
}
.btn-primary:focus-visible { outline: 2px solid #5EEAE4; outline-offset: 3px; }
.btn-primary:active { transform: translateY(0); }

.btn-secondary {
    border: 1.5px solid rgba(94,234,228,0.35);
    color: #5EEAE4;
    font-weight: 600;
    transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.btn-secondary:hover {
    border-color: #5EEAE4;
    background: rgba(94,234,228,0.08);
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(94,234,228,0.15);
}
.btn-secondary:focus-visible { outline: 2px solid #5EEAE4; outline-offset: 3px; }
.btn-secondary:active { transform: translateY(0); }

/* ── FAQ ── */
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease; opacity: 0; }
.faq-item.open .faq-answer { max-height: 200px; opacity: 1; }
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-chevron { transition: transform 0.3s ease; }

/* ── Mobile nav ── */
.mobile-menu { transform: translateX(100%); transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1); }
.mobile-menu.open { transform: translateX(0); }

/* ── Float animation for hero screenshot ── */
@keyframes float { 0%,100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-12px) rotate(-1deg); } }
.float-anim { animation: float 6s ease-in-out infinite; }

/* ── Infinite scroll marquee ── */
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.marquee-track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee-track:hover { animation-play-state: paused; }

/* ── Hero background ── */
.hero-mesh {
    background:
        radial-gradient(ellipse 70% 50% at 15% 50%, rgba(94,234,228,0.12) 0%, transparent 60%),
        radial-gradient(ellipse 40% 60% at 85% 20%, rgba(61,253,180,0.06) 0%, transparent 50%),
        radial-gradient(ellipse 60% 50% at 50% 90%, rgba(5,13,16,0.9) 0%, transparent 60%);
}

/* ── Accent dot ── */
.dot-glow {
    width: 8px; height: 8px; border-radius: 50%;
    background: #5EEAE4;
    box-shadow: 0 0 8px #5EEAE4, 0 0 20px rgba(94,234,228,0.4);
}

/* ── Divider glow line ── */
.glow-line {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(94,234,228,0.3), transparent);
}

/* ── Feature icon bg ── */
.icon-glow {
    background: rgba(94,234,228,0.1);
    box-shadow: 0 0 20px rgba(94,234,228,0.08);
}

/* ── Legal / prose content ── */
.legal-prose h2 {
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: 1.5rem;
    color: #fff;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}
.legal-prose h3 {
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: 1.2rem;
    color: rgba(255,255,255,0.9);
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}
.legal-prose p {
    color: rgba(255,255,255,0.55);
    line-height: 1.8;
    margin-bottom: 1rem;
}
.legal-prose ul, .legal-prose ol {
    color: rgba(255,255,255,0.55);
    padding-left: 1.5rem;
    margin-bottom: 1rem;
    line-height: 1.8;
}
.legal-prose ul { list-style: disc; }
.legal-prose ol { list-style: decimal; }
.legal-prose li { margin-bottom: 0.35rem; }
.legal-prose a {
    color: #5EEAE4;
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.2s ease;
}
.legal-prose a:hover { color: #3DFDB4; }
.legal-prose strong { color: rgba(255,255,255,0.75); font-weight: 600; }
.legal-prose table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
}
.legal-prose th, .legal-prose td {
    text-align: left;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.55);
    font-size: 0.875rem;
}
.legal-prose th {
    color: rgba(255,255,255,0.75);
    font-weight: 600;
    border-bottom-color: rgba(94,234,228,0.15);
}
.legal-prose hr {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(94,234,228,0.2), transparent);
    margin: 2.5rem 0;
}

/* ── Skeleton pricing cards ── */
.skeleton-card {
    position: relative;
    background: linear-gradient(180deg, rgba(94,234,228,0.02) 0%, rgba(5,13,16,0.6) 100%);
    border: 1px solid rgba(94,234,228,0.06);
    pointer-events: none;
    user-select: none;
}
.skeleton-line {
    background: linear-gradient(90deg, rgba(94,234,228,0.04) 25%, rgba(94,234,228,0.08) 50%, rgba(94,234,228,0.04) 75%);
    background-size: 200% 100%;
    animation: skeleton-pulse 2.4s ease-in-out infinite;
}
@keyframes skeleton-pulse {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ── Booking wizard ── */
.wizard-container { position: relative; overflow: hidden; }
.wizard-slide {
    display: none;
    opacity: 0;
    transform: translateX(60%);
    transition: transform 0.42s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.42s cubic-bezier(0.16, 1, 0.3, 1);
}
.wizard-slide.active { display: block; opacity: 1; transform: translateX(0); }

.wizard-step-indicator {
    display: flex; flex-direction: column; align-items: center; gap: 0.35rem;
    cursor: default; transition: opacity 0.3s ease;
}
.wizard-step-indicator.completed { cursor: pointer; }
.wizard-step-num {
    width: 2rem; height: 2rem; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.75rem; font-weight: 700;
    background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.3);
    transition: all 0.3s ease;
}
.wizard-step-indicator.active .wizard-step-num {
    background: rgba(94,234,228,0.12); border-color: rgba(94,234,228,0.3); color: #5EEAE4;
}
.wizard-step-indicator.completed .wizard-step-num {
    background: rgba(94,234,228,0.2); border-color: rgba(94,234,228,0.4); color: #5EEAE4;
}
.wizard-progress-fill {
    position: absolute; top: 0; left: 0; height: 100%; width: 0;
    background: linear-gradient(90deg, rgba(94,234,228,0.3), rgba(61,253,180,0.3));
    transition: width 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.wizard-progress-fill.filled { width: 100%; }

/* ── Interest chips ── */
.interest-chip {
    display: flex; align-items: center; justify-content: center;
    padding: 0.6rem 1rem; border-radius: 0.5rem;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(5,13,16,0.6);
    font-size: 0.8125rem; color: rgba(255,255,255,0.5);
    cursor: pointer; transition: all 0.2s ease; user-select: none;
}
.interest-chip:hover { border-color: rgba(94,234,228,0.2); color: rgba(255,255,255,0.7); }
.interest-chip.selected {
    border-color: rgba(94,234,228,0.4); background: rgba(94,234,228,0.08); color: #5EEAE4;
}

/* ── Calendar date buttons ── */
.cal-date-btn {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    padding: 0.75rem 0.5rem; border-radius: 0.75rem;
    border: 1px solid rgba(255,255,255,0.06);
    background: rgba(5,13,16,0.5);
    cursor: pointer; transition: all 0.2s ease;
}
.cal-date-btn:hover { border-color: rgba(94,234,228,0.2); background: rgba(94,234,228,0.04); }
.cal-date-btn.selected {
    border-color: rgba(94,234,228,0.5); background: rgba(94,234,228,0.1);
    box-shadow: 0 0 20px rgba(94,234,228,0.08);
}

/* ── Calendar time buttons ── */
.cal-time-btn {
    padding: 0.5rem 0.75rem; border-radius: 0.5rem;
    border: 1px solid rgba(255,255,255,0.06);
    background: rgba(5,13,16,0.5);
    font-size: 0.8125rem; color: rgba(255,255,255,0.5);
    cursor: pointer; transition: all 0.2s ease;
}
.cal-time-btn:hover { border-color: rgba(94,234,228,0.2); color: rgba(255,255,255,0.7); }
.cal-time-btn.selected {
    border-color: rgba(94,234,228,0.5); background: rgba(94,234,228,0.12); color: #5EEAE4;
    box-shadow: 0 0 16px rgba(94,234,228,0.06);
}

/* ── Validation error state ── */
.border-red-400\/50 { border-color: rgba(248,113,113,0.5) !important; }
