/* 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 {
  text-align: center;
  padding: 5rem 0 4rem;
}

.hero-icon {
  width: 120px;
  height: 120px;
  border-radius: 27px;
  margin: 0 auto 1.75rem;
  box-shadow: 0 0 0 0.5px var(--sep), 0 8px 32px rgba(0,0,0,0.12);
}

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

.hero .tagline {
  font-size: 1.25rem;
  color: var(--text2);
  max-width: 520px;
  margin: 0 auto 2.5rem;
  line-height: 1.5;
}

.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: 52px; }

/* ── 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: 600px) {
  .hero { padding: 3.5rem 0 3rem; }
  .hero-icon { width: 96px; height: 96px; border-radius: 22px; }
  .hero h1 { font-size: 2rem; }
  .hero .tagline { font-size: 1.0625rem; }
  .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; }
}
