/* ============================================================================
   MAYA WEALTH — Cinematic Fintech Homepage
   Apple + Revolut inspired dark theme
   ============================================================================ */

/* --------------------------------------------------------------------------
   1. CSS VARIABLES & DESIGN TOKENS
   -------------------------------------------------------------------------- */

:root {
  /* Color Palette */
  --saffron: #F4A261;
  --saffron-light: #F7BD8A;
  --saffron-dark: #D4853A;
  --teal: #2A9D8F;
  --teal-light: #3AB8A8;
  --teal-dark: #1E7A6E;

  /* Backgrounds */
  --bg-primary: #000000;
  --bg-secondary: #080808;
  --bg-card: #111111;
  --bg-card-hover: #1a1a1a;

  /* Borders */
  --border-subtle: rgba(255, 255, 255, 0.06);
  --border-active: rgba(244, 162, 97, 0.3);

  /* Text */
  --text-primary: #f5f5f7;
  --text-secondary: #86868b;
  --text-muted: #48484a;

  /* Gradients */
  --gradient-saffron: linear-gradient(135deg, #F4A261, #E76F51);
  --gradient-teal: linear-gradient(135deg, #2A9D8F, #264653);
  --gradient-dark: linear-gradient(180deg, rgba(0, 0, 0, 0.8), rgba(5, 5, 5, 0.95));

  /* Typography */
  --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', 'Roboto', sans-serif;
  --font-family-arabic: 'Noto Sans Arabic', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Shadows */
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 12px 32px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 25px 60px rgba(0, 0, 0, 0.5);
  --shadow-xl: 0 40px 80px rgba(0, 0, 0, 0.6);

  /* Transitions */
  --transition-fast: all 0.2s ease-out;
  --transition-base: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);

  /* Spacing */
  --spacing-base: 1rem;
  --spacing-section: 10rem;
}

/* --------------------------------------------------------------------------
   2. RESET & BASE STYLES
   -------------------------------------------------------------------------- */

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

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

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font: 1.05rem / 1.8 var(--font-family);
  overflow-x: hidden;
}

body[dir="rtl"] {
  font-family: var(--font-family-arabic);
  direction: rtl;
  text-align: right;
}

section {
  position: relative;
}

.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input,
textarea {
  font-family: inherit;
  color: var(--text-primary);
  background-color: var(--bg-card);
}

/* --------------------------------------------------------------------------
   3. NAVBAR
   -------------------------------------------------------------------------- */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 2rem;
  background-color: transparent;
  transition: var(--transition-base);
}

.navbar.scrolled {
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.navbar-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  text-decoration: none;
  color: var(--text-primary);
  transition: var(--transition-fast);
  flex-shrink: 0;
}

.nav-logo:hover {
  opacity: 0.8;
}

.nav-logo-icon {
  width: 32px;
  height: 32px;
  background: var(--gradient-saffron);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.875rem;
  color: #000;
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.nav-logo-text strong {
  font-size: 1.1rem;
}

.nav-logo-text small {
  font-size: 0.7rem;
  color: var(--text-secondary);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.nav-content {
  display: flex;
  align-items: center;
  gap: 4rem;
  flex: 1;
  justify-content: center;
}

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

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  transition: var(--transition-fast);
}

.nav-link:hover {
  color: var(--text-primary);
}

.nav-link.active {
  color: var(--saffron);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--saffron);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease-out;
}

.nav-link.active::after {
  transform: scaleX(1);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-left: auto;
}

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 0.4rem 0.6rem;
}

.lang-btn {
  padding: 0.4rem 0.8rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  border-radius: 16px;
  transition: var(--transition-fast);
}

.lang-btn.active {
  background: rgba(244, 162, 97, 0.15);
  color: var(--saffron);
}

.lang-btn:hover {
  color: var(--text-primary);
}

.nav-menu-btn {
  display: none;
  width: 32px;
  height: 32px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  margin-left: auto;
}

.nav-menu-btn span {
  width: 100%;
  height: 2px;
  background: var(--text-primary);
  transition: var(--transition-fast);
  display: block;
}

.nav-menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translateY(10px);
}

.nav-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.nav-menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translateY(-10px);
}

/* --------------------------------------------------------------------------
   4. HERO SECTION
   -------------------------------------------------------------------------- */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 8rem 2rem;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 900px;
  z-index: 2;
  position: relative;
}

.hero-ambient {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: clamp(4rem, 12vw, 10rem);
  font-weight: 900;
  letter-spacing: -0.05em;
  white-space: nowrap;
  opacity: 0.04;
  color: var(--text-primary);
  z-index: 1;
  pointer-events: none;
  user-select: none;
  line-height: 1;
}

.hero-text {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-title {
  font-size: clamp(3.5rem, 7vw, 6rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--text-primary);
  margin: 0;
}

.hero-title strong {
  background: var(--gradient-saffron);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.hero-cta {
  display: flex;
  flex-direction: row;
  gap: 1.25rem;
  justify-content: center;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.hero-trust {
  margin-top: 2rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-visual-hints {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.widget-hint {
  position: absolute;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 1.25rem;
  opacity: 0.4;
  transition: opacity 0.6s ease-out;
}

.widget-hint:hover {
  opacity: 0.6;
}

.hint-1 {
  top: 15%;
  left: 5%;
  width: 200px;
}

.hint-2 {
  top: 60%;
  right: 3%;
  width: 180px;
}

.hint-3 {
  bottom: 10%;
  left: 15%;
  width: 180px;
}

.hint-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.hint-value {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.08;
  pointer-events: none;
}

.orb-1 {
  width: 400px;
  height: 400px;
  background: var(--gradient-saffron);
  top: -150px;
  left: -100px;
}

.orb-2 {
  width: 400px;
  height: 400px;
  background: var(--gradient-teal);
  bottom: -200px;
  right: -100px;
}

/* --------------------------------------------------------------------------
   5. VALUE SECTIONS (Scroll Storytelling)
   -------------------------------------------------------------------------- */

.value-section {
  padding: var(--spacing-section) 0;
  position: relative;
}

.value-section:nth-child(even) {
  background-color: var(--bg-secondary);
}

.value-section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.value-section.reverse .value-section-inner {
  direction: rtl;
}

.value-section.reverse .value-section-inner > * {
  direction: ltr;
}

.value-text {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  z-index: 2;
}

.value-text .section-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--saffron);
  font-weight: 700;
  margin: 0;
}

.value-text .section-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--text-primary);
  margin: 0;
}

.value-text .section-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin: 0;
}

.value-features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  list-style: none;
  margin-top: 1rem;
}

.value-features li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  color: var(--text-secondary);
}

.value-features li::before {
  content: '→';
  color: var(--saffron);
  font-weight: 700;
  flex-shrink: 0;
}

.value-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.widget-mockup {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, 0.05);
  max-width: 480px;
  width: 100%;
}

.mockup-header {
  display: flex;
  align-items: center;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
  background: var(--bg-secondary);
}

.mockup-dots {
  display: flex;
  gap: 6px;
}

.mockup-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.mockup-dots .dot:nth-child(1) {
  background: #FF5F57;
}

.mockup-dots .dot:nth-child(2) {
  background: #FFBD2E;
}

.mockup-dots .dot:nth-child(3) {
  background: #28C940;
}

.mockup-title {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  font-weight: 700;
  margin-left: auto;
}

.mockup-body {
  padding: 1.5rem;
}

/* --------------------------------------------------------------------------
   6. WIDGET CONTENT STYLES
   -------------------------------------------------------------------------- */

.widget-section {
  padding: 1rem 0;
}

.widget-row-header {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.widget-row-main {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.widget-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  font-weight: 700;
}

.widget-value-large {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.widget-change {
  font-size: 0.9rem;
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.widget-change.positive {
  color: var(--teal);
}

.widget-change.positive::before {
  content: '↑';
}

.widget-change.negative {
  color: #FF5F57;
}

.widget-change.negative::before {
  content: '↓';
}

.widget-sub {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.widget-breakdown-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.breakdown-item {
  display: grid;
  grid-template-columns: 120px 1fr 100px;
  gap: 1rem;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-subtle);
}

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

.breakdown-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.breakdown-bar-container {
  display: flex;
  align-items: center;
  height: 8px;
  background: var(--bg-secondary);
  border-radius: 4px;
  overflow: hidden;
}

.breakdown-bar {
  height: 100%;
  background: var(--gradient-saffron);
  border-radius: 4px;
  transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.breakdown-item.negative .breakdown-bar {
  background: #FF5F57;
}

.breakdown-value {
  text-align: right;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
}

.breakdown-item.negative .breakdown-value {
  color: #FF5F57;
}

.budget-progress-container {
  margin-bottom: 1.5rem;
}

.budget-progress-track {
  width: 100%;
  height: 12px;
  background: var(--bg-secondary);
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 1rem;
}

.budget-progress-fill {
  height: 100%;
  background: var(--gradient-saffron);
  border-radius: 6px;
  transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.budget-progress-fill.warning {
  background: linear-gradient(135deg, #F4A261, #E76F51);
}

.budget-progress-fill.danger {
  background: linear-gradient(135deg, #FF5F57, #FF453A);
}

.budget-percent {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
}

.budget-categories-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.budget-category {
  display: grid;
  grid-template-columns: 24px 1fr 80px;
  gap: 1rem;
  align-items: center;
  padding: 0.75rem 0;
}

.category-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--saffron);
}

.category-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.category-name {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-primary);
}

.category-value {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.holdings-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.holding-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 1rem;
  transition: var(--transition-fast);
}

.holding-row:hover {
  border-color: var(--border-active);
  background: var(--bg-card-hover);
}

.holding-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: white;
  flex-shrink: 0;
}

.holding-icon.btc {
  background: linear-gradient(135deg, #F7931A, #F9AA34);
}

.holding-icon.aapl {
  background: linear-gradient(135deg, #555555, #333333);
}

.holding-icon.voo {
  background: linear-gradient(135deg, #2A9D8F, #1E7A6E);
}

.holding-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex: 1;
}

.holding-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
}

.holding-ticker {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.holding-right {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  text-align: right;
}

.holding-value {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
}

.holding-change {
  font-size: 0.8rem;
  color: var(--teal);
}

.alerts-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.alert-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  border-radius: 14px;
  border-left: 3px solid;
}

.alert-card.alert-warning {
  background: rgba(244, 162, 97, 0.08);
  border-left-color: var(--saffron);
}

.alert-card.alert-error {
  background: rgba(255, 95, 87, 0.08);
  border-left-color: #FF5F57;
}

.alert-card.alert-success {
  background: rgba(42, 157, 143, 0.08);
  border-left-color: var(--teal);
}

.alert-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.25rem;
}

.alert-card.alert-warning .alert-icon {
  background: rgba(244, 162, 97, 0.15);
  color: var(--saffron);
}

.alert-card.alert-error .alert-icon {
  background: rgba(255, 95, 87, 0.15);
  color: #FF5F57;
}

.alert-card.alert-success .alert-icon {
  background: rgba(42, 157, 143, 0.15);
  color: var(--teal);
}

.alert-content {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.alert-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
}

.alert-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.alert-time {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.goals-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.goal-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 1.25rem;
  transition: var(--transition-fast);
}

.goal-card:hover {
  border-color: var(--border-active);
  background: var(--bg-card-hover);
}

.goal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.goal-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
}

.goal-percent {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--saffron);
}

.goal-progress-track {
  width: 100%;
  height: 8px;
  background: var(--bg-secondary);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 0.75rem;
}

.goal-progress-fill {
  height: 100%;
  background: var(--gradient-saffron);
  border-radius: 4px;
  transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  width: 45%;
}

.goal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   7. AI SECTION
   -------------------------------------------------------------------------- */

.ai-section {
  padding: var(--spacing-section) 0;
  background: #050505;
  position: relative;
  overflow: hidden;
}

.ai-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.ai-text {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  z-index: 2;
}

.ai-text .section-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--saffron);
  font-weight: 700;
  margin: 0;
}

.ai-text .section-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--text-primary);
  margin: 0;
}

.ai-text .section-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin: 0;
}

.ai-slides-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ai-slide {
  display: none;
  opacity: 0;
  transition: opacity 0.6s ease-out;
}

.ai-slide.active {
  display: block;
  opacity: 1;
}

.ai-slide-indicators {
  position: absolute;
  bottom: -60px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.75rem;
}

.slide-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border-subtle);
  cursor: pointer;
  transition: var(--transition-fast);
}

.slide-dot.active {
  background: var(--saffron);
  width: 24px;
  border-radius: 4px;
}

.ai-mockup {
  width: 100%;
  max-width: 500px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.ai-chat-mockup {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-height: 500px;
  overflow-y: auto;
}

.chat-bubble {
  display: flex;
  max-width: 80%;
  padding: 0.875rem 1.125rem;
  border-radius: 18px;
  font-size: 0.95rem;
  line-height: 1.5;
  animation: fadeSlide 0.4s ease-out;
}

.chat-bubble.user {
  align-self: flex-end;
  background: var(--gradient-saffron);
  color: #000;
  border-radius: 18px 4px 18px 18px;
  font-weight: 500;
}

.chat-bubble.assistant {
  align-self: flex-start;
  background: var(--bg-secondary);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  border-radius: 4px 18px 18px 18px;
}

/* --------------------------------------------------------------------------
   8. HOW SECTION
   -------------------------------------------------------------------------- */

.how-section {
  padding: var(--spacing-section) 0;
  text-align: center;
}

.how-section .section-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--saffron);
  font-weight: 700;
  display: block;
  margin-bottom: 1rem;
}

.how-section .section-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--text-primary);
  margin: 0 0 1.5rem;
}

.how-steps {
  display: flex;
  flex-direction: row;
  gap: 2rem;
  justify-content: center;
  align-items: flex-start;
  max-width: 1000px;
  margin: 3rem auto 0;
  padding: 0 2rem;
}

.how-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  position: relative;
}

.how-step + .how-step::before {
  content: '';
  position: absolute;
  left: -1rem;
  top: 40px;
  width: 2rem;
  height: 2px;
  background: var(--border-subtle);
}

.step-number {
  display: inline-block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--saffron);
  font-weight: 700;
  margin-bottom: 1rem;
}

.step-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(244, 162, 97, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 1.25rem;
  color: var(--saffron);
}

.step-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

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

/* --------------------------------------------------------------------------
   9. FEATURES SECTION
   -------------------------------------------------------------------------- */

.features {
  padding: var(--spacing-section) 0;
}

.features .section-container {
  text-align: center;
  margin-bottom: 3rem;
}

.features .section-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--saffron);
  font-weight: 700;
  display: block;
  margin-bottom: 1rem;
}

.features .section-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--text-primary);
  margin: 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 2.5rem;
  text-align: center;
  transition: var(--transition-base);
}

.feature-card:hover {
  border-color: var(--border-active);
  background: var(--bg-card-hover);
  transform: translateY(-8px);
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 1.5rem;
}

.feature-icon.saffron {
  background: rgba(244, 162, 97, 0.15);
  color: var(--saffron);
}

.feature-icon.teal {
  background: rgba(42, 157, 143, 0.15);
  color: var(--teal);
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.feature-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   10. PRICING SECTION
   -------------------------------------------------------------------------- */

.pricing {
  padding: var(--spacing-section) 0;
  background: var(--bg-secondary);
}

.pricing .section-container {
  text-align: center;
  margin-bottom: 3rem;
}

.pricing .section-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--saffron);
  font-weight: 700;
  display: block;
  margin-bottom: 1rem;
}

.pricing .section-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--text-primary);
  margin: 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 2rem;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 2.5rem;
  text-align: center;
  transition: var(--transition-base);
}

.pricing-card.featured {
  border-color: var(--saffron);
  background: linear-gradient(135deg, rgba(244, 162, 97, 0.05), rgba(244, 162, 97, 0.02));
  transform: scale(1.05);
}

.pricing-card:hover:not(.featured) {
  border-color: var(--border-active);
  background: var(--bg-card-hover);
}

.pricing-badge {
  display: inline-block;
  background: var(--saffron);
  color: #000;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  margin-bottom: 1rem;
}

.pricing-tier {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.pricing-price {
  font-size: 3rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
  letter-spacing: -0.02em;
}

.pricing-price small {
  font-size: 0.5em;
  color: var(--text-secondary);
  display: block;
}

.pricing-subtitle {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: left;
  margin-bottom: 2rem;
  list-style: none;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.pricing-features li::before {
  content: '✓';
  color: var(--saffron);
  font-weight: 700;
  width: 20px;
  flex-shrink: 0;
}

.pricing-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
}

/* --------------------------------------------------------------------------
   11. FINAL CTA SECTION
   -------------------------------------------------------------------------- */

.final-cta {
  padding: var(--spacing-section) 0;
  background: linear-gradient(135deg, rgba(244, 162, 97, 0.08), rgba(42, 157, 143, 0.08));
  text-align: center;
  position: relative;
  overflow: hidden;
}

.final-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-dark);
  pointer-events: none;
  z-index: 1;
}

.final-cta-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
  padding: 0 2rem;
}

.cta-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

.cta-title strong {
  background: var(--gradient-saffron);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cta-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 2.5rem;
}

/* --------------------------------------------------------------------------
   12. WAITLIST SECTION
   -------------------------------------------------------------------------- */

.waitlist {
  padding: 8rem 0;
  text-align: center;
}

.waitlist-box {
  max-width: 600px;
  margin: 0 auto;
  padding: 0 2rem;
}

.waitlist-form {
  display: flex;
  gap: 1rem;
  margin: 2rem 0;
  flex-wrap: wrap;
  justify-content: center;
}

.waitlist-form input[type="email"] {
  flex: 1;
  min-width: 200px;
  padding: 1rem 1.5rem;
  border: 1px solid var(--border-subtle);
  border-radius: 100px;
  background: var(--bg-card);
  font-size: 1rem;
  transition: var(--transition-fast);
}

.waitlist-form input[type="email"]:focus {
  outline: none;
  border-color: var(--saffron);
  background: var(--bg-card-hover);
  box-shadow: 0 0 0 3px rgba(244, 162, 97, 0.1);
}

.waitlist-success {
  display: none;
  text-align: center;
  padding: 2rem;
  background: rgba(42, 157, 143, 0.08);
  border: 1px solid rgba(42, 157, 143, 0.3);
  border-radius: 16px;
}

.waitlist-success.show {
  display: block;
  animation: fadeSlide 0.4s ease-out;
}

.waitlist-success-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--teal);
  margin-bottom: 0.5rem;
}

.waitlist-success-msg {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.waitlist-count {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 1.5rem 0;
}

/* --------------------------------------------------------------------------
   13. PAGE HERO
   -------------------------------------------------------------------------- */

.page-hero {
  padding: 12rem 2rem 6rem;
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-dark);
  z-index: 1;
}

.hero-text-only {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.page-hero .section-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.page-hero .section-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* --------------------------------------------------------------------------
   14. ABOUT PAGE SECTIONS
   -------------------------------------------------------------------------- */

.backstory {
  padding: var(--spacing-section) 0;
}

.backstory-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.backstory-block {
  max-width: 800px;
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

.backstory-block p {
  margin-bottom: 1.5rem;
}

.backstory-block p:last-child {
  margin-bottom: 0;
}

.stats-section {
  padding: var(--spacing-section) 0;
  background: var(--bg-secondary);
}

.stat-grid-wide {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--saffron);
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.values {
  padding: var(--spacing-section) 0;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.value-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 2.5rem;
  text-align: center;
  transition: var(--transition-base);
}

.value-card:hover {
  border-color: var(--border-active);
  background: var(--bg-card-hover);
  transform: translateY(-8px);
}

.value-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.value-card-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.value-card-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.cta-section {
  padding: var(--spacing-section) 0;
  text-align: center;
}

.cta-content {
  max-width: 600px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* --------------------------------------------------------------------------
   15. CONTACT PAGE
   -------------------------------------------------------------------------- */

.contact {
  padding: var(--spacing-section) 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.contact-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 2.5rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
}

.form-group input,
.form-group textarea {
  padding: 0.875rem 1.125rem;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  background: var(--bg-secondary);
  font-size: 1rem;
  transition: var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--saffron);
  box-shadow: 0 0 0 3px rgba(244, 162, 97, 0.1);
}

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

.contact-form-success {
  display: none;
  padding: 2rem;
  background: rgba(42, 157, 143, 0.08);
  border: 1px solid rgba(42, 157, 143, 0.3);
  border-radius: 16px;
  text-align: center;
}

.contact-form-success.show {
  display: block;
}

.contact-info-section {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(244, 162, 97, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--saffron);
  flex-shrink: 0;
}

.contact-info-content {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.contact-info-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
}

.contact-info-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.map-section {
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border-subtle);
}

.map-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  overflow: hidden;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   16. FOOTER
   -------------------------------------------------------------------------- */

.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  padding: 6rem 2rem 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto 3rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.1rem;
}

.footer-logo-icon {
  width: 28px;
  height: 28px;
  background: var(--gradient-saffron);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
  font-weight: 800;
  font-size: 0.8rem;
}

.footer-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-col-title {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-primary);
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  list-style: none;
}

.footer-col a {
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: var(--transition-fast);
}

.footer-col a:hover {
  color: var(--saffron);
}

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

.footer-bottom-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

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

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

/* --------------------------------------------------------------------------
   17. BUTTONS
   -------------------------------------------------------------------------- */

.btn {
  border-radius: 100px;
  padding: 1rem 2.25rem;
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition-base);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
}

.btn-primary {
  background: var(--gradient-saffron);
  color: #000;
}

.btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(244, 162, 97, 0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
}

.btn-secondary:hover {
  border-color: var(--saffron);
  background: rgba(244, 162, 97, 0.05);
  color: var(--saffron);
}

.btn-sm {
  padding: 0.75rem 1.75rem;
  font-size: 0.9rem;
}

.btn-lg {
  padding: 1.25rem 3rem;
  font-size: 1.1rem;
}

.btn-xl {
  padding: 1.5rem 4rem;
  font-size: 1.25rem;
}

/* --------------------------------------------------------------------------
   18. ANIMATIONS
   -------------------------------------------------------------------------- */

@keyframes fadeSlide {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-in {
  opacity: 0;
  transform: translateY(40px);
}

.animate-in.visible {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --------------------------------------------------------------------------
   19. RTL SUPPORT
   -------------------------------------------------------------------------- */

[dir="rtl"] .nav-links {
  flex-direction: row-reverse;
}

[dir="rtl"] .nav-actions {
  margin-left: 0;
  margin-right: auto;
}

[dir="rtl"] .hero-cta {
  flex-direction: row-reverse;
}

[dir="rtl"] .value-section-inner {
  direction: rtl;
}

[dir="rtl"] .how-steps {
  flex-direction: row-reverse;
}

[dir="rtl"] .features-grid,
[dir="rtl"] .stat-grid-wide,
[dir="rtl"] .values-grid,
[dir="rtl"] .pricing-grid,
[dir="rtl"] .contact-grid,
[dir="rtl"] .footer-grid {
  direction: rtl;
}

[dir="rtl"] .alert-icon {
  order: 2;
}

[dir="rtl"] .alert-content {
  order: 1;
}

/* --------------------------------------------------------------------------
   20. RESPONSIVE DESIGN
   -------------------------------------------------------------------------- */

@media (max-width: 1024px) {
  .value-section-inner,
  .ai-content,
  .contact-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .features-grid,
  .stat-grid-wide,
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .how-steps {
    gap: 1.5rem;
  }

  .how-step + .how-step::before {
    display: none;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --spacing-section: 6rem;
  }

  .navbar {
    padding: 0.75rem 1.5rem;
  }

  .navbar-container {
    gap: 1rem;
  }

  .nav-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 1.5rem;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.95);
    border-bottom: 1px solid var(--border-subtle);
    z-index: 999;
  }

  .nav-content.active {
    display: flex;
  }

  .nav-links {
    flex-direction: column;
    gap: 1rem;
  }

  .nav-actions {
    margin-left: 0;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
  }

  .nav-menu-btn {
    display: flex;
  }

  .hero {
    padding: 6rem 1.5rem 4rem;
    min-height: auto;
  }

  .hero-title {
    font-size: clamp(2.5rem, 6vw, 3.5rem);
  }

  .hero-desc {
    font-size: 1.1rem;
  }

  .hero-cta {
    flex-direction: column;
    width: 100%;
  }

  .hero-cta .btn {
    width: 100%;
  }

  .section-title {
    font-size: clamp(2rem, 4vw, 3rem) !important;
  }

  .value-section-inner {
    gap: 3rem;
  }

  .widget-mockup {
    max-width: 100%;
  }

  .how-steps {
    flex-direction: column;
    gap: 2rem;
  }

  .features-grid,
  .stat-grid-wide,
  .values-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

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

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .contact-grid {
    gap: 2rem;
  }

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

  .pricing-card.featured {
    transform: scale(1);
  }
}

@media (max-width: 480px) {
  :root {
    --spacing-section: 4rem;
  }

  .navbar-container {
    gap: 0.5rem;
  }

  .nav-logo {
    font-size: 1rem;
  }

  .nav-logo-icon {
    width: 28px;
    height: 28px;
  }

  .hero {
    padding: 4rem 1rem 2rem;
  }

  .hero-title {
    font-size: clamp(2rem, 5vw, 2.5rem);
  }

  .hero-desc {
    font-size: 1rem;
  }

  .hero-ambient {
    font-size: clamp(2.5rem, 8vw, 4rem);
    opacity: 0.02;
  }

  .value-section-inner {
    padding: 0 1rem;
    gap: 2rem;
  }

  .widget-hint {
    display: none;
  }

  .how-steps {
    padding: 0 1rem;
  }

  .features-grid,
  .stat-grid-wide,
  .values-grid {
    padding: 0 1rem;
    gap: 1rem;
  }

  .feature-card,
  .stat-card,
  .value-card {
    padding: 1.5rem;
  }

  .footer {
    padding: 4rem 1rem 2rem;
  }

  .footer-grid {
    padding: 0;
  }

  .contact-form {
    gap: 1rem;
  }

  .waitlist-form {
    flex-direction: column;
  }

  .waitlist-form input[type="email"],
  .btn {
    width: 100%;
  }

  .btn {
    padding: 0.875rem 1.75rem;
  }

  .page-hero {
    padding: 8rem 1rem 4rem;
  }

  .ai-slide-indicators {
    bottom: -50px;
  }
}

/* --------------------------------------------------------------------------
   21. UTILITY CLASSES
   -------------------------------------------------------------------------- */

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

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

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

.opacity-50 {
  opacity: 0.5;
}

.opacity-75 {
  opacity: 0.75;
}

.mt-auto {
  margin-top: auto;
}

.mb-auto {
  margin-bottom: auto;
}

.no-scroll {
  overflow: hidden;
}

.visibility-hidden {
  visibility: hidden;
}

.pointer-events-none {
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   22. SCROLLBAR STYLING
   -------------------------------------------------------------------------- */

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: var(--border-subtle);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}

/* ===== MISSING UTILITY CLASSES ===== */

/* Section-specific background variations */
.section-networth,
.section-invest,
.section-goals { background: var(--bg-primary); }
.section-budget,
.section-alerts { background: var(--bg-secondary); }

/* Centered section header */
.section-header-center {
  text-align: center;
}
.section-header-center .section-desc {
  margin-left: auto;
  margin-right: auto;
}

/* Breakdown components */
.breakdown-bar-track {
  flex: 1;
  height: 6px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 3px;
  overflow: hidden;
}

.breakdown-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* Category mini progress bar */
.category-bar-mini {
  height: 4px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 2px;
  overflow: hidden;
  margin-top: 0.25rem;
}
.category-bar-mini .bar {
  height: 100%;
  border-radius: 2px;
  transition: width 0.5s ease;
}

/* Goal footer amounts */
.goal-current,
.goal-target {
  font-size: 0.8rem;
  color: var(--text-muted);
}
.goal-current { font-weight: 600; color: var(--text-secondary); }

/* Step divider (connecting line between how-it-works steps) */
.step-divider {
  flex-shrink: 0;
  width: 60px;
  height: 2px;
  background: var(--border-subtle);
  align-self: center;
  margin-top: -2rem;
}

@media (max-width: 768px) {
  .step-divider {
    display: none;
  }
}

/* ============================================================================
   END OF STYLESHEET
   ============================================================================ */
