/* ==========================================================================
   LAWQET - Ultra-Premium Legal App Landing Page Design System
   Official App Store & Google Play Image Badges Integration
   ========================================================================== */

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

/* --- Brand Signature Typography --- */
@font-face {
  font-family: 'Bilderberg';
  src: url('assets/fonts/Bilderberg.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* --- Root Design System Tokens (Linear & Dark Tech Elegance Default) --- */
:root {
  --bg-primary: #070A11;
  --bg-secondary: #0D121F;
  --bg-tertiary: #121829;
  
  --card-bg: rgba(18, 24, 41, 0.75);
  --card-border: rgba(142, 52, 65, 0.28);
  --card-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.6), 0 0 30px rgba(142, 52, 65, 0.12);
  --card-glow: 0 0 40px rgba(226, 59, 82, 0.25);
  
  --text-main: #F8FAFC;
  --text-muted: #94A3B8;
  --text-light: #64748B;
  
  /* User Primary Color Code (#8E3441) & High-Tech Crimson (#FF4D6D) */
  --accent-gold: #8E3441;
  --accent-amber: #FF4D6D;
  --accent-yellow-light: rgba(142, 52, 65, 0.2);
  --accent-gold-glow: rgba(255, 77, 109, 0.4);
  --accent-dark: #070A11;
  
  --brand-navy: #070A11;
  --brand-slate: #0D121F;
  --brand-gold-grad: linear-gradient(135deg, #FF4D6D 0%, #8E3441 50%, #B9384E 100%);
  
  /* Linear Dark Tech Ambient Laser Mesh Glow */
  --hero-bg-grad: 
    radial-gradient(circle at 50% -10%, rgba(142, 52, 65, 0.42) 0%, rgba(226, 59, 82, 0.18) 35%, rgba(7, 10, 17, 0) 70%),
    radial-gradient(circle at 100% 20%, rgba(142, 52, 65, 0.2) 0%, rgba(7, 10, 17, 0) 60%),
    #070A11;
    
  --mivo-gold-card-grad: linear-gradient(180deg, rgba(142, 52, 65, 0.35) 0%, rgba(142, 52, 65, 0.12) 28%, rgba(7, 10, 17, 0.6) 55%, #070A11 72%, #070A11 100%);

  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Outfit', sans-serif;
  --font-brand: 'Bilderberg', 'Outfit', serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-pill: 9999px;

  /* Emil Kowalski Motion Easing Beziers */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-press: cubic-bezier(0.2, 0, 0, 1);

  --transition-fast: 0.18s var(--ease-out-expo);
  --transition-normal: 0.32s var(--ease-out-expo);
}

/* --- Light Theme Tokens --- */
[data-theme="light"] {
  --bg-primary: #FFFFFF;
  --bg-secondary: #FAFAFA;
  --bg-tertiary: #F4F4F5;
  
  --card-bg: #FFFFFF;
  --card-border: #E4E4E7;
  --card-shadow: 0 14px 36px -8px rgba(142, 52, 65, 0.08), 0 2px 8px rgba(142, 52, 65, 0.03);
  --card-glow: 0 12px 35px rgba(142, 52, 65, 0.15);
  
  --text-main: #18181B;
  --text-muted: #71717A;
  --text-light: #A1A1AA;
  
  --accent-amber: #6B232E;
  
  --hero-bg-grad: 
    radial-gradient(ellipse 60% 50% at 0% 0%, #F9E4E7 0%, rgba(249, 228, 231, 0.45) 40%, rgba(255, 255, 255, 0) 75%),
    radial-gradient(ellipse 60% 50% at 100% 0%, #F7D6DB 0%, rgba(247, 214, 219, 0.5) 40%, rgba(255, 255, 255, 0) 75%),
    #FFFFFF;
  --mivo-gold-card-grad: linear-gradient(180deg, #F7D6DB 0%, #F9E4E7 25%, #FDF5F6 48%, #FFFFFF 70%, #FFFFFF 100%);
}

/* --- Dynamic Theme-Adaptive Logo Switching (Zero CLS Layout Stable) --- */
.logo-dark-mode { display: none; }
.logo-light-mode { display: block; }

[data-theme="dark"] .logo-dark-mode { display: block !important; }
[data-theme="dark"] .logo-light-mode { display: none !important; }

[data-theme="light"] .logo-dark-mode { display: none !important; }
[data-theme="light"] .logo-light-mode { display: block !important; }

/* Footer always has a dark background (#05080E), so it always uses the white-text logo */
.footer .logo-dark-mode { display: block !important; }
.footer .logo-light-mode { display: none !important; }

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

/* --- View Transitions API (Chrome / Edge / Safari 18+) --- */
@view-transition {
  navigation: auto;
}

::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 0.2s;
  animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes pageFadeIn {
  from {
    opacity: 0.92;
  }
  to {
    opacity: 1;
  }
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-primary);
  width: 100%;
  max-width: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.6;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  animation: pageFadeIn 0.2s var(--ease-out-expo);
}

body.page-leaving {
  opacity: 0.85;
  transition: opacity 0.12s var(--ease-out-expo);
}

a {
  color: inherit;
  text-decoration: none;
}

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

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

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Grid and flex children must be allowed to shrink below their content width. */
.navbar .nav-container > *,
.hero-grid > *,
.mivo-bento-grid > *,
.calc-grid > *,
.cta-box > *,
.footer-grid > *,
.legal-grid-container > *,
.form-row-2col > *,
.scope-cards-grid > *,
.support-channels-grid > * {
  min-width: 0;
}

/* --- TOP HERO & NAVBAR WRAPPER --- */
.hero-wrapper {
  position: relative;
  width: 100%;
  background: var(--hero-bg-grad);
}

/* --- Typography Utilities --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.15;
  letter-spacing: -0.035em;
}

.legal-mono {
  font-family: var(--font-mono);
  letter-spacing: -0.01em;
}

.gradient-text {
  background: linear-gradient(135deg, #8E3441 0%, #C83B51 45%, #6B232E 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-content h1 {
  font-size: 3.75rem;
  font-weight: 800;
  line-height: 1.08;
  margin-bottom: 20px;
  color: var(--text-main);
  letter-spacing: -0.04em;
}

.eyebrow-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: #F9E4E7;
  border: 1px solid rgba(142, 52, 65, 0.35);
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-amber);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.eyebrow-badge span.dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent-gold);
  border-radius: 50%;
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.5; }
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 60px;
}

.section-header h2 {
  font-size: 2.75rem;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--text-main);
  letter-spacing: -0.035em;
}

.section-header p {
  font-size: 1.125rem;
  color: var(--text-muted);
}

/* --- Buttons & Tactile Feedback --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 26px;
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  font-weight: 700;
  transition: transform 160ms var(--ease-out-expo), box-shadow 160ms var(--ease-out-expo), background-color 160ms ease;
  user-select: none;
  -webkit-user-select: none;
}

.btn:active {
  transform: scale(0.97) !important;
}

.btn-gold {
  background: var(--brand-gold-grad);
  color: #FFFFFF;
  box-shadow: 0 8px 25px rgba(142, 52, 65, 0.35);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(142, 52, 65, 0.45);
}

.btn-dark {
  background: var(--brand-navy);
  color: #FFFFFF;
}

.btn-dark:hover {
  background: #151D2F;
  transform: translateY(-2px);
}

.btn-outline {
  border: 2px solid var(--text-main);
  color: var(--text-main);
}

.btn-outline:hover {
  background: var(--text-main);
  color: var(--bg-primary);
}

/* --- OFFICIAL STORE BADGE IMAGE STYLING --- */
.store-badge-group {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.store-badge-img-link {
  display: inline-block;
  text-decoration: none;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), filter 0.25s ease;
}

.store-badge-img-link:hover {
  transform: translateY(-3px);
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.15));
}

.store-badge-img {
  height: 50px; /* Perfect modern store badge height */
  width: auto;
  display: block;
  object-fit: contain;
}

/* --- DYNAMIC STICKY NAVBAR (Permanently Fixed to Prevent Bounce / Layout Shifts) --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  background: transparent;
  border-bottom: 1px solid transparent;
  box-shadow: 0 0 0 transparent;
  transition: padding 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              background-color 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              backdrop-filter 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.navbar.scrolled {
  padding: 10px 0;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(228, 228, 231, 0.8);
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.06);
}

[data-theme="dark"] .navbar.scrolled {
  background: rgba(11, 15, 25, 0.92);
  border-bottom-color: rgba(142, 52, 65, 0.2);
}

.navbar .nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  position: relative;
  z-index: 1;
}

.nav-menu-shell {
  display: contents;
}

.mobile-menu-toggle,
.mobile-menu-backdrop {
  display: none;
}

.mobile-menu-toggle {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 0;
  background: var(--card-bg);
  color: var(--text-main);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.1);
  cursor: pointer;
  transition: transform 160ms var(--ease-out-expo), border-color 160ms ease, background-color 160ms ease;
}

.mobile-menu-toggle span {
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 220ms var(--ease-out-expo), opacity 140ms ease;
}

.mobile-menu-toggle.is-open span:first-child {
  transform: translateY(7px) rotate(45deg);
}

.mobile-menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.mobile-menu-toggle.is-open span:last-child {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu-toggle:active {
  transform: scale(0.94);
}

.mobile-menu-toggle:focus-visible {
  outline: none;
  border-color: var(--accent-amber);
  box-shadow: 0 0 0 3px rgba(226, 59, 82, 0.25);
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 175px;
  width: auto;
  height: 58px;
  flex-shrink: 0;
  transition: height 0.25s cubic-bezier(0.16, 1, 0.3, 1), min-width 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.brand-logo-img {
  height: 58px;
  width: auto;
  min-height: 58px;
  display: block;
  object-fit: contain;
  transition: height 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: left center;
}

/* Scrolled / Sticky Header State: Shrinks smoothly to compact original navbar height */
.navbar.scrolled .brand-logo {
  min-width: 140px;
  height: 44px;
}

.navbar.scrolled .brand-logo-img {
  height: 44px;
  min-height: 44px;
}

.footer .brand-logo {
  min-width: 155px;
  width: auto;
  height: 52px;
  margin-bottom: 20px;
}

.footer .brand-logo-img {
  height: 52px;
  min-height: 52px;
}

.brand-logo-icon {
  width: 38px;
  height: 38px;
  background: var(--accent-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-size: 1.1rem;
  box-shadow: 0 4px 12px rgba(142, 52, 65, 0.4);
}

.nav-pill-menu {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #18181B;
  padding: 6px 8px;
  border-radius: var(--radius-pill);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
  list-style: none;
}

.nav-pill-menu li a {
  display: inline-block;
  color: #E4E4E7;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  transition: transform 160ms var(--ease-out-expo), color 160ms ease, background-color 160ms ease;
  text-decoration: none;
  user-select: none;
  -webkit-user-select: none;
}

.nav-pill-menu li a:hover {
  color: #FFFFFF;
  transform: translateY(-1px);
}

.nav-pill-menu li a:active {
  transform: scale(0.95) !important;
}

.nav-pill-menu li a.active {
  background: var(--brand-gold-grad);
  color: #FFFFFF !important;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(142, 52, 65, 0.45);
}

/* --- CENTERED FLOATING LEGAL SEARCH CONSOLE BUTTON --- */
.floating-legal-search-btn {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.5px;
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.7), rgba(255, 77, 109, 0.5), rgba(104, 14, 19, 0.9));
  border-radius: var(--radius-pill);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.45), 0 0 20px rgba(255, 77, 109, 0.3);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
  animation: fabFloatCenter 4s infinite ease-in-out;
}

[data-theme="light"] .floating-legal-search-btn {
  background: linear-gradient(135deg, rgba(142, 52, 65, 0.45), rgba(255, 215, 0, 0.6), rgba(104, 14, 19, 0.35));
  box-shadow: 0 12px 30px rgba(104, 14, 19, 0.18), 0 2px 10px rgba(0, 0, 0, 0.05);
}

.floating-legal-search-btn:hover {
  transform: translateX(-50%) translateY(-4px) scale(1.03);
  box-shadow: 0 18px 45px rgba(255, 77, 109, 0.5), 0 0 30px rgba(255, 215, 0, 0.35);
}

.fab-content {
  display: flex;
  align-items: center;
  gap: 9px;
  background: rgba(15, 20, 35, 0.94);
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  position: relative;
  z-index: 2;
  transition: background 0.3s ease;
}

[data-theme="light"] .fab-content {
  background: rgba(255, 255, 255, 0.96);
  color: #0F1423;
}

.fab-ai-ring-img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 0 8px rgba(255, 77, 109, 0.85)) drop-shadow(0 0 16px rgba(255, 215, 0, 0.7));
  animation: ringRotateInfinite 5s infinite linear;
}

@keyframes ringRotateInfinite {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Shimmer animation sweep */
.fab-shimmer-sweep {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    60deg,
    transparent 30%,
    rgba(255, 255, 255, 0.22) 50%,
    transparent 70%
  );
  transform: rotate(30deg);
  animation: fabShimmer 3.5s infinite ease-in-out;
  pointer-events: none;
  z-index: 3;
}

@keyframes fabShimmer {
  0% { transform: translate(-100%, -100%) rotate(30deg); }
  40%, 100% { transform: translate(100%, 100%) rotate(30deg); }
}

@keyframes fabFloatCenter {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-5px); }
}

/* Page Transition Overlay */
.page-transition-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--hero-bg-grad);
  z-index: 99999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}

.page-transition-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.nav-actions {
  min-width: 150px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  flex-shrink: 0;
}

.btn-mivo-get-app {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-gold);
  color: #FFFFFF;
  padding: 9px 20px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.92rem;
  box-shadow: 0 4px 16px rgba(142, 52, 65, 0.35);
  transition: transform 160ms var(--ease-out-expo), background 160ms ease, box-shadow 160ms ease;
  user-select: none;
  -webkit-user-select: none;
}

.btn-mivo-get-app:hover {
  transform: translateY(-2px);
  background: var(--accent-amber);
  box-shadow: 0 8px 24px rgba(142, 52, 65, 0.45);
}

.btn-mivo-get-app:active {
  transform: scale(0.97) !important;
}

.btn-mivo-get-app .icon-arrow {
  width: 22px;
  height: 22px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  transition: transform 160ms var(--ease-out-expo);
}

.btn-mivo-get-app:hover .icon-arrow {
  transform: translate(2px, -2px);
}

.theme-toggle-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1px solid var(--card-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--text-main);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: transform 160ms var(--ease-out-expo), border-color 160ms ease, box-shadow 160ms ease;
  user-select: none;
  -webkit-user-select: none;
  cursor: pointer;
}

.theme-toggle-btn svg {
  width: 20px;
  height: 20px;
  display: block;
}

.theme-toggle-btn:hover {
  transform: scale(1.08) rotate(8deg);
  border-color: rgba(142, 52, 65, 0.35);
  box-shadow: 0 4px 14px rgba(142, 52, 65, 0.15);
}

.theme-toggle-btn:active {
  transform: scale(0.92) !important;
}

/* --- HERO SECTION --- */
.hero-section {
  padding: 120px 0 80px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--text-main);
  letter-spacing: -0.03em;
}

.hero-content p.subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 28px;
  max-width: 520px;
}

/* MIVO Hero Card: Borderless Seamless Blend */
.mivo-hero-card-container {
  background: var(--mivo-gold-card-grad);
  border: none !important;
  outline: none !important;
  border-radius: 40px;
  padding: 40px 20px 20px;
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: none !important;
  min-height: 490px;
  transition: background var(--transition-normal);
}

/* Authentic Dual Phone PNG Image Styling */
.mivo-hero-dual-phones-img {
  width: 100%;
  max-width: 540px;
  height: auto;
  max-height: 520px;
  object-fit: contain;
  margin-bottom: 0;
  filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.15));
  transform: none !important;
  transition: none !important;
}

.mivo-hero-dual-phones-img:hover {
  transform: none !important;
}

/* --- Features Grid Section --- */
.features-section {
  padding: 90px 0;
  background: var(--bg-primary);
}

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

.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 34px 26px;
  transition: transform 220ms var(--ease-out-expo), box-shadow 220ms var(--ease-out-expo), border-color 220ms ease;
  box-shadow: var(--card-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 20px;
  right: 20px;
  height: 3px;
  background: var(--brand-gold-grad);
  border-radius: 3px;
  opacity: 0;
  transform: scaleX(0.5);
  transition: opacity 200ms var(--ease-out-expo), transform 200ms var(--ease-out-expo);
}

.feature-card:hover {
  transform: translateY(-6px) scale(1.005);
  box-shadow: 0 20px 45px rgba(142, 52, 65, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  border-color: rgba(226, 59, 82, 0.5);
}

.feature-card:hover::before {
  opacity: 1;
  transform: scaleX(1);
}

.feature-icon-wrapper {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: rgba(142, 52, 65, 0.15);
  border: 1px solid rgba(142, 52, 65, 0.3);
  color: var(--accent-amber);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.feature-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* --- COMPACT MODERN FEATURE MATRIX --- */
.features-filter-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin: 0 auto 32px;
  flex-wrap: wrap;
}

.feature-filter-chip {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  color: var(--text-main);
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 180ms var(--ease-out-expo);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.feature-filter-chip span {
  color: var(--text-muted);
  transition: color 180ms ease;
}

.feature-filter-chip:hover {
  border-color: rgba(255, 77, 109, 0.5);
  background: var(--bg-tertiary);
  transform: translateY(-1px);
}

.feature-filter-chip:hover span {
  color: var(--text-main);
}

.feature-filter-chip.active {
  background: linear-gradient(135deg, #8E3441 0%, #5E0D12 100%) !important;
  border-color: #FF4D6D !important;
  color: #FFFFFF !important;
  box-shadow: 0 4px 16px rgba(142, 52, 65, 0.45);
}

.feature-filter-chip.active span {
  color: #FFFFFF !important;
  font-weight: 700;
}

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

.compact-feature-item {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 20px 22px;
  transition: all 220ms var(--ease-out-expo);
  box-shadow: var(--card-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.compact-feature-item:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 77, 109, 0.45);
  box-shadow: 0 12px 28px rgba(104, 14, 19, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.compact-feature-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.compact-feature-title-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.compact-feature-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(142, 52, 65, 0.16);
  border: 1px solid rgba(142, 52, 65, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.compact-feature-title {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: -0.01em;
  margin: 0;
}

.feature-micro-badge {
  font-size: 0.72rem;
  font-weight: 700;
  font-family: var(--font-mono);
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  background: rgba(234, 179, 8, 0.12);
  color: var(--accent-amber);
  border: 1px solid rgba(234, 179, 8, 0.28);
  white-space: nowrap;
}

.feature-micro-badge.badge-green {
  background: rgba(16, 185, 129, 0.12);
  color: #10B981;
  border-color: rgba(16, 185, 129, 0.28);
}

.feature-micro-badge.badge-purple {
  background: rgba(168, 85, 247, 0.12);
  color: #C084FC;
  border-color: rgba(168, 85, 247, 0.28);
}

.compact-feature-desc {
  font-size: 0.87rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0 0 12px;
}

.compact-feature-tags {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.compact-tag-pill {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--bg-tertiary);
  border: 1px solid var(--card-border);
  padding: 2px 8px;
  border-radius: 6px;
}

.ps-results-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media (max-width: 768px) {
  .compact-features-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .ps-results-grid {
    grid-template-columns: 1fr !important;
    gap: 12px;
  }
  .compact-feature-header {
    flex-wrap: wrap;
    gap: 6px;
  }
  .features-filter-nav {
    gap: 8px;
    margin-bottom: 24px;
  }
  .feature-filter-chip {
    padding: 6px 12px;
    font-size: 0.8rem;
  }
}

/* --- EXACT MIVO SECTION 3 BENTO SHOWCASE --- */
.bento-section {
  padding: 90px 0;
  background: var(--bg-primary);
}

.mivo-bento-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: stretch;
}

.mivo-bento-hero-card {
  background: var(--mivo-gold-card-grad);
  border: 1px solid var(--card-border);
  outline: none;
  border-radius: var(--radius-xl);
  padding: 40px 30px 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  box-shadow: var(--card-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
}

.bento-hero-text {
  text-align: center;
  width: 100%;
  margin-bottom: 20px;
}

.bento-hero-text h3 {
  font-size: 2.1rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--text-main);
  letter-spacing: -0.03em;
}

.bento-hero-text p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* CENTERED & ZOOMED-IN SINGLE PHONE MOCKUP */
.mivo-bento-phone-img {
  display: block;
  margin: 0 auto -210px;
  width: 105%;
  max-width: 460px;
  height: auto;
  max-height: 580px;
  object-fit: contain;
  filter: drop-shadow(0 20px 35px rgba(0, 0, 0, 0.4));
  transition: transform 0.4s ease;
}

.mivo-bento-phone-img:hover {
  transform: none;
}

.mivo-bento-side-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: space-between;
}

.bento-side-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  box-shadow: var(--card-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: transform 220ms var(--ease-out-expo), border-color 220ms ease, box-shadow 220ms ease;
}

.bento-side-card:hover {
  transform: translateY(-4px);
  border-color: rgba(226, 59, 82, 0.5);
  box-shadow: 0 16px 40px rgba(142, 52, 65, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.bento-mini-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(142, 52, 65, 0.2);
  border: 1px solid rgba(142, 52, 65, 0.35);
  color: var(--accent-amber);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

/* --- Interactive Section --- */
.interactive-section {
  padding: 90px 0;
  background: var(--bg-primary);
}

.demo-tabs {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-bottom: 36px;
}

.demo-tab-btn {
  padding: 10px 24px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.9rem;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  color: var(--text-muted);
  transition: transform 160ms var(--ease-out-expo), background-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
  user-select: none;
  -webkit-user-select: none;
}

.demo-tab-btn:hover {
  transform: translateY(-1px);
  color: var(--text-main);
  border-color: rgba(226, 59, 82, 0.4);
}

.demo-tab-btn:active {
  transform: scale(0.96) !important;
}

.demo-tab-btn.active {
  background: var(--brand-gold-grad);
  color: #FFFFFF;
  border-color: transparent;
  box-shadow: 0 6px 20px rgba(142, 52, 65, 0.4);
}

.demo-window {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--card-shadow);
  max-width: 860px;
  margin: 0 auto;
}

.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
}

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

.form-group label {
  display: block;
  font-weight: 700;
  font-size: 0.88rem;
  margin-bottom: 6px;
  color: var(--text-main);
}

.form-control {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--card-border);
  background: var(--bg-tertiary);
  color: var(--text-main);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

select.form-control {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  min-height: 48px;
  line-height: 1.35;
  color-scheme: dark;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23FF4D6D' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 16px;
  padding-right: 44px;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  cursor: pointer;
  touch-action: manipulation;
}

select.form-control option {
  background-color: #0D121F;
  color: #F8FAFC;
  padding: 12px 16px;
  font-size: 0.92rem;
}

[data-theme="light"] select.form-control option {
  background-color: #FFFFFF;
  color: #18181B;
}

[data-theme="light"] select.form-control {
  color-scheme: light;
}

select.form-control:required:invalid {
  color: var(--text-muted);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-amber);
  box-shadow: 0 0 0 3px rgba(226, 59, 82, 0.25);
}

.fee-result-box {
  background: #0F172A;
  color: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: center;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.fee-result-box .amount {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--accent-gold);
  margin: 8px 0;
  letter-spacing: -0.03em;
  font-family: var(--font-mono);
}

/* AI Prompt Simulator */
.ai-sim-box {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.sample-prompts {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.prompt-pill {
  padding: 8px 16px;
  background: #F9E4E7;
  color: var(--accent-amber);
  border: 1px solid rgba(142, 52, 65, 0.3);
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 160ms var(--ease-out-expo), background 160ms ease, color 160ms ease, box-shadow 160ms ease;
  user-select: none;
  -webkit-user-select: none;
}

.prompt-pill:hover {
  background: var(--accent-gold);
  color: #FFFFFF;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(142, 52, 65, 0.25);
}

.prompt-pill:active {
  transform: scale(0.95) !important;
}

.prompt-pill.active {
  background: var(--accent-gold);
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(142, 52, 65, 0.3);
}

.ai-response-card {
  background: var(--bg-tertiary);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: rgba(16, 185, 129, 0.15);
  color: #10B981;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 700;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

/* Quick Tool Preset Chips */
.btn-tool-chip {
  background: var(--bg-tertiary);
  color: var(--text-main);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-pill);
  padding: 4px 12px;
  font-size: 0.76rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 140ms ease;
  user-select: none;
}

.btn-tool-chip:hover {
  background: var(--accent-amber);
  color: #FFFFFF;
  border-color: var(--accent-amber);
  transform: translateY(-1px);
}

.btn-tool-chip:active {
  transform: scale(0.95);
}

/* Station & Court Finder Card Styles */
.ps-card {
  background: var(--bg-tertiary);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  transition: border-color 180ms ease, transform 180ms ease;
}

.ps-card:hover {
  border-color: rgba(226, 59, 82, 0.45);
  transform: translateY(-2px);
}

.ps-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}

.ps-code-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  background: rgba(245, 158, 11, 0.12);
  color: var(--accent-gold);
  border: 1px solid rgba(245, 158, 11, 0.25);
  white-space: nowrap;
}

.ps-court-badge {
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.25);
  color: #A5B4FC;
  border-radius: var(--radius-md);
  padding: 10px 14px;
  font-size: 0.84rem;
}

[data-theme="light"] .ps-court-badge {
  background: rgba(99, 102, 241, 0.08);
  color: #4338CA;
  border-color: rgba(99, 102, 241, 0.2);
}

/* BNS Criminal Law Mapper Enhanced UI */
.bns-comparison-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 14px;
}

.bns-col {
  padding: 16px;
  border-radius: var(--radius-md);
  background: var(--card-bg);
  border: 1px solid var(--card-border);
}

.bns-col.old {
  border-left: 3px solid #94A3B8;
}

.bns-col.new {
  border-left: 3px solid var(--accent-amber);
}

.bns-tag-group {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.bns-tag {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
}

.bns-tag.non-bailable {
  background: rgba(239, 68, 68, 0.15);
  color: #F87171;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.bns-tag.bailable {
  background: rgba(16, 185, 129, 0.15);
  color: #34D399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.bns-tag.cognizable {
  background: rgba(245, 158, 11, 0.15);
  color: #FBBF24;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.bns-tag.court {
  background: rgba(147, 51, 234, 0.15);
  color: #C084FC;
  border: 1px solid rgba(147, 51, 234, 0.3);
}

/* --- Testimonials Section --- */
.testimonials-section {
  padding: 90px 0;
  background: var(--bg-primary);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.review-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--card-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: transform 220ms var(--ease-out-expo), border-color 220ms ease, box-shadow 220ms ease;
}

.review-card:hover {
  transform: translateY(-4px);
  border-color: rgba(226, 59, 82, 0.4);
  box-shadow: 0 16px 38px rgba(142, 52, 65, 0.18);
}

.review-stars {
  color: var(--accent-gold);
  margin-bottom: 14px;
  font-size: 1rem;
}

.review-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  font-style: italic;
  margin-bottom: 20px;
}

.author-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--brand-gold-grad);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFF;
  font-weight: 800;
}

.author-info strong {
  display: block;
  font-size: 0.9rem;
}

.author-info small {
  color: var(--text-muted);
  font-size: 0.78rem;
}

/* --- CTA Banner Section --- */
.cta-banner-section {
  padding: 80px 0;
  background: var(--bg-primary);
}

.cta-box {
  background: linear-gradient(135deg, #0D121F 0%, #121829 60%, #171E33 100%);
  border: 1px solid var(--card-border);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
  border-radius: var(--radius-xl);
  padding: 50px;
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 36px;
  align-items: center;
}

.cta-box h2 {
  font-size: 2.3rem;
  margin-bottom: 14px;
  color: #FFFFFF;
}

.cta-box p {
  color: #94A3B8;
  font-size: 1.05rem;
  margin-bottom: 26px;
}

.qr-code-box {
  background: #FFFFFF;
  padding: 8px 8px 10px 8px;
  border-radius: var(--radius-md);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  color: #0F172A;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.qr-code-box .qr-code-img {
  width: 108px;
  height: 108px;
  object-fit: contain;
  display: block;
  border-radius: 4px;
}

.qr-code-box small {
  font-size: 0.74rem;
  font-weight: 700;
  color: #0F172A;
  text-align: center;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

/* --- Footer --- */
.footer {
  background: #05080E;
  color: #94A3B8;
  padding: 50px 0 32px;
  border-top: 1px solid rgba(142, 52, 65, 0.3);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 36px;
  margin-bottom: 56px;
}

.footer-col h5 {
  color: #FFFFFF;
  font-size: 1rem;
  margin-bottom: 18px;
  font-weight: 700;
}

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

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

.footer-col ul a:hover {
  color: var(--accent-gold);
}

.footer-disclaimer-note {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.82rem;
  color: #94A3B8;
  line-height: 1.6;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.footer-disclaimer-note .disclaimer-label,
.footer-disclaimer-note strong,
.footer-disclaimer-note span {
  color: #FFFFFF;
  font-weight: 700;
}

.footer-bottom {
  text-align: center;
  padding-top: 24px;
  font-size: 0.82rem;
  color: #94A3B8;
}

/* --- Responsive Media Queries --- */
@media (max-width: 1024px) {
  select.form-control {
    min-height: 52px;
    padding: 13px 46px 13px 14px;
    background-position: right 14px center;
    background-size: 18px;
    border-radius: 12px;
    font-size: 16px;
  }
  select.form-control option {
    font-size: 16px;
  }
  .demo-window [style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
  }
  .nav-pill-menu {
    display: none;
  }
  .navbar.mobile-nav-ready .nav-menu-shell {
    position: absolute;
    top: calc(100% + 12px);
    right: 24px;
    z-index: 2;
    display: flex;
    width: min(420px, calc(100vw - 48px));
    max-height: calc(100dvh - 96px - env(safe-area-inset-bottom));
    flex-direction: column;
    gap: 16px;
    padding: 16px;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(228, 228, 231, 0.92);
    border-radius: 16px;
    box-shadow: 0 24px 60px rgba(24, 24, 27, 0.2);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px) scale(0.98);
    transform-origin: top right;
    transition: opacity 180ms ease, transform 220ms var(--ease-out-expo), visibility 180ms ease;
  }
  [data-theme="dark"] .navbar.mobile-nav-ready .nav-menu-shell {
    background: rgba(13, 18, 31, 0.98);
    border-color: rgba(142, 52, 65, 0.38);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  }
  .navbar.mobile-nav-ready .nav-menu-shell.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }
  .navbar.mobile-nav-ready .nav-pill-menu {
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 0;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
  }
  .navbar.mobile-nav-ready .nav-pill-menu li a {
    display: flex;
    width: 100%;
    min-height: 48px;
    align-items: center;
    padding: 12px 14px;
    color: var(--text-main);
    border-radius: 10px;
    font-size: 0.95rem;
  }
  .navbar.mobile-nav-ready .nav-pill-menu li a:hover {
    color: var(--text-main);
    background: var(--bg-tertiary);
    transform: none;
  }
  .navbar.mobile-nav-ready .nav-pill-menu li a.active {
    color: #FFFFFF !important;
  }
  .navbar.mobile-nav-ready .nav-actions {
    display: grid;
    width: 100%;
    min-width: 0;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 10px;
    padding-top: 16px;
    border-top: 1px solid var(--card-border);
  }
  .navbar.mobile-nav-ready .theme-toggle-btn {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    border-radius: 14px;
  }
  .navbar.mobile-nav-ready .btn-mivo-get-app {
    width: 100%;
    min-height: 48px;
    justify-content: center;
    padding: 10px 18px;
    font-size: 0.92rem;
  }
  .navbar.mobile-nav-ready .mobile-menu-toggle {
    display: flex;
  }
  .navbar.mobile-nav-ready .mobile-menu-backdrop {
    position: fixed;
    inset: 0;
    z-index: 0;
    display: block;
    width: 100%;
    height: 100dvh;
    padding: 0;
    background: rgba(7, 10, 17, 0.38);
    border: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 180ms ease, visibility 180ms ease;
  }
  .navbar.mobile-nav-ready .mobile-menu-backdrop.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .navbar.mobile-menu-open {
    background: rgba(255, 255, 255, 0.96);
    border-bottom-color: rgba(228, 228, 231, 0.8);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
  }
  [data-theme="dark"] .navbar.mobile-menu-open {
    background: rgba(11, 15, 25, 0.95);
    border-bottom-color: rgba(142, 52, 65, 0.25);
  }
  .floating-legal-search-btn {
    display: none !important;
  }
  .hero-grid, .mivo-bento-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-content p.subtitle {
    margin: 0 auto 28px;
  }
  .store-badge-group {
    justify-content: center;
  }
  .features-grid, .reviews-grid {
    grid-template-columns: 1fr;
  }
  .calc-grid, .cta-box {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ==========================================================================
   LEGAL DOCUMENTATION & POLICIES DESIGN SYSTEM (PRIVACY, TERMS, SECURITY)
   ========================================================================== */
.legal-page-hero {
  padding: 130px 0 50px;
  text-align: center;
}

.legal-meta-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--accent-amber);
  background: rgba(142, 52, 65, 0.12);
  border: 1px solid rgba(142, 52, 65, 0.3);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 18px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.legal-page-section {
  padding: 40px 0 100px;
  background: var(--bg-primary);
  color: var(--text-main);
  transition: background 0.3s ease, color 0.3s ease;
}

.legal-grid-container {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  align-items: start;
}

/* Sticky Table of Contents (TOC) */
.legal-toc-wrapper {
  position: sticky;
  top: 100px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  box-shadow: var(--card-shadow);
  max-height: calc(100vh - 120px);
  overflow-y: auto;
}

.legal-toc-title {
  font-size: 0.85rem;
  font-family: var(--font-mono);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-amber);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--card-border);
}

.legal-toc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.legal-toc-list li a {
  font-size: 0.88rem;
  color: var(--text-muted);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  line-height: 1.4;
}

.legal-toc-list li a:hover {
  color: var(--text-main);
  background: rgba(142, 52, 65, 0.1);
  transform: translateX(3px);
}

.legal-toc-list li a .toc-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-amber);
  font-weight: 600;
}

/* Legal Content Body */
.legal-content-body {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-xl);
  padding: 48px;
  box-shadow: var(--card-shadow);
  line-height: 1.85;
  min-width: 0;
}

.legal-article-section {
  padding-bottom: 40px;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--card-border);
  scroll-margin-top: 100px;
}

.legal-article-section:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

.legal-section-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.legal-section-num {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(142, 52, 65, 0.15);
  color: var(--accent-amber);
  border: 1px solid rgba(142, 52, 65, 0.25);
  letter-spacing: 0.05em;
}

.legal-article-section h2 {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--text-main);
  margin: 0;
  min-width: 0;
  overflow-wrap: anywhere;
}

.legal-article-section,
.legal-section-header,
.grievance-officer-card,
.grievance-details,
.deletion-form-container,
.deletion-form-container form,
.form-group,
.input-icon-wrapper,
.scope-card,
.scope-card-content,
.consent-card {
  min-width: 0;
  max-width: 100%;
}

.legal-content-body p,
.legal-content-body li,
.legal-content-body a,
.legal-content-body code,
.legal-content-body td,
.legal-content-body th {
  overflow-wrap: anywhere;
}

.legal-article-section h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 24px 0 12px;
}

.legal-article-section p {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 18px;
}

.legal-article-section p strong,
.legal-article-section li strong {
  color: var(--text-main);
}

.legal-article-section ul,
.legal-article-section ol {
  padding-left: 24px;
  margin-bottom: 22px;
  color: var(--text-muted);
}

.legal-article-section li {
  margin-bottom: 10px;
}

/* Callout Boxes */
.legal-callout-box {
  background: rgba(142, 52, 65, 0.08);
  border-left: 4px solid var(--accent-gold);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 20px 24px;
  margin: 24px 0;
}

.legal-callout-box.info {
  background: rgba(30, 58, 138, 0.08);
  border-left-color: #3B82F6;
}

.legal-callout-box.warning {
  background: rgba(180, 83, 9, 0.08);
  border-left-color: #F59E0B;
}

.legal-callout-box.security {
  background: rgba(16, 185, 129, 0.08);
  border-left-color: #10B981;
}

.legal-callout-box h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.legal-callout-box p {
  margin-bottom: 0;
  font-size: 0.94rem;
}

/* Legal Tables */
.legal-table-responsive {
  width: 100%;
  overflow-x: auto;
  margin: 24px 0;
  border-radius: var(--radius-md);
  border: 1px solid var(--card-border);
}

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

.legal-table th {
  background: rgba(142, 52, 65, 0.12);
  color: var(--text-main);
  padding: 14px 16px;
  font-weight: 700;
  font-family: var(--font-heading);
  border-bottom: 1px solid var(--card-border);
}

.legal-table td {
  padding: 14px 16px;
  color: var(--text-muted);
  border-bottom: 1px solid var(--card-border);
  vertical-align: top;
}

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

.legal-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

/* Grievance Officer Card */
.grievance-officer-card {
  background: var(--bg-secondary);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin: 28px 0;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  align-items: center;
}

.grievance-badge-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--brand-gold-grad);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}

.grievance-details h4 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 4px;
}

.grievance-details p {
  margin-bottom: 6px;
  font-size: 0.92rem;
}

.grievance-details a {
  color: var(--accent-amber);
  font-weight: 600;
  text-decoration: underline;
}

@media (max-width: 900px) {
  .legal-grid-container {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .legal-toc-wrapper {
    position: static;
    max-height: none;
  }
  .legal-content-body {
    padding: 28px 20px;
  }
  .grievance-officer-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .brand-logo {
    min-width: 140px;
    height: 50px;
  }
  .brand-logo-img {
    height: 50px;
    min-height: 50px;
  }
  .navbar.scrolled .brand-logo {
    min-width: 125px;
    height: 40px;
  }
  .navbar.scrolled .brand-logo-img {
    height: 40px;
    min-height: 40px;
  }
}

/* ==========================================================================
   ACCOUNT & DATA DELETION PAGE STYLES (DPDP Act & Google/Apple Compliant)
   ========================================================================== */

.deletion-lifecycle-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 36px;
}

.deletion-step-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  position: relative;
  transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.deletion-step-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 77, 109, 0.45);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.deletion-step-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.deletion-step-num {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent-amber);
  background: var(--accent-yellow-light);
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.deletion-step-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 6px;
}

.deletion-step-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Deletion Form Container */
.deletion-form-container {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-xl);
  padding: 44px 40px;
  box-shadow: var(--card-shadow);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  position: relative;
}

.form-section-divider {
  border: 0;
  height: 1px;
  background: var(--card-border);
  margin: 32px 0 28px;
}

.form-section-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.form-section-icon {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-sm);
  background: var(--accent-yellow-light);
  color: var(--accent-amber);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}

.form-section-header h2 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
}

.input-icon-wrapper {
  position: relative;
}

.input-icon-wrapper .form-control {
  padding-left: 44px;
}

.input-icon-wrapper .input-leading-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 1.05rem;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.field-helper-hint {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Scope Selection Cards */
.scope-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.scope-card {
  border: 1.5px solid var(--card-border);
  background: var(--bg-tertiary);
  border-radius: var(--radius-md);
  padding: 18px 16px;
  cursor: pointer;
  position: relative;
  transition: all var(--transition-fast);
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.scope-card:hover {
  border-color: rgba(255, 77, 109, 0.4);
  background: var(--card-bg);
}

.scope-card.selected {
  border-color: var(--accent-amber);
  background: var(--card-bg);
  box-shadow: 0 0 0 1px var(--accent-amber), 0 8px 24px rgba(255, 77, 109, 0.12);
}

.scope-radio-indicator {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  transition: all var(--transition-fast);
}

.scope-card.selected .scope-radio-indicator {
  border-color: var(--accent-amber);
  background: var(--accent-amber);
}

.scope-radio-indicator::after {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #FFFFFF;
  opacity: 0;
  transform: scale(0);
  transition: all var(--transition-fast);
}

.scope-card.selected .scope-radio-indicator::after {
  opacity: 1;
  transform: scale(1);
}

.scope-card-content {
  flex: 1;
}

.scope-card-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-main);
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.scope-badge {
  font-size: 0.72rem;
  font-weight: 700;
  font-family: var(--font-mono);
  padding: 2px 7px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
}

.scope-badge.badge-danger {
  background: rgba(239, 68, 68, 0.15);
  color: #EF4444;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.scope-badge.badge-warning {
  background: rgba(245, 158, 11, 0.15);
  color: #F59E0B;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.scope-card-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* Deletion Scope Warning Box */
.deletion-warning-box {
  background: rgba(239, 68, 68, 0.06);
  border: 1px solid rgba(239, 68, 68, 0.25);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  display: flex;
  gap: 14px;
  margin-top: 20px;
}

.deletion-warning-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
  color: #EF4444;
}

.deletion-warning-text {
  font-size: 0.85rem;
  color: var(--text-main);
  line-height: 1.5;
}

.deletion-warning-text strong {
  color: #EF4444;
}

/* Consent Box */
.consent-card {
  background: var(--bg-tertiary);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  cursor: pointer;
  transition: border-color var(--transition-fast);
}

.consent-card:hover {
  border-color: rgba(255, 77, 109, 0.4);
}

.consent-card input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--accent-amber);
  cursor: pointer;
  flex-shrink: 0;
}

.consent-card label {
  font-size: 0.88rem;
  color: var(--text-main);
  line-height: 1.45;
  cursor: pointer;
  user-select: none;
}

/* Submit Danger Button */
.btn-deletion-submit {
  width: 100%;
  padding: 16px 24px;
  font-size: 1.05rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #E11D48 0%, #BE123C 50%, #9F1239 100%);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 10px 25px -5px rgba(225, 29, 72, 0.45);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), filter var(--transition-fast);
}

.btn-deletion-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -4px rgba(225, 29, 72, 0.6);
  filter: brightness(1.05);
}

.btn-deletion-submit:active {
  transform: scale(0.98);
}

/* Success Confirmation Screen */
.deletion-success-box {
  display: none;
  text-align: center;
  padding: 24px 0;
  animation: fadeIn 0.4s var(--ease-out-expo) forwards;
}

.success-badge-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.12);
  border: 2px solid rgba(16, 185, 129, 0.35);
  color: #10B981;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  margin-bottom: 20px;
}

.ticket-reference-card {
  background: var(--bg-tertiary);
  border: 1px dashed var(--accent-amber);
  border-radius: var(--radius-md);
  padding: 20px;
  margin: 28px auto;
  max-width: 500px;
}

.ticket-reference-card .ticket-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  font-weight: 700;
  margin-bottom: 8px;
}

.ticket-reference-card .ticket-code {
  font-family: var(--font-mono);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent-amber);
  letter-spacing: 0.06em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.copy-ref-btn {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  color: var(--text-main);
  padding: 6px 12px;
  font-size: 0.8rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-family: var(--font-body);
  transition: all var(--transition-fast);
}

.copy-ref-btn:hover {
  border-color: var(--accent-amber);
  color: var(--accent-amber);
}

.copy-ref-btn:active {
  transform: scale(0.96);
}

.deletion-summary-table {
  width: 100%;
  max-width: 500px;
  margin: 0 auto 28px;
  text-align: left;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.deletion-summary-table tr {
  border-bottom: 1px solid var(--card-border);
}

.deletion-summary-table td {
  padding: 10px 4px;
}

.deletion-summary-table td:first-child {
  color: var(--text-muted);
  font-weight: 600;
}

.deletion-summary-table td:last-child {
  color: var(--text-main);
  text-align: right;
  font-weight: 700;
}

/* FAQ Grid on Deletion Page */
.deletion-faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 48px;
}

.deletion-faq-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 24px;
}

.deletion-faq-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.deletion-faq-card p {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   SUPPORT HUB & FEATURE REQUEST DESK STYLES
   ========================================================================== */

.portal-tabs-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 32px;
}

.portal-tabs-container {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--bg-tertiary);
  border: 1px solid var(--card-border);
  padding: 5px;
  border-radius: var(--radius-pill);
  max-width: 100%;
}

.portal-tab-btn {
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-muted);
  padding: 11px 22px;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all var(--transition-fast);
  user-select: none;
  white-space: nowrap;
}

.portal-tab-btn:hover {
  color: var(--text-main);
  background: rgba(255, 77, 109, 0.08);
}

.portal-tab-btn.active {
  background: linear-gradient(135deg, #FF4D6D 0%, #8E3441 50%, #B9384E 100%);
  color: #FFFFFF;
  border-color: rgba(255, 77, 109, 0.5);
  box-shadow: 0 4px 18px rgba(142, 52, 65, 0.35);
}

.portal-tab-btn:active {
  transform: scale(0.97);
}

.tab-label-mobile {
  display: none;
}

.tab-label-full {
  display: inline;
}

/* Deletion Lifecycle Carousel */
.deletion-carousel-wrapper {
  margin-bottom: 32px;
}

.deletion-lifecycle-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.deletion-carousel-dots {
  display: none;
}

/* Form Row 2-Column Responsive Class */
.form-row-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* Feature Category Chips */
.feature-category-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.category-chip {
  background: var(--bg-tertiary);
  border: 1.5px solid var(--card-border);
  border-radius: var(--radius-pill);
  padding: 8px 16px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all var(--transition-fast);
  user-select: none;
}

.category-chip:hover {
  border-color: var(--accent-amber);
  background: var(--card-bg);
}

.category-chip.selected {
  border-color: var(--accent-amber);
  background: var(--accent-yellow-light);
  color: var(--accent-amber);
  box-shadow: 0 0 0 1px var(--accent-amber);
}

.category-chip:active {
  transform: scale(0.96);
}

/* Trust Guarantee Banner (100% Free & No Ads) */
.trust-banner-card {
  background: linear-gradient(135deg, rgba(142, 52, 65, 0.12) 0%, rgba(255, 77, 109, 0.06) 100%);
  border: 1px solid rgba(255, 77, 109, 0.3);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  margin-bottom: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.trust-banner-content {
  flex: 1;
  min-width: 0;
}

.trust-banner-content h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.trust-banner-content p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

.trust-badge-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-shrink: 0;
  align-items: stretch;
  justify-content: center;
}

.trust-pill {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 700;
  font-family: var(--font-mono);
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

/* Support Helpdesk Cards */
.support-channels-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.support-channel-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.support-channel-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 77, 109, 0.45);
}

.support-channel-icon {
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.support-channel-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 6px;
}

.support-channel-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin-bottom: 12px;
}

.support-channel-link {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--accent-amber);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ==========================================================================
   MOBILE & TABLET RESPONSIVE OVERRIDES (< 900px & < 768px)
   ========================================================================== */

@media (max-width: 900px) {
  /* Legal Pages (Terms, Privacy, Security Policy) */
  .legal-grid-container {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }
  .legal-toc-wrapper {
    display: none !important;
  }
  .legal-page-hero {
    padding: 100px 16px 24px !important;
  }
  .legal-meta-badge {
    max-width: 100% !important;
    white-space: normal !important;
    text-align: center !important;
    font-size: 0.72rem !important;
    line-height: 1.4 !important;
    padding: 6px 12px !important;
    margin: 0 auto 12px !important;
    display: inline-block !important;
  }
  .legal-page-hero h1 {
    font-size: clamp(1.8rem, 6vw, 2.4rem) !important;
    margin-bottom: 10px !important;
  }
  .legal-page-hero p {
    font-size: 0.92rem !important;
    line-height: 1.5 !important;
    padding: 0 4px !important;
  }
  .legal-content-body {
    padding: 22px 14px !important;
    border-radius: var(--radius-lg) !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: visible !important;
    word-break: normal !important;
    overflow-wrap: anywhere !important;
  }
  .legal-content-body * {
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .legal-content-body table {
    display: block !important;
    width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }
  .legal-article-section {
    padding-bottom: 28px !important;
    margin-bottom: 28px !important;
  }
  .legal-section-header h2 {
    font-size: 1.25rem !important;
  }

  .legal-section-header {
    align-items: flex-start;
  }

  .legal-section-num {
    flex: 0 0 auto;
  }

  .trust-banner-card {
    flex-direction: column;
    align-items: flex-start;
  }
  .trust-badge-group {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
  }
  .support-channels-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .container {
    padding-left: max(16px, env(safe-area-inset-left));
    padding-right: max(16px, env(safe-area-inset-right));
  }

  .navbar {
    padding: 12px 0;
  }

  .navbar.scrolled {
    padding: 8px 0;
  }

  .navbar .nav-container {
    gap: 10px;
  }

  .navbar.mobile-nav-ready .nav-menu-shell {
    right: max(16px, env(safe-area-inset-right));
    width: min(420px, calc(100vw - 32px));
  }

  .brand-logo,
  .navbar.scrolled .brand-logo {
    min-width: 0;
    min-height: 44px;
    width: auto;
    height: auto;
    flex: 0 1 124px;
  }

  .brand-logo-img,
  .navbar.scrolled .brand-logo-img {
    width: 100%;
    max-width: 137px;
    height: auto;
    min-height: 0;
  }

  .nav-actions {
    min-width: 0;
    gap: 8px;
  }

  .theme-toggle-btn {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
  }

  .btn-mivo-get-app {
    min-height: 44px;
    padding: 9px 12px;
    gap: 6px;
    font-size: 0.84rem;
    white-space: nowrap;
  }

  .btn-mivo-get-app .icon-arrow {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
  }

  .hero-section {
    padding: 104px 0 56px;
  }

  .hero-content,
  .hero-visual,
  .mivo-bento-hero-card,
  .bento-right-stack,
  .demo-window,
  .canvas-main-content,
  .canvas-search-box,
  .canvas-result-area {
    min-width: 0;
    max-width: 100%;
  }

  .hero-content h1 {
    font-size: clamp(2.25rem, 11vw, 3rem);
    overflow-wrap: anywhere;
  }

  .eyebrow-badge {
    max-width: 100%;
    justify-content: center;
    padding: 8px 12px;
    white-space: normal;
    text-align: center;
    line-height: 1.35;
  }

  .store-badge-group {
    width: 100%;
    gap: 10px;
  }

  .store-badge-img-link {
    flex: 1 1 135px;
    min-width: 0;
    max-width: 168px;
  }

  .store-badge-img {
    width: 100%;
    height: auto;
  }

  .mivo-bento-hero-card,
  .demo-window,
  .canvas-result-area {
    padding: 24px 16px;
  }

  .demo-tabs {
    justify-content: flex-start;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .demo-tabs::-webkit-scrollbar {
    display: none;
  }

  .demo-tab-btn {
    min-height: 44px;
    flex: 0 0 auto;
  }

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

  .footer .brand-logo {
    min-width: 0;
    width: 137px;
    height: auto;
    flex-basis: auto;
  }

  /* Search console */
  .canvas-main-content {
    padding: 108px max(16px, env(safe-area-inset-right)) 48px max(16px, env(safe-area-inset-left)) !important;
    overflow-x: clip;
  }

  .canvas-hero-title {
    font-size: clamp(1.8rem, 9vw, 2.4rem) !important;
    flex-wrap: wrap;
    gap: 8px !important;
    overflow-wrap: anywhere;
  }

  .canvas-hero-sub {
    font-size: 0.96rem !important;
    margin-bottom: 28px !important;
  }

  .canvas-search-input {
    max-width: 100%;
    min-width: 0;
    padding: 16px 14px 16px 48px !important;
    font-size: 16px !important;
    text-overflow: ellipsis;
  }

  .search-lens-icon {
    left: 16px !important;
  }

  .canvas-pills-row {
    gap: 8px !important;
    padding: 0 !important;
  }

  .canvas-pill {
    max-width: 100%;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: normal;
    text-align: center;
    overflow-wrap: anywhere;
  }

  /* Support Page Header & Tabs */
  .support-header-container {
    padding-top: 90px !important;
    min-width: 0;
  }
  .support-eyebrow-badge {
    display: none !important;
  }
  .support-subtitle {
    font-size: 0.92rem !important;
    padding: 0 12px !important;
  }
  .portal-tabs-wrapper {
    margin-bottom: 22px !important;
    width: 100% !important;
  }
  .portal-tabs-container {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 3px !important;
    padding: 4px !important;
  }
  .portal-tab-btn {
    padding: 8px 3px !important;
    font-size: 0.76rem !important;
    gap: 3px !important;
  }
  .tab-label-full {
    display: none !important;
  }
  .tab-label-mobile {
    display: inline !important;
  }

  /* Account Deletion Lifecycle Auto-Carousel */
  .deletion-carousel-wrapper {
    position: relative !important;
    overflow: hidden !important;
    margin-bottom: 22px !important;
  }
  .deletion-lifecycle-grid {
    display: flex !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    scroll-behavior: smooth !important;
    gap: 12px !important;
    scrollbar-width: none !important;
    -webkit-overflow-scrolling: touch !important;
    padding: 2px 2px 8px !important;
  }
  .deletion-lifecycle-grid::-webkit-scrollbar {
    display: none !important;
  }
  .deletion-step-card {
    flex: 0 0 100% !important;
    min-width: 100% !important;
    scroll-snap-align: start !important;
    box-sizing: border-box !important;
    padding: 20px 16px !important;
  }
  .deletion-carousel-dots {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 8px !important;
    margin-top: 6px !important;
  }
  .carousel-dot {
    width: 8px !important;
    height: 8px !important;
    border-radius: 999px !important;
    background: var(--card-border) !important;
    border: none !important;
    padding: 0 !important;
    transition: all 0.25s ease !important;
    cursor: pointer !important;
  }
  .carousel-dot.active {
    width: 24px !important;
    background: var(--accent-amber) !important;
  }

  /* Forms on Mobile */
  .deletion-form-container {
    padding: 22px 14px !important;
    border-radius: var(--radius-lg) !important;
    width: 100%;
    overflow: visible;
  }

  .deletion-form-container .form-control {
    font-size: 16px;
  }

  .form-section-header {
    align-items: flex-start;
  }

  .form-section-header h2,
  .scope-card-title,
  .field-helper-hint,
  .deletion-warning-text,
  .consent-card label {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .scope-card-title {
    flex-wrap: wrap;
    gap: 8px;
  }

  .scope-badge {
    flex: 0 0 auto;
  }

  .ticket-reference-card .ticket-code {
    font-size: clamp(1.15rem, 6vw, 1.8rem);
    flex-wrap: wrap;
  }

  .deletion-summary-table {
    table-layout: fixed;
  }

  .deletion-summary-table td {
    overflow-wrap: anywhere;
  }
  .form-row-2col {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }
  .scope-cards-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
  .deletion-warning-box {
    padding: 14px 12px !important;
    font-size: 0.82rem !important;
  }
  .consent-card {
    padding: 12px 12px !important;
  }
  .consent-card label {
    font-size: 0.82rem !important;
  }
  .btn-deletion-submit {
    padding: 14px 16px !important;
    font-size: 0.95rem !important;
  }
  .deletion-faq-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  .trust-pill {
    white-space: normal;
  }
}

@media (max-width: 600px) {
  .demo-tabs {
    width: 100%;
    max-width: 520px;
    margin: 0 auto 24px;
    padding: 6px;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 4px !important;
    overflow: visible;
    background: var(--bg-tertiary);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
  }

  .demo-tab-btn {
    width: 100%;
    min-height: 48px;
    flex: 1 1 auto;
    padding: 12px 16px;
    border-color: transparent;
    border-radius: var(--radius-md);
    text-align: center;
  }

  .legal-table-responsive {
    overflow: visible;
    border: 0;
    border-radius: 0;
  }

  .legal-table,
  .legal-table tbody,
  .legal-table tr,
  .legal-table td {
    display: block !important;
    width: 100% !important;
  }

  .legal-table {
    overflow: visible !important;
  }

  .legal-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .legal-table tr {
    margin-bottom: 14px;
    overflow: hidden;
    background: var(--bg-tertiary);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-md);
  }

  .legal-table tr:last-child {
    margin-bottom: 0;
  }

  .legal-table td {
    padding: 14px;
    border-bottom: 1px solid var(--card-border);
  }

  .legal-table td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 5px;
    color: var(--accent-amber);
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }

  .legal-table td:first-child {
    background: rgba(142, 52, 65, 0.1);
    color: var(--text-main);
  }

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

@media (max-width: 360px) {
  .btn-mivo-get-app .icon-arrow {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mobile-menu-toggle span,
  .navbar.mobile-nav-ready .nav-menu-shell,
  .navbar.mobile-nav-ready .mobile-menu-backdrop {
    transition: none;
  }
}
