/* ============================================
   GoCapoeira Landing Page — styles.css
   Design tokens match the mobile app
   ============================================ */

/* ---------- CSS Variables (matches index.css) ---------- */
:root {
  --primary:        #E8A31E;
  --primary-light:  #FDF3D8;
  --secondary:      #2AA891;
  --secondary-light:#D4F0EB;
  --accent:         #E24B5D;
  --orange:         #F5A623;
  --dark:           #2D3142;
  --bg:             #F7F7F7;
  --card:           #FFFFFF;
  --border:         #E2E8F0;
  --muted:          #94A3B8;
  --text-sm:        0.875rem;
  --text-base:      1rem;
  --text-lg:        1.125rem;
  --text-xl:        1.25rem;
  --text-2xl:       1.5rem;
  --text-3xl:       1.875rem;
  --text-4xl:       2.25rem;
  --text-5xl:       3rem;
  --radius:         1rem;
  --radius-sm:      0.5rem;
  --shadow:         0 4px 24px rgba(45,49,66,0.10);
  --shadow-lg:      0 8px 48px rgba(45,49,66,0.16);
  --transition:     0.3s cubic-bezier(.4,0,.2,1);
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--dark);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; outline: none; }

/* ---------- Utility ---------- */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-title {
  font-size: var(--text-3xl);
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1rem;
  text-align: center;
}

.section-intro {
  font-size: var(--text-lg);
  color: #4A5568;
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3rem;
  line-height: 1.75;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  background: var(--primary-light);
  color: var(--primary);
}

.badge.teal { background: var(--secondary-light); color: var(--secondary); }
.badge.dark { background: rgba(255,255,255,0.15); color: #fff; }

/* ---------- Animations ---------- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes pandeiro-spin {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}

@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position:  200% center; }
}

.anim-fade-up { animation: fadeInUp 0.7s ease both; }
.anim-fade    { animation: fadeIn 0.6s ease both; }
.anim-float   { animation: float 3.5s ease-in-out infinite; }
.anim-delay-1 { animation-delay: 0.15s; }
.anim-delay-2 { animation-delay: 0.30s; }
.anim-delay-3 { animation-delay: 0.45s; }
.anim-delay-4 { animation-delay: 0.60s; }

/* Intersection-observer triggered class */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Navbar ---------- */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}

#navbar.scrolled {
  box-shadow: var(--shadow);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.nav-logo img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.nav-logo span {
  font-family: 'Poppins', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--dark);
  transition: color var(--transition);
}

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

.nav-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Language switcher */
.lang-switcher {
  position: relative;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-sm);
  background: var(--bg);
  border: 1px solid var(--border);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dark);
  cursor: pointer;
  transition: background var(--transition);
}
.lang-btn:hover { background: var(--border); }
.lang-btn .ri-arrow-down-s-line { font-size: 1rem; transition: transform 0.2s; }
.lang-btn.open .ri-arrow-down-s-line { transform: rotate(180deg); }

.lang-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  min-width: 130px;
  display: none;
  z-index: 200;
}
.lang-dropdown.open { display: block; }

.lang-option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: background var(--transition);
}
.lang-option:hover { background: var(--bg); }
.lang-option.active { color: var(--primary); font-weight: 700; }
.lang-flag { font-size: 1.1rem; }

/* CTA button in nav */
.btn-nav {
  padding: 0.5rem 1.2rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--orange));
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
  transition: opacity var(--transition), transform var(--transition);
  white-space: nowrap;
}
.btn-nav:hover { opacity: 0.9; transform: translateY(-1px); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: all 0.3s;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 1rem 1.5rem 1.5rem;
  background: #fff;
  border-top: 1px solid var(--border);
  gap: 0.25rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 0.65rem 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--dark);
  border-bottom: 1px solid var(--bg);
  transition: color var(--transition);
}
.mobile-menu a:hover { color: var(--primary); }
.mobile-menu .lang-row {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  padding-top: 0.75rem;
}
.mobile-menu .lang-pill {
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.mobile-menu .lang-pill.active,
.mobile-menu .lang-pill:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* ---------- Hero ---------- */
#hero {
  padding-top: 68px;
  min-height: 100svh;
  background: linear-gradient(135deg, #C97B10 0%, #1e7a68 60%, #2AA891 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.hero-bg-circles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-bg-circles::before,
.hero-bg-circles::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  opacity: 0.12;
  background: #fff;
}
.hero-bg-circles::before {
  width: 600px; height: 600px;
  top: -200px; right: -100px;
}
.hero-bg-circles::after {
  width: 400px; height: 400px;
  bottom: -150px; left: -80px;
}

.hero-inner {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 3rem;
  padding: 4rem 0 3rem;
  position: relative;
  z-index: 2;
}

.hero-text {
  flex: 1;
  color: #fff;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 999px;
  padding: 0.3rem 0.9rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(6px);
}

.hero-headline {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 16px rgba(0,0,0,0.2);
}

.hero-headline span {
  background: linear-gradient(90deg, #FFD77A, #fff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.1rem;
  line-height: 1.8;
  opacity: 0.92;
  margin-bottom: 2rem;
  max-width: 520px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.btn-store {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-sm);
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-store:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.25); }

.btn-store.primary {
  background: #fff;
  color: var(--dark);
}
.btn-store.secondary {
  background: rgba(255,255,255,0.15);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.5);
  backdrop-filter: blur(8px);
}
.btn-store .store-icon { font-size: 1.4rem; }
.btn-store .store-text { line-height: 1.2; }
.btn-store .store-text small { display: block; font-size: 0.7rem; font-weight: 400; opacity: 0.7; }

.hero-trust {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.75);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.hero-visual {
  flex: 0 0 320px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  position: relative;
}

.phone-mockup {
  width: 260px;
  position: relative;
  animation: float 4s ease-in-out infinite;
}

.phone-frame {
  background: var(--dark);
  border-radius: 36px;
  padding: 12px;
  box-shadow: 0 32px 80px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.1);
  position: relative;
}

.phone-frame::before {
  content: '';
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 6px;
  background: rgba(255,255,255,0.15);
  border-radius: 3px;
  z-index: 2;
}

.phone-screen {
  border-radius: 26px;
  overflow: hidden;
  aspect-ratio: 9/19;
  background: #1a1a2e;
}

.phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Hero wave divider */
.hero-wave {
  position: relative;
  z-index: 2;
  margin-top: -1px;
}
.hero-wave svg { display: block; }

/* ---------- Social Proof Strip ---------- */
#proof {
  background: var(--dark);
  padding: 3.5rem 0;
}

.proof-inner {
  text-align: center;
}

.proof-tagline {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 2.5rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.proof-stats {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
}

.proof-stat {
  flex: 1;
  min-width: 180px;
  padding: 1.5rem;
  border-right: 1px solid rgba(255,255,255,0.08);
  text-align: center;
}
.proof-stat:last-child { border-right: none; }

.proof-stat-value {
  font-size: 2.5rem;
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  background: linear-gradient(90deg, var(--primary), var(--orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 0.4rem;
}

.proof-stat-label {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  font-weight: 500;
}

/* ---------- Why Section ---------- */
#why {
  background: var(--bg);
  padding: 5rem 0;
}

.why-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.why-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition);
}
.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.why-card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}
.why-card:nth-child(1) .why-card-icon { background: var(--primary-light); color: var(--primary); }
.why-card:nth-child(2) .why-card-icon { background: var(--secondary-light); color: var(--secondary); }
.why-card:nth-child(3) .why-card-icon { background: #FDE8D8; color: #E8661E; }

.why-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
  color: var(--dark);
}
.why-card p { font-size: 0.95rem; color: #4A5568; line-height: 1.7; }

/* ---------- Features Section ---------- */
#features {
  background: linear-gradient(180deg, #fff 0%, var(--bg) 100%);
  padding: 5rem 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.feature-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 1.75rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.feature-card:hover::before { transform: scaleX(1); }

.feature-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.feature-card:nth-child(1) .feature-icon { background: var(--primary-light); color: var(--primary); }
.feature-card:nth-child(2) .feature-icon { background: var(--secondary-light); color: var(--secondary); }
.feature-card:nth-child(3) .feature-icon { background: #EDE8FD; color: #7C5CBF; }
.feature-card:nth-child(4) .feature-icon { background: #FDE8D8; color: #E8661E; }
.feature-card:nth-child(5) .feature-icon { background: #FEF3CD; color: #B7791F; }
.feature-card:nth-child(6) .feature-icon { background: var(--secondary-light); color: var(--secondary); }
.feature-card:nth-child(7) .feature-icon { background: var(--primary-light); color: var(--primary); }

.feature-card h3 { font-size: 1.05rem; margin-bottom: 0.5rem; color: var(--dark); }
.feature-card p { font-size: 0.9rem; color: #4A5568; line-height: 1.7; }

/* ---------- How It Works ---------- */
#how-it-works {
  background: var(--bg);
  padding: 5rem 0;
}

.steps-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.steps-row::before {
  content: '';
  position: absolute;
  top: 40px;
  left: calc(12.5% + 40px);
  right: calc(12.5% + 40px);
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  z-index: 0;
}

.step {
  text-align: center;
  padding: 0 1.25rem;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--orange));
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  box-shadow: 0 4px 20px rgba(232,163,30,0.3);
  position: relative;
}

.step:nth-child(even) .step-number {
  background: linear-gradient(135deg, var(--secondary), #1e7a68);
  box-shadow: 0 4px 20px rgba(42,168,145,0.3);
}

.step h3 { font-size: 1rem; margin-bottom: 0.5rem; color: var(--dark); }
.step p { font-size: 0.875rem; color: #4A5568; line-height: 1.65; }

/* ---------- Forum Highlight ---------- */
#forum {
  background: linear-gradient(135deg, var(--dark) 0%, #1a2a3a 100%);
  padding: 5rem 0;
  overflow: hidden;
  position: relative;
}

#forum::before {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(42,168,145,0.15), transparent 70%);
  top: -100px; right: -100px;
  pointer-events: none;
}

.forum-inner {
  display: flex;
  align-items: center;
  gap: 4rem;
}

.forum-text { flex: 1; color: #fff; }

.forum-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(42,168,145,0.2);
  border: 1px solid rgba(42,168,145,0.4);
  border-radius: 999px;
  padding: 0.3rem 0.9rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 1.25rem;
}

.forum-text h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  margin-bottom: 1rem;
  color: #fff;
}

.forum-text p {
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.75);
  margin-bottom: 1.75rem;
  max-width: 480px;
}

.forum-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.forum-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  backdrop-filter: blur(4px);
}
.forum-badge .ri-global-line { color: var(--secondary); }

.forum-visual {
  flex: 0 0 280px;
  position: relative;
}

.forum-phone {
  width: 240px;
  margin: 0 auto;
  position: relative;
  animation: float 4.5s ease-in-out infinite;
  animation-delay: 0.5s;
}

.forum-mock {
  background: #1C2A3A;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.08);
  padding: 0;
}

.forum-mock-header {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  padding: 1.5rem 1rem 1rem;
  text-align: center;
}
.forum-mock-header h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 0.15rem;
}
.forum-mock-header p {
  color: rgba(255,255,255,0.75);
  font-size: 0.7rem;
}

.forum-mock-tabs {
  display: flex;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.forum-tab {
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
}
.forum-tab.active {
  background: var(--primary);
  color: #fff;
}

.forum-mock-post {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.forum-post-meta {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.4rem;
}
.forum-avatar {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  color: #fff;
  font-weight: 700;
}
.forum-post-user { font-size: 0.65rem; font-weight: 700; color: rgba(255,255,255,0.8); }
.forum-post-date { font-size: 0.6rem; color: rgba(255,255,255,0.35); margin-left: auto; }
.forum-post-title { font-size: 0.72rem; font-weight: 700; color: #fff; margin-bottom: 0.25rem; }
.forum-post-body { font-size: 0.65rem; color: rgba(255,255,255,0.55); line-height: 1.4; }
.forum-post-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.5rem;
  align-items: center;
}
.forum-action {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  font-size: 0.6rem;
  color: rgba(255,255,255,0.4);
}
.forum-region-tag {
  margin-left: auto;
  font-size: 0.6rem;
  color: var(--orange);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.forum-mock-fab {
  display: flex;
  justify-content: flex-end;
  padding: 0.75rem 1rem;
}
.fab-btn {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1rem;
  box-shadow: 0 4px 12px rgba(245,166,35,0.4);
}

/* ---------- For Whom ---------- */
#for-whom {
  background: var(--bg);
  padding: 5rem 0;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 860px;
  margin: 0 auto;
}

.audience-card {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  background: var(--card);
  border-radius: var(--radius);
  padding: 1.75rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: transform var(--transition);
}
.audience-card:hover { transform: translateY(-3px); }

.audience-icon {
  width: 52px; height: 52px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}
.audience-card:nth-child(1) .audience-icon { background: var(--primary-light); color: var(--primary); }
.audience-card:nth-child(2) .audience-icon { background: var(--secondary-light); color: var(--secondary); }
.audience-card:nth-child(3) .audience-icon { background: #FDE8D8; color: #E8661E; }
.audience-card:nth-child(4) .audience-icon { background: #EDE8FD; color: #7C5CBF; }

.audience-card h3 { font-size: 1.05rem; margin-bottom: 0.4rem; color: var(--dark); }
.audience-card p { font-size: 0.9rem; color: #4A5568; line-height: 1.65; }

/* ---------- Trust ---------- */
#trust {
  background: #fff;
  padding: 5rem 0;
}

.trust-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.trust-inner h2 { margin-bottom: 1.25rem; }
.trust-inner p {
  font-size: 1rem;
  color: #4A5568;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}
.trust-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.trust-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--secondary);
  display: flex;
  align-items: center;
  gap: 0.3rem;
  text-decoration: underline;
  text-decoration-color: transparent;
  transition: text-decoration-color var(--transition);
}
.trust-link:hover { text-decoration-color: var(--secondary); }

/* ---------- Download CTA ---------- */
#download {
  background: linear-gradient(135deg, var(--primary) 0%, #C97B10 30%, #1e7a68 70%, var(--secondary) 100%);
  padding: 5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

#download::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.download-inner {
  position: relative;
  z-index: 1;
  color: #fff;
}

.download-pandeiro {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  animation: pandeiro-spin 8s linear infinite;
  opacity: 0.9;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.3));
}

.download-inner h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 0.75rem;
  color: #fff;
}

.download-inner p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 2rem;
}

.download-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.download-fine {
  font-size: 0.78rem;
  opacity: 0.65;
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ---------- FAQ ---------- */
#faq {
  background: var(--bg);
  padding: 5rem 0;
}

.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: var(--card);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  overflow: hidden;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: var(--dark);
  transition: background var(--transition);
  user-select: none;
  gap: 1rem;
}
.faq-question:hover { background: var(--bg); }

.faq-chevron {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--primary);
  transition: transform 0.3s ease, background 0.2s;
}
.faq-item.open .faq-chevron {
  transform: rotate(180deg);
  background: var(--primary-light);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0,1,0,1), padding 0.3s;
  padding: 0 1.5rem;
}
.faq-item.open .faq-answer {
  max-height: 400px;
  transition: max-height 0.4s cubic-bezier(0.5,0,1,0);
  padding-bottom: 1.25rem;
}
.faq-answer p {
  font-size: 0.95rem;
  color: #4A5568;
  line-height: 1.75;
}

/* ---------- Footer ---------- */
footer {
  background: var(--dark);
  color: rgba(255,255,255,0.7);
  padding: 3.5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-brand .nav-logo { margin-bottom: 0.75rem; }
.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.7;
  max-width: 240px;
  color: rgba(255,255,255,0.55);
}

.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
}
.social-btn {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: rgba(255,255,255,0.6);
  transition: all 0.2s;
}
.social-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.footer-col h4 {
  font-family: 'Poppins', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer-links a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--primary); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.footer-copyright {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.35);
}
.footer-bottom-links {
  display: flex;
  gap: 1.25rem;
}
.footer-bottom-links a {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.35);
  transition: color 0.2s;
}
.footer-bottom-links a:hover { color: var(--primary); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .forum-inner { gap: 2.5rem; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .btn-nav { display: none; }
  .hamburger { display: flex; }

  .hero-inner {
    flex-direction: column;
    text-align: center;
    padding: 3rem 0 2rem;
  }
  .hero-buttons { justify-content: center; }
  .hero-trust { justify-content: center; }
  .hero-visual { display: none; }

  .why-cards { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }

  .steps-row {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .steps-row::before { display: none; }

  .forum-inner {
    flex-direction: column;
    text-align: center;
    gap: 2.5rem;
  }
  .forum-text p { margin-left: auto; margin-right: auto; }
  .forum-badges { justify-content: center; }

  .audience-grid { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr 1fr; }

  .proof-stats { flex-direction: column; }
  .proof-stat { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .proof-stat:last-child { border-bottom: none; }
}

@media (max-width: 480px) {
  .steps-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-bottom-links { justify-content: center; }

  .section-title { font-size: 1.6rem; }
  .hero-headline { font-size: 2rem; }
}

/* ---------- Scrollbar (hide on iOS-style panels) ---------- */
.scrollbar-hide::-webkit-scrollbar { display: none; }
.scrollbar-hide { -ms-overflow-style: none; scrollbar-width: none; }

/* ============================================
   BETA PAGE (beta.html)
   ============================================ */

/* Hero */
#beta-hero {
  padding-top: 68px;
  background: linear-gradient(135deg, var(--dark) 0%, #1a2a3a 60%, #162a24 100%);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.beta-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.beta-hero-bg::before,
.beta-hero-bg::after {
  content: '';
  position: absolute;
  border-radius: 50%;
}
.beta-hero-bg::before {
  width: 700px; height: 700px;
  top: -250px; left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(232,163,30,0.12), transparent 65%);
}
.beta-hero-bg::after {
  width: 500px; height: 500px;
  bottom: -200px; right: -100px;
  background: radial-gradient(circle, rgba(42,168,145,0.10), transparent 65%);
}

.beta-hero-inner {
  position: relative;
  z-index: 2;
  padding: 5rem 0 3rem;
  color: #fff;
  max-width: 720px;
  margin: 0 auto;
}

.beta-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(232,163,30,0.18);
  border: 1px solid rgba(232,163,30,0.4);
  border-radius: 999px;
  padding: 0.35rem 1rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.beta-hero-headline {
  font-size: clamp(2.4rem, 5.5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.beta-headline-gradient {
  background: linear-gradient(90deg, var(--primary), #FFD77A);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.beta-hero-sub {
  font-size: 1.1rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.8);
  max-width: 560px;
  margin: 0 auto 2.5rem;
}

/* Stats row */
.beta-hero-stats {
  display: inline-flex;
  align-items: center;
  gap: 0;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 1.25rem 2rem;
  margin-bottom: 2.25rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  flex-wrap: wrap;
  justify-content: center;
}

.beta-stat {
  text-align: center;
  padding: 0 1.75rem;
}

.beta-stat-value {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  margin-bottom: 0.3rem;
}

.beta-stat-value.beta-stat-accent {
  background: linear-gradient(90deg, var(--primary), var(--orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.beta-stat-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.beta-stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.12);
  flex-shrink: 0;
}

/* CTA button */
.beta-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 2.25rem;
  background: linear-gradient(135deg, var(--primary), var(--orange));
  color: #fff;
  border-radius: 999px;
  font-family: 'Poppins', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  box-shadow: 0 8px 32px rgba(232,163,30,0.35);
  transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
}
.beta-cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(232,163,30,0.45);
}
.beta-cta-btn i { font-size: 1.2rem; }

.beta-hero-wave {
  position: relative;
  z-index: 2;
  margin-top: -1px;
}
.beta-hero-wave svg { display: block; }

/* ---------- Perks Section ---------- */
#beta-perks {
  background: var(--bg);
  padding: 5rem 0;
}

.beta-perks-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.beta-perk-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}
.beta-perk-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.beta-perk-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.beta-perk-card:hover::after { transform: scaleX(1); }

.beta-perk-icon {
  width: 56px; height: 56px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin: 0 auto 1.25rem;
  background: var(--primary-light);
  color: var(--primary);
}
.beta-perk-icon--teal   { background: var(--secondary-light); color: var(--secondary); }
.beta-perk-icon--orange { background: #FDE8D8; color: #E8661E; }
.beta-perk-icon--purple { background: #EDE8FD; color: #7C5CBF; }

.beta-perk-card h3 {
  font-size: 1rem;
  margin-bottom: 0.6rem;
  color: var(--dark);
}
.beta-perk-card p {
  font-size: 0.875rem;
  color: #4A5568;
  line-height: 1.7;
}

/* ---------- Form Section ---------- */
#beta-form {
  background: linear-gradient(180deg, var(--bg) 0%, #fff 100%);
  padding: 5rem 0;
}

.beta-form-wrapper {
  max-width: 780px;
  margin: 0 auto;
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.beta-form-header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 2rem 2.5rem;
  background: linear-gradient(135deg, var(--dark), #1a2a3a);
  color: #fff;
}

.beta-form-header-icon {
  flex-shrink: 0;
  width: 56px; height: 56px;
  border-radius: var(--radius-sm);
  background: rgba(232,163,30,0.2);
  border: 1px solid rgba(232,163,30,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: var(--primary);
}

.beta-form-header h2 {
  font-size: 1.4rem;
  color: #fff;
  margin-bottom: 0.25rem;
}
.beta-form-header p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  margin: 0;
}

/* Form body */
.beta-form {
  padding: 2.25rem 2.5rem;
}

.beta-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.beta-field {
  margin-bottom: 1.25rem;
}
.beta-field:last-of-type { margin-bottom: 0; }

.beta-field label,
.beta-radio-group legend {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 0.45rem;
}
.beta-field label small,
.beta-radio-group legend small {
  font-weight: 400;
  color: var(--muted);
}

.beta-required { color: var(--accent); margin-left: 2px; }

.beta-field input[type="text"],
.beta-field input[type="email"],
.beta-field textarea,
.beta-field select {
  width: 100%;
  padding: 0.7rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: var(--dark);
  background: var(--bg);
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none;
  -webkit-appearance: none;
}

.beta-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2394A3B8' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.beta-field input:focus,
.beta-field textarea:focus,
.beta-field select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(232,163,30,0.15);
}

.beta-field textarea { resize: vertical; min-height: 90px; }

.beta-input-error {
  border-color: var(--accent) !important;
  box-shadow: 0 0 0 3px rgba(226,75,93,0.12) !important;
}

.beta-field-error {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.8rem;
  color: var(--accent);
  min-height: 1rem;
}

/* Radio cards */
.beta-radio-group {
  border: none;
  padding: 0;
  margin-bottom: 1.25rem;
}

.beta-radio-row {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.beta-radio-row--wrap { flex-wrap: wrap; }

.beta-radio-card {
  cursor: pointer;
  flex: 1;
  min-width: 80px;
}
.beta-radio-card--wide { min-width: 140px; }

.beta-radio-card input { position: absolute; opacity: 0; width: 0; height: 0; }

.beta-radio-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  padding: 0.9rem 0.75rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg);
  font-size: 0.82rem;
  font-weight: 600;
  color: #4A5568;
  transition: all 0.2s;
  text-align: center;
}
.beta-radio-visual i { font-size: 1.3rem; color: var(--muted); transition: color 0.2s; }

.beta-radio-card:hover .beta-radio-visual {
  border-color: var(--primary);
  background: var(--primary-light);
}
.beta-radio-card:hover .beta-radio-visual i { color: var(--primary); }

.beta-radio-card--selected .beta-radio-visual {
  border-color: var(--primary);
  background: var(--primary-light);
  color: var(--dark);
  box-shadow: 0 0 0 3px rgba(232,163,30,0.18);
}
.beta-radio-card--selected .beta-radio-visual i { color: var(--primary); }

/* Checkbox */
.beta-field--checkbox {
  margin-top: 0.25rem;
}
.beta-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.875rem;
  color: #4A5568;
  cursor: pointer;
  line-height: 1.6;
}
.beta-checkbox input[type="checkbox"] {
  margin-top: 0.2rem;
  accent-color: var(--primary);
  width: 16px; height: 16px;
  flex-shrink: 0;
}
.beta-checkbox a { color: var(--secondary); text-decoration: underline; }

/* Form actions */
.beta-form-actions {
  margin-top: 2rem;
  text-align: center;
}

.beta-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2.5rem;
  background: linear-gradient(135deg, var(--primary), var(--orange));
  color: #fff;
  border: none;
  border-radius: 999px;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 6px 24px rgba(232,163,30,0.35);
  transition: opacity 0.2s, transform 0.15s;
  min-width: 220px;
}
.beta-submit:hover:not(:disabled) { opacity: 0.92; transform: translateY(-2px); }
.beta-submit:disabled { opacity: 0.6; cursor: not-allowed; }
.beta-submit-spinner i { display: inline-block; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.beta-form-fine {
  margin-top: 0.9rem;
  font-size: 0.8rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}
.beta-form-fine i { color: var(--secondary); }

/* Result messages */
.beta-result[hidden] { display: none !important; }
.beta-result {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-sm);
  margin-top: 1.75rem;
  font-size: 0.9rem;
  line-height: 1.6;
}
.beta-result i { font-size: 1.5rem; flex-shrink: 0; margin-top: 0.1rem; }
.beta-result strong { display: block; font-family: 'Poppins', sans-serif; margin-bottom: 0.25rem; font-size: 1rem; }
.beta-result p { margin: 0; color: inherit; opacity: 0.85; }
.beta-result--success { background: #D1FAE5; color: #065F46; }
.beta-result--error   { background: #FEE2E2; color: #991B1B; }
.beta-result--error a { color: inherit; text-decoration: underline; }

/* ---------- What Happens Next ---------- */
#beta-next {
  background: var(--dark);
  padding: 5rem 0;
}

#beta-next .section-title { color: #fff; }

.beta-next-steps {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

.beta-next-steps::before {
  content: '';
  position: absolute;
  left: 24px;
  top: 48px;
  bottom: 48px;
  width: 2px;
  background: linear-gradient(180deg, var(--primary), var(--secondary));
  z-index: 0;
}

.beta-next-step {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 1.75rem 0;
  position: relative;
  z-index: 1;
}

.beta-next-num {
  flex-shrink: 0;
  width: 50px; height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--orange));
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(232,163,30,0.35);
}
.beta-next-num--teal {
  background: linear-gradient(135deg, var(--secondary), #1e7a68);
  box-shadow: 0 4px 16px rgba(42,168,145,0.35);
}

.beta-next-step h3 {
  font-size: 1.05rem;
  color: #fff;
  margin-bottom: 0.35rem;
  padding-top: 0.6rem;
}
.beta-next-step p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
}

/* ---------- Beta footer link ---------- */
.beta-footer-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: var(--primary) !important;
  font-weight: 600;
}
.beta-footer-link i { font-size: 0.9rem; }

/* ---------- Beta nav pill in index.html ---------- */
.nav-beta-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 700;
  border: 1px solid rgba(232,163,30,0.3);
  transition: background var(--transition);
}
.nav-beta-pill:hover { background: var(--primary); color: #fff !important; }
.nav-beta-pill i { font-size: 0.85rem; }

/* ---------- Beta responsive ---------- */
@media (max-width: 1024px) {
  .beta-perks-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .beta-form { padding: 1.75rem 1.25rem; }
  .beta-form-header { padding: 1.5rem 1.25rem; }
  .beta-form-row { grid-template-columns: 1fr; gap: 0; }
  .beta-perks-grid { grid-template-columns: 1fr; }
  .beta-hero-stats { padding: 1rem 1.25rem; gap: 0; }
  .beta-stat { padding: 0.5rem 1rem; }
  .beta-stat-divider { width: 1px; height: 30px; }
  .beta-radio-row--wrap .beta-radio-card--wide { min-width: 120px; }
  .beta-next-steps::before { display: none; }
}

@media (max-width: 480px) {
  .beta-hero-stats { flex-direction: column; gap: 0.5rem; }
  .beta-stat-divider { display: none; }
  .beta-radio-row { flex-wrap: wrap; }
  .beta-form-header { flex-direction: column; text-align: center; }
}

/* ---------- Focus ring ---------- */
:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

/* ============================================
   LEGAL PAGES (privacy.html / terms.html)
   ============================================ */

.legal-page {
  min-height: calc(100vh - 68px);
  padding: 2.5rem 0 5rem;
  background: var(--bg);
}

/* Breadcrumb */
.legal-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 2rem;
}
.legal-breadcrumb a {
  color: var(--primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.legal-breadcrumb a:hover { text-decoration: underline; }
.breadcrumb-sep { color: var(--muted); }
.legal-breadcrumb span:last-child { color: var(--dark); }

/* Tab bar */
.legal-tabs {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  border-bottom: 2px solid var(--border);
  padding-bottom: 0;
}

.legal-tab {
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  padding: 0.7rem 1.2rem;
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.legal-tab:hover { color: var(--dark); }
.legal-tab.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

/* Panels */
.legal-panel { display: none; }
.legal-panel.active { display: block; }

/* Document header */
.legal-header {
  padding: 2rem 2.5rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  border-radius: var(--radius);
  margin-bottom: 2rem;
  color: #fff;
}
.legal-title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}
.legal-updated {
  font-size: 0.85rem;
  opacity: 0.85;
}

/* Section */
.legal-section {
  background: var(--card);
  border-radius: var(--radius);
  padding: 1.75rem 2rem;
  margin-bottom: 1rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.legal-section-title {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 0.75rem;
}
.legal-section-body p {
  font-size: 0.93rem;
  color: #475569;
  line-height: 1.7;
  margin-bottom: 0.6rem;
}
.legal-section-body p:last-child { margin-bottom: 0; }
.legal-list {
  list-style: none;
  padding: 0;
  margin: 0.4rem 0 0;
}
.legal-list li {
  font-size: 0.93rem;
  color: #475569;
  line-height: 1.7;
  padding: 0.2rem 0 0.2rem 1.2rem;
  position: relative;
}
.legal-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: 0.65rem;
}

/* Loading placeholder */
.legal-loading {
  text-align: center;
  padding: 3rem;
  color: var(--muted);
  font-size: 1.5rem;
}
@keyframes spin { to { transform: rotate(360deg); } }
.legal-loading i { display: inline-block; animation: spin 0.8s linear infinite; }

/* Missing content */
.legal-missing { color: var(--muted); font-style: italic; padding: 2rem; text-align: center; }

@media (max-width: 768px) {
  .legal-header { padding: 1.5rem; }
  .legal-title { font-size: 1.4rem; }
  .legal-section { padding: 1.25rem 1rem; }
  .legal-tab { padding: 0.6rem 0.9rem; font-size: 0.82rem; }
}

/* ============================================
   DELETE MY DATA PAGE (deletemydata.html)
   ============================================ */

.dmd-page { padding-top: 2.5rem; }

/* Hero */
.dmd-hero {
  text-align: center;
  padding: 2rem 1rem 2.5rem;
}
.dmd-hero-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--accent), #c0392b);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-size: 1.75rem;
  color: #fff;
}
.dmd-title {
  font-family: 'Poppins', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 0.5rem;
}
.dmd-subtitle {
  font-size: 1rem;
  color: var(--muted);
  margin-bottom: 1rem;
}
.dmd-intro {
  font-size: 0.95rem;
  color: #475569;
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Info grid */
.dmd-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}
.dmd-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}
.dmd-card--delete { border-top: 3px solid var(--accent); }
.dmd-card--keep   { border-top: 3px solid var(--secondary); }
.dmd-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 1rem;
}
.dmd-card--delete .dmd-card-icon { background: #FEE2E2; color: var(--accent); }
.dmd-card--keep   .dmd-card-icon { background: var(--secondary-light); color: var(--secondary); }
.dmd-card-title {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.75rem;
}
.dmd-card-body p,
.dmd-card-body li {
  font-size: 0.88rem;
  color: #475569;
  line-height: 1.65;
}
.dmd-card-body .legal-list { margin-top: 0.25rem; }
.dmd-card-body .legal-list li::before { top: 0.55rem; }

/* Steps */
.dmd-steps-section {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 2.25rem;
  margin-bottom: 2.5rem;
  box-shadow: var(--shadow);
}
.dmd-section-title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1.25rem;
}
.dmd-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.dmd-step {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.dmd-step-num {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
}
.dmd-step-text {
  font-size: 0.93rem;
  color: #475569;
  line-height: 1.65;
  padding-top: 0.35rem;
}

/* Form section */
.dmd-form-section {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 2.25rem;
  margin-bottom: 3rem;
  box-shadow: var(--shadow);
}
.dmd-field {
  margin-bottom: 1.25rem;
}
.dmd-field label,
.dmd-radio-group legend {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 0.4rem;
}
.dmd-field input[type="email"],
.dmd-field input[type="text"],
.dmd-field textarea {
  width: 100%;
  padding: 0.65rem 0.9rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: var(--dark);
  background: var(--bg);
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}
.dmd-field input:focus,
.dmd-field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(232,163,30,0.15);
}
.dmd-field textarea { resize: vertical; min-height: 80px; }

/* Radio group */
.dmd-radio-group {
  border: none;
  padding: 0;
  margin: 0;
}
.dmd-radio {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: #475569;
  cursor: pointer;
}
.dmd-radio input[type="radio"] {
  margin-top: 0.2rem;
  accent-color: var(--primary);
}

/* Checkbox */
.dmd-field--checkbox .dmd-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: #475569;
  cursor: pointer;
  line-height: 1.5;
}
.dmd-field--checkbox input[type="checkbox"] {
  margin-top: 0.2rem;
  accent-color: var(--accent);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* Field error */
.dmd-field-error {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.8rem;
  color: var(--accent);
}

/* Submit button */
.dmd-submit {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
  padding: 0.8rem 2rem;
  background: linear-gradient(135deg, var(--accent) 0%, #c0392b 100%);
  color: #fff;
  border: none;
  border-radius: 999px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s;
}
.dmd-submit:hover:not(:disabled) { opacity: 0.9; transform: translateY(-1px); }
.dmd-submit:disabled { opacity: 0.65; cursor: not-allowed; }
.dmd-submit-spinner i { display: inline-block; animation: spin 0.8s linear infinite; }

/* Rate limit notice */
.dmd-rate-notice {
  margin-top: 0.75rem;
  padding: 0.75rem 1rem;
  background: #FEF3C7;
  border: 1px solid #FCD34D;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: #92400E;
  line-height: 1.5;
}

/* Result messages */
.dmd-result[hidden] { display: none !important; }
.dmd-result {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-sm);
  margin-top: 1.5rem;
  font-size: 0.9rem;
  line-height: 1.6;
}
.dmd-result i { font-size: 1.5rem; flex-shrink: 0; margin-top: 0.1rem; }
.dmd-result strong { display: block; font-family: 'Poppins', sans-serif; margin-bottom: 0.25rem; }
.dmd-result p { margin: 0; color: inherit; opacity: 0.85; }
.dmd-result--success { background: #D1FAE5; color: #065F46; }
.dmd-result--error   { background: #FEE2E2; color: #991B1B; }

@media (max-width: 768px) {
  .dmd-info-grid { grid-template-columns: 1fr; }
  .dmd-form-section,
  .dmd-steps-section { padding: 1.5rem 1rem; }
  .dmd-title { font-size: 1.6rem; }
}
