/* ==========================================================================
   SolidW — Landing Page (Pastel Dream pass)
   White canvas everywhere. Gradient only appears as: hero highlight text,
   the hero visual's gradient panel backdrop, the features section wash,
   and the CTA card. Buttons are flat, minimal, small-radius — no glow,
   no full pill, no blur-behind-button trick.
   Mobile-first: base rules are phone-sized, larger screens layer on top.
   ========================================================================== */

:root {
  --landing-max: 1180px;
}

.landing, .nav, .site-footer {
  font-family: var(--font-sans, 'Inter', -apple-system, sans-serif);
  -webkit-font-smoothing: antialiased;
  background: var(--color-pastel-bg);
}

/* ==========================================================================
   NAV — solid white, minimal
   ========================================================================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #FFFFFF;
  border-bottom: 1px solid var(--border-subtle);
}

.nav-container {
  max-width: var(--landing-max);
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.0625rem;
  letter-spacing: -0.02em;
  color: var(--color-brand-navy);
}
.nav-logo-img {
  height: 42px;
  width: auto;
  display: block;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 200ms var(--ease-out-smooth);
}
.nav-link:hover,
.nav-link.active { color: var(--color-brand-primary); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-mobile-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--border-subtle);
  background: #FFFFFF;
  font-size: 1.1rem;
  color: var(--color-brand-navy);
}

@media (min-width: 860px) {
  .nav-links { display: flex; }
  .nav-mobile-toggle { display: none; }
}

@media (max-width: 859px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    background: #FFFFFF;
    border-bottom: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-soft-md);
    padding: 8px 20px 16px;
  }
  .nav-links.open { display: flex; }
  .nav-links .nav-link { width: 100%; padding: 10px 0; }
}

/* ==========================================================================
   HERO — a single centered column, generously tall (~92vh), so the first
   screen shows only the badge, headline, description and one CTA. Pure
   soft-white canvas with three very low-opacity radial glows (cream,
   sapphire, royal blue) breathing behind the copy — editorial, not loud.
   The product mockup lives in .hero-showcase, further down the page.
   ========================================================================== */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-pastel-bg);
  padding: 120px 20px 64px;
  overflow: hidden;
}

/* ---- Background: soft editorial glows, almost invisible ---- */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.5;
}
.hero-glow--cream {
  top: -12%;
  left: 50%;
  width: 620px;
  height: 620px;
  transform: translateX(-50%);
  background: radial-gradient(circle, var(--color-pastel-bg-soft) 0%, rgba(247, 244, 247, 0) 70%);
  opacity: 0.9;
}
.hero-glow--sapphire {
  top: 6%;
  right: 6%;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, var(--color-pastel-periwinkle) 0%, rgba(145, 164, 250, 0) 72%);
}
.hero-glow--royal {
  bottom: -8%;
  left: 2%;
  width: 460px;
  height: 460px;
  background: radial-gradient(circle, var(--color-brand-primary) 0%, rgba(76, 95, 214, 0) 72%);
  opacity: 0.16;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  box-shadow: var(--shadow-soft-xs);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-brand-navy);
  text-decoration: none;
  margin-bottom: 32px;
  transition: border-color 200ms var(--ease-out-smooth), box-shadow 200ms var(--ease-out-smooth);
}
.hero-badge:hover {
  border-color: var(--border-brand);
  box-shadow: var(--shadow-soft-sm);
}
.hero-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gradient-pastel-solid);
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.25rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: var(--color-brand-navy);
  margin: 0 0 24px;
}
.hero-title .highlight {
  background: var(--gradient-pastel-solid);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: clamp(1.0625rem, 2.5vw, 1.1875rem);
  line-height: 1.65;
  color: var(--text-secondary);
  max-width: 620px;
  margin: 0 0 40px;
}

.hero-scroll-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin: 0 auto;
  border-radius: 50%;
  background: var(--color-surface, #FFFFFF);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-soft-lg);
  color: var(--color-brand-primary);
  transition: transform var(--duration-base) var(--ease-standard),
              box-shadow var(--duration-base) var(--ease-standard),
              background var(--duration-base) var(--ease-standard);
  animation: heroScrollBounce 2.2s ease-in-out infinite;
}
.hero-scroll-btn svg { width: 20px; height: 20px; }
.hero-scroll-btn:hover {
  transform: translateY(3px);
  background: var(--color-brand-primary);
  color: #FFFFFF;
  box-shadow: var(--shadow-soft-lg), var(--shadow-blue-glow);
}
@keyframes heroScrollBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-scroll-btn { animation: none; }
}

.hero-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  width: 100%;
  margin-bottom: 18px;
}
.hero-actions .btn { width: auto; }

@media (max-width: 479px) {
  .hero-actions .btn { flex: 0 1 auto; }
}

.hero-fineprint {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin: 0;
  letter-spacing: 0.01em;
}

/* ==========================================================================
   PRODUCT SHOWCASE — the layered booking-page mockup, positioned below
   the hero fold so it only appears once the visitor scrolls.
   ========================================================================== */
.hero-showcase {
  position: relative;
  padding: 8px 20px 96px;
  background: var(--color-pastel-bg);
}

.hero-visual {
  position: relative;
  max-width: var(--landing-max);
  margin: 0 auto;
  display: flex;
  justify-content: center;
}

.hero-visual-stage {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 440px;
  padding: 40px 46px 64px;
  border-radius: 32px;
  background: var(--gradient-pastel);
  box-shadow: var(--shadow-soft-lg);
  overflow: visible;
}
.hero-visual-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255,255,255,0.25) 0%, rgba(255,255,255,0) 45%);
  pointer-events: none;
}

/* ==========================================================================
   HERO DEMO CAROUSEL — real product screenshot + a CTA slide linking to
   a live example page. Two slides, swipe/arrow/dot navigation.
   ========================================================================== */
.demo-carousel {
  position: relative;
  z-index: 2;
}

.demo-carousel-mask {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft-lg);
  background: #FFFFFF;
}

.demo-carousel-track {
  display: flex;
  align-items: flex-start;
  width: 100%;
  transition: transform 420ms var(--ease-out-smooth, ease), height 420ms var(--ease-out-smooth, ease);
}

.demo-slide {
  flex: 0 0 100%;
  min-width: 0;
}

.demo-screenshot-frame {
  width: 100%;
  line-height: 0;
  background: var(--color-pastel-bg-soft);
}
.demo-screenshot {
  display: block;
  width: 100%;
  height: auto;
}

.demo-cta-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 36px 28px 56px;
  min-height: 320px;
  justify-content: center;
  background: var(--gradient-pastel);
}
.demo-cta-eyebrow {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--color-brand-primary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.demo-cta-title {
  margin: 2px 0 0;
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--color-brand-navy);
}
.demo-cta-sub {
  margin: 4px 0 18px;
  font-size: 0.9375rem;
  color: var(--text-muted);
  max-width: 30ch;
}
.hero-visual-stage .demo-cta-btn.demo-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #FFFFFF 0%, #EDF0FF 100%);
  color: var(--color-brand-primary);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft-md);
}
.hero-visual-stage .demo-cta-btn.demo-cta-btn:hover {
  background: linear-gradient(135deg, #FFFFFF 0%, #E2E7FF 100%);
}

.demo-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.92);
  color: var(--color-brand-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-soft-lg);
  cursor: pointer;
  transition: background 160ms ease, transform 160ms ease;
}
.demo-arrow:hover { background: #FFFFFF; transform: translateY(-50%) scale(1.05); }
.demo-arrow.is-hidden { display: none; }
.demo-arrow svg { width: 18px; height: 18px; }
.demo-arrow--prev { left: -41px; }
.demo-arrow--next { right: -41px; }

.demo-dots {
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 7px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
}
.demo-dot {
  width: 7px;
  height: 7px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: var(--border-subtle);
  cursor: pointer;
}
.demo-dot--active { background: var(--color-brand-primary); width: 18px; border-radius: 4px; }

/* Floating cards — solid, soft shadow */
.float-card {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  box-shadow: var(--shadow-soft-md);
  padding: 10px 14px;
}

.float-card--reservation {
  top: 4px;
  left: 0;
  animation: floatDrift 6s ease-in-out infinite;
}
.float-card-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.float-card-icon--success {
  background: color-mix(in srgb, var(--color-success) 14%, transparent);
  color: var(--color-success);
}
.float-card-icon--success svg { width: 16px; height: 16px; }
.float-card-title { font-size: 0.8125rem; font-weight: 700; color: var(--color-brand-navy); margin: 0; }
.float-card-sub { font-size: 0.75rem; color: var(--text-muted); margin: 1px 0 0; }

@keyframes floatDrift {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@media (prefers-reduced-motion: reduce) {
  .float-card--reservation { animation: none; }
}

/* ==========================================================================
   BUTTONS — normal, minimal, modern. Flat fills, small radius, a light
   lift on hover. No blurred glow layer, no oversized pill shape.
   ========================================================================== */
.landing .btn,
.hero-actions .btn,
.cta-card .btn {
  border-radius: 16px;
  padding: 12px 22px;
  font-size: 0.9375rem;
  font-weight: 600;
  transition: background-color 180ms var(--ease-out-smooth),
              border-color 180ms var(--ease-out-smooth),
              color 180ms var(--ease-out-smooth),
              transform 180ms var(--ease-out-smooth),
              box-shadow 180ms var(--ease-out-smooth);
}

.landing .btn-primary,
.hero-actions .btn-primary,
.cta-card .btn-primary {
  background: linear-gradient(180deg, #6D7CFF 0%, #5567F2 100%);
  color: #FFFFFF;
  border: 1px solid transparent;
  box-shadow: 0 12px 32px rgba(85, 103, 242, 0.18);
}
.landing .btn-primary:hover {
  filter: brightness(1.06);
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(85, 103, 242, 0.24);
}

.landing .btn-secondary {
  background: #FFFFFF;
  color: var(--color-brand-navy);
  border: 1px solid var(--border-medium);
}
.landing .btn-secondary:hover {
  border-color: var(--color-brand-primary);
  color: var(--color-brand-primary);
}

.landing .btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid transparent;
}
.landing .btn-ghost:hover { color: var(--color-brand-navy); }

/* ---- Hero CTA only: taller than the standard landing button ---- */
.hero-actions .btn-primary.hero-cta {
  height: 58px;
  padding: 0 30px;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* On small phones, both hero buttons scale down and sit compactly
   side by side instead of stretching to fill the row. */
@media (max-width: 479px) {
  .hero-actions .btn-primary.hero-cta {
    height: 46px;
    padding: 0 18px;
    font-size: 0.875rem;
  }
  .hero-actions .btn:not(.hero-cta) {
    padding: 10px 16px;
    font-size: 0.875rem;
  }
}

/* ==========================================================================
   FEATURES — soft pastel gradient wash behind the whole section; the
   section header sits on top as a frosted glass card, feature cards
   below stay solid white so the short copy stays readable.
   ========================================================================== */
.features {
  position: relative;
  padding: 64px 20px 72px;
  background: var(--gradient-pastel-soft);
}

.features-inner {
  max-width: var(--landing-max);
  margin: 0 auto;
}

.section-header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 36px;
  padding: 28px 24px;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow-soft-sm);
}
.section-header .label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-brand-primary);
  margin-bottom: 8px;
}
.section-header h2 {
  font-size: clamp(1.375rem, 3.5vw, 1.875rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--color-brand-navy);
  margin: 0 0 10px;
}
.section-header p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin: 0;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 640px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .features-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
}

/* ---- Feature cards — small, scannable copy ("not reading all that") ---- */
.feature-card {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px 18px;
  box-shadow: var(--shadow-soft-sm);
  transition: transform 250ms var(--ease-out-smooth), box-shadow 250ms var(--ease-out-smooth), border-color 250ms var(--ease-out-smooth);
}
.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft-md);
  border-color: var(--border-brand);
}

.feature-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-pastel-soft);
  color: var(--color-brand-primary);
  margin-bottom: 12px;
}
.feature-icon svg { width: 18px; height: 18px; }

.feature-card h3 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--color-brand-navy);
  margin: 0 0 5px;
}
.feature-card p {
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--text-secondary);
  margin: 0;
}

/* ==========================================================================
   CTA — light pastel gradient card, not a dark block. Freemium copy,
   no trial language, no credit-card footnote.
   ========================================================================== */
.cta-section {
  padding: 8px 20px 72px;
}

.cta-card {
  position: relative;
  isolation: isolate;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  padding: 44px 28px;
  border-radius: var(--radius-xl);
  background: var(--gradient-pastel-soft);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow-soft-lg);
  overflow: hidden;
}

.cta-card h2 {
  font-size: clamp(1.375rem, 3.5vw, 1.875rem);
  font-weight: 800;
  color: var(--color-brand-navy);
  margin: 0 0 8px;
}
.cta-card p {
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--text-secondary);
  margin: 0 0 22px;
  max-width: 460px;
  margin-inline: auto;
}
.cta-card .cta-footnote {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin: 14px 0 0;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  text-align: center;
  padding: 28px 20px;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.8125rem;
  color: var(--text-muted);
  background: #FFFFFF;
}

/* ==========================================================================
   Entrance animation
   ========================================================================== */
.hero-inner, .hero-visual-stage {
  animation: heroRise 700ms var(--ease-out-smooth) both;
}
.hero-visual-stage { animation-delay: 120ms; }

@keyframes heroRise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-inner, .hero-visual-stage { animation: none; }
}
