:root {
  --navy: #181E4B;
  --text: #5E6282;
  --dark: #212832;
  --orange: #DF6951;
  --yellow: #F1A501;
  --step-yellow: #F0BB1F;
  --step-orange: #F15A2B;
  --step-teal: #006380;
  --sky: #87CEEB;
  --lilac: #F7F5FE;
  --purple: #8A79DF;
  --white: #FFFFFF;
  --ph-bg: #E3E3E3;
  --ph-text: #7A7A7A;

  --font-head: 'Bricolage Grotesque', sans-serif;
  --font-body: 'Poppins', sans-serif;

  --container: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}
h1, h2, h3, p, ul { margin: 0; padding: 0; }
ul { list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; }

.container {
  width: 100%;
  max-width: calc(var(--container) + 40px);
  margin: 0 auto;
  padding: 0 20px;
}

/* Placeholders */
.ph {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ph-bg);
  color: var(--ph-text);
  font-family: var(--font-body);
  font-size: 12px;
  text-align: center;
  flex-shrink: 0;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .8s ease, transform .8s ease;
}
.reveal.visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .1s; }
.reveal[data-delay="2"] { transition-delay: .2s; }
.reveal[data-delay="3"] { transition-delay: .3s; }
.reveal[data-delay="4"] { transition-delay: .4s; }
.reveal[data-delay="5"] { transition-delay: .5s; }
/* After reveal, hover transforms should respond instantly */
.reveal.visible.revealed { transition: opacity .8s ease, transform .3s ease, box-shadow .3s ease; transition-delay: 0s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Header / Hero */
.hero {
  position: relative;
  padding-bottom: 100px;
  background: linear-gradient(180deg, var(--sky) 0%, var(--white) 100%);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 134px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--navy);
}
.logo-img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
  background: var(--white);
}
.nav-links {
  display: flex;
  align-items: center;
  font-size: 17px;
  font-weight: 500;
  color: var(--dark);
}
.nav-links li { margin-left: 56px; }
.nav-links li:first-child { margin-left: 0; }
.nav-links li:nth-child(4) { margin-left: 120px; }
.nav-links li:nth-child(5) { margin-left: 30px; }
.nav-links a:not(.btn-outline) { position: relative; }
.nav-links a:not(.btn-outline)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}
.nav-links a:not(.btn-outline):hover::after { transform: scaleX(1); }
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: 10px;
  z-index: 20;
}
.menu-toggle span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--navy);
  transition: transform .3s ease, opacity .3s ease;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.btn-outline {
  display: inline-block;
  padding: 7px 20px;
  border: 1px solid var(--dark);
  border-radius: 5px;
  transition: background .25s ease, color .25s ease, transform .25s ease;
}
.btn-outline:hover {
  background: var(--dark);
  color: var(--white);
  transform: translateY(-2px);
}

.hero-inner {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.hero-text {
  max-width: 560px;
  padding-top: 88px;
}
.hero-eyebrow {
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 18px;
}
.hero-title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 84px;
  line-height: 89px;
  letter-spacing: -3px;
  color: var(--navy);
  margin-bottom: 30px;
}
.hero-desc {
  max-width: 477px;
  font-size: 16px;
  font-weight: 500;
  line-height: 30px;
  margin-bottom: 34px;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 44px;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 170px;
  height: 60px;
  padding: 0 24px;
  border-radius: 10px;
  background: var(--yellow);
  color: var(--white);
  font-size: 18px;
  font-weight: 500;
  box-shadow: 0 20px 35px rgba(241, 165, 1, 0.15);
  position: relative;
  overflow: hidden;
  transition: opacity .8s ease, transform .25s ease, box-shadow .25s ease;
}
.btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, .45), transparent);
  transform: skewX(-20deg);
  transition: left .6s ease;
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 40px rgba(241, 165, 1, 0.3);
}
.btn-primary:hover::before { left: 125%; }
.btn-primary:active,
.btn-subscribe:active,
.copy-btn:active { transform: scale(.96); }
.play-demo {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 18px;
  font-weight: 500;
  color: var(--text);
}
.play-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 15px 30px rgba(223, 105, 81, 0.3);
  position: relative;
  transition: transform .25s ease;
}
.play-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--orange);
  animation: pulse 2s ease-out infinite;
}
@keyframes pulse {
  0% { transform: scale(1); opacity: .7; }
  100% { transform: scale(1.6); opacity: 0; }
}
.play-demo:hover .play-btn { transform: scale(1.1); }
.play-icon { width: 16px; height: 16px; margin-left: 3px; }
.hero-visual {
  width: 560px;
  margin-top: -10px;
  margin-right: 20px;
}
.hero-img {
  display: block;
  width: 100%;
  height: auto;
  animation: float 6s ease-in-out infinite;
  /* Soften the cropped bottom edge of the photo */
  -webkit-mask-image: linear-gradient(180deg, #000 75%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 75%, transparent 100%);
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

/* Shared section headings */
.section-eyebrow {
  font-size: 18px;
  font-weight: 600;
  text-align: center;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 10px;
}
.book .section-eyebrow { text-transform: none; }
.section-title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 50px;
  line-height: 60px;
  letter-spacing: -1.5px;
  text-align: center;
  color: var(--navy);
}
.left { text-align: left; }
.eyebrow-icon {
  width: 22px;
  height: 22px;
  margin-right: 8px;
  vertical-align: -5px;
}

/* Book a trip */
.book {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  padding-top: 120px;
  padding-left: 69px;
  padding-right: 20px;
}
.book-text { max-width: 520px; }
.book .section-title { font-size: 48px; line-height: 58px; margin-bottom: 30px; }
.steps { display: flex; flex-direction: column; gap: 42px; }
.step { display: flex; align-items: flex-start; gap: 22px; }
.step-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 47px;
  height: 48px;
  border-radius: 13px;
  flex-shrink: 0;
}
.step-icon.yellow { background: var(--step-yellow); }
.step-icon.orange { background: var(--step-orange); }
.step-icon.teal { background: var(--step-teal); }
.step-glyph { width: 24px; height: 24px; filter: brightness(0) invert(1); }
.step h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 2px;
}
.step p {
  font-size: 16px;
  line-height: 24px;
  max-width: 330px;
}

.trip-visual {
  position: relative;
  width: 485px;
  margin-top: 54px;
  margin-right: 0;
}
.trip-glow {
  position: absolute;
  top: -40px;
  right: 20px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: #59B1E6;
  opacity: .25;
  filter: blur(80px);
  z-index: -1;
}
.trip-card {
  width: 370px;
  padding: 26px 24px 26px;
  border-radius: 26px;
  background: var(--white);
  box-shadow: 0 1.85px 3.15px rgba(0, 0, 0, 0.0), 0 30px 60px rgba(0, 0, 0, 0.04);
}
.trip-img {
  height: 161px;
  border-radius: 24px;
  margin-bottom: 26px;
  overflow: hidden;
  background: linear-gradient(180deg, var(--sky) 0%, var(--white) 100%);
  display: flex;
  justify-content: center;
}
.trip-img img {
  height: 100%;
  width: auto;
  transition: transform .4s ease;
}
.trip-card:hover .trip-img img { transform: scale(1.08); }
.ca-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 8px 8px 16px;
  margin-bottom: 26px;
  border-radius: 10px;
  background: #F5F5F5;
}
.ca-box code {
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 19px;
  color: var(--dark);
  word-break: break-all;
}
.copy-btn {
  padding: 6px 14px;
  border-radius: 8px;
  background: var(--orange);
  color: var(--white);
  font-size: 13px;
  font-weight: 500;
  transition: transform .2s ease, background .2s ease;
}
.copy-btn:hover { transform: translateY(-2px); }
.copy-btn.copied { background: var(--step-teal); }
.trip-card h3 {
  font-size: 18px;
  font-weight: 500;
  color: var(--dark);
  margin-bottom: 12px;
}
.trip-meta {
  font-size: 16px;
  color: #84829A;
  margin-bottom: 20px;
}
.chart-icon { width: 18px; height: 18px; opacity: .55; }
.trip-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.trip-going {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 16px;
  color: #84829A;
}
.ongoing-card {
  position: absolute;
  top: 110px;
  right: -1px;
  display: flex;
  gap: 14px;
  width: 263px;
  padding: 18px 20px 20px 16px;
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.06);
}
.ongoing-thumb {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
  background: var(--sky);
}
.ongoing-info { flex: 1; }
.ongoing-label { font-size: 14px; color: #84829A; }
.ongoing-info h3 {
  font-size: 18px;
  font-weight: 500;
  color: #080809;
  margin: 2px 0 8px;
}
.ongoing-progress { font-size: 13px; color: var(--navy); margin-bottom: 8px; }
.ongoing-progress span { color: var(--purple); }
.progress {
  height: 5px;
  border-radius: 3px;
  background: #F5F5F5;
}
.progress span {
  display: block;
  height: 100%;
  border-radius: 3px;
  background: var(--purple);
  width: 0;
  transition: width 1.4s ease .4s;
}

/* TikTok / iPhone 14 */
.watch {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding-top: 200px;
  padding-left: 69px;
  padding-right: 80px;
}
.watch-text { max-width: 500px; }
.watch .section-title { margin-bottom: 24px; }
.watch-desc {
  font-size: 16px;
  font-weight: 500;
  line-height: 30px;
  margin-bottom: 34px;
}
.iphone {
  position: relative;
  width: 330px;
  aspect-ratio: 390 / 844;
  padding: 12px;
  border-radius: 56px;
  background: #1C1C1E;
  box-shadow: 0 0 0 2px #3A3A3C, 0 40px 80px rgba(24, 30, 75, 0.18);
  flex-shrink: 0;
}
.iphone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 44px;
  overflow: hidden;
  background: #000;
}
.iphone-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 46%;
  height: 28px;
  border-radius: 0 0 18px 18px;
  background: #1C1C1E;
  z-index: 2;
}
.iphone-screen iframe,
.iphone-screen video,
.ph-tiktok {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  object-fit: cover;
}
.ph-tiktok { display: flex; background: #2C2C2E; color: #9A9A9A; }
.iphone-btn {
  position: absolute;
  width: 4px;
  background: #2C2C2E;
  border-radius: 2px;
}
.iphone-btn.silent { left: -4px; top: 16%; height: 4%; }
.iphone-btn.vol-up { left: -4px; top: 24%; height: 8%; }
.iphone-btn.vol-down { left: -4px; top: 34%; height: 8%; }
.iphone-btn.power { right: -4px; top: 27%; height: 12%; }

/* Subscribe */
.subscribe {
  position: relative;
  padding-top: 155px;
}
.subscribe-box {
  position: relative;
  padding: 105px 40px 80px;
  border-radius: 129px 20px 20px 20px;
  background: var(--lilac);
  text-align: center;
}
.subscribe-box h2 {
  position: relative;
  max-width: 900px;
  margin: 0 auto 70px;
  font-size: 33px;
  font-weight: 600;
  line-height: 54px;
  color: var(--text);
}
.subscribe-form {
  position: relative;
  display: flex;
  justify-content: center;
  gap: 22px;
}
.email-field {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 423px;
  height: 68px;
  padding: 0 28px;
  border-radius: 10px;
  background: var(--white);
}
.email-field input {
  flex: 1;
  border: 0;
  outline: 0;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--dark);
  background: transparent;
}
.email-field input::placeholder { color: #39425D; }
.btn-subscribe {
  width: 180px;
  height: 68px;
  border-radius: 10px;
  background: #FF946D;
  color: var(--white);
  font-size: 17px;
  font-weight: 500;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.btn-subscribe:hover {
  background: #FF7D68;
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(255, 125, 104, 0.35);
}

/* Footer */
.site-footer { padding-top: 190px; }
.footer-inner {
  display: flex;
  justify-content: space-between;
  padding-left: 69px;
}
.footer-brand p {
  max-width: 220px;
  font-size: 13px;
  line-height: 18px;
}
.footer-col { display: flex; flex-direction: column; gap: 14px; min-width: 130px; }
.footer-col h3 {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 800;
  color: #080809;
  margin-bottom: 14px;
}
.footer-col a { font-size: 18px; font-weight: 500; transition: color .2s ease; }
.footer-col a:hover { color: var(--orange); }
.socials { display: flex; gap: 30px; margin-bottom: 28px; padding-left: 18px; }
.socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}
.socials a, .stores a { transition: transform .25s ease; }
.socials a:hover, .stores a:hover { transform: translateY(-4px); }
.social-icon { width: 22px; height: 22px; }
.footer-social p { font-size: 20px; font-weight: 500; margin-bottom: 16px; }
.stores { display: flex; flex-wrap: wrap; gap: 14px; }
.chart-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 14px 0 5px;
  border-radius: 20px;
  background: var(--white);
  color: var(--dark);
  border: 1px solid #ECECEC;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
  font-size: 13px;
  font-weight: 500;
}
.chart-badge img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}
.copyright {
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  padding: 80px 0 30px;
}

/* Laptop */
@media (max-width: 1200px) {
  .hero-visual { width: 440px; margin-right: 0; }
  .hero-title { font-size: 68px; line-height: 74px; letter-spacing: -2px; }
  .nav-links li { margin-left: 36px; }
  .nav-links li:nth-child(4) { margin-left: 70px; }
  .book, .watch { padding-left: 20px; padding-right: 20px; }
  .footer-inner { padding-left: 20px; }
  }

/* Tablet */
@media (max-width: 960px) {
  .nav { height: 96px; position: relative; }
  .menu-toggle { display: flex; }
  .nav-links {
    position: absolute;
    top: 84px;
    left: 20px;
    right: 20px;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border-radius: 16px;
    background: var(--white);
    box-shadow: 0 30px 60px rgba(24, 30, 75, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity .25s ease, transform .25s ease, visibility .25s;
    z-index: 15;
  }
  .nav-links.open { opacity: 1; visibility: visible; transform: none; }
  .nav-links li,
  .nav-links li:nth-child(4),
  .nav-links li:nth-child(5) { margin: 0; }
  .nav-links a { display: block; padding: 14px 12px; border-radius: 10px; }
  .nav-links a:not(.btn-outline)::after { display: none; }
  .nav-links a:not(.btn-outline):hover { background: #F5F7FB; }
  .nav-links .btn-outline { margin-top: 8px; text-align: center; }

  .hero { padding-bottom: 60px; }
  .hero-inner { flex-direction: column; align-items: center; text-align: center; }
  .hero-text { max-width: 640px; padding-top: 30px; }
  .hero-desc { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-visual { width: 100%; max-width: 440px; margin-top: 40px; }

  .book, .watch { flex-direction: column; align-items: center; gap: 60px; padding-top: 100px; }
  .book-text, .watch-text { max-width: 560px; width: 100%; }
  .watch-text { text-align: center; }
  .watch .section-eyebrow, .watch .section-title { text-align: center; }
  .trip-visual { margin-top: 0; }

  .footer-inner { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-social { grid-column: 1 / -1; }
  .socials { padding-left: 0; }
}

/* Mobile */
@media (max-width: 600px) {
  .container { padding: 0 16px; }
  .nav { height: 80px; }
  .nav-links { top: 70px; left: 16px; right: 16px; }
  .logo { font-size: 22px; }
  .logo-img { width: 38px; height: 38px; }
  .hero-eyebrow { font-size: 13px; margin-bottom: 12px; }
  .hero-title { font-size: 44px; line-height: 48px; letter-spacing: -1.2px; margin-bottom: 20px; }
    .hero-desc { font-size: 15px; line-height: 26px; }
  .hero-actions { flex-direction: column; gap: 22px; }
  .btn-primary { width: 100%; max-width: 320px; }
  .hero-visual { max-width: 340px; }

  .section-eyebrow { font-size: 15px; }
  .section-title, .book .section-title { font-size: 34px; line-height: 40px; letter-spacing: -1px; }
  .book, .watch { padding-left: 16px; padding-right: 16px; padding-top: 80px; gap: 50px; }
  .steps { gap: 28px; }
  .step { gap: 16px; }
  .step p { font-size: 15px; }

  .trip-visual { width: 100%; max-width: 370px; }
  .trip-card { width: 100%; padding: 18px; }
  .trip-glow { width: 220px; height: 220px; right: 0; }
  .ongoing-card { position: relative; top: auto; right: auto; width: 100%; margin-top: 16px; }

  .iphone { width: min(280px, 78vw); border-radius: 48px; padding: 10px; }
  .iphone-screen { border-radius: 38px; }
  .iphone-notch { height: 24px; }

  .subscribe { padding-top: 90px; }
  .subscribe-box { padding: 64px 18px 40px; border-radius: 56px 20px 20px 20px; }
  .subscribe-box h2 { font-size: 21px; line-height: 32px; margin-bottom: 32px; }
  .subscribe-form { flex-direction: column; align-items: stretch; gap: 14px; }
  .email-field, .btn-subscribe { width: 100%; height: 58px; }
  .email-field { padding: 0 18px; }
  
  .site-footer { padding-top: 90px; }
  .footer-inner { grid-template-columns: repeat(2, 1fr); gap: 32px 20px; padding-left: 16px; }
  .footer-col { min-width: 0; gap: 10px; }
  .footer-col h3 { font-size: 19px; margin-bottom: 6px; }
  .footer-col a { font-size: 16px; }
  .socials { gap: 18px; }
  .copyright { font-size: 12px; line-height: 18px; padding: 50px 16px 24px; }
}
