:root {
  --bg-light: #f8f9fa;
  --ink: #0f1115;
  --ink-soft: #3a3f47;
  --ink-faint: #6b7280;
  --accent: #518ce3;
  --accent-dark: #4272ba;
  --dark-bg: #0b0d10;
  --dark-card: #14171c;
  --border-soft: rgba(15, 17, 21, 0.1);
  --radius: 10px;
  --max-width: 1440px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg-light);
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
.wrap { max-width: var(--max-width); margin: 0 auto; padding: 0 64px; }
button { font-family: inherit; cursor: pointer; }

/* ---------- Nav ---------- */
.nav {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  column-gap: 24px;
  padding: 28px 0;
}
.logo {
  grid-column: 1;
  margin-left: -24px;
  font-size: 22px;
  font-weight: 700;
  color: var(--accent);
}
.nav-links {
  grid-column: 2;
  justify-self: center;
  display: flex;
  gap: 36px;
  font-size: 15px;
  color: var(--ink-soft);
}
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  grid-column: 3;
  justify-self: end;
  background: var(--ink);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  padding: 12px 22px;
  border-radius: 999px;
  border: none;
}
.nav-cta:hover { background: #000; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; min-height: 880px; display: flex; flex-direction: column; }
#vanta-hero { position: absolute; inset: 0; z-index: 0; }
.hero-grain {
  position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0.045; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero-fade-bottom {
  position: absolute; left: 0; right: 0; bottom: 0; height: 180px; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(219,231,248,0) 0%, #dbe7f8 100%);
}
.hero-inner {
  position: relative; z-index: 2; flex: 1; display: grid;
  grid-template-columns: 1.05fr 1fr; align-items: center; padding-bottom: 60px;
}
.hero-copy { margin-top: -48px; margin-left: -24px; }
.hero-copy h1 {
  font-family: "Plus Jakarta Sans", sans-serif; font-weight: 800; font-size: 72px; line-height: 1.04;
  letter-spacing: -0.02em; max-width: 620px;
}
.hero-copy p { margin-top: 24px; font-size: 19px; line-height: 1.55; color: var(--ink-soft); max-width: 460px; }
.cta-row { margin-top: 32px; display: flex; gap: 12px; flex-wrap: wrap; }
.btn-primary {
  background: var(--accent); color: #fff; font-weight: 600; font-size: 15px; padding: 16px 28px;
  border-radius: var(--radius); border: none; box-shadow: 0 10px 26px rgba(81, 140, 227, 0.28);
}
.btn-primary:hover { background: var(--accent-dark); }
.btn-secondary {
  background: rgba(255, 255, 255, 0.72); color: var(--ink); font-weight: 600; font-size: 15px; padding: 16px 28px;
  border-radius: var(--radius); border: 1px solid var(--border-soft); backdrop-filter: blur(4px);
}
.btn-secondary:hover { background: #fff; }
.hero-fineprint { margin-top: 16px; font-size: 13px; color: var(--ink-faint); }

/* App store badges */
.store-badges { display: flex; gap: 12px; margin-top: 24px; flex-wrap: wrap; }
.store-badge {
  display: flex; align-items: center; gap: 10px; background: #0f1115; color: #fff;
  padding: 10px 18px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.1);
}
.store-badge:hover { background: #000; }
.store-badge svg { width: 22px; height: 22px; flex-shrink: 0; }
.store-badge-text { display: flex; flex-direction: column; line-height: 1.15; }
.store-badge-text .small { font-size: 10px; color: rgba(255,255,255,0.6); }
.store-badge-text .big { font-size: 15px; font-weight: 600; }

.hero-phones { position: relative; height: 700px; overflow: visible; }
.hero-phones .phone { position: absolute; width: 460px; opacity: 0; image-rendering: auto; backface-visibility: hidden; }
.phone-left  { top: 150px; left: -60px;  transform: rotate(-6deg) translateY(16px); z-index: 1; animation: phoneIn 0.7s ease 0.05s forwards; }
.phone-mid   { top: 40px;  left: 130px;  transform: rotate(2deg) translateY(16px);  z-index: 2; animation: phoneIn 0.7s ease 0.18s forwards; }
.phone-right { top: 170px; left: 300px;  transform: rotate(8deg) translateY(16px);  z-index: 3; animation: phoneIn 0.7s ease 0.30s forwards; }
@keyframes phoneIn { to { opacity: 1; transform: translateY(0) rotate(var(--rot, 0deg)); } }
.phone-left { --rot: -6deg; } .phone-mid { --rot: 2deg; } .phone-right { --rot: 8deg; }
@media (prefers-reduced-motion: reduce) { .hero-phones .phone { animation: none; opacity: 1; transform: rotate(var(--rot, 0deg)); } }

/* transition band between hero and the section right after it */
.hero-transition { height: 220px; background: linear-gradient(180deg, #dbe7f8 0%, #cfe6ee 55%, #c4e6ef 100%); }

/* ---------- Feature Strip ("Why Trast") ---------- */
.feature-strip { position: relative; padding: 70px 0 100px; overflow: hidden; }
.feature-bg { position: absolute; inset: 0; z-index: 0; background-image: url("../images/feature-bg.jpg"); background-size: cover; background-position: center; }
.feature-bg::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 160px;
  background: linear-gradient(180deg, #c4e6ef 0%, rgba(196,230,239,0) 100%); z-index: 1;
}
.feature-bg-bottom-fade {
  position: absolute; left: 0; right: 0; bottom: 0; height: 140px; z-index: 2; pointer-events: none;
  background: linear-gradient(180deg, rgba(179,222,231,0) 0%, #b3dee7 100%);
}
.feature-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(248,249,250,0.5) 0%, rgba(248,249,250,0.86) 100%); }
.feature-strip .wrap { position: relative; z-index: 1; }
.eyebrow { font-family: "JetBrains Mono", monospace; font-size: 12px; font-weight: 500; letter-spacing: 0.14em; color: var(--accent); text-transform: uppercase; margin-bottom: 14px; }
.feature-strip h2 { font-family: "Plus Jakarta Sans", sans-serif; font-weight: 800; font-size: 40px; letter-spacing: -0.01em; margin-bottom: 64px; }
.feature-row { max-width: 1140px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.feature-col { text-align: left; }
.mini-screen { position: relative; width: 100%; max-width: 260px; aspect-ratio: 1 / 2; overflow: visible; }
.mini-screen canvas { position: absolute; inset: 0; width: 100%; height: 100%; transition: transform 0.85s cubic-bezier(0.16, 0.84, 0.44, 1), opacity 0.7s ease; }
.mini-screen[data-dir="left"] canvas   { transform: translateX(-60vw) rotate(-4deg); opacity: 0; }
.mini-screen[data-dir="up"] canvas     { transform: translateY(50vh) scale(0.85); opacity: 0; }
.mini-screen[data-dir="right"] canvas  { transform: translateX(60vw) rotate(4deg); opacity: 0; }
.mini-screen.in-view canvas { transform: translate(0, 0) rotate(0) scale(1); opacity: 1; }
.feature-col h3 { margin-top: 28px; font-size: 22px; font-weight: 700; }
.feature-col p { margin-top: 12px; font-size: 17px; line-height: 1.55; color: var(--ink-soft); max-width: 340px; }

/* transition from FeatureStrip's photo background back to plain white for the section after it */
.feature-to-white-transition { height: 220px; background: linear-gradient(180deg, #b3dee7 0%, #d4ecf1 45%, #f8f9fa 100%); }

/* ---------- How It Works ---------- */
.how-it-works { padding: 100px 0; background: var(--bg-light); }
.how-it-works h2 { font-family: "Plus Jakarta Sans", sans-serif; font-weight: 800; font-size: 40px; letter-spacing: -0.01em; margin-bottom: 56px; }
.how-it-works-row { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.how-video-wrap { max-width: 300px; margin: 0 auto; border-radius: 36px; overflow: hidden; filter: drop-shadow(0 24px 40px rgba(15,23,42,0.22)); }
.how-video-wrap video { width: 100%; display: block; aspect-ratio: 446 / 650; object-fit: cover; }
.how-steps { display: flex; flex-direction: column; gap: 36px; }
.how-step { display: flex; gap: 20px; align-items: flex-start; }
.how-step-num { font-family: "JetBrains Mono", monospace; font-size: 14px; font-weight: 500; color: var(--accent); padding-top: 4px; flex-shrink: 0; }
.how-step h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.how-step p { font-size: 16px; line-height: 1.55; color: var(--ink-soft); max-width: 420px; }

/* ---------- Coverage ---------- */
.coverage { padding: 100px 0; background: #fff; text-align: center; }
.coverage h2 { font-family: "Plus Jakarta Sans", sans-serif; font-weight: 800; font-size: 40px; letter-spacing: -0.01em; margin-bottom: 64px; }
.coverage-row { max-width: 1190px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.coverage-card { text-align: left; }
.coverage-widget {
  position: relative; width: 100%; height: 240px; border-radius: 20px;
  background: rgba(14, 20, 32, 0.9); border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 20px 50px rgba(0,0,0,0.35); overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.coverage-card h3 { margin-top: 24px; font-size: 20px; font-weight: 800; }
.coverage-card p { margin-top: 8px; font-size: 15px; line-height: 1.55; color: var(--ink-soft); }

/* category card widget (card 1) */
.cw-category {
  width: 334px; background: #141c2e; border-radius: 16px; padding: 16px;
}
.cw-category-header { display: flex; justify-content: space-between; align-items: flex-start; }
.cw-category-name { color: #fff; font-weight: 700; font-size: 15px; }
.cw-category-sub { color: rgba(255,255,255,0.5); font-size: 12px; margin-top: 2px; }
.cw-category-chevron { color: rgba(255,255,255,0.3); }
.cw-category-divider { height: 1px; background: rgba(255,255,255,0.08); margin: 12px 0; }
.cw-category-stats { display: flex; justify-content: space-between; }
.cw-stat-label { font-family: "JetBrains Mono", monospace; font-size: 10px; letter-spacing: 0.08em; color: rgba(255,255,255,0.4); text-transform: uppercase; }
.cw-stat-value { font-size: 18px; font-weight: 800; margin-top: 4px; }
.cw-stat-value.danger { color: #e85555; }
.cw-stat-value.neutral { color: #fff; }

/* limit rows widget (card 2) */
.cw-limits { width: 334px; display: flex; flex-direction: column; gap: 10px; }
.cw-limit-row { background: #141c2e; border-radius: 14px; padding: 16px 18px; display: flex; justify-content: space-between; align-items: center; }
.cw-limit-name { color: #fff; font-weight: 700; font-size: 14px; }
.cw-limit-amount { background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.75); font-size: 13px; font-weight: 600; padding: 7px 14px; border-radius: 8px; }

/* stats block widget (card 3) */
.cw-stats { width: 334px; background: #141c2e; border-radius: 16px; overflow: hidden; }
.cw-stats-row { display: flex; justify-content: space-between; padding: 13px 18px; border-bottom: 1px solid rgba(255,255,255,0.06); }
.cw-stats-row:last-child { border-bottom: none; }
.cw-stats-label { color: rgba(255,255,255,0.45); font-size: 13px; }
.cw-stats-value { color: #fff; font-size: 14px; font-weight: 600; }

/* ---------- Pricing ---------- */
.pricing { position: relative; padding: 100px 0; background: var(--bg-light); overflow: hidden; }
.pricing-bg-accent {
  position: absolute; top: -60px; right: -100px; width: 1100px; height: 620px; z-index: 0;
  background-image: url("../images/blue-wave-bg.jpg"); background-size: cover; background-repeat: no-repeat; background-position: center;
  opacity: 0.55; pointer-events: none;
  -webkit-mask-image: radial-gradient(ellipse 70% 65% at 65% 40%, black 35%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 65% at 65% 40%, black 35%, transparent 75%);
}
.pricing .wrap { position: relative; z-index: 1; }
.pricing h2 { font-family: "Plus Jakarta Sans", sans-serif; font-weight: 800; font-size: 40px; letter-spacing: -0.01em; margin-bottom: 12px; }
.pricing-sub { text-align: center; font-size: 17px; color: var(--ink-soft); margin-bottom: 56px; }
.pricing-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; max-width: 720px; margin: 0 auto; }
.pricing-card { position: relative; background: #fff; border: 1px solid var(--border-soft); border-radius: 16px; padding: 36px 32px; }
.pricing-card-highlight { border: 2px solid var(--accent); box-shadow: 0 20px 40px rgba(81, 140, 227, 0.12); }
.pricing-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--accent); color: #fff; font-size: 12px; font-weight: 700; padding: 5px 14px; border-radius: 999px; }
.pricing-tier { font-size: 14px; font-weight: 700; color: var(--ink-faint); text-transform: uppercase; letter-spacing: 0.06em; }
.pricing-price { font-family: "Plus Jakarta Sans", sans-serif; font-size: 40px; font-weight: 800; margin-top: 8px; }
.pricing-price span { font-size: 16px; font-weight: 500; color: var(--ink-faint); }
.pricing-price-alt { font-size: 13px; color: var(--ink-faint); margin-top: 2px; }
.pricing-desc { font-size: 14px; color: var(--ink-soft); margin-top: 12px; margin-bottom: 20px; }
.pricing-features { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.pricing-features li { list-style: none; padding-left: 24px; position: relative; font-size: 14px; color: var(--ink-soft); }
.pricing-features li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.pricing-btn { width: 100%; text-align: center; }
.pricing-fineprint { text-align: center; font-size: 12px; color: var(--ink-faint); margin-top: 32px; max-width: 480px; margin-left: auto; margin-right: auto; }

/* ---------- FAQ ---------- */
.faq { padding: 100px 0; background: #fff; }
.faq h2 { font-family: "Plus Jakarta Sans", sans-serif; font-weight: 800; font-size: 40px; letter-spacing: -0.01em; margin-bottom: 48px; }
.faq-list { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { border: 1px solid var(--border-soft); border-radius: 12px; overflow: hidden; }
.faq-question { width: 100%; display: flex; align-items: center; justify-content: space-between; background: none; border: none; text-align: left; font-family: "Plus Jakarta Sans", sans-serif; font-size: 16px; font-weight: 700; color: var(--ink); padding: 20px 22px; }
.faq-icon { font-size: 20px; color: var(--accent); transition: transform 0.25s ease; flex-shrink: 0; margin-left: 16px; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s ease; padding: 0 22px; }
.faq-item.open .faq-answer { max-height: 220px; padding: 0 22px 20px; }
.faq-answer p { font-size: 15px; line-height: 1.6; color: var(--ink-soft); }

/* ---------- About ---------- */
.about { position: relative; padding: 100px 0; overflow: hidden; }
.about-bg { position: absolute; inset: 0; z-index: 0; background-image: url("../images/butterfly-bg.jpg"); background-size: cover; background-position: center; }
.about-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(248,249,250,0.35) 0%, rgba(248,249,250,0.5) 100%); }
.about .wrap { position: relative; z-index: 1; }
.about-row { display: grid; grid-template-columns: 280px 1fr; gap: 56px; align-items: center; }
.about-logo-mark {
  font-family: "Plus Jakarta Sans", sans-serif; font-weight: 800; font-size: 44px;
  color: var(--accent); text-align: center;
}
.about-copy {
  background: rgba(248,249,250,0.72);
  backdrop-filter: blur(8px);
  border-radius: 24px;
  padding: 32px 36px;
}
.about-copy h2 { font-family: "Plus Jakarta Sans", sans-serif; font-weight: 800; font-size: 36px; letter-spacing: -0.01em; margin: 12px 0 18px; }
.about-copy p { font-size: 16px; line-height: 1.65; color: var(--ink-soft); max-width: 560px; margin-bottom: 14px; }

/* ---------- Trust band ---------- */
.trust-band { background: #fff; border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); padding: 28px 0; }
.trust-band .wrap { display: flex; flex-wrap: wrap; gap: 40px; justify-content: center; font-size: 14px; color: var(--ink-soft); }
.trust-band .item { display: flex; align-items: center; gap: 8px; }
.trust-band .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* ---------- Waitlist ---------- */
.waitlist { background: var(--dark-bg); color: #fff; padding: 100px 0; text-align: center; }
.waitlist h2 { font-size: 40px; font-weight: 800; letter-spacing: -0.01em; }
.waitlist p { margin-top: 16px; color: rgba(255, 255, 255, 0.6); font-size: 16px; }
.waitlist-form { margin-top: 32px; display: flex; gap: 12px; justify-content: center; max-width: 560px; margin-left: auto; margin-right: auto; }
.waitlist-form input { flex: 1; padding: 15px 18px; border-radius: var(--radius); border: 1px solid rgba(255, 255, 255, 0.15); background: rgba(255, 255, 255, 0.06); color: #fff; font-size: 15px; }
.waitlist-form input::placeholder { color: rgba(255, 255, 255, 0.4); }
.waitlist-form button { background: var(--accent); color: #fff; font-weight: 600; font-size: 15px; padding: 15px 26px; border-radius: var(--radius); border: none; white-space: nowrap; }
.waitlist-form button:hover { background: var(--accent-dark); }
.waitlist-fineprint { margin-top: 16px; font-size: 13px; color: rgba(255, 255, 255, 0.4); }
.waitlist-stores { display: flex; gap: 12px; justify-content: center; margin-top: 36px; flex-wrap: wrap; }
#waitlist-confirmed h2 { display: flex; align-items: center; justify-content: center; gap: 12px; }
#waitlist-check { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: var(--accent); font-size: 18px; }
#waitlist-confirmed p { margin-top: 16px; color: rgba(255,255,255,0.7); }

/* ---------- Footer ---------- */
.footer { background: #fff; padding: 40px 0; }
.footer .wrap { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.footer-links { display: flex; gap: 28px; font-size: 14px; color: var(--ink-soft); }
.footer-copyright { font-size: 13px; color: var(--ink-faint); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .wrap { padding: 0 32px; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-copy { margin-top: 0; margin-left: 0; }
  .hero-phones { height: 420px; margin-top: 40px; }
  .hero-phones .phone { width: 280px; }
  .phone-left  { left: 0px;   top: 40px; }
  .phone-mid   { left: 110px; top: 0px; }
  .phone-right { left: 220px; top: 60px; }
  .hero-copy h1 { font-size: 44px; }
  .hero-transition { height: 200px; }
  .feature-row { grid-template-columns: 1fr; gap: 56px; max-width: 420px; margin: 0 auto; }
  .nav-links { display: none; }
  .how-it-works-row { grid-template-columns: 1fr; gap: 48px; }
  .coverage-row { grid-template-columns: 1fr; max-width: 380px; margin: 0 auto; gap: 56px; }
  .pricing-cards { grid-template-columns: 1fr; max-width: 380px; }
  .pricing-bg-accent { opacity: 0.25; width: 600px; right: -250px; }
  .about-row { grid-template-columns: 1fr; text-align: center; }
  .about-logo-mark { font-size: 36px; }
  .about-copy p { margin-left: auto; margin-right: auto; }
}
