/* ===================================================
   EMCEED – Apple-style Black & White
=================================================== */

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:         #000000;
  --bg-raised:  #0d0d0d;
  --bg-card:    #111111;
  --bg-light:   #f5f5f7;
  --border:     rgba(255,255,255,0.08);
  --border-mid: rgba(255,255,255,0.14);
  --border-hi:  rgba(255,255,255,0.24);
  --text:       rgba(255,255,255,0.88);
  --text-dim:   rgba(255,255,255,0.48);
  --text-faint: rgba(255,255,255,0.24);
  --white:      #ffffff;
  --font:       -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --radius:     16px;
  --radius-sm:  10px;
  --ease:       cubic-bezier(0.4, 0, 0.2, 1);
  --t:          0.3s;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* CSS grid background */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.028) 1px, transparent 1px);
  background-size: 70px 70px;
  z-index: 0;
  pointer-events: none;
}

/* Arabic font override */
[lang="ar"] body {
  font-family: 'Cairo', -apple-system, BlinkMacSystemFont, sans-serif;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ── UTILITY ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.section    { padding: 120px 0; }
.section-alt { background: var(--bg-raised); }

/* Ensure all content sections sit above the Three.js canvas and grid overlay */
#navbar,
.hero,
.stats-bar,
.marquee-bar,
.section,
.footer {
  position: relative;
  z-index: 1;
}

.section-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--text-dim);
  text-transform: uppercase;
  margin-bottom: 18px;
}
.section-header { text-align: center; margin-bottom: 72px; }
.page-hero { padding-top: 160px; padding-bottom: 40px; }
.section-header h2 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 20px;
}
.section-sub {
  font-size: 19px;
  font-weight: 300;
  color: var(--text-dim);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  color: #000;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  padding: 14px 28px;
  border-radius: 980px;
  border: none;
  cursor: pointer;
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease), opacity var(--t);
}
.btn-primary:hover {
  transform: scale(1.03);
  box-shadow: 0 0 0 4px rgba(255,255,255,0.15);
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--white);
  font-family: var(--font);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
  padding: 14px 28px;
  border-radius: 980px;
  border: 1px solid var(--border-mid);
  cursor: pointer;
  transition: border-color var(--t), background var(--t), transform var(--t) var(--ease);
}
.btn-ghost:hover {
  border-color: var(--border-hi);
  background: rgba(255,255,255,0.06);
  transform: scale(1.02);
}
.btn-outline {
  display: inline-block;
  border: 1px solid var(--border-mid);
  border-radius: 980px;
  padding: 8px 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dim);
  transition: border-color var(--t), color var(--t);
}
.btn-outline:hover { border-color: var(--border-hi); color: var(--white); }
.btn-full { width: 100%; justify-content: center; }

/* ── LANG TOGGLE ── */
.lang-toggle {
  background: transparent;
  border: 1px solid var(--border-mid);
  color: var(--text-dim);
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 6px 14px;
  border-radius: 980px;
  cursor: pointer;
  transition: border-color var(--t), color var(--t);
  margin-left: 8px;
}
.lang-toggle:hover { border-color: var(--border-hi); color: var(--white); }
[dir="rtl"] .lang-toggle { margin-left: 0; margin-right: 8px; }

/* ── NAV ── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 32px;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border);
  transition: background var(--t);
}
#navbar.scrolled { background: rgba(0, 0, 0, 0.88); }
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-img {
  width: 30px;
  height: 30px;
  filter: invert(1);
  opacity: 0.9;
  transition: opacity var(--t);
}
.nav-logo:hover .logo-img { opacity: 1; }
.logo-text {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--white);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 14px;
  font-weight: 400;
  color: var(--text-dim);
}
.nav-links a { transition: color var(--t); }
.nav-links a:hover { color: var(--white); }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--t);
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 80px;
  padding: 120px 60px 80px;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
}
.hero-content { position: relative; z-index: 1; }
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--text-dim);
  text-transform: uppercase;
  margin-bottom: 28px;
  min-height: 1.6em;
  white-space: nowrap;
  overflow: hidden;
}
.hero-eyebrow::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--text-faint);
}
.hero-content h1 {
  font-size: clamp(3.2rem, 7vw, 6.5rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.0;
  color: var(--white);
  margin-bottom: 28px;
}
.hero-content h1 .line2 {
  color: var(--text-dim);
  font-weight: 300;
}
.hero-sub {
  color: var(--text-dim);
  font-size: 19px;
  font-weight: 300;
  max-width: 460px;
  margin-bottom: 44px;
  line-height: 1.6;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

/* Hero visual */
.hero-visual {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 480px;
}
.orbit-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.12);
  animation: spin linear infinite;
}
.ring-1 { width: 220px; height: 220px; animation-duration: 14s; border-style: dashed; }
.ring-2 { width: 330px; height: 330px; animation-duration: 22s; animation-direction: reverse; }
.ring-3 { width: 440px; height: 440px; animation-duration: 32s; border-style: dotted; border-color: rgba(255,255,255,0.06); }
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.ring-dot {
  position: absolute;
  width: 6px; height: 6px;
  background: var(--white);
  border-radius: 50%;
  top: -3px; left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 10px rgba(255,255,255,0.6);
}

/* Satellite dots orbiting each ring-dot */
.ring-dot-sat {
  position: absolute;
  width: 3px; height: 3px;
  background: #fff;
  border-radius: 50%;
  top: 50%; left: 50%;
  box-shadow: 0 0 5px rgba(255,255,255,0.8);
}
.ring-dot-sat.sat-1 {
  animation: sat-orbit-1 1.8s linear infinite;
}
.ring-dot-sat.sat-2 {
  animation: sat-orbit-2 2.6s linear infinite;
}
@keyframes sat-orbit-1 {
  from { transform: translate(-50%, -50%) rotate(0deg)   translateX(10px); }
  to   { transform: translate(-50%, -50%) rotate(360deg) translateX(10px); }
}
@keyframes sat-orbit-2 {
  from { transform: translate(-50%, -50%) rotate(180deg) translateX(14px); }
  to   { transform: translate(-50%, -50%) rotate(540deg) translateX(14px); }
}

/* Hero 3D point cloud canvas — covers the full hero-visual */
.hero-logo-canvas {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 480px;
  height: 480px;
  pointer-events: none;
}


/* ── MARQUEE ── */
.marquee-bar {
  padding: 18px 0;
  background: var(--bg-raised);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  white-space: nowrap;
  position: relative;
}
.marquee-bar::before,
.marquee-bar::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 2;
}
.marquee-bar::before { left: 0;  background: linear-gradient(to right, var(--bg-raised), transparent); }
.marquee-bar::after  { right: 0; background: linear-gradient(to left,  var(--bg-raised), transparent); }
.marquee-track {
  display: inline-flex;
  animation: marquee 28s linear infinite;
}
.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 40px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--text-faint);
  text-transform: uppercase;
}
.marquee-item span { color: var(--text-dim); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── STATS BAR ── */
.stats-bar {
  display: flex;
  align-items: stretch;
  justify-content: center;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 56px;
  position: relative;
}
.stat + .stat::before {
  content: '';
  position: absolute;
  left: 0; top: 20%; bottom: 20%;
  width: 1px;
  background: var(--border);
}
.stat-num {
  font-size: 2.8rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--white);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label {
  font-size: 13px;
  font-weight: 400;
  color: var(--text-dim);
  letter-spacing: 0.02em;
}

/* ── SERVICES ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.service-card {
  background: var(--bg-card);
  padding: 48px 40px;
  position: relative;
  transition: background var(--t) var(--ease);
  display: flex;
  flex-direction: column;
}
.service-card:hover { background: #161616; }
.service-card.featured { background: #0f0f0f; }
.card-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--white);
  background: rgba(255,255,255,0.1);
  border: 1px solid var(--border-mid);
  padding: 4px 12px;
  border-radius: 980px;
  margin-bottom: 28px;
  width: fit-content;
}
.card-icon {
  width: 80px; height: 80px;
  margin-bottom: 24px;
}
.svc-canvas { width: 80px !important; height: 80px !important; display: block; }
.card-num {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--text-faint);
  margin-bottom: 12px;
}
.service-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 14px;
  line-height: 1.2;
}
.service-card > p {
  color: var(--text-dim);
  font-size: 15px;
  font-weight: 300;
  margin-bottom: 28px;
  line-height: 1.6;
  flex-grow: 1;
}
.card-features { margin-bottom: 32px; }
.card-features li {
  font-size: 14px;
  color: var(--text-dim);
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
}
.card-features li::before {
  content: '';
  display: block;
  width: 4px; height: 4px;
  background: var(--text-faint);
  border-radius: 50%;
  flex-shrink: 0;
}
.card-link {
  font-size: 15px;
  font-weight: 500;
  color: var(--white);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--t);
  margin-top: auto;
}
.card-link:hover { gap: 10px; }
.card-btn-row {
  display: flex;
  gap: 10px;
  margin-top: auto;
  flex-wrap: wrap;
}
.card-btn-split {
  flex: 1;
  text-align: center;
  padding: 9px 12px;
  font-size: 13px;
  font-weight: 500;
  color: var(--white);
  border: 1px solid var(--border-mid);
  border-radius: 8px;
  text-decoration: none;
  transition: background var(--t), border-color var(--t);
  white-space: nowrap;
}
.card-btn-split:hover { background: rgba(255,255,255,0.07); border-color: rgba(255,255,255,0.35); }


/* ── PROJECT SHOWCASES ── */
.projects-category { margin-bottom: 56px; }
.proj-cat-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--text-faint);
  text-transform: uppercase;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.projects-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.project-showcase {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: border-color var(--t), transform var(--t) var(--ease), background var(--t);
  display: flex;
  flex-direction: column;
}
.project-showcase:hover {
  border-color: var(--border-mid);
  transform: translateY(-5px);
  background: #161616;
}
.proj-icon {
  width: 48px;
  height: 48px;
  color: var(--text-dim);
  margin-bottom: 20px;
  transition: color var(--t);
}
.project-showcase:hover .proj-icon { color: var(--white); }
.proj-icon-3d {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
}
.proj-icon-3d--memorial {
  width: 120px;
  height: 120px;
}
.proj-icon-canvas {
  width: 100%;
  height: 100%;
  display: block;
}
.project-showcase h4 {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 10px;
  line-height: 1.3;
}
.project-showcase p {
  font-size: 14px;
  color: var(--text-dim);
  font-weight: 300;
  line-height: 1.65;
  margin: 0;
}

/* ── PROJECT GROUPS ── */
.proj-group { margin-bottom: 40px; }
.proj-group-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--text-faint);
  text-transform: uppercase;
  padding-bottom: 12px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
}
.proj-group-label::before {
  content: '';
  display: inline-block;
  width: 3px;
  height: 11px;
  background: var(--text-faint);
  border-radius: 2px;
  flex-shrink: 0;
}

/* ── FEATURED PROJECT CARD (with 3D viewer) ── */
.project-featured {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: grid;
  grid-template-columns: 280px 1fr;
  margin-bottom: 16px;
  transition: border-color var(--t), background var(--t);
}
.project-featured:hover { border-color: var(--border-mid); background: #161616; }
.proj-viewer {
  background: #080808;
  border-right: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  position: relative;
  overflow: hidden;
}
.proj-canvas { display: block; width: 100% !important; height: 100% !important; position: absolute; top: 0; left: 0; }
.proj-viewer-label {
  position: absolute;
  bottom: 9px;
  left: 12px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--text-faint);
  text-transform: uppercase;
  pointer-events: none;
}
.proj-content {
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
}
.proj-tag {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--text-faint);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.project-featured h4 {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 10px;
  line-height: 1.2;
}
.project-featured p {
  font-size: 14px;
  color: var(--text-dim);
  font-weight: 300;
  line-height: 1.65;
  margin-bottom: 20px;
  flex-grow: 1;
}
.proj-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}
.proj-spec-tag {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-dim);
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  padding: 4px 10px;
  border-radius: 980px;
  letter-spacing: 0.04em;
}

@media (max-width: 768px) {
  .projects-row { grid-template-columns: 1fr; }
  .project-featured { grid-template-columns: 1fr; }
  .proj-viewer { border-right: none; border-bottom: 1px solid var(--border); min-height: 180px; }
}
@media (min-width: 769px) and (max-width: 1024px) {
  .projects-row { grid-template-columns: repeat(2, 1fr); }
  .projects-row .project-showcase:last-child { grid-column: span 2; max-width: 50%; }
}

/* ── PRODUCTS ── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 56px;
}
.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--t) var(--ease), border-color var(--t);
  cursor: pointer;
}
.product-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-mid);
}
.product-img-wrap {
  position: relative;
  background: #0a0a0a;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border);
}
.product-placeholder { width: 80px; height: 80px; opacity: 0.35; }
.product-tag-label {
  position: absolute;
  top: 12px; left: 12px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  padding: 3px 10px;
  border-radius: 980px;
  text-transform: uppercase;
}
.product-info { padding: 20px; }
.product-info h4 {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--white);
  margin-bottom: 4px;
}
.product-info > p { font-size: 13px; color: var(--text-dim); margin-bottom: 12px; font-weight: 300; }
.product-badge {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  padding: 3px 10px;
  border-radius: 980px;
}
.products-cta { text-align: center; }

/* ── PROCESS ── */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  counter-reset: step;
}
.process-step {
  background: var(--bg-card);
  padding: 48px 32px;
  transition: background var(--t);
}
.process-step:hover { background: #161616; }
.step-num {
  font-size: 4rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--white);
  opacity: 0.07;
  line-height: 1;
  margin-bottom: 20px;
}
.process-step h4 {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 10px;
}
.process-step p { font-size: 14px; color: var(--text-dim); font-weight: 300; line-height: 1.6; }
.process-arrow { display: none; }

/* ── ABOUT ── */
.about-story {
  max-width: 780px;
  margin: 0 auto 64px;
  text-align: center;
}
.about-story h2 {
  font-size: clamp(2.2rem, 3.8vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 36px;
}
.about-story h2 em {
  font-style: normal;
  color: var(--text-dim);
  font-weight: 300;
}
.about-story p {
  color: var(--text-dim);
  font-size: 17px;
  font-weight: 300;
  line-height: 1.8;
  margin-bottom: 20px;
}

.founders-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 64px;
}
.founder-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  transition: border-color var(--t), background var(--t);
}
.founder-card:hover { background: #161616; border-color: var(--border-mid); }
.founder-canvas { width: 64px !important; height: 64px !important; display: block; margin: 0 auto 12px; }
.founder-card strong { color: var(--white); font-size: 13px; font-weight: 500; letter-spacing: 0.02em; }

.about-mission {
  text-align: center;
  max-width: 620px;
  margin: 0 auto;
  padding: 40px;
  border: 1px solid var(--border-mid);
  border-radius: var(--radius);
}
.about-mission-text {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 300;
  font-style: italic;
  color: var(--white);
  line-height: 1.6;
  margin: 0;
}

/* ── PRODUCTS STORE BUTTONS ── */
.products-store-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  background: var(--bg-card);
  border: 1px solid var(--border-mid);
  border-radius: var(--radius);
  color: var(--white);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: background var(--t), border-color var(--t), transform var(--t) var(--ease);
}
.store-btn:hover {
  background: #161616;
  border-color: var(--border-hi);
  transform: translateY(-3px);
}

/* ── SOCIAL CONTACT ROW ── */
.social-contact-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 0;
}

/* ── WHATSAPP ── */
.whatsapp-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 24px;
  background: #111;
  border: 1px solid rgba(37, 211, 102, 0.35);
  border-radius: var(--radius);
  color: #25d366;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: background var(--t), border-color var(--t), box-shadow var(--t);
  min-width: 0;
}
.whatsapp-btn:hover {
  background: #141414;
  border-color: rgba(37, 211, 102, 0.7);
  box-shadow: 0 0 20px rgba(37, 211, 102, 0.12);
}
.wa-icon { width: 26px; height: 26px; flex-shrink: 0; }

/* ── INSTAGRAM CONTACT BTN ── */
.instagram-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 24px;
  background: #111;
  border: 1px solid rgba(225, 48, 108, 0.35);
  border-radius: var(--radius);
  color: #e1306c;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: background var(--t), border-color var(--t), box-shadow var(--t);
  min-width: 0;
}
.instagram-btn:hover {
  background: #141414;
  border-color: rgba(225, 48, 108, 0.7);
  box-shadow: 0 0 20px rgba(225, 48, 108, 0.12);
}
.ig-icon { width: 26px; height: 26px; flex-shrink: 0; }

/* ── FILE UPLOAD IN FORM ── */
.file-drop-zone {
  position: relative;
  border: 1px dashed var(--border-mid);
  border-radius: var(--radius);
  background: var(--bg-card);
  padding: 22px 20px;
  text-align: center;
  cursor: pointer;
  transition: border-color var(--t), background var(--t);
}
.file-drop-zone:hover { border-color: var(--accent); background: #111; }
.file-drop-zone input[type="file"] {
  position: absolute; inset: 0; width: 100%; height: 100%;
  opacity: 0; cursor: pointer;
}
.file-drop-inner {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  pointer-events: none;
}
.file-drop-icon { width: 22px; height: 22px; opacity: 0.5; flex-shrink: 0; }
.file-drop-text { font-size: 13px; color: var(--text-dim); }
.file-drop-text strong { color: var(--text); font-weight: 600; }
.file-drop-name {
  margin-top: 8px; font-size: 12px; color: var(--accent);
  font-weight: 500; display: none;
}
.file-drop-zone.has-file .file-drop-name { display: block; }
.file-drop-zone.has-file { border-color: var(--accent); border-style: solid; }

/* Form model viewer */
.form-model-viewer {
  position: relative;
  height: 220px;
  background: #080808;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 10px;
  display: none;
}
.form-model-viewer.visible { display: block; }
.form-model-canvas { display: block; width: 100% !important; height: 100% !important; position: absolute; top: 0; left: 0; }
.form-model-clear {
  position: absolute; top: 8px; right: 10px;
  background: rgba(0,0,0,0.6); border: 1px solid var(--border);
  color: var(--text-dim); border-radius: 4px;
  width: 24px; height: 24px; font-size: 14px; line-height: 1;
  cursor: pointer; z-index: 2; display: flex; align-items: center; justify-content: center;
}
.form-model-clear:hover { color: var(--white); border-color: var(--border-mid); }

/* ── CONTACT ── */
.contact-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 44px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.form-group label { font-size: 12px; font-weight: 600; letter-spacing: 0.06em; color: var(--text-faint); text-transform: uppercase; }
.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-family: var(--font);
  font-size: 15px;
  font-weight: 400;
  padding: 13px 16px;
  transition: border-color var(--t), background var(--t);
  outline: none;
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--border-hi);
  background: rgba(255,255,255,0.06);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-faint); }
.form-group select { cursor: pointer; }
.form-group select option { background: #111; color: var(--white); }
.form-group textarea { resize: vertical; }

.contact-info { display: flex; flex-direction: column; gap: 14px; }
.info-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 22px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--t), background var(--t);
}
.info-card:hover { border-color: var(--border-mid); background: #161616; }
.info-icon { font-size: 20px; margin-top: 1px; }
.info-card strong { display: block; color: var(--white); font-weight: 600; font-size: 15px; margin-bottom: 3px; }
.info-card p { font-size: 14px; color: var(--text-dim); margin: 0; font-weight: 300; }
.tech-accent-box {
  padding: 28px;
  border: 1px solid var(--border-mid);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.03);
  margin-top: 8px;
}
.tech-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--white);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.tech-accent-box p:last-child { font-size: 15px; color: var(--text-dim); margin: 0; font-weight: 300; line-height: 1.6; }

/* ── FOOTER ── */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding-top: 72px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 80px;
  padding-bottom: 56px;
}
.footer-brand { display: flex; flex-direction: column; gap: 12px; }
.footer-logo {
  width: 36px; height: 36px;
  filter: invert(1);
  opacity: 0.4;
}
.footer-name {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--white);
  opacity: 0.7;
}
.footer-tagline { font-size: 13px; color: var(--text-faint); font-weight: 300; }
.footer-links { display: flex; gap: 64px; }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--text-dim);
  text-transform: uppercase;
  margin-bottom: 4px;
}
.footer-col a { font-size: 14px; color: var(--text-faint); transition: color var(--t); font-weight: 300; }
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 32px;
  font-size: 12px;
  color: var(--text-faint);
  font-weight: 300;
  letter-spacing: 0.02em;
}
.footer-instagram {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--text-faint);
  text-decoration: none;
  font-size: 13px;
  transition: color var(--t);
}
.footer-instagram:hover { color: var(--white); }
.footer-instagram svg { width: 16px; height: 16px; }

/* ── SCROLL ANIMATIONS ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-scale {
  opacity: 0;
  transform: scale(0.97);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.reveal-scale.visible { opacity: 1; transform: scale(1); }

/* ── RTL ADJUSTMENTS ── */
[dir="rtl"] .hero-eyebrow::before { display: none; }
[dir="rtl"] .hero-eyebrow::after {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--text-faint);
  margin-right: 8px;
}
[dir="rtl"] .hero-cta { flex-direction: row-reverse; }
[dir="rtl"] .card-link { flex-direction: row-reverse; }
[dir="rtl"] .process-steps { direction: rtl; }
[dir="rtl"] .about-story { direction: rtl; }
[dir="rtl"] .about-mission { direction: rtl; }
[dir="rtl"] .footer-inner { direction: rtl; }
[dir="rtl"] .footer-links { direction: rtl; }
[dir="rtl"] .nav-inner { direction: rtl; }
[dir="rtl"] .nav-links { direction: ltr; }
[dir="rtl"] .marquee-track { animation-direction: reverse; }
[dir="rtl"] .stat + .stat::before { left: auto; right: 0; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: 1fr; gap: 1px; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .founders-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 100px 24px 60px;
  }
  .hero-visual { height: 280px; }
  .hero-logo-canvas { width: 280px; height: 280px; }
  .hero-cta { flex-direction: column; align-items: flex-start; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 60px; left: 0; right: 0;
    background: rgba(0,0,0,0.96);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 24px 32px;
    gap: 22px;
  }
  .hamburger { display: flex; }
  .stats-bar { flex-direction: column; }
  .stat + .stat::before { display: none; }
  .stat { padding: 24px; width: 100%; border-bottom: 1px solid var(--border); }
  .process-steps { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 36px; }
  .footer-links { flex-wrap: wrap; gap: 36px; }
  .container { padding: 0 20px; }
  .section { padding: 80px 0; }
}

@media (max-width: 480px) {
  .products-grid { grid-template-columns: 1fr; }
  .contact-form { padding: 24px; }
  .hero-content h1 { font-size: 2.8rem; }
}
