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

/* ============================================================
   ELOUAZZANI STUDIO — ELECTRIC BLUE AGENCY
   ============================================================ */

:root {
  --blue:       #2D7EFF;
  --blue-light: #5B9FFF;
  --blue-dim:   rgba(45,126,255,0.12);
  --blue-glow:  rgba(45,126,255,0.06);
  --bg:         #050810;
  --bg-soft:    #080D1A;
  --bg-card:    rgba(10,15,28,0.95);
  --line:       rgba(45,126,255,0.15);
  --line-s:     rgba(45,126,255,0.30);
  --text:       #E8EDF8;
  --muted:      #6B7A99;
  --muted2:     #3D4A66;
  --white:      #FFFFFF;
  --shadow:     0 24px 64px rgba(0,0,0,0.6);
  --blue-shadow:0 8px 32px rgba(45,126,255,0.22);
  --r-xl: 28px; --r-lg: 20px; --r-md: 12px; --r-pill: 999px;
  --container: 1160px;
  --font-display: 'Syne', sans-serif;
  --font-body:    'Space Grotesk', sans-serif;
}

*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  min-height: 100vh;
}

body.menu-open { overflow: hidden; }
img { max-width:100%; display:block; }
button, input, textarea, select { font: inherit; }
a { color: inherit; text-decoration: none; }
main, section, footer, header { position: relative; z-index: 2; }

/* ============================================================
   LAYOUT
   ============================================================ */
.container { width: min(var(--container), 92%); margin-inline: auto; }
.section { padding: 110px 0; }
.muted-bg {
  background: linear-gradient(180deg, rgba(45,126,255,0.03), rgba(45,126,255,0.06));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
.eyebrow {
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--blue-light);
  font-weight: 600;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 24px; height: 1px;
  background: var(--blue);
}

h1 {
  font-family: var(--font-display);
  font-size: clamp(46px, 6.5vw, 100px);
  line-height: 0.95;
  letter-spacing: -2px;
  font-weight: 800;
  margin-bottom: 24px;
}

h2 {
  font-family: var(--font-display);
  font-size: clamp(34px, 4.5vw, 66px);
  line-height: 1.0;
  letter-spacing: -1px;
  font-weight: 800;
  margin-bottom: 20px;
}

h3 {
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.2;
  font-weight: 700;
  margin-bottom: 10px;
}

.lead {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.85;
  font-weight: 300;
  max-width: 640px;
}

p { line-height: 1.75; }
.section-head { margin-bottom: 48px; }

.highlight { color: var(--blue); }

.row-between {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

/* ============================================================
   BG EFFECTS
   ============================================================ */
#stars-canvas {
  position: fixed; inset: 0;
  width: 100%; height: 100%;
  z-index: 0; pointer-events: none;
}

.mouse-glow {
  position: fixed; left: 0; top: 0;
  width: 500px; height: 500px;
  border-radius: 50%;
  pointer-events: none; z-index: 1;
  background: radial-gradient(circle,
    rgba(45,126,255,0.07) 0%,
    rgba(45,126,255,0.02) 40%,
    transparent 70%);
  filter: blur(40px);
  transform: translate(-50%, -50%);
}

/* Hero glow blob */
.hero-glow {
  position: absolute;
  top: -100px; right: -200px;
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle,
    rgba(45,126,255,0.10) 0%,
    rgba(45,126,255,0.03) 45%,
    transparent 70%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  border: 1px solid var(--line);
  display: inline-flex; align-items: center;
  justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px;
  border-radius: var(--r-pill);
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.25s ease; cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
  box-shadow: var(--blue-shadow);
}
.btn-primary:hover {
  background: var(--blue-light);
  border-color: var(--blue-light);
  box-shadow: 0 12px 40px rgba(45,126,255,0.35);
}

.btn-secondary {
  background: var(--blue-dim);
  color: var(--blue-light);
  border-color: var(--line-s);
}
.btn-secondary:hover {
  background: rgba(45,126,255,0.18);
  border-color: var(--blue);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--line-s);
}
.btn-outline:hover {
  background: var(--blue-dim);
  border-color: var(--blue);
  color: var(--blue-light);
}

/* ============================================================
   CARDS
   ============================================================ */
.card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.cards-grid { display: grid; gap: 20px; }

.feature-list { list-style: none; display: grid; gap: 12px; }
.feature-list li {
  padding-left: 22px;
  position: relative;
  color: var(--muted);
  line-height: 1.7;
}
.feature-list li::before {
  content: "→";
  position: absolute; left: 0; top: 0;
  color: var(--blue); font-size: 12px;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.topbar-wrap {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 16px 20px;
}

.topbar {
  width: 100%; max-width: 1160px;
  margin: 0 auto;
  min-height: 64px;
  padding: 0 20px;
  border-radius: var(--r-pill);
  display: flex; align-items: center;
  justify-content: space-between; gap: 16px;
  background: rgba(5,8,16,0.88);
  border: 1px solid var(--line);
  backdrop-filter: blur(24px);
  box-shadow: 0 8px 40px rgba(0,0,0,0.5), 0 0 0 1px rgba(45,126,255,0.05);
  position: relative; overflow: hidden;
}

.topbar::after {
  content: "";
  position: absolute; top: 0; left: 20%; right: 20%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--blue), transparent);
  opacity: 0.4;
}

.brand-side {
  display: flex; align-items: center;
  gap: 10px; flex-shrink: 0;
}

.brand-logo {
  width: auto; max-width: 52px; max-height: 26px;
  object-fit: contain;
  filter: brightness(1.1) drop-shadow(0 0 8px rgba(45,126,255,0.3));
}

.brand-name {
  font-family: var(--font-display);
  font-size: 14px; font-weight: 800;
  letter-spacing: -0.3px;
  color: var(--white);
}

.nav-links {
  list-style: none;
  display: flex; align-items: center;
  justify-content: center;
  gap: 6px; flex: 1;
}

.nav-links a {
  color: var(--muted);
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.5px;
  padding: 8px 14px;
  border-radius: var(--r-pill);
  transition: all 0.2s;
}
.nav-links a:hover { color: var(--white); background: var(--blue-dim); }
.nav-links a.active-link { color: var(--blue-light); background: var(--blue-dim); }

.nav-right { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

.lang-switch {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 36px; padding: 0 12px;
  border-radius: var(--r-pill);
  cursor: pointer; font-size: 11px;
  letter-spacing: 1.5px; transition: all 0.2s;
}
.lang-switch:hover { color: var(--blue-light); border-color: var(--blue); }

.lang-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 8px var(--blue);
}

.cta-nav {
  background: var(--blue);
  color: #fff;
  padding: 0 18px;
  min-height: 38px;
  border-radius: var(--r-pill);
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.5px;
  transition: all 0.25s;
  box-shadow: var(--blue-shadow);
}
.cta-nav:hover {
  background: var(--blue-light);
  box-shadow: 0 10px 32px rgba(45,126,255,0.4);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none; border: none;
  background: transparent; color: var(--blue-light);
  font-size: 22px; cursor: pointer;
}

.mobile-panel {
  width: 100%; max-width: 1160px;
  margin: 8px auto 0;
  border-radius: var(--r-lg);
  background: rgba(5,8,16,0.98);
  border: 1px solid var(--line);
  display: none; flex-direction: column;
  gap: 4px; padding: 14px;
  backdrop-filter: blur(24px);
}
.mobile-panel.open { display: flex; }

.mobile-panel a, .mobile-lang-btn {
  color: var(--muted); font-size: 13px;
  font-weight: 500; padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid transparent;
  background: rgba(45,126,255,0.02);
  transition: all 0.2s; text-align: left;
}
.mobile-panel a:hover { color: var(--blue-light); border-color: var(--line); background: var(--blue-dim); }
.mobile-lang-btn { cursor: pointer; }
.mobile-cta {
  background: var(--blue) !important;
  color: #fff !important;
  font-weight: 700 !important;
  text-align: center !important;
  border-color: var(--blue) !important;
  margin-top: 6px;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  padding-top: 100px;
  position: relative; overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
}

.hero-badge {
  display: inline-flex; align-items: center;
  gap: 8px; padding: 6px 14px;
  border: 1px solid var(--line-s);
  border-radius: var(--r-pill);
  background: var(--blue-dim);
  font-size: 12px; color: var(--blue-light);
  font-weight: 600; margin-bottom: 28px;
}
.hero-badge-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--blue);
  animation: pulse 2s ease infinite;
  box-shadow: 0 0 8px var(--blue);
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero h1 .blue { color: var(--blue); }
.hero h1 .outline {
  -webkit-text-stroke: 2px rgba(45,126,255,0.5);
  color: transparent;
}

.hero-actions {
  display: flex; align-items: center;
  gap: 14px; flex-wrap: wrap;
  margin: 32px 0 40px;
}

.stats {
  display: flex; gap: 32px; flex-wrap: wrap;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.stats div { display: grid; gap: 4px; }
.stats strong {
  font-family: var(--font-display);
  font-size: 30px; font-weight: 800;
  color: var(--blue-light);
}
.stats span { color: var(--muted); font-size: 13px; }

/* Hero right — services pill list */
.hero-services {
  display: flex; flex-direction: column; gap: 14px;
}
.hero-service-item {
  display: flex; align-items: center; gap: 16px;
  padding: 20px 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--bg-card);
  transition: all 0.3s;
  cursor: default;
}
.hero-service-item:hover {
  border-color: var(--blue);
  background: rgba(10,15,28,0.98);
  transform: translateX(6px);
  box-shadow: -4px 0 0 var(--blue), var(--blue-shadow);
}
.hero-service-num {
  font-size: 11px; font-weight: 700;
  color: var(--blue); letter-spacing: 1px;
  min-width: 28px;
}
.hero-service-name {
  font-weight: 600; font-size: 15px; color: var(--text); flex: 1;
}
.hero-service-tag {
  font-size: 11px; color: var(--muted);
  background: var(--blue-dim);
  padding: 3px 10px; border-radius: var(--r-pill);
}

/* ============================================================
   SERVICES
   ============================================================ */
.services-grid {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.service-card {
  padding: 36px;
  border-radius: var(--r-xl);
  border: 1px solid var(--line);
  background: var(--bg-card);
  transition: all 0.3s;
  position: relative; overflow: hidden;
}
.service-card::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--blue), transparent);
  opacity: 0; transition: opacity 0.3s;
}
.service-card:hover {
  border-color: var(--line-s);
  transform: translateY(-6px);
  box-shadow: var(--blue-shadow);
}
.service-card:hover::before { opacity: 1; }

.service-icon-wrap {
  width: 54px; height: 54px;
  border-radius: var(--r-md);
  background: var(--blue-dim);
  border: 1px solid var(--line-s);
  display: flex; align-items: center;
  justify-content: center;
  font-size: 24px; margin-bottom: 22px;
}
.service-card h3 { margin-bottom: 12px; }
.service-card p { color: var(--muted); margin-bottom: 22px; line-height: 1.75; }

/* ============================================================
   TEAM
   ============================================================ */
.team-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.team-card {
  padding: 32px 28px;
  border-radius: var(--r-xl);
  border: 1px solid var(--line);
  background: var(--bg-card);
  text-align: center;
  transition: all 0.3s;
  position: relative; overflow: hidden;
}
.team-card:hover {
  border-color: var(--blue);
  transform: translateY(-6px);
  box-shadow: var(--blue-shadow);
}

.team-avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-dim), rgba(45,126,255,0.25));
  border: 2px solid var(--line-s);
  display: flex; align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 26px; font-weight: 800;
  color: var(--blue-light);
  margin: 0 auto 20px;
  transition: all 0.3s;
}
.team-card:hover .team-avatar {
  border-color: var(--blue);
  box-shadow: 0 0 24px rgba(45,126,255,0.3);
}

.team-card h3 { font-size: 20px; margin-bottom: 6px; }
.team-role {
  color: var(--blue); font-size: 12px;
  font-weight: 600; letter-spacing: 1.5px;
  text-transform: uppercase; margin-bottom: 14px;
}
.team-card p { color: var(--muted); font-size: 14px; line-height: 1.7; }

/* ============================================================
   PORTFOLIO
   ============================================================ */
.portfolio-grid {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.project-card {
  position: relative; min-height: 280px;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  transition: all 0.3s;
}
.project-card:hover {
  border-color: var(--blue);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(45,126,255,0.15);
}
.project-card img {
  width: 100%; height: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  transition: transform 0.4s, filter 0.4s;
  filter: brightness(0.85) saturate(0.9);
}
.project-card:hover img { transform: scale(1.04); filter: brightness(1) saturate(1); }

.project-overlay {
  position: absolute; inset: auto 0 0 0;
  padding: 28px;
  background: linear-gradient(0deg, rgba(5,8,16,0.96) 0%, transparent 100%);
}
.project-overlay h3 { margin-bottom: 4px; }
.project-cat {
  color: var(--blue-light); font-size: 12px;
  font-weight: 600; letter-spacing: 1px; text-transform: uppercase;
}

.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 32px; }
.filter-btn {
  border: 1px solid var(--line);
  background: var(--blue-glow);
  color: var(--muted); padding: 9px 20px;
  border-radius: var(--r-pill); cursor: pointer;
  font-size: 13px; font-weight: 500;
  transition: all 0.2s;
}
.filter-btn:hover { color: var(--blue-light); border-color: var(--blue); background: var(--blue-dim); }
.filter-btn.active { background: var(--blue); color: #fff; border-color: var(--blue); font-weight: 700; }

/* ============================================================
   PRICING
   ============================================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px; align-items: stretch;
}

.plan-card {
  border-radius: var(--r-xl);
  border: 1px solid var(--line);
  background: var(--bg-card);
  padding: 36px 32px;
  display: flex; flex-direction: column;
  transition: all 0.3s; position: relative; overflow: hidden;
}
.plan-card:hover { border-color: var(--line-s); transform: translateY(-4px); }

.plan-card.featured {
  border-color: var(--blue);
  background: linear-gradient(160deg, rgba(10,18,36,0.98), rgba(5,8,16,0.98));
  box-shadow: 0 0 0 1px rgba(45,126,255,0.2), var(--blue-shadow);
}
.plan-card.featured::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--blue), var(--blue-light), transparent);
}

.plan-badge {
  position: absolute; top: -1px; left: 50%;
  transform: translateX(-50%);
  background: var(--blue); color: #fff;
  font-size: 11px; font-weight: 700;
  letter-spacing: 1.5px; padding: 6px 18px;
  border-radius: 0 0 12px 12px;
}

.plan-name { font-family: var(--font-display); font-size: 22px; font-weight: 800; margin-bottom: 8px; }
.plan-desc { color: var(--muted); font-size: 14px; line-height: 1.7; margin-bottom: 28px; font-weight: 300; }

.plan-price {
  display: flex; align-items: flex-end; gap: 6px;
  margin-bottom: 6px;
}
.price-num {
  font-family: var(--font-display);
  font-size: 56px; font-weight: 800;
  line-height: 1; color: var(--blue-light);
  letter-spacing: -2px;
}
.plan-card.featured .price-num { color: #fff; }
.price-cur { font-size: 22px; color: var(--muted); padding-bottom: 8px; }
.plan-period { color: var(--muted2); font-size: 13px; margin-bottom: 28px; }

.plan-features {
  list-style: none; display: grid;
  gap: 12px; margin-bottom: 32px; flex: 1;
}
.plan-features li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px; color: var(--muted); line-height: 1.6;
}
.plan-features li::before {
  content: "✓";
  color: var(--blue); font-weight: 700;
  flex-shrink: 0; margin-top: 1px;
}

.plan-btn {
  width: 100%; min-height: 52px;
  border-radius: var(--r-md);
  display: flex; align-items: center;
  justify-content: center;
  font-weight: 700; font-size: 15px;
  border: 1px solid var(--line-s);
  background: var(--blue-dim);
  color: var(--blue-light);
  transition: all 0.25s; cursor: pointer;
  margin-top: auto;
}
.plan-btn:hover { background: var(--blue-dim); border-color: var(--blue); color: #fff; transform: translateY(-2px); }
.plan-btn.featured-btn {
  background: var(--blue); color: #fff;
  border-color: var(--blue);
  box-shadow: var(--blue-shadow);
}
.plan-btn.featured-btn:hover {
  background: var(--blue-light);
  box-shadow: 0 12px 36px rgba(45,126,255,0.4);
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-list { display: grid; gap: 12px; max-width: 820px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 20px 26px;
  background: rgba(45,126,255,0.02);
  transition: border-color 0.2s;
}
.faq-item[open] { border-color: var(--line-s); }
.faq-item summary {
  cursor: pointer; font-weight: 600;
  font-family: var(--font-display); font-size: 17px;
  list-style: none; position: relative;
  padding-right: 32px; color: var(--text);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute;
  right: 0; top: 0; color: var(--blue);
  font-size: 22px; line-height: 1;
  font-family: var(--font-body);
}
.faq-item[open] summary::after { content: "–"; }
.faq-item p { margin-top: 14px; color: var(--muted); line-height: 1.8; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px; align-items: start;
}

.contact-info-list { display: flex; flex-direction: column; gap: 28px; }
.contact-info-item { display: flex; align-items: center; gap: 18px; }
.contact-icon {
  width: 50px; height: 50px; flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid var(--line-s);
  background: var(--blue-dim);
  display: flex; align-items: center;
  justify-content: center;
  color: var(--blue-light); font-size: 18px;
}
.contact-info-text { display: flex; flex-direction: column; gap: 4px; }
.contact-label { font-size: 11px; letter-spacing: 3px; color: var(--blue); font-weight: 600; text-transform: uppercase; }
.contact-info-text a, .contact-info-text p {
  color: var(--text); font-size: 17px; transition: color 0.2s;
}
.contact-info-text a:hover { color: var(--blue-light); }

.contact-card {
  padding: 44px;
  border-radius: var(--r-xl);
  border: 1px solid var(--line-s);
  background: var(--bg-card);
  position: relative; overflow: hidden;
}
.contact-card::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--blue), transparent);
  opacity: 0.6;
}
.contact-card h2 { font-size: clamp(28px, 3.5vw, 44px); margin-bottom: 14px; }
.contact-card-sub { color: var(--muted); font-size: 15px; margin-bottom: 30px; line-height: 1.7; }
.contact-divider { height: 1px; background: var(--line); margin: 26px 0; }

.contact-form { display: grid; gap: 14px; }
.contact-form input, .contact-form textarea, .contact-form select {
  background: rgba(45,126,255,0.04);
  border: 1px solid var(--line);
  color: var(--text); padding: 15px 18px;
  border-radius: var(--r-md); outline: none;
  transition: border-color 0.25s, background 0.25s;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: var(--muted2); }
.contact-form input:focus, .contact-form textarea:focus {
  border-color: var(--blue);
  background: rgba(45,126,255,0.07);
}
.form-message { min-height: 22px; color: var(--blue-light); font-size: 14px; }

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section { padding: 80px 0 110px; }
.cta-box {
  padding: 56px;
  display: flex; align-items: center;
  justify-content: space-between;
  gap: 32px; flex-wrap: wrap;
  border-color: var(--line-s);
  position: relative; overflow: hidden;
}
.cta-box::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--blue), transparent);
  opacity: 0.7;
}
.cta-box h2 { margin-bottom: 10px; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  padding: 36px 0 44px;
  border-top: 1px solid var(--line);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px; align-items: center;
}
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.footer-brand img { max-width: 40px; max-height: 20px; object-fit: contain; }
.footer-brand-name { font-family: var(--font-display); font-weight: 800; font-size: 14px; }
.footer-copy { color: var(--muted2); font-size: 13px; }
.footer-links { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer-links a { color: var(--muted); font-size: 13px; transition: color 0.2s; }
.footer-links a:hover { color: var(--blue-light); }

/* ============================================================
   PAGE HERO
   ============================================================ */
.page-hero {
  padding-top: 160px; padding-bottom: 60px;
}
.page-hero h1 { font-size: clamp(40px, 5.5vw, 80px); }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: start;
}
.value-list { display: grid; gap: 16px; }
.value-item {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 20px; border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--bg-card);
  transition: all 0.25s;
}
.value-item:hover { border-color: var(--line-s); }
.value-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  border-radius: 10px; background: var(--blue-dim);
  display: flex; align-items: center;
  justify-content: center; font-size: 18px;
}
.value-item h4 { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.value-item p { color: var(--muted); font-size: 13px; line-height: 1.7; }

/* ============================================================
   MODAL
   ============================================================ */
.project-modal { position: fixed; inset: 0; z-index: 1200; display: grid; place-items: center; }
.project-modal[hidden] { display: none; }
.project-modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.82); }
.project-modal-box {
  position: relative; z-index: 2;
  width: min(640px, 92%); padding: 36px;
  border-color: var(--line-s);
}
.modal-close {
  position: absolute; right: 16px; top: 12px;
  background: none; border: none; color: var(--blue-light);
  font-size: 26px; cursor: pointer; transition: opacity 0.2s;
}
.modal-close:hover { opacity: 0.6; }

/* ============================================================
   REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(28px); transition: 0.75s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   INTRO LOADER
   ============================================================ */
.intro-loader {
  position: fixed; inset: 0;
  background: #020510;
  z-index: 99999; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}

.intro-bg-glow {
  position: absolute;
  width: 700px; height: 700px; border-radius: 50%;
  background: radial-gradient(circle,
    rgba(45,126,255,0.20) 0%,
    rgba(45,126,255,0.06) 35%,
    transparent 70%);
  filter: blur(50px); opacity: 0;
  animation: iGlow 1.4s ease forwards;
}

.intro-grid-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(45,126,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(45,126,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0;
  animation: iGrid 1s ease 0.2s forwards;
}

.intro-scanline {
  position: absolute; width: 100%; height: 2px;
  background: linear-gradient(90deg,
    transparent 0%, var(--blue) 30%,
    rgba(120,180,255,0.9) 50%,
    var(--blue) 70%, transparent 100%);
  top: 50%; opacity: 0;
  animation: iScan 1s ease 0.5s forwards;
  box-shadow: 0 0 20px var(--blue);
}

.intro-center {
  position: relative; z-index: 3;
  text-align: center;
  display: flex; flex-direction: column;
  align-items: center; gap: 18px;
}

.intro-logo {
  width: 80px; max-width: 80px;
  opacity: 0; transform: scale(0.8);
  filter: drop-shadow(0 0 20px rgba(45,126,255,0.5));
  animation: iLogo 0.9s ease 0.3s forwards;
}

.intro-title-wrap {
  display: flex; align-items: center; gap: 18px;
}

.intro-half {
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(40px, 8vw, 110px);
  font-weight: 800; color: #fff;
  letter-spacing: 8px;
  text-transform: uppercase; opacity: 0;
}
.intro-half-left  { transform: translateX(60px); animation: iLeft  0.9s cubic-bezier(.22,.8,.25,1) 0.55s forwards; }
.intro-half-right { transform: translateX(-60px); animation: iRight 0.9s cubic-bezier(.22,.8,.25,1) 0.55s forwards; }

.intro-divider {
  width: 2px; height: 70px;
  background: linear-gradient(180deg, transparent, var(--blue), transparent);
  transform: scaleY(0); transform-origin: center;
  animation: iDiv 0.6s ease 0.9s forwards;
}

.intro-sub {
  color: var(--blue-light);
  font-size: 11px; letter-spacing: 7px;
  opacity: 0; transform: translateY(14px);
  animation: iSub 0.7s ease 1.1s forwards;
  font-weight: 600;
}

.intro-door {
  position: absolute; top: 0;
  width: 50.2%; height: 100%;
  background: #020510;
  z-index: 4;
  transition: transform 1.3s cubic-bezier(.77,0,.18,1);
}
.intro-door-left  { left: 0; border-right: 1px solid rgba(45,126,255,0.15); }
.intro-door-right { right: 0; border-left: 1px solid rgba(45,126,255,0.15); }
.intro-loader.open .intro-door-left  { transform: translateX(-100%); }
.intro-loader.open .intro-door-right { transform: translateX(100%); }
.intro-loader.hide {
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

@keyframes iGlow  { 0%{opacity:0;transform:scale(0.6)} 100%{opacity:1;transform:scale(1)} }
@keyframes iGrid  { 0%{opacity:0} 100%{opacity:1} }
@keyframes iScan  { 0%{opacity:0;transform:scaleX(0)} 50%{opacity:1;transform:scaleX(1)} 100%{opacity:0} }
@keyframes iLogo  { 0%{opacity:0;transform:scale(0.8);filter:blur(10px) drop-shadow(0 0 20px rgba(45,126,255,0.5))} 100%{opacity:1;transform:scale(1);filter:blur(0) drop-shadow(0 0 20px rgba(45,126,255,0.5))} }
@keyframes iLeft  { 0%{opacity:0;transform:translateX(60px);filter:blur(10px)} 100%{opacity:1;transform:translateX(0);filter:blur(0)} }
@keyframes iRight { 0%{opacity:0;transform:translateX(-60px);filter:blur(10px)} 100%{opacity:1;transform:translateX(0);filter:blur(0)} }
@keyframes iDiv   { 0%{transform:scaleY(0);opacity:0} 100%{transform:scaleY(1);opacity:1} }
@keyframes iSub   { 0%{opacity:0;transform:translateY(14px)} 100%{opacity:1;transform:translateY(0)} }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media(max-width:1100px){
  .hero-inner { grid-template-columns:1fr; }
  .hero-services { display:none; }
  .contact-wrap { grid-template-columns:1fr; }
  .about-split { grid-template-columns:1fr; }
}
@media(max-width:960px){
  .nav-links,.nav-right { display:none; }
  .menu-toggle { display:block; }
  .section { padding:80px 0; }
  .hero { min-height:auto; padding-top:120px; padding-bottom:50px; }
  .footer-inner { grid-template-columns:1fr; gap:20px; }
}
@media(max-width:768px){
  h1 { font-size:clamp(38px,12vw,58px); letter-spacing:-1px; }
  h2 { font-size:clamp(28px,9vw,44px); }
  .lead { font-size:15px; }
  .cta-box { padding:32px; flex-direction:column; align-items:stretch; }
  .hero-actions { flex-direction:column; align-items:stretch; }
  .stats { gap:20px; }
  .intro-half { letter-spacing:4px; }
  .intro-divider { height:50px; }
  .pricing-grid { grid-template-columns:1fr; }
}
@media(max-width:540px){
  .container { width:94%; }
  .btn,.cta-nav { width:100%; justify-content:center; }
  .stats { flex-direction:column; }
}

/* ============================================================
   MOBILE FIXES — PHONE OPTIMIZED
   ============================================================ */
@media(max-width:480px){
  body { font-size:15px; }
  .section { padding:60px 0; }
  .section-head { margin-bottom:28px; }
  h1 { font-size:clamp(32px,10vw,48px); letter-spacing:-0.5px; line-height:1.05; }
  h2 { font-size:clamp(26px,8vw,38px); letter-spacing:-0.3px; }
  h3 { font-size:18px; }
  .lead { font-size:14px; line-height:1.75; }
  .eyebrow { font-size:10px; letter-spacing:3px; }
  .topbar-wrap { padding:10px 12px; }
  .topbar { padding:0 14px; min-height:56px; border-radius:16px; }
  .brand-name { font-size:12px; }
  .brand-logo { max-width:36px; max-height:20px; }
  .mobile-panel { border-radius:14px; padding:12px; }
  .mobile-panel a, .mobile-lang-btn { font-size:13px; padding:11px 12px; }
  .hero { padding-top:100px; padding-bottom:40px; }
  .hero-badge { font-size:11px; padding:5px 12px; }
  .hero-actions { gap:10px; margin:24px 0 28px; }
  .hero-actions .btn { min-height:48px; font-size:13px; }
  .stats { gap:16px; padding-top:24px; }
  .stats strong { font-size:24px; }
  .stats span { font-size:12px; }
  .cards-grid { gap:14px; }
  .service-card { padding:22px 18px; }
  .service-icon-wrap { width:44px; height:44px; font-size:20px; margin-bottom:14px; }
  .team-card { padding:24px 18px; }
  .team-avatar { width:64px; height:64px; font-size:20px; }
  .pricing-grid { grid-template-columns:1fr; gap:16px; }
  .plan-card { padding:28px 20px; }
  .plan-badge { font-size:10px; padding:5px 14px; }
  .price-num { font-size:44px; }
  .price-cur { font-size:18px; }
  .plan-name { font-size:20px; }
  .plan-features li { font-size:13px; }
  .plan-btn { min-height:48px; font-size:14px; }
  .contact-card { padding:26px 20px; }
  .contact-card h2 { font-size:clamp(24px,7vw,34px); }
  .contact-form input,
  .contact-form textarea,
  .contact-form select { padding:13px 14px; font-size:14px; }
  .contact-icon { width:42px; height:42px; font-size:16px; }
  .contact-info-text a,
  .contact-info-text p { font-size:15px; }
  .cta-box { padding:24px 20px; gap:20px; }
  .cta-box h2 { font-size:clamp(22px,7vw,32px); }
  .footer-inner { gap:16px; }
  .footer-links { gap:12px; }
  .footer-links a { font-size:12px; }
  .footer-copy { font-size:12px; }
  .value-item { padding:16px; gap:12px; }
  .value-icon { width:36px; height:36px; font-size:16px; }
  .value-item h4 { font-size:14px; }
  .faq-item { padding:16px 18px; }
  .faq-item summary { font-size:15px; }
  .faq-item p { font-size:13px; }
  .filter-bar { gap:8px; }
  .filter-btn { padding:7px 14px; font-size:12px; }
  .portfolio-grid { grid-template-columns:1fr; }
  .project-card { min-height:220px; }
  .intro-logo { width:54px; max-width:54px; }
  .intro-title-wrap { gap:10px; }
  .intro-half { font-size:clamp(28px,9vw,52px); letter-spacing:3px; }
  .intro-divider { height:40px; }
  .intro-sub { font-size:9px; letter-spacing:4px; }
}