/* ============================================================
   Mora Media Group — corporate site
   Brand aligned to hub.moramediagroup.com
   Midnight + Iris · Sora display · Inter body · Cairo Arabic
   ============================================================ */

:root {
  /* --- Background layers (aligned 1:1 with hub) --- */
  --bg:            #070B14;
  --bg-2:          #0B0F1A;
  --surface:       #11182A;
  --surface-2:     #151D33;
  --surface-hover: #1B2440;

  /* --- Borders --- */
  --border:      rgba(255, 255, 255, 0.08);
  --border-2:    rgba(255, 255, 255, 0.04);
  --border-soft: rgba(255, 255, 255, 0.06);

  /* --- Text --- */
  --text:       #F7F8FC;
  --text-muted: #A8B0C7;
  --text-dim:   #6C7490;

  /* --- Iris (primary accent) --- */
  --iris:       #7C5CFF;
  --iris-soft:  #9B8CFF;
  --iris-dark:  #5A3FD6;
  --iris-deep:  #2A1A66;
  --iris-glow:    0 0 0 rgba(124, 92, 255, 0.35);
  --iris-glow-sm: rgba(124, 92, 255, 0.35);
  --iris-glow-md: rgba(124, 92, 255, 0.22);
  --iris-glow-lg: rgba(124, 92, 255, 0.14);

  /* --- Status --- */
  --success: #4ade80;
  --danger:  #f87171;

  /* --- Shape --- */
  --radius:      14px;
  --radius-md:   16px;
  --radius-lg:   22px;
  --radius-pill: 999px;
  --max-width:   1200px;

  /* --- Motion --- */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", "Cairo", system-ui, -apple-system, sans-serif;
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
html[dir="rtl"] body {
  font-family: "Cairo", "Inter", system-ui, -apple-system, sans-serif;
}

img  { max-width: 100%; display: block; }
a    { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }

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

h1, h2, h3, h4 {
  font-family: "Sora", "Inter", "Cairo", sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
}
html[dir="rtl"] h1,
html[dir="rtl"] h2,
html[dir="rtl"] h3,
html[dir="rtl"] h4 {
  font-family: "Cairo", "Sora", sans-serif;
  letter-spacing: -0.01em;
}

/* ============================================================
   Wordmark — "Mora" + iris dot (matches hub Wordmark component)
   ============================================================ */
.wordmark {
  display: inline-flex;
  align-items: flex-end;
  gap: 4px;
  font-family: "Sora", "Inter", sans-serif;
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--text);
  line-height: 1;
  direction: ltr; /* wordmark is always LTR */
}
.wordmark-text { display: inline-block; }
.wordmark-dot {
  display: inline-block;
  width: 0.28em;
  height: 0.28em;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--iris), var(--iris-soft));
  box-shadow: 0 0 12px var(--iris-glow-sm);
  margin-bottom: 0.14em;
  flex-shrink: 0;
}

/* ============================================================
   Nav
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  background: rgba(7, 11, 20, 0.72);
  border-bottom: 1px solid var(--border-soft);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 20px;
}
/* Brand container is always LTR so "Mora." + "Media Group" reading order
   stays correct in both Arabic and English modes. */
.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  color: var(--text);
  direction: ltr;
}
.brand .wordmark { font-size: 22px; }
.brand-sub {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  /* Use left-border since brand is forced LTR */
  border-left: 1px solid var(--border);
  padding-left: 10px;
  display: inline-block;
  transform: translateY(-1px);
}

.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}
.nav-links a {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 14px;
  transition: color 0.2s var(--ease);
  position: relative;
}
.nav-links a:hover { color: var(--text); }
.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -6px;
  inset-inline-start: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--iris), var(--iris-soft));
  transition: width 0.25s var(--ease);
  border-radius: 2px;
}
.nav-links a:hover::after { width: 100%; }

.nav-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  border: 1px solid transparent;
  transition: transform 0.15s var(--ease), box-shadow 0.2s var(--ease),
              background 0.2s var(--ease), border-color 0.2s var(--ease),
              color 0.2s var(--ease), filter 0.2s var(--ease);
  white-space: nowrap;
  cursor: pointer;
  font-family: inherit;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: linear-gradient(135deg, var(--iris-dark) 0%, var(--iris) 55%, var(--iris-soft) 100%);
  color: #fff;
  box-shadow: 0 10px 28px -12px var(--iris-glow-sm);
}
.btn-primary:hover {
  filter: brightness(1.07);
  box-shadow: 0 14px 36px -10px var(--iris-glow-sm);
}

.btn-outline {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}
.btn-outline:hover {
  border-color: var(--iris);
  color: var(--iris-soft);
  background: rgba(124, 92, 255, 0.06);
}

.btn-ghost {
  background: var(--surface);
  color: var(--text-muted);
  border-color: var(--border);
  padding: 9px 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  min-width: 44px;
  justify-content: center;
}
.btn-ghost:hover {
  color: var(--text);
  border-color: var(--iris);
  background: var(--surface-hover);
}

.btn-sm { padding: 9px 14px; font-size: 13px; }
.btn-lg { padding: 14px 26px; font-size: 15px; }

/* ============================================================
   Hamburger
   ============================================================ */
.menu-btn {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  align-items: center;
  justify-content: center;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}
.menu-btn:hover { background: var(--surface-hover); border-color: var(--iris); }
.menu-ico,
.menu-ico::before,
.menu-ico::after {
  content: "";
  display: block;
  width: 16px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  color: var(--text);
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
  position: relative;
}
.menu-ico::before { position: absolute; top: -5px; left: 0; }
.menu-ico::after  { position: absolute; top:  5px; left: 0; }
body.menu-open .menu-ico                { transform: rotate(45deg); }
body.menu-open .menu-ico::before        { transform: translateY(5px) rotate(-90deg); }
body.menu-open .menu-ico::after         { opacity: 0; }

.mobile-menu {
  position: fixed;
  inset: 64px 0 0 0;
  z-index: 49;
  background: rgba(7, 11, 20, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s var(--ease);
}
.mobile-menu.open {
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-inner {
  max-width: 520px;
  margin: 0 auto;
  padding: 28px 24px 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  height: 100%;
  overflow-y: auto;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.m-link {
  display: block;
  padding: 16px 18px;
  border-radius: 14px;
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.m-link:hover { border-color: var(--iris); background: var(--surface-hover); }
.mobile-cta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}
.mobile-cta .btn { justify-content: center; }

/* ============================================================
   Eyebrow / headings
   ============================================================ */
.eyebrow {
  display: inline-block;
  padding: 6px 13px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--iris-soft);
  background: rgba(124, 92, 255, 0.07);
  border: 1px solid rgba(124, 92, 255, 0.22);
  border-radius: var(--radius-pill);
}
html[dir="rtl"] .eyebrow { letter-spacing: 0.04em; }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 112px;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.8;
}
.hero-glow-a {
  width: 520px;
  height: 520px;
  inset-inline-start: -140px;
  top: -120px;
  background: radial-gradient(circle, rgba(124, 92, 255, 0.35) 0%, transparent 70%);
}
.hero-glow-b {
  width: 520px;
  height: 520px;
  inset-inline-end: -160px;
  top: 10%;
  background: radial-gradient(circle, rgba(124, 92, 255, 0.18) 0%, transparent 70%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
}
.hero-text { max-width: 640px; }
.hero-title {
  margin: 22px 0 18px;
  font-size: clamp(34px, 5.8vw, 60px);
  line-height: 1.05;
  font-weight: 800;
}
.hero-gradient {
  background: linear-gradient(135deg, #FFFFFF 0%, var(--iris-soft) 60%, var(--iris) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  font-size: clamp(15.5px, 1.7vw, 18px);
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 0 32px;
  line-height: 1.6;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.hero-note {
  margin: 30px 0 0;
  font-size: 12px;
  color: var(--text-dim);
  letter-spacing: 0.02em;
  max-width: 540px;
}

/* --- Abstract vertical drama posters --- */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 420px;
}
.poster-stack {
  position: relative;
  width: 260px;
  height: 380px;
}
.poster-stack-lg { width: 280px; height: 420px; }

.poster {
  position: absolute;
  width: 160px;
  aspect-ratio: 9 / 16;
  border-radius: 18px;
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.7),
              0 0 0 1px rgba(255, 255, 255, 0.03) inset;
  transition: transform 0.4s var(--ease);
}
.poster::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.6) 100%);
  z-index: 1;
}
.poster::after {
  content: "";
  position: absolute;
  top: 14px;
  inset-inline-start: 14px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--iris), var(--iris-soft));
  box-shadow: 0 0 12px var(--iris-glow-sm);
  z-index: 2;
}
.poster-1 {
  inset-inline-start: 0;
  top: 30px;
  transform: rotate(-8deg);
  background:
    radial-gradient(circle at 70% 20%, rgba(155, 140, 255, 0.4), transparent 55%),
    linear-gradient(160deg, #1A1433 0%, #0E0B1F 100%);
  z-index: 1;
}
.poster-2 {
  inset-inline-start: 50%;
  top: 0;
  transform: translateX(-50%) rotate(2deg);
  background:
    radial-gradient(circle at 30% 30%, rgba(124, 92, 255, 0.5), transparent 55%),
    linear-gradient(160deg, #2B1F5C 0%, #120D28 100%);
  z-index: 3;
  width: 170px;
}
html[dir="rtl"] .poster-2 { transform: translateX(50%) rotate(2deg); }
.poster-3 {
  inset-inline-end: 0;
  top: 40px;
  transform: rotate(7deg);
  background:
    radial-gradient(circle at 30% 25%, rgba(90, 63, 214, 0.5), transparent 55%),
    linear-gradient(160deg, #1F1947 0%, #0A0818 100%);
  z-index: 2;
}

/* ============================================================
   Sections
   ============================================================ */
.section {
  padding: 104px 0;
  position: relative;
}
.section-alt {
  background: var(--bg-2);
  border-block: 1px solid var(--border-soft);
}
.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 52px;
}
.section-head h2 {
  margin: 18px 0 14px;
  font-size: clamp(26px, 3.4vw, 38px);
  line-height: 1.2;
}
.lead {
  color: var(--text-muted);
  font-size: 16.5px;
  margin: 0;
  line-height: 1.6;
}

/* ============================================================
   Grids
   ============================================================ */
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }

/* ============================================================
   Tile — matches hub "surface card" style
   ============================================================ */
.tile {
  position: relative;
  padding: 28px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.3s var(--ease-out),
              border-color 0.3s var(--ease),
              background 0.3s var(--ease);
}
.tile::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, var(--iris-glow-md), transparent 55%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
}
.tile:hover {
  border-color: rgba(124, 92, 255, 0.35);
  transform: translateY(-3px);
  background: var(--surface-2);
}
.tile:hover::before { opacity: 1; }

.tile-ico {
  width: 42px; height: 42px;
  border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--iris-dark), var(--iris));
  color: #fff;
  box-shadow: 0 10px 24px -14px var(--iris-glow-sm);
  margin-bottom: 16px;
}
.tile h3, .tile h4 {
  margin: 0 0 8px;
  font-size: 17px;
}
.tile p {
  color: var(--text-muted);
  margin: 0;
  font-size: 14.5px;
  line-height: 1.65;
}
.tile-sm { padding: 24px 22px; }
.tile-sm .tile-ico { width: 36px; height: 36px; border-radius: 10px; margin-bottom: 14px; }
.tile-sm h4 { font-size: 15.5px; }
.tile-sm p { font-size: 14px; }

/* ============================================================
   Product showcase
   ============================================================ */
.showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 56px;
  background:
    radial-gradient(circle at 90% 10%, var(--iris-glow-lg), transparent 60%),
    linear-gradient(135deg, rgba(124, 92, 255, 0.06) 0%, var(--surface) 65%);
  border: 1px solid rgba(124, 92, 255, 0.22);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}
.showcase-text { position: relative; z-index: 1; }
.showcase-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--iris-soft);
  background: rgba(124, 92, 255, 0.1);
  border: 1px solid rgba(124, 92, 255, 0.3);
  border-radius: var(--radius-pill);
  margin-bottom: 14px;
}
.showcase-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--iris), var(--iris-soft));
  box-shadow: 0 0 10px var(--iris-glow-sm);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.15); }
}
.showcase-text h3 {
  margin: 0 0 14px;
  font-size: 32px;
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
}
.showcase-text h3 .wordmark { font-size: 32px; }
.showcase-text > p {
  margin: 0 0 22px;
  color: var(--text-muted);
  font-size: 15.5px;
  line-height: 1.65;
}
.check-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: grid;
  gap: 10px;
}
.check-list li {
  position: relative;
  padding-inline-start: 26px;
  font-size: 14.5px;
  color: var(--text);
  line-height: 1.5;
}
.check-list li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 8px;
  width: 8px; height: 8px;
  background: linear-gradient(135deg, var(--iris), var(--iris-soft));
  border-radius: 50%;
  box-shadow: 0 0 10px var(--iris-glow-sm);
}
.showcase-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 420px;
  z-index: 1;
}

/* ============================================================
   Pillars (business model)
   ============================================================ */
.pillars {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.pillar {
  position: relative;
  padding: 28px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.3s var(--ease);
}
.pillar:hover { border-color: rgba(124, 92, 255, 0.3); }
.pillar-num {
  display: inline-block;
  font-family: "Sora", sans-serif;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--iris-soft);
  padding: 4px 10px;
  border: 1px solid rgba(124, 92, 255, 0.3);
  background: rgba(124, 92, 255, 0.07);
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
}
.pillar h4 {
  margin: 0 0 8px;
  font-size: 16.5px;
}
.pillar p {
  margin: 0;
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.65;
}

/* ============================================================
   Partner cards
   ============================================================ */
.partner-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.partner-card {
  position: relative;
  padding: 32px 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease-out);
  overflow: hidden;
}
.partner-card:hover {
  border-color: rgba(124, 92, 255, 0.35);
  transform: translateY(-3px);
}
.partner-dot {
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--iris), var(--iris-soft));
  box-shadow: 0 0 14px var(--iris-glow-sm);
  margin-bottom: 16px;
}
.partner-card h4 {
  margin: 0 0 8px;
  font-size: 18px;
  color: var(--text);
}
.partner-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.65;
}
.partner-cta {
  margin-top: 32px;
  display: flex;
  justify-content: center;
}

/* ============================================================
   Feature (why-mora)
   ============================================================ */
.feature {
  padding: 24px 22px 24px 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  border-inline-start: 3px solid var(--iris);
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.feature:hover {
  background: var(--surface-2);
  border-color: var(--border);
  border-inline-start-color: var(--iris-soft);
}
.feature h4 {
  margin: 0 0 6px;
  font-size: 16px;
}
.feature p {
  margin: 0;
  font-size: 14px;
  color: var(--text-muted);
}

/* ============================================================
   Company info table
   ============================================================ */
.company-grid {
  max-width: 900px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.company-row {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) 2fr;
  padding: 18px 26px;
  border-bottom: 1px solid var(--border-soft);
  gap: 24px;
  align-items: start;
}
.company-row:last-child { border-bottom: none; }
.company-row:nth-child(odd) { background: rgba(255, 255, 255, 0.015); }
.company-key {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.company-val {
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  line-height: 1.5;
}
.company-val a { color: var(--iris-soft); transition: color 0.2s var(--ease); }
.company-val a:hover { color: var(--iris); }

/* ============================================================
   Contact
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 28px;
  align-items: start;
}
.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contact-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.contact-item:not(.contact-item-static):hover {
  border-color: var(--iris);
  transform: translateY(-1px);
}
.contact-ico {
  color: var(--iris-soft);
  flex-shrink: 0;
  margin-top: 2px;
}
.contact-label {
  display: block;
  font-size: 11px;
  color: var(--text-dim);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.contact-value {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.5;
  word-break: break-word;
}

/* ============================================================
   Form
   ============================================================ */
.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.01em;
}
.contact-form input,
.contact-form textarea,
.contact-form select {
  font: inherit;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 11px;
  padding: 12px 14px;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.contact-form select {
  appearance: none;
  background-image:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%239B8CFF' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 14px;
  padding-inline-end: 38px;
}
html[dir="rtl"] .contact-form select {
  background-position: left 14px center;
  padding-inline-end: 38px;
  padding-inline-start: 14px;
}
.contact-form textarea { resize: vertical; min-height: 140px; }
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: var(--iris);
  box-shadow: 0 0 0 3px rgba(124, 92, 255, 0.18);
}
.contact-form button[type="submit"]:disabled {
  opacity: 0.6;
  cursor: progress;
}
.form-msg {
  min-height: 1.2em;
  font-size: 13px;
  margin: 0;
}
.form-msg.success { color: var(--success); }
.form-msg.error   { color: var(--danger); }

/* ============================================================
   Footer
   ============================================================ */
.footer {
  padding: 40px 0;
  border-top: 1px solid var(--border-soft);
  background: var(--bg-2);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1.1fr;
  gap: 24px;
  align-items: center;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--text);
}
.footer-brand .wordmark { font-size: 24px; }
.footer-brand div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.footer-brand strong { font-size: 14px; font-weight: 700; }
.footer-legal {
  font-size: 12px;
  color: var(--text-dim);
  font-weight: 500;
}
.footer-legal a { color: var(--iris-soft); transition: color 0.2s var(--ease); }
.footer-legal a:hover { color: var(--iris); }

.footer-links {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-links a {
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 500;
  transition: color 0.2s var(--ease);
}
.footer-links a:hover { color: var(--iris-soft); }

.footer-note {
  margin: 0;
  font-size: 12.5px;
  color: var(--text-dim);
  text-align: end;
}

/* ============================================================
   Icons
   ============================================================ */
.icon-arrow { transition: transform 0.2s var(--ease); }
html[dir="rtl"] .icon-arrow { transform: scaleX(-1); }
a:hover .icon-arrow, button:hover .icon-arrow { transform: translate(2px, -2px); }
html[dir="rtl"] a:hover .icon-arrow,
html[dir="rtl"] button:hover .icon-arrow { transform: scaleX(-1) translate(2px, -2px); }

/* ============================================================
   Mobile breakpoints
   ============================================================ */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-text { max-width: 100%; text-align: start; }
  .hero-sub { max-width: 640px; }
  .hero-visual { min-height: 420px; }
}

@media (max-width: 960px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .partner-grid { grid-template-columns: 1fr; }
  .showcase { grid-template-columns: 1fr; gap: 40px; padding: 40px; }
  .showcase-visual { min-height: 380px; order: -1; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; text-align: center; gap: 20px; }
  .footer-note { text-align: center; }
  .footer-links { justify-content: center; }
  .footer-brand { justify-content: center; flex-wrap: wrap; }
}

@media (max-width: 720px) {
  .nav-links { display: none; }
  .menu-btn { display: inline-flex; }
  .nav-cta { display: none; }
  .brand-sub { display: none; }
  .brand .wordmark { font-size: 20px; }

  .hero { padding: 72px 0 88px; }
  .section { padding: 72px 0; }
  .section-head { margin-bottom: 40px; }

  .grid-4 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .company-row { grid-template-columns: 1fr; gap: 4px; padding: 16px 20px; }

  .showcase { padding: 28px 24px; }
  .showcase-text h3 { font-size: 26px; }
  .showcase-text h3 .wordmark { font-size: 26px; }
  .contact-form { padding: 22px; }

  .hero-cta .btn { flex: 1; min-width: 140px; justify-content: center; }

  .poster-stack { width: 230px; height: 330px; }
  .poster { width: 140px; }
  .poster-2 { width: 150px; }
}

/* ============================================================
   Motion reduce
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
}
