/* ============================================
   Qunfuth (قنفذ) — Bold Editorial Design
   Creative agency aesthetic: gradients, big type,
   glass cards, phone mockups, asymmetric grids
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Arabic:wght@300;400;500;600;700&family=Space+Grotesk:wght@300;400;500;600;700;800&display=swap');

:root {
  --bg: #0A0A0F;
  --bg-card: rgba(255, 255, 255, 0.04);
  --bg-glass: rgba(255, 255, 255, 0.06);
  --bg-glass-strong: rgba(255, 255, 255, 0.1);
  --cyan: #00D4FF;
  --cyan-light: #5CE5FF;
  --purple: #A855F7;
  --pink: #EC4899;
  --orange: #F97316;
  --gradient-1: linear-gradient(135deg, #00D4FF, #A855F7);
  --gradient-2: linear-gradient(135deg, #A855F7, #EC4899);
  --gradient-3: linear-gradient(135deg, #00D4FF, #EC4899, #F97316);
  --gradient-text: linear-gradient(135deg, #00D4FF 0%, #A855F7 50%, #EC4899 100%);
  --white: #FFFFFF;
  --gray-100: #F1F5F9;
  --gray-200: #E2E8F0;
  --gray-300: #94A3B8;
  --gray-400: #64748B;
  --gray-500: #475569;
  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(0, 212, 255, 0.3);
  --radius: 24px;
  --radius-sm: 14px;
  --nav-height: 80px;
  --font-ar: 'IBM Plex Sans Arabic', sans-serif;
  --font-en: 'Space Grotesk', sans-serif;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-height) + 20px); overflow-x: hidden; }

body {
  font-family: var(--font-ar);
  background: var(--bg);
  color: var(--gray-200);
  line-height: 1.7;
  direction: rtl;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

/* ========== GRADIENT MESH BACKGROUND ========== */
.mesh-bg {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  pointer-events: none; z-index: 0; overflow: hidden;
}
.mesh-orb {
  position: absolute; border-radius: 50%; filter: blur(120px); opacity: 0.15;
}
.mesh-orb-1 { width: 600px; height: 600px; background: var(--cyan); top: -200px; right: -100px; animation: orbMove1 20s ease-in-out infinite; }
.mesh-orb-2 { width: 500px; height: 500px; background: var(--purple); bottom: 10%; left: -150px; animation: orbMove2 25s ease-in-out infinite; }
.mesh-orb-3 { width: 400px; height: 400px; background: var(--pink); top: 40%; right: 20%; animation: orbMove3 18s ease-in-out infinite; opacity: 0.08; }
@keyframes orbMove1 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(-80px, 100px); } }
@keyframes orbMove2 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(60px, -80px); } }
@keyframes orbMove3 { 0%,100% { transform: translate(0,0); } 33% { transform: translate(-40px, 60px); } 66% { transform: translate(50px, -30px); } }

/* Floating particles */
.particles { position: fixed; top: 0; left: 0; right: 0; bottom: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.particle { position: absolute; background: var(--white); border-radius: 50%; opacity: 0.08; animation: particleUp linear infinite; }
@keyframes particleUp {
  0% { transform: translateY(0) translateX(0); opacity: 0; }
  10% { opacity: 0.08; }
  90% { opacity: 0.08; }
  100% { transform: translateY(-100vh) translateX(30px); opacity: 0; }
}
.particle-glow {
  position: absolute; border-radius: 50%; opacity: 0.06;
  background: var(--gradient-1); filter: blur(30px);
  animation: particleGlow ease-in-out infinite;
}
@keyframes particleGlow {
  0%, 100% { transform: scale(1) translate(0, 0); opacity: 0; }
  25% { opacity: 0.08; }
  50% { transform: scale(1.5) translate(20px, -30px); opacity: 0.06; }
  75% { opacity: 0.08; }
}
.particle-spike {
  position: absolute; width: 2px; height: 16px; border-radius: 2px;
  background: var(--cyan); opacity: 0.05;
  animation: particleSpike linear infinite;
}
@keyframes particleSpike {
  0% { transform: translateY(0) rotate(0deg); opacity: 0; }
  15% { opacity: 0.06; }
  85% { opacity: 0.06; }
  100% { transform: translateY(-80vh) rotate(180deg); opacity: 0; }
}
.floating-mascot {
  position: absolute; opacity: 0.04; pointer-events: none;
  animation: floatMascot ease-in-out infinite;
}
@keyframes floatMascot {
  0%, 100% { transform: translate(0, 0) rotate(0deg); opacity: 0; }
  20% { opacity: 0.05; }
  50% { transform: translate(-40px, -60px) rotate(10deg); opacity: 0.04; }
  80% { opacity: 0.05; }
}

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

/* Content layer */
.navbar, .hero, .section, .footer, .page-header { position: relative; z-index: 1; }

/* ========== NAVBAR ========== */
.navbar {
  position: fixed; top: 0; right: 0; left: 0;
  height: var(--nav-height);
  background: rgba(10, 10, 15, 0.8);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
}
.navbar .container { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.nav-logo { display: flex; align-items: center; gap: 12px; }
.nav-logo img {
  height: 72px; width: 72px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.1);
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.1);
  transition: all 0.3s;
}
.nav-logo img:hover { box-shadow: 0 0 30px rgba(0, 212, 255, 0.25); transform: scale(1.05); }
.nav-logo span { font-weight: 700; font-size: 1.2rem; color: var(--white); }

.nav-center {
  display: flex; align-items: center; gap: 4px;
  background: var(--bg-glass); border: 1px solid var(--border);
  border-radius: 100px; padding: 4px;
  backdrop-filter: blur(10px);
}
.nav-center a { padding: 8px 20px; font-size: 0.88rem; font-weight: 500; color: var(--gray-300); border-radius: 100px; transition: all 0.2s; }
.nav-center a:hover { color: var(--white); }
.nav-center a.active { background: var(--bg-glass-strong); color: var(--white); }

.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gradient-1); color: var(--bg) !important;
  padding: 10px 24px; border-radius: 100px;
  font-weight: 600; font-size: 0.88rem; transition: all 0.3s;
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0, 212, 255, 0.3); }
.nav-cta svg { width: 16px; height: 16px; }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--white); margin: 5px 0; border-radius: 2px; transition: all 0.3s; }
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: 100px;
  font-size: 0.95rem; font-weight: 600; font-family: var(--font-ar);
  cursor: pointer; border: none; transition: all 0.3s;
}
.btn-primary {
  background: var(--gradient-1); color: var(--bg);
  box-shadow: 0 4px 20px rgba(0, 212, 255, 0.2);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 8px 40px rgba(0, 212, 255, 0.35); }
.btn-ghost { background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,0.15); }
.btn-ghost:hover { border-color: var(--cyan); color: var(--cyan); }
.btn svg, .nav-cta svg { width: 18px; height: 18px; }
.arrow-icon { display: inline-flex; transition: transform 0.2s; }
.btn:hover .arrow-icon { transform: translateX(-4px); }

/* ========== GRADIENT TEXT ========== */
.gradient-text {
  background: var(--gradient-text);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ========== HERO ========== */
.hero {
  padding: calc(var(--nav-height) + 60px) 0 80px;
  min-height: 100vh;
  display: flex; align-items: center;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-content { max-width: 560px; }
.hero-eyebrow {
  font-family: var(--font-en); font-size: 0.8rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 4px;
  color: var(--cyan); margin-bottom: 20px;
  display: flex; align-items: center; gap: 12px;
}
.hero-eyebrow::before {
  content: ''; width: 40px; height: 2px;
  background: var(--gradient-1); display: block;
}
.hero h1 {
  font-size: 4rem; font-weight: 700; color: var(--white);
  line-height: 1.15; margin-bottom: 24px;
}
.hero p {
  font-size: 1.15rem; color: var(--gray-300);
  line-height: 1.9; margin-bottom: 36px;
}
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; }

/* Phone mockup */
.hero-visual { position: relative; display: flex; justify-content: center; }
.phone-mockup {
  width: 280px; height: 560px;
  background: #1A1A2E; border-radius: 36px;
  border: 3px solid rgba(255,255,255,0.1);
  overflow: hidden; position: relative;
  box-shadow: 0 40px 80px rgba(0,0,0,0.5), 0 0 60px rgba(0, 212, 255, 0.1);
  transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
  transition: transform 0.5s;
}
.phone-mockup:hover { transform: perspective(1000px) rotateY(0deg) rotateX(0deg); }
.phone-notch {
  width: 120px; height: 28px; background: #0A0A0F;
  border-radius: 0 0 16px 16px; margin: 0 auto;
  position: relative; z-index: 2;
}
.phone-screen { padding: 8px 12px; }
.phone-header {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 0; margin-bottom: 8px;
}
.phone-avatar {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--gradient-1); display: flex; align-items: center;
  justify-content: center; font-size: 0.7rem; color: var(--bg); font-weight: 700;
}
.phone-username { font-family: var(--font-en); font-size: 0.72rem; color: var(--white); font-weight: 600; }
.phone-post {
  width: 100%; aspect-ratio: 1; border-radius: 12px;
  margin-bottom: 10px; position: relative; overflow: hidden;
}
.phone-post-gradient {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  padding: 20px; text-align: center;
}
.phone-post-gradient h3 {
  font-size: 1.1rem; color: var(--white); font-weight: 700; line-height: 1.4;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.phone-engagement {
  display: flex; gap: 16px; padding: 6px 0;
  font-family: var(--font-en); font-size: 0.7rem; color: var(--gray-300);
}
.phone-caption { font-size: 0.72rem; color: var(--gray-300); line-height: 1.5; margin-top: 4px; }

/* Second phone (floating behind) */
.phone-mockup-secondary {
  position: absolute; top: 60px; right: -40px;
  width: 220px; height: 440px;
  background: #1A1A2E; border-radius: 30px;
  border: 2px solid rgba(255,255,255,0.06);
  overflow: hidden; opacity: 0.5;
  box-shadow: 0 30px 60px rgba(0,0,0,0.4);
  transform: perspective(1000px) rotateY(-15deg);
  z-index: -1;
}

/* ========== SECTIONS ========== */
.section { padding: 100px 0; }
.section-label {
  font-family: var(--font-en); font-size: 0.78rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 4px;
  background: var(--gradient-1); -webkit-background-clip: text;
  background-clip: text; -webkit-text-fill-color: transparent;
  margin-bottom: 14px;
}
.section-title {
  font-size: 2.8rem; font-weight: 700; color: var(--white);
  line-height: 1.25; margin-bottom: 16px;
}
.section-desc {
  font-size: 1.05rem; color: var(--gray-300);
  max-width: 560px; line-height: 1.9; margin-bottom: 48px;
}
.section-center { text-align: center; }
.section-center .section-desc { margin-left: auto; margin-right: auto; }

/* ========== GLASS CARDS ========== */
.glass-card {
  background: var(--bg-glass); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 36px;
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  position: relative; overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.glass-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0, 212, 255, 0.08);
}
.glass-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 1px; background: var(--gradient-1); opacity: 0;
  transition: opacity 0.4s;
}
.glass-card:hover::before { opacity: 1; }

/* Card with gradient border accent */
.glass-card-accent {
  background: var(--bg-glass); border-radius: var(--radius);
  padding: 36px; position: relative; overflow: hidden;
  border: 1px solid transparent;
  background-clip: padding-box;
}
.glass-card-accent::before {
  content: ''; position: absolute; inset: 0;
  border-radius: var(--radius); padding: 1px;
  background: var(--gradient-1); mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude; -webkit-mask-composite: xor;
  opacity: 0; transition: opacity 0.4s;
}
.glass-card-accent:hover::before { opacity: 1; }

/* ========== IMPACT QUOTES ========== */
.quotes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.quote-card {
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 32px;
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  position: relative; overflow: hidden;
  transition: all 0.4s ease;
  display: flex; flex-direction: column;
  min-height: 220px;
}
.quote-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 212, 255, 0.06);
}
.quote-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--gradient-1); opacity: 0; transition: opacity 0.4s;
}
.quote-card:hover::before { opacity: 1; }

.quote-card-stat {
  background: linear-gradient(160deg, rgba(0,212,255,0.06), rgba(168,85,247,0.04));
  border-color: rgba(0,212,255,0.12);
  text-align: center; justify-content: center; align-items: center;
}

.quote-icon {
  font-family: var(--font-en); font-size: 3.5rem; font-weight: 800;
  line-height: 0.8; margin-bottom: 16px;
  background: var(--gradient-text); -webkit-background-clip: text;
  background-clip: text; -webkit-text-fill-color: transparent;
}

.quote-text {
  font-size: 1.1rem; color: var(--gray-100); line-height: 1.9;
  font-family: var(--font-ar); font-weight: 500;
  margin-bottom: 20px; flex: 1;
}

.quote-author { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--border); }
.quote-author-name {
  font-family: var(--font-ar); font-size: 0.9rem;
  font-weight: 700; color: var(--white);
}
.quote-author-role {
  font-family: var(--font-ar); font-size: 0.78rem;
  color: var(--gray-400); margin-top: 4px; line-height: 1.6;
}

.quote-stat-big {
  font-family: var(--font-en); font-size: 3.5rem; font-weight: 800;
  background: var(--gradient-text); -webkit-background-clip: text;
  background-clip: text; -webkit-text-fill-color: transparent;
  line-height: 1; margin-bottom: 16px;
}
.quote-stat-desc { font-family: var(--font-ar); font-size: 0.95rem; color: var(--gray-200); line-height: 1.7; margin-bottom: 12px; }
.quote-stat-source { font-family: var(--font-en); font-size: 0.72rem; color: var(--gray-500); text-transform: uppercase; letter-spacing: 0.5px; }

/* ========== PORTFOLIO / WORK SHOWCASE ========== */
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.showcase-item {
  border-radius: var(--radius); overflow: hidden;
  position: relative; aspect-ratio: 4/5;
  cursor: pointer; transition: all 0.4s;
}
.showcase-item:hover { transform: scale(1.03); }
.showcase-img {
  width: 100%; height: 100%; object-fit: cover; object-position: center top;
  position: absolute; inset: 0; z-index: 0;
}
.showcase-item-bg {
  width: 100%; height: 100%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 32px; text-align: center; position: relative;
}
.showcase-item-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 50%);
}
.showcase-label {
  position: absolute; bottom: 20px; right: 20px; left: 20px;
  z-index: 2; color: var(--white);
}
.showcase-label h4 { font-size: 1rem; font-weight: 600; margin-bottom: 4px; }
.showcase-label p { font-size: 0.78rem; color: rgba(255,255,255,0.7); }
.showcase-tag {
  display: inline-block; padding: 4px 12px;
  background: rgba(255,255,255,0.15); backdrop-filter: blur(10px);
  border-radius: 100px; font-size: 0.7rem; color: var(--white);
  font-family: var(--font-en); margin-top: 8px;
}

/* Tall showcase item */
.showcase-item-tall { grid-row: span 2; aspect-ratio: auto; }

/* ========== SERVICES GRID ========== */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

.service-card {
  background: var(--bg-glass); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 36px 28px;
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  transition: all 0.4s ease; position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--gradient-1); opacity: 0; transition: opacity 0.4s;
}
.service-card:hover { border-color: var(--border-hover); transform: translateY(-6px); }
.service-card:hover::before { opacity: 1; }
.service-card h3 { color: var(--white); font-size: 1.15rem; margin-bottom: 10px; }
.service-card p { font-size: 0.92rem; color: var(--gray-300); line-height: 1.7; }

.service-icon {
  width: 56px; height: 56px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; font-size: 1.5rem;
  background: var(--bg-glass-strong); border: 1px solid var(--border);
}

.service-icon-wrap {
  width: 56px; height: 56px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; font-size: 1.5rem;
  background: var(--bg-glass-strong); border: 1px solid var(--border);
}

/* Wide service card */
.service-card-wide {
  grid-column: 1 / -1; display: grid;
  grid-template-columns: 1fr 1.5fr; gap: 40px;
  align-items: center; padding: 48px;
}
.service-card-wide .service-icon-wrap { width: 64px; height: 64px; font-size: 1.7rem; }

.service-tag {
  display: inline-block; padding: 4px 14px;
  background: var(--bg-glass-strong); border-radius: 100px;
  font-size: 0.78rem; color: var(--gray-300);
  margin-left: 6px; margin-bottom: 6px;
}

/* ========== STATS ROW ========== */
.stats-row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  padding: 48px 0;
}
.stat-item { text-align: center; }
.stat-number {
  font-family: var(--font-en); font-size: 3rem; font-weight: 800;
  background: var(--gradient-text); -webkit-background-clip: text;
  background-clip: text; -webkit-text-fill-color: transparent;
  line-height: 1; margin-bottom: 8px;
}
.stat-text { font-size: 0.88rem; color: var(--gray-400); }

/* ========== PRICING ========== */
.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: start; }
.price-card {
  background: var(--bg-glass); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 40px 32px;
  position: relative; transition: all 0.4s; backdrop-filter: blur(20px);
}
.price-card:hover { border-color: var(--border-hover); transform: translateY(-6px); }
.price-card.featured {
  border-color: transparent;
  background: linear-gradient(var(--bg-glass), var(--bg-glass)) padding-box,
              var(--gradient-1) border-box;
  border: 2px solid transparent;
}
.price-card.featured::before {
  content: 'الأكثر طلبًا'; position: absolute; top: -13px; left: 50%;
  transform: translateX(-50%); background: var(--gradient-1);
  color: var(--bg); padding: 4px 18px; border-radius: 100px;
  font-size: 0.78rem; font-weight: 600; white-space: nowrap;
}
.price-name { font-size: 1.15rem; font-weight: 600; color: var(--white); margin-bottom: 8px; }
.price-amount {
  font-family: var(--font-en); font-size: 3rem; font-weight: 700;
  background: var(--gradient-text); -webkit-background-clip: text;
  background-clip: text; -webkit-text-fill-color: transparent;
  direction: ltr; display: inline-block; line-height: 1;
}
.price-currency { font-size: 1.1rem; font-weight: 400; color: var(--gray-400); margin-right: 4px; }
.price-period { font-size: 0.85rem; color: var(--gray-500); margin-bottom: 24px; display: block; }
.price-desc { font-size: 0.9rem; color: var(--gray-400); margin-bottom: 28px; line-height: 1.6; }
.price-features { margin-bottom: 32px; }
.price-features li {
  padding: 10px 0; font-size: 0.9rem; color: var(--gray-200);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 10px;
}
.price-features li::before { content: '✓'; color: var(--cyan); font-weight: 700; font-size: 0.85rem; flex-shrink: 0; }
.price-btn {
  display: block; width: 100%; padding: 14px; border-radius: 100px;
  text-align: center; font-size: 0.95rem; font-weight: 600;
  font-family: var(--font-ar); transition: all 0.3s; cursor: pointer; border: none;
}
.price-btn-fill { background: var(--gradient-1); color: var(--bg); }
.price-btn-fill:hover { box-shadow: 0 8px 30px rgba(0, 212, 255, 0.3); }
.price-btn-outline { background: transparent; color: var(--white); border: 1px solid var(--border); }
.price-btn-outline:hover { border-color: var(--cyan); color: var(--cyan); }

/* ========== CONTACT ========== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form-card {
  background: var(--bg-glass); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 40px;
  backdrop-filter: blur(20px);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.88rem; font-weight: 500; color: var(--gray-200); margin-bottom: 8px; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 14px 16px;
  background: rgba(255,255,255,0.04); border: 1px solid var(--border);
  border-radius: var(--radius-sm); color: var(--white);
  font-family: var(--font-ar); font-size: 0.92rem;
  transition: border-color 0.3s; direction: rtl;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 20px rgba(0, 212, 255, 0.1); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group select { cursor: pointer; }
.form-group select option { background: #1A1A2E; }

.contact-info-card { display: flex; flex-direction: column; gap: 12px; }
.info-card {
  background: var(--bg-glass); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px;
  display: flex; align-items: center; gap: 16px;
  transition: all 0.3s; backdrop-filter: blur(20px);
}
.info-card:hover { border-color: var(--border-hover); }
.info-icon {
  width: 48px; height: 48px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; flex-shrink: 0;
  background: var(--bg-glass-strong); border: 1px solid var(--border);
}
.info-card h4 { font-size: 0.95rem; font-weight: 600; color: var(--white); margin-bottom: 4px; }
.info-card p { font-size: 0.85rem; color: var(--gray-400); direction: ltr; text-align: right; }
.social-row {
  background: var(--bg-glass); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px;
  display: flex; align-items: center; gap: 12px;
}
.social-row span { font-size: 0.9rem; color: var(--gray-400); margin-left: auto; }
.social-link {
  width: 44px; height: 44px; background: rgba(255,255,255,0.04);
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--gray-300); font-size: 1.1rem; transition: all 0.3s;
}
.social-link:hover { border-color: var(--cyan); color: var(--cyan); background: rgba(0, 212, 255, 0.08); }

/* ========== PAGE HEADER (inner pages) ========== */
.page-header {
  padding: calc(var(--nav-height) + 60px) 0 40px;
  position: relative;
}
.page-header::before {
  content: ''; position: absolute; top: -100px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.08) 0%, transparent 70%);
  pointer-events: none; filter: blur(40px);
}
.page-header-content { position: relative; z-index: 1; }
.page-header h1 { font-size: 3rem; font-weight: 700; color: var(--white); margin-bottom: 12px; line-height: 1.3; }
.page-header p { font-size: 1.1rem; color: var(--gray-300); max-width: 520px; line-height: 1.8; }

/* ========== FOOTER ========== */
.footer { border-top: 1px solid var(--border); padding: 48px 0 24px; margin-top: 60px; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand img { height: 60px; width: 60px; border-radius: 50%; border: 2px solid var(--border); }
.footer-brand span { font-weight: 600; color: var(--white); font-size: 1rem; }
.footer-links { display: flex; gap: 28px; }
.footer-links a { font-size: 0.85rem; color: var(--gray-400); transition: color 0.2s; }
.footer-links a:hover { color: var(--cyan); }
.footer-copy {
  width: 100%; text-align: center; padding-top: 24px; margin-top: 24px;
  border-top: 1px solid var(--border); font-size: 0.8rem; color: var(--gray-500);
}

/* ========== SCROLL ANIMATIONS ========== */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-scale { opacity: 0; transform: scale(0.95); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal-scale.visible { opacity: 1; transform: scale(1); }
.reveal-right { opacity: 0; transform: translateX(40px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal-right.visible { opacity: 1; transform: translateX(0); }
.reveal-left { opacity: 0; transform: translateX(-40px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal-left.visible { opacity: 1; transform: translateX(0); }

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { order: -1; }
  .hero h1 { font-size: 3rem; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .showcase-grid { grid-template-columns: repeat(2, 1fr); }
  .quotes-grid { grid-template-columns: repeat(2, 1fr); }
  .services-overview-grid { grid-template-columns: 1fr !important; gap: 40px !important; }
  .showcase-item-tall { grid-row: span 1; }
  .stats-row { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .section-title { font-size: 2.2rem; }
}

@media (max-width: 768px) {
  .nav-center { display: none; }
  .nav-center.open {
    display: flex; flex-direction: column;
    position: fixed; top: var(--nav-height);
    right: 0; left: 0; bottom: 0;
    background: rgba(10, 10, 15, 0.98);
    backdrop-filter: blur(24px); border-radius: 0;
    padding: 24px; gap: 8px; z-index: 999;
  }
  .nav-center.open a { padding: 14px 20px; font-size: 1rem; }
  .nav-cta-desktop { display: none; }
  .nav-toggle { display: block; }
  .nav-logo img { height: 56px; width: 56px; }

  .hero { padding-top: calc(var(--nav-height) + 30px); min-height: auto; }
  .hero h1 { font-size: 2.2rem; }
  .hero p { font-size: 1rem; }
  .phone-mockup { width: 220px; height: 440px; }
  .phone-mockup-secondary { display: none; }

  .services-grid, .pricing-grid, .showcase-grid, .quotes-grid { grid-template-columns: 1fr; }
  .quote-stat-big { font-size: 2.5rem; }
  .service-card-wide { grid-template-columns: 1fr !important; gap: 24px !important; padding: 28px !important; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }

  .section { padding: 60px 0; }
  .section-title { font-size: 1.8rem; }
  .page-header h1 { font-size: 2.2rem; }

  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { flex-wrap: wrap; justify-content: center; }

  .brand-showcase { max-width: 100%; padding: 0 8px; }
  .hero-visual { overflow: hidden; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero h1 { font-size: 1.8rem; }
  .hero-buttons { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .stat-number { font-size: 2.2rem; }
  .price-amount { font-size: 2.4rem; }
  .phone-mockup { width: 200px; height: 400px; }
  .pkg-grid-responsive { grid-template-columns: 1fr !important; }
  .pkg-grid-responsive-3 { grid-template-columns: 1fr !important; }
  .services-grid { grid-template-columns: 1fr !important; }
  .section-desc { font-size: 0.88rem; }
  .quote-text { font-size: 0.92rem; }
  .quote-card { padding: 24px; }
  .sc-signage { padding: 32px 20px; }
  .sc-sign-frame { padding: 20px 16px; }
  .sc-sign-ar { font-size: 1.4rem; }
}

@media (max-width: 768px) and (min-width: 481px) {
  .pkg-grid-responsive { grid-template-columns: 1fr !important; }
  .pkg-grid-responsive-3 { grid-template-columns: 1fr !important; }
}

/* Services overview 2-col grid (inside "What We Build" section) */
.services-overview-grid .services-grid {
  grid-template-columns: 1fr 1fr;
}

/* ========== BRAND SHOWCASE (BENTO GRID) ========== */
.brand-showcase {
  max-width: 1100px;
  margin: 56px auto 0;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 14px;
}
.showcase-cell {
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  transition: transform 0.5s cubic-bezier(0.23,1,0.32,1), box-shadow 0.5s ease;
}
.showcase-cell:hover {
  transform: translateY(-6px);
  box-shadow: 0 32px 72px rgba(0,0,0,0.45);
}
.sc-cell-label {
  font-family: var(--font-en);
  font-size: 0.55rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.sc-logo {
  grid-row: span 2;
  background: #F5E6D3;
  padding: 48px 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.sc-logo .sc-cell-label { color: #9B8B7B; }
.sc-logo-mark { margin-bottom: 28px; color: #2C1810; }
.sc-logo-name {
  font-family: var(--font-ar);
  font-size: 2.2rem;
  font-weight: 700;
  color: #2C1810;
  margin-bottom: 6px;
  line-height: 1.3;
}
.sc-logo-tagline {
  font-family: var(--font-en);
  font-size: 0.65rem;
  letter-spacing: 6px;
  color: #6B8F71;
  margin-bottom: 28px;
}
.sc-logo-divider { width: 40px; height: 2px; background: #C4654A; margin-bottom: 16px; }
.sc-logo-sub { font-family: var(--font-ar); font-size: 0.8rem; color: #9B8B7B; }
.sc-colors { background: #FAFAF7; padding: 28px 24px; }
.sc-colors .sc-cell-label { color: #9B8B7B; }
.sc-color-grid { display: flex; gap: 8px; }
.sc-swatch { flex: 1; text-align: center; }
.sc-swatch-circle {
  width: 40px; height: 40px; border-radius: 50%;
  margin: 0 auto 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.sc-swatch-name {
  display: block; font-family: var(--font-en);
  font-size: 0.5rem; font-weight: 600; color: #2C1810; margin-bottom: 2px;
}
.sc-swatch-hex {
  display: block; font-family: var(--font-en);
  font-size: 0.45rem; color: #9B8B7B;
}
.sc-type {
  background: #2C1810;
  padding: 28px 24px;
  display: flex; flex-direction: column; justify-content: center;
}
.sc-type .sc-cell-label { color: rgba(245,230,211,0.35); }
.sc-type-ar {
  font-family: var(--font-ar); font-size: 1.8rem;
  font-weight: 700; color: #F5E6D3; margin-bottom: 2px;
}
.sc-type-label {
  font-family: var(--font-en); font-size: 0.45rem;
  letter-spacing: 1.5px; color: rgba(245,230,211,0.4); margin-bottom: 18px;
}
.sc-type-en {
  font-family: var(--font-en); font-size: 1.6rem;
  font-weight: 600; color: #F5E6D3; margin-bottom: 2px;
}
.sc-cards {
  background: #E8DDD1; padding: 32px;
  min-height: 300px; display: flex; flex-direction: column;
}
.sc-cards .sc-cell-label { color: #9B8B7B; }
.sc-cards-stack {
  flex: 1; position: relative;
  display: flex; align-items: center; justify-content: center;
  min-height: 200px;
}
.sc-bcard {
  width: 250px; height: 148px; border-radius: 10px;
  position: absolute;
  box-shadow: 0 8px 32px rgba(44,24,16,0.18), 0 2px 6px rgba(44,24,16,0.06);
  transition: transform 0.4s ease;
}
.sc-bcard-back {
  background: #2C1810;
  transform: rotate(6deg) translate(-12px, 8px);
  z-index: 1;
  display: flex; align-items: center; justify-content: center;
}
.sc-bcard-back-inner { text-align: center; }
.sc-bcard-back-name {
  font-family: var(--font-ar); font-size: 0.85rem;
  font-weight: 700; color: #F5E6D3; margin-top: 6px;
}
.sc-bcard-back-sub {
  font-family: var(--font-en); font-size: 0.4rem;
  letter-spacing: 3px; color: #6B8F71;
}
.sc-bcard-front {
  background: #FAFAF7;
  transform: rotate(-3deg) translate(12px, -8px);
  z-index: 2; padding: 22px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.sc-bcard-person {
  font-family: var(--font-ar); font-size: 0.85rem;
  font-weight: 700; color: #2C1810;
}
.sc-bcard-role {
  font-family: var(--font-en); font-size: 0.45rem;
  letter-spacing: 2px; color: #C4654A; text-transform: uppercase; margin-top: 2px;
}
.sc-bcard-info {
  font-family: var(--font-en); font-size: 0.5rem;
  color: #8B7B6B; line-height: 1.7;
}
.sc-bcard-accent {
  position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, #C4654A, #6B8F71);
  border-radius: 0 0 10px 10px;
}
.sc-packaging {
  background: #6B8F71; padding: 28px 24px;
  display: flex; flex-direction: column;
}
.sc-packaging .sc-cell-label { color: rgba(255,255,255,0.5); }
.sc-pkg-items {
  flex: 1; display: flex; align-items: flex-end;
  justify-content: center; gap: 16px; padding-top: 12px;
}
.sc-cup { display: flex; flex-direction: column; align-items: center; }
.sc-cup-lid {
  height: 8px; border-radius: 3px 3px 0 0;
  background: #E8DDD1; position: relative;
}
.sc-cup-lg .sc-cup-lid { width: 58px; }
.sc-cup-sm .sc-cup-lid { width: 46px; }
.sc-cup-lid::after {
  content: ''; position: absolute; top: -3px;
  left: 50%; transform: translateX(-50%);
  width: 14px; height: 3px; background: #D4C9BD; border-radius: 2px;
}
.sc-cup-body {
  border-radius: 2px 2px 6px 6px; background: #F5E6D3;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.sc-cup-lg .sc-cup-body { width: 54px; height: 80px; }
.sc-cup-sm .sc-cup-body { width: 42px; height: 58px; }
.sc-cup-sleeve {
  position: absolute; left: 0; right: 0;
  top: 50%; transform: translateY(-50%);
  height: 28px; background: #2C1810;
  display: flex; align-items: center; justify-content: center;
}
.sc-cup-brand {
  font-family: var(--font-en); font-size: 0.35rem;
  letter-spacing: 2px; color: #F5E6D3; font-weight: 700;
}
.sc-bag {
  width: 62px; height: 86px; background: #F5E6D3;
  border-radius: 3px; position: relative;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.sc-bag::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 8px; background: #2C1810; border-radius: 3px 3px 0 0;
}
.sc-bag-text {
  font-family: var(--font-en); font-size: 0.4rem;
  letter-spacing: 2px; color: #2C1810; font-weight: 700; margin-top: 4px;
}
.sc-bag-weight {
  font-family: var(--font-en); font-size: 0.55rem;
  color: #9B8B7B; margin-top: 2px;
}
.sc-signage {
  grid-column: span 2;
  background: linear-gradient(180deg, #151515 0%, #1E1E1E 50%, #181818 100%);
  padding: 52px 40px; text-align: center;
  position: relative; overflow: hidden;
}
.sc-signage .sc-cell-label { color: rgba(255,255,255,0.2); }
.sc-sign-frame {
  display: inline-block;
  padding: 36px 60px;
  border: 1.5px solid rgba(245,230,211,0.1);
  border-radius: 4px;
  position: relative;
  margin-bottom: 20px;
}
.sc-sign-frame::before {
  content: '';
  position: absolute;
  inset: -50px;
  background: radial-gradient(ellipse at center, rgba(245,230,211,0.05) 0%, transparent 70%);
  pointer-events: none;
}
.sc-sign-frame::after {
  content: '';
  position: absolute;
  top: -1px; left: 15%; right: 15%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(245,230,211,0.25), transparent);
}
.sc-sign-content {
  display: flex; align-items: center; gap: 24px;
  position: relative; z-index: 1;
}
.sc-sign-ar {
  font-family: var(--font-ar); font-size: 2.6rem;
  font-weight: 700; color: #F5E6D3;
  text-shadow: 0 0 60px rgba(245,230,211,0.12), 0 0 120px rgba(245,230,211,0.04);
  line-height: 1.2;
}
.sc-sign-sub {
  font-family: var(--font-en); font-size: 0.6rem;
  letter-spacing: 5px; color: #6B8F71; margin-top: 6px;
}
.sc-sign-meta {
  font-family: var(--font-ar); font-size: 0.72rem;
  color: #4A4A4A; letter-spacing: 0.5px;
}

/* Animated gradient top-line */
@keyframes gradientSlide {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* Shimmer effect */
.shimmer { position: relative; overflow: hidden; }
.shimmer::after {
  content: '';
  position: absolute;
  top: 0; left: -100%; width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.03), transparent);
  animation: shimmerSlide 5s ease-in-out infinite;
}
@keyframes shimmerSlide { 0% { left: -60%; } 100% { left: 160%; } }

/* Ring pulse for hero */
@keyframes ringPulse {
  0%, 100% { opacity: 0.06; }
  50% { opacity: 0.14; }
}

/* Brand showcase responsive */
@media (max-width: 1024px) {
  .brand-showcase { gap: 10px; }
  .sc-logo { padding: 36px 28px; }
  .sc-bcard { width: 210px; height: 124px; }
  .sc-bcard-front { padding: 16px; }
}
@media (max-width: 768px) {
  .brand-showcase { grid-template-columns: 1fr 1fr; gap: 10px; }
  .sc-logo { grid-row: span 1; grid-column: span 2; padding: 36px 24px; }
  .sc-signage { grid-column: span 2; }
  .sc-logo-name { font-size: 1.8rem; }
  .sc-logo-mark svg { width: 72px; height: 72px; }
  .showcase-cell:hover { transform: none; box-shadow: none; }
  .sc-bcard { width: 180px; height: 106px; }
  .sc-bcard-front { padding: 14px; }
  .sc-cards { min-height: 250px; }
  .sc-sign-ar { font-size: 1.8rem; }
  .sc-sign-frame { padding: 28px 36px; }
}
@media (max-width: 480px) {
  .brand-showcase { grid-template-columns: 1fr; }
  .sc-logo, .sc-signage { grid-column: span 1; }
  .sc-bcard { width: 220px; height: 130px; }
  .sc-bcard-front { padding: 18px; }
  .sc-sign-ar { font-size: 1.6rem; }
  .sc-sign-frame { padding: 24px 28px; }
  .sc-sign-content { flex-direction: column; gap: 12px; }
}
