/* ==========================================================================
   VigiProp — Official Web Landing & Play Store Compliance Suite
   Design System synchronized with VigiProp Flutter App (AppTheme & VigiPropColors)
   ========================================================================== */

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

:root {
  /* Dark Theme (Default — matches AppTheme.currentBrightness = Brightness.dark) */
  --bg-primary: #12161D;
  --bg-elevated: #1A1E25;
  --surface: #1E232B;
  --surface-light: #28303B;
  --surface-hover: #2E3744;
  --surface-glass: rgba(30, 35, 43, 0.78);
  --nav-glass: rgba(18, 22, 29, 0.85);
  --border: #333D4B;
  --border-subtle: #262E3A;

  /* Brand Accents */
  --mint: #26D39E;
  --mint-bright: #5EF38C;
  --mint-glow: rgba(38, 211, 158, 0.22);
  --mint-soft: rgba(38, 211, 158, 0.12);
  --cyan: #38BDF8;
  --cyan-muted: #7EC4E6;
  --cyan-soft: rgba(56, 189, 248, 0.14);
  --coral: #FF8F7A;
  --coral-soft: rgba(255, 143, 122, 0.14);
  --purple: #A855F7;
  --amber: #F59E0B;
  --amber-soft: rgba(245, 158, 11, 0.15);
  --red: #EF4444;
  --red-soft: rgba(239, 68, 68, 0.15);
  --navy-badge: #0C2044;

  /* Typography */
  --text-primary: #E6EAF0;
  --text-secondary: #9AA4B2;
  --text-muted: #64748B;
  --on-accent: #07111A;

  /* Shadows & Radius */
  --shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 12px 36px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 24px 64px rgba(0, 0, 0, 0.55);
  --shadow-mint: 0 8px 28px rgba(38, 211, 158, 0.28);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-xl: 28px;
  --radius-pill: 9999px;

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Outfit', 'Inter', sans-serif;
}

[data-theme="light"] {
  /* Light Theme — matches AppTheme.lightTheme (Cream / White / Sky Blue / Coral / Dark Slate) */
  --bg-primary: #FFFBF5;
  --bg-elevated: #F7F4EE;
  --surface: #FFFFFF;
  --surface-light: #F3EFE8;
  --surface-hover: #EBE6DC;
  --surface-glass: rgba(255, 255, 255, 0.88);
  --nav-glass: rgba(255, 251, 245, 0.88);
  --border: #CBD5E1;
  --border-subtle: #E2E8F0;

  --mint: #0EA5E9;
  --mint-bright: #10B981;
  --mint-glow: rgba(14, 165, 233, 0.18);
  --mint-soft: rgba(14, 165, 233, 0.11);
  --cyan: #0284C7;
  --cyan-muted: #0369A1;
  --cyan-soft: rgba(2, 132, 199, 0.11);
  --coral: #FF7F66;
  --coral-soft: rgba(255, 127, 102, 0.14);
  --amber: #D97706;
  --amber-soft: rgba(217, 119, 6, 0.13);
  --red: #DC2626;
  --red-soft: rgba(220, 38, 38, 0.12);

  --text-primary: #1E293B;
  --text-secondary: #475569;
  --text-muted: #64748B;
  --on-accent: #FFFFFF;

  --shadow-sm: 0 4px 14px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 12px 32px rgba(15, 23, 42, 0.09);
  --shadow-lg: 0 24px 60px rgba(15, 23, 42, 0.13);
  --shadow-mint: 0 8px 24px rgba(14, 165, 233, 0.25);
}

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

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color 0.25s ease, color 0.25s ease;
}

a {
  color: var(--mint);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
  opacity: 0.9;
}

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

/* Bilingual visibility rules */
html[data-lang="fr"] [data-i18n-lang="en"] {
  display: none !important;
}
html[data-lang="en"] [data-i18n-lang="fr"] {
  display: none !important;
}

/* Ambient Background Glows */
.ambient-canvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.35;
}

[data-theme="light"] .ambient-orb {
  opacity: 0.22;
}

.ambient-orb.orb-1 {
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, var(--mint) 0%, transparent 70%);
  top: -180px;
  right: -120px;
}

.ambient-orb.orb-2 {
  width: 460px;
  height: 460px;
  background: radial-gradient(circle, var(--cyan) 0%, transparent 70%);
  top: 40%;
  left: -180px;
}

.ambient-orb.orb-3 {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, var(--coral) 0%, transparent 70%);
  bottom: -140px;
  right: 15%;
  opacity: 0.18;
}

/* Layout Containers */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.container-narrow {
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* Top Offline-First / Law 25 Status Bar */
.top-status-bar {
  background: var(--surface);
  border-bottom: 1px solid var(--border-subtle);
  padding: 8px 0;
  font-size: 0.78rem;
  font-weight: 700;
  position: relative;
  z-index: 50;
}

.top-status-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.status-pill-left {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--amber);
}

.status-bolt {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--amber-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
}

.status-sync-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 9px;
  border-radius: 8px;
  background: var(--bg-primary);
  border: 1px solid rgba(38, 211, 158, 0.4);
  color: var(--mint);
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mint-bright);
  box-shadow: 0 0 8px var(--mint-bright);
  animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.25); opacity: 0.65; }
}

.status-links-right {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--text-secondary);
}

.status-links-right a {
  color: var(--text-secondary);
  font-weight: 600;
}

.status-links-right a:hover {
  color: var(--mint);
}

/* Sticky Navbar */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--nav-glass);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all 0.25s ease;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  padding: 10px 0;
  gap: 16px;
}

.brand-logo-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-badge {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--navy-badge);
  border: 1.5px solid rgba(94, 243, 140, 0.35);
  box-shadow: 0 0 24px rgba(38, 211, 158, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  position: relative;
  flex-shrink: 0;
}

.logo-badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.logo-badge .online-dot {
  position: absolute;
  right: -3px;
  bottom: -3px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--mint-bright);
  border: 2.5px solid var(--bg-primary);
}

.brand-text-col {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  white-space: nowrap;
}

.brand-eyebrow {
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--text-secondary);
  text-transform: uppercase;
}

.brand-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.brand-title span {
  color: var(--mint-bright);
}

[data-theme="light"] .brand-title span {
  color: var(--mint);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  flex-wrap: nowrap;
}

.nav-links > li {
  position: relative;
  flex-shrink: 0;
}

.nav-links a,
.nav-dropdown-trigger {
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 10px;
  transition: all 0.2s ease;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  line-height: 1.2;
}

.nav-links a:hover,
.nav-links a.active,
.nav-dropdown:hover .nav-dropdown-trigger {
  color: var(--text-primary);
  background: var(--surface-light);
}

/* Dropdown for Legal / Play Store Pages */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 240px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 8px;
  box-shadow: var(--shadow-md);
  list-style: none;
  display: none;
  flex-direction: column;
  gap: 4px;
  z-index: 150;
}

.nav-dropdown::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 10px;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  display: flex;
}

.nav-dropdown-menu a {
  width: 100%;
  padding: 9px 12px;
  font-size: 0.85rem;
  border-radius: 9px;
  color: var(--text-secondary);
  justify-content: flex-start;
}

.nav-dropdown-menu a:hover {
  color: var(--mint);
  background: var(--surface-light);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.icon-btn,
.lang-btn {
  height: 38px;
  padding: 0 12px;
  border-radius: var(--radius-pill);
  background: var(--surface-light);
  border: 1px solid var(--border);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.icon-btn:hover,
.lang-btn:hover {
  border-color: var(--mint);
  background: var(--surface-hover);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 0.95rem;
  padding: 13px 24px;
  border-radius: 14px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.22s ease;
  text-decoration: none;
  white-space: nowrap;
}

.btn-sm {
  padding: 9px 16px;
  font-size: 0.84rem;
  border-radius: 12px;
}

.btn-primary {
  background: var(--mint);
  color: var(--on-accent);
  box-shadow: var(--shadow-mint);
}

.btn-primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
  opacity: 1;
}

.btn-secondary {
  background: var(--surface);
  color: var(--text-primary);
  border-color: var(--border);
}

.btn-secondary:hover {
  border-color: var(--mint);
  background: var(--surface-light);
}

.btn-outline-cyan {
  background: var(--cyan-soft);
  color: var(--cyan);
  border-color: rgba(56, 189, 248, 0.4);
}

.btn-outline-cyan:hover {
  background: rgba(56, 189, 248, 0.22);
}

.mobile-menu-toggle {
  display: none;
  background: var(--surface-light);
  border: 1px solid var(--border);
  color: var(--text-primary);
  width: 40px;
  height: 40px;
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

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

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

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 13px;
  border-radius: var(--radius-pill);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.badge-mint {
  background: var(--mint-soft);
  color: var(--mint);
  border: 1px solid rgba(38, 211, 158, 0.4);
}

.badge-cyan {
  background: var(--cyan-soft);
  color: var(--cyan);
  border: 1px solid rgba(56, 189, 248, 0.4);
}

.badge-coral {
  background: var(--coral-soft);
  color: var(--coral);
  border: 1px solid rgba(255, 143, 122, 0.4);
}

.badge-amber {
  background: var(--amber-soft);
  color: var(--amber);
  border: 1px solid rgba(245, 158, 11, 0.4);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.35rem, 4.4vw, 3.7rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.text-gradient {
  background: linear-gradient(135deg, var(--mint-bright) 0%, var(--cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

[data-theme="light"] .text-gradient {
  background: linear-gradient(135deg, #0284C7 0%, #10B981 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.12rem;
  color: var(--text-secondary);
  margin-bottom: 30px;
  max-width: 600px;
  line-height: 1.65;
}

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

/* Store Badges */
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 11px 20px;
  border-radius: 15px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  color: var(--text-primary);
  text-decoration: none;
  transition: all 0.22s ease;
  box-shadow: var(--shadow-sm);
}

.store-btn:hover {
  border-color: var(--mint);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.store-btn.store-primary {
  background: var(--mint);
  color: var(--on-accent);
  border-color: var(--mint);
  box-shadow: var(--shadow-mint);
}

.store-btn-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.15;
}

.store-btn-small {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.85;
}

.store-btn-big {
  font-size: 1.02rem;
  font-weight: 900;
}

.store-coming-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  background: var(--amber-soft);
  color: var(--amber);
  border: 1px solid rgba(245, 158, 11, 0.45);
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-left: 4px;
}

/* Waitlist Card in Hero */
.waitlist-card {
  background: var(--surface);
  border: 1.5px solid var(--mint);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  margin-bottom: 28px;
  box-shadow: var(--shadow-md), 0 0 36px var(--mint-glow);
  position: relative;
  text-align: left;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.waitlist-card.highlight-pulse {
  transform: scale(1.015);
  box-shadow: var(--shadow-lg), 0 0 48px rgba(38, 211, 158, 0.45);
}

.waitlist-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}

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

.waitlist-form-row {
  display: grid;
  grid-template-columns: 1.3fr 0.85fr auto;
  gap: 10px;
  align-items: stretch;
}

.waitlist-input,
.waitlist-select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 500;
  transition: border-color 0.2s ease;
}

.waitlist-input:focus,
.waitlist-select:focus {
  outline: none;
  border-color: var(--mint);
}

.waitlist-perk {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px;
  font-size: 0.78rem;
  color: var(--text-secondary);
  font-weight: 600;
}

@media (max-width: 768px) {
  .waitlist-form-row {
    grid-template-columns: 1fr;
  }
}

/* Hero Metrics Strip */
.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
}

.metric-item {
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px 16px;
}

.metric-val {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 900;
  color: var(--mint);
  line-height: 1.1;
}

.metric-lbl {
  font-size: 0.78rem;
  color: var(--text-secondary);
  font-weight: 600;
  margin-top: 4px;
}

/* Interactive Phone Showcase */
.hero-Visual-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.phone-stage {
  position: relative;
  width: 100%;
  max-width: 390px;
  margin: 0 auto;
}

.phone-frame {
  background: #0B0E14;
  border-radius: 38px;
  padding: 12px;
  border: 2px solid var(--border);
  box-shadow: var(--shadow-lg), 0 0 50px var(--mint-glow);
  position: relative;
  overflow: hidden;
}

.phone-screen-viewport {
  border-radius: 28px;
  overflow: hidden;
  background: #12161D;
  aspect-ratio: 9 / 19.2;
  max-height: 640px;
  width: 100%;
  position: relative;
}

.phone-screen-viewport img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: opacity 0.25s ease;
}

.floating-chip {
  position: absolute;
  background: var(--surface-glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 10px 14px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 4;
}

.floating-chip.chip-top-left {
  top: 56px;
  left: -24px;
}

.floating-chip.chip-bottom-right {
  bottom: 54px;
  right: -24px;
}

.chip-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  flex-shrink: 0;
}

.screen-selector-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}

.screen-tab-btn {
  padding: 7px 13px;
  border-radius: var(--radius-pill);
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 0.76rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
}

.screen-tab-btn:hover,
.screen-tab-btn.active {
  background: var(--mint);
  color: var(--on-accent);
  border-color: var(--mint);
}

/* Section Headers */
.section {
  padding: 84px 0;
  position: relative;
}

.section-alt {
  background: var(--bg-elevated);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

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

.section-eyebrow {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mint);
  margin-bottom: 10px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.2vw, 2.65rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.section-desc {
  color: var(--text-secondary);
  font-size: 1.05rem;
}

/* Features Bento Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.feature-card.span-2 {
  grid-column: span 2;
}

.feature-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 1.35rem;
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 0.94rem;
  line-height: 1.6;
}

.feature-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.feature-tag {
  font-size: 0.73rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 8px;
  background: var(--surface-light);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
}

/* App Gallery Carousel / Grid */
.screens-showcase-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.screen-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
}

.screen-card:hover {
  transform: translateY(-5px);
  border-color: var(--cyan);
  box-shadow: var(--shadow-md);
}

.screen-thumb {
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 9 / 17.5;
  background: #0E131B;
  margin-bottom: 14px;
  border: 1px solid var(--border-subtle);
}

.screen-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.screen-card h4 {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.screen-card p {
  font-size: 0.83rem;
  color: var(--text-secondary);
}

/* Role Switcher Section (Buyer vs OACIQ Broker) */
.role-tabs-bar {
  display: inline-flex;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 6px;
  gap: 6px;
  margin-bottom: 36px;
}

.role-tab {
  padding: 11px 24px;
  border-radius: 12px;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.role-tab.active {
  background: var(--mint);
  color: var(--on-accent);
  box-shadow: var(--shadow-sm);
}

.role-panel {
  display: none;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 44px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 42px;
}

.role-panel.active {
  display: grid;
}

.check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 22px 0;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text-primary);
}

.check-badge {
  width: 24px;
  height: 24px;
  border-radius: 7px;
  background: var(--mint-soft);
  color: var(--mint);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Pricing Cards (matching PaywallScreen) */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.price-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: all 0.25s ease;
}

.price-card.featured {
  border-color: var(--coral);
  border-width: 2px;
  box-shadow: 0 16px 48px rgba(255, 143, 122, 0.14);
  transform: translateY(-6px);
}

.price-ribbon {
  position: absolute;
  top: -13px;
  right: 24px;
  background: var(--coral);
  color: #2B0903;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
}

.price-amount {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 900;
  line-height: 1.1;
  margin: 14px 0 4px;
}

.price-sub {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--mint);
  margin-bottom: 18px;
}

.price-card.featured .price-sub {
  color: var(--coral);
}

/* Legal & Play Store Compliance Pages Styling */
.legal-hero {
  padding: 56px 0 36px;
  border-bottom: 1px solid var(--border-subtle);
  background: var(--bg-elevated);
}

.legal-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
  font-size: 0.84rem;
  color: var(--text-secondary);
}

.legal-layout {
  display: grid;
  grid-template-columns: 270px 1fr;
  gap: 40px;
  padding: 52px 0 84px;
  align-items: start;
}

.legal-toc {
  position: sticky;
  top: 96px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
}

.legal-toc h4 {
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

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

.legal-toc a {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 6px 10px;
  border-radius: 8px;
  transition: all 0.18s ease;
}

.legal-toc a:hover {
  color: var(--mint);
  background: var(--surface-light);
}

.legal-content {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 42px;
}

.legal-section {
  margin-bottom: 38px;
  scroll-margin-top: 100px;
}

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

.legal-section h2 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 800;
  margin-bottom: 14px;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.legal-section h3 {
  font-size: 1.08rem;
  font-weight: 800;
  margin: 18px 0 8px;
  color: var(--text-primary);
}

.legal-section p,
.legal-section li {
  color: var(--text-secondary);
  font-size: 0.96rem;
  line-height: 1.7;
  margin-bottom: 10px;
}

.legal-section ul,
.legal-section ol {
  padding-left: 22px;
  margin-bottom: 14px;
}

.callout-box {
  padding: 18px 22px;
  border-radius: var(--radius-md);
  border-left: 4px solid var(--mint);
  background: var(--surface-light);
  margin: 18px 0;
}

.callout-box.warning {
  border-left-color: var(--amber);
  background: var(--amber-soft);
}

.callout-box.danger {
  border-left-color: var(--red);
  background: var(--red-soft);
}

.callout-box h4 {
  font-size: 0.96rem;
  font-weight: 800;
  margin-bottom: 6px;
  color: var(--text-primary);
}

/* Data Safety / Permissions Table */
.data-table-wrap {
  overflow-x: auto;
  margin: 16px 0 22px;
  border-radius: 14px;
  border: 1px solid var(--border);
}

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

.data-table th {
  background: var(--surface-light);
  color: var(--text-primary);
  font-weight: 800;
  padding: 13px 16px;
  border-bottom: 1px solid var(--border);
}

.data-table td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  vertical-align: top;
}

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

.code-chip {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.78rem;
  padding: 3px 8px;
  border-radius: 6px;
  background: var(--bg-primary);
  color: var(--cyan);
  border: 1px solid var(--border);
  white-space: nowrap;
}

/* Forms (Account Deletion & Contact) */
.form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
}

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

.form-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  transition: border-color 0.2s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--mint);
}

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

/* FAQ Accordion */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 860px;
  margin: 0 auto;
}

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

.faq-question {
  width: 100%;
  text-align: left;
  padding: 20px 24px;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 1.02rem;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq-answer {
  padding: 0 24px 20px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  display: none;
}

.faq-item.open .faq-answer {
  display: block;
}

.faq-item.open {
  border-color: var(--mint);
}

/* Footer */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 68px 0 36px;
  margin-top: 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-col h4 {
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
}

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

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

/* Responsive Breakpoints */
@media (max-width: 1180px) {
  .nav-links a,
  .nav-dropdown-trigger {
    padding: 7px 9px;
    font-size: 0.83rem;
  }
}

@media (max-width: 1060px) {
  .navbar > nav {
    position: static;
    width: 0;
    height: 0;
    flex: 0 0 0;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    flex-direction: column;
    align-items: stretch;
    padding: 16px 20px 22px;
    gap: 6px;
    z-index: 200;
    max-height: calc(100vh - 70px);
    overflow-y: auto;
  }
  .nav-links.mobile-open {
    display: flex;
  }
  .nav-links > li {
    width: 100%;
  }
  .nav-links a,
  .nav-dropdown-trigger {
    width: 100%;
    padding: 10px 14px;
    font-size: 0.94rem;
    justify-content: space-between;
  }
  .nav-dropdown-menu {
    position: static;
    display: flex;
    box-shadow: none;
    border: none;
    background: var(--bg-elevated);
    margin-top: 4px;
    padding: 6px 8px;
  }
  .mobile-menu-toggle {
    display: inline-flex;
    flex-shrink: 0;
    font-size: 1.15rem;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-badges,
  .hero-cta-group {
    justify-content: center;
  }
  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  .features-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .feature-card.span-2 {
    grid-column: span 1;
  }
  .screens-showcase-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .role-panel.active {
    grid-template-columns: 1fr;
  }
  .legal-layout {
    grid-template-columns: 1fr;
  }
  .legal-toc {
    position: static;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .top-status-bar {
    display: none;
  }
  .container,
  .container-narrow {
    padding: 0 16px;
  }
  .navbar {
    min-height: 64px;
    gap: 8px;
  }
  .brand-logo-link {
    gap: 9px;
  }
  .logo-badge {
    width: 36px;
    height: 36px;
    border-radius: 10px;
  }
  .brand-eyebrow {
    font-size: 0.5rem;
    letter-spacing: 0.08em;
  }
  .brand-title {
    font-size: 1.16rem;
  }
  .nav-actions {
    gap: 6px;
  }
  /* Hide the wide navbar CTA button on phone screens so EN + Theme + Burger menu always fit */
  .nav-actions > .btn {
    display: none;
  }
  .icon-btn,
  .lang-btn,
  .mobile-menu-toggle {
    height: 36px;
    min-width: 36px;
    padding: 0 10px;
    border-radius: 10px;
  }
  .hero-section {
    padding: 36px 0 60px;
  }
  .hero-metrics {
    grid-template-columns: 1fr;
  }
  .screens-showcase-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .floating-chip {
    display: none;
  }
  .legal-content {
    padding: 20px;
  }
}
