/* ── TBNamed Landing Page Styles ── */

:root {
  --blue: #6B9FFF;
  --pink: #FF6B8A;
  --dark: #1a1a2e;
  --body: #444;
  --light-bg: #fafbff;
  --card-bg: #ffffff;
  --border: #e8ecf4;
  --muted: #888;
}

*, *::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;
  color: var(--body);
  background: var(--light-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--blue);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--pink);
}

/* ── Header / Nav ── */

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 960px;
  margin: 0 auto;
  padding: 20px 24px;
}

.logo {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.logo-blue { color: var(--blue); }
.logo-pink { color: var(--pink); }

.nav-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
}

.nav-links a:hover {
  color: var(--dark);
}

/* ── Hero ── */

.hero {
  text-align: center;
  padding: 80px 24px 60px;
  max-width: 720px;
  margin: 0 auto;
}

.hero-title {
  font-size: 56px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 22px;
  color: var(--muted);
  font-weight: 400;
  max-width: 500px;
  margin: 0 auto 40px;
  line-height: 1.5;
}

.store-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  transition: transform 0.2s, box-shadow 0.2s;
}

.store-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  color: #fff;
}

.store-btn.apple {
  background: var(--dark);
}

.store-btn.google {
  background: linear-gradient(135deg, var(--blue), var(--pink));
}

.store-btn svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.store-label-small {
  font-size: 11px;
  font-weight: 400;
  opacity: 0.8;
  display: block;
  text-align: left;
}

.store-label-big {
  display: block;
  text-align: left;
}

/* ── Features / How it Works ── */

.section {
  max-width: 960px;
  margin: 0 auto;
  padding: 60px 24px;
}

.section-title {
  text-align: center;
  font-size: 32px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
}

.section-subtitle {
  text-align: center;
  font-size: 16px;
  color: var(--muted);
  max-width: 520px;
  margin: 0 auto 48px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px 24px;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(107, 159, 255, 0.08);
}

.feature-icon {
  font-size: 40px;
  margin-bottom: 16px;
  display: block;
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}

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

/* ── CTA / Emotional Hook ── */

.cta-section {
  text-align: center;
  padding: 80px 24px;
  background: linear-gradient(135deg, var(--blue), var(--pink));
  color: #fff;
}

.cta-section h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 16px;
}

.cta-section p {
  font-size: 18px;
  opacity: 0.9;
  max-width: 500px;
  margin: 0 auto 32px;
  line-height: 1.6;
}

.cta-btn {
  display: inline-block;
  padding: 16px 40px;
  background: #fff;
  color: var(--dark);
  font-size: 16px;
  font-weight: 700;
  border-radius: 14px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  color: var(--dark);
}

/* ── Footer ── */

.site-footer {
  text-align: center;
  padding: 40px 24px;
  border-top: 1px solid var(--border);
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  list-style: none;
  margin-bottom: 16px;
}

.footer-links a {
  font-size: 14px;
  color: var(--muted);
  font-weight: 500;
}

.footer-links a:hover {
  color: var(--dark);
}

.footer-copy {
  font-size: 12px;
  color: var(--muted);
}

/* ── Legal Pages ── */

.legal-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}

.legal-page h1 {
  font-size: 36px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 8px;
}

.legal-meta {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 32px;
}

.legal-page h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--dark);
  margin-top: 40px;
  margin-bottom: 12px;
}

.legal-page h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--dark);
  margin-top: 24px;
  margin-bottom: 8px;
}

.legal-page p {
  margin-bottom: 12px;
}

.legal-page ul {
  margin: 8px 0 16px 24px;
}

.legal-page li {
  margin-bottom: 6px;
}

.legal-page strong {
  color: var(--dark);
}

.legal-page hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 32px 0;
}

/* ── Responsive ── */

@media (max-width: 640px) {
  .hero-title {
    font-size: 38px;
  }

  .hero-subtitle {
    font-size: 18px;
  }

  .section-title {
    font-size: 26px;
  }

  .cta-section h2 {
    font-size: 28px;
  }

  .cta-section p {
    font-size: 16px;
  }

  .store-buttons {
    flex-direction: column;
    align-items: center;
  }

  .store-btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  .site-header {
    flex-direction: column;
    gap: 12px;
  }

  .legal-page h1 {
    font-size: 28px;
  }
}
