/* Wisheez marketing site — one stylesheet, zero build step.
   Reuses the mobile app's coral/peach brand so the website and app feel like one product. */

:root {
  --surface: #FAF8F5;
  --surface-2: #FFFFFF;
  --surface-3: #F0EBE1;
  --ink: #2C2C2C;
  --ink-2: #4A4A4A;
  --muted: #75706A;
  --brand: #FF7043;
  --brand-2: #FFB74D;
  --brand-3: #FFE0B2;
  --on-brand: #FFFFFF;
  --border: #E0D8D0;
  --success: #81C784;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 12px 32px rgba(255, 112, 67, 0.18);
  --max: 1180px;
}

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

html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--surface);
  color: var(--ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

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

/* --- Nav --- */
.nav {
  position: sticky; top: 0; z-index: 10;
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  background: rgba(250, 248, 245, 0.78);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px; max-width: var(--max); margin: 0 auto;
}
.brand {
  font-weight: 900; letter-spacing: -0.5px; font-size: 22px;
  color: var(--ink); display: flex; align-items: center; gap: 6px;
}
.brand-gift { font-size: 22px; }
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a { font-weight: 700; color: var(--ink-2); font-size: 14px; }
.nav-links a:hover { color: var(--brand); }
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 20px; border-radius: var(--radius-pill);
  font-weight: 900; font-size: 14px; letter-spacing: 0.2px;
  cursor: pointer; border: none; transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn-primary {
  background: var(--brand); color: var(--on-brand);
  box-shadow: 0 6px 16px rgba(255, 112, 67, 0.35);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 10px 22px rgba(255, 112, 67, 0.45); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { color: var(--brand); }

/* --- Hero --- */
.hero {
  position: relative; overflow: hidden;
  padding: 96px 0 72px;
}
.hero-grid {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px;
  align-items: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--brand-3); color: #E65100;
  padding: 6px 14px; border-radius: var(--radius-pill);
  font-size: 12px; font-weight: 900; letter-spacing: 1.5px;
}
.hero h1 {
  font-size: 68px; line-height: 1.03; letter-spacing: -2.2px; font-weight: 900;
  margin: 20px 0 20px; color: var(--ink);
}
.hero h1 .accent { color: var(--brand); }
.hero p.lede { font-size: 20px; color: var(--muted); max-width: 540px; line-height: 1.55; }
.hero-cta { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }
.store-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: #000; color: #FFF;
  padding: 10px 22px; border-radius: var(--radius-pill);
  font-weight: 800; font-size: 15px;
}
.store-badge small { font-weight: 600; opacity: 0.75; font-size: 10px; letter-spacing: 1px; text-transform: uppercase; display: block; }
.store-badge:hover { transform: translateY(-1px); }
.store-badge svg { width: 24px; height: 24px; fill: currentColor; }

.hero-visual {
  position: relative; display: flex; justify-content: center; align-items: center;
}
.phone {
  width: 320px; aspect-ratio: 9/19;
  background: linear-gradient(135deg, var(--brand), var(--brand-2) 60%, var(--brand-3));
  border-radius: 46px; padding: 14px;
  box-shadow: var(--shadow-md), 0 40px 80px rgba(0,0,0,0.15);
  transform: rotate(-6deg);
}
.phone-screen {
  width: 100%; height: 100%;
  background: var(--surface);
  border-radius: 36px;
  padding: 28px 20px; position: relative; overflow: hidden;
}
.phone-notch {
  position: absolute; top: 10px; left: 50%; transform: translateX(-50%);
  width: 100px; height: 24px; background: #000; border-radius: 20px;
}
.phone-greeting { margin-top: 22px; font-size: 20px; font-weight: 900; letter-spacing: -0.5px; }
.phone-sub { font-size: 11px; color: var(--muted); font-weight: 700; margin-top: 2px; }
.phone-card {
  margin-top: 18px;
  background: #FFF; border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 14px;
}
.phone-img {
  height: 80px; border-radius: 12px;
  background: var(--surface-3) center/cover no-repeat;
  display: flex; align-items: center; justify-content: center;
  font-size: 44px;
}
.phone-card h3 { font-size: 14px; font-weight: 900; margin-top: 10px; }
.phone-pill {
  display: inline-block; margin-top: 6px;
  background: var(--brand); color: var(--on-brand);
  padding: 2px 8px; border-radius: var(--radius-pill);
  font-size: 9px; font-weight: 900; letter-spacing: 1px;
}
.phone-ai {
  margin-top: 14px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #FFF; padding: 12px; border-radius: var(--radius-md);
}
.phone-ai h4 { font-size: 13px; font-weight: 900; }
.phone-ai p { font-size: 10px; opacity: 0.9; margin-top: 2px; font-weight: 600; }

.blob {
  position: absolute; filter: blur(70px); opacity: 0.6; z-index: -1;
  border-radius: 50%;
}
.blob-1 { width: 420px; height: 420px; background: var(--brand); top: -120px; right: -80px; }
.blob-2 { width: 320px; height: 320px; background: var(--brand-2); bottom: -80px; left: -80px; }

/* --- Pillars --- */
.pillars { padding: 80px 0; }
.section-title {
  font-size: 44px; font-weight: 900; letter-spacing: -1.2px; text-align: center;
  margin-bottom: 14px;
}
.section-sub {
  color: var(--muted); font-size: 17px; text-align: center;
  max-width: 620px; margin: 0 auto 56px;
}
.pillar-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.pillar {
  background: #FFF; border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.pillar-emoji {
  width: 56px; height: 56px; border-radius: 20px;
  background: var(--brand-3); color: #E65100;
  display: flex; align-items: center; justify-content: center;
  font-size: 32px; margin-bottom: 18px;
}
.pillar h3 { font-size: 22px; font-weight: 900; letter-spacing: -0.5px; margin-bottom: 8px; }
.pillar p { color: var(--muted); font-size: 15px; line-height: 1.55; }

/* --- Mid banner / stats --- */
.banner {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #FFF; padding: 60px 48px;
  border-radius: var(--radius-lg); margin: 0 auto;
  text-align: center;
}
.banner h2 { font-size: 36px; font-weight: 900; letter-spacing: -1px; margin-bottom: 10px; }
.banner p { font-size: 17px; opacity: 0.92; max-width: 540px; margin: 0 auto; }
.stats {
  display: flex; justify-content: center; gap: 48px; margin-top: 32px; flex-wrap: wrap;
}
.stat h4 { font-size: 32px; font-weight: 900; }
.stat p { font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; font-weight: 800; opacity: 0.85; margin-top: 2px; }

/* --- How it works --- */
.how { padding: 80px 0; }
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.step {
  text-align: center;
  position: relative;
}
.step-num {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--ink); color: var(--brand-2);
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 18px;
  margin-bottom: 16px;
}
.step h3 { font-size: 20px; font-weight: 900; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 15px; }

/* --- Waitlist / CTA --- */
.waitlist {
  padding: 80px 0 100px;
}
.waitlist-card {
  background: var(--ink); color: #FFF;
  padding: 60px 48px; border-radius: var(--radius-lg);
  text-align: center;
  position: relative; overflow: hidden;
}
.waitlist-card::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at top right, rgba(255, 183, 77, 0.3), transparent 60%);
  pointer-events: none;
}
.waitlist-card h2 { font-size: 40px; font-weight: 900; letter-spacing: -1px; margin-bottom: 10px; position: relative; }
.waitlist-card p { font-size: 17px; opacity: 0.85; max-width: 520px; margin: 0 auto 28px; position: relative; }
.waitlist-form {
  display: flex; gap: 10px; max-width: 480px; margin: 0 auto;
  position: relative;
  flex-wrap: wrap; justify-content: center;
}
.waitlist-form input[type="email"] {
  flex: 1; min-width: 220px; height: 52px;
  padding: 0 20px; font-size: 15px; font-weight: 600;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.08); color: #FFF;
  border-radius: var(--radius-pill);
  outline: none; transition: border-color 0.15s;
}
.waitlist-form input[type="email"]::placeholder { color: rgba(255,255,255,0.5); }
.waitlist-form input[type="email"]:focus { border-color: var(--brand-2); background: rgba(255,255,255,0.12); }
.waitlist-form button {
  height: 52px; padding: 0 28px;
  border: none; border-radius: var(--radius-pill);
  background: var(--brand); color: var(--on-brand);
  font-weight: 900; font-size: 15px;
  cursor: pointer; transition: transform 0.15s;
}
.waitlist-form button:hover:not(:disabled) { transform: translateY(-1px); }
.waitlist-form button:disabled { opacity: 0.6; cursor: not-allowed; }
.waitlist-note { margin-top: 14px; font-size: 12px; opacity: 0.65; position: relative; }
.waitlist-success {
  position: relative; margin-top: 20px; padding: 14px 22px;
  background: rgba(129, 199, 132, 0.18);
  border: 1px solid rgba(129, 199, 132, 0.5);
  border-radius: var(--radius-md);
  color: #C8E6C9; font-weight: 700; display: none;
}
.waitlist-success.show { display: block; animation: fadeInUp 0.35s ease; }
.waitlist-error {
  position: relative; margin-top: 14px;
  color: #FFB4B4; font-weight: 700; font-size: 14px; display: none;
}
.waitlist-error.show { display: block; }

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --- Footer --- */
.footer {
  border-top: 1px solid var(--border);
  padding: 48px 0 36px;
  background: var(--surface);
}
.footer-grid {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 20px;
}
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a { color: var(--muted); font-size: 14px; font-weight: 700; }
.footer-links a:hover { color: var(--brand); }
.footer-copy { color: var(--muted); font-size: 13px; }

/* --- Legal pages --- */
.legal-wrap { padding: 80px 0; max-width: 760px; }
.legal-wrap h1 { font-size: 44px; font-weight: 900; letter-spacing: -1px; margin-bottom: 8px; }
.legal-wrap p.subtitle { color: var(--muted); font-size: 15px; margin-bottom: 36px; }
.legal-wrap h2 { font-size: 22px; font-weight: 900; letter-spacing: -0.3px; margin: 32px 0 10px; }
.legal-wrap p, .legal-wrap li { color: var(--ink-2); font-size: 15px; line-height: 1.65; margin-bottom: 10px; }
.legal-wrap ul { padding-left: 22px; }
.legal-wrap a { color: var(--brand); font-weight: 700; }

/* --- Responsive --- */
@media (max-width: 920px) {
  .hero { padding: 56px 0 48px; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero h1 { font-size: 44px; letter-spacing: -1.3px; }
  .hero p.lede { font-size: 17px; }
  .phone { transform: rotate(-3deg) scale(0.9); }
  .pillar-grid, .how-grid { grid-template-columns: 1fr; }
  .section-title { font-size: 32px; }
  .banner, .waitlist-card { padding: 44px 24px; }
  .banner h2, .waitlist-card h2 { font-size: 28px; }
  .nav-links { gap: 14px; }
  .nav-links a:not(.btn) { display: none; }
}
