/* Beleep — Shared Stylesheet */
:root {
  --blue: #007AFF;
  --blue-dark: #0066DD;
  --coral: #FF6B6B;
  --green: #34C759;
  --bg: #FFFFFF;
  --bg2: #F2F2F7;
  --bg3: #FFFFFF;
  --text: #000000;
  --text2: rgba(60,60,67,0.6);
  --text3: rgba(60,60,67,0.3);
  --sep: rgba(60,60,67,0.12);
  --card-shadow: 0 2px 12px rgba(0,0,0,0.06);
  --radius: 16px;
  --max-w: 720px;
  --icon-bg: rgba(0,122,255,0.1);
  --icon-color: var(--blue);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000;
    --bg2: #1C1C1E;
    --bg3: #2C2C2E;
    --text: #FFFFFF;
    --text2: rgba(235,235,245,0.6);
    --text3: rgba(235,235,245,0.3);
    --sep: rgba(84,84,88,0.65);
    --card-shadow: 0 2px 12px rgba(0,0,0,0.4);
    --coral: #FF7B7B;
    --icon-bg: rgba(0,122,255,0.15);
  }
}

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

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

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

/* Layout */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ── Navigation ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255,255,255,0.8);
  border-bottom: 1px solid var(--sep);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
}

@media (prefers-color-scheme: dark) {
  .nav { background: rgba(0,0,0,0.8); }
}

.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
}

.nav-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  box-shadow: 0 0 0 0.5px var(--sep);
}

.nav-links { display: flex; gap: 1.5rem; list-style: none; }
.nav-links a { font-size: 0.875rem; color: var(--text2); font-weight: 500; }
.nav-links a:hover { color: var(--blue); text-decoration: none; }

/* ── Hero ── */
.hero {
  padding: 4rem 0 3rem;
  overflow: hidden;
}

.hero-layout {
  display: flex;
  align-items: center;
  gap: 3rem;
  max-width: var(--max-w);
}

.hero-text {
  flex: 1;
  min-width: 0;
}

.hero-icon {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  margin-bottom: 1.25rem;
  box-shadow: 0 0 0 0.5px var(--sep), 0 4px 16px rgba(0,0,0,0.1);
}

.hero h1 {
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
  line-height: 1.15;
}

.hero .tagline {
  font-size: 1.125rem;
  color: var(--text2);
  margin-bottom: 1.75rem;
  line-height: 1.5;
}

.hero-free-note {
  margin-top: 0.75rem;
  font-size: 0.8125rem;
  color: var(--text2);
}

.hero-screenshots {
  flex: 0 0 280px;
  position: relative;
  height: 420px;
}

.hero-screenshot {
  position: absolute;
  height: 400px;
  width: auto;
  border-radius: 12px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.15);
}

.hero-screenshot:first-child {
  z-index: 2;
  left: 0;
  top: 0;
}

.hero-screenshot-back {
  z-index: 1;
  left: 60px;
  top: 20px;
  opacity: 0.7;
  transform: scale(0.95);
}

.app-store-badge {
  display: inline-block;
  transition: transform 0.15s, opacity 0.15s;
}

.app-store-badge:hover { opacity: 0.85; transform: scale(1.03); }

.app-store-badge img { height: 48px; }

/* ── Social Proof ── */
.social-proof {
  border-top: 1px solid var(--sep);
  border-bottom: 1px solid var(--sep);
  padding: 1.25rem 0;
  background: var(--bg2);
}

.proof-items {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.proof-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.proof-stars {
  display: flex;
  gap: 2px;
  color: #FF9500;
}

.proof-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text);
}

.proof-quote {
  font-size: 0.8125rem;
  color: var(--text2);
  font-style: italic;
}

.proof-divider {
  width: 1px;
  height: 24px;
  background: var(--sep);
}

/* ── Stocard Alternative ── */
.alt-section {
  background: var(--bg2);
}

.alt-container {
  text-align: center;
  max-width: 560px;
}

.alt-body {
  font-size: 1rem;
  color: var(--text2);
  line-height: 1.65;
  margin-bottom: 1.75rem;
}

/* ── Section ── */
.section {
  padding: 4rem 0;
}

.section-title {
  font-size: 1.75rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.section-subtitle {
  text-align: center;
  color: var(--text2);
  margin-bottom: 2.5rem;
  font-size: 1.0625rem;
}

/* ── Features Grid ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.feature-card {
  background: var(--bg2);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--card-shadow);
}

.feature-icon-img {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  margin-bottom: 1rem;
  object-fit: cover;
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--icon-bg);
  color: var(--icon-color);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.feature-card p {
  font-size: 0.875rem;
  color: var(--text2);
  line-height: 1.5;
}

/* ── Pricing ── */
.pricing-section {
  background: var(--bg2);
}

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  align-items: start;
}

.price-card {
  background: var(--bg3);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--card-shadow);
}

.price-card.highlight {
  border: 2px solid var(--blue);
  position: relative;
}

.price-card.highlight::after {
  content: "Best Value";
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--blue);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 12px;
  border-radius: 999px;
  white-space: nowrap;
}

.price-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.price-card .price {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--blue);
  margin: 0.75rem 0 0.25rem;
}

.price-card .price span {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--text2);
}

.price-card .price-note {
  font-size: 0.8125rem;
  color: var(--text2);
  margin-bottom: 1.25rem;
}

.price-features {
  list-style: none;
  text-align: left;
  font-size: 0.875rem;
}

.price-features li {
  padding: 0.4rem 0;
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.price-features li::before {
  content: "✓";
  color: var(--green);
  font-weight: 700;
  flex-shrink: 0;
}

/* ── Footer ── */
.footer {
  border-top: 1px solid var(--sep);
  padding: 2.5rem 0;
  text-align: center;
  font-size: 0.8125rem;
  color: var(--text2);
}

.footer-links {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}

/* ── Legal pages ── */
.legal {
  padding: 3rem 0;
}

.legal h1 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.legal .updated {
  font-size: 0.875rem;
  color: var(--text2);
  margin-bottom: 2rem;
}

.legal h2 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
}

.legal p, .legal li {
  font-size: 0.9375rem;
  color: var(--text2);
  line-height: 1.65;
  margin-bottom: 0.75rem;
}

.legal ul {
  padding-left: 1.25rem;
  margin-bottom: 0.75rem;
}

.legal li { margin-bottom: 0.35rem; }

/* ── Support / FAQ ── */
.faq-item {
  background: var(--bg2);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin-bottom: 0.75rem;
}

.faq-item h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.faq-item p {
  font-size: 0.875rem;
  color: var(--text2);
  line-height: 1.55;
}

.contact-box {
  background: var(--bg2);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  margin-top: 2rem;
}

.contact-box h2 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.contact-box p {
  font-size: 0.875rem;
  color: var(--text2);
  margin-bottom: 1rem;
}

.btn {
  display: inline-block;
  background: var(--blue);
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius);
  text-decoration: none;
  transition: background 0.15s, transform 0.15s;
}

.btn:hover { background: var(--blue-dark); text-decoration: none; transform: scale(1.02); }

/* ── Responsive ── */
@media (max-width: 700px) {
  .hero { padding: 3rem 0 2rem; }
  .hero-layout { flex-direction: column; gap: 2rem; text-align: center; }
  .hero-icon { margin: 0 auto 1.25rem; }
  .hero-screenshots { flex: none; width: 240px; height: 360px; margin: 0 auto; }
  .hero-screenshot { height: 340px; }
  .hero-screenshot-back { left: 40px; }
  .hero h1 { font-size: 1.75rem; }
  .hero .tagline { font-size: 1rem; }
  .section { padding: 3rem 0; }
  .section-title { font-size: 1.375rem; }
  .features-grid { grid-template-columns: 1fr; }
  .pricing-cards { grid-template-columns: 1fr; }
  .nav-links { gap: 1rem; }
  .nav-links a { font-size: 0.8125rem; }
  .proof-divider { display: none; }
  .proof-items { flex-direction: column; gap: 0.5rem; }
}

/* ── Android waitlist form ── */
.waitlist {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin: 1.5rem 0 0.75rem;
}
.waitlist label {
  flex-basis: 100%;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text);
}
.waitlist input[type="email"] {
  flex: 1 1 18rem;
  min-width: 0;
  font: inherit;
  padding: 0.75rem 1rem;
  border: 1px solid var(--sep);
  border-radius: var(--radius);
  background: var(--bg3);
  color: var(--text);
}
.waitlist input[type="email"]:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 1px;
}
/* .btn is written for anchors, so a real button needs the chrome removed. */
.waitlist button.btn {
  border: 0;
  cursor: pointer;
  font-family: inherit;
}
.waitlist button.btn[disabled] { opacity: 0.55; cursor: default; transform: none; }
.waitlist-result { font-weight: 600; color: var(--green); }

/* ── Screenshot row (Android waitlist) ── */
.shots {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 1.5rem 0;
  padding: 0;
}
.shot { flex: 1 1 190px; max-width: 250px; margin: 0; }
.shot img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: var(--card-shadow);
}
.shot figcaption {
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--text2);
  margin-top: 0.6rem;
}
