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

:root {
  --gold:       #F0B429;
  --gold-dark:  #B7860B;
  --gold-light: #FEF3C7;
  --blue-deep:  #0F2057;
  --blue-mid:   #1E4FC2;
  --blue-light: #3B82F6;
  --text:       #111827;
  --text-muted: #6B7280;
  --bg:         #FFFFFF;
  --bg-subtle:  #F7F8FC;
  --border:     rgba(0,0,0,0.08);
  --shadow-sm:  0 2px 12px rgba(0,0,0,0.07);
  --shadow-md:  0 8px 32px rgba(0,0,0,0.10);
  --shadow-lg:  0 20px 60px rgba(0,0,0,0.14);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

/* ── NAV ───────────────────────────────────────────────── */
nav {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 48px);
  max-width: 900px;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 20px;
  border-radius: 20px;
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(24px) saturate(200%);
  -webkit-backdrop-filter: blur(24px) saturate(200%);
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: var(--shadow-md);
}

.nav-logo {
  font-weight: 800;
  font-size: 16px;
  letter-spacing: -0.3px;
  color: var(--blue-deep);
  text-decoration: none;
}

.nav-logo span { color: var(--gold); }

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  align-items: center;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--text); }

.nav-cta {
  background: var(--blue-deep) !important;
  color: #fff !important;
  padding: 8px 18px;
  border-radius: 50px;
  font-weight: 700 !important;
  transition: opacity 0.2s, transform 0.15s !important;
}

.nav-cta:hover { opacity: 0.85; transform: scale(1.03); }

/* ── HERO ──────────────────────────────────────────────── */
#hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 24px 64px;
  position: relative;
  overflow: hidden;
  background: var(--bg);
}

.hero-image {
  width: min(620px, 90vw);
  height: auto;
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: clamp(56px, 9vw, 108px);
  font-weight: 900;
  letter-spacing: -3px;
  line-height: 1;
  margin-top: 8px;
  color: var(--blue-deep);
  position: relative;
  z-index: 1;
}

.hero-title em,
.section-title em {
  font-style: normal;
  color: var(--gold);
}

.hero-tagline {
  margin-top: 20px;
  font-size: clamp(32px, 2.4vw, 22px);
  font-weight: 600;
  color: var(--text-muted);
  max-width: 700px;
  line-height: 1.55;
  position: relative;
  z-index: 1;
}

.hero-body {
  margin-top: 24px;
  font-size: clamp(18px, 1.8vw, 17px);
  color: var(--text-muted);
  max-width: 580px;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 40px;
  flex-wrap: wrap;
  justify-content: center;
  position: relative;
  z-index: 1;
}

/* ── BUTTONS ───────────────────────────────────────────── */
.btn-primary {
  background: var(--blue-deep);
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  padding: 16px 36px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: transform 0.15s, box-shadow 0.15s, opacity 0.2s;
  box-shadow: 0 4px 20px rgba(15,32,87,0.3);
}

.btn-primary:hover {
  transform: scale(1.04);
  box-shadow: 0 8px 32px rgba(15,32,87,0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  font-weight: 600;
  font-size: 16px;
  padding: 15px 36px;
  border-radius: 50px;
  border: 1.5px solid var(--border);
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: border-color 0.2s, background 0.2s, transform 0.15s;
}

.btn-secondary:hover {
  border-color: rgba(0,0,0,0.2);
  background: var(--bg-subtle);
  transform: scale(1.02);
}

/* ── SECTION SHARED ────────────────────────────────────── */
.section-wrap {
  padding: 96px 24px;
}

.section-wrap.bg-subtle { background: var(--bg-subtle); }
.section-wrap.bg-dark   { background: var(--blue-deep); color: #fff; }
.section-wrap.bg-gradient-dark { background: #fff; }

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(32px, 5vw, 54px);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.1;
  color: var(--text);
}

.bg-dark .section-title { color: #fff; }

.section-desc {
  margin-top: 16px;
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 520px;
}

.bg-dark .section-desc { color: rgba(255,255,255,0.6); }

/* ── FOUNDER NOTE ──────────────────────────────────────── */
.founder-note-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 72px;
  align-items: center;
}

.founder-note-title {
  font-size: clamp(24px, 3.2vw, 38px);
  font-weight: 800;
  letter-spacing: -0.6px;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 24px;
}

.founder-note-body p {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 16px;
}

.founder-note-body p:last-child { margin-bottom: 0; }

.founder-pull-quote {
  font-size: clamp(22px, 2.8vw, 22px) !important;
  font-weight: 700;
  color: var(--gold-dark) !important;
  line-height: 1.4 !important;
  margin: 28px 0 !important;
  padding-left: 20px;
  border-left: 3px solid var(--gold);
}

.founder-photo-wrap {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.founder-photo {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 10%;
  display: block;
  box-shadow: var(--shadow-md);
}

.founder-signature {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.founder-name {
  font-size: 26px;
  font-weight: 700;
  color: var(--text);
}

.founder-tagline {
  font-size: 16px;
  color: var(--text-muted);
}

/* ── FEATURES BENTO ────────────────────────────────────── */
#features {
  background: linear-gradient(to bottom, #ffffff 0%, #eef1fb 45%, #f3effe 100%);
}

.features-header { margin-bottom: 48px; }

.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 220px 320px 220px;
  gap: 16px;
}

/* Grid placement */
.bento-tile-1 { grid-column: 1 / 4; grid-row: 1; }
.bento-tile-2 { grid-column: 4 / 5; grid-row: 1 / 3; }
.bento-tile-4 { grid-column: 2 / 4; grid-row: 2; }
.bento-tile-3 { grid-column: 1 / 2; grid-row: 2 / 4; }
.bento-tile-6 { grid-column: 2 / 3; grid-row: 3; }
.bento-tile-7 { grid-column: 3 / 5; grid-row: 3; }

/* Base tile */
.bento-tile {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  position: relative;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 0 0 1px rgba(0, 0, 0, 0.06),
    var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
  opacity: 0;
  transform: translateY(28px);
}

.bento-tile.in-view {
  animation: bentoEntrance 0.65s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

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

/* Liquid glass gradient border overlay */
.bento-tile::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 24px;
  padding: 1px;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.92) 0%,
    rgba(255, 255, 255, 0.45) 35%,
    rgba(255, 255, 255, 0.08) 70%,
    rgba(255, 255, 255, 0.03) 100%
  );
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  -webkit-mask-composite: xor;
  pointer-events: none;
  z-index: 10;
}

.bento-tile:hover {
  transform: translateY(-3px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 0 0 1px rgba(0, 0, 0, 0.06),
    var(--shadow-md);
}

/* Horizontal tiles — row layout, images bleed to edges */
.bento-tile-1,
.bento-tile-4,
.bento-tile-7 {
  flex-direction: row;
  align-items: stretch;
  padding: 0;
  gap: 0;
}

.bento-tile-1 .bento-content,
.bento-tile-4 .bento-content,
.bento-tile-7 .bento-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 32px;
}

.bento-tile-1 .bento-image,
.bento-tile-4 .bento-image {
  flex: 0 0 45%;
  border-radius: 0;
}

.bento-tile-7 .bento-image {
  flex: 0 0 50%;
  border-radius: 0;
}

/* Vertical tiles — column layout, image fills top */
.bento-tile-2,
.bento-tile-3 {
  flex-direction: column;
}

.bento-tile-2 .bento-image,
.bento-tile-3 .bento-image {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  border-radius: 0;
}

.bento-tile-2 .bento-content,
.bento-tile-3 .bento-content {
  padding: 22px 26px;
  flex-shrink: 0;
}

/* Tile 6 — content only, no image */
.bento-tile-6 {
  flex-direction: column;
  justify-content: center;
  padding: 28px 32px;
}

.privacy-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
}

.privacy-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  line-height: 1.3;
}

.privacy-list li::before {
  font-size: 15px;
  font-weight: 700;
  flex-shrink: 0;
  line-height: 1;
}

.privacy-no::before {
  content: '✕';
  color: var(--gold);
}

.privacy-yes::before {
  content: '✓';
  color: var(--blue-mid);
}

/* Image placeholder areas */
.bento-image {
  background: #E0E0E0;
  display: flex;
  align-items: center;
  justify-content: center;
}


.bento-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.bento-image span {
  font-size: 11px;
  font-weight: 500;
  color: #aaa;
  text-align: center;
  padding: 12px;
  line-height: 1.5;
}

/* Tile text */
.bento-title {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.3px;
  color: var(--text);
  margin-bottom: 8px;
}

.bento-desc {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── SCREENSHOTS ───────────────────────────────────────── */
.screenshots-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-top: 80px;
}

.screenshots-layout + .screenshots-layout { margin-top: 96px; }

.screenshots-layout.reverse { direction: rtl; }
.screenshots-layout.reverse > * { direction: ltr; }

.screenshot-phones {
  display: flex;
  gap: 14px;
  justify-content: center;
  align-items: flex-end;
}

.phone-mockup {
  width: 158px;
  height: 300px;
  border-radius: 32px;
  background: linear-gradient(155deg, #e8edf8, #c5d0ec);
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.phone-mockup::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: rgba(255,255,255,0.8);
}

.phone-mockup::after {
  content: '';
  position: absolute;
  top: 10px; left: 50%; transform: translateX(-50%);
  width: 56px; height: 7px;
  background: rgba(255,255,255,0.5);
  border-radius: 50px;
}

.phone-mockup.tall { height: 340px; }

.screenshot-text h3 {
  font-size: clamp(26px, 3.5vw, 36px);
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.15;
  margin-bottom: 14px;
  color: var(--text);
}

.screenshot-text p {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 28px;
}

.screenshot-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.screenshot-bullets li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
}

.bullet-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

/* ── CTA BANNER ────────────────────────────────────────── */
.cta-banner-header { text-align: center; margin-bottom: 48px; }
.cta-banner-header .section-desc { margin: 12px auto 0; }

.cta-banner-img {
  width: 100%;
  margin-bottom: 0;
}

.cta-banner-img img {
  width: 100%;
  height: auto;
  display: block;
}

.cta-banner-form {
  margin-top: 48px;
  text-align: center;
}

.cta-form-title {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 10px;
}

.cta-form-desc {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 420px;
  margin: 0 auto 4px;
  line-height: 1.6;
}

.cta-tally-wrap {
  max-width: 400px;
  margin: 0 auto;
}

/* ── TESTIMONIALS ──────────────────────────────────────── */
.testimonials-header { margin-bottom: 56px; text-align: center; }
.testimonials-header .section-desc { margin: 14px auto 0; }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  text-align: left;
}

.testimonial-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.stars { color: var(--gold); font-size: 15px; letter-spacing: 2px; margin-bottom: 14px; }

.testimonial-text {
  font-size: 15px;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author { display: flex; align-items: center; gap: 10px; margin-top: auto; }

.author-avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-mid), var(--gold));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  color: #fff;
  flex-shrink: 0;
  overflow: hidden;
}

.author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.author-name  { font-weight: 700; font-size: 14px; color: var(--text); }
.author-role  { font-size: 12px; color: var(--text-muted); }

/* ── WAITLIST ──────────────────────────────────────────── */
.waitlist-inner {
  background: linear-gradient(135deg, #0F2057 0%, #1E4FC2 100%);
  border-radius: 32px;
  padding: 80px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.waitlist-inner::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(240,180,41,0.2) 0%, transparent 65%);
  top: -200px; right: -100px;
  pointer-events: none;
}

.waitlist-inner::after {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59,130,246,0.3) 0%, transparent 65%);
  bottom: -150px; left: -50px;
  pointer-events: none;
}

.waitlist-inner .section-label { color: var(--gold); }
.waitlist-inner .section-title { color: #fff; max-width: 600px; margin: 0 auto; }
.waitlist-inner .section-desc  { color: rgba(255,255,255,0.65); margin: 16px auto 48px; }

.fallback-form {
  display: flex;
  gap: 10px;
  max-width: 440px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.fallback-form input[type="email"] {
  flex: 1;
  min-width: 220px;
  padding: 15px 22px;
  border-radius: 50px;
  border: none;
  background: rgba(255,255,255,0.12);
  color: #fff;
  font-size: 15px;
  font-family: inherit;
  outline: none;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background 0.2s;
}

.fallback-form input[type="email"]::placeholder { color: rgba(255,255,255,0.4); }
.fallback-form input[type="email"]:focus { background: rgba(255,255,255,0.2); }

.btn-gold {
  background: var(--gold);
  color: var(--blue-deep);
  font-weight: 700;
  font-size: 16px;
  padding: 15px 32px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: transform 0.15s, box-shadow 0.15s;
  box-shadow: 0 4px 20px rgba(240,180,41,0.4);
  position: relative;
  z-index: 1;
}

.btn-gold:hover {
  transform: scale(1.04);
  box-shadow: 0 8px 32px rgba(240,180,41,0.6);
}

.waitlist-note {
  margin-top: 16px;
  font-size: 13px;
  color: rgba(255,255,255,0.35);
  position: relative;
  z-index: 1;
}

/* ── FOOTER ────────────────────────────────────────────── */
footer {
  text-align: center;
  padding: 36px 24px;
  font-size: 13px;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  background: var(--bg);
}

footer a { color: var(--blue-mid); text-decoration: none; }
footer a:hover { text-decoration: underline; }


/* ── RESPONSIVE ────────────────────────────────────────── */
@media (max-width: 700px) {
  .nav-links li { display: none; }
  .nav-links li:last-child { display: block; }

  .founder-note-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .founder-photo-wrap {
    justify-self: center;
  }

  .screenshots-layout,
  .screenshots-layout.reverse {
    grid-template-columns: 1fr;
    gap: 36px;
    direction: ltr;
  }

  .waitlist-inner { padding: 48px 24px; }
  .phone-mockup { width: 128px; height: 240px; }
  .phone-mockup.tall { height: 270px; }

  /* Bento grid — single column stack */
  .bento-grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .bento-tile-1,
  .bento-tile-2,
  .bento-tile-3,
  .bento-tile-4,
  .bento-tile-5,
  .bento-tile-6,
  .bento-tile-7 {
    grid-column: 1;
    grid-row: auto;
  }

  /* Horizontal tiles become vertical on mobile */
  .bento-tile-1,
  .bento-tile-4,
  .bento-tile-7 {
    flex-direction: column;
    min-height: 300px;
  }

  .bento-tile-1 .bento-image,
  .bento-tile-4 .bento-image,
  .bento-tile-7 .bento-image {
    flex: 0 0 180px;
    width: 100%;
    order: -1;
  }

  .bento-tile-1 .bento-content,
  .bento-tile-4 .bento-content,
  .bento-tile-7 .bento-content {
    flex: 0 0 auto;
  }

  .bento-tile-3 {
    min-height: 200px;
  }
}
