@import url("brand.css");

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font-family);
  color: var(--color-text);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
}

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

.container-narrow { max-width: 720px; }

a { text-decoration: none; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  border-radius: 999px;
  cursor: pointer;
  border: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 10px 24px rgba(79, 70, 229, 0.35);
}
.btn-secondary {
  background: var(--color-primary-light);
  color: var(--color-primary);
}
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-lg { padding: 16px 30px; font-size: 17px; }
.btn-block { width: 100%; margin-top: 18px; padding: 14px 20px; font-size: 15px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--color-border);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 17px;
  color: var(--color-text);
}
.brand-logo { width: 30px; height: 30px; border-radius: 8px; }

/* Hero: Kelsey banner fading into a light content section */
.hero-banner {
  position: relative;
  background: #fff;
  overflow: hidden;
}
.hero-banner-img {
  display: block;
  width: 100%;
  max-height: min(58vh, 560px);
  object-fit: cover;
  object-position: top center;
}
.hero-banner::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 30%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #fff 92%);
  pointer-events: none;
}
.hero-content { background: #fff; padding: 0 0 44px; text-align: center; }
.hero-content-inner { max-width: 620px; margin: 0 auto; }
.eyebrow {
  color: var(--color-accent);
  background: var(--color-accent-light);
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 6px 12px;
  border-radius: 999px;
  margin: 0 0 16px;
}
.hero-content h1 {
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.1;
  margin: 0 0 16px;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.hero-sub {
  font-size: 18px;
  line-height: 1.6;
  color: var(--color-text-muted);
  max-width: 520px;
  margin: 0 auto 28px;
}
.hero-cta-row { display: flex; justify-content: center; margin-bottom: 14px; }
.hero-microtrust {
  font-size: 13px;
  color: var(--color-text-soft);
  margin: 0 0 10px;
}
.countdown-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--color-primary-dark);
  background: var(--color-primary-light);
  padding: 6px 12px;
  border-radius: 999px;
  margin: 0;
}

.phone-frame {
  width: 280px;
  aspect-ratio: 9 / 18;
  border-radius: 36px;
  background: var(--color-bg-dark);
  padding: 12px;
  box-shadow: var(--shadow-card);
}
.phone-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 26px;
  display: block;
}
.phone-frame--placeholder {
  background: linear-gradient(160deg, var(--color-primary) 0%, #7c3aed 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.phone-frame--placeholder img { display: none; }
.phone-frame--placeholder::after {
  content: "📱 Your app screenshot here";
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  text-align: center;
  padding: 0 24px;
}

/* Generic sections */
.section { padding: 72px 0; }
.section-title {
  font-size: clamp(26px, 3.4vw, 36px);
  font-weight: 800;
  text-align: center;
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}
.section-sub {
  text-align: center;
  color: var(--color-text-muted);
  font-size: 16px;
  margin: 0 0 40px;
}

/* Trust rating */
.badge-row-section { background: #fff; padding: 32px 0 8px; text-align: center; }
.rating-badge { display: inline-flex; flex-direction: column; align-items: center; gap: 4px; }
.rating-stars { color: #f59e0b; font-size: 22px; letter-spacing: 3px; }
.rating-label { margin: 0; font-size: 14px; font-weight: 700; color: var(--color-text-muted); }

/* Press */
.press { background: #fff; padding: 44px 0 52px; text-align: center; }
.press-highlight {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--color-text-soft);
  margin: 0 0 22px;
}
.press-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px 36px;
  flex-wrap: wrap;
}
.press-logo { height: 22px; max-width: 110px; object-fit: contain; filter: grayscale(1) opacity(0.55); }
.press-logo-text {
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--color-text-soft);
  text-transform: uppercase;
}

/* Why it works (beefed up) */
.why-row { padding: 64px 0; background: #f8f9fc; }
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px 28px;
  max-width: 780px;
  margin: 40px auto 0;
}
.why-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
}
.why-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--color-primary-light);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}
.why-icon svg { width: 22px; height: 22px; }
.why-item h3 { margin: 0; font-size: 16px; font-weight: 700; }
.why-item p { margin: 0; font-size: 13.5px; color: var(--color-text-muted); line-height: 1.5; }

/* Checkmark visual */
.checkmark-row { background: #f8f9fc; padding: 4px 0 60px; text-align: center; }
.checkmark-icons {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.checkmark-circle {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--color-accent-light);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
}
.checkmark-caption { font-size: 14.5px; font-weight: 700; color: var(--color-text-muted); margin: 0; }

/* Reinforcing mid-page CTA */
.reinforce { background: #fff; padding: 64px 0; text-align: center; }
.reinforce h2 {
  font-size: clamp(26px, 3.4vw, 36px);
  font-weight: 800;
  margin: 0 auto 12px;
  max-width: 620px;
  letter-spacing: -0.01em;
}
.reinforce .section-sub { margin: 0 auto 32px; max-width: 480px; }
.reinforce .phone-frame { margin: 0 auto 32px; }

/* See it in action */
.in-action { background: #fff; padding: 0 0 56px; }
.in-action-inner {
  display: flex;
  justify-content: center;
  gap: 20px;
}
.phone-frame--sm {
  width: 150px;
  border-radius: 24px;
  padding: 8px;
}
.phone-frame--sm img { border-radius: 17px; }

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.testimonial-card {
  background: #f8f9fc;
  border-radius: var(--radius-lg);
  padding: 24px;
}
.stars { color: #f59e0b; letter-spacing: 2px; margin-bottom: 10px; }
.testimonial-card p { font-size: 15px; line-height: 1.55; margin: 0 0 14px; color: var(--color-text); }
.testimonial-name {
  font-size: 12px;
  color: var(--color-text-muted);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* Trial teaser */
.trial-teaser { background: #f8f9fc; text-align: center; }
.trial-pill {
  display: inline-flex;
  background: var(--color-accent-light);
  color: var(--color-accent);
  font-size: 12.5px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.trial-pill.center {
  display: flex;
  width: fit-content;
  margin: 0 auto 16px;
}
.trial-teaser-cta { margin-top: 8px; }

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 12px; margin-top: 32px; }
.faq-item {
  background: #f8f9fc;
  border-radius: var(--radius-md);
  padding: 16px 20px;
}
.faq-item summary {
  font-weight: 700;
  cursor: pointer;
  font-size: 15.5px;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  float: right;
  font-weight: 400;
  color: var(--color-text-muted);
}
.faq-item[open] summary::after { content: "−"; }
.faq-item p { margin: 12px 0 0; color: var(--color-text-muted); font-size: 14.5px; line-height: 1.6; }

/* Final CTA */
.final-cta {
  text-align: center;
  background: linear-gradient(160deg, var(--color-bg-dark) 0%, #1e1b4b 100%);
  color: #fff;
  border-radius: 0;
}
.final-cta h2 { font-size: clamp(26px, 3.5vw, 38px); margin: 0 0 24px; }
.final-cta .hero-microtrust { color: rgba(255, 255, 255, 0.6); margin-top: 16px; }

/* Footer */
.site-footer { background: var(--color-bg-darker); color: rgba(255, 255, 255, 0.6); padding: 36px 0; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.footer-inner .brand { color: #fff; font-size: 15px; margin-bottom: 4px; }
.footer-support, .footer-copy { font-size: 13px; margin: 0; }
.footer-support a { color: #a5b4fc; }

@media (max-width: 860px) {
  .hero-banner-img { max-height: min(48vh, 420px); }
  .phone-frame { width: 220px; }
  .why-grid, .testimonials-grid { grid-template-columns: 1fr; }
  .press-logos { gap: 20px 24px; }
}

@media (max-width: 360px) {
  .in-action-inner { gap: 12px; }
  .phone-frame--sm { width: 130px; }
}
