:root {
  /* Brand Palette derived from the "b" logo */
  --primary-mint: #2BD9C6;
  --primary-mint-hover: #22c4b2;
  --primary-mint-dark: #129d8e;
  --primary-mint-light: #e6faf7;
  --primary-mint-glow: rgba(43, 217, 198, 0.28);

  --accent-lilac: #C084FC;
  --accent-lilac-dark: #9333EA;
  --accent-lilac-light: #F5EEFD;
  --accent-lilac-glow: rgba(192, 132, 252, 0.25);

  /* Backgrounds & Canvas (Light, Fresh, Classy) */
  --bg-page: #F8FAF9;
  --bg-surface: #FFFFFF;
  --bg-surface-elevated: #FFFFFF;
  --bg-glass: rgba(255, 255, 255, 0.85);

  /* Borders & Dividers */
  --border-subtle: #E2E8F0;
  --border-mint: rgba(43, 217, 198, 0.35);
  --border-lilac: rgba(192, 132, 252, 0.35);

  /* Text & Typography */
  --text-primary: #0F172A;
  --text-secondary: #475569;
  --text-muted: #64748B;
  --text-light: #94A3B8;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 8px 24px -4px rgba(15, 23, 42, 0.06), 0 4px 12px -2px rgba(15, 23, 42, 0.03);
  --shadow-lg: 0 20px 40px -8px rgba(15, 23, 42, 0.08), 0 8px 16px -4px rgba(15, 23, 42, 0.04);
  --shadow-mint: 0 12px 28px -6px rgba(43, 217, 198, 0.35);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 9999px;
}

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

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

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--bg-page);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

/* Ambient Backdrops */
.ambient-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  z-index: -1;
  opacity: 0.45;
}

.glow-mint {
  top: -150px;
  right: -100px;
  background: radial-gradient(circle, var(--primary-mint) 0%, transparent 70%);
}

.glow-lilac {
  top: 400px;
  left: -200px;
  background: radial-gradient(circle, var(--accent-lilac) 0%, transparent 70%);
}

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

/* Navigation */
.navbar {
  position: sticky;
  top: 0;
  background: rgba(248, 250, 249, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  z-index: 1000;
  padding: 16px 0;
  transition: all 0.3s ease;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-primary);
}

.brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-subtle);
}

.brand-name {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text-primary);
}

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-item {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 15px;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-item:hover {
  color: var(--primary-mint-dark);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: var(--radius-md);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-mint) 0%, #15B3A1 100%);
  color: #073B35;
  box-shadow: var(--shadow-mint);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px -4px rgba(43, 217, 198, 0.45);
}

.btn-secondary {
  background: var(--bg-surface);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: #F1F5F9;
  border-color: #CBD5E1;
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--primary-mint-dark);
  border: 1.5px solid var(--primary-mint);
}

.btn-outline:hover {
  background: var(--primary-mint-light);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 14px;
}

.btn-lg {
  padding: 14px 26px;
  font-size: 15px;
}

.btn-block {
  width: 100%;
  padding: 12px;
}

.btn-icon {
  width: 22px;
  height: 22px;
}

.btn-subtext {
  display: block;
  font-size: 10px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-weight: 700;
  opacity: 0.85;
  line-height: 1;
}

.btn-maintext {
  display: block;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
}

/* Hero Section */
.hero-section {
  padding: 70px 0 90px 0;
  position: relative;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 56px;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--primary-mint-light);
  border: 1px solid var(--border-mint);
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 700;
  color: var(--primary-mint-dark);
  margin-bottom: 24px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--primary-mint-dark);
  box-shadow: 0 0 0 0 rgba(43, 217, 198, 0.7);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(43, 217, 198, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(43, 217, 198, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(43, 217, 198, 0); }
}

.hero-title {
  font-size: 58px;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -1.5px;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.gradient-text {
  background: linear-gradient(135deg, #0F9683 0%, var(--primary-mint) 50%, var(--accent-lilac) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 36px;
  max-width: 540px;
}

.hero-cta-group {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text-primary);
}

.stat-label {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  height: 36px;
  background-color: var(--border-subtle);
}

/* Hero Visual Showcase */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.visual-card-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: visible;
  box-shadow: var(--shadow-lg);
}

.hero-img {
  width: 100%;
  max-width: 440px;
  border-radius: var(--radius-lg);
  display: block;
  object-fit: cover;
  border: 1px solid var(--border-subtle);
}

.floating-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow-md);
  z-index: 10;
  animation: float 6s ease-in-out infinite alternate;
}

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

.badge-top {
  top: 24px;
  left: -28px;
}

.badge-bottom {
  bottom: 30px;
  right: -24px;
  animation-delay: -3s;
}

.badge-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.badge-icon.mint {
  background: var(--primary-mint-light);
  color: var(--primary-mint-dark);
}

.badge-icon.lilac {
  background: var(--accent-lilac-light);
  color: var(--accent-lilac-dark);
}

.floating-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
}

.floating-subtitle {
  font-size: 11px;
  color: var(--text-muted);
}

/* Download Section */
.download-section {
  padding: 40px 24px 80px 24px;
  width: 100%;
}

.download-card {
  max-width: 1200px;
  margin: 0 auto;
  background: linear-gradient(135deg, #FFFFFF 0%, #F5FBF9 50%, #FAF5FF 100%);
  border: 1px solid var(--border-mint);
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  box-shadow: var(--shadow-md);
}

.download-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  align-items: center;
  gap: 48px;
}

.sub-heading {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--primary-mint-dark);
  display: block;
  margin-bottom: 12px;
}

.section-title {
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.section-desc {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 28px;
}

.download-buttons-inline {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.store-badge {
  display: inline-block;
  height: 50px;
  position: relative;
  transition: transform 0.2s ease;
}

.store-badge img {
  height: 100%;
  width: auto;
  border-radius: 8px;
}

.store-badge:hover {
  transform: translateY(-2px);
}

.disabled-store {
  opacity: 0.65;
  cursor: not-allowed;
}

.coming-soon-pill {
  position: absolute;
  top: -8px;
  right: -8px;
  background: var(--accent-lilac);
  color: #FFFFFF;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
}

.direct-apk-note {
  font-size: 14px;
  color: var(--text-muted);
}

.link-mint {
  color: var(--primary-mint-dark);
  font-weight: 700;
  text-decoration: none;
  margin-left: 6px;
}

.link-mint:hover {
  text-decoration: underline;
}

.download-qr-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: var(--shadow-sm);
}

.qr-container {
  position: relative;
  width: 220px;
  height: 220px;
  background: #FFFFFF;
  border-radius: var(--radius-sm);
  padding: 12px;
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
}

.qr-image {
  width: 100%;
  height: 100%;
}

.qr-center-logo {
  position: absolute;
  width: 44px;
  height: 44px;
  background: #FFFFFF;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  border: 2px solid #FFFFFF;
}

.qr-center-logo img {
  width: 100%;
  height: 100%;
  border-radius: 6px;
  object-fit: cover;
}

.qr-caption {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-top: 18px;
}

/* Features Bento Grid */
.features-section {
  padding: 80px 0;
}

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

.max-600 {
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

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

.bento-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.bento-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-mint);
}

.bento-wide {
  grid-column: span 2;
}

.bento-icon-wrapper {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.bento-icon-wrapper.mint {
  background: var(--primary-mint-light);
  color: var(--primary-mint-dark);
}

.bento-icon-wrapper.lilac {
  background: var(--accent-lilac-light);
  color: var(--accent-lilac-dark);
}

.bento-card h3 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.bento-card p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.code-preview-pill {
  margin-top: 20px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  background: #F1F5F9;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
}

.code-pill {
  font-family: monospace;
  font-weight: 700;
  font-size: 13px;
  color: #0F172A;
  background: #FFFFFF;
  padding: 4px 8px;
  border-radius: 4px;
  border: 1px solid #CBD5E1;
}

.code-status {
  font-size: 12px;
  font-weight: 700;
  color: #0D9488;
}

/* Lifestyle Image Section */
.lifestyle-section {
  padding: 60px 0;
}

.lifestyle-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 56px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.lifestyle-img-container {
  height: 100%;
  min-height: 440px;
}

.lifestyle-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.lifestyle-content {
  padding: 48px 48px 48px 0;
}

.lifestyle-title {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.8px;
  line-height: 1.25;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.lifestyle-desc {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
}

.lifestyle-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.lifestyle-bullets li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--text-secondary);
}

.check-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--primary-mint-light);
  color: var(--primary-mint-dark);
  font-size: 12px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Rates Grid */
.pricing-section {
  padding: 80px 0;
}

.rates-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.rate-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: all 0.25s ease;
}

.rate-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-mint);
}

.featured-rate {
  border-color: var(--primary-mint);
  box-shadow: var(--shadow-mint);
  background: linear-gradient(180deg, #FFFFFF 0%, #F5FBF9 100%);
}

.badge-featured {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-mint-dark);
  color: #FFFFFF;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
}

.rate-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.country-flag {
  font-size: 32px;
}

.country-name {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
}

.country-tier {
  font-size: 12px;
  color: var(--text-muted);
}

.rate-price {
  display: flex;
  align-items: baseline;
  gap: 2px;
  margin-bottom: 24px;
}

.rate-price .currency {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
}

.rate-price .amount {
  font-size: 36px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -1px;
}

.rate-price .period {
  font-size: 13px;
  color: var(--text-muted);
  margin-left: 6px;
}

.rate-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
  flex-grow: 1;
}

.rate-features li {
  font-size: 13px;
  color: var(--text-secondary);
}

.rate-features code {
  background: #F1F5F9;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  color: #0F172A;
}

/* Steps Section */
.steps-section {
  padding: 80px 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  margin-top: 48px;
}

.step-card {
  padding: 24px;
}

.step-num {
  font-size: 40px;
  font-weight: 800;
  color: var(--primary-mint);
  margin-bottom: 12px;
  letter-spacing: -1px;
}

.step-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.step-desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Footer */
.footer {
  padding: 70px 0 32px 0;
  background: #FFFFFF;
}

.footer-container {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}

.footer-tagline {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 16px;
  max-width: 280px;
  line-height: 1.6;
}

.footer-company {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 8px;
}

.footer-links-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links-group h4 {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.footer-links-group a {
  text-decoration: none;
  font-size: 14px;
  color: var(--text-secondary);
  transition: color 0.2s ease;
}

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

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
  font-size: 13px;
  color: var(--text-muted);
}

.footer-legal {
  display: flex;
  gap: 20px;
}

.footer-legal a {
  color: var(--text-muted);
  text-decoration: none;
}

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

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-cta-group {
    justify-content: center;
  }
  .hero-stats {
    justify-content: center;
  }
  .lifestyle-card {
    grid-template-columns: 1fr;
  }
  .lifestyle-content {
    padding: 36px;
  }
  .rates-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-container {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .hero-title {
    font-size: 40px;
  }
  .bento-grid {
    grid-template-columns: 1fr;
  }
  .bento-wide {
    grid-column: span 1;
  }

  /* Download Section - Container removed & unconstrained on mobile */
  .download-section {
    padding: 24px 16px 48px 16px;
    width: 100%;
    overflow-x: hidden;
  }
  .download-card {
    border: none;
    box-shadow: none;
    border-radius: 0;
    padding: 0;
    margin: 0;
    background: transparent;
    width: 100%;
    max-width: 100%;
  }
  .download-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 28px;
    width: 100%;
  }
  .download-text {
    width: 100%;
    max-width: 100%;
  }
  .download-text .section-title {
    font-size: 32px;
    line-height: 1.25;
    word-break: break-word;
  }
  .download-text .section-desc {
    font-size: 15px;
    margin-bottom: 24px;
    padding: 0 4px;
  }
  .download-buttons-inline {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 20px;
  }
  .store-badge img {
    height: 48px;
    width: auto;
  }
  .qr-container {
    width: 200px;
    height: 200px;
    margin: 0 auto;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }
  .rates-grid {
    grid-template-columns: 1fr;
  }
  .footer-container {
    grid-template-columns: 1fr;
  }
  .floating-badge {
    display: none;
  }

  /* Legal pages mobile layout */
  .legal-container {
    padding: 0 16px;
  }
  .legal-card {
    padding: 28px 18px;
    border-radius: var(--radius-md);
  }
  .legal-title {
    font-size: 30px;
  }
  .legal-meta-bar {
    flex-direction: column;
    gap: 8px;
    padding: 12px 14px;
  }

  /* Cookie banner on mobile */
  .cookie-banner {
    bottom: 12px;
    left: 12px;
    right: 12px;
    width: auto;
    max-width: none;
    padding: 16px;
  }
  .cookie-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .cookie-btn-primary,
  .cookie-btn-secondary {
    text-align: center;
    width: 100%;
  }
}

/* =========================================================================
   Legal Pages (Terms of Service & Privacy Policy)
   ========================================================================= */
.legal-page-section {
  padding: 48px 0 96px 0;
  min-height: calc(100vh - 200px);
}

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

.legal-back-nav {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  margin-bottom: 28px;
  transition: color 0.2s ease;
}

.legal-back-nav:hover {
  color: var(--primary-mint-dark);
}

.legal-header {
  margin-bottom: 36px;
}

.legal-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: var(--primary-mint-light);
  border: 1px solid var(--border-mint);
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--primary-mint-dark);
  margin-bottom: 16px;
}

.legal-title {
  font-size: 42px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -1px;
  line-height: 1.2;
  margin-bottom: 16px;
}

.legal-meta-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding: 14px 20px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  font-size: 14px;
  color: var(--text-secondary);
}

.legal-meta-item strong {
  color: var(--text-primary);
}

.legal-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 56px 64px;
  box-shadow: var(--shadow-md);
}

.legal-content h2,
.legal-content h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.5px;
  margin-top: 36px;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-subtle);
}

.legal-content h2:first-of-type,
.legal-content h3:first-of-type {
  margin-top: 0;
}

.legal-content p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: 18px;
}

.legal-content ul,
.legal-content ol {
  margin-left: 24px;
  margin-bottom: 20px;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.7;
}

.legal-content li {
  margin-bottom: 8px;
}

.legal-content strong {
  color: var(--text-primary);
}

.legal-content hr {
  border: none;
  height: 1px;
  background: var(--border-subtle);
  margin: 32px 0;
}

.legal-content a {
  color: var(--primary-mint-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
}

.legal-content a:hover {
  color: var(--primary-mint-hover);
}

.legal-table-wrapper {
  overflow-x: auto;
  margin: 24px 0;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background: var(--bg-surface);
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  text-align: left;
}

.legal-table th {
  background: var(--bg-page);
  padding: 14px 18px;
  font-weight: 700;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-subtle);
  white-space: nowrap;
}

.legal-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-secondary);
}

.legal-table tr:last-child td {
  border-bottom: none;
}

.legal-table tr:hover td {
  background: rgba(43, 217, 198, 0.04);
}

/* =========================================================================
   Cookie Consent Banner
   ========================================================================= */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  right: 24px;
  max-width: 440px;
  width: calc(100% - 48px);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-mint);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(43, 217, 198, 0.2);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
  transform: translateY(0);
  opacity: 1;
}

.cookie-banner.hidden {
  transform: translateY(140%);
  opacity: 0;
  pointer-events: none;
}

.cookie-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cookie-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.cookie-icon {
  width: 18px;
  height: 18px;
  color: var(--primary-mint-dark);
}

.cookie-close {
  background: none;
  border: none;
  font-size: 20px;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px;
  border-radius: 6px;
  transition: color 0.2s ease, background 0.2s ease;
}

.cookie-close:hover {
  color: var(--text-primary);
  background: var(--bg-page);
}

.cookie-body {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.55;
}

.cookie-body a {
  color: var(--primary-mint-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 600;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 4px;
}

.cookie-btn-primary {
  background: var(--primary-mint);
  color: #0F172A;
  border: none;
  border-radius: var(--radius-pill);
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cookie-btn-primary:hover {
  background: var(--primary-mint-hover);
  transform: translateY(-1px);
}

.cookie-btn-secondary {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cookie-btn-secondary:hover {
  background: var(--bg-page);
  color: var(--text-primary);
  border-color: var(--border-mint);
}
