/* ============================================
   IRIS — Brand & Platform Design System
   Identity: Royal Lavender · Deep Purple · Soft Lavender · Cool Neutrals
   Type: SK Quadratica (logo) · Roboto · Tajawal (Arabic)
   ============================================ */

/* --- Design Tokens (Dark = default) --- */
:root {
  /* Brand palette — IRIS identity guide */
  --iris-violet: #6A4FB6;     /* Royal Lavender — primary */
  --iris-deep:   #5A3E92;     /* Deep Purple */
  --iris-light:  #BCA7E8;     /* Soft Lavender */
  --iris-gray:   #797D8A;     /* Gray */
  --iris-gray-light: #E1E5EA; /* light Gray */
  --iris-ink:    #111315;     /* Dark */
  --iris-paper:  #F1F3F6;     /* Light */

  /* Colors — Dark */
  --bg-primary: #111315;
  --bg-secondary: #17191D;
  --bg-card: #1C1F24;
  --bg-card-hover: #242830;
  --bg-surface: #191B20;
  --bg-input: #1E2127;
  --bg-tertiary: #2A2E37;

  --accent: #6A4FB6;
  --accent-light: #8E78C9;
  --accent-dark: #5A3E92;
  --accent-glow: rgba(106, 79, 182, 0.35);
  --accent-subtle: rgba(106, 79, 182, 0.12);

  --text-primary: #F1F3F6;
  --text-secondary: #B9BCC6;
  --text-muted: #797D8A;
  --text-accent: #BCA7E8;

  --success: #1F8A5B;
  --warning: #C9A227;
  --error: #E0556B;
  --info: #8E78C9;

  --border: rgba(241, 243, 246, 0.10);
  --border-primary: rgba(241, 243, 246, 0.10);
  --border-accent: rgba(106, 79, 182, 0.40);

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 30px rgba(106, 79, 182, 0.18);
  --shadow-glow-lg: 0 0 60px rgba(106, 79, 182, 0.22);

  /* Phone mockup — dark */
  --phone-bg: #1C1F24;
  --phone-border: rgba(241, 243, 246, 0.10);
  --phone-notch: #111315;
  --phone-nav-bg: linear-gradient(to top, #1C1F24 70%, transparent);

  /* Nav — dark */
  --nav-bg: rgba(17, 19, 21, 0.80);
  --nav-bg-scroll: rgba(17, 19, 21, 0.95);

  /* Grid overlay */
  --grid-line: rgba(188, 167, 232, 0.05);

  /* Logo fill */
  --logo-fill: #F1F3F6;

  /* Typography */
  --font-main: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-en: 'Roboto', sans-serif;
  --font-ar: 'Tajawal', 'Cairo', 'IBM Plex Sans Arabic', 'Noto Sans Arabic', sans-serif;
  --font-ar-heading: 'Tajawal', 'Cairo', 'IBM Plex Sans Arabic', sans-serif;
  --font-mono: 'JetBrains Mono', 'Roboto Mono', monospace;

  /* Spacing */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-4xl: 96px;

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-normal: 250ms ease;
  --transition-slow: 400ms ease;

  /* Phone mockup sizing */
  --phone-width: 280px;
  --phone-height: 580px;
  --phone-radius: 36px;
  --phone-bezel: 8px;
}

/* --- Light Theme Override --- */
body.light {
  --bg-primary: #F1F3F6;
  --bg-secondary: #E8EBF0;
  --bg-card: #FFFFFF;
  --bg-card-hover: #F4F6F9;
  --bg-surface: #FAFBFC;
  --bg-input: #ECEEF2;
  --bg-tertiary: #E1E5EA;

  --accent: #6A4FB6;
  --accent-light: #8264C9;
  --accent-dark: #5A3E92;
  --accent-glow: rgba(106, 79, 182, 0.16);
  --accent-subtle: rgba(106, 79, 182, 0.08);

  --text-primary: #111315;
  --text-secondary: #4A4E59;
  --text-muted: #797D8A;
  --text-accent: #5A3E92;

  --success: #1F8A5B;
  --warning: #B0881F;
  --error: #C8435A;

  --border: rgba(17, 19, 21, 0.10);
  --border-primary: rgba(17, 19, 21, 0.10);
  --border-accent: rgba(106, 79, 182, 0.28);

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.1);
  --shadow-glow: 0 0 30px rgba(90, 62, 146, 0.10);
  --shadow-glow-lg: 0 0 60px rgba(90, 62, 146, 0.12);

  /* Phone mockup — light */
  --phone-bg: #FFFFFF;
  --phone-border: rgba(17, 19, 21, 0.10);
  --phone-notch: #E8EBF0;
  --phone-nav-bg: linear-gradient(to top, #FFFFFF 70%, transparent);

  /* Nav — light */
  --nav-bg: rgba(241, 243, 246, 0.85);
  --nav-bg-scroll: rgba(241, 243, 246, 0.95);

  /* Grid overlay */
  --grid-line: rgba(17, 19, 21, 0.04);

  /* Logo fill */
  --logo-fill: #111315;
}

/* Smooth theme transition */
body, body * {
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

/* --- Theme Toggle Button --- */
.theme-toggle {
  width: 36px;
  height: 36px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.theme-toggle:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-accent);
  transform: scale(1.05);
}

.theme-toggle svg {
  width: 18px;
  height: 18px;
  transition: all 0.4s ease;
}

.theme-toggle .icon-sun,
.theme-toggle .icon-moon {
  position: absolute;
  transition: all 0.4s ease;
}

.theme-toggle .icon-sun {
  opacity: 0;
  transform: rotate(-90deg) scale(0.5);
}

.theme-toggle .icon-moon {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

body.light .theme-toggle .icon-sun {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

body.light .theme-toggle .icon-moon {
  opacity: 0;
  transform: rotate(90deg) scale(0.5);
}

/* --- Light mode specific overrides --- */
body.light .gradient-text {
  background: linear-gradient(135deg, #1A1A2E 0%, var(--accent) 50%, var(--accent-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

body.light .glow-orb { opacity: 0.06 !important; }

body.light .badge-accent {
  background: rgba(90, 62, 146, 0.08);
  color: var(--accent);
  border-color: rgba(90, 62, 146, 0.2);
}

body.light .badge-success {
  background: rgba(31, 138, 91, 0.08);
  color: var(--success);
  border-color: rgba(31, 138, 91, 0.2);
}

body.light .badge-warning {
  background: rgba(184, 146, 31, 0.08);
  color: var(--warning);
  border-color: rgba(184, 146, 31, 0.2);
}

body.light .btn-primary {
  box-shadow: 0 4px 15px rgba(90, 62, 146, 0.2);
}

body.light .btn-primary:hover {
  color: white;
  box-shadow: 0 6px 25px rgba(90, 62, 146, 0.3);
}

body.light .btn-secondary {
  background: rgba(0, 0, 0, 0.03);
  border-color: var(--border);
}

body.light .btn-secondary:hover {
  background: rgba(0, 0, 0, 0.06);
}

body.light .card:hover {
  box-shadow: var(--shadow-md);
}

body.light .card-glow:hover {
  box-shadow: var(--shadow-glow), var(--shadow-md);
}

/* Light scrollbar */
body.light ::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

body.light ::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.12);
}

body.light ::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.2);
}

/* Light mode screen map */
body.light .screen-map {
  background: linear-gradient(135deg, #ECE5F1 0%, #E0D7EA 50%, #ECE5F1 100%);
}

body.light .screen-map::after {
  background:
    radial-gradient(circle at 30% 40%, rgba(90, 62, 146, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 70% 60%, rgba(90, 62, 146, 0.07) 0%, transparent 40%);
}

body.light .screen-map-grid {
  background-image:
    linear-gradient(rgba(0,0,0,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.04) 1px, transparent 1px);
  background-size: 20px 20px;
}

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

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

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

body.ltr {
  font-family: var(--font-main);
  direction: ltr;
}

/* Arabic-specific typography — Cairo for bold headings (supports 800/900 weight) */
.heading-1, .heading-2, .heading-3,
.feature-title, .step-title, .footer-heading,
.screen-title, .screen-showcase-title,
.label, .badge, .btn {
  font-family: var(--font-ar-heading);
}

body.ltr .heading-1, body.ltr .heading-2, body.ltr .heading-3,
body.ltr .feature-title, body.ltr .step-title, body.ltr .footer-heading,
body.ltr .screen-title, body.ltr .screen-showcase-title,
body.ltr .label, body.ltr .badge, body.ltr .btn {
  font-family: var(--font-main);
}

/* Better Arabic line height */
body:not(.ltr) .heading-1 { line-height: 1.25; }
body:not(.ltr) .heading-2 { line-height: 1.3; }
body:not(.ltr) .body-lg, body:not(.ltr) .body-md { line-height: 1.8; }

/* RTL text alignment defaults */
body:not(.ltr) .text-center { text-align: center; }
body:not(.ltr) .section-header { text-align: center; }

/* RTL-specific layout adjustments */
body:not(.ltr) .screen-card-accent {
  border-right: 3px solid var(--accent);
  border-left: none;
}
body.ltr .screen-card-accent {
  border-left: 3px solid var(--accent);
  border-right: none;
}

body:not(.ltr) .screen-chip {
  margin: 0 0 6px 4px;
}
body.ltr .screen-chip {
  margin: 0 4px 6px 0;
}

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

a:hover {
  color: var(--accent-light);
}

a.btn.btn-primary:hover {
  color: white;
}
a.btn.btn-secondary:hover {
  color: var(--text-primary);
}
a.btn.btn-ghost:hover {
  color: var(--text-primary);
}

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

/* --- Utility Classes --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.container-narrow {
  max-width: 800px;
}

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }
.gap-lg { gap: var(--space-lg); }
.gap-xl { gap: var(--space-xl); }
.gap-2xl { gap: var(--space-2xl); }
.text-center { text-align: center; }

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
}

/* --- Typography --- */
.heading-1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.heading-2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.heading-3 {
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  font-weight: 600;
  line-height: 1.3;
}

.body-lg {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

.body-md {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

.body-sm {
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

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

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 14px 28px;
  border: none;
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-normal);
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: white;
  box-shadow: 0 4px 15px rgba(106, 79, 182, 0.3);
}

.btn-primary:hover {
  background: var(--accent-light);
  color: white;
  box-shadow: 0 6px 25px rgba(106, 79, 182, 0.4);
  transform: translateY(-2px);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, 0.15);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  padding: 10px 20px;
}

.btn-ghost:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

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

.btn-lg {
  padding: 18px 36px;
  font-size: 1.05rem;
}

/* --- Cards --- */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  transition: all var(--transition-normal);
}

.card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.card-glow:hover {
  border-color: var(--border-accent);
  box-shadow: var(--shadow-glow);
}

/* --- Badge / Tag --- */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.badge-accent {
  background: var(--accent-subtle);
  color: var(--accent-light);
  border: 1px solid var(--border-accent);
}

.badge-success {
  background: rgba(31, 138, 91, 0.1);
  color: var(--success);
  border: 1px solid rgba(31, 138, 91, 0.2);
}

.badge-warning {
  background: rgba(242, 201, 76, 0.1);
  color: var(--warning);
  border: 1px solid rgba(242, 201, 76, 0.2);
}

/* --- Phone Mockup --- */
.phone-mockup {
  width: var(--phone-width);
  height: var(--phone-height);
  background: var(--phone-bg);
  border-radius: var(--phone-radius);
  border: 2px solid var(--phone-border);
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
  box-shadow: var(--shadow-lg);
}

.phone-mockup::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 28px;
  background: var(--phone-notch);
  border-radius: 0 0 18px 18px;
  z-index: 10;
}

.phone-screen {
  width: 100%;
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  padding-top: 28px;
}

.phone-screen::-webkit-scrollbar {
  display: none;
}

/* Phone status bar */
.phone-status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 20px 4px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-primary);
}

/* Phone bottom nav */
.phone-nav {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 8px 0 20px;
  background: var(--phone-nav-bg);
  z-index: 5;
}

.phone-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-size: 9px;
  color: var(--text-muted);
  cursor: default;
}

.phone-nav-item.active {
  color: var(--accent);
}

.phone-nav-icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* --- Sections --- */
.section {
  padding: var(--space-4xl) 0;
  position: relative;
}

.section-header {
  max-width: 680px;
  margin: 0 auto var(--space-3xl);
  text-align: center;
}

.section-header .label {
  margin-bottom: var(--space-md);
  display: block;
}

.section-header .heading-2 {
  margin-bottom: var(--space-md);
}

/* --- Background Effects --- */
.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  opacity: 0.4;
}

.glow-orb-blue {
  background: var(--accent);
}

.glow-orb-purple {
  background: #5A3E92;
}

.grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

/* --- Animations --- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

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

@keyframes pulse-glow {
  0%, 100% { opacity: 1; box-shadow: 0 0 8px rgba(106, 79, 182, 0.3); }
  50% { opacity: 0.7; box-shadow: 0 0 16px rgba(106, 79, 182, 0.5); }
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* --- Splash Screen (refined, on-brand) --- */
.splash {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
.splash.exit {
  opacity: 0;
  visibility: hidden;
}
.splash.hidden {
  display: none;
}

/* soft brand glow behind the mark */
.splash::before {
  content: '';
  position: absolute;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 65%);
  opacity: 0;
  animation: splashGlow 1s ease 0.1s forwards;
  pointer-events: none;
}

.splash-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.splash-mascot {
  width: 92px;
  height: auto;
  border-radius: 14px;
  opacity: 0;
  transform: translateY(16px) scale(0.9);
  animation: splashPop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.1s forwards;
  filter: drop-shadow(0 14px 30px var(--accent-glow));
}

.splash-logo {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  direction: ltr;
  opacity: 0;
  transform: translateY(12px);
  animation: splashFadeUp 0.5s ease 0.32s forwards;
}

@keyframes splashPop {
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.splash-tagline {
  font-family: var(--font-ar);
  font-size: clamp(12px, 3vw, 15px);
  color: var(--text-muted);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0;
  animation: splashFadeUp 0.5s ease 0.5s forwards;
}
body.ltr .splash-tagline { font-family: var(--font-en); }

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

.splash-bar {
  width: 140px;
  height: 3px;
  background: var(--bg-tertiary);
  border-radius: 3px;
  overflow: hidden;
  opacity: 0;
  animation: splashFadeUp 0.3s ease 0.6s forwards;
}

.splash-bar-fill {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  border-radius: 3px;
  animation: splashBarFill 1s cubic-bezier(0.4, 0, 0.2, 1) 0.6s forwards;
}

@keyframes splashBarFill {
  to { width: 100%; }
}

@keyframes splashGlow {
  0% { opacity: 0; transform: scale(0.6); }
  100% { opacity: 1; transform: scale(1); }
}

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

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

.animate-in {
  animation: fadeInUp 0.6s ease forwards;
  opacity: 0;
}

.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }
.animate-delay-4 { animation-delay: 0.4s; }

/* --- App-Scoped Theme (phone only) --- */
.app-theme-switch {
  width: 40px;
  height: 22px;
  border-radius: 11px;
  background: var(--bg-tertiary);
  position: relative;
  cursor: pointer;
  transition: background 0.3s;
  flex-shrink: 0;
}
.app-theme-switch .app-theme-knob {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  position: absolute;
  top: 2px;
  left: 2px;
  transition: all 0.3s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.iphone-frame.app-light .app-theme-switch {
  background: var(--accent);
}
.iphone-frame.app-light .app-theme-switch .app-theme-knob {
  left: auto;
  right: 2px;
}

/* App-light overrides — scoped to phone frame only */
.iphone-frame.app-light {
  --phone-bg: #FAFAF8;
  --phone-border: #E0DDD8;
  --phone-notch: #000;
  --text-primary: #111315;
  --text-secondary: #4A4E59;
  --text-muted: #8888A0;
  --bg-primary: #F1F3F6;
  --bg-secondary: #E8EBF0;
  --bg-card: #FFFFFF;
  --bg-card-hover: #F4F6F9;
  --bg-surface: #FAFBFC;
  --bg-input: #ECEEF2;
  --bg-tertiary: #E1E5EA;
  --border-primary: rgba(0,0,0,0.08);
  --border-accent: rgba(106, 79, 182,0.2);
  background: #FAFAF8;
}
.iphone-frame.app-light .iphone-tab-bar {
  background: #FAFAF8;
  border-top-color: rgba(0,0,0,0.08);
}
.iphone-frame.app-light .iphone-status {
  color: #1A1A2E;
}
.iphone-frame.app-light .app-map-dark {
  background: linear-gradient(135deg, #ECE5F1 0%, #DCD2E8 50%, #E6DEF0 100%);
}
.iphone-frame.app-light .app-map-roads::before,
.iphone-frame.app-light .app-map-roads::after {
  background: rgba(0,0,0,0.06);
}

/* --- Interactive Phone Prototype --- */
.interactive-demo {
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.interactive-demo .demo-header {
  margin-bottom: 36px;
}
.interactive-demo .demo-header h2 {
  font-family: var(--font-ar-heading), var(--font-en), sans-serif;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 8px;
}
.interactive-demo .demo-header p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  max-width: 480px;
  margin: 0 auto;
}

/* Screen selector tabs */
.demo-tabs {
  display: inline-flex;
  gap: 4px;
  margin-bottom: 32px;
  background: var(--bg-card);
  padding: 5px;
  border-radius: 14px;
  border: 1px solid var(--border-primary);
  flex-wrap: wrap;
  justify-content: center;
}
.demo-tab {
  padding: 8px 16px;
  border-radius: 10px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: inherit;
  white-space: nowrap;
}
.demo-tab.active {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 2px 8px rgba(106, 79, 182, 0.3);
}
.demo-tab:not(.active):hover {
  color: var(--text-primary);
  background: var(--bg-secondary);
}

/* Phone frame */
.iphone-frame {
  width: 375px;
  height: 812px;
  margin: 0 auto;
  background: var(--phone-bg);
  border-radius: 52px;
  box-shadow:
    0 0 0 10px #111,
    0 0 0 12px #2a2a2a,
    0 50px 100px rgba(0,0,0,0.35),
    0 20px 40px rgba(0,0,0,0.12);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}
body.light .iphone-frame {
  box-shadow:
    0 0 0 10px #222,
    0 0 0 12px #444,
    0 50px 100px rgba(0,0,0,0.18),
    0 20px 40px rgba(0,0,0,0.08);
}

/* Dynamic Island */
.iphone-island {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 34px;
  background: #000;
  border-radius: 20px;
  z-index: 200;
  pointer-events: none;
}

/* Status bar */
.iphone-status {
  height: 54px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 0 28px 10px;
  flex-shrink: 0;
  position: relative;
  z-index: 10;
  font-size: 0.75rem;
  font-weight: 700;
  font-family: var(--font-main);
  color: var(--text-primary);
  direction: ltr;
}
.iphone-status-icons {
  display: flex;
  align-items: center;
  gap: 5px;
}
.iphone-status-icons svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

/* Screen content area */
.iphone-body {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: none;
  position: relative;
}
.iphone-body::-webkit-scrollbar { display: none; }

/* Individual screens */
.app-screen {
  display: none;
  min-height: 100%;
  direction: rtl;
}
.app-screen.active {
  display: block;
}
body.ltr .app-screen {
  direction: ltr;
}

/* Bottom tab bar */
.iphone-tab-bar {
  height: 78px;
  background: var(--phone-bg);
  border-top: 1px solid var(--border-primary);
  display: flex;
  align-items: flex-start;
  justify-content: space-around;
  padding: 8px 4px 0;
  flex-shrink: 0;
  position: relative;
  z-index: 10;
  direction: ltr;
}
.tab-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 6px 12px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  color: var(--text-muted);
  transition: color 0.2s;
  position: relative;
}
.tab-item.active {
  color: var(--accent);
}
.tab-item svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.tab-item.active svg {
  stroke-width: 2;
}
.tab-item span {
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.tab-dot {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 18px;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: var(--accent);
  display: none;
}
.tab-item.active .tab-dot { display: block; }

/* ---- Shared In-App Components ---- */
.app-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 18px 12px;
}
.app-header-bar h3 {
  font-family: var(--font-ar-heading), var(--font-en), sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
}
.app-icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  position: relative;
}
.app-icon-btn svg {
  width: 16px;
  height: 16px;
  stroke: var(--text-primary);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.app-badge {
  position: absolute;
  top: -3px;
  right: -3px;
  width: 16px;
  height: 16px;
  background: var(--accent);
  border-radius: 50%;
  font-size: 0.55rem;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--phone-bg);
}

/* In-app cards */
.app-card {
  margin: 0 14px 10px;
  background: var(--bg-card);
  border: 1px solid var(--border-primary);
  border-radius: 14px;
  padding: 14px;
}
.app-chip {
  display: inline-flex;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.68rem;
  font-weight: 600;
  border: 1px solid var(--border-primary);
  background: var(--bg-secondary);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s;
}
.app-chip.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

/* In-app button */
.app-btn {
  display: block;
  width: calc(100% - 28px);
  margin: 0 14px 12px;
  padding: 13px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 14px;
  font-size: 0.82rem;
  font-weight: 700;
  font-family: inherit;
  letter-spacing: 0.03em;
  cursor: pointer;
  text-align: center;
  box-shadow: 0 4px 16px rgba(106, 79, 182, 0.25);
}

/* Map placeholder */
.app-map {
  margin: 0 14px 10px;
  height: 180px;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
}
.app-map-dark {
  background: linear-gradient(135deg, #16121f 0%, #251d33 50%, #181426 100%);
}
body.light .app-map-dark {
  background: linear-gradient(135deg, #ECE5F1 0%, #DCD2E8 50%, #E6DEF0 100%);
}
.app-map-roads {
  position: absolute;
  inset: 0;
}
.app-map-roads::before,
.app-map-roads::after {
  content: '';
  position: absolute;
  background: rgba(255,255,255,0.06);
}
body.light .app-map-roads::before,
body.light .app-map-roads::after {
  background: rgba(0,0,0,0.06);
}
.app-map-roads::before {
  width: 100%;
  height: 2px;
  top: 40%;
}
.app-map-roads::after {
  width: 2px;
  height: 100%;
  left: 55%;
}

/* Progress steps */
.app-steps {
  margin: 0 14px 10px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.app-step {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  position: relative;
}
.app-step-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.55rem;
  font-weight: 700;
  color: #fff;
  position: relative;
  z-index: 2;
}
.app-step-dot.done {
  background: var(--accent);
}
.app-step-dot.current {
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(106, 79, 182, 0.2);
}
.app-step-dot.pending {
  background: var(--bg-tertiary);
  color: var(--text-muted);
}
.app-step-line {
  position: absolute;
  left: 10px;
  top: 30px;
  bottom: -8px;
  width: 2px;
  background: var(--border-primary);
}
body:not(.ltr) .app-step-line {
  left: auto;
  right: 10px;
}
.app-step-text .step-title {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text-primary);
}
.app-step-text .step-sub {
  font-size: 0.65rem;
  color: var(--text-muted);
}

/* Avatar */
.app-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #5A3E92);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-main);
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
  border: 3px solid var(--border-accent);
}

/* Menu list */
.app-menu {
  margin: 0 14px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border-primary);
  border-radius: 14px;
  overflow: hidden;
}
.app-menu-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border-primary);
  cursor: pointer;
  transition: background 0.15s;
}
.app-menu-row:last-child {
  border-bottom: none;
}
.app-menu-row:hover {
  background: var(--bg-secondary);
}
.app-menu-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.app-menu-icon svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.app-menu-text {
  flex: 1;
}
.app-menu-title {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-primary);
}
.app-menu-sub {
  font-size: 0.62rem;
  color: var(--text-muted);
  margin-top: 1px;
}
.app-menu-chevron svg {
  width: 14px;
  height: 14px;
  stroke: var(--text-muted);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
}

/* Stats row inside app */
.app-stats {
  display: flex;
  margin: 0 14px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border-primary);
  border-radius: 14px;
  padding: 14px 4px;
}
.app-stat {
  flex: 1;
  text-align: center;
}
.app-stat + .app-stat {
  border-left: 1px solid var(--border-primary);
}
body:not(.ltr) .app-stat + .app-stat {
  border-left: none;
  border-right: 1px solid var(--border-primary);
}
.app-stat-num {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--accent);
  display: block;
  font-family: var(--font-main);
}
.app-stat-label {
  font-size: 0.58rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Earnings chart bars */
.app-chart-bars {
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  height: 100px;
  padding: 0 14px;
  margin-bottom: 8px;
}
.app-bar-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  flex: 1;
}
.app-bar {
  width: 24px;
  border-radius: 6px 6px 0 0;
  background: var(--accent);
  transition: height 0.3s ease;
}
.app-bar.secondary {
  background: var(--bg-tertiary);
}
.app-bar-label {
  font-size: 0.55rem;
  color: var(--text-muted);
}

/* Responsive phone */
@media (max-width: 480px) {
  .iphone-frame {
    width: 320px;
    height: 693px;
    border-radius: 44px;
  }
  .demo-tabs {
    gap: 2px;
    padding: 4px;
  }
  .demo-tab {
    padding: 6px 10px;
    font-size: 0.7rem;
  }
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .section { padding: var(--space-3xl) 0; }
  :root {
    --phone-width: 240px;
    --phone-height: 500px;
  }
}

@media (max-width: 480px) {
  .container { padding: 0 var(--space-md); }
  :root {
    --phone-width: 220px;
    --phone-height: 460px;
  }
}

/* --- Language Toggle --- */
.lang-toggle {
  display: inline-flex;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 3px;
  gap: 2px;
}

.lang-toggle button {
  padding: 6px 16px;
  border: none;
  border-radius: var(--radius-full);
  background: transparent;
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  font-family: inherit;
}

.lang-toggle button.active {
  background: var(--accent);
  color: white;
}

/* --- Scrollbar --- */
::-webkit-scrollbar {
  width: 6px;
}

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

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: var(--space-md) 0;
  background: var(--nav-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: all var(--transition-normal);
}

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

.nav-logo {
  height: 32px;
  width: auto;
}

/* === LOGO IMAGE (dark/light mode switching) === */
.logo-img-dark { display: block; }
.logo-img-light { display: none; }
body.light .logo-img-dark { display: none; }
body.light .logo-img-light { display: block; }

/* Sizing variants */
.logo-img-nav  { height: 32px; width: auto; }
.logo-img-footer { height: 28px; width: auto; }
.logo-img-splash { height: 64px; width: auto; }
.logo-img-app   { height: 36px; width: auto; }
.logo-img-app-sm { height: 26px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  list-style: none;
}

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

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

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

/* --- Screen Content Styles (inside phone) --- */
.screen-content {
  padding: 0 16px 80px;
}

.screen-greeting {
  font-size: 13px;
  color: var(--text-muted);
}

.screen-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 2px 0 12px;
}

.screen-search {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  margin-bottom: 16px;
}

.screen-search-icon {
  color: var(--text-muted);
  font-size: 14px;
  flex-shrink: 0;
}

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

.screen-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px;
  margin-bottom: 10px;
}

.screen-card-accent {
  border-left: 3px solid var(--accent);
}

.screen-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  background: var(--accent);
  color: white;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 600;
  width: 100%;
  margin-top: 12px;
}

.screen-chip {
  display: inline-flex;
  padding: 5px 12px;
  background: var(--accent-subtle);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-full);
  font-size: 10px;
  font-weight: 600;
  color: var(--accent-light);
  margin: 0 0 6px 4px;
}

.screen-stat {
  text-align: center;
  padding: 10px 0;
}

.screen-stat-value {
  font-size: 22px;
  font-weight: 800;
  color: var(--accent);
}

.screen-stat-label {
  font-size: 9px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.screen-list-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

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

.screen-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
}

.screen-map {
  width: 100%;
  height: 160px;
  background: linear-gradient(135deg, #15101e 0%, #221a30 50%, #15101e 100%);
  border-radius: var(--radius-md);
  position: relative;
  overflow: hidden;
  margin-bottom: 12px;
}

.screen-map::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 40%, rgba(106, 79, 182, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 70% 60%, rgba(106, 79, 182, 0.1) 0%, transparent 40%);
}

.screen-map-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 20px 20px;
}

.screen-map-pin {
  position: absolute;
  width: 12px;
  height: 12px;
  background: var(--accent);
  border-radius: 50%;
  border: 2px solid white;
  box-shadow: 0 0 10px rgba(106, 79, 182, 0.5);
  z-index: 2;
}

.screen-map-route {
  position: absolute;
  border: 2px dashed var(--accent);
  opacity: 0.4;
  z-index: 1;
}

/* Progress bar */
.screen-progress {
  width: 100%;
  height: 4px;
  background: var(--bg-input);
  border-radius: 2px;
  overflow: hidden;
  margin: 8px 0;
}

.screen-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  border-radius: 2px;
  transition: width 0.3s ease;
}

/* Star rating */
.screen-stars {
  display: flex;
  gap: 3px;
  color: var(--warning);
  font-size: 12px;
}

/* Toggle switch */
.screen-toggle {
  width: 36px;
  height: 20px;
  background: var(--bg-input);
  border-radius: 10px;
  position: relative;
  cursor: default;
}

.screen-toggle.on {
  background: var(--accent);
}

.screen-toggle::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  background: white;
  border-radius: 50%;
  transition: transform 0.2s;
}

.screen-toggle.on::after {
  transform: translateX(16px);
}

/* Earnings chart bars */
.screen-chart {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 80px;
  padding: 0 4px;
  margin: 12px 0;
}

.screen-chart-bar {
  flex: 1;
  background: var(--accent-subtle);
  border-radius: 3px 3px 0 0;
  position: relative;
  min-height: 8px;
  transition: background 0.2s;
}

.screen-chart-bar.active {
  background: var(--accent);
}

.screen-chart-label {
  display: flex;
  justify-content: space-between;
  font-size: 8px;
  color: var(--text-muted);
  padding: 4px 4px 0;
}

/* Phones row */
.phones-showcase {
  display: flex;
  justify-content: center;
  gap: var(--space-xl);
  flex-wrap: wrap;
  padding: var(--space-xl) 0;
}

.phone-label {
  text-align: center;
  margin-top: var(--space-md);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
}

/* App screen pages grid */
.screens-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-2xl);
  padding: var(--space-xl) 0;
}

.screen-showcase {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.screen-showcase-title {
  margin-top: var(--space-md);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
}

.screen-showcase-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
  max-width: 260px;
  margin-top: var(--space-xs);
}

/* --- Footer --- */
.footer {
  padding: var(--space-3xl) 0 var(--space-xl);
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: var(--space-md);
  max-width: 300px;
}

.footer-heading {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--space-md);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.85rem;
  transition: color var(--transition-fast);
}

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

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

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

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   IRIS Pattern — diagonal cuts at 135° (brand signature)
   Derived from the angular cuts inside the I·R·I·S letterforms
   ============================================ */
.iris-pattern,
.iris-pattern-strong {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.iris-pattern {
  background-image: repeating-linear-gradient(
    135deg,
    var(--iris-light) 0,
    var(--iris-light) 1px,
    transparent 1px,
    transparent 11px
  );
  opacity: 0.05;
}
.iris-pattern-strong {
  background-image: repeating-linear-gradient(
    135deg,
    var(--iris-violet) 0,
    var(--iris-violet) 2px,
    transparent 2px,
    transparent 13px
  );
  opacity: 0.14;
}
.iris-pattern-sun {
  background-image: repeating-linear-gradient(
    135deg,
    var(--iris-light) 0,
    var(--iris-light) 2px,
    transparent 2px,
    transparent 13px
  );
  opacity: 0.16;
}
/* Mono micro-label (prices, codes, specs, kickers) */
.mono {
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
}
.kicker-mono {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--iris-light);
}
/* Angular brand divider */
.iris-divider {
  height: 2px;
  background: repeating-linear-gradient(135deg,
    var(--iris-violet) 0, var(--iris-violet) 8px,
    transparent 8px, transparent 16px);
  opacity: 0.5;
  border: 0;
}
