/* SafarEz v2.0 — Eventbeds-Inspired Scroll-Driven Minimalist Design System */
:root {
  --white: #FFFFFF;
  --surface: #F5F7FA;
  --surface-alt: #EBEFF5;
  --charcoal: #1B1F29;
  --obsidian: #0B0D11;
  --obsidian-card: #151821;
  --obsidian-border: #232836;
  --teal: #10B39D;
  --teal-glow: rgba(16, 179, 157, 0.22);
  --teal-soft: #E5F8F5;
  --muted: #7E8694;
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--white);
  color: var(--charcoal);
  font-family: var(--font-main);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Scroll Progress Bar at Very Top */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--teal);
  width: 0%;
  z-index: 1000;
  transition: width 0.08s linear;
}

/* Floating Minimalist Header (Matches eventbeds 171851.png & 171939.png) */
.floating-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  padding: 20px 36px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.35s ease, backdrop-filter 0.35s ease, padding 0.35s ease;
}

.floating-nav.scrolled-light {
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(18px);
  padding: 14px 36px;
  border-bottom: 1px solid rgba(27, 31, 41, 0.06);
}

.floating-nav.scrolled-dark {
  background: rgba(11, 13, 17, 0.86);
  backdrop-filter: blur(18px);
  padding: 14px 36px;
  color: var(--white);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

.nav-logo {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  object-fit: cover;
}

.nav-wordmark {
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -0.8px;
}

.nav-wordmark span {
  color: var(--teal);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Rounded Pill Buttons (Matches eventbeds Top-Right "Get help" & "Menu :") */
.pill-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.22s ease, background 0.22s ease;
}

.pill-btn:hover {
  transform: translateY(-2px);
}

.pill-dark {
  background: var(--charcoal);
  color: var(--white);
}

.pill-light {
  background: var(--surface);
  color: var(--charcoal);
}

.pill-white {
  background: var(--white);
  color: var(--obsidian);
}

.pill-teal {
  background: var(--teal);
  color: var(--white);
  box-shadow: 0 10px 28px var(--teal-glow);
}

.pill-lg {
  padding: 16px 34px;
  font-size: 15px;
}

/* Scroll-Reveal Utility Classes */
.reveal-up {
  opacity: 0;
  transform: translateY(42px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.92) translateY(30px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-scale.visible {
  opacity: 1;
  transform: scale(1) translateY(0);
}

/* =========================================================================
   STAGE 1: ARCHITECTURAL WHITE HERO (Matches Screenshot 171851.png)
   ========================================================================= */
.hero-stage {
  position: relative;
  min-height: 100vh;
  padding: 130px 24px 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: radial-gradient(circle at 50% 25%, #FFFFFF 0%, #F4F7FA 100%);
  overflow: hidden;
}

.hero-eyebrow {
  font-size: 20px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: -0.3px;
  margin-bottom: 12px;
}

.hero-giant-title {
  font-size: clamp(56px, 11vw, 152px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.92;
  color: var(--charcoal);
  text-transform: uppercase;
  margin-bottom: 28px;
  z-index: 1;
}

/* Floating Architectural Price Pins (Matches £335 / £349 / £285 pins in 171851.png) */
.floating-pin {
  position: absolute;
  background: var(--white);
  padding: 8px 16px 8px 10px;
  border-radius: 999px;
  box-shadow: 0 16px 40px rgba(27, 31, 41, 0.10);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 15px;
  color: var(--charcoal);
  z-index: 4;
  animation: floatBob 4.5s ease-in-out infinite;
}

.pin-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
}

.pin-left-top { left: 12%; top: 52%; animation-delay: 0s; }
.pin-right-mid { right: 13%; top: 58%; animation-delay: 1.2s; }
.pin-right-low { right: 18%; bottom: 14%; animation-delay: 2.4s; }
.pin-left-low { left: 18%; bottom: 18%; animation-delay: 0.8s; }

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

/* Realistic iPhone/Android Phone Mockup Frame */
.phone-Shell {
  width: 356px;
  background: var(--obsidian);
  border-radius: 52px;
  padding: 12px;
  box-shadow: 0 34px 90px rgba(11, 13, 17, 0.24), 0 0 0 1px rgba(27, 31, 41, 0.08);
  position: relative;
  z-index: 3;
  transition: transform 0.35s ease;
}

.phone-island {
  width: 106px;
  height: 26px;
  background: var(--obsidian);
  border-radius: 999px;
  margin: 6px auto 12px;
}

.phone-screen-light {
  background: var(--white);
  border-radius: 42px;
  padding: 20px 18px 24px;
  text-align: left;
  color: var(--charcoal);
  min-height: 610px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.phone-screen-dark {
  background: var(--obsidian);
  border-radius: 42px;
  padding: 20px 18px 24px;
  text-align: left;
  color: var(--white);
  min-height: 610px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--obsidian-border);
}

/* =========================================================================
   STAGE 2: 3-COLUMN SHOWCASE (Matches Screenshot 171913.png)
   ========================================================================= */
.showcase-stage {
  padding: 110px 36px 120px;
  max-width: 1320px;
  margin: 0 auto;
}

.stage-headline {
  font-size: clamp(38px, 5.5vw, 68px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.04;
  text-align: center;
  max-width: 820px;
  margin: 0 auto 64px;
}

.three-col-showcase {
  display: grid;
  grid-template-columns: 1fr 370px 1fr;
  gap: 48px;
  align-items: center;
}

.editorial-col {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.editorial-block h3 {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 10px;
}

.editorial-block p {
  font-size: 16px;
  color: var(--muted);
  max-width: 320px;
}

.mini-visual-card {
  background: var(--surface);
  border-radius: 28px;
  padding: 24px;
  position: relative;
}

.giant-stat-number {
  font-size: 86px;
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 0.95;
  color: var(--charcoal);
}

/* =========================================================================
   STAGE 3: DARK CINEMATIC TRANSITION + 3-PHONE STAGE (Matches 171939 & 171923)
   ========================================================================= */
.dark-stage {
  background: var(--obsidian);
  color: var(--white);
  padding: 140px 36px 130px;
  border-radius: 48px 48px 0 0;
  margin-top: 20px;
}

.dark-center-intro {
  max-width: 680px;
  margin: 0 auto 120px;
  text-align: center;
}

.dark-center-intro h2 {
  font-size: clamp(42px, 6vw, 76px);
  font-weight: 800;
  letter-spacing: -0.035em;
  margin-bottom: 18px;
}

.dark-center-intro p {
  font-size: 19px;
  color: var(--muted);
  line-height: 1.6;
}

.discover-eyebrow {
  text-align: center;
  font-size: 20px;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 6px;
}

.discover-giant {
  text-align: center;
  font-size: clamp(48px, 8vw, 108px);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #D5DBE6;
  margin-bottom: 54px;
  line-height: 1;
}

.three-phones-grid {
  max-width: 1220px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  justify-items: center;
}

/* Interactive Chip & Fintech Styles Inside Phone Mockups */
.fintech-chip-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin: 8px 0 14px;
}

.fintech-chip {
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  background: #1C202B;
  color: #9CA3AF;
  border: none;
  cursor: pointer;
  transition: all 0.18s ease;
}

.fintech-chip.active {
  background: var(--teal);
  color: var(--white);
}

.fintech-chip-light {
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  background: var(--surface);
  color: var(--charcoal);
  border: none;
}

.fintech-chip-light.active {
  background: var(--teal);
  color: var(--white);
}

/* =========================================================================
   STAGE 4: MINIMALIST PRICING & SETUP (Light Clean Section)
   ========================================================================= */
.light-section {
  padding: 110px 36px;
  max-width: 1240px;
  margin: 0 auto;
}

.pricing-cards-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.minimal-price-card {
  background: var(--surface);
  border-radius: 32px;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.25s ease;
}

.minimal-price-card:hover {
  transform: translateY(-6px);
}

.minimal-price-card.dark-featured {
  background: var(--obsidian);
  color: var(--white);
  box-shadow: 0 28px 60px rgba(11, 13, 17, 0.18);
}

.price-tag-pill {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  background: var(--teal-soft);
  color: var(--teal);
  width: fit-content;
}

.dark-featured .price-tag-pill {
  background: var(--teal);
  color: var(--white);
}

.price-big {
  font-size: 54px;
  font-weight: 800;
  letter-spacing: -2px;
  margin: 18px 0 8px;
}

.price-big span {
  font-size: 15px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0;
}

.clean-list {
  list-style: none;
  margin: 20px 0 30px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
  color: var(--muted);
}

.dark-featured .clean-list {
  color: #D1D5DB;
}

/* FAQ Accordion */
.faq-stack {
  max-width: 820px;
  margin: 40px auto 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-box {
  background: var(--surface);
  border-radius: 24px;
  padding: 22px 26px;
}

.faq-box summary {
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
}

.faq-box summary::-webkit-details-marker { display: none; }

.faq-box p {
  margin-top: 12px;
  font-size: 14px;
  color: var(--muted);
}

/* Minimal Footer */
.minimal-footer {
  background: var(--obsidian);
  color: var(--white);
  padding: 72px 36px 48px;
  border-radius: 40px 40px 0 0;
}

.footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--obsidian-border);
}

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-links a {
  color: #D1D5DB;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}

.footer-links a:hover {
  color: var(--teal);
}

.footer-fineprint {
  max-width: 1240px;
  margin: 24px auto 0;
  font-size: 12px;
  color: var(--muted);
}

/* Modal & Legal Wrapper */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(11, 13, 17, 0.72);
  backdrop-filter: blur(10px);
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-card {
  background: var(--white);
  color: var(--charcoal);
  border-radius: 32px;
  max-width: 440px;
  width: 100%;
  padding: 32px;
}

.modal-input {
  width: 100%;
  padding: 14px 18px;
  border-radius: 999px;
  border: 1px solid var(--surface-alt);
  background: var(--surface);
  color: var(--charcoal);
  font-size: 14px;
  margin: 6px 0 16px;
  outline: none;
}

.legal-container {
  max-width: 880px;
  margin: 120px auto 80px;
  background: var(--surface);
  border-radius: 32px;
  padding: 48px;
}

.legal-container h1 { font-size: 36px; margin-bottom: 8px; }
.legal-container h2 { font-size: 20px; margin: 28px 0 10px; }
.legal-container p, .legal-container li { font-size: 15px; color: var(--muted); margin-bottom: 12px; }
.legal-container ul { padding-left: 22px; }
.legal-callout {
  background: var(--teal-soft);
  color: var(--charcoal);
  border-left: 4px solid var(--teal);
  padding: 18px 22px;
  border-radius: 18px;
  margin: 20px 0;
  font-size: 14px;
}

/* =========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================= */

/* Tablet & below: collapse grids to single column */
@media (max-width: 1080px) {
  .three-col-showcase, .three-phones-grid, .pricing-cards-row {
    grid-template-columns: 1fr;
    justify-items: center;
  }
  .floating-pin { display: none; }

  .phone-Shell {
    width: min(340px, 88vw);
  }
}

/* Tablet mid-range */
@media (max-width: 768px) {
  .floating-nav {
    padding: 16px 20px;
  }
  .floating-nav.scrolled-light,
  .floating-nav.scrolled-dark {
    padding: 12px 20px;
  }
  .nav-wordmark { font-size: 19px; }
  .nav-logo { width: 34px; height: 34px; }

  .showcase-stage {
    padding: 72px 20px 80px;
  }
  .dark-stage {
    padding: 80px 20px 80px;
    border-radius: 36px 36px 0 0;
  }
  .dark-center-intro {
    margin-bottom: 60px;
  }
  .dark-center-intro p { font-size: 16px; }
  .light-section {
    padding: 72px 20px;
  }
  .minimal-footer {
    padding: 48px 20px 40px;
    border-radius: 32px 32px 0 0;
  }
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
  }
  .footer-links {
    flex-wrap: wrap;
    gap: 14px 20px;
  }
}

/* Mobile */
@media (max-width: 480px) {
  /* Nav — hide secondary links, keep brand + Download */
  .nav-link-hide { display: none !important; }
  .floating-nav { padding: 14px 18px; }
  .floating-nav.scrolled-light,
  .floating-nav.scrolled-dark { padding: 10px 18px; }
  .nav-wordmark { font-size: 18px; }
  .pill-btn { padding: 10px 18px; font-size: 13px; }
  .pill-lg { padding: 14px 28px; font-size: 14px; }

  /* Hero */
  .hero-stage {
    padding: 90px 18px 48px;
    min-height: 100svh;
  }
  .hero-eyebrow { font-size: 13px; }
  .hero-giant-title {
    font-size: clamp(40px, 13vw, 72px) !important;
    margin-bottom: 16px !important;
  }

  /* Phone shells */
  .phone-Shell {
    width: min(310px, 92vw);
    border-radius: 44px;
    padding: 10px;
  }
  .phone-island {
    width: 88px;
    height: 22px;
    margin: 5px auto 10px;
  }
  .phone-screen-light,
  .phone-screen-dark {
    border-radius: 36px;
    padding: 16px 14px 20px;
    min-height: auto;
  }

  /* Stage headlines */
  .stage-headline {
    font-size: clamp(28px, 8vw, 48px);
    margin-bottom: 36px;
  }
  .discover-giant {
    font-size: clamp(38px, 12vw, 72px);
    margin-bottom: 36px;
  }

  /* Pricing */
  .minimal-price-card { padding: 26px 22px; }
  .price-big { font-size: 44px; }
  .pricing-cards-row { gap: 16px; margin-top: 32px; }

  /* Giant stat */
  .giant-stat-number { font-size: 64px; }

  /* Footer */
  .minimal-footer { padding: 40px 18px 32px; border-radius: 26px 26px 0 0; }
  .footer-fineprint { font-size: 11px; }
  .footer-links { flex-direction: column; gap: 12px; }

  /* Editorial blocks */
  .showcase-stage { padding: 56px 18px 64px; }
  .editorial-block p { font-size: 15px; }
  .three-col-showcase { gap: 28px; }
  .three-phones-grid { gap: 24px; }

  /* Reduce dark stage intro margin */
  .dark-center-intro { margin-bottom: 48px; }
  .dark-center-intro h2 { font-size: clamp(32px, 9vw, 52px); }

  /* FAQ */
  .faq-box { padding: 18px 20px; border-radius: 20px; }
  .faq-box summary { font-size: 14px; }
}



/* 3-Layer Eventbeds Architectural Depth Hero (Text in Front of 3D Cityscape) */
.hero-stage {
  background: #FFFFFF !important;
}
.hero-city-backdrop {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 78%;
  object-fit: cover;
  object-position: center top;
  z-index: 1 !important;
  pointer-events: none;
  user-select: none;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 24%, rgba(0,0,0,1) 86%, rgba(0,0,0,0) 100%);
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 24%, rgba(0,0,0,1) 86%, rgba(0,0,0,0) 100%);
}
.hero-bottom-fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 110px;
  background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, #FFFFFF 100%);
  z-index: 2;
  pointer-events: none;
}
.hero-eyebrow {
  position: relative;
  z-index: 3 !important;
}
.hero-giant-title {
  position: relative;
  z-index: 3 !important;
  margin-bottom: 18px !important;
}

/* ── Cookie consent banner ─────────────────────────────────────────────── */
#cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--charcoal);
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 24px;
  z-index: 9999;
  font-size: 13px;
  flex-wrap: wrap;
  transition: transform 0.4s ease;
}
#cookie-banner p { margin: 0; flex: 1; min-width: 200px; }
#cookie-banner a { color: var(--teal); font-weight: 700; }
#cookie-banner #cookie-accept {
  background: var(--teal);
  color: var(--charcoal);
  border: none;
  border-radius: 20px;
  padding: 8px 22px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  font-family: inherit;
}
#cookie-banner.cookie-hide { transform: translateY(100%); }

/* ── Back to top button ────────────────────────────────────────────────── */
#back-to-top {
  position: fixed;
  bottom: 28px;
  right: 20px;
  width: 44px;
  height: 44px;
  background: var(--charcoal);
  color: var(--white);
  border: none;
  border-radius: 50%;
  font-size: 22px;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.18);
}
#back-to-top:hover { background: var(--teal); color: var(--charcoal); }
