/* =============================================================
   Shedu — Landing page styles
   Inherits design tokens from ../colors_and_type.css
   Marketing site (separate from the product app at /mockups)
   ============================================================= */

@import url('../colors_and_type.css');

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-latin), system-ui, sans-serif;
  color: var(--fg1);
  background: var(--neutral-0);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
html[lang="ar"] body { font-family: var(--font-arabic), var(--font-latin), system-ui, sans-serif; }

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

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

/* ---------- Container ---------- */
.wrap { max-width: 1200px; margin: 0 auto; padding-inline: 24px; }
@media (min-width: 768px) { .wrap { padding-inline: 40px; } }

/* ---------- Brand tokens local to landing ---------- */
:root {
  --ink: #061638;
  --ink-2: #0E2E68;
  --paper: #F8F4EC;        /* warm stone — Mesopotamian */
  --gold-grad: linear-gradient(135deg, #AC8639 0%, #F3C668 19%, #DAB058 52%, #F5F68D 77%, #C19C48 100%); /* @kind color */
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif; /* @kind font */
  --serif-ar: var(--font-arabic);
}

/* ---------- Type ---------- */
h1, h2, h3, h4 { margin: 0; letter-spacing: -0.02em; color: var(--fg1); }
h1 { font: 600 clamp(36px, 6vw, 64px)/1.05 var(--serif); }
h2 { font: 600 clamp(28px, 4vw, 44px)/1.1 var(--serif); }
h3 { font: 600 22px/1.3 var(--font-latin); letter-spacing: -0.01em; }
p  { margin: 0; }

html[lang="ar"] h1 { font-family: var(--serif-ar); font-weight: 700; }
html[lang="ar"] h2 { font-family: var(--serif-ar); font-weight: 700; }
html[lang="ar"] h3 { font-family: var(--serif-ar); font-weight: 700; }

.eyebrow {
  font: 600 11px/1 var(--font-latin); letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--accent-600);
}
html[lang="ar"] .eyebrow { font-family: var(--font-arabic); letter-spacing: 0.12em; }

.gold-text {
  background: var(--gold-grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* ---------- Navigation ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.85); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-row {
  display: flex; align-items: center; gap: 32px;
  height: 68px;
}
.nav-brand { display: flex; align-items: center; gap: 12px; }
.nav-brand img { width: 36px; height: 36px; }
.nav-brand .wm {
  font: 600 18px/1 'Cinzel', Georgia, serif; letter-spacing: 0.18em;
  color: var(--primary-700);
}
html[lang="ar"] .nav-brand .wm-ar {
  font: 700 22px/1 var(--font-arabic); color: var(--primary-700);
}
.nav-links { display: none; gap: 28px; margin-inline-start: 24px; flex: 1; }
@media (min-width: 900px) { .nav-links { display: flex; } }
.nav-links a {
  font: 500 14px/1 inherit; color: var(--fg2);
  padding: 6px 0;
}
.nav-links a:hover { color: var(--primary-700); }
.nav-actions { margin-inline-start: auto; display: flex; align-items: center; gap: 12px; }
.lang-toggle {
  display: flex; height: 36px; padding: 3px;
  border-radius: 999px; background: var(--neutral-100);
  font: 600 12px/1 var(--font-latin);
}
.lang-toggle button {
  border: none; background: transparent; color: var(--fg2);
  padding: 0 14px; border-radius: 999px; cursor: pointer;
}
.lang-toggle button.on {
  background: white; color: var(--fg1); box-shadow: var(--shadow-sm);
}
html[lang="ar"] .lang-toggle button.ar { font-family: var(--font-arabic); }

.nav-login, .nav-register {
  font: 600 13px/1 inherit; padding: 10px 14px; border-radius: 10px; white-space: nowrap;
}
.nav-login { color: var(--primary-700); border: 1px solid var(--border-strong); background: white; }
.nav-register { color: white; background: var(--primary-700); }

/* Small screens: the bar keeps the brand, language and sign-in only.
   The app download sits in the hero; sign-up is linked from the sign-in screen. */
@media (max-width: 899px) {
  .nav-actions .btn-cta { display: none; }
}
@media (max-width: 599px) {
  .nav-row { gap: 12px; height: 60px; }
  .nav-actions { gap: 8px; }
  .nav-register { display: none; }
  .nav-login { padding: 9px 12px; }
  .lang-toggle { height: 34px; }
  .lang-toggle button { padding: 0 10px; }
}
@media (max-width: 359px) {
  .nav-brand .wm { display: none; }
}

.btn-cta, .btn-cta-outline {
  height: 42px; padding: 0 18px; border-radius: 999px;
  border: none; font: 600 14px/1 inherit;
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  transition: all 220ms cubic-bezier(0.2,0.8,0.2,1);
}
.btn-cta {
  background: var(--primary-700); color: white;
}
.btn-cta:hover { background: var(--primary-800); transform: translateY(-1px); }
.btn-cta-outline {
  background: transparent; color: var(--primary-700);
  box-shadow: inset 0 0 0 1.5px var(--primary-700);
}
.btn-cta-outline:hover { background: var(--primary-50); }
.btn-cta-lg, .btn-cta-outline-lg {
  height: 56px; padding: 0 28px; font-size: 16px; border-radius: 999px;
  display: inline-flex; align-items: center; gap: 10px;
  border: none; cursor: pointer;
  transition: all 220ms cubic-bezier(0.2,0.8,0.2,1);
}
.btn-cta-lg {
  background: var(--primary-700); color: white;
  font-weight: 600;
}
.btn-cta-lg:hover { background: var(--primary-800); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(14,46,104,0.25); }
.btn-cta-outline-lg {
  background: transparent; color: white; font-weight: 500;
  box-shadow: inset 0 0 0 1.5px rgba(255,255,255,0.4);
}
.btn-cta-outline-lg:hover { background: rgba(255,255,255,0.08); }

/* RTL: flip arrows */
html[dir="rtl"] .btn-cta svg.flip,
html[dir="rtl"] .btn-cta-lg svg.flip,
html[dir="rtl"] .btn-cta-outline svg.flip { transform: scaleX(-1); }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(180deg, #0A2350 0%, #0E2E68 60%, #143B7E 100%);
  color: white; position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background-image: url('../assets/patterns/star-tile.svg');
  background-size: 140px 140px; opacity: 0.07; color: white;
  pointer-events: none;
}
.hero::after {
  /* horizon glow */
  content: ''; position: absolute; left: 50%; bottom: -160px; transform: translateX(-50%);
  width: 1100px; height: 480px; border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(217,188,119,0.18) 0%, transparent 60%);
  filter: blur(40px);
  pointer-events: none;
}
.hero-inner {
  position: relative; z-index: 1;
  padding-block: 64px 110px; /* block only: the side padding comes from .wrap */
  display: grid; gap: 56px; align-items: center;
}
@media (min-width: 900px) {
  .hero-inner { grid-template-columns: 1.1fr 0.9fr; padding-block: 96px 140px; }
}
.hero h1 { color: white; }
.hero h1 .gold-text {
  background: var(--gold-grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero p {
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 1.65;
  color: rgba(255,255,255,0.78);
  max-width: 520px;
  margin-top: 22px;
}
.hero-ctas {
  display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px;
}

.hero-mark {
  position: relative;
  display: grid; place-items: center;
  aspect-ratio: 1;
  max-width: 480px; margin-inline: auto;
}
.hero-mark .ring {
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(217,188,119,0.18);
  animation: ring-rotate 60s linear infinite;
}
.hero-mark .ring.r2 { inset: 8%; animation-duration: 90s; animation-direction: reverse; }
.hero-mark .ring.r3 { inset: 16%; border-color: rgba(217,188,119,0.10); animation-duration: 120s; }
@keyframes ring-rotate { to { transform: rotate(360deg); } }
.hero-mark img {
  width: 70%; height: 70%; object-fit: contain;
  filter: drop-shadow(0 24px 64px rgba(0,0,0,0.45));
  animation: float 8s ease-in-out infinite;
}
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* Trust signals band */
.trust-band {
  background: var(--paper);
  padding: 32px 0;
  border-bottom: 1px solid rgba(140, 117, 65, 0.12);
}
.trust-row {
  display: grid; gap: 24px;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 720px) { .trust-row { grid-template-columns: repeat(4, 1fr); } }
.trust-item {
  display: flex; align-items: flex-start; gap: 12px;
}
.trust-item .ti-icon {
  width: 36px; height: 36px; flex-shrink: 0;
  border-radius: 8px;
  background: rgba(14,46,104,0.08);
  color: var(--primary-700);
  display: grid; place-items: center;
}
.trust-item .ti-text { font: 500 13px/1.4 inherit; color: var(--fg1); }
.trust-item .ti-text strong { display: block; color: var(--primary-700); font-size: 12px; margin-bottom: 2px; letter-spacing: 0.04em; text-transform: uppercase; }
html[lang="ar"] .trust-item .ti-text strong { text-transform: none; letter-spacing: 0; font-size: 13px; }

/* ---------- Section / shared ---------- */
section { padding: 88px 0; position: relative; }
@media (max-width: 720px) { section { padding: 64px 0; } }
.section-head {
  text-align: center;
  max-width: 720px; margin: 0 auto 56px;
}
.section-head .eyebrow { margin-bottom: 14px; }
.section-head p {
  font-size: clamp(15px, 1.6vw, 17px);
  color: var(--fg2);
  margin-top: 16px;
  line-height: 1.7;
}

/* Features (Block 3) */
.features { background: var(--neutral-50); }
.features-grid {
  display: grid; gap: 20px;
  grid-template-columns: 1fr;
}
@media (min-width: 800px) { .features-grid { grid-template-columns: repeat(3, 1fr); } }
.feature-card {
  background: white; border: 1px solid var(--border);
  border-radius: 18px; padding: 28px;
  position: relative; overflow: hidden;
  transition: transform 280ms, box-shadow 280ms;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 20px 48px rgba(14,46,104,0.10); }
.feature-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--primary-700); color: white;
  display: grid; place-items: center; margin-bottom: 20px;
}
.feature-card h3 { margin-bottom: 8px; color: var(--fg1); }
.feature-card p { font-size: 14.5px; line-height: 1.65; color: var(--fg2); }
.feature-num {
  position: absolute; top: 18px; inset-inline-end: 24px;
  font: 700 56px/1 var(--serif); color: var(--neutral-200);
  pointer-events: none;
}
html[lang="ar"] .feature-num { font-family: var(--font-arabic); font-size: 48px; }

/* Destinations (Block 4) */
.destinations { background: var(--ink); color: white; }
.destinations::before {
  content: ''; position: absolute; inset: 0;
  background-image: url('../assets/patterns/star-tile.svg');
  background-size: 160px 160px; opacity: 0.04; color: white;
  pointer-events: none;
}
.destinations h2 { color: white; }
.destinations .section-head p { color: rgba(255,255,255,0.7); }
.dest-grid {
  display: grid; gap: 14px;
  grid-template-columns: repeat(2, 1fr);
  position: relative;
}
@media (min-width: 600px) { .dest-grid { grid-template-columns: repeat(3, 1fr); } }
.dest-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px; padding: 22px 20px;
  transition: all 280ms;
}
.dest-card:hover { background: rgba(255,255,255,0.08); border-color: rgba(217,188,119,0.30); }
.dest-name { font: 600 18px/1.2 inherit; color: white; }
.dest-from {
  font: 500 11px/1 var(--font-latin); letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(255,255,255,0.55); margin-top: 14px;
}
html[lang="ar"] .dest-from { font-family: var(--font-arabic); text-transform: none; letter-spacing: 0; font-size: 12px; }
.dest-price {
  font: 700 22px/1 var(--font-latin); color: var(--accent-300);
  font-variant-numeric: tabular-nums; direction: ltr; text-align: start;
  margin-top: 6px;
}

/* Convince me (Block 5) */
.convince { background: var(--paper); }
.convince h2 { color: var(--ink); }
.convince-grid {
  display: grid; gap: 36px;
  grid-template-columns: 1fr;
}
@media (min-width: 800px) { .convince-grid { grid-template-columns: repeat(3, 1fr); } }
.convince-item .big-num {
  font: 600 42px/1 var(--serif); color: var(--accent-600);
  letter-spacing: -0.02em; margin-bottom: 18px;
  font-variant-numeric: tabular-nums;
}
html[lang="ar"] .convince-item .big-num { font-family: var(--font-arabic); font-weight: 700; }
.convince-item h3 { margin-bottom: 10px; color: var(--ink); font-size: 20px; }
.convince-item p { color: var(--fg1); font-size: 15px; line-height: 1.7; }

/* The Shedu story (Block 6) */
.story {
  background: linear-gradient(180deg, var(--paper) 0%, #EEE6D2 100%);
  position: relative; overflow: hidden;
}
.story-inner {
  display: grid; gap: 56px; align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .story-inner { grid-template-columns: 0.85fr 1.15fr; }
}
.story-image {
  position: relative;
  aspect-ratio: 1;
  display: grid; place-items: center;
  background: radial-gradient(circle at center, rgba(212,163,53,0.18) 0%, transparent 70%);
}
.story-image img {
  width: 80%; height: 80%; object-fit: contain;
}
.story h2 { color: var(--ink); margin-bottom: 24px; }
.story p {
  font-size: clamp(16px, 1.8vw, 19px);
  line-height: 1.85;
  color: var(--fg1);
}
.story p + p { margin-top: 18px; }
.story .quote-mark {
  font: 500 96px/0.6 var(--serif); color: var(--accent-400); opacity: 0.4;
  display: block; margin-bottom: 8px;
}
html[lang="ar"] .story .quote-mark { font-family: var(--font-arabic); }

/* Testimonials (Block 7) */
.testimonials { background: white; }
.testi-grid {
  display: grid; gap: 22px;
  grid-template-columns: 1fr;
}
@media (min-width: 800px) { .testi-grid { grid-template-columns: repeat(3, 1fr); } }
.testi-card {
  background: var(--neutral-50);
  border: 1px solid var(--border);
  border-radius: 18px; padding: 28px;
  display: flex; flex-direction: column;
  position: relative;
}
.testi-quote-mark {
  font: 600 56px/0.6 var(--serif); color: var(--accent-400);
  display: block; margin-bottom: 12px;
}
.testi-quote {
  font-size: 15px; line-height: 1.7; color: var(--fg1);
  flex: 1; margin-bottom: 20px;
}
.testi-attr {
  display: flex; align-items: center; gap: 12px;
  padding-top: 18px; border-top: 1px solid var(--border);
}
.testi-avatar {
  width: 40px; height: 40px; border-radius: 999px;
  background: linear-gradient(135deg, var(--primary-400), var(--primary-700));
  color: white; display: grid; place-items: center;
  font: 700 13px/1 var(--font-latin); flex-shrink: 0;
}
.testi-name { font: 600 14px/1.2 inherit; color: var(--fg1); }
.testi-loc { font: 400 12px/1.2 inherit; color: var(--fg2); margin-top: 2px; }

/* App download (Block 8) */
.app-band {
  background: linear-gradient(135deg, var(--primary-800) 0%, var(--primary-700) 100%);
  color: white; position: relative; overflow: hidden;
}
.app-band::before {
  content: ''; position: absolute; inset: 0;
  background-image: url('../assets/patterns/star-tile.svg');
  background-size: 140px 140px; opacity: 0.06; color: white;
  pointer-events: none;
}
.app-inner {
  display: grid; gap: 56px; align-items: center;
  grid-template-columns: 1fr;
  position: relative;
}
@media (min-width: 900px) {
  .app-inner { grid-template-columns: 1.2fr 0.8fr; }
}
.app-copy h2 { color: white; }
.app-copy p {
  color: rgba(255,255,255,0.75);
  font-size: 16px; line-height: 1.7;
  margin-top: 18px; max-width: 480px;
}
.app-badges {
  display: flex; flex-wrap: wrap; gap: 14px;
  margin-top: 32px;
}
.store-badge {
  display: inline-flex; align-items: center; gap: 12px;
  height: 56px; padding: 0 22px;
  border-radius: 12px; background: black; color: white;
  text-decoration: none;
  transition: transform 220ms;
}
.store-badge:hover { transform: translateY(-2px); }
.store-badge .store-icon { width: 28px; height: 28px; }
.store-badge .store-lines { display: flex; flex-direction: column; gap: 2px; line-height: 1; }
.store-badge .store-pre { font: 400 10px/1 inherit; letter-spacing: 0.04em; opacity: 0.8; }
.store-badge .store-name { font: 600 16px/1 inherit; }
html[lang="ar"] .store-badge .store-pre,
html[lang="ar"] .store-badge .store-name { font-family: var(--font-arabic); }

.qr-block {
  display: inline-flex; align-items: center; gap: 16px;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px; padding: 14px 18px;
  margin-top: 24px;
}
.qr-square {
  width: 64px; height: 64px; background: white; border-radius: 8px;
  display: grid; place-items: center;
}
.qr-square svg { width: 56px; height: 56px; }
.qr-text { font: 400 13px/1.5 inherit; color: rgba(255,255,255,0.75); max-width: 200px; }

.app-phone {
  display: grid; place-items: center;
  position: relative;
}
.phone-frame {
  width: 280px; aspect-ratio: 9 / 19.5;
  background: #0F141C;
  border-radius: 40px;
  padding: 8px;
  box-shadow: 0 40px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.1);
  position: relative;
}
.phone-screen {
  width: 100%; height: 100%;
  background: var(--neutral-50);
  border-radius: 32px;
  overflow: hidden;
  position: relative;
}
.phone-screen .ph-hero {
  background: var(--primary-700); color: white; padding: 30px 18px 22px;
  position: relative;
}
.phone-screen .ph-greet { font-size: 10px; color: rgba(255,255,255,0.6); }
.phone-screen .ph-name { font: 700 17px/1.2 inherit; margin-top: 2px; }
.phone-screen .ph-stats {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 6px;
  margin-top: 14px;
}
.phone-screen .ph-stat {
  background: white; color: var(--fg1);
  border-radius: 10px; padding: 8px 8px 10px;
  font: 600 13px/1 var(--font-latin);
}
.phone-screen .ph-stat .ph-stat-label { font: 500 7px/1 inherit; color: var(--fg2); display: block; margin-bottom: 4px; }
.phone-screen .ph-stat .ph-stat-val { font: 700 14px/1 var(--font-latin); color: var(--fg1); letter-spacing: -0.01em; }
.phone-screen .ph-cta {
  margin: 14px 18px 0; background: var(--primary-700); border-radius: 14px;
  padding: 14px; color: white;
  position: relative;
}
.phone-screen .ph-cta-title { font: 700 12px/1.2 inherit; }
.phone-screen .ph-cta-sub { font: 400 9px/1.4 inherit; color: rgba(255,255,255,0.7); margin-top: 2px; }
.phone-screen .ph-cta-btn {
  margin-top: 10px; background: white; color: var(--primary-700);
  border-radius: 8px; height: 32px;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  font: 600 10px/1 var(--font-latin);
}
.phone-screen .ph-list { padding: 14px 18px; }
.phone-screen .ph-list-h { font: 600 11px/1 var(--font-latin); color: var(--fg1); margin-bottom: 8px; }
.phone-screen .ph-policy {
  background: white; border: 1px solid var(--border); border-radius: 10px;
  padding: 10px; margin-bottom: 6px;
  display: flex; align-items: center; gap: 8px;
}
.phone-screen .ph-policy-icon {
  width: 26px; height: 26px; border-radius: 6px;
  background: var(--primary-50); color: var(--primary-700);
  display: grid; place-items: center; flex-shrink: 0;
}
.phone-screen .ph-policy-icon svg { width: 14px; height: 14px; }
.phone-screen .ph-policy-name { font: 600 10px/1.2 inherit; }
.phone-screen .ph-policy-meta { font: 400 8px/1.2 inherit; color: var(--fg2); margin-top: 2px; }

/* FAQ (Block 9) */
.faq { background: var(--neutral-50); }
.faq-list {
  max-width: 800px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 12px;
}
.faq-item {
  background: white; border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 24px;
  display: flex; align-items: center; gap: 16px;
  font: 600 16px/1.4 inherit; color: var(--fg1);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ''; width: 24px; height: 24px; flex-shrink: 0; margin-inline-start: auto;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230E2E68' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-size: contain; background-repeat: no-repeat;
  transition: transform 220ms;
}
.faq-item[open] summary::after { transform: rotate(180deg); }
.faq-item summary:hover { background: var(--neutral-50); }
.faq-item .faq-body {
  padding: 0 24px 22px;
  font: 400 15px/1.7 inherit; color: var(--fg2);
}

/* Footer */
.footer {
  background: var(--ink); color: rgba(255,255,255,0.7);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid; gap: 40px;
  grid-template-columns: 1fr;
  margin-bottom: 48px;
}
@media (min-width: 800px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}
.footer-brand { display: flex; flex-direction: column; gap: 14px; max-width: 360px; }
.footer-brand .brand-row { display: flex; align-items: center; gap: 12px; }
.footer-brand .brand-row img { width: 32px; height: 32px; }
.footer-brand .brand-row .wm {
  font: 600 16px/1 'Cinzel', Georgia, serif; letter-spacing: 0.18em;
  color: var(--accent-400);
}
html[lang="ar"] .footer-brand .brand-row .wm-ar {
  font: 700 20px/1 var(--font-arabic); color: var(--accent-400);
}
.footer-brand p { font-size: 13px; line-height: 1.7; color: rgba(255,255,255,0.55); }
.footer-col h4 {
  font: 600 13px/1 var(--font-latin); letter-spacing: 0.08em; text-transform: uppercase;
  color: white; margin-bottom: 16px;
}
html[lang="ar"] .footer-col h4 { font-family: var(--font-arabic); letter-spacing: 0; text-transform: none; font-size: 14px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font: 400 13px/1.5 inherit; color: rgba(255,255,255,0.65); }
.footer-col a:hover { color: var(--accent-400); }

.footer-contact { font-size: 13px; line-height: 1.7; }
.footer-contact .ct-line { display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,0.65); }
.footer-contact .ct-line svg { width: 14px; height: 14px; color: var(--accent-400); }

.parents {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 32px;
  display: grid; gap: 28px;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) { .parents { grid-template-columns: 1fr 1fr; } }
.parent-block {
  display: flex; align-items: center; gap: 16px;
}
.parent-block .pb-mark {
  width: 48px; height: 48px; flex-shrink: 0; border-radius: 10px;
  background: rgba(255,255,255,0.08);
  display: grid; place-items: center;
  color: var(--accent-400);
  font: 700 16px/1 'Cinzel', Georgia, serif; letter-spacing: 0.1em;
}
.parent-block .pb-text { font-size: 13px; color: rgba(255,255,255,0.65); }
.parent-block .pb-text strong { display: block; color: white; font: 600 14px/1.2 var(--font-latin); margin-bottom: 4px; }
html[lang="ar"] .parent-block .pb-text strong { font-family: var(--font-arabic); }
.parent-block .pb-text a { color: var(--accent-400); }
.parent-block .pb-text a:hover { text-decoration: underline; }

.footer-meta {
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 32px; padding-top: 24px;
  display: flex; flex-wrap: wrap; gap: 18px; justify-content: space-between;
  font-size: 12px; color: rgba(255,255,255,0.45);
}
.footer-meta .socials { display: flex; gap: 14px; }
.footer-meta .socials a { color: rgba(255,255,255,0.55); }
.footer-meta .socials a:hover { color: var(--accent-400); }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 720ms cubic-bezier(0.2,0.8,0.2,1), transform 720ms cubic-bezier(0.2,0.8,0.2,1); }
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal.delay-1 { transition-delay: 100ms; }
.reveal.delay-2 { transition-delay: 200ms; }
.reveal.delay-3 { transition-delay: 300ms; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .hero-mark img, .hero-mark .ring { animation: none !important; transition: none !important; opacity: 1 !important; transform: none !important; }
}

/* RTL directional icon flip */
html[dir="rtl"] .flip-rtl { transform: scaleX(-1); }

/* ---------- Products showcase (Block: three lines) ---------- */
.products { background: var(--neutral-50); }
.products-grid {
  display: grid; gap: 20px;
  grid-template-columns: 1fr;
}
@media (min-width: 860px) { .products-grid { grid-template-columns: repeat(3, 1fr); } }
.product-card {
  background: white; border: 1px solid var(--border);
  border-radius: 20px; padding: 30px 28px;
  display: flex; flex-direction: column;
  transition: transform 280ms, box-shadow 280ms, border-color 280ms;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 50px rgba(14,46,104,0.10);
  border-color: var(--accent-300);
}
.product-icon {
  width: 56px; height: 56px; border-radius: 15px;
  background: var(--primary-700); color: white;
  display: grid; place-items: center; margin-bottom: 22px;
}
.product-icon svg { width: 26px; height: 26px; }
.product-card h3 { color: var(--fg1); margin-bottom: 10px; }
.product-desc { font-size: 15px; line-height: 1.7; color: var(--fg2); }
.cover-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.cover-tag {
  display: inline-flex; align-items: center;
  font: 500 12px/1 var(--font-latin); letter-spacing: 0.01em;
  padding: 7px 11px; border-radius: 999px;
  background: var(--primary-50); color: var(--primary-700);
}
html[lang="ar"] .cover-tag { font-family: var(--font-arabic); }
.product-link {
  margin-top: auto; padding-top: 20px;
  display: inline-flex; align-items: center; gap: 8px;
  font: 600 14px/1 var(--font-latin); color: var(--primary-700);
}
html[lang="ar"] .product-link { font-family: var(--font-arabic); }
.product-link .pl-divider {
  width: 100%;
}
.product-link svg { width: 16px; height: 16px; transition: transform 220ms; }
.product-card:hover .product-link svg { transform: translateX(3px); }
html[dir="rtl"] .product-card:hover .product-link svg { transform: translateX(-3px); }
.product-link-wrap {
  margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--border);
}
