/* ===================================================================
   Yesri Finance — Design System & Stylesheet
   Modern, ultra-clean financial tech aesthetic with glassmorphism,
   responsive grid, micro-interactions, and accessibility.
   =================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  /* Brand Palette */
  --ink-900: #0B132B;
  --ink-800: #1C2541;
  --ink-700: #3A506B;
  --ink-600: #4A5B78;
  --ink-400: #718096;
  --ink-200: #CBD5E1;
  --ink-100: #E2E8F0;
  --ink-50:  #F8FAFC;

  --emerald-500: #10B981;
  --emerald-600: #059669;
  --emerald-700: #047857;
  --emerald-50:  #ECFDF5;

  --gold-500: #F59E0B;
  --gold-600: #D97706;
  --gold-50:  #FFFBEB;

  --rose-500: #EF4444;
  --rose-50:  #FEF2F2;

  --blue-500: #3B82F6;
  --blue-600: #2563EB;
  --blue-50:  #EFF6FF;

  /* Surfaces & Borders */
  --bg-primary: #F8FAFC;
  --bg-secondary: #F1F5F9;
  --surface: #FFFFFF;
  --surface-alt: #F8FAFC;
  --border-light: #E2E8F0;
  --border-medium: #CBD5E1;
  --border-dark: #3A506B;

  /* Typography */
  --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Elevation Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(11, 19, 43, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(11, 19, 43, 0.07), 0 2px 4px -2px rgba(11, 19, 43, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(11, 19, 43, 0.08), 0 4px 6px -4px rgba(11, 19, 43, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(11, 19, 43, 0.1), 0 8px 10px -6px rgba(11, 19, 43, 0.05);
  --shadow-glow: 0 0 30px rgba(16, 185, 129, 0.18);

  /* Transitions & Radii */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  --transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  --max-w: 1200px;
}

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

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--ink-800);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

.wrap {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* Accessible focus */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 3px solid var(--emerald-500);
  outline-offset: 2px;
}

/* Typography styles */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--ink-900);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--emerald-600);
  background: var(--emerald-50);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.eyebrow.gold {
  color: var(--gold-600);
  background: var(--gold-50);
  border-color: rgba(245, 158, 11, 0.2);
}

/* ===================================================================
   Header & Navigation
   =================================================================== */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 250, 252, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition);
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--ink-900);
}

.brand-logo-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--ink-900) 0%, var(--ink-800) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--emerald-500);
  box-shadow: 0 4px 10px rgba(11, 19, 43, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.brand-logo-icon svg {
  width: 20px;
  height: 20px;
}

.brand-tagline {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-400);
  display: block;
  line-height: 1;
}

nav.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--ink-600);
  padding: 6px 4px;
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: var(--ink-900);
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--emerald-500);
  border-radius: 2px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Button Variants */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  font-size: 0.92rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: var(--ink-900);
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(11, 19, 43, 0.15);
}

.btn-primary:hover {
  background: var(--ink-800);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(11, 19, 43, 0.22);
}

.btn-emerald {
  background: linear-gradient(135deg, var(--emerald-500) 0%, var(--emerald-600) 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3);
}

.btn-emerald:hover {
  background: linear-gradient(135deg, var(--emerald-600) 0%, var(--emerald-700) 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

.btn-secondary {
  background: var(--surface);
  color: var(--ink-800);
  border-color: var(--border-medium);
}

.btn-secondary:hover {
  background: var(--bg-secondary);
  border-color: var(--ink-400);
  color: var(--ink-900);
}

.btn-sm {
  padding: 8px 14px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 14px 28px;
  font-size: 1.02rem;
  border-radius: var(--radius-lg);
}

/* Google Play Badge Button */
.btn-playstore {
  background: var(--ink-900);
  color: #FFFFFF;
  padding: 10px 20px;
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 4px 14px rgba(11, 19, 43, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-playstore:hover {
  background: #050814;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(11, 19, 43, 0.35);
}

.btn-playstore svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.btn-playstore .badge-text {
  text-align: left;
  line-height: 1.15;
}

.btn-playstore .badge-subtitle {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.8;
  display: block;
}

.btn-playstore .badge-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  display: block;
}

/* Mobile hamburger */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--ink-900);
}

.mobile-toggle svg {
  width: 26px;
  height: 26px;
}

/* Mobile Drawer Menu */
.mobile-drawer {
  display: none;
  position: fixed;
  top: 74px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(248, 250, 252, 0.98);
  backdrop-filter: blur(16px);
  z-index: 99;
  padding: 24px;
  flex-direction: column;
  gap: 18px;
  border-bottom: 1px solid var(--border-light);
}

.mobile-drawer.open {
  display: flex;
}

.mobile-drawer a {
  font-size: 1.15rem;
  font-weight: 600;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-light);
  color: var(--ink-800);
}

/* ===================================================================
   Hero Section
   =================================================================== */
.hero {
  padding: 70px 0 90px;
  position: relative;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  width: 650px;
  height: 450px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.12) 0%, rgba(59, 130, 246, 0.05) 50%, transparent 70%);
  z-index: -1;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.hero-content h1 {
  font-size: clamp(2.4rem, 4.2vw, 3.6rem);
  color: var(--ink-900);
  line-height: 1.12;
  margin-bottom: 20px;
}

.hero-content h1 span.highlight {
  color: var(--emerald-600);
  position: relative;
}

.hero-lede {
  font-size: 1.15rem;
  color: var(--ink-600);
  line-height: 1.6;
  max-width: 520px;
  margin-bottom: 32px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.hero-trust-badges {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border-light);
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-600);
}

.trust-item svg {
  width: 18px;
  height: 18px;
  color: var(--emerald-600);
  flex-shrink: 0;
}

/* ===================================================================
   Interactive Mockup & Receipt Card
   =================================================================== */
.mockup-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
}

.device-frame {
  width: 100%;
  max-width: 380px;
  background: #0B132B;
  border-radius: 40px;
  padding: 12px;
  box-shadow: 0 25px 50px -12px rgba(11, 19, 43, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.1);
  position: relative;
}

.device-notch {
  width: 120px;
  height: 18px;
  background: #0B132B;
  border-radius: 0 0 12px 12px;
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
}

.device-screen {
  background: var(--bg-primary);
  border-radius: 30px;
  overflow: hidden;
  padding: 24px 18px 20px;
  font-size: 0.9rem;
}

.app-screen-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding-top: 10px;
}

.business-picker {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink-900);
  background: #FFFFFF;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
}

.account-badge-pro {
  background: var(--gold-50);
  color: var(--gold-600);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.stats-card-main {
  background: linear-gradient(135deg, var(--ink-900) 0%, var(--ink-800) 100%);
  color: #FFFFFF;
  padding: 18px;
  border-radius: var(--radius-lg);
  margin-bottom: 16px;
  box-shadow: 0 10px 20px rgba(11, 19, 43, 0.2);
}

.stats-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.75;
  margin-bottom: 4px;
}

.stats-amount {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.stats-row-mini {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 10px;
  font-size: 0.8rem;
}

.stats-col-mini .val-income {
  color: #34D399;
  font-weight: 700;
}

.stats-col-mini .val-expense {
  color: #F87171;
  font-weight: 700;
}

.quick-actions-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 18px;
  text-align: center;
}

.quick-action-item {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 10px 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--ink-700);
}

.quick-action-item svg {
  width: 18px;
  height: 18px;
  color: var(--emerald-600);
}

.transaction-list-mini {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  padding: 12px;
}

.tx-header {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--ink-400);
  margin-bottom: 8px;
  display: flex;
  justify-content: space-between;
}

.tx-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px dashed var(--border-light);
  font-size: 0.82rem;
}

.tx-item:last-child {
  border-bottom: none;
}

.tx-info {
  display: flex;
  align-items: center;
  gap: 8px;
}

.tx-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
}

.tx-icon.in {
  background: var(--emerald-50);
  color: var(--emerald-600);
}

.tx-icon.out {
  background: var(--rose-50);
  color: var(--rose-500);
}

.tx-title {
  font-weight: 600;
  color: var(--ink-900);
  line-height: 1.1;
}

.tx-sub {
  font-size: 0.7rem;
  color: var(--ink-400);
}

.tx-amount.pos {
  font-weight: 700;
  color: var(--emerald-600);
}

.tx-amount.neg {
  font-weight: 700;
  color: var(--rose-500);
}

/* Floating badge on hero mockup */
.hero-floating-badge {
  position: absolute;
  bottom: 24px;
  left: -20px;
  background: #FFFFFF;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: floatSlow 4s ease-in-out infinite alternate;
}

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

.floating-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--emerald-50);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--emerald-600);
}

.floating-icon svg {
  width: 20px;
  height: 20px;
}

/* ===================================================================
   Sections General
   =================================================================== */
section {
  padding: 80px 0;
}

.section-head {
  max-width: 680px;
  margin-bottom: 48px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  margin-bottom: 12px;
}

.section-head p {
  font-size: 1.1rem;
  color: var(--ink-600);
}

/* ===================================================================
   Feature Grid & Cards
   =================================================================== */
.features-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

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

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-medium);
}

.feature-card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--emerald-50);
  color: var(--emerald-600);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.feature-card-icon svg {
  width: 26px;
  height: 26px;
}

.feature-card.gold-card .feature-card-icon {
  background: var(--gold-50);
  color: var(--gold-600);
  border-color: rgba(245, 158, 11, 0.2);
}

.feature-card.blue-card .feature-card-icon {
  background: var(--blue-50);
  color: var(--blue-600);
  border-color: rgba(59, 130, 246, 0.2);
}

.feature-card h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.feature-card p {
  color: var(--ink-600);
  font-size: 0.96rem;
  line-height: 1.6;
  margin-bottom: 16px;
  flex-grow: 1;
}

.feature-pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
}

.pill {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: var(--bg-secondary);
  color: var(--ink-700);
  border: 1px solid var(--border-light);
}

/* Detailed Feature Row (For deep-dive pages) */
.module-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 56px 0;
  border-bottom: 1px solid var(--border-light);
}

.module-row:last-child {
  border-bottom: none;
}

.module-row.reversed {
  direction: rtl;
}

.module-row.reversed > * {
  direction: ltr;
}

.module-visual {
  background: linear-gradient(135deg, #1C2541 0%, #0B132B 100%);
  border-radius: var(--radius-xl);
  padding: 32px;
  color: #FFFFFF;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.module-visual::after {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

/* ===================================================================
   Pricing Table
   =================================================================== */
.pricing-card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 40px 32px;
  position: relative;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
}

.pricing-card.featured {
  border: 2px solid var(--emerald-500);
  box-shadow: 0 16px 32px -4px rgba(16, 185, 129, 0.18);
  background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
}

.pricing-card .badge-popular {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--emerald-600);
  color: #FFFFFF;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 16px;
  border-radius: var(--radius-full);
}

.pricing-plan-name {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.pricing-plan-desc {
  font-size: 0.92rem;
  color: var(--ink-600);
  margin-bottom: 24px;
}

.pricing-price {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--ink-900);
  margin-bottom: 24px;
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.pricing-price span.period {
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink-400);
}

.pricing-features-list {
  list-style: none;
  margin-bottom: 32px;
  flex-grow: 1;
}

.pricing-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.95rem;
  color: var(--ink-700);
}

.pricing-features-list li:last-child {
  border-bottom: none;
}

.pricing-features-list li svg {
  width: 18px;
  height: 18px;
  color: var(--emerald-600);
  flex-shrink: 0;
  margin-top: 2px;
}

.pricing-features-list li.disabled {
  color: var(--ink-400);
  text-decoration: line-through;
}

.pricing-features-list li.disabled svg {
  color: var(--ink-200);
}

/* Feature Comparison Table */
.comparison-table-wrapper {
  margin-top: 60px;
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  overflow-x: auto;
  box-shadow: var(--shadow-sm);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  min-width: 600px;
}

.comparison-table th, .comparison-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.94rem;
}

.comparison-table thead th {
  background: var(--bg-secondary);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink-900);
}

.comparison-table tr:hover td {
  background: var(--ink-50);
}

.comparison-table td.center {
  text-align: center;
}

.status-icon-check {
  color: var(--emerald-600);
  font-weight: 700;
}

.status-icon-cross {
  color: var(--ink-400);
}

/* ===================================================================
   Legal & Policy Document Layout (Privacy, Terms, Delete Account)
   =================================================================== */
.legal-wrapper {
  max-width: 820px;
  margin: 40px auto 90px;
  background: var(--surface);
  padding: 48px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.legal-header {
  border-bottom: 2px solid var(--border-light);
  padding-bottom: 24px;
  margin-bottom: 32px;
}

.legal-header h1 {
  font-size: 2.2rem;
  margin-bottom: 8px;
}

.legal-meta {
  color: var(--ink-400);
  font-size: 0.9rem;
}

.legal-body h2 {
  font-size: 1.4rem;
  margin-top: 36px;
  margin-bottom: 14px;
  color: var(--ink-900);
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 8px;
}

.legal-body h3 {
  font-size: 1.15rem;
  margin-top: 24px;
  margin-bottom: 10px;
  color: var(--ink-800);
}

.legal-body p, .legal-body li {
  color: var(--ink-700);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 14px;
}

.legal-body ul, .legal-body ol {
  padding-left: 24px;
  margin-bottom: 18px;
}

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

.callout-box {
  background: var(--emerald-50);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-left: 4px solid var(--emerald-600);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  margin: 24px 0;
  font-size: 0.95rem;
  color: var(--ink-800);
}

.callout-box.alert-gold {
  background: var(--gold-50);
  border-color: rgba(245, 158, 11, 0.3);
  border-left-color: var(--gold-600);
}

.callout-box.alert-blue {
  background: var(--blue-50);
  border-color: rgba(59, 130, 246, 0.3);
  border-left-color: var(--blue-600);
}

.contact-card-box {
  background: var(--bg-secondary);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-top: 30px;
}

.contact-card-box h3 {
  margin-top: 0;
  margin-bottom: 12px;
}

/* ===================================================================
   Forms (Contact & Account Deletion)
   =================================================================== */
.form-card {
  background: var(--surface);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-light);
  padding: 40px;
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: 22px;
}

.form-label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink-800);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink-900);
  background: var(--bg-primary);
  border: 1.5px solid var(--border-medium);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.form-control:focus {
  background: #FFFFFF;
  border-color: var(--emerald-500);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

/* ===================================================================
   FAQ Accordions
   =================================================================== */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  margin-bottom: 14px;
  overflow: hidden;
  transition: var(--transition);
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  text-align: left;
  background: none;
  border: none;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink-900);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.faq-icon {
  width: 20px;
  height: 20px;
  transition: transform 0.25s ease;
  flex-shrink: 0;
  color: var(--emerald-600);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 24px;
  color: var(--ink-600);
  font-size: 0.96rem;
  line-height: 1.65;
}

.faq-item.active .faq-answer {
  padding-bottom: 20px;
}

/* ===================================================================
   CTA Banner Section
   =================================================================== */
.cta-banner {
  background: linear-gradient(135deg, var(--ink-900) 0%, #162238 100%);
  border-radius: var(--radius-xl);
  padding: 64px 48px;
  color: #FFFFFF;
  text-align: center;
  box-shadow: var(--shadow-xl);
  position: relative;
  overflow: hidden;
  margin: 60px 0 80px;
}

.cta-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at top right, rgba(16, 185, 129, 0.2), transparent 60%);
  pointer-events: none;
}

.cta-banner h2 {
  color: #FFFFFF;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  margin-bottom: 16px;
}

.cta-banner p {
  font-size: 1.15rem;
  color: var(--ink-200);
  max-width: 580px;
  margin: 0 auto 32px;
}

/* ===================================================================
   Footer
   =================================================================== */
footer.site-footer {
  background: var(--ink-900);
  color: var(--ink-200);
  padding: 70px 0 36px;
  border-top: 1px solid var(--border-dark);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand .brand-logo {
  color: #FFFFFF;
  margin-bottom: 14px;
}

.footer-brand p {
  color: var(--ink-400);
  font-size: 0.92rem;
  line-height: 1.6;
  max-width: 320px;
  margin-bottom: 20px;
}

.footer-col h4 {
  color: #FFFFFF;
  font-size: 1rem;
  margin-bottom: 18px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul a {
  color: var(--ink-400);
  font-size: 0.9rem;
}

.footer-col ul a:hover {
  color: var(--emerald-500);
  padding-left: 3px;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.9rem;
  color: var(--ink-400);
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  color: var(--emerald-500);
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.85rem;
  color: var(--ink-400);
}

.footer-bottom a {
  color: var(--ink-400);
}

.footer-bottom a:hover {
  color: #FFFFFF;
}

/* ===================================================================
   Floating Contact Action Widget
   =================================================================== */
.floating-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  background: #25D366;
  color: #FFFFFF;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  transition: var(--transition);
}

.floating-whatsapp:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.55);
}

.floating-whatsapp svg {
  width: 30px;
  height: 30px;
}

/* ===================================================================
   Responsive Breakpoints
   =================================================================== */
@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .mockup-wrapper {
    order: -1;
  }
  .features-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
  .module-row {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

@media (max-width: 768px) {
  nav.main-nav {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
  .features-grid-3, .features-grid-2, .pricing-card-grid {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
  .legal-wrapper {
    padding: 28px 20px;
  }
  .cta-banner {
    padding: 40px 24px;
  }
}
