/* ================================================
   TOKENS
   ================================================ */
:root {
  --bg: #07090f;
  --bg-2: #0c1018;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-hover: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.08);
  --border-bright: rgba(255, 255, 255, 0.16);
  --text: #edeae0;
  --muted: #9a9690;
  --muted-dim: #5a5652;
  --accent: #ff5f14;
  --accent-soft: #ff9452;
  --accent-cool: #4ecdc4;
  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 26px;
  --card-bg: #11141b;
  --border-color: rgba(255, 255, 255, 0.1);
}

/* ================================================
   BASE
   ================================================ */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  background-image:
    radial-gradient(ellipse 70% 55% at 8% -5%, rgba(255, 95, 20, 0.13) 0%, transparent 60%),
    radial-gradient(ellipse 55% 45% at 92% 2%, rgba(78, 205, 196, 0.09) 0%, transparent 55%);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, transparent 65%);
}

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

p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1, h2, h3 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
}

strong, .logo, .eyebrow, .section-kicker {
  font-family: "Space Grotesk", sans-serif;
}

.page-shell {
  position: relative;
  z-index: 1;
  overflow: hidden;
}

/* ================================================
   LAYOUT
   ================================================ */
.container {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
}

.section {
  padding: 112px 0;
}

.section-alt {
  position: relative;
}

.section-alt::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.025) 0%, transparent 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  pointer-events: none;
}

/* ================================================
   NAVIGATION
   ================================================ */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 18px max(24px, calc((100vw - 1200px) / 2));
  z-index: 100;
  background: rgba(7, 9, 15, 0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
}

.logo {
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.24em;
  background: linear-gradient(135deg, var(--text) 55%, var(--accent-soft));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--muted);
}

.nav-links > a:not(.btn) {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 500;
  transition: color 160ms ease, background 160ms ease;
}

.nav-links > a:not(.btn):hover {
  color: var(--text);
  background: var(--surface-hover);
}

/* ================================================
   LANGUAGE SWITCHER
   ================================================ */
.language-switcher {
  position: relative;
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 0 12px 0 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font: inherit;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease;
}

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

.lang-btn[aria-expanded="true"] {
  background: var(--surface-hover);
  border-color: var(--border-bright);
}

.lang-flag {
  display: inline-block;
  width: 20px;
  height: 15px;
  border-radius: 3px;
  flex-shrink: 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.lang-code {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.lang-chevron {
  font-size: 0.7rem;
  color: var(--muted-dim);
  transition: transform 220ms ease;
}

.lang-btn[aria-expanded="true"] .lang-chevron {
  transform: rotate(180deg);
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 176px;
  background: rgba(9, 12, 20, 0.98);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.65),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  transform: translateY(-8px) scale(0.96);
  pointer-events: none;
  transition: opacity 200ms ease, transform 200ms ease;
  z-index: 100;
}

.lang-dropdown.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.lang-dropdown li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  color: var(--muted);
  font-size: 0.88rem;
  transition: background 140ms ease, color 140ms ease;
}

.lang-dropdown li:hover {
  background: var(--surface-hover);
  color: var(--text);
}

.lang-dropdown li[aria-selected="true"] {
  background: rgba(255, 95, 20, 0.12);
  color: var(--accent-soft);
}

.lang-dropdown li .lang-flag {
  width: 22px;
  height: 16px;
}

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

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

/* ================================================
   HERO
   ================================================ */
.hero {
  min-height: 100vh;
  padding-top: 68px;
}

.hero-content {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 56px;
  padding: 80px 0 108px;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  color: var(--accent-soft);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.74rem;
  font-weight: 700;
}

.eyebrow::before,
.section-kicker::before {
  content: "";
  width: 22px;
  height: 1.5px;
  background: currentColor;
  border-radius: 2px;
  flex-shrink: 0;
}

.hero-copy h1 {
  font-size: clamp(3.4rem, 8.5vw, 6.8rem);
  font-weight: 700;
  line-height: 0.93;
  letter-spacing: -0.025em;
  max-width: 11ch;
  margin-bottom: 24px;
}

.hero-text {
  max-width: 52ch;
  font-size: 1.05rem;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 38px;
  flex-wrap: wrap;
}

/* ================================================
   BUTTONS
   ================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-soft) 100%);
  color: #16120c;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 0.91rem;
  letter-spacing: 0.01em;
  box-shadow: 0 6px 22px rgba(255, 95, 20, 0.3), 0 2px 6px rgba(255, 95, 20, 0.2);
  transition: transform 180ms ease, box-shadow 180ms ease;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(255, 95, 20, 0.38), 0 4px 10px rgba(255, 95, 20, 0.25);
}

.btn:active {
  transform: translateY(0);
}

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

.btn-secondary:hover {
  background: var(--surface-hover);
  border-color: var(--border-bright);
  box-shadow: none;
}

.btn-outline {
  background: transparent;
  border-color: var(--border);
  color: var(--muted);
  box-shadow: none;
  font-size: 0.88rem;
  min-height: 38px;
  padding: 0 16px;
}

.btn-outline:hover {
  color: var(--text);
  background: var(--surface);
  border-color: var(--border-bright);
  box-shadow: none;
}

/* ================================================
   HERO STATS
   ================================================ */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 48px;
}

.stat {
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: background 200ms, border-color 200ms, transform 200ms;
}

.stat:hover {
  background: var(--surface-hover);
  border-color: var(--border-bright);
  transform: translateY(-2px);
}

.stat strong {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.55rem;
  font-weight: 700;
  margin-bottom: 5px;
  background: linear-gradient(135deg, var(--text) 50%, var(--accent-soft));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat span {
  color: var(--muted-dim);
  font-size: 0.8rem;
  line-height: 1.45;
}

/* ================================================
   HERO VISUAL / INTERFACE CARD
   ================================================ */
.hero-visual {
  position: relative;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 5% -14% -18% 12%;
  background: radial-gradient(circle, rgba(255, 148, 82, 0.22), transparent 65%);
  filter: blur(28px);
  z-index: 0;
  pointer-events: none;
}

.interface-card {
  position: relative;
  z-index: 1;
  padding: 22px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(16px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.09),
    0 28px 80px rgba(0, 0, 0, 0.55);
}

.interface-topbar {
  display: flex;
  gap: 7px;
  margin-bottom: 18px;
}

.interface-topbar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.interface-topbar span:nth-child(1) { background: rgba(255, 80, 60, 0.65); }
.interface-topbar span:nth-child(2) { background: rgba(255, 190, 0, 0.5); }
.interface-topbar span:nth-child(3) { background: rgba(78, 205, 196, 0.5); }

.interface-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.metric-card {
  padding: 18px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.metric-card.accent {
  background: linear-gradient(145deg, rgba(255, 95, 20, 0.14) 0%, rgba(255, 148, 82, 0.05) 100%);
  border-color: rgba(255, 95, 20, 0.22);
}

.metric-card.wide {
  grid-column: span 2;
}

.metric-card p,
.pricing-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent-cool);
  font-weight: 700;
}

.metric-card strong {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  margin: 10px 0 6px;
  font-size: 1.25rem;
  color: var(--text);
}

.metric-card small {
  color: var(--muted-dim);
  font-size: 0.78rem;
}

.bars {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  align-items: end;
  margin-top: 16px;
  height: 96px;
}

.bars span {
  display: block;
  border-radius: 5px 5px 3px 3px;
  background: linear-gradient(180deg, var(--accent-soft) 0%, rgba(78, 205, 196, 0.35) 100%);
  animation: pulse-bars 3.8s ease-in-out infinite;
}

.bars span:nth-child(1) { height: 44%; animation-delay: 0ms; }
.bars span:nth-child(2) { height: 76%; animation-delay: 200ms; }
.bars span:nth-child(3) { height: 60%; animation-delay: 400ms; }
.bars span:nth-child(4) { height: 88%; animation-delay: 600ms; }
.bars span:nth-child(5) { height: 52%; animation-delay: 800ms; }
.bars span:nth-child(6) { height: 69%; animation-delay: 1000ms; }

/* ================================================
   TRUST BAND
   ================================================ */
.trust-band {
  position: relative;
  z-index: 1;
  margin-top: -2px;
  padding: 20px 32px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.025));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.trust-band p {
  color: var(--muted);
  text-align: center;
  font-size: 0.97rem;
}

/* ================================================
   SECTION HEADINGS
   ================================================ */
.section-heading {
  max-width: 720px;
  margin-bottom: 60px;
}

.section-heading h2,
.pricing-copy h2,
.contact-panel h2 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.022em;
  margin-bottom: 16px;
}

/* ================================================
   FEATURE GRID
   ================================================ */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.feature-card {
  position: relative;
  overflow: hidden;
  padding: 34px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.045) 0%, rgba(255, 255, 255, 0.018) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 4px 24px rgba(0, 0, 0, 0.3);
  transition: border-color 220ms ease, transform 220ms ease, box-shadow 220ms ease;
}

.feature-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 75% 15%, rgba(255, 95, 20, 0.07), transparent 55%);
  opacity: 0;
  transition: opacity 300ms ease;
  pointer-events: none;
}

.feature-card:hover {
  border-color: var(--border-bright);
  transform: translateY(-3px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.09), 0 14px 44px rgba(0, 0, 0, 0.42);
}

.feature-card:hover::after {
  opacity: 1;
}

.feature-index {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 148, 82, 0.22);
  line-height: 1;
  margin-bottom: 18px;
  letter-spacing: -0.03em;
}

.feature-card h3 {
  font-size: 1.22rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}

.feature-card p {
  font-size: 0.93rem;
  line-height: 1.68;
}

/* ================================================
   PREVIEW — SCREENSHOTS
   ================================================ */
.text-center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-subtext {
  font-size: 1.02rem;
  color: var(--muted);
  max-width: 600px;
  margin: 12px auto 0;
}

.screenshots-carousel {
  position: relative;
  width: 100%;
  padding: 20px 0 40px;
}

.screenshots-stage {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}

.screenshot-card {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  transition: transform 0.6s ease, opacity 0.6s ease, filter 0.6s ease, box-shadow 0.4s ease;
}

.screenshot-card[hidden] {
  display: none !important;
}

.screenshot-card[data-pos="left"] {
  transform: perspective(900px) rotateY(32deg) scale(0.84);
  opacity: 0.55;
  filter: brightness(0.6);
}

.screenshot-card[data-pos="center"] {
  transform: scale(1);
  opacity: 1;
  filter: brightness(1);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55);
}

.screenshot-card[data-pos="right"] {
  transform: perspective(900px) rotateY(-32deg) scale(0.84);
  opacity: 0.55;
  filter: brightness(0.6);
}

.screenshot-card[data-pos="center"]:hover {
  transform: scale(1.02) translateY(-4px);
  box-shadow: 0 28px 72px rgba(0, 0, 0, 0.7);
}

.screenshot-featured {
  border-color: rgba(255, 95, 20, 0.35);
  box-shadow: 0 0 0 1px rgba(255, 95, 20, 0.08), 0 8px 32px rgba(255, 95, 20, 0.1);
}

.screenshot-img-wrap {
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.screenshot-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
  display: block;
  transition: transform 400ms ease;
}

.screenshot-card:hover .screenshot-img-wrap img {
  transform: scale(1.04);
}

.screenshot-card figcaption {
  padding: 18px 20px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.screenshot-card figcaption strong {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.screenshot-featured figcaption strong {
  color: var(--accent-soft);
}

.screenshot-card figcaption p {
  font-size: 0.83rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.55;
}

.check-list {
  margin-top: 28px;
  display: grid;
  gap: 12px;
}

.check-list li,
.pricing-list li {
  position: relative;
  padding-left: 22px;
  color: var(--muted);
  font-size: 0.94rem;
}

.check-list li::before,
.pricing-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-cool));
  box-shadow: 0 0 8px rgba(255, 95, 20, 0.35);
}

/* ================================================
   WORKFLOW / TIMELINE
   ================================================ */
.timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.timeline-step {
  position: relative;
  z-index: 1;
  padding: 32px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.045) 0%, rgba(255, 255, 255, 0.018) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: border-color 200ms, transform 200ms;
}

.timeline-step:hover {
  border-color: var(--border-bright);
  transform: translateY(-3px);
}

.timeline-step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: linear-gradient(135deg, rgba(255, 95, 20, 0.2), rgba(255, 148, 82, 0.08));
  border: 1px solid rgba(255, 95, 20, 0.24);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent-soft);
  margin-bottom: 20px;
}

.timeline-step h3 {
  font-size: 1.18rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}

.timeline-step p {
  font-size: 0.92rem;
}

/* ================================================
   PRICING
   ================================================ */
.pricing-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.pricing-card {
  padding: 38px;
  background: linear-gradient(145deg, rgba(255, 95, 20, 0.09) 0%, rgba(255, 255, 255, 0.025) 100%);
  border: 1px solid rgba(255, 95, 20, 0.24);
  border-radius: var(--radius-lg);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 0 0 1px rgba(255, 95, 20, 0.07),
    0 24px 64px rgba(0, 0, 0, 0.48),
    0 0 56px rgba(255, 95, 20, 0.07);
  position: relative;
  z-index: 1;
}

.pricing-label {
  margin-bottom: 6px;
}

.price {
  margin: 18px 0 30px;
  color: var(--muted);
  font-size: 0.97rem;
}

.price strong {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  color: var(--text);
  font-size: 2.8rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1;
  margin-top: 6px;
}

.pricing-list {
  display: grid;
  gap: 14px;
  margin-bottom: 32px;
}

/* ================================================
   CONTACT
   ================================================ */
.contact-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
  padding: 44px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.018) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 16px 56px rgba(0, 0, 0, 0.35);
  position: relative;
  z-index: 1;
}

.contact-box {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 36px 26px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.contact-box .btn {
  font-size: 1rem;
  min-height: 54px;
  padding: 0 32px;
  gap: 10px;
}

/* ================================================
   FOOTER
   ================================================ */
.footer {
  padding: 32px 16px 44px;
  text-align: center;
  border-top: 1px solid var(--border);
}

.footer p {
  color: var(--muted-dim);
  font-size: 0.85rem;
}

/* ================================================
   RTL
   ================================================ */
html[dir="rtl"] body {
  text-align: right;
}

html[dir="rtl"] .nav,
html[dir="rtl"] .nav-links,
html[dir="rtl"] .hero-actions,
html[dir="rtl"] .interface-topbar {
  flex-direction: row-reverse;
}

html[dir="rtl"] .check-list li,
html[dir="rtl"] .pricing-list li {
  padding-left: 0;
  padding-right: 22px;
}

html[dir="rtl"] .check-list li::before,
html[dir="rtl"] .pricing-list li::before {
  left: auto;
  right: 0;
}

/* ================================================
   REVEAL ANIMATIONS
   ================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  filter: blur(4px);
  transition: opacity 680ms ease, transform 680ms ease, filter 680ms ease;
}

.reveal-delay-1 {
  transition-delay: 130ms;
}

.reveal-delay-2 {
  transition-delay: 240ms;
}

.reveal-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* ================================================
   KEYFRAMES
   ================================================ */
@keyframes pulse-bars {
  0%, 100% {
    opacity: 0.62;
    transform: scaleY(0.93);
  }
  50% {
    opacity: 1;
    transform: scaleY(1.07);
  }
}

@keyframes stage-enter-3d {
  from {
    opacity: 0;
    transform: scale(0.96) translateZ(-40px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateZ(0);
  }
}

/* ================================================
   RESPONSIVE — tablette (980px)
   ================================================ */
@media (max-width: 980px) {
  .hero-content,
  .pricing-layout,
  .contact-panel,
  .timeline,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 80px 0;
  }

  .section-heading {
    margin-bottom: 44px;
  }

  .hero-copy h1 {
    max-width: none;
  }

  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero-visual {
    display: none;
  }

  .screenshots-stage {
    gap: 14px;
  }

  .pricing-layout {
    gap: 36px;
  }
}

/* ================================================
   RESPONSIVE — mobile (640px)
   ================================================ */
@media (max-width: 640px) {
  .nav {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
  }

  .hero {
    padding-top: 108px;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px;
    width: 100%;
  }

  .nav-links > a:not(.btn) {
    font-size: 0.82rem;
    padding: 7px 11px;
  }

  .btn-outline {
    font-size: 0.82rem;
    min-height: 34px;
    padding: 0 13px;
  }

  .container {
    width: calc(100% - 28px);
  }

  .section {
    padding: 56px 0;
  }

  .section-heading {
    margin-bottom: 32px;
  }

  .section-heading h2,
  .pricing-copy h2,
  .contact-panel h2 {
    font-size: clamp(1.8rem, 7vw, 2.6rem);
  }

  .hero-content {
    padding: 28px 0 60px;
    gap: 32px;
  }

  .hero-copy h1 {
    font-size: clamp(2.6rem, 11vw, 4rem);
    letter-spacing: -0.02em;
  }

  .hero-text {
    font-size: 0.97rem;
  }

  .hero-actions {
    margin-top: 28px;
    gap: 10px;
  }

  .btn {
    min-height: 46px;
    padding: 0 22px;
    font-size: 0.88rem;
  }

  .hero-stats {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 32px;
  }

  .stat {
    padding: 16px;
  }

  .stat strong {
    font-size: 1.3rem;
  }

  .stat span {
    font-size: 0.76rem;
  }

  .feature-card {
    padding: 24px;
  }

  .screenshot-card[data-pos="left"] {
    transform: perspective(700px) rotateY(20deg) scale(0.82);
  }

  .screenshot-card[data-pos="right"] {
    transform: perspective(700px) rotateY(-20deg) scale(0.82);
  }

  .feature-index {
    font-size: 2.2rem;
    margin-bottom: 12px;
  }

  .feature-card h3 {
    font-size: 1.1rem;
  }

  .timeline-step {
    padding: 22px;
  }

  .timeline-step h3 {
    font-size: 1.08rem;
  }

  .pricing-card {
    padding: 26px;
  }

  .price strong {
    font-size: 2.2rem;
  }

  .contact-panel {
    padding: 26px;
    gap: 22px;
  }

  .contact-box {
    padding: 20px;
  }

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

  .metric-card.wide {
    grid-column: auto;
  }

  .lang-dropdown {
    right: auto;
    left: 0;
  }
}

/* ================================================
   RESPONSIVE — très petit mobile (380px)
   ================================================ */
@media (max-width: 380px) {
  .hero-stats {
    grid-template-columns: 1fr;
  }

  .hero-copy h1 {
    font-size: clamp(2.2rem, 12vw, 3rem);
  }

  .nav-links {
    gap: 2px;
  }

  .screenshots-stage {
    gap: 8px;
  }
}