/* ===========================
   OneLight Software — style.css
   =========================== */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:    #0d1117;
  --navy2:   #161b22;
  --navy3:   #1c2330;
  --blue:    #4f8ef7;
  --blue2:   #6fa3ff;
  --purple:  #7c6ff7;
  --white:   #eef2ff;
  --muted:   #8b949e;
  --border:  rgba(255, 255, 255, 0.08);
  --card-bg: rgba(255, 255, 255, 0.03);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--navy);
  color: var(--white);
  min-height: 100vh;
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

body.loading { overflow: hidden; }

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 65% 55% at 8% 8%, rgba(79,142,247,0.07) 0%, transparent 55%),
    radial-gradient(ellipse 55% 65% at 92% 92%, rgba(124,111,247,0.07) 0%, transparent 55%);
  pointer-events: none;
  z-index: -1;
}

/* ===========================
   PRELOADER
   =========================== */

#preloader {
  position: fixed;
  inset: 0;
  background: var(--navy);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.8s cubic-bezier(0.76, 0, 0.24, 1);
}

#preloader.preloader--exit {
  transform: translateY(-100%);
  pointer-events: none;
}

#preloader-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.preloader-brand {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.preloader-brand.preloader-brand--visible {
  opacity: 1;
  transform: scale(1);
}

.preloader-brand img {
  width: 72px;
  height: 72px;
  object-fit: contain;
}

.preloader-text-wrap {
  font-family: 'Syne', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.08em;
  min-height: 1.6em;
  display: flex;
  align-items: center;
}

.preloader-cursor {
  color: var(--blue2);
  animation: cursorBlink 0.75s step-end infinite;
  margin-left: 1px;
}

@keyframes cursorBlink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

/* ===========================
   CURSOR GLOW
   =========================== */

.cursor-glow {
  position: fixed;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(79,142,247,0.07) 0%, transparent 65%);
  pointer-events: none;
  z-index: 1;
  top: 0; left: 0;
  margin-top: -300px;
  margin-left: -300px;
  will-change: transform;
  mix-blend-mode: screen;
}

/* ===========================
   NAVBAR
   =========================== */

nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: 64px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 6%;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition:
    background 0.35s ease,
    border-color 0.35s ease;
}

nav.scrolled {
  background: rgba(13, 17, 23, 0.88);
  border-bottom-color: var(--border);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  line-height: 0;
}

.nav-logo img {
  height: 32px;
  width: auto;
  max-width: min(40vw, 10rem);
  transition: opacity 0.2s;
}

.nav-logo:hover img { opacity: 0.8; }

/* Centered links */
.nav-links {
  display: flex;
  gap: 0;
  list-style: none;
  justify-content: center;
}

.nav-links li { position: relative; }

.nav-links a {
  font-family: 'Syne', sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  padding: 0.45rem 0.9rem 0.6rem;
  display: block;
  position: relative;
  transition: color 0.2s;
}

.nav-links a:hover { color: #fff; }

/* Gradient underline: animates from left */
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0.9rem;
  right: 0.9rem;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--purple));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 1px;
}

.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }
.nav-links a.active { color: #fff; }

/* Right-side actions */
.nav-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.75rem;
}

.nav-cta {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  color: #fff;
  padding: 0.5rem 1.25rem;
  border-radius: 8px;
  text-decoration: none;
  white-space: nowrap;
  transition: box-shadow 0.25s, transform 0.25s;
}

.nav-cta:hover {
  box-shadow: 0 0 20px rgba(79, 142, 247, 0.4);
  transform: scale(1.03);
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 101;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ===========================
   HERO
   =========================== */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 6% 5rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 30px 30px;
  -webkit-mask-image: radial-gradient(ellipse 78% 68% at 50% 50%, black 0%, transparent 100%);
  mask-image: radial-gradient(ellipse 78% 68% at 50% 50%, black 0%, transparent 100%);
  z-index: 0;
  pointer-events: none;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(90px);
}

.hero-orb-1 {
  width: 600px; height: 600px;
  background: rgba(79, 142, 247, 0.13);
  top: -130px; right: -100px;
  animation: floatOrb 13s ease-in-out infinite;
}

.hero-orb-2 {
  width: 480px; height: 480px;
  background: rgba(124, 111, 247, 0.1);
  bottom: -70px; left: -110px;
  animation: floatOrb 17s ease-in-out infinite reverse;
}

@keyframes floatOrb {
  0%, 100% { transform: translate(0, 0); }
  33%       { transform: translate(40px, -30px); }
  66%       { transform: translate(-25px, 28px); }
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 880px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(79, 142, 247, 0.07);
  border: 1px solid rgba(79, 142, 247, 0.18);
  border-radius: 20px;
  padding: 0.35rem 1rem;
  font-size: 0.73rem;
  color: var(--blue2);
  font-weight: 600;
  margin-bottom: 2.2rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--blue2);
  animation: badgePulse 2.2s infinite;
  box-shadow: 0 0 7px rgba(111,163,255,0.7);
}

@keyframes badgePulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 7px rgba(111,163,255,0.7); }
  50%       { opacity: 0.35; box-shadow: 0 0 2px rgba(111,163,255,0.2); }
}

.hero h1 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2.8rem, 6.5vw, 5.2rem);
  font-weight: 800;
  line-height: 1.07;
  letter-spacing: -0.038em;
  margin-bottom: 1.6rem;
}

.hero h1 .accent {
  background: linear-gradient(105deg, var(--blue2) 0%, var(--purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 500px;
  margin: 0 auto 2.8rem;
  font-weight: 300;
  line-height: 1.8;
}

.hero-btns {
  display: flex;
  gap: 0.85rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===========================
   BUTTONS
   =========================== */

.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--purple));
  color: #fff;
  padding: 0.85rem 2.2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: opacity 0.2s, transform 0.2s, box-shadow 0.2s;
  display: inline-block;
  box-shadow: 0 4px 22px rgba(79,142,247,0.28);
}

.btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(79,142,247,0.38);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  padding: 0.85rem 2.2rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  text-decoration: none;
  font-weight: 400;
  font-size: 0.95rem;
  transition: border-color 0.2s, background 0.2s;
  display: inline-block;
}

.btn-secondary:hover {
  border-color: rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.04);
}

/* ===========================
   STATS
   =========================== */

.stats-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(22, 27, 34, 0.5);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 2.6rem 6%;
}

.stats-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-item {
  flex: 1;
  min-width: 130px;
  text-align: center;
  padding: 0.5rem 2rem;
}

.stat-num {
  font-family: 'Syne', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.045em;
  background: linear-gradient(105deg, var(--blue2), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 0.45rem;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 1px;
}

.num-sfx { font-size: 1.5rem; }

.stat-label {
  font-size: 0.7rem;
  color: var(--muted);
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.stat-divider {
  width: 1px; height: 40px;
  background: var(--border);
  flex-shrink: 0;
}

/* ===========================
   SECTIONS
   =========================== */

.section {
  padding: 5.5rem 6%;
  max-width: 1200px;
  margin: 0 auto;
}

.section-header { margin-bottom: 3.5rem; }

.section-label {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--blue2);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
  opacity: 0.85;
}

.section-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 0.8rem;
}

.section-sub {
  color: var(--muted);
  font-size: 1rem;
  max-width: 480px;
  font-weight: 300;
  line-height: 1.75;
}

.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0 6%;
}

/* ===========================
   SERVICES
   =========================== */

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}

.service-card {
  background: var(--navy);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: background 0.3s;
  display: flex;
  flex-direction: column;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(79,142,247,0.05), rgba(124,111,247,0.04));
  opacity: 0;
  transition: opacity 0.35s;
  pointer-events: none;
}

.service-card:hover { background: var(--navy2); }
.service-card:hover::before { opacity: 1; }

.service-card:hover .service-icon {
  box-shadow: 0 0 18px rgba(79,142,247,0.2);
  border-color: rgba(79,142,247,0.35);
}

.service-icon {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(79,142,247,0.12), rgba(124,111,247,0.08));
  border: 1px solid rgba(79,142,247,0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.3rem;
  color: var(--blue2);
  flex-shrink: 0;
  transition: box-shadow 0.3s, border-color 0.3s;
}

.service-icon svg { width: 18px; height: 18px; }

.service-card h3 {
  font-family: 'Syne', sans-serif;
  font-size: 0.97rem;
  font-weight: 600;
  margin-bottom: 0.55rem;
  letter-spacing: -0.01em;
}

.service-card p {
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.72;
  font-weight: 300;
  flex: 1;
}

.card-link {
  display: inline-block;
  margin-top: 1.25rem;
  font-size: 0.82rem;
  color: var(--blue2);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s, transform 0.2s;
}

.service-card:hover .card-link {
  transform: translateX(3px);
}

/* ===========================
   HOW WE WORK
   =========================== */

.process-steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: start;
  gap: 0;
}

.process-step {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 2rem 1.75rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.process-step:hover {
  border-color: rgba(79,142,247,0.2);
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}

.step-num {
  font-family: 'Syne', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--blue2);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  opacity: 0.7;
}

.step-icon {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(79,142,247,0.12), rgba(124,111,247,0.08));
  border: 1px solid rgba(79,142,247,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.3rem;
  color: var(--blue2);
}

.step-icon svg { width: 22px; height: 22px; }

.process-step h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.65rem;
  letter-spacing: -0.02em;
}

.process-step p {
  font-size: 0.86rem;
  color: var(--muted);
  font-weight: 300;
  line-height: 1.72;
}

/* Dashed connector aligned to icon centers */
.process-connector {
  width: 48px;
  padding-top: calc(2rem + 1.35rem + 26px); /* step padding + step-num height + icon radius */
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.process-connector::after {
  content: '';
  display: block;
  width: 100%;
  height: 0;
  border-top: 2px dashed rgba(79, 142, 247, 0.22);
}

/* ===========================
   PORTFOLIO
   =========================== */

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.portfolio-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.9rem;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.22);
}

/* Gradient top line */
.port-accent {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--purple));
  opacity: 0;
  transition: opacity 0.3s;
}

.portfolio-card:hover {
  border-color: rgba(79,142,247,0.25);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.32), 0 0 0 1px rgba(79,142,247,0.08);
}

.portfolio-card:hover .port-accent { opacity: 1; }

.port-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--blue2);
  background: rgba(79,142,247,0.07);
  border: 1px solid rgba(79,142,247,0.14);
  border-radius: 4px;
  padding: 0.2rem 0.65rem;
  margin-bottom: 1rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.portfolio-card h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.55rem;
  letter-spacing: -0.02em;
}

.portfolio-card p {
  font-size: 0.86rem;
  color: var(--muted);
  font-weight: 300;
  line-height: 1.72;
  flex: 1;
}

.port-arrow {
  margin-top: 1.3rem;
  font-size: 0.82rem;
  color: var(--blue2);
  font-weight: 500;
  transition: transform 0.2s;
  display: inline-block;
}

.portfolio-card:hover .port-arrow { transform: translateX(4px); }

/* ===========================
   TEAM
   =========================== */

.team-grid { display: flex; gap: 1rem; }

.team-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 2rem;
  max-width: 500px;
  transition: border-color 0.25s, box-shadow 0.25s;
  box-shadow: 0 4px 24px rgba(0,0,0,0.2);
}

.team-card:hover {
  border-color: rgba(79,142,247,0.18);
  box-shadow: 0 8px 36px rgba(0,0,0,0.28);
}

.team-card-top {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.1rem;
}

.avatar {
  width: 54px; height: 54px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(79,142,247,0.3);
}

.team-meta h3 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.015em;
  margin-bottom: 0.2rem;
}

.team-role {
  font-size: 0.8rem;
  color: var(--blue2);
  font-weight: 500;
  opacity: 0.9;
}

.team-card > p {
  font-size: 0.87rem;
  color: var(--muted);
  font-weight: 300;
  line-height: 1.72;
  margin-bottom: 1.1rem;
}

.team-links { display: flex; gap: 0.5rem; flex-wrap: wrap; }

.team-link {
  font-size: 0.76rem;
  color: var(--muted);
  text-decoration: none;
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 0.22rem 0.65rem;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.team-link:hover {
  color: var(--white);
  border-color: rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.04);
}

/* ===========================
   CONTACT
   =========================== */

.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.contact-info h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.028em;
  margin-bottom: 1rem;
  margin-top: 0.5rem;
  line-height: 1.2;
}

.contact-info > p {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 300;
  margin-bottom: 2rem;
  line-height: 1.78;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.9rem;
  font-size: 0.88rem;
  color: var(--muted);
}

.contact-icon {
  width: 34px; height: 34px;
  border-radius: 8px;
  background: rgba(79,142,247,0.07);
  border: 1px solid rgba(79,142,247,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--blue2);
}

.contact-icon svg { width: 15px; height: 15px; }

.contact-link {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

.contact-link:hover { color: var(--blue2); }

.contact-form {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 2rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 28px rgba(0,0,0,0.22);
}

.form-group { margin-bottom: 1.15rem; }

.form-group label {
  display: block;
  font-size: 0.79rem;
  color: var(--muted);
  margin-bottom: 0.45rem;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.form-group input,
.form-group textarea {
  width: 100%;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 0.75rem 1rem;
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: rgba(79,142,247,0.42);
  background: rgba(79,142,247,0.03);
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(139,148,158,0.45); }

.form-submit {
  width: 100%;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 0.85rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s, box-shadow 0.2s;
  margin-top: 0.5rem;
  box-shadow: 0 4px 20px rgba(79,142,247,0.25);
}

.form-submit:hover {
  opacity: 0.88;
  transform: translateY(-1px);
  box-shadow: 0 7px 26px rgba(79,142,247,0.34);
}

/* ===========================
   FOOTER
   =========================== */

footer {
  border-top: 1px solid var(--border);
  padding: 1.75rem 6%;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 300;
}

.footer-brand {
  background: linear-gradient(90deg, var(--blue2), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 500;
}

.footer-right {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.social-link {
  width: 32px; height: 32px;
  border-radius: 7px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.social-link svg { width: 15px; height: 15px; }

.social-link:hover {
  color: var(--white);
  border-color: rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.05);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  font-size: 0.8rem;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--white); }

/* ===========================
   SCROLL REVEAL
   =========================== */

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===========================
   RESPONSIVE
   =========================== */

@media (max-width: 960px) {
  .services-grid,
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }

  .process-steps {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .process-connector {
    width: auto;
    height: 24px;
    padding-top: 0;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .process-connector::after {
    width: 0;
    height: 100%;
    border-top: none;
    border-left: 2px dashed rgba(79,142,247,0.22);
  }
}

@media (max-width: 768px) {
  nav {
    grid-template-columns: 1fr auto;
    padding: 0 5%;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 64px; left: 0; right: 0;
    background: rgba(13,17,23,0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 0.75rem 5% 1.25rem;
    gap: 0;
  }

  .nav-links.open { display: flex; }
  .nav-links a { padding: 0.6rem 0; }
  .nav-links a::after { left: 0; right: 0; }

  .nav-toggle { display: flex; }

  .contact-wrap { grid-template-columns: 1fr; gap: 3rem; }

  .hero h1 { font-size: clamp(2.2rem, 9vw, 3.2rem); }

  .team-grid { flex-direction: column; }
  .team-card { max-width: 100%; }

  .stat-divider { display: none; }
  .stat-item { padding: 0.5rem 0.75rem; }

  .footer-inner { flex-direction: column; text-align: center; }
  .footer-right { flex-direction: column; gap: 1rem; }
}

@media (max-width: 560px) {
  .services-grid,
  .portfolio-grid { grid-template-columns: 1fr; }

  .section { padding: 4rem 5%; }
  .divider { margin: 0 5%; }
  nav { padding: 0 5%; }
}
