/* ===========================
   ZAKHAM — Premium Dark Theme
   =========================== */

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

:root {
  --bg:       #080C18;
  --bg2:      #0B1022;
  --bg3:      #0E1428;
  --card:     rgba(255,255,255,0.04);
  --gold:     #C9A055;
  --gold-lt:  #E8C870;
  --gold-dk:  #A07830;
  --blue:     #0A1628;
  --blue-lt:  #0E2040;
  --blue-glow:rgba(10,22,40,0.8);
  --brand:    #2D5CAE;
  --brand-glow:rgba(45,92,174,0.12);
  --white:    #FFFFFF;
  --grey:     #9CA3AF;
  --grey-lt:  #D1D5DB;
  --border:   rgba(201,160,85,0.22);
  --border-b: rgba(14,32,64,0.6);
  --radius:   14px;
  --shadow:   0 8px 40px rgba(0,0,0,0.5);
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

/* Arabic font */
[lang="ar"] body,
[lang="ar"] { font-family: 'Tajawal', sans-serif; }

/* English font */
[lang="en"] body,
[lang="en"] { font-family: 'Montserrat', sans-serif; }

/* Default Arabic */
body { font-family: 'Tajawal', sans-serif; }

/* --- Utilities --- */
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.gold { color: var(--gold); }
a { text-decoration: none; color: inherit; }

/* --- Buttons --- */
.btn-gold {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, var(--gold), var(--gold-lt));
  color: #0A0F1E;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(201,160,85,0.35);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 6px 28px rgba(201,160,85,0.5); }
.btn-gold.btn-lg { padding: 15px 36px; font-size: 1.05rem; }
.btn-gold.btn-full { width: 100%; justify-content: center; font-size: 1rem; padding: 15px; }

.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent;
  color: var(--white);
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 50px;
  border: 1.5px solid rgba(255,255,255,0.3);
  cursor: pointer;
  font-size: 0.95rem;
  transition: border-color 0.2s, background 0.2s;
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.btn-outline.btn-lg { padding: 15px 36px; font-size: 1.05rem; }

.btn-outline-sm {
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent;
  color: var(--gold);
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 50px;
  border: 1.5px solid var(--border);
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.2s;
  margin-top: auto;
}
.btn-outline-sm:hover { background: var(--gold); color: #0A0F1E; border-color: var(--gold); }

/* --- Section Headers --- */
.section-header { text-align: center; margin-bottom: 56px; }
.section-tag {
  display: inline-block;
  background: linear-gradient(135deg, rgba(45,92,174,0.12), rgba(201,160,85,0.08));
  color: var(--gold);
  border: 1px solid rgba(45,92,174,0.3);
  border-radius: 50px;
  padding: 6px 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 18px;
  letter-spacing: 0.03em;
}
.section-header h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; line-height: 1.3; }

/* --- Cards Grid --- */
.cards-grid { display: grid; gap: 24px; }
.cards-grid.four { grid-template-columns: repeat(4, 1fr); }
.cards-grid.three { grid-template-columns: repeat(3, 1fr); }

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.4); border-color: var(--gold); }

.card-icon {
  width: 52px; height: 52px;
  background: rgba(201,160,85,0.12);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  color: var(--gold);
  margin-bottom: 20px;
}
.card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 10px; }
.card p { color: var(--grey-lt); font-size: 0.92rem; line-height: 1.65; }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 18px 0;
  background: rgba(8,12,24,0.88);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(201,160,85,0.1);
  transition: padding 0.3s;
}
.navbar.scrolled { padding: 12px 0; }

.nav-inner {
  max-width: 1140px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
}

.logo { text-decoration: none; display: flex; align-items: center; }
.logo img { height: 62px; width: auto; display: block; }
.logo-ar, .logo-en { display: none; }

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

.lang-toggle {
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--gold);
  font-weight: 700;
  width: 42px; height: 42px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 0.9rem;
  transition: background 0.2s;
  display: flex; align-items: center; justify-content: center;
}
.lang-toggle:hover { background: rgba(201,160,85,0.15); }

.lang-en { display: none; }
.lang-ar { display: block; }
[lang="en"] .lang-en { display: block; }
[lang="en"] .lang-ar { display: none; }

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(36px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes floatBadge1 {
  0%, 100% { transform: translateY(0px) rotate(2deg); }
  50%       { transform: translateY(-10px) rotate(1deg); }
}
@keyframes floatBadge2 {
  0%, 100% { transform: translateY(0px) rotate(-1deg); }
  50%       { transform: translateY(-12px) rotate(1deg); }
}
@keyframes blink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}
@keyframes scrollWheel {
  0%   { transform: translateY(0); opacity: 1; }
  80%  { transform: translateY(10px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}
@keyframes pulse-ring {
  0%   { box-shadow: 0 0 0 0 rgba(201,160,85,0.5); }
  70%  { box-shadow: 0 0 0 14px rgba(201,160,85,0); }
  100% { box-shadow: 0 0 0 0 rgba(201,160,85,0); }
}
@keyframes badgeDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.7); }
}

.anim-fade-up       { opacity: 0; animation: fadeInUp 0.75s cubic-bezier(0.22,1,0.36,1) forwards; }
.anim-d1 { animation-delay: 0.12s; }
.anim-d2 { animation-delay: 0.26s; }
.anim-d3 { animation-delay: 0.42s; }
.anim-d4 { animation-delay: 0.58s; }

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 130px 0 100px;
  position: relative;
  overflow: hidden;
  background: var(--bg);
}

#heroCanvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none; z-index: 0;
}

.hero-glow {
  position: absolute; border-radius: 50%;
  filter: blur(100px); pointer-events: none; z-index: 0;
}
.hero-glow-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(201,160,85,0.11), transparent 70%);
  top: -200px; right: -150px;
}
.hero-glow-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(45,92,174,0.14) 0%, rgba(45,92,174,0.05) 50%, transparent 70%);
  bottom: -100px; left: -150px;
}

.hero-grid {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* Text side */
.hero-text { display: flex; flex-direction: column; align-items: flex-start; gap: 0; }
[dir="ltr"] .hero-text { align-items: flex-start; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(201,160,85,0.08);
  border: 1px solid var(--border);
  color: var(--gold-lt);
  border-radius: 50px;
  padding: 8px 20px 8px 14px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
}
.hero-badge-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--brand);
  animation: badgeDot 2s ease-in-out infinite;
  flex-shrink: 0;
}

.hero-title {
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}
.typed-wrap { display: block; min-height: 1.3em; }
.typed-cursor {
  display: inline-block;
  font-weight: 300;
  color: var(--brand);
  animation: blink 0.9s step-end infinite;
  margin-inline-start: 2px;
}

.hero-sub {
  font-size: clamp(0.95rem, 1.8vw, 1.1rem);
  color: var(--grey-lt);
  max-width: 480px;
  margin-bottom: 32px;
  line-height: 1.8;
}

.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 44px; }
.btn-pulse { animation: pulse-ring 2.4s ease-out infinite; }

.hero-offer {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  margin-top: 4px;
  background: rgba(201,160,85,0.07);
  border: 1px solid rgba(201,160,85,0.3);
  border-radius: 16px;
  padding: 14px 22px;
}
.offer-pct {
  font-size: 2rem; font-weight: 900; line-height: 1;
  color: var(--gold);
  font-family: 'Montserrat', sans-serif;
  text-shadow: 0 0 30px rgba(201,160,85,0.5);
  white-space: nowrap;
}
.offer-details {
  display: flex; flex-direction: column; gap: 5px;
}
.offer-slots {
  font-size: 0.88rem; font-weight: 700; color: var(--text);
}
.offer-slots i { color: #ff6b35; margin-inline-end: 4px; }
.offer-expires {
  font-size: 0.78rem; font-weight: 600; color: var(--grey);
  letter-spacing: 0.04em;
}
.offer-expires i { margin-inline-end: 4px; }

.price-original {
  font-size: 1rem; color: var(--grey);
  text-decoration: line-through;
  margin-inline-end: 6px;
}
.ready-days {
  font-size: 1.4rem; font-weight: 800;
  color: var(--white); letter-spacing: 0.1em;
  font-family: 'Montserrat', sans-serif;
}

/* Hero visual — floating site cards */
.hero-visual {
  position: relative;
  display: flex; justify-content: center; align-items: center;
  padding: 40px 20px;
}

.hero-cards {
  position: relative;
  width: 100%;
  height: 400px;
}

.site-card {
  position: absolute;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 24px 64px rgba(0,0,0,0.7), 0 0 0 1px rgba(201,160,85,0.08);
  background: #0D1220;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.site-card-1:hover { transform: translateX(-10%) translateY(-8px); box-shadow: 0 32px 80px rgba(0,0,0,0.8), 0 0 30px rgba(201,160,85,0.15); z-index: 10; }
.site-card-2:hover { transform: rotate(-5deg) translateY(-8px); box-shadow: 0 32px 80px rgba(0,0,0,0.8), 0 0 30px rgba(201,160,85,0.15); z-index: 10; }
.site-card-3:hover { transform: rotate(4deg) translateY(-8px); box-shadow: 0 32px 80px rgba(0,0,0,0.8), 0 0 30px rgba(201,160,85,0.15); z-index: 10; }

.site-card-bar {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 12px;
  background: #0A0E1A;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  flex-shrink: 0;
}
.bar-dot { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; }
.dot-r { background: #FF5F57; }
.dot-y { background: #FEBC2E; }
.dot-g { background: #28C840; }
.bar-url {
  font-size: 0.68rem; color: var(--grey);
  margin-inline-start: 6px;
  font-family: 'Montserrat', monospace;
  letter-spacing: 0.02em;
}

.site-card img {
  width: 100%; display: block;
  object-fit: cover; object-position: top;
}

/* Card 1 — front, largest */
.site-card-1 {
  width: 280px; top: 20px; left: 50%;
  transform: translateX(-10%);
  z-index: 3;
  animation: floatCard 3.8s ease-in-out infinite;
}
.site-card-1 img { height: 180px; }

/* Card 2 — mid, behind-left */
.site-card-2 {
  width: 240px; top: 100px; left: 0;
  transform: rotate(-5deg);
  z-index: 2;
  animation: floatCard 3.8s ease-in-out 0.7s infinite;
}
.site-card-2 img { height: 155px; }

/* Card 3 — back, small */
.site-card-3 {
  width: 210px; top: 200px; left: 30%;
  transform: rotate(4deg);
  z-index: 1;
  animation: floatCard 3.8s ease-in-out 1.4s infinite;
}
.site-card-3 img { height: 135px; }

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}

/* Floating badges on visual */
.float-badge {
  position: absolute;
  display: flex; align-items: center; gap: 10px;
  background: rgba(13,18,32,0.9);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 10px 14px;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  z-index: 3;
  white-space: nowrap;
}
.float-badge-top {
  top: 10px; left: -20px;
  animation: floatBadge1 4.5s ease-in-out infinite;
}
.float-badge-bottom {
  bottom: 10px; right: -20px;
  animation: floatBadge2 5s ease-in-out 0.5s infinite;
}
[dir="rtl"] .float-badge-top  { left: auto; right: -20px; }
[dir="rtl"] .float-badge-bottom { right: auto; left: -20px; }

.fb-icon {
  width: 34px; height: 34px; border-radius: 10px;
  background: rgba(201,160,85,0.15);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); font-size: 0.9rem; flex-shrink: 0;
}
.fb-icon.fb-green { background: rgba(74,222,128,0.12); color: #4ADE80; }
.fb-text { display: flex; flex-direction: column; }
.fb-text strong { font-size: 0.9rem; font-weight: 800; color: var(--white); line-height: 1.2; }
.fb-text span { font-size: 0.72rem; color: var(--grey); }

/* Scroll cue */
.scroll-cue {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  z-index: 2;
}
.scroll-label { font-size: 0.72rem; color: var(--grey); letter-spacing: 0.08em; }
.scroll-mouse {
  width: 22px; height: 36px;
  border: 2px solid rgba(201,160,85,0.4);
  border-radius: 11px;
  display: flex; justify-content: center; padding-top: 6px;
}
.scroll-wheel {
  width: 4px; height: 8px;
  background: var(--gold);
  border-radius: 2px;
  animation: scrollWheel 1.8s ease-in-out infinite;
}

/* ===== PAIN ===== */
.pain {
  padding: 100px 0;
  background-color: var(--bg2);
  background-image: radial-gradient(circle, rgba(201,160,85,0.055) 1px, transparent 1px);
  background-size: 32px 32px;
  position: relative;
  isolation: isolate;
}

/* ===== SERVICES ===== */
.services { padding: 100px 0; background: var(--bg); position: relative; isolation: isolate; }

.service-card { display: flex; flex-direction: column; gap: 14px; position: relative; }

.service-tier-label {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: var(--gold);
  opacity: 0.55;
  font-family: 'Montserrat', sans-serif;
  margin-bottom: 4px;
}

.maintenance-note {
  margin-top: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: rgba(201,160,85,0.06);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 14px 32px;
  font-size: 0.88rem;
  color: var(--grey-lt);
  width: fit-content;
  margin-inline: auto;
}
.maintenance-note i { color: var(--gold); font-size: 0.9rem; }
.maintenance-note strong { color: var(--gold-lt); font-weight: 700; }
.service-card.featured {
  border-color: var(--gold);
  background: rgba(201,160,85,0.06);
  box-shadow: 0 0 40px rgba(201,160,85,0.12);
}
.featured-badge {
  position: absolute; top: -14px;
  left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--gold), var(--gold-lt));
  color: #0A0F1E;
  font-size: 0.78rem; font-weight: 800;
  padding: 4px 18px;
  border-radius: 50px;
  white-space: nowrap;
}
[dir="rtl"] .featured-badge { left: 50%; right: auto; transform: translateX(50%); }

.service-icon {
  width: 56px; height: 56px;
  background: rgba(201,160,85,0.12);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; color: var(--gold);
}
.service-card h3 { font-size: 1.2rem; font-weight: 800; }
.price { color: var(--grey-lt); font-size: 0.92rem; }
.service-card ul { list-style: none; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.service-card li { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; color: var(--grey-lt); }
.service-card li i { color: var(--gold); font-size: 0.75rem; flex-shrink: 0; }

/* ===== PORTFOLIO ===== */
.portfolio {
  padding: 152px 0 100px;
  background-color: var(--bg2);
  background-image: radial-gradient(circle, rgba(45,92,174,0.07) 1px, transparent 1px);
  background-size: 32px 32px;
  position: relative;
  isolation: isolate;
  clip-path: polygon(0 52px, 100% 0, 100% 100%, 0 100%);
  margin-top: -52px;
}

.port-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--card);
  transition: transform 0.25s, box-shadow 0.25s;
}
.port-card:hover { transform: translateY(-5px); box-shadow: 0 16px 48px rgba(0,0,0,0.5); }

.port-mockup {
  height: 220px;
  overflow: hidden;
}
.port-mockup img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
  transition: transform 0.4s ease;
}
.port-card:hover .port-mockup img { transform: scale(1.04); }

.port-info { padding: 18px 20px; }
.port-type { font-size: 0.78rem; color: var(--gold); font-weight: 600; letter-spacing: 0.05em; }
.port-info h4 { font-size: 1rem; font-weight: 700; margin-top: 4px; }

/* ===== PROCESS ===== */
.process { padding: 100px 0; background: var(--bg); }

.steps {
  display: flex; align-items: flex-start; justify-content: center;
  gap: 0;
}
.step {
  flex: 1; max-width: 260px;
  text-align: center;
  padding: 32px 20px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  transition: border-color 0.25s;
}
.step:hover { border-color: var(--gold); }

.step-num {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-lt));
  color: #0A0F1E;
  font-size: 1rem; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.step-icon { font-size: 1.8rem; color: var(--gold); }
.step h3 { font-size: 1rem; font-weight: 700; }
.step p { color: var(--grey-lt); font-size: 0.88rem; line-height: 1.6; }

.step-arrow {
  color: var(--gold); opacity: 0.4; font-size: 1.2rem;
  padding: 0 12px; margin-top: 60px;
  flex-shrink: 0;
}
[dir="ltr"] .step-arrow i { transform: rotate(180deg); display: inline-block; }

/* ===== CONTACT ===== */
.contact {
  padding: 152px 0 100px;
  background-color: var(--bg2);
  background-image: radial-gradient(circle, rgba(201,160,85,0.055) 1px, transparent 1px);
  background-size: 32px 32px;
  position: relative;
  isolation: isolate;
  clip-path: polygon(0 52px, 100% 0, 100% 100%, 0 100%);
  margin-top: -52px;
}

.contact-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start;
}

.contact-text .section-tag { margin-bottom: 16px; }
.contact-text h2 { font-size: clamp(1.8rem, 3.5vw, 2.4rem); font-weight: 800; line-height: 1.3; margin-bottom: 18px; }
.contact-text p { color: var(--grey-lt); font-size: 0.95rem; margin-bottom: 32px; }

.contact-icons { display: flex; flex-direction: column; gap: 14px; }
.contact-icon-link {
  display: flex; align-items: center; gap: 14px;
  color: var(--grey-lt); font-size: 0.9rem;
  transition: color 0.2s;
}
.contact-icon-link:hover { color: var(--gold); }
.contact-icon-link i {
  width: 40px; height: 40px;
  background: rgba(201,160,85,0.1);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; color: var(--gold); flex-shrink: 0;
}

.contact-form {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  display: flex; flex-direction: column; gap: 18px;
}

.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label { font-size: 0.88rem; font-weight: 600; color: var(--grey-lt); }
.form-group input {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 13px 16px;
  color: var(--white);
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
}
.form-group input:focus { border-color: var(--gold); }
.form-group input::placeholder { color: var(--grey); }
.form-group input.error { border-color: #EF4444; }

.form-note { font-size: 0.8rem; color: var(--grey); text-align: center; }
.form-success {
  display: flex; align-items: center; gap: 10px; justify-content: center;
  color: #4ADE80; font-size: 0.9rem;
  background: rgba(74,222,128,0.08);
  border: 1px solid rgba(74,222,128,0.2);
  border-radius: 10px;
  padding: 14px;
}
.form-success i { font-size: 1.2rem; }
.form-success[hidden] { display: none; }

/* ===== FOOTER ===== */
.footer {
  background: #060A14;
  border-top: 0;
  padding: 52px 0 0;
  position: relative;
}
.footer::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--brand) 30%, var(--gold) 70%, transparent);
}
.footer-inner {
  display: flex; align-items: flex-start; justify-content: space-between;
  flex-wrap: wrap; gap: 32px;
  padding-bottom: 40px;
}
.footer-logo img { height: 120px; width: auto; display: block; margin-bottom: 10px; }
.footer-logo p { color: var(--grey); font-size: 0.88rem; }
.footer-links { display: flex; gap: 28px; flex-wrap: wrap; align-items: center; }
.footer-links a { color: var(--grey); font-size: 0.9rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--gold); }
.footer-social { display: flex; gap: 14px; }
.footer-social a {
  width: 40px; height: 40px;
  background: var(--card); border: 1px solid var(--border); border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; color: var(--grey);
  transition: all 0.2s;
}
.footer-social a:hover { color: var(--gold); border-color: var(--gold); background: rgba(201,160,85,0.08); }

.footer-copy {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 18px 0;
  text-align: center;
}
.footer-copy p { color: var(--grey); font-size: 0.82rem; }

/* ===== WHATSAPP FLOAT ===== */
.wa-float {
  position: fixed; bottom: 28px;
  right: 28px;
  width: 58px; height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; color: #fff;
  box-shadow: 0 6px 24px rgba(37,211,102,0.4);
  z-index: 200;
  transition: transform 0.2s, box-shadow 0.2s;
}
[dir="rtl"] .wa-float { right: auto; left: 28px; }
.wa-float:hover { transform: scale(1.1); box-shadow: 0 8px 32px rgba(37,211,102,0.55); }

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(0.22,1,0.36,1), transform 0.7s cubic-bezier(0.22,1,0.36,1);
}
.reveal.delay-1 { transition-delay: 0.1s; }
.reveal.delay-2 { transition-delay: 0.22s; }
.reveal.delay-3 { transition-delay: 0.34s; }
.reveal.delay-4 { transition-delay: 0.46s; }
.reveal.revealed { opacity: 1; transform: translateY(0); }

/* ===== MARQUEE ===== */
.marquee-section {
  padding: 18px 0;
  background: var(--blue);
  border-top: 1px solid rgba(201,160,85,0.15);
  border-bottom: 1px solid rgba(201,160,85,0.15);
  overflow: hidden;
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marqueeScroll 28s linear infinite;
}
[dir="ltr"] .marquee-track { animation-direction: reverse; }
@keyframes marqueeScroll {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}
.marquee-item {
  display: flex; align-items: center; gap: 10px;
  padding: 0 32px;
  white-space: nowrap;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(201,160,85,0.75);
  letter-spacing: 0.04em;
}
.marquee-item i { color: var(--gold); font-size: 0.75rem; }
.marquee-dot {
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--gold); opacity: 0.5;
}

/* ===== PAIN POINTS UPGRADED ===== */
.pain-num {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--gold);
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 0.02em;
}

.pain-card-num {
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--brand);
  line-height: 1;
  margin-bottom: 12px;
  background: linear-gradient(135deg, var(--gold), var(--gold-lt));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== SERVICES SHIMMER ===== */
@keyframes shimmerRotate {
  from { --angle: 0deg; }
  to   { --angle: 360deg; }
}
@property --angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}
.service-card.featured {
  border-color: transparent;
  background: rgba(201,160,85,0.06);
  box-shadow: 0 0 40px rgba(201,160,85,0.12);
  position: relative;
}
.service-card.featured::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: calc(var(--radius) + 1px);
  background: conic-gradient(from var(--angle), var(--gold-dk), var(--gold-lt), var(--blue-lt), var(--gold-dk));
  animation: shimmerRotate 4s linear infinite;
  z-index: -1;
}
.service-card.featured::after {
  content: '';
  position: absolute;
  inset: 1px;
  border-radius: var(--radius);
  background: #0e1530;
  z-index: -1;
}

/* ===== TESTIMONIALS ===== */
.testimonials { padding: 100px 0; background: var(--bg); }
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.testi-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  display: flex; flex-direction: column; gap: 18px;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.testi-card:hover {
  transform: translateY(-4px);
  border-color: rgba(201,160,85,0.4);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}
.testi-stars { display: flex; gap: 4px; }
.testi-stars i { color: var(--gold); font-size: 0.85rem; }
.testi-quote {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--grey-lt);
  flex: 1;
  position: relative;
}
.testi-quote::before {
  content: '"';
  font-size: 3.5rem;
  color: rgba(201,160,85,0.12);
  line-height: 1;
  position: absolute;
  top: -12px;
  right: -4px;
  font-family: Georgia, serif;
}
[dir="ltr"] .testi-quote::before { right: auto; left: -4px; }
.testi-author { display: flex; align-items: center; gap: 14px; }
.testi-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-lt), var(--gold-dk));
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; font-weight: 800; color: var(--gold-lt);
  flex-shrink: 0;
}
.testi-info strong { display: block; font-size: 0.9rem; font-weight: 700; }
.testi-info span { font-size: 0.78rem; color: var(--grey); }

/* ===== PORTFOLIO UPGRADED ===== */
.filter-tabs {
  display: flex; gap: 10px; justify-content: center; flex-wrap: wrap;
  margin-bottom: 40px;
}
.filter-btn {
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--grey-lt);
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 22px;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.2s;
}
.filter-btn:hover { border-color: var(--gold); color: var(--gold); }
.filter-btn.active {
  background: linear-gradient(135deg, var(--gold), var(--gold-lt));
  border-color: transparent;
  color: #0A0F1E;
}
.port-card { position: relative; overflow: hidden; cursor: pointer; transition: transform 0.3s, box-shadow 0.3s; }
.port-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(8,12,24,0.95) 0%, rgba(8,12,24,0.4) 60%, transparent 100%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 20px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s, transform 0.3s;
}
.port-card:hover .port-overlay { opacity: 1; transform: translateY(0); }
.port-card:hover { transform: translateY(-5px); box-shadow: 0 20px 60px rgba(0,0,0,0.6); }
.port-overlay-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, var(--gold), var(--gold-lt));
  color: #0A0F1E;
  font-size: 0.82rem; font-weight: 700;
  padding: 9px 20px; border-radius: 50px;
  width: fit-content;
}

/* ===== PROCESS TIMELINE ===== */
.process { padding: 100px 0; background: var(--bg); position: relative; isolation: isolate; }
.timeline {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.timeline::before {
  content: '';
  position: absolute;
  top: 24px; bottom: 24px;
  right: 19px;
  width: 2px;
  background: linear-gradient(to bottom, var(--gold), rgba(201,160,85,0.1));
}
[dir="ltr"] .timeline::before { right: auto; left: 19px; }

.timeline-item {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  padding: 0 0 48px 0;
  position: relative;
}
.timeline-item:last-child { padding-bottom: 0; }

.timeline-node {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-lt));
  color: #0A0F1E;
  font-size: 1rem; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  position: relative; z-index: 1;
  box-shadow: 0 0 0 4px rgba(201,160,85,0.15), 0 0 20px rgba(201,160,85,0.2);
}
.timeline-body {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 28px;
  flex: 1;
  transition: border-color 0.25s;
}
.timeline-body:hover { border-color: var(--gold); }
.timeline-icon { font-size: 1.6rem; color: var(--gold); margin-bottom: 12px; }
.timeline-body h3 { font-size: 1.05rem; font-weight: 800; margin-bottom: 8px; }
.timeline-body p { color: var(--grey-lt); font-size: 0.9rem; line-height: 1.7; }

/* ===== CONTACT URGENCY ===== */
.urgency-bar {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(239,68,68,0.08);
  border: 1px solid rgba(239,68,68,0.2);
  border-radius: 50px;
  padding: 7px 18px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #FCA5A5;
  margin-bottom: 20px;
}
.urgency-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #EF4444;
  animation: badgeDot 1.5s ease-in-out infinite;
}

/* ===== SECTION CONTENT STACKING ===== */
.pain .container,
.services .container,
.portfolio .container,
.process .container,
.contact .container {
  position: relative;
  z-index: 2;
}

/* ===== BACKGROUND GLOW ORBS (visual continuity across sections) ===== */
.pain::before {
  content: ''; position: absolute; pointer-events: none; z-index: 0;
  width: 600px; height: 500px; border-radius: 50%;
  top: -80px; right: -120px;
  background: radial-gradient(ellipse, rgba(201,160,85,0.09) 0%, transparent 65%);
  filter: blur(40px);
}
/* Services: left orb + bottom-right orb bleeds into portfolio */
.services::before {
  content: ''; position: absolute; pointer-events: none; z-index: 0;
  width: 700px; height: 600px; border-radius: 50%;
  top: -50px; left: -200px;
  background: radial-gradient(ellipse, rgba(201,160,85,0.06) 0%, transparent 60%);
  filter: blur(60px);
}
.services::after {
  content: ''; position: absolute; pointer-events: none; z-index: 0;
  width: 600px; height: 500px; border-radius: 50%;
  bottom: -80px; right: -100px;
  background: radial-gradient(ellipse, rgba(201,160,85,0.07) 0%, transparent 60%);
  filter: blur(40px);
}
.portfolio::before {
  content: ''; position: absolute; pointer-events: none; z-index: 0;
  width: 500px; height: 500px; border-radius: 50%;
  top: 80px; left: -80px;
  background: radial-gradient(circle, rgba(201,160,85,0.07) 0%, transparent 65%);
  filter: blur(60px);
}
/* Process: right orb + bottom-left orb bleeds into contact */
.process::before {
  content: ''; position: absolute; pointer-events: none; z-index: 0;
  width: 700px; height: 500px; border-radius: 50%;
  top: -50px; right: -120px;
  background: radial-gradient(ellipse, rgba(201,160,85,0.06) 0%, transparent 60%);
  filter: blur(60px);
}
.process::after {
  content: ''; position: absolute; pointer-events: none; z-index: 0;
  width: 600px; height: 500px; border-radius: 50%;
  bottom: -80px; left: -100px;
  background: radial-gradient(ellipse, rgba(201,160,85,0.07) 0%, transparent 60%);
  filter: blur(40px);
}
.contact::before {
  content: ''; position: absolute; pointer-events: none; z-index: 0;
  width: 500px; height: 600px; border-radius: 50%;
  top: 80px; right: -80px;
  background: radial-gradient(ellipse, rgba(201,160,85,0.09) 0%, transparent 65%);
  filter: blur(60px);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .cards-grid.four { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { gap: 40px; }
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-text { align-items: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-visual { padding: 20px; }
  .float-badge-top  { top: -10px; right: 0; left: auto; }
  [dir="rtl"] .float-badge-top  { right: 0; left: auto; }
  .cards-grid.three { grid-template-columns: repeat(2, 1fr); }
  .testi-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-inner { grid-template-columns: 1fr; gap: 40px; }
  .timeline::before { right: 19px; }
  [dir="ltr"] .timeline::before { left: 19px; right: auto; }

  /* Section padding reduction */
  .pain, .services, .process { padding: 80px 0; }
  .portfolio { padding: 120px 0 80px; }
  .contact   { padding: 120px 0 80px; }
}

@media (max-width: 640px) {
  .cards-grid.four,
  .cards-grid.three { grid-template-columns: 1fr; }
  .testi-grid { grid-template-columns: 1fr; }
  .ready-num { font-size: 3.2rem; }
  .ready-days { font-size: 1.1rem; }
  .nav-inner .btn-gold { display: none; }
  .contact-form { padding: 24px 18px; }
  .footer-inner { flex-direction: column; }

  /* Hero cards — fix card-3 overflow */
  .hero-cards { height: 320px; }
  .site-card-1 { width: 220px; }
  .site-card-2 { width: 190px; }
  .site-card-3 { width: 165px; top: 180px; }
  .site-card-3 img { height: 110px; }

  /* Section padding reduction */
  .pain, .services, .process { padding: 64px 0; }
  .portfolio { padding: 104px 0 64px; }
  .contact   { padding: 104px 0 64px; }

  /* Maintenance note — stack on small screens */
  .maintenance-note {
    border-radius: 14px;
    padding: 16px 20px;
    text-align: center;
    flex-wrap: wrap;
    gap: 8px;
    width: 100%;
  }

  .scroll-cue { display: none; }
  .timeline-item { gap: 16px; }
  .timeline-body { padding: 18px 20px; }
  .filter-tabs { gap: 8px; }
  .filter-btn { padding: 7px 16px; font-size: 0.8rem; }

  /* Hero text alignment on small screens */
  .hero-ctas { justify-content: center; }
  .hero-offer { justify-content: center; }

  /* Section header breathing room */
  .section-header { margin-bottom: 36px; }
}
