/* BagWatch marketing site — tokens from BagWatch/BagWatch/Theme.swift */
:root {
  --primary: #007aff;
  --primary-dark: #0057b5;
  --danger: #ff3b30;
  --text: #091e42;
  --text-secondary: #42526d;
  --text-muted: #8c929d;
  --surface: #ffffff;
  --surface-soft: #f5f6f7;
  --border: #e2e4e6;
  --tagline-start: #2b6ed1;
  --tagline-end: #062550;
  --hero-glow: rgba(0, 122, 255, 0.12);
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 10px 30px rgba(9, 30, 66, 0.08);
  --max-width: 1080px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--surface);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: min(100% - 40px, var(--max-width));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.site-header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
}

.brand img {
  height: 22px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 0.9375rem;
  font-weight: 500;
}

.nav a {
  color: var(--text-secondary);
  text-decoration: none;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--primary);
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 56px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, var(--hero-glow), transparent 45%),
    radial-gradient(circle at 80% 0%, rgba(43, 110, 209, 0.08), transparent 40%),
    url("../assets/img-bg.png") center top / cover no-repeat;
  opacity: 0.35;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(0, 122, 255, 0.08);
  color: var(--primary-dark);
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: 18px;
}

.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.tagline {
  margin: 0 0 24px;
  font-size: 1.125rem;
  background: linear-gradient(135deg, var(--tagline-start), var(--tagline-end));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 500;
}

.hero-copy p {
  margin: 0 0 28px;
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 34rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 8px 20px rgba(0, 122, 255, 0.28);
}

.btn-primary:hover {
  background: var(--primary-dark);
  text-decoration: none;
}

.btn-secondary {
  background: #fff;
  color: var(--primary);
  border-color: rgba(0, 122, 255, 0.25);
}

.btn-secondary:hover {
  text-decoration: none;
  background: rgba(0, 122, 255, 0.05);
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-card {
  width: min(100%, 320px);
  padding: 28px 24px 32px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow);
  text-align: center;
}

.phone-card img.siren {
  width: 220px;
  margin: 0 auto 16px;
}

.phone-card .status {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
}

/* Sections */
section {
  padding: 72px 0;
}

section.alt {
  background: var(--surface-soft);
}

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 48px;
}

.section-head h2 {
  margin: 0 0 12px;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  letter-spacing: -0.02em;
}

.section-head p {
  margin: 0;
  color: var(--text-secondary);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card,
.step-card,
.faq-item,
.legal-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 4px 14px rgba(9, 30, 66, 0.04);
}

.feature-card {
  padding: 24px;
}

.feature-card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.feature-card p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(0, 122, 255, 0.1);
  color: var(--primary);
  font-size: 1.25rem;
  margin-bottom: 14px;
}

.steps {
  display: grid;
  gap: 16px;
}

.step-card {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 18px;
  padding: 16px;
  align-items: center;
}

.step-card img {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
}

.step-card h3 {
  margin: 0 0 4px;
  font-size: 1rem;
}

.step-card p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.9375rem;
}

.tips-box {
  margin-top: 24px;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #44009b, #2370ca);
  color: #f2f3fa;
}

.tips-box h3 {
  margin: 0 0 12px;
}

.tips-box ul {
  margin: 0;
  padding-left: 1.1rem;
}

.tips-box li + li {
  margin-top: 8px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  max-width: 720px;
  margin: 0 auto;
}

.price-card {
  padding: 28px 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: #fff;
  text-align: center;
}

.price-card h3 {
  margin: 0 0 8px;
}

.price-card .amount {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

.price-card p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.9375rem;
}

/* Legal / support pages */
.page-hero {
  padding: 56px 0 24px;
  background: var(--surface-soft);
  border-bottom: 1px solid var(--border);
}

.page-hero h1 {
  margin: 0 0 8px;
  font-size: clamp(2rem, 4vw, 2.6rem);
}

.page-hero .meta {
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.legal-body {
  padding: 48px 0 72px;
}

.legal-card {
  padding: 32px;
  max-width: 760px;
  margin: 0 auto;
}

.legal-card h2 {
  margin: 28px 0 10px;
  font-size: 1.125rem;
}

.legal-card h2:first-child {
  margin-top: 0;
}

.legal-card p,
.legal-card li {
  color: var(--text-secondary);
}

.legal-card ul {
  padding-left: 1.2rem;
}

.faq-list {
  display: grid;
  gap: 14px;
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  padding: 20px 22px;
}

.faq-item h3 {
  margin: 0 0 8px;
  font-size: 1rem;
}

.faq-item p {
  margin: 0;
  color: var(--text-secondary);
}

.contact-card {
  margin-top: 32px;
  padding: 24px;
  border-radius: var(--radius);
  background: rgba(0, 122, 255, 0.06);
  border: 1px solid rgba(0, 122, 255, 0.12);
  text-align: center;
}

.contact-card a {
  font-weight: 600;
  font-size: 1.05rem;
}

/* Footer */
.site-footer {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  background: #fff;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 0.9375rem;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
}

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

.footer-note {
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 900px) {
  .hero-grid,
  .feature-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 48px;
  }

  .nav {
    display: none;
  }
}

