/* ==============================================================================
   AIGOS by Salam — Flagship Design System (v2.1.0)
   "From Conversation to Clarity" — Art-Directed Flagship AI Experience
   ============================================================================== */

:root {
  /* Level 0 Environment Base */
  --bg-void: #070708;
  --bg-surface: #0c0d10;
  
  /* Typography Colors */
  --text-pure: #f5f5f3;
  --text-primary: #f5f5f3;
  --text-secondary: rgba(255, 255, 255, 0.52);
  --text-tertiary: rgba(255, 255, 255, 0.28);
  
  /* Hairline & Glass Tokens */
  --border-hairline: rgba(255, 255, 255, 0.07);
  --border-interactive: rgba(255, 255, 255, 0.12);
  --surface-glass: rgba(255, 255, 255, 0.045);
  --surface-glass-hover: rgba(255, 255, 255, 0.07);
  --surface-pill: rgba(255, 255, 255, 0.03);

  /* Spectral Light Hues */
  --spectral-blue: #7186ff;
  --spectral-violet: #8c6cff;
  --spectral-cyan: #74d7ff;
  --spectral-glow: rgba(104, 117, 255, 0.16);

  /* Typography Stacks */
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Outfit', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-arabic: 'Tajawal', 'Outfit', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Sizing & Geometry */
  --container-max: 1240px;
  --radius-capsule: 9999px;
  --radius-card: 28px;
  --radius-finale: 40px;

  /* Motion Easing */
  --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  color-scheme: dark;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: var(--bg-void);
  color: var(--text-pure);
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-void);
  color: var(--text-pure);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Accessibility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

:focus-visible {
  outline: 2px solid var(--spectral-blue);
  outline-offset: 4px;
}

.site-container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 32px;
  padding-right: 32px;
}

/* ==============================================================================
   LEVEL 1 ATMOSPHERE: VOLUMETRIC AMBIENT LIGHT
   ============================================================================== */
.ambient-canvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.ambient-light-hero {
  position: absolute;
  top: -420px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1080px;
  height: 840px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(104, 117, 255, 0.15) 0%, rgba(100, 70, 255, 0.06) 35%, transparent 70%);
  filter: blur(80px);
  will-change: transform, opacity;
  transition: opacity 0.8s var(--ease-smooth);
}

.ambient-light-finale {
  position: absolute;
  bottom: -300px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(116, 215, 255, 0.12) 0%, rgba(140, 108, 255, 0.05) 45%, transparent 75%);
  filter: blur(100px);
}

/* ==============================================================================
   FLAGSHIP NAVIGATION (TRANSPARENT AT TOP -> FLOATING CAPSULE ON SCROLL)
   ============================================================================== */
.aigos-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 24px 32px;
  transition: padding 0.4s var(--ease-spring), background-color 0.4s var(--ease-spring);
}

.header-container {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  border-radius: var(--radius-capsule);
  transition: background-color 0.35s var(--ease-smooth), backdrop-filter 0.35s var(--ease-smooth), border-color 0.35s var(--ease-smooth), box-shadow 0.35s var(--ease-smooth);
}

.aigos-header.is-scrolled {
  padding: 12px 24px;
}

.aigos-header.is-scrolled .header-container {
  background: rgba(12, 13, 16, 0.78);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border-hairline);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
}

.header-brand-group {
  display: flex;
  align-items: center;
}

.aigos-brand-link {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.brand-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #ffffff;
  line-height: 1;
}

.brand-sub,
.brand-badge {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 450;
  color: rgba(255, 255, 255, 0.44);
  letter-spacing: -0.01em;
  line-height: 1;
  position: relative;
  top: -1px;
  transition: color 0.2s ease;
}

.aigos-brand-link:hover .brand-sub,
.aigos-brand-link:hover .brand-badge {
  color: rgba(255, 255, 255, 0.82);
}

.aigos-nav .nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-link {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s var(--ease-smooth);
}

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

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

/* Language Selector */
.language-control {
  position: relative;
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: 1px solid transparent;
  color: var(--text-secondary);
  padding: 6px 12px;
  border-radius: var(--radius-capsule);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.2s, background-color 0.2s;
}

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

.lang-chevron {
  width: 12px;
  height: 12px;
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #111216;
  border: 1px solid var(--border-interactive);
  border-radius: 12px;
  padding: 6px;
  list-style: none;
  min-width: 140px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.7);
  z-index: 120;
}

.lang-dropdown.is-hidden {
  display: none;
}

.lang-opt {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  color: var(--text-secondary);
  padding: 8px 12px;
  font-size: 0.84rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s;
}

.lang-opt:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-pure);
}

.lang-dropdown li[aria-selected="true"] .lang-opt {
  color: var(--spectral-cyan);
  font-weight: 600;
}

/* Solid Off-White Button */
.btn-launch-header {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  color: #070708;
  padding: 8px 18px;
  border-radius: var(--radius-capsule);
  font-size: 0.86rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s var(--ease-spring), opacity 0.2s;
}

.btn-launch-header:hover {
  transform: scale(1.02);
  opacity: 0.95;
}

.cta-arrow {
  width: 13px;
  height: 13px;
  transition: transform 0.2s var(--ease-spring);
}

.btn-launch-header:hover .cta-arrow {
  transform: translate(2px, -2px);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 6px;
}

.menu-toggle .bar {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text-pure);
  border-radius: 2px;
  transition: transform 0.2s;
}

/* ==============================================================================
   HERO EXPERIENCE: LIVING CORE & MONUMENTAL TYPOGRAPHY
   ============================================================================== */
.hero-section {
  position: relative;
  z-index: 1;
  padding-top: 150px;
  padding-bottom: 90px;
  min-height: 94vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-container {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Signature Intelligence Object: Living AIGOS Core */
.core-container {
  position: relative;
  width: 140px;
  height: 140px;
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.aigos-core {
  position: relative;
  width: 110px;
  height: 110px;
  border-radius: 42%;
  cursor: pointer;
  transition: transform 0.4s var(--ease-spring);
  animation: coreBreathe 10s ease-in-out infinite;
}

.core-conic-shell {
  position: absolute;
  inset: 0;
  border-radius: 42%;
  background: conic-gradient(from 210deg, #ffffff, #7186ff, #8c6cff, #74d7ff, #ffffff);
  opacity: 0.92;
  filter: blur(1px);
  animation: coreRotate 14s linear infinite;
}

.core-depth-backdrop {
  position: absolute;
  inset: 2px;
  border-radius: 42%;
  background: rgba(9, 9, 11, 0.52);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.core-gem-radial {
  position: absolute;
  inset: 18%;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ffffff 0%, rgba(128, 148, 255, 0.65) 28%, rgba(100, 75, 255, 0.12) 62%, transparent 80%);
  filter: blur(3px);
  animation: gemShift 8s ease-in-out infinite alternate;
}

.core-volumetric-aura {
  position: absolute;
  inset: -24px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(113, 134, 255, 0.25) 0%, rgba(140, 108, 255, 0.1) 45%, transparent 70%);
  filter: blur(12px);
  opacity: 0.75;
  transition: opacity 0.4s var(--ease-smooth), transform 0.4s var(--ease-smooth);
}

/* Core States */
.aigos-core.is-focus .core-volumetric-aura {
  opacity: 1;
  transform: scale(1.15);
}

.aigos-core.is-thinking .core-conic-shell {
  animation-duration: 4s;
}

.aigos-core.is-response {
  transform: scale(1.06);
}

@keyframes coreBreathe {
  0%, 100% {
    transform: scale(1) rotate(0deg);
  }
  50% {
    transform: scale(1.035) rotate(3deg);
  }
}

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

@keyframes gemShift {
  0% {
    transform: translate(-3px, -2px);
  }
  100% {
    transform: translate(3px, 3px);
  }
}

/* Monumental Typography */
.hero-typography {
  margin-bottom: 40px;
}

.hero-eyebrow {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 24px;
}

.hero-headline {
  font-family: var(--font-sans);
  font-size: clamp(3.6rem, 8.5vw, 7.6rem);
  font-weight: 600;
  line-height: 0.91;
  letter-spacing: -0.065em;
  color: var(--text-pure);
  text-wrap: balance;
}

.hero-headline-sub {
  color: rgba(255, 255, 255, 0.48);
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2.2vw, 1.25rem);
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 580px;
  margin: 28px auto 0 auto;
  font-weight: 400;
  text-wrap: pretty;
}

/* ==============================================================================
   LEVEL 2 INTERACTIVE MATERIAL: ASSISTANT COMPOSER
   ============================================================================== */
.composer-stage {
  width: 100%;
  max-width: 740px;
  margin-top: 10px;
}

.composer-card {
  background: var(--surface-glass);
  backdrop-filter: blur(32px);
  -webkit-backdrop-filter: blur(32px);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-card);
  padding: 16px 20px 14px 20px;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.45);
  transition: border-color 0.25s var(--ease-smooth), box-shadow 0.25s var(--ease-smooth);
}

.composer-card:focus-within {
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.6), 0 0 32px rgba(104, 117, 255, 0.15);
}

.composer-input-field {
  width: 100%;
}

.composer-textarea {
  width: 100%;
  background: none;
  border: none;
  color: var(--text-pure);
  font-family: var(--font-sans);
  font-size: 1.15rem;
  line-height: 1.5;
  outline: none;
  resize: none;
}

.composer-textarea::placeholder {
  color: var(--text-tertiary);
  font-size: 1.15rem;
}

.composer-action-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.composer-tools-left {
  display: flex;
  align-items: center;
  gap: 4px;
}

.composer-tool-btn {
  background: none;
  border: none;
  color: var(--text-tertiary);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: color 0.18s, background-color 0.18s;
}

.composer-tool-btn:hover {
  color: var(--text-pure);
  background: rgba(255, 255, 255, 0.06);
}

.composer-tool-btn svg {
  width: 18px;
  height: 18px;
}

.composer-send-btn {
  background: #ffffff;
  border: none;
  color: #070708;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s var(--ease-spring), opacity 0.2s;
}

.composer-send-btn:hover {
  transform: scale(1.06);
}

.composer-send-btn svg {
  width: 18px;
  height: 18px;
}

/* Contextual Suggestion Chips */
.composer-suggestions-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.suggestion-chip {
  background: var(--surface-pill);
  border: 1px solid var(--border-hairline);
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 8px 18px;
  border-radius: var(--radius-capsule);
  cursor: pointer;
  transition: all 0.2s var(--ease-smooth);
}

.suggestion-chip:hover {
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-pure);
  transform: translateY(-1px);
}

.suggestion-chip.is-active {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

/* ==============================================================================
   PRODUCT STORY: LESS INTERFACE. MORE INTELLIGENCE.
   ============================================================================== */
.product-story-section {
  position: relative;
  z-index: 1;
  padding: 80px 0 90px 0;
  content-visibility: auto;
  contain-intrinsic-size: auto 500px;
}

.editorial-header {
  margin-bottom: 44px;
}

.editorial-eyebrow {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--spectral-cyan);
  margin-bottom: 12px;
}

.editorial-headline {
  font-family: var(--font-sans);
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.08;
  color: var(--text-pure);
  text-wrap: balance;
}

.editorial-headline-sub {
  color: var(--text-secondary);
}

/* Hairline Divided Story Sequence */
.story-divider-sequence {
  border-top: 1px solid var(--border-hairline);
  border-bottom: 1px solid var(--border-hairline);
}

.story-movement-row {
  display: grid;
  grid-template-columns: 56px 170px 1fr;
  gap: 24px;
  padding: 26px 0;
  border-bottom: 1px solid var(--border-hairline);
  cursor: pointer;
  align-items: baseline;
  transition: background-color 0.2s;
}

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

.story-movement-row:hover {
  background: rgba(255, 255, 255, 0.015);
}

.movement-number {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.04em;
}

.movement-title {
  font-family: var(--font-sans);
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--text-pure);
  line-height: 1.2;
}

.movement-text {
  font-size: 0.96rem;
  color: var(--text-secondary);
  line-height: 1.55;
  max-width: 520px;
  margin-bottom: 10px;
}

.movement-preview-detail {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 6px 12px;
  max-width: 100%;
}

.preview-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--spectral-blue);
  flex-shrink: 0;
}

.preview-quote {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.45;
  font-style: italic;
}

/* ==============================================================================
   PRIVACY SECTION: QUIET, CONFIDENT, VERIFIED
   ============================================================================== */
.privacy-section {
  position: relative;
  z-index: 1;
  padding: 120px 0;
  content-visibility: auto;
  contain-intrinsic-size: auto 500px;
}

.privacy-editorial-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: flex-end;
}

.privacy-headline {
  font-family: var(--font-sans);
  font-size: clamp(2.5rem, 5.5vw, 4.8rem);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 1.05;
  color: var(--text-pure);
  text-wrap: balance;
  margin-top: 12px;
}

.privacy-body-text {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 28px;
  text-wrap: pretty;
}

.privacy-conceptual-diagram {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
  font-size: 0.88rem;
  color: var(--text-tertiary);
}

.diagram-node {
  padding: 6px 14px;
  border-radius: var(--radius-capsule);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-hairline);
  color: var(--text-secondary);
}

.diagram-node.highlight {
  border-color: rgba(113, 134, 255, 0.3);
  color: var(--spectral-cyan);
  background: rgba(113, 134, 255, 0.08);
}

.diagram-arrow {
  font-size: 1rem;
  color: var(--text-tertiary);
}

.privacy-link-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--text-pure);
  text-decoration: none;
  transition: gap 0.2s var(--ease-spring);
}

.privacy-link-cta svg {
  width: 16px;
  height: 16px;
}

.privacy-link-cta:hover {
  gap: 12px;
}

/* ==============================================================================
   FINALE SECTION: FINAL CALL TO ACTION
   ============================================================================== */
.finale-section {
  position: relative;
  z-index: 1;
  padding: 50px 0 90px 0;
  content-visibility: auto;
  contain-intrinsic-size: auto 360px;
}

.finale-capsule {
  position: relative;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-hairline);
  border-radius: 28px;
  padding: 64px 28px;
  text-align: center;
  overflow: hidden;
}

.finale-core-backdrop {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.finale-mini-core {
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(113, 134, 255, 0.14) 0%, rgba(140, 108, 255, 0.05) 45%, transparent 70%);
  filter: blur(45px);
}

.finale-content {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
}

.finale-headline {
  font-family: var(--font-sans);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.18;
  color: var(--text-pure);
  margin-bottom: 28px;
  text-wrap: balance;
}

.finale-headline-sub {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.44);
}

.finale-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary-solid {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  color: #070708;
  padding: 14px 32px;
  border-radius: var(--radius-capsule);
  font-size: 0.96rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s var(--ease-spring), opacity 0.2s;
}

.btn-primary-solid:hover {
  transform: scale(1.03);
  opacity: 0.95;
}

.btn-primary-solid svg {
  width: 15px;
  height: 15px;
  transition: transform 0.2s;
}

.btn-primary-solid:hover svg {
  transform: translate(2px, -2px);
}

.btn-ghost-minimal {
  display: inline-flex;
  align-items: center;
  color: var(--text-secondary);
  padding: 14px 24px;
  border-radius: var(--radius-capsule);
  font-size: 0.96rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
}

.btn-ghost-minimal:hover {
  color: var(--text-pure);
}

/* ==============================================================================
   LUXURY MINIMALIST FOOTER
   ============================================================================== */
.aigos-footer {
  position: relative;
  z-index: 1;
  padding: 40px 0;
  border-top: 1px solid var(--border-hairline);
  font-size: 0.86rem;
  color: var(--text-tertiary);
}

.footer-content-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-logo-text {
  font-weight: 700;
  color: var(--text-secondary);
}

.footer-separator {
  color: var(--text-tertiary);
}

.footer-tagline {
  color: var(--text-tertiary);
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.15s;
}

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

/* Toast */
.aigos-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 200;
  background: rgba(18, 20, 26, 0.9);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-interactive);
  border-radius: var(--radius-capsule);
  padding: 10px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.25s var(--ease-spring), transform 0.25s var(--ease-spring);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6);
}

.aigos-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.toast-spark {
  color: var(--spectral-blue);
  font-size: 0.9rem;
}

.toast-text {
  font-size: 0.86rem;
  color: var(--text-pure);
}

/* ==============================================================================
   RESPONSIVE DESIGN BREAKPOINTS
   ============================================================================== */
@media (max-width: 960px) {
  .privacy-editorial-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .story-movement-row {
    grid-template-columns: 44px 1fr;
    gap: 14px;
    padding: 20px 0;
  }

  .movement-col-body {
    grid-column: 2 / -1;
  }

  .movement-preview-detail {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
}

@media (max-width: 768px) {
  .aigos-header {
    padding: 16px 20px;
  }

  .aigos-nav {
    display: none;
  }

  .aigos-nav.is-open {
    display: block;
    position: fixed;
    top: 72px;
    left: 16px;
    right: 16px;
    background: #0f1117;
    border: 1px solid var(--border-interactive);
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.8);
    z-index: 150;
  }

  .aigos-nav.is-open .nav-menu {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .menu-toggle {
    display: flex;
  }

  .hero-section {
    padding-top: 120px;
    padding-bottom: 60px;
  }

  .core-container {
    width: 110px;
    height: 110px;
    margin-bottom: 24px;
  }

  .aigos-core {
    width: 90px;
    height: 90px;
  }

  .finale-capsule {
    padding: 64px 20px;
  }

  .footer-content-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

/* ==============================================================================
   ARABIC (RTL) STYLING WITH TAJAWAL
   ============================================================================== */
html[dir="rtl"] {
  font-family: var(--font-arabic);
}

html[dir="rtl"] .hero-headline,
html[dir="rtl"] .editorial-headline,
html[dir="rtl"] .movement-title,
html[dir="rtl"] .privacy-headline,
html[dir="rtl"] .finale-headline,
html[dir="rtl"] .brand-title {
  font-family: var(--font-arabic);
  letter-spacing: 0;
}

html[dir="rtl"] .lang-dropdown {
  right: auto;
  left: 0;
  text-align: right;
}

html[dir="rtl"] .cta-arrow,
html[dir="rtl"] .btn-primary-solid svg,
html[dir="rtl"] .privacy-link-cta svg {
  transform: scaleX(-1);
}

html[dir="rtl"] .btn-launch-header:hover .cta-arrow,
html[dir="rtl"] .btn-primary-solid:hover svg {
  transform: scaleX(-1) translate(-2px, -2px);
}

html[dir="rtl"] .showcase-transformation-stage,
html[dir="rtl"] .privacy-manifesto-col,
html[dir="rtl"] .movement-col-body {
  text-align: right;
}

html[dir="rtl"] .privacy-link-cta:hover {
  gap: 12px;
}

html[dir="rtl"] .aigos-toast {
  right: auto;
  left: 24px;
}

/* ==============================================================================
   ACCESSIBILITY: PREFERS REDUCED MOTION
   ============================================================================== */
@media (prefers-reduced-motion: reduce) {
  .aigos-core,
  .core-conic-shell,
  .core-gem-radial,
  .ambient-light-hero {
    animation: none !important;
  }

  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
