/* FeverBee — Polished Homepage Styles
   Bedside direction: dark, warm honey, glowing phone */

@import url('/fonts/fonts.css');

:root {
  --bg: #0B0E14;
  --bg-2: #11151E;
  --bg-3: #1A2030;
  --ink: #F5F2EA;
  --ink-2: #B5B0A4;
  --ink-3: #6B6759;

  --honey: #F5A623;
  --honey-bright: #FFB938;
  --honey-deep: #C77E16;
  --honey-glow: rgba(245, 166, 35, 0.7);

  --green: #5DD17A;
  --red: #E54D4D;

  --line: rgba(245, 242, 234, 0.10);
  --line-strong: rgba(245, 242, 234, 0.18);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

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

.serif {
  font-family: 'Instrument Serif', Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.01em;
}
.italic { font-style: italic; }
.mono {
  font-family: 'JetBrains Mono', monospace;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ============ NAV ============ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(11, 14, 20, 0.7);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
}
.nav-logo img {
  width: 30px; height: 30px;
  border-radius: 7px;
}
.nav-links {
  display: flex;
  gap: 32px;
  font-size: 14px;
  color: var(--ink-2);
}
.nav-links a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s ease;
}
.nav-links a:hover { color: var(--ink); }

.lang-switch {
  display: flex;
  gap: 4px;
  padding: 3px;
  background: rgba(245, 242, 234, 0.05);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
}
.lang-switch button {
  background: transparent;
  border: none;
  color: var(--ink-2);
  padding: 5px 10px;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  transition: all 0.15s ease;
}
.lang-switch button.active {
  background: var(--honey);
  color: #0B0E14;
}

/* ============ STORE BADGE ============ */
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--ink);
  color: #0B0E14;
  padding: 12px 20px;
  border-radius: 14px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: 1px solid transparent;
}
.store-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(245, 166, 35, 0.25);
}
.store-badge svg { width: 22px; height: 22px; flex-shrink: 0; }
.store-badge .lines { display: flex; flex-direction: column; line-height: 1.05; text-align: left; }
.store-badge .small { font-size: 10px; opacity: 0.75; font-weight: 500; }
.store-badge .big { font-size: 17px; font-weight: 700; letter-spacing: -0.01em; }
.store-badge.ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.store-badge.ghost:hover { border-color: var(--honey); box-shadow: none; }

/* ============ HERO ============ */
.hero {
  position: relative;
  padding: 80px 0 60px;
  text-align: center;
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  inset: -20% -10% 30% -10%;
  background:
    radial-gradient(ellipse 70% 60% at 50% 40%, rgba(245, 166, 35, 0.30) 0%, transparent 60%),
    radial-gradient(ellipse 80% 30% at 50% 90%, rgba(245, 166, 35, 0.18) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.hero > * { position: relative; z-index: 1; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245, 166, 35, 0.10);
  border: 1px solid rgba(245, 166, 35, 0.25);
  color: var(--honey);
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.01em;
  margin-bottom: 28px;
}
.eyebrow .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--honey);
  box-shadow: 0 0 8px var(--honey);
}

h1.hero-title {
  font-family: 'Instrument Serif', Georgia, serif;
  font-weight: 400;
  font-size: clamp(48px, 7vw, 96px);
  line-height: 1.0;
  letter-spacing: -0.025em;
  margin: 0 auto 24px;
  max-width: 12ch;
  color: var(--ink);
}
h1.hero-title em {
  font-style: italic;
  color: var(--honey);
}

.hero-sub {
  font-size: 19px;
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 580px;
  margin: 0 auto 36px;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  justify-content: center;
  align-items: center;
  margin-bottom: 60px;
  flex-wrap: wrap;
}
.hero-ctas .meta {
  font-size: 13px;
  color: var(--ink-3);
}

/* fanned phones */
.hero-phones {
  position: relative;
  height: 560px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  margin-top: 20px;
}
.hero-phones-inner {
  position: relative;
  width: 700px;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}
.hero-phone-item {
  position: absolute;
  bottom: 0;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.hero-phone-item.left  { transform: translateX(-200px) translateY(40px) rotate(-8deg); }
.hero-phone-item.center{ transform: translateX(0) translateY(0); z-index: 3; }
.hero-phone-item.right { transform: translateX(200px) translateY(40px) rotate(8deg); }

.hero-phone-item.left::after,
.hero-phone-item.right::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(11,14,20,0.4));
  border-radius: 44px;
  pointer-events: none;
}

/* ============ iPhone frame ============ */
.iphone {
  width: 270px;
  background: #0a0a0a;
  border-radius: 44px;
  padding: 8px;
  box-shadow:
    0 0 0 1.5px #2a2a2c,
    0 30px 60px -10px rgba(0,0,0,0.7),
    0 20px 40px -20px rgba(245, 166, 35, 0.4);
  position: relative;
}
.iphone.hero-center {
  box-shadow:
    0 0 0 1.5px #2a2a2c,
    0 0 120px rgba(245, 166, 35, 0.55),
    0 40px 80px -10px rgba(0,0,0,0.8);
}
.iphone-screen {
  border-radius: 36px;
  overflow: hidden;
  position: relative;
  background: #0E1118;
  aspect-ratio: 9/19.5;
}
.iphone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.iphone.sm { width: 230px; }
.iphone.sm .iphone-screen { border-radius: 32px; }
.iphone.sm { border-radius: 38px; }

/* ============ Section primitives ============ */
section { position: relative; }
.eyebrow-text {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--honey);
  margin-bottom: 16px;
}
h2.section-title {
  font-family: 'Instrument Serif', Georgia, serif;
  font-weight: 400;
  font-size: clamp(40px, 5vw, 68px);
  line-height: 1.0;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
  color: var(--ink);
}
h2.section-title em {
  font-style: italic;
  color: var(--honey);
}
.section-sub {
  font-size: 18px;
  color: var(--ink-2);
  line-height: 1.55;
  max-width: 600px;
}

/* ============ "2am moment" band ============ */
.moment {
  padding: 140px 0;
  text-align: center;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 50%, var(--bg) 100%);
}
.moment .quote {
  font-family: 'Instrument Serif', Georgia, serif;
  font-style: italic;
  font-size: clamp(36px, 4.5vw, 56px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
  max-width: 880px;
  margin: 0 auto 28px;
}
.moment .quote .accent { color: var(--honey); font-style: italic; }
.moment .answer {
  font-size: 17px;
  color: var(--ink-2);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.65;
}

/* ============ Feature rows ============ */
.feature-rows {
  padding: 60px 0;
  background: var(--bg-2);
}
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 100px 0;
  border-bottom: 1px solid var(--line);
}
.feature-row:last-child { border-bottom: none; }
.feature-row.reverse .copy { order: 2; }
.feature-row.reverse .visual { order: 1; }
.feature-row .copy h3 {
  font-family: 'Instrument Serif', serif;
  font-weight: 400;
  font-size: clamp(36px, 4vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}
.feature-row .copy h3 em { font-style: italic; color: var(--honey); }
.feature-row .copy p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-2);
  margin: 0 0 20px;
  max-width: 460px;
}
.feature-row .copy ul {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  gap: 10px;
}
.feature-row .copy ul li {
  font-size: 14px;
  color: var(--ink-2);
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.feature-row .copy ul li::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--honey);
  margin-top: 8px;
  flex-shrink: 0;
}
.feature-row .visual {
  display: flex;
  justify-content: center;
  position: relative;
}
.feature-row .visual::before {
  content: "";
  position: absolute;
  inset: -10% -20%;
  background: radial-gradient(ellipse at center, rgba(245,166,35,0.08), transparent 70%);
  pointer-events: none;
}

/* ============ How it works ============ */
.how {
  padding: 140px 0;
}
.how-head { text-align: center; margin-bottom: 80px; }
.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.step {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.step:hover {
  border-color: rgba(245, 166, 35, 0.3);
  transform: translateY(-4px);
}
.step .num {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 64px;
  line-height: 1;
  color: var(--honey);
  margin-bottom: 16px;
}
.step h4 {
  font-family: 'Instrument Serif', serif;
  font-weight: 400;
  font-size: 28px;
  letter-spacing: -0.01em;
  margin: 0 0 8px;
}
.step p {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.6;
  margin: 0;
}

/* ============ Bee Promise (privacy) ============ */
.promise {
  padding: 160px 0;
  background:
    radial-gradient(ellipse 50% 50% at 50% 30%, rgba(245, 166, 35, 0.12), transparent 70%),
    var(--bg);
  text-align: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.promise .promise-title {
  font-family: 'Instrument Serif', serif;
  font-weight: 400;
  font-size: clamp(48px, 6.5vw, 88px);
  line-height: 1.0;
  letter-spacing: -0.02em;
  margin: 0 auto 28px;
  max-width: 14ch;
}
.promise .promise-title em { font-style: italic; color: var(--honey); }
.promise .promise-sub {
  font-size: 17px;
  color: var(--ink-2);
  max-width: 600px;
  margin: 0 auto 64px;
  line-height: 1.7;
}
.promise-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 1080px;
  margin: 0 auto;
}
.promise-card {
  background: rgba(245, 242, 234, 0.02);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px 22px;
  text-align: left;
  transition: all 0.3s ease;
}
.promise-card:hover {
  border-color: rgba(245, 166, 35, 0.3);
  background: rgba(245, 166, 35, 0.04);
}
.promise-card .icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(245, 166, 35, 0.10);
  display: grid; place-items: center;
  margin-bottom: 18px;
  color: var(--honey);
}
.promise-card h5 {
  font-family: 'Instrument Serif', serif;
  font-weight: 400;
  font-size: 22px;
  letter-spacing: -0.01em;
  margin: 0 0 6px;
}
.promise-card p {
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.55;
  margin: 0;
}

/* Privacy "receipt" — the tracking-list */
.no-track {
  max-width: 720px;
  margin: 80px auto 0;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 32px 36px;
  text-align: left;
}
.no-track h6 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--honey);
  margin: 0 0 4px;
}
.no-track .ntitle {
  font-family: 'Instrument Serif', serif;
  font-size: 30px;
  margin: 0 0 18px;
  letter-spacing: -0.01em;
}
.no-track ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 24px;
}
.no-track li {
  font-size: 14px;
  color: var(--ink-2);
  display: flex;
  align-items: center;
  gap: 10px;
}
.no-track li::before {
  content: "✕";
  color: var(--honey);
  font-weight: 700;
  font-size: 14px;
  width: 14px;
  text-align: center;
}

/* ============ Pricing ============ */
.pricing {
  padding: 140px 0;
  text-align: center;
}
.pricing-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 800px;
  margin: 56px auto 0;
}
.price-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 40px 32px;
  text-align: left;
  position: relative;
}
.price-card.feature {
  background: linear-gradient(180deg, rgba(245, 166, 35, 0.08), rgba(245, 166, 35, 0.02));
  border-color: rgba(245, 166, 35, 0.35);
}
.price-card .plan {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--honey);
  margin-bottom: 12px;
}
.price-card .plan-name {
  font-family: 'Instrument Serif', serif;
  font-size: 32px;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}
.price-card .price {
  font-family: 'Instrument Serif', serif;
  font-size: 64px;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 4px;
}
.price-card .price em { font-style: italic; color: var(--honey); }
.price-card .desc {
  font-size: 14px;
  color: var(--ink-2);
  margin: 16px 0 24px;
  line-height: 1.6;
}
.price-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}
.price-card ul li {
  font-size: 14px;
  color: var(--ink-2);
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.price-card ul li::before {
  content: "✓";
  color: var(--honey);
  font-weight: 700;
  flex-shrink: 0;
}

/* ============ FAQ ============ */
.faq {
  padding: 120px 0;
  background: var(--bg-2);
}
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 60px;
  align-items: start;
}
.faq-list { display: grid; gap: 8px; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: rgba(245, 242, 234, 0.015);
  transition: border-color 0.2s;
}
.faq-item[open] { border-color: rgba(245, 166, 35, 0.25); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  color: var(--honey);
  font-size: 22px;
  font-weight: 300;
  transition: transform 0.2s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .answer {
  padding: 0 22px 18px;
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.65;
}

/* ============ Final CTA ============ */
.final {
  padding: 140px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.final-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 60% at 50% 50%, rgba(245, 166, 35, 0.18), transparent 60%);
  pointer-events: none;
}
.final h2 {
  font-family: 'Instrument Serif', serif;
  font-weight: 400;
  font-size: clamp(48px, 6vw, 80px);
  line-height: 1.0;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
  position: relative;
}
.final h2 em { font-style: italic; color: var(--honey); }
.final p { color: var(--ink-2); font-size: 17px; margin: 0 0 32px; position: relative; }
.final .ctas { position: relative; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ============ Footer ============ */
footer {
  padding: 60px 0 40px;
  border-top: 1px solid var(--line);
  background: var(--bg-2);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand .nav-logo { margin-bottom: 16px; display: inline-flex; }
.footer-brand p {
  font-size: 13px;
  color: var(--ink-3);
  line-height: 1.6;
  max-width: 280px;
}
.footer-col h6 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--honey);
  margin: 0 0 16px;
}
.footer-col a {
  display: block;
  color: var(--ink-2);
  text-decoration: none;
  font-size: 14px;
  margin-bottom: 10px;
  transition: color 0.15s;
}
.footer-col a:hover { color: var(--honey); }
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--ink-3);
}

/* ============ Scroll fade-ins ============ */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============ Responsive ============ */
@media (max-width: 900px) {
  .hero-phones { height: 480px; }
  .iphone { width: 230px; }
  .hero-phone-item.left  { transform: translateX(-130px) translateY(40px) rotate(-8deg); }
  .hero-phone-item.right { transform: translateX(130px) translateY(40px) rotate(8deg); }
  .feature-row, .how-grid, .promise-grid, .pricing-cards, .footer-grid, .faq-grid { grid-template-columns: 1fr; gap: 40px; }
  .feature-row.reverse .copy { order: 1; }
  .feature-row.reverse .visual { order: 2; }
  .nav-links { display: none; }
  .no-track ul { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .container { padding: 0 20px; }
  .hero { padding: 50px 0 40px; }
  .hero-phones { height: 380px; }
  .iphone { width: 200px; }
  .hero-phone-item.left, .hero-phone-item.right { display: none; }
  .moment, .promise, .pricing, .faq, .final { padding: 80px 0; }
}
