/* ========================================================
   Tripbuds waitlist landing — styles.css
   Brand: cream + teal gradient, Plus Jakarta Sans
   ======================================================== */

:root {
  --cream-0:   #FFFFFF;
  --cream-1:   #F4FBFB;
  --cream-2:   #E6F4F3;
  --ink:       #0F1A1A;
  --ink-2:     #3A4A4A;
  --ink-3:     #6B7878;
  --line:      rgba(15,26,26,0.10);
  --teal-1:    #0E9D97;
  --teal-2:    #2DB4AF;
  --teal-3:    #4FD09C;
  --grad:      linear-gradient(135deg, #0E9D97 0%, #2DB4AF 45%, #4FD09C 100%);
  --grad-soft: linear-gradient(135deg, rgba(14,157,151,0.08), rgba(79,208,156,0.08));
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 28px;
  --r-xl: 40px;
  --shadow-1: 0 1px 2px rgba(15,26,26,0.06), 0 4px 16px rgba(15,26,26,0.06);
  --shadow-2: 0 10px 40px rgba(14,157,151,0.18), 0 2px 6px rgba(15,26,26,0.10);
  --shadow-3: 0 30px 80px rgba(14,157,151,0.30), 0 6px 20px rgba(15,26,26,0.15);
  --maxw: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: var(--cream-0);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--teal-1); }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ------- typography ------- */
.display {
  font-size: clamp(44px, 6.4vw, 84px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  font-weight: 800;
  margin: 18px 0 18px;
}
h2 {
  font-size: clamp(30px, 3.8vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.018em;
  font-weight: 800;
  margin: 0 0 14px;
}
h3 {
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.18;
  letter-spacing: -0.012em;
  font-weight: 700;
  margin: 0 0 14px;
}
h4 {
  font-size: 19px;
  font-weight: 700;
  margin: 10px 0 4px;
  letter-spacing: -0.005em;
}
h5 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-3);
  font-weight: 700;
  margin: 0 0 12px;
}
.lead {
  font-size: clamp(17px, 1.45vw, 21px);
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 540px;
  margin: 0 0 28px;
}
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--teal-1);
  margin-bottom: 12px;
}
.eyebrow--light { color: rgba(255,255,255,0.78); }
.badge {
  display: inline-block;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(14,157,151,0.10);
  color: var(--teal-1);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

/* ------- nav ------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 24px;
}
.nav__brand {
  display: flex;
  align-items: center;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.01em;
}
.nav__brand .nav__wordmark-img { height: 32px; width: auto; display: block; }
.nav__links {
  display: flex;
  gap: 28px;
  font-weight: 500;
  font-size: 15px;
}
.nav__links a { color: var(--ink-2); }
.nav__links a:hover { color: var(--ink); }

/* ------- buttons ------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-weight: 700;
  font-size: 16px;
  border-radius: 999px;
  padding: 14px 22px;
  transition: transform 0.15s ease, box-shadow 0.2s ease, opacity 0.15s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn--sm { padding: 9px 16px; font-size: 14px; }
.btn--primary {
  background: var(--grad);
  color: #fff;
  box-shadow: var(--shadow-2);
}
.btn--primary:hover { transform: translateY(-1px); box-shadow: var(--shadow-3); color: #fff; }
.btn--primary:active { transform: translateY(0); }
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
}
.btn--ghost:hover { background: var(--ink); color: var(--cream-0); }

/* ------- hero ------- */
.hero {
  position: relative;
  padding: 56px 0 100px;
  overflow: hidden;
  background: var(--cream-0);
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 700px; height: 700px;
  background: radial-gradient(closest-side, rgba(79,208,156,0.28), transparent 70%);
  z-index: 0;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -300px; left: -150px;
  width: 700px; height: 700px;
  background: radial-gradient(closest-side, rgba(14,157,151,0.20), transparent 70%);
  z-index: 0;
}
.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero__copy { max-width: 560px; }
.hero__bullets {
  list-style: none;
  padding: 0;
  margin: 26px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
  font-size: 14.5px;
  color: var(--ink-2);
}
.hero__bullets li { display: flex; align-items: center; gap: 8px; }
.dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--grad);
  flex-shrink: 0;
}

/* ------- hero phones (stacked composition) ------- */
.hero__phones {
  position: relative;
  height: 620px;
  display: flex;
  justify-content: center;
  align-items: center;
}
/* Phone screens render frame-less — mockup PNGs already have their iPhone
   bezel cropped out, so we just drop a soft shadow under the rounded-corner
   screen image. No background, no padding. */
.phone {
  position: relative;
  width: 280px;
  filter: drop-shadow(0 24px 48px rgba(15, 26, 26, 0.18));
}
.phone img {
  display: block;
  width: 100%;
}
.phone--back {
  position: absolute;
  top: 30px;
  right: -10px;
  transform: rotate(7deg);
  width: 250px;
  z-index: 1;
  opacity: 0.95;
}
.phone--front {
  position: absolute;
  top: 80px;
  left: 30px;
  transform: rotate(-4deg);
  width: 295px;
  z-index: 2;
}

/* ------- section heads ------- */
.section__head { margin-bottom: 60px; max-width: 720px; }
.section__head--center { text-align: center; margin: 0 auto 64px; }
.section__sub {
  font-size: 18px;
  color: var(--ink-2);
  margin: 12px 0 0;
  line-height: 1.5;
}
.section__head--center .section__sub { color: rgba(255,255,255,0.78); }

/* ------- features ------- */
.features {
  padding: 110px 0 100px;
  background: var(--cream-1);
}
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
  margin-bottom: 110px;
}
.feature:last-child { margin-bottom: 0; }
.feature--reverse .feature__copy { order: 2; }
.feature--reverse .feature__visual { order: 1; }
.feature__num {
  display: inline-block;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--teal-1);
  margin-bottom: 14px;
}
.feature__copy p {
  font-size: 18px;
  color: var(--ink-2);
  margin: 0 0 22px;
  line-height: 1.55;
}
.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.check-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
  font-size: 16px;
  color: var(--ink);
}
.check-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 7px;
  width: 18px; height: 10px;
  border-left: 2.5px solid var(--teal-1);
  border-bottom: 2.5px solid var(--teal-1);
  transform: rotate(-45deg);
}
.feature__visual {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 560px;
}
.feature__visual .phone {
  width: 320px;
  transform: rotate(-2deg);
}
.feature--reverse .feature__visual .phone { transform: rotate(2deg); }

/* ------- form ------- */
.waitlist-form {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  max-width: 480px;
  margin-top: 8px;
}
.waitlist-form input[type=email] {
  font-family: inherit;
  font-size: 16px;
  padding: 16px 20px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: #fff;
  color: var(--ink);
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
  min-width: 0;
}
.waitlist-form input[type=email]:focus {
  border-color: var(--teal-1);
  box-shadow: 0 0 0 4px rgba(14,157,151,0.15);
}
.waitlist-form .btn { padding: 16px 26px; }
.waitlist-form .form__note {
  grid-column: 1 / -1;
  font-size: 13px;
  color: var(--ink-3);
  margin: 8px 0 0;
}
.waitlist-form.is-success input,
.waitlist-form.is-success button { display: none; }
.waitlist-form.is-success .form__note {
  color: var(--teal-1);
  font-weight: 700;
  font-size: 16px;
  padding: 12px 20px;
  background: rgba(14,157,151,0.10);
  border-radius: var(--r-md);
  margin: 0;
}

/* ------- AI showcase ------- */
.showcase {
  padding: 110px 0 110px;
  background: var(--ink);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.showcase::before {
  content: '';
  position: absolute;
  top: -200px; left: 50%;
  transform: translateX(-50%);
  width: 1100px; height: 1100px;
  background: radial-gradient(closest-side, rgba(45,180,175,0.20), transparent 70%);
}
.showcase .container { position: relative; z-index: 1; }
.showcase h2 { color: #fff; }
.showcase__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 20px;
}
.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
/* Frame-less step phone — PNG already has the bezel cropped, so just shadow it. */
.step__phone {
  width: 100%;
  max-width: 240px;
  margin-bottom: 22px;
  filter: drop-shadow(0 18px 36px rgba(15, 26, 26, 0.18));
}
.step__phone img {
  width: 100%;
  display: block;
}
.step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  margin-bottom: 10px;
}
.step h4 { color: #fff; margin: 4px 0 6px; }
.step p {
  font-size: 14.5px;
  color: rgba(255,255,255,0.7);
  margin: 0;
  line-height: 1.5;
}

/* ------- proof ------- */
.proof {
  padding: 100px 0;
  background: var(--cream-0);
}
.proof__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 70px;
  align-items: center;
}
.proof__copy p {
  font-size: 18px;
  color: var(--ink-2);
  margin: 0 0 18px;
  line-height: 1.55;
}
.proof__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.stat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 22px 18px;
  text-align: center;
  box-shadow: var(--shadow-1);
}
.stat__num {
  display: block;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 4px;
  line-height: 1.1;
}
.stat__label {
  font-size: 13px;
  color: var(--ink-3);
  font-weight: 600;
}

/* ------- faq ------- */
.faq {
  padding: 110px 0;
  background: var(--cream-1);
}
.faq__list {
  max-width: 780px;
  margin: 0 auto;
}
.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 4px 24px;
  margin-bottom: 12px;
  box-shadow: var(--shadow-1);
  transition: box-shadow 0.2s;
}
.faq details[open] { box-shadow: var(--shadow-2); }
.faq summary {
  cursor: pointer;
  padding: 20px 0;
  font-size: 17px;
  font-weight: 700;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  font-size: 24px;
  font-weight: 400;
  color: var(--teal-1);
  flex-shrink: 0;
  transition: transform 0.2s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p {
  font-size: 16px;
  color: var(--ink-2);
  margin: 0 0 22px;
  line-height: 1.6;
}

/* ------- CTA / waitlist ------- */
.cta {
  padding: 110px 0;
  background: var(--grad);
  color: #fff;
  text-align: center;
}
.cta__inner { max-width: 640px; margin: 0 auto; }
.cta h2 { color: #fff; margin-bottom: 14px; }
.cta p {
  font-size: 18px;
  color: rgba(255,255,255,0.88);
  margin: 0 0 30px;
}
.waitlist-form--lg { margin: 0 auto; max-width: 520px; }
.waitlist-form--lg input[type=email] {
  background: rgba(255,255,255,0.96);
  border-color: transparent;
}
.waitlist-form--lg .btn--primary {
  background: #0F1A1A;
  color: #fff;
}
.waitlist-form--lg .btn--primary:hover {
  background: #fff;
  color: var(--teal-1);
}
.waitlist-form--lg .form__note { color: rgba(255,255,255,0.82); }
.waitlist-form--lg.is-success .form__note {
  background: rgba(255,255,255,0.18);
  color: #fff;
}

/* ------- footer ------- */
.footer {
  background: var(--ink);
  color: rgba(255,255,255,0.7);
  padding: 60px 0 30px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 800;
  font-size: 18px;
  margin-bottom: 10px;
}
.footer__brand .footer__icon { border-radius: 8px; }
.footer__brand .footer__wordmark-img { height: 22px; width: auto; display: block; border-radius: 0; }
.footer__tag { font-size: 14px; color: rgba(255,255,255,0.6); margin: 0; max-width: 320px; }
.footer h5 { color: rgba(255,255,255,0.5); }
.footer ul { list-style: none; padding: 0; margin: 0; font-size: 15px; }
.footer ul li { margin-bottom: 10px; }
.footer ul a { color: rgba(255,255,255,0.8); }
.footer ul a:hover { color: #fff; }
.footer__bottom {
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.10);
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 980px) {
  .hero { padding: 40px 0 60px; }
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero__copy { max-width: 100%; }
  .hero__phones {
    height: 480px;
    order: 2;
  }
  .feature {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 80px;
  }
  .feature--reverse .feature__copy,
  .feature--reverse .feature__visual { order: 0; }
  .feature__visual { min-height: auto; }
  .feature__visual .phone { width: 280px; }
  .showcase__steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
  .proof__grid { grid-template-columns: 1fr; gap: 40px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .nav__links { display: none; }
}

@media (max-width: 600px) {
  .container { padding: 0 18px; }
  .features, .showcase, .proof, .faq, .cta { padding: 70px 0; }
  .section__head, .section__head--center { margin-bottom: 44px; }
  .feature { margin-bottom: 60px; }
  .feature__visual .phone { width: 240px; }
  .showcase__steps { grid-template-columns: 1fr; gap: 50px; }
  .step__phone { max-width: 220px; }
  .hero__phones { height: 420px; }
  .phone--back { width: 190px; right: 0; top: 10px; }
  .phone--front { width: 230px; left: 20px; top: 50px; }
  .waitlist-form { grid-template-columns: 1fr; }
  .waitlist-form .btn { width: 100%; }
  .proof__stats { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero__bullets { gap: 12px 20px; font-size: 13.5px; }
}
