/* ================================================================
   CLAIMO LANDING — styles.css
   Brand: navy #1B3A5C · teal #14B8A6
   Fonts: Playfair Display (display) · DM Sans (body)
   ================================================================ */

/* ── Reset & base ────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:       #1B3A5C;
  --navy-mid:   #1e4a73;
  --navy-dark:  #112336;
  --teal:       #14B8A6;
  --teal-dark:  #0D9488;
  --slate:      #F0F4F8;
  --white:      #FFFFFF;
  --text:       #1B3A5C;
  --text-muted: #64748B;
  --border:     #E2E8F0;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;

  --radius:    12px;
  --radius-lg: 20px;
  --shadow:    0 4px 24px rgba(27, 58, 92, 0.12);
  --shadow-lg: 0 8px 48px rgba(27, 58, 92, 0.20);

  --max-w:        1120px;
  --section-pad:  clamp(72px, 10vw, 120px);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { display: block; max-width: 100%; }

/* ── Layout ──────────────────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 48px);
}

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 500;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.18s, box-shadow 0.18s;
  white-space: nowrap;
  letter-spacing: 0.01em;
}
.btn--sm  { padding: 10px 20px; font-size: 14px; }
.btn--lg  { padding: 16px 34px; font-size: 16px; }
.btn--full { width: 100%; }

.btn--teal {
  background: var(--teal);
  color: var(--white);
}
.btn--teal:hover {
  background: var(--teal-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(20, 184, 166, 0.38);
}
.btn--teal:active { transform: translateY(0); }

.btn--ghost {
  background: transparent;
  color: rgba(255, 255, 255, 0.82);
  border: 1.5px solid rgba(255, 255, 255, 0.32);
}
.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.09);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.6);
}

.btn--white {
  background: var(--white);
  color: var(--navy);
  font-weight: 600;
}
.btn--white:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

/* ── Nav ─────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  padding: 18px 0;
  transition: background 0.3s, box-shadow 0.3s, padding 0.3s;
}
.nav.scrolled {
  background: rgba(17, 35, 54, 0.93);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08);
  padding: 12px 0;
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 48px);
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.nav__brand {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: #F3EFE1;
  letter-spacing: -0.01em;
}

/* ── Hero ────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 128px 0 96px;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 65% 25%, rgba(20, 184, 166, 0.14) 0%, transparent 65%),
    radial-gradient(ellipse 55% 50% at 15% 85%, rgba(30, 74, 115, 0.6) 0%, transparent 65%),
    linear-gradient(158deg, #1B3A5C 0%, #112336 100%);
  z-index: 0;
}

/* subtle mesh texture */
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.022'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero .container { position: relative; z-index: 1; }

.hero__content { max-width: 680px; }

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  background: rgba(20, 184, 166, 0.12);
  border: 1px solid rgba(20, 184, 166, 0.28);
  border-radius: 100px;
  padding: 6px 14px;
  margin-bottom: 24px;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(40px, 7vw, 72px);
  font-weight: 700;
  line-height: 1.08;
  color: var(--white);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}
.hero__title em {
  font-style: italic;
  color: var(--teal);
}

.hero__sub {
  font-size: clamp(16px, 2.2vw, 20px);
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 44px;
  max-width: 520px;
  line-height: 1.7;
}

.hero__ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.scroll-line {
  position: absolute;
  bottom: 44px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  width: 1.5px;
  height: 52px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.4), transparent);
  animation: scrollPulse 2.4s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.2; transform: translateX(-50%) scaleY(0.6); }
  50%       { opacity: 1;   transform: translateX(-50%) scaleY(1); }
}

/* ── Hero staggered fade-up (CSS, no JS needed) ──────────────── */
.fade-up-group .animate-1,
.fade-up-group .animate-2,
.fade-up-group .animate-3,
.fade-up-group .animate-4,
.animate-5 {
  opacity: 0;
  transform: translateY(22px);
  animation: fadeUp 0.65s ease forwards;
}
.fade-up-group .animate-1 { animation-delay: 0.10s; }
.fade-up-group .animate-2 { animation-delay: 0.24s; }
.fade-up-group .animate-3 { animation-delay: 0.38s; }
.fade-up-group .animate-4 { animation-delay: 0.52s; }
.animate-5                 { animation-delay: 0.90s; }

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* ── Scroll-reveal (intersection observer) ───────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }

/* stagger siblings inside a grid */
.card-grid .reveal:nth-child(2) { transition-delay: 0.12s; }
.card-grid .reveal:nth-child(3) { transition-delay: 0.24s; }
.steps     .reveal:nth-child(2) { transition-delay: 0.12s; }
.steps     .reveal:nth-child(3) { transition-delay: 0.24s; }

/* ── Section base ────────────────────────────────────────────── */
.section { padding: var(--section-pad) 0; }

.section--white { background: var(--white); }
.section--slate { background: var(--slate); }
.section--navy  { background: var(--navy); }
.section--teal  {
  background: linear-gradient(135deg, #14B8A6 0%, #0D9488 100%);
}

.section__header {
  text-align: center;
  max-width: 580px;
  margin: 0 auto 64px;
}
.section__header h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.section__header p {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.65;
}
.section__header--light h2 { color: var(--white); }
.section__header--light p  { color: rgba(255, 255, 255, 0.68); }

/* ── Card grid ───────────────────────────────────────────────── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

/* ── Problem cards ───────────────────────────────────────────── */
.problem-card {
  background: var(--slate);
  border-radius: var(--radius);
  padding: 36px 32px;
  border-top: 3px solid var(--teal);
}
.problem-card__icon {
  width: 48px;
  height: 48px;
  color: var(--teal);
  margin-bottom: 20px;
}
.problem-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.3;
}
.problem-card p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ── Steps ───────────────────────────────────────────────────── */
.steps {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 680px;
  margin: 0 auto;
  position: relative;
}
.steps::before {
  content: '';
  position: absolute;
  left: 31px;
  top: 64px;
  bottom: 64px;
  width: 2px;
  background: linear-gradient(to bottom, var(--teal), rgba(20, 184, 166, 0));
}

.step {
  display: flex;
  gap: 28px;
  padding: 28px 0;
}
.step__num {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--teal);
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  box-shadow: var(--shadow);
}
.step__body { padding-top: 12px; }
.step__body h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
  line-height: 1.25;
}
.step__body p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ── Benefit cards ───────────────────────────────────────────── */
.benefit-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: var(--radius);
  padding: 36px 32px;
  transition: background 0.2s, transform 0.2s;
}
.benefit-card:hover {
  background: rgba(255, 255, 255, 0.09);
  transform: translateY(-2px);
}
.benefit-card__role {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
}
.benefit-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 18px;
  line-height: 1.3;
}
.benefit-card ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.benefit-card li {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.68);
  padding-left: 20px;
  position: relative;
}
.benefit-card li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--teal);
}

/* ── Founding offer ──────────────────────────────────────────── */
.offer-box {
  text-align: center;
  max-width: 540px;
  margin: 0 auto;
  padding: 64px 48px;
  background: rgba(255, 255, 255, 0.14);
  border: 1.5px solid rgba(255, 255, 255, 0.32);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.offer-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.18);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 28px;
}

.offer-price {
  font-family: var(--font-display);
  font-size: clamp(56px, 10vw, 88px);
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  margin-bottom: 6px;
  letter-spacing: -0.03em;
}
.offer-price__currency { font-size: 0.55em; vertical-align: super; }
.offer-price__period {
  font-family: var(--font-body);
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.72);
}

.offer-compare {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 32px;
}

.offer-list {
  list-style: none;
  display: inline-flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
  margin-bottom: 36px;
}
.offer-list li {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.88);
  padding-left: 22px;
  position: relative;
}
.offer-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  font-weight: 700;
}

.offer-note {
  margin-top: 16px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}

/* ── Waitlist form ───────────────────────────────────────────── */
.waitlist-wrapper {
  max-width: 460px;
  margin: 0 auto;
  text-align: center;
}
.waitlist-header { margin-bottom: 40px; }
.waitlist-header h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.waitlist-header p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.65;
}

.waitlist-form {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-align: left;
}

.form-group { position: relative; }

.form-group input,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text);
  background: var(--white);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.14);
}
.form-group input::placeholder { color: var(--text-muted); }

/* chevron for select */
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2364748B' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
}

.form-msg {
  min-height: 20px;
  font-size: 14px;
  text-align: center;
  margin-top: 4px;
}
.form-msg.success { color: var(--teal-dark); }
.form-msg.error   { color: #DC2626; }

/* ── Footer ──────────────────────────────────────────────────── */
.footer {
  background: var(--navy-dark);
  padding: 52px 0;
}
.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}
.footer__logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer__logo img { opacity: 0.88; }
.footer__logo span {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: #F3EFE1;
  letter-spacing: -0.01em;
}
.footer__inner p    { font-size: 14px; color: rgba(255, 255, 255, 0.52); }
.footer__inner a    { color: var(--teal); text-decoration: none; }
.footer__inner a:hover { text-decoration: underline; }
.footer__copy { font-size: 12px; color: rgba(255, 255, 255, 0.3) !important; }

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 640px) {
  .hero__ctas { flex-direction: column; }
  .hero__ctas .btn { width: 100%; text-align: center; }

  .steps::before { display: none; }
  .step { flex-direction: column; gap: 14px; padding: 20px 0; }

  .offer-box { padding: 40px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .fade-up-group .animate-1,
  .fade-up-group .animate-2,
  .fade-up-group .animate-3,
  .fade-up-group .animate-4,
  .animate-5 { opacity: 1; transform: none; animation: none; }
}

/* ── Explainer video ─────────────────────────────────────────── */
.video-frame {
  max-width: 960px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--navy);
  line-height: 0;
}
.video-frame__el {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
}
