/* Brozam AI — GoSmile-inspired design system */
:root {
  --purple: #6D28D9;
  --purple-dark: #5B21B6;
  --purple-deeper: #4C1D95;
  --purple-soft: #F5F3FF;
  --purple-mid: #A78BFA;
  --text: #0F172A;
  --text-secondary: #334155;
  --text-muted: #64748B;
  --border: #E2E8F0;
  --bg: #F8FAFC;
  --white: #FFFFFF;
  --radius: 16px;
  --radius-sm: 12px;
  --radius-pill: 999px;
  --shadow: 0 1px 3px rgba(15,23,42,0.06);
  --shadow-md: 0 8px 30px rgba(15,23,42,0.08);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --max: 1100px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--purple); text-decoration: none; transition: color 0.15s; }
a:hover { color: var(--purple-dark); }

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

/* Top banner */
.top-banner {
  background: var(--text);
  color: #fff;
  text-align: center;
  font-size: 13px;
  padding: 10px 16px;
  font-weight: 500;
}
.top-banner a {
  color: var(--purple-mid);
  font-weight: 600;
  margin-left: 4px;
}
.top-banner a:hover { color: #fff; }

/* Nav */
.nav-wrap {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 12px 20px;
  background: transparent;
}
.nav-bar {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--white);
  border-radius: var(--radius-pill);
  padding: 8px 8px 8px 16px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(226,232,240,0.8);
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.02em;
}
.logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-deeper) 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-wrap: wrap;
}
.nav-links a {
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.nav-links a:hover,
.nav-links a.active {
  background: var(--purple-soft);
  color: var(--purple);
}
.nav-cta {
  background: var(--purple) !important;
  color: #fff !important;
  padding: 10px 18px !important;
  border-radius: var(--radius-pill) !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  transition: background 0.15s, transform 0.15s !important;
}
.nav-cta:hover {
  background: var(--purple-dark) !important;
  transform: translateY(-1px);
}

/* Hero */
.hero {
  background: linear-gradient(145deg, #2e1065 0%, #4c1d95 40%, #6d28d9 70%, #7c3aed 100%);
  color: #fff;
  padding: 48px 24px 72px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 70% 20%, rgba(167,139,250,0.25), transparent);
  pointer-events: none;
}
.hero-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
  position: relative;
}
.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  color: #e9d5ff;
  font-size: 13px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 20px;
  backdrop-filter: blur(8px);
}
.hero h1 {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}
.hero h1 .accent {
  color: #c4b5fd;
}
.hero-lead {
  font-size: 17px;
  line-height: 1.65;
  color: rgba(255,255,255,0.85);
  max-width: 480px;
  margin-bottom: 28px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s, background 0.15s;
}
.btn-primary {
  background: #fff;
  color: var(--purple-deeper);
  box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  color: var(--purple-deeper);
}
.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.35);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  color: #fff;
  transform: translateY(-1px);
}
.btn-solid {
  background: var(--purple);
  color: #fff;
  box-shadow: 0 2px 8px rgba(109,40,217,0.3);
}
.btn-solid:hover {
  background: var(--purple-dark);
  transform: translateY(-1px);
  color: #fff;
}
.hero-card {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 20px;
  padding: 28px 24px;
  backdrop-filter: blur(12px);
  text-align: center;
}
.hero-card h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}
.hero-card p {
  font-size: 15px;
  color: rgba(255,255,255,0.8);
  line-height: 1.55;
}

/* Sections */
.section {
  padding: 72px 24px;
}
.section-inner {
  max-width: var(--max);
  margin: 0 auto;
}
.section-label {
  display: block;
  text-align: center;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 10px;
}
.section-title {
  text-align: center;
  font-size: clamp(26px, 3.5vw, 34px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 12px;
  line-height: 1.25;
}
.section-sub {
  text-align: center;
  font-size: 16px;
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

/* Feature grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 22px;
  transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s;
}
.feature-card:hover {
  box-shadow: var(--shadow-md);
  border-color: #ddd6fe;
  transform: translateY(-2px);
}
.feature-num {
  font-size: 13px;
  font-weight: 700;
  color: var(--purple);
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}
.feature-card h3 {
  font-size: 17px;
  font-weight: 650;
  margin-bottom: 8px;
  color: var(--text);
  letter-spacing: -0.01em;
}
.feature-card p {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.55;
}

/* About block */
.about-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.about-block h2 {
  font-size: clamp(24px, 3vw, 30px);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  line-height: 1.25;
}
.about-block p {
  color: var(--text-secondary);
  font-size: 15.5px;
  margin-bottom: 14px;
  line-height: 1.65;
}
.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  background: linear-gradient(145deg, #4c1d95, #6d28d9);
  border-radius: 20px;
  padding: 28px;
  color: #fff;
}
.about-stat {
  background: rgba(255,255,255,0.1);
  border-radius: 14px;
  padding: 18px 16px;
  text-align: center;
}
.about-stat strong {
  display: block;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}
.about-stat span {
  font-size: 13px;
  opacity: 0.85;
}

/* Legal cards */
.legal-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.legal-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s;
}
.legal-card:hover {
  box-shadow: var(--shadow-md);
  border-color: #ddd6fe;
  transform: translateY(-2px);
  color: inherit;
}
.legal-card h3 {
  font-size: 16px;
  font-weight: 650;
  color: var(--text);
  margin-bottom: 8px;
}
.legal-card p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* FAQ */
.faq-list {
  max-width: 680px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
}
.faq-item:first-child { padding-top: 0; }
.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 15.5px;
  color: var(--text);
  list-style: none;
  display: flex;
  align-items: center;
  gap: 10px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 2px solid var(--purple);
  border-bottom: 2px solid var(--purple);
  transform: rotate(-45deg);
  transition: transform 0.2s;
  flex-shrink: 0;
}
.faq-item[open] summary::before { transform: rotate(45deg); }
.faq-item summary:hover { color: var(--purple); }
.faq-item p {
  margin: 12px 0 0 18px;
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Get app CTA */
.cta-section {
  background: linear-gradient(145deg, #2e1065 0%, #4c1d95 50%, #6d28d9 100%);
  color: #fff;
  text-align: center;
  padding: 64px 24px;
}
.cta-section h2 {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}
.cta-section p {
  color: rgba(255,255,255,0.85);
  margin-bottom: 24px;
  font-size: 16px;
}
.store-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #111;
  color: #fff !important;
  text-decoration: none !important;
  padding: 11px 18px;
  border-radius: 12px;
  transition: opacity 0.2s, transform 0.15s;
  min-width: 158px;
}
.store-btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}
.store-btn svg { width: 22px; height: 22px; flex-shrink: 0; }
.store-btn .lbl { display: flex; flex-direction: column; line-height: 1.2; text-align: left; }
.store-btn .lbl small { font-size: 10px; opacity: 0.8; font-weight: 400; }
.store-btn .lbl strong { font-size: 15px; font-weight: 600; color: #fff; }

/* Page content (legal pages) */
.page-hero {
  background: linear-gradient(145deg, #2e1065 0%, #4c1d95 50%, #6d28d9 100%);
  color: #fff;
  padding: 48px 24px 40px;
  text-align: center;
}
.page-hero h1 {
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}
.page-hero .updated {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
}
.page-body {
  max-width: 720px;
  margin: 0 auto;
  padding: 40px 24px 64px;
}
.content-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 16px;
  box-shadow: var(--shadow);
}
.content-card h2 {
  font-size: 17px;
  font-weight: 650;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.content-card p,
.content-card li {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.65;
}
.content-card p { margin-bottom: 12px; }
.content-card p:last-child { margin-bottom: 0; }
.content-card ul {
  padding-left: 20px;
  margin-bottom: 12px;
}
.content-card li { margin-bottom: 6px; }
.content-card strong { color: var(--text); font-weight: 600; }
.highlight-box {
  background: var(--purple-soft);
  border-left: 3px solid var(--purple);
  padding: 14px 18px;
  border-radius: 0 12px 12px 0;
  margin: 12px 0;
}
.highlight-box p { margin: 0; color: var(--text); }
.highlight-box p + p { margin-top: 6px; }

/* Footer */
.site-footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 56px 24px 28px;
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(148,163,184,0.15);
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 17px;
  color: #fff;
  margin-bottom: 12px;
}
.footer-brand .logo-mark {
  width: 32px;
  height: 32px;
  font-size: 11px;
}
.footer-desc {
  font-size: 14px;
  line-height: 1.55;
  max-width: 260px;
  margin-bottom: 16px;
}
.footer-col h4 {
  font-size: 12px;
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #cbd5e1;
  margin-bottom: 14px;
}
.footer-col a {
  display: block;
  color: #94a3b8;
  font-size: 14px;
  margin-bottom: 10px;
  text-decoration: none;
}
.footer-col a:hover { color: #c4b5fd; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 13px;
}
.footer-bottom a { color: #94a3b8; }
.footer-bottom a:hover { color: #c4b5fd; }

/* Animations */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
.anim { animation: fadeUp 0.5s ease both; }
.anim-d1 { animation-delay: 0.05s; }
.anim-d2 { animation-delay: 0.1s; }
.anim-d3 { animation-delay: 0.15s; }
.anim-d4 { animation-delay: 0.2s; }

/* Responsive */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .legal-grid { grid-template-columns: 1fr 1fr; }
  .about-block { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .nav-links { display: none; }
  .feature-grid { grid-template-columns: 1fr; }
  .legal-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 24px; }
  .hero { padding: 36px 20px 56px; }
  .section { padding: 56px 20px; }
}
