/* FrostCam — shared styles */

:root {
  --bg: #ffffff;
  --bg-elev: #f5f5f7;
  --bg-card: rgba(255, 255, 255, 0.7);
  --text: #1d1d1f;
  --text-muted: #6e6e73;
  --text-subtle: #86868b;
  --accent: #007aff;
  --accent-hover: #0066d6;
  --border: rgba(0, 0, 0, 0.08);
  --shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.18), 0 8px 16px -8px rgba(0, 0, 0, 0.08);
  --gradient-hero: radial-gradient(60% 50% at 50% 0%, rgba(10, 132, 255, 0.10) 0%, rgba(10, 132, 255, 0) 70%);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000;
    --bg-elev: #111113;
    --bg-card: rgba(28, 28, 30, 0.6);
    --text: #f5f5f7;
    --text-muted: #a1a1a6;
    --text-subtle: #6e6e73;
    --accent: #0a84ff;
    --accent-hover: #4096ff;
    --border: rgba(255, 255, 255, 0.10);
    --shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.6), 0 8px 16px -8px rgba(0, 0, 0, 0.4);
    --gradient-hero: radial-gradient(60% 50% at 50% 0%, rgba(10, 132, 255, 0.18) 0%, rgba(10, 132, 255, 0) 70%);
  }
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
    "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  letter-spacing: -0.01em;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.15s ease;
}

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

/* Layout */

.container {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Nav */

.nav {
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 16px;
  color: var(--text);
}

.nav-brand img {
  width: 24px;
  height: 24px;
  border-radius: 5px;
}

.nav-links {
  display: flex;
  gap: 24px;
  font-size: 15px;
}

.nav-links a {
  color: var(--text-muted);
}

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

/* Hero */

.hero {
  text-align: center;
  padding: 96px 0 80px;
  background: var(--gradient-hero);
  background-repeat: no-repeat;
}

.hero-icon {
  width: 160px;
  height: 160px;
  margin: 0 auto 32px;
  border-radius: 36px;
  box-shadow: var(--shadow);
  display: block;
}

.hero h1 {
  font-size: 56px;
  line-height: 1.05;
  letter-spacing: -0.025em;
  font-weight: 700;
  margin-bottom: 18px;
  color: var(--text);
}

.hero-tagline {
  font-size: 21px;
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto 40px;
  line-height: 1.45;
  font-weight: 400;
}

.mas-badge {
  display: inline-block;
  transition: transform 0.15s ease;
}

.mas-badge:hover {
  transform: translateY(-1px);
}

.mas-badge img {
  height: 56px;
  display: block;
}

.hero-meta {
  margin-top: 18px;
  font-size: 14px;
  color: var(--text-subtle);
}

/* Sections */

section {
  padding: 80px 0;
}

section + section {
  border-top: 1px solid var(--border);
}

.section-eyebrow {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 12px;
  text-align: center;
}

.section-title {
  font-size: 36px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 700;
  text-align: center;
  margin-bottom: 12px;
}

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

/* Feature grid */

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}

.feature-card {
  padding: 32px 28px;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 16px;
}

.feature-icon {
  width: 36px;
  height: 36px;
  margin-bottom: 18px;
  color: var(--accent);
}

.feature-card h3 {
  font-size: 19px;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.feature-card p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Objection / explainer block */

.explainer {
  background: var(--bg-elev);
}

.explainer .container-narrow {
  max-width: 700px;
}

.explainer h2 {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  text-align: center;
}

.explainer p {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.65;
}

.explainer p strong {
  color: var(--text);
  font-weight: 600;
}

/* Pricing */

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

.price-card {
  padding: 32px 28px;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 16px;
  position: relative;
}

.price-card.featured {
  border-color: var(--accent);
  background: linear-gradient(180deg, var(--bg-elev), var(--bg-elev));
  box-shadow: 0 0 0 1px var(--accent), 0 30px 60px -20px rgba(10, 132, 255, 0.25);
}

.price-card-tag {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  background: var(--accent);
  color: white;
  border-radius: 999px;
}

.price-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.price-card .price {
  font-size: 38px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 8px 0 4px;
  color: var(--text);
}

.price-card .price-note {
  font-size: 14px;
  color: var(--text-subtle);
  margin-bottom: 20px;
}

.price-card ul {
  list-style: none;
  font-size: 15px;
  color: var(--text-muted);
}

.price-card li {
  padding: 8px 0;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.price-card li::before {
  content: "✓";
  color: var(--accent);
  font-weight: 600;
  flex-shrink: 0;
}

/* Privacy callout */

.privacy-line {
  text-align: center;
  font-size: 18px;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.6;
}

.privacy-line strong {
  color: var(--text);
  font-weight: 600;
}

.privacy-line a {
  white-space: nowrap;
}

/* FAQ */

.faq {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}

.faq-item:last-child {
  border-bottom: 0;
}

.faq-item h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.faq-item p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.6;
}

.faq-item a {
  color: var(--accent);
}

/* Footer */

footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
  font-size: 14px;
  color: var(--text-subtle);
}

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

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  color: var(--text-muted);
}

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

/* Long-form (privacy / support pages) */

.longform {
  padding: 64px 0 96px;
}

.longform h1 {
  font-size: 40px;
  letter-spacing: -0.025em;
  font-weight: 700;
  margin-bottom: 8px;
}

.longform .updated {
  color: var(--text-subtle);
  font-size: 14px;
  margin-bottom: 40px;
}

.longform h2 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 40px 0 12px;
}

.longform p,
.longform li {
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  margin-bottom: 14px;
}

.longform ul {
  padding-left: 24px;
  margin-bottom: 14px;
}

.longform li {
  margin-bottom: 6px;
}

.longform a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Mobile */

@media (max-width: 768px) {
  .hero {
    padding: 64px 0 56px;
  }

  .hero-icon {
    width: 128px;
    height: 128px;
    border-radius: 28px;
  }

  .hero h1 {
    font-size: 40px;
  }

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

  section {
    padding: 56px 0;
  }

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

  .section-subtitle {
    font-size: 16px;
    margin-bottom: 40px;
  }

  .features,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .nav-links {
    gap: 16px;
    font-size: 14px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .longform h1 {
    font-size: 32px;
  }
}
