/* ============================
   ROOT & RESET
   ============================ */
:root {
  --brand: #FF8A00;
  --brand-dark: #e07800;
  --brand-light: #fff3e0;
  --bg: #0f0f0f;
  --bg-card: #1a1a1a;
  --bg-card2: #222222;
  --text: #f0f0f0;
  --text-muted: #888;
  --white: #fff;
  --radius: 14px;
  --radius-lg: 24px;
  --shadow: 0 8px 30px rgba(0,0,0,0.3);
  --transition: 0.3s ease;
}

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

/* ============================
   CUSTOM CURSOR
   ============================ */
@media (hover: hover) and (pointer: fine) {
  body, a, button, summary, input, [role="button"] { cursor: none; }

  .custom-cursor,
  .custom-cursor-ring {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9999;
    transition: opacity 0.2s ease;
    will-change: transform;
  }

  .custom-cursor {
    width: 8px;
    height: 8px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 12px rgba(255,255,255,0.7);
  }

  .custom-cursor-ring {
    width: 36px;
    height: 36px;
    border: 2px solid rgba(255,255,255,0.6);
    border-radius: 50%;
    transition: width 0.2s ease, height 0.2s ease, border-color 0.2s ease, background 0.2s ease, opacity 0.2s ease;
  }

  .custom-cursor-ring.is-hover {
    width: 56px;
    height: 56px;
    border-color: rgba(255,255,255,0.95);
    background: rgba(255,255,255,0.14);
  }

  .custom-cursor-ring.is-down {
    width: 28px;
    height: 28px;
    background: rgba(255,255,255,0.28);
  }
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  max-width: 100%;
}

img, svg { max-width: 100%; }

/* ============================
   HEADER
   ============================ */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  border-bottom: none;
}

.header-inner {
  max-width: none;
  margin: 0;
  padding: 0 16px;
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-logo-link {
  display: flex;
  align-items: center;
  transition: opacity var(--transition);
}

.header-logo-link:hover { opacity: 0.8; }

.header-logo {
  height: 160px;
  width: auto;
  max-width: 320px;
  filter: brightness(0) invert(1);
  object-fit: contain;
  display: block;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  font-style: bold;

}

.header-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  font-style: bold;
  transition: color var(--transition);
}

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

/* ============================
   HERO
   ============================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 120px 20px 60px;
}

.hero-blob {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-blob svg {
  width: 100%;
  height: 100%;
  background-color: var(--brand);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1040px;
  width: 100%;
  padding: 0 16px;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  text-align: left;
  flex: 0 1 auto;
  max-width: 560px;
  min-width: 0;
}

.hero-fox {
  flex: 0 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-fox-img {
  width: clamp(220px, 28vw, 360px);
  height: auto;
  display: block;
}

.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  animation: heroScrollBounce 1.8s ease-in-out infinite;
  transition: color var(--transition);
}

.hero-scroll:hover { color: #fff; }

.hero-scroll i {
  font-size: 16px;
  line-height: 1;
}

@keyframes heroScrollBounce {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 8px); }
}

.hero-headline {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: #fff;
}

.hero-sub {
  font-size: clamp(16px, 1.4vw, 19px);
  color: rgba(255,255,255,0.92);
  line-height: 1.55;
  max-width: 540px;
}

.hero-trust {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  margin-top: 4px;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.btn-primary {
  background: #fff;
  color: var(--brand);
  font-weight: 700;
  font-size: 16px;
  padding: 14px 32px;
  border-radius: var(--radius);
  text-decoration: none;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.btn-primary:hover {
  background: #fff8ee;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0,0,0,0.2);
}

.btn-ghost {
  background: transparent;
  border: 2px solid rgba(255,255,255,0.6);
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  padding: 12px 28px;
  border-radius: var(--radius);
  text-decoration: none;
  transition: all var(--transition);
}

.btn-ghost:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.1);
}

/* ============================
   PHONE FRAME
   ============================ */
.phone-frame {
  width: 220px;
  aspect-ratio: 1206 / 2622;
  background: #1a1a1a;
  border-radius: 36px;
  border: 3px solid rgba(255,255,255,0.12);
  box-shadow: 0 24px 60px rgba(0,0,0,0.5), inset 0 0 0 1px rgba(255,255,255,0.05);
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
}

.phone-hero {
  width: 260px;
}

/* ============================
   SOCIAL PROOF STRIP
   ============================ */
.strip {
  background: var(--bg-card);
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 14px 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 16px;
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

.strip .dot { color: rgba(255,255,255,0.15); }

/* ============================
   FEATURES SECTION
   ============================ */
.features {
  padding: 100px 24px;
  background: var(--bg);
}

.features > * {
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
}

.section-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 12px;
  text-align: center;
}

.section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  text-align: center;
  margin-bottom: 80px;
  line-height: 1.2;
}

.feature-row {
  display: flex;
  align-items: center;
  gap: 64px;
  margin-bottom: 100px;
}

.feature-row.reverse { flex-direction: row-reverse; }

.feature-phone {
  flex-shrink: 0;
  display: flex;
  justify-content: center;
}

.feature-text {
  flex: 1;
}

.feature-tag {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 12px;
}

.feature-text h3 {
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
}

.feature-text p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
}

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

.feature-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--text);
}

.feature-list li i {
  color: var(--brand);
  font-size: 13px;
  flex-shrink: 0;
}

/* ============================
   HOW IT WORKS
   ============================ */
.how-it-works {
  background: var(--bg-card);
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 100px 24px;
  text-align: center;
}

.steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 24px;
  max-width: 860px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.step {
  flex: 1;
  min-width: 200px;
  max-width: 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step h4 {
  font-size: 17px;
  font-weight: 700;
}

.step p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

.step-arrow {
  color: rgba(255,255,255,0.2);
  font-size: 20px;
  padding-top: 14px;
}

/* ============================
   FAQ
   ============================ */
.faq {
  padding: 100px 24px;
  background: var(--bg);
}

.faq > * {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 0;
  transition: border-color var(--transition), background var(--transition), box-shadow var(--transition), transform var(--transition);
}

.faq-item:hover {
  border-color: rgba(255,138,0,0.55);
  background: var(--bg-card2);
  box-shadow: 0 8px 24px rgba(255,138,0,0.12);
  transform: translateY(-2px);
}

.faq-item:hover summary { color: #fff; }

.faq-item[open] {
  border-color: rgba(255,138,0,0.4);
  background: var(--bg-card2);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-icon {
  color: var(--brand);
  font-size: 14px;
  transition: transform var(--transition);
  flex-shrink: 0;
}

.faq-item[open] .faq-icon { transform: rotate(45deg); }

.faq-item p {
  padding: 0 24px 20px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-muted);
}

/* ============================
   DOWNLOAD BUTTONS
   ============================ */
.download-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 24px;
  min-width: 200px;
  background: #000;
  border: 2px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius);
  color: #fff;
  text-decoration: none;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition), background var(--transition);
}

.store-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(0, 0, 0, 0.35);
}

.store-badge i {
  font-size: 28px;
}

.store-badge-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.store-badge-label {
  font-size: 11px;
  font-weight: 500;
  opacity: 0.85;
}

.store-badge-title {
  font-size: 18px;
  font-weight: 700;
}

.store-badge-disabled {
  opacity: 0.5;
  pointer-events: none;
  border-style: dashed;
}

@media (max-width: 900px) {
  .download-buttons {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .store-badge {
    padding: 12px 18px;
    gap: 10px;
  }
  .store-badge i { font-size: 24px; }
  .store-badge-title { font-size: 16px; }
}

/* ============================
   WAITLIST SECTION
   ============================ */
.waitlist-section {
  position: relative;
  overflow: hidden;
  padding: 120px 24px;
  text-align: center;
}

.waitlist-blob {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.waitlist-blob svg {
  width: 100%;
  height: 100%;
  background-color: var(--brand);
}

.waitlist-content {
  position: relative;
  z-index: 1;
  max-width: 520px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.waitlist-content h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  color: #fff;
}

.waitlist-content p {
  font-size: 17px;
  color: rgba(255,255,255,0.85);
  line-height: 1.6;
}

.waitlist-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.waitlist-form .input-group {
  display: flex;
  width: 100%;
  max-width: 460px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.18);
  border-radius: var(--radius);
  overflow: hidden;
}

.waitlist-form input[type="email"] {
  flex: 1;
  padding: 16px 20px;
  font-size: 16px;
  border: none;
  background: rgba(255,255,255,0.22);
  color: #fff;
  outline: none;
  transition: background var(--transition);
  font-family: inherit;
  min-width: 0;
}

.waitlist-form input[type="email"]:focus { background: rgba(255,255,255,0.32); }
.waitlist-form input[type="email"]::placeholder { color: rgba(255,255,255,0.7); }

.waitlist-form button[type="submit"] {
  padding: 0 24px;
  font-size: 15px;
  font-weight: 700;
  border: none;
  background: #fff;
  color: var(--brand);
  cursor: pointer;
  font-family: inherit;
  transition: background var(--transition), transform var(--transition);
  white-space: nowrap;
}

.waitlist-form button[type="submit"]:hover {
  background: #fff8ee;
  transform: translateY(-1px);
}

.feedback {
  font-size: 13px;
  color: rgba(255,255,255,0.8);
  min-height: 20px;
}

.privacy {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
}

/* ============================
   FOOTER
   ============================ */
.footer {
  position: relative;
  overflow: hidden;
  padding: 24px 24px;
  background: var(--bg);
}

.footer-blob { display: none; }

/* ============================
   LEGAL PAGES (Privacy, Terms)
   ============================ */
.site-header--solid {
  position: relative;
  background: var(--bg);
}

.legal-page {
  max-width: 820px;
  margin: 0 auto;
  padding: 48px 24px 80px;
  color: var(--text);
  line-height: 1.7;
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 28px;
  transition: color var(--transition);
}

.legal-back:hover { color: var(--brand); }

.legal-page h1 {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.15;
}

.legal-page h2 {
  font-size: clamp(22px, 2.6vw, 28px);
  font-weight: 700;
  margin-top: 48px;
  margin-bottom: 16px;
  color: var(--brand);
}

.legal-page h3 {
  font-size: 18px;
  font-weight: 700;
  margin-top: 28px;
  margin-bottom: 12px;
  color: var(--text);
}

.legal-lede {
  font-size: 17px;
  color: rgba(255,255,255,0.9);
  margin-bottom: 12px;
}

.legal-page p {
  font-size: 15.5px;
  color: rgba(255,255,255,0.82);
  margin-bottom: 14px;
}

.legal-page ul {
  padding-left: 22px;
  margin-bottom: 18px;
}

.legal-page li {
  font-size: 15.5px;
  color: rgba(255,255,255,0.82);
  margin-bottom: 8px;
}

.legal-page a {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-page a:hover { color: var(--brand-dark); }

.legal-page code {
  background: rgba(255,255,255,0.08);
  border-radius: 6px;
  padding: 2px 6px;
  font-size: 0.92em;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color: #fff;
}

.footer-inner {
  position: relative;
  z-index: 1;
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.footer-logo {
  height: 96px;
  filter: brightness(0) invert(1);
  opacity: 0.95;
  object-fit: contain;
}

.footer-social {
  display: flex;
  gap: 20px;
}

.footer-social a {
  color: rgba(255,255,255,0.85);
  transition: color var(--transition), transform var(--transition);
  text-decoration: none;
}

.footer-social a:hover {
  color: #fff;
  transform: scale(1.2);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
  transition: opacity var(--transition);
}

.footer-links a:hover { opacity: 0.75; text-decoration: underline; }

.footer-sep {
  color: rgba(255,255,255,0.6);
}

.footer-copy {
  font-size: 13px;
  color: rgba(255,255,255,0.8);
}

/* ============================
   ANIMATIONS
   ============================ */
.blob.out-top {
  animation: rotate 20s linear infinite;
  transform-origin: 13px 25px;
  fill: #f98b0d;
}

.blob.in-top {
  animation: rotate 10s linear infinite;
  transform-origin: 13px 25px;
  fill: #ff9011;
}

.blob.out-bottom {
  animation: rotate 25s linear infinite;
  transform-origin: 84px 93px;
  fill: #f88807;
}

.blob.in-bottom {
  animation: rotate 15s linear infinite;
  transform-origin: 84px 93px;
  fill: #ff8d0a;
}

.pop-in {
  opacity: 0;
  transform: translateY(30px);
  animation: popUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.35s; }

@keyframes rotate {
  to { transform: rotate(360deg); }
}

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

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Scroll-reveal */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ============================
   SUCCESS PAGE
   ============================ */
svg.blob-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: -1;
  background-color: var(--brand);
}

.success-page {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  text-align: center;
  padding: 40px 24px;
}

.social {
  display: flex;
  justify-content: center;
  gap: 24px;
  padding: 40px 24px 60px;
}

.social-link {
  color: #fff;
  opacity: 0.9;
  text-decoration: none;
  transition: transform var(--transition), opacity var(--transition);
}

.social-link:hover {
  opacity: 1;
  transform: scale(1.15);
}

.animate-fade {
  opacity: 0;
  animation: popUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.celebrate h1 {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 12px;
  color: #fff;
}

.celebrate p {
  font-size: 18px;
  color: rgba(255,255,255,0.8);
}

.btn-back {
  display: inline-block;
  padding: 14px 36px;
  font-size: 16px;
  font-weight: 700;
  border: 2px solid #fff;
  border-radius: var(--radius);
  background: transparent;
  color: #fff;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition);
  font-family: inherit;
}

.btn-back:hover {
  background: #fff;
  color: var(--brand);
  transform: translateY(-2px);
}

/* ============================
   RESPONSIVE
   ============================ */
@media (max-width: 900px) {
  .hero { padding: 120px 32px 80px; }
  .hero-content {
    flex-direction: column-reverse;
    gap: 32px;
    text-align: center;
    padding: 0;
  }
  .hero-copy { align-items: center; text-align: center; width: 100%; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-fox-img { width: clamp(180px, 55vw, 280px); }
  .waitlist-form { width: 100%; }
  .waitlist-form .input-group {
    margin-left: auto;
    margin-right: auto;
    border-radius: var(--radius);
    width: 100%;
  }
}

@media (max-width: 480px) {
  .hero { padding: 110px 28px calc(80px + env(safe-area-inset-bottom)); }
  .hero-headline { font-size: clamp(34px, 10vw, 44px); }
  .waitlist-form input[type="email"] { padding: 14px 16px; font-size: 15px; }
  .waitlist-form button[type="submit"] { padding: 0 18px; font-size: 14px; }
  .waitlist-form .input-group { max-width: 100%; }
}

@media (max-width: 768px) {
  .feature-row {
    flex-direction: column;
    gap: 40px;
    margin-bottom: 72px;
    align-items: center;
  }
  .feature-row.reverse {
    flex-direction: column-reverse;
    gap: 40px;
    margin-bottom: 72px;
    align-items: center;
  }

  .steps { flex-direction: column; align-items: center; }
  .step-arrow { transform: rotate(90deg); padding-top: 0; }

  .strip { gap: 6px 10px; font-size: 12px; }

  .header-logo { height: 120px; }
  .header-inner { height: 80px; }
  .header-nav { gap: 20px; }
  .header-nav a { font-size: 13px; }
}
