/* ================================================
   css/style.css — ZeroCraft Media
   Premium Rebuild — Purple + Yellow + Blue
   Fonts: Bebas Neue + DM Sans
   Full Responsive: Desktop → Tablet → Mobile
   ================================================ */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,300;1,9..40,400&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&display=swap');

/* ══════════════════════════════════════
   TOKENS
══════════════════════════════════════ */
:root {
  /* Brand Colors */
  --purple:       #7c3aed;
  --purple2:      #9d5cf6;
  --purple-dark:  #4c1d95;
  --purple-glow:  rgba(124,58,237,0.3);
  --purple-trace: rgba(124,58,237,0.06);

  --yellow:       #fbbf24;
  --yellow-lt:    #fde68a;
  --yellow-glow:  rgba(251,191,36,0.22);
  --yellow-trace: rgba(251,191,36,0.06);

  --blue-lt:      #93c5fd;
  --blue:         #3b82f6;
  --blue-dark:    #1d4ed8;
  --blue-glow:    rgba(147,197,253,0.2);
  --blue-trace:   rgba(59,130,246,0.06);

  /* Backgrounds */
  --dark:   #06040f;
  --dark2:  #0d0920;
  --dark3:  #130f28;
  --dark4:  #1c1838;
  --dark5:  #231f3a;

  /* Text */
  --white:  #f5f0ff;
  --white2: #ddd6fe;
  --muted:  #8b80b0;
  --faint:  #4a4470;

  /* Gradients */
  --grad-main: linear-gradient(135deg, #7c3aed 0%, #3b82f6 50%, #fbbf24 100%);
  --grad-text: linear-gradient(90deg, #fbbf24 0%, #93c5fd 50%, #9d5cf6 100%);
  --grad-btn:  linear-gradient(135deg, #7c3aed 0%, #3b82f6 100%);
  --grad-gold: linear-gradient(135deg, #fbbf24 0%, #fde68a 50%, #f59e0b 100%);

  /* Typography */
  --font-display: 'Bebas Neue', sans-serif;
  --font-body:    'DM Sans', sans-serif;
  --font-serif:   'Cormorant Garamond', serif;
}

/* ══════════════════════════════════════
   RESET & BASE
══════════════════════════════════════ */
*, *::before, *::after {
  margin: 0; padding: 0; box-sizing: border-box;
}
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--dark);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 400;
  overflow-x: hidden;
  cursor: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a  { color: inherit; }
ul { list-style: none; }

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--dark2); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(to bottom, var(--purple), var(--blue), var(--yellow));
  border-radius: 2px;
}

/* ── Selection ── */
::selection { background: rgba(124,58,237,0.35); color: var(--white); }

/* ══════════════════════════════════════
   SCROLL PROGRESS
══════════════════════════════════════ */
#sp {
  position: fixed; top: 0; left: 0; z-index: 9999;
  height: 2px; width: 0%;
  background: linear-gradient(to right, var(--purple), var(--blue-lt), var(--yellow));
  transition: width 0.06s linear;
  box-shadow: 0 0 8px var(--blue-glow);
}

/* ══════════════════════════════════════
   CUSTOM CURSOR
══════════════════════════════════════ */
.c-dot {
  position: fixed; pointer-events: none; z-index: 9998;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--yellow);
  transform: translate(-50%, -50%);
}
.c-ring {
  position: fixed; pointer-events: none; z-index: 9997;
  width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid rgba(147,197,253,0.45);
  transform: translate(-50%, -50%);
  transition: width .25s, height .25s, border-color .25s, background .25s;
}
.c-ring.hov {
  width: 52px; height: 52px;
  border-color: var(--blue-lt);
  background: rgba(147,197,253,0.06);
}

/* ══════════════════════════════════════
   NAV
══════════════════════════════════════ */
nav {
  position: fixed; top: 0; width: 100%; z-index: 900;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5%;
  height: 76px;
  border-bottom: 1px solid transparent;
  transition: background .4s, border-color .4s, height .4s, backdrop-filter .4s, box-shadow .4s;
}
nav.scrolled {
  background: rgba(6,4,15,0.95);
  border-bottom-color: rgba(124,58,237,0.2);
  backdrop-filter: blur(20px);
  height: 62px;
  box-shadow: 0 4px 40px rgba(0,0,0,0.55);
}

/* Logo */
.nav-logo {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none; flex-shrink: 0;
}
.nav-logo-img {
  width: 42px; height: 42px; object-fit: contain; border-radius: 8px;
  filter: drop-shadow(0 0 10px rgba(124,58,237,0.6));
  transition: filter .3s;
}
.nav-logo:hover .nav-logo-img {
  filter: drop-shadow(0 0 22px rgba(147,197,253,0.8));
}
.nav-logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.nav-logo-text .brand {
  font-family: var(--font-display);
  font-size: 1.3rem; letter-spacing: .12em;
  background: var(--grad-text);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.nav-logo-text .tagline {
  font-size: .6rem; color: var(--muted);
  letter-spacing: .2em; text-transform: uppercase;
}

/* Links */
.nav-links {
  display: flex; gap: 32px; align-items: center;
}
.nav-links a {
  font-family: var(--font-body);
  font-size: .78rem; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase;
  text-decoration: none; color: var(--white2);
  position: relative; transition: color .3s;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: linear-gradient(to right, var(--yellow), var(--blue-lt));
  transition: width .35s;
}
.nav-links a:hover { color: var(--yellow-lt); }
.nav-links a:hover::after { width: 100%; }

/* CTA pill */
.nav-links a.hl {
  background: var(--grad-btn);
  color: #fff; padding: 8px 22px;
  border-radius: 40px; font-weight: 600;
  transition: opacity .3s, transform .3s, box-shadow .3s;
}
.nav-links a.hl::after { display: none; }
.nav-links a.hl:hover {
  opacity: .85; transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(124,58,237,0.4);
}

/* Hamburger */
.ham {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 4px;
}
.ham span {
  display: block; width: 24px; height: 1.5px;
  background: var(--yellow); transition: .3s;
}
.ham.open span:nth-child(1) { transform: rotate(45deg) translate(4px,4px); }
.ham.open span:nth-child(2) { opacity: 0; }
.ham.open span:nth-child(3) { transform: rotate(-45deg) translate(4px,-4px); }

/* Mobile Menu */
.mob-menu {
  position: fixed; inset: 0;
  background: rgba(6,4,15,0.97); backdrop-filter: blur(24px);
  z-index: 899; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 24px;
  transform: translateX(100%);
  transition: transform .45s cubic-bezier(.4,0,.2,1);
}
.mob-menu::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 65% 60% at 50% 50%, rgba(124,58,237,0.05) 0%, transparent 70%);
}
.mob-menu.open { transform: translateX(0); }
.mob-menu a {
  font-family: var(--font-display);
  font-size: 2.2rem; letter-spacing: .14em;
  color: var(--white2); text-decoration: none;
  transition: color .3s; position: relative; z-index: 1;
}
.mob-menu a:hover { color: var(--yellow); }

/* ══════════════════════════════════════
   HERO
══════════════════════════════════════ */
#hero {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
  padding: 120px 5% 80px;
}

.hero-mesh {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 80% 70% at 15% 20%, rgba(124,58,237,0.18) 0%, transparent 60%),
    radial-gradient(ellipse 60% 55% at 85% 75%, rgba(59,130,246,0.14) 0%, transparent 55%),
    radial-gradient(ellipse 50% 45% at 55% 10%, rgba(251,191,36,0.08) 0%, transparent 50%),
    var(--dark);
}
.hero-noise {
  position: absolute; inset: 0; z-index: 1; opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}
.hero-grid {
  position: absolute; inset: 0; z-index: 1; opacity: .04;
  background-image:
    linear-gradient(rgba(147,197,253,1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(251,191,36,0.6) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-vignette {
  position: absolute; inset: 0; z-index: 1;
  background: radial-gradient(ellipse 85% 85% at 50% 50%, transparent 35%, rgba(6,4,15,0.7) 100%);
}

.hero-inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
  max-width: 1200px; width: 100%;
  margin: 0 auto;
}

/* Hero Left */
.hero-eyebrow {
  font-family: var(--font-body);
  font-size: .68rem; letter-spacing: .4em; text-transform: uppercase;
  color: var(--yellow); margin-bottom: 20px;
  display: flex; align-items: center; gap: 10px;
  opacity: 0; animation: fadeUp .9s .1s ease both;
}
.hero-eyebrow::before {
  content: ''; width: 24px; height: 1px; background: var(--yellow);
}

.hero-h1 {
  font-family: var(--font-display);
  font-size: clamp(3.8rem, 7vw, 7rem);
  line-height: .95; letter-spacing: .04em;
  opacity: 0; animation: fadeUp .9s .25s ease both;
}
.hero-h1 .line1 { color: var(--white); display: block; }
.hero-h1 .line2 {
  display: block;
  background: var(--grad-text);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  filter: drop-shadow(0 2px 20px rgba(251,191,36,0.3));
}
.hero-h1 .line3 { color: var(--white2); display: block; }

.hero-sub {
  font-size: 1.05rem; line-height: 1.85;
  color: var(--muted); margin: 24px 0 40px;
  max-width: 480px;
  opacity: 0; animation: fadeUp .9s .4s ease both;
}

.hero-btns {
  display: flex; gap: 16px; flex-wrap: wrap;
  opacity: 0; animation: fadeUp .9s .55s ease both;
}

/* Hero Right — Logo Showcase */
.hero-right {
  display: flex; align-items: center; justify-content: center;
  opacity: 0; animation: fadeUp .9s .35s ease both;
}
.logo-showcase {
  position: relative; width: 320px; height: 320px;
  display: flex; align-items: center; justify-content: center;
}
.logo-showcase img {
  width: 200px; height: 200px; object-fit: contain;
  position: relative; z-index: 2;
  filter:
    drop-shadow(0 0 40px rgba(124,58,237,0.6))
    drop-shadow(0 0 80px rgba(59,130,246,0.3));
}

/* Rotating rings */
.lring {
  position: absolute; border-radius: 50%;
  border: 1px dashed rgba(124,58,237,0.3);
}
.lring-1 { inset: -20px; animation: spin 18s linear infinite; }
.lring-2 { inset: -50px; border-color: rgba(59,130,246,0.2); animation: spin 28s linear infinite reverse; }
.lring-3 { inset: -85px; border-color: rgba(251,191,36,0.12); animation: spin 40s linear infinite; }
.lring-1::before, .lring-2::before, .lring-3::before {
  content: ''; position: absolute; top: 50%; left: -4px;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--yellow); transform: translateY(-50%);
}
.lring-2::before { background: var(--blue-lt); }
.lring-3::before { background: var(--purple2); width: 6px; height: 6px; left: -3px; }

/* Floating badges */
.badge {
  position: absolute;
  background: rgba(13,9,32,0.92);
  border: 1px solid;
  border-radius: 12px; padding: 10px 16px;
  font-family: var(--font-body);
  font-size: .72rem; font-weight: 600;
  white-space: nowrap; z-index: 3;
  animation: floatBadge 4s ease-in-out infinite;
}
.badge-1 { top: 10px; right: -20px; border-color: rgba(251,191,36,0.4); color: var(--yellow-lt); animation-delay: 0s; }
.badge-2 { bottom: 30px; left: -30px; border-color: rgba(147,197,253,0.4); color: var(--blue-lt); animation-delay: 1.5s; }
.badge-3 { bottom: 10px; right: 0; border-color: rgba(124,58,237,0.4); color: var(--purple2); animation-delay: .8s; }

/* Scroll hint */
.hero-scroll {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  opacity: 0; animation: fadeUp .9s .8s ease both;
}
.hero-scroll span {
  font-size: .55rem; letter-spacing: .32em;
  color: var(--faint); text-transform: uppercase;
}
.scroll-line {
  width: 1px; height: 50px;
  background: linear-gradient(to bottom, var(--yellow), transparent);
  animation: scrollBlink 2s ease-in-out infinite;
}

/* ══════════════════════════════════════
   BUTTONS
══════════════════════════════════════ */
.btn-prim {
  font-family: var(--font-body);
  font-size: .78rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase;
  text-decoration: none; color: #fff;
  background: var(--grad-btn);
  padding: 16px 38px; border-radius: 50px;
  border: none; cursor: pointer;
  display: inline-block; position: relative; overflow: hidden;
  transition: transform .35s, box-shadow .35s, opacity .35s;
}
.btn-prim::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,0.28) 50%, transparent 70%);
  transform: translateX(-110%); transition: transform .6s;
}
.btn-prim:hover::before { transform: translateX(110%); }
.btn-prim:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(124,58,237,0.4);
}

.btn-sec {
  font-family: var(--font-body);
  font-size: .78rem; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase;
  text-decoration: none; color: var(--blue-lt);
  border: 1px solid rgba(147,197,253,0.35);
  padding: 16px 38px; border-radius: 50px;
  display: inline-block; transition: .35s;
}
.btn-sec:hover {
  border-color: var(--blue-lt);
  background: rgba(147,197,253,0.08);
  transform: translateY(-2px);
}

.btn-yellow {
  font-family: var(--font-body);
  font-size: .78rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase;
  text-decoration: none; color: var(--dark);
  background: var(--grad-gold);
  padding: 16px 38px; border-radius: 50px;
  border: none; cursor: pointer;
  display: inline-block; position: relative; overflow: hidden;
  transition: transform .35s, box-shadow .35s;
}
.btn-yellow:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(251,191,36,0.4);
}

/* ══════════════════════════════════════
   SECTION BASE
══════════════════════════════════════ */
section { padding: 110px 0; position: relative; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 5%; }

.sec-label {
  font-family: var(--font-body);
  font-size: .62rem; letter-spacing: .4em; text-transform: uppercase;
  margin-bottom: 14px;
  display: flex; align-items: center; gap: 10px;
  background: linear-gradient(90deg, var(--yellow), var(--blue-lt));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.sec-label::before { content: ''; flex-shrink: 0; width: 18px; height: 1px; background: var(--yellow); }
.sec-label.center { justify-content: center; }
.sec-label.center::before { display: none; }
.sec-label.center::after { content: ''; width: 18px; height: 1px; background: var(--blue-lt); }

.sec-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem,4vw,4rem);
  letter-spacing: .05em; line-height: 1.05; color: var(--white);
}
.sec-title span {
  background: var(--grad-text);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.sec-center { text-align: center; }

.divider {
  display: flex; align-items: center; gap: 14px;
  margin: 0 auto 48px; width: fit-content;
}
.divider::before { content: ''; width: 60px; height: 1px; background: linear-gradient(to right, transparent, var(--yellow)); }
.divider::after  { content: ''; width: 60px; height: 1px; background: linear-gradient(to left, transparent, var(--blue-lt)); }
.divider span { font-size: 1.2rem; }

/* ══════════════════════════════════════
   STATS
══════════════════════════════════════ */
#stats {
  background: var(--dark2);
  border-top: 1px solid rgba(124,58,237,0.15);
  border-bottom: 1px solid rgba(147,197,253,0.1);
  padding: 0;
}
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); }
.stat-item {
  padding: 56px 24px; text-align: center; position: relative; overflow: hidden;
  border-right: 1px solid rgba(255,255,255,0.06); transition: background .4s;
}
.stat-item:last-child { border-right: none; }
.stat-item::before {
  content: ''; position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 120px; height: 120px; border-radius: 50%;
  background: radial-gradient(circle, rgba(124,58,237,0.08) 0%, transparent 70%);
  transition: width .5s, height .5s;
}
.stat-item:hover { background: rgba(124,58,237,0.04); }
.stat-item:hover::before { width: 200px; height: 200px; }
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2.4rem,4vw,4rem);
  display: block; line-height: 1;
  background: linear-gradient(140deg, var(--yellow) 0%, var(--blue-lt) 50%, var(--purple2) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  filter: drop-shadow(0 0 16px rgba(124,58,237,0.2));
}
.stat-div { width: 28px; height: 1px; background: linear-gradient(to right, var(--yellow), var(--blue)); margin: 10px auto; }
.stat-label { font-size: .85rem; color: var(--muted); letter-spacing: .06em; display: block; }

/* ══════════════════════════════════════
   SERVICES
══════════════════════════════════════ */
#services { background: var(--dark3); }
.services-hd { text-align: center; margin-bottom: 64px; }
.services-hd p { color: var(--muted); margin-top: 14px; font-size: 1rem; max-width: 520px; margin-left: auto; margin-right: auto; }

.svc-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: rgba(124,58,237,0.1); }
.svc-card {
  background: var(--dark3); padding: 48px 36px;
  position: relative; overflow: hidden; transition: background .4s;
}
.svc-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(to right, transparent, var(--purple), var(--blue-lt), transparent);
  transform: scaleX(0); transform-origin: center; transition: transform .5s cubic-bezier(.4,0,.2,1);
}
.svc-card::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(124,58,237,0.04) 0%, transparent 55%);
  opacity: 0; transition: opacity .4s;
}
.svc-card:hover { background: rgba(124,58,237,0.03); }
.svc-card:hover::before { transform: scaleX(1); }
.svc-card:hover::after { opacity: 1; }

.svc-icon-wrap {
  width: 56px; height: 56px;
  border: 1px solid rgba(147,197,253,0.25);
  background: linear-gradient(135deg, rgba(59,130,246,0.1), rgba(251,191,36,0.04));
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px; font-size: 1.5rem;
  transition: .4s; position: relative; z-index: 1;
}
.svc-card:hover .svc-icon-wrap {
  border-color: var(--blue-lt);
  box-shadow: 0 0 24px rgba(147,197,253,0.2);
}

.svc-title {
  font-family: var(--font-display);
  font-size: 1.1rem; letter-spacing: .08em;
  color: var(--white); margin-bottom: 10px;
  position: relative; z-index: 1;
}
.svc-desc { font-size: .92rem; line-height: 1.85; color: var(--muted); position: relative; z-index: 1; }
.svc-num {
  position: absolute; bottom: 14px; right: 20px;
  font-family: var(--font-display); font-size: 5rem;
  color: rgba(124,58,237,0.04); line-height: 1;
  transition: color .4s; user-select: none;
}
.svc-card:hover .svc-num { color: rgba(124,58,237,0.09); }

.svc-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body); font-size: .62rem;
  letter-spacing: .22em; color: var(--blue-lt);
  text-transform: uppercase; text-decoration: none;
  margin-top: 18px; opacity: 0; transform: translateX(-10px);
  transition: opacity .35s, transform .35s; position: relative; z-index: 1;
}
.svc-card:hover .svc-link { opacity: 1; transform: translateX(0); }

/* ══════════════════════════════════════
   PORTFOLIO
══════════════════════════════════════ */
#portfolio { background: var(--dark); }
.portfolio-hd { text-align: center; margin-bottom: 64px; }

.port-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.port-card {
  background: var(--dark3); border: 1px solid rgba(255,255,255,0.06);
  border-radius: 4px; overflow: hidden; transition: .4s;
  display: flex; flex-direction: column;
}
.port-card:hover {
  border-color: rgba(147,197,253,0.25);
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.5), 0 0 32px rgba(59,130,246,0.06);
}
.port-img-wrap {
  width: 100%; background: #fff;
  display: flex; align-items: center; justify-content: center;
  padding: 16px; overflow: hidden; position: relative;
}
.port-img-wrap::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 60%, rgba(13,9,32,0.6) 100%);
  opacity: 0; transition: opacity .4s;
}
.port-card:hover .port-img-wrap::after { opacity: 1; }
.portfolio-img {
  width: 100%; max-height: 220px;
  object-fit: contain; transition: transform .5s ease;
}
.port-card:hover .portfolio-img { transform: scale(1.06); }
.port-info { padding: 24px 22px; flex-grow: 1; }
.port-info h3 {
  font-family: var(--font-display); font-size: 1.1rem; letter-spacing: .08em;
  background: linear-gradient(90deg, var(--yellow-lt), var(--blue-lt));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  margin-bottom: 8px;
}
.port-info p { font-size: .88rem; color: var(--muted); line-height: 1.7; }

/* ══════════════════════════════════════
   CLIENTS
══════════════════════════════════════ */
#clients { background: var(--dark2); }
.clients-hd { text-align: center; margin-bottom: 64px; }

.clients-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.client-card {
  background: var(--dark3); border: 1px solid rgba(255,255,255,0.06);
  padding: 32px 28px; border-radius: 4px;
  transition: .4s; position: relative; overflow: hidden;
}
.client-card::before {
  content: ''; position: absolute; top: 0; left: 0;
  width: 3px; height: 0;
  background: linear-gradient(to bottom, var(--yellow), var(--blue-lt));
  transition: height .4s;
}
.client-card:hover::before { height: 100%; }
.client-card:hover {
  border-color: rgba(147,197,253,0.2);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.4);
}
.client-name {
  font-family: var(--font-display); font-size: 1.25rem; letter-spacing: .1em;
  background: linear-gradient(90deg, var(--yellow-lt), var(--blue-lt));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  margin-bottom: 6px;
}
.client-sector {
  font-size: .8rem; color: var(--faint);
  letter-spacing: .1em; text-transform: uppercase;
}

/* ══════════════════════════════════════
   TEAM 
══════════════════════════════════════ */
#team { background: var(--dark); }
.team-hd { text-align: center; margin-bottom: 64px; }
.team-grid { 
  display: grid; 
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
  gap: 30px; 
}
.team-card {
  background: var(--dark3); border: 1px solid rgba(255,255,255,0.06);
  padding: 40px 28px; text-align: center;
  position: relative; overflow: hidden; transition: .4s;
  border-radius: 20px;
}
.team-card::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(124,58,237,0.06) 100%);
  opacity: 0; transition: opacity .4s;
}
.team-card:hover::after { opacity: 1; }
.team-card:hover {
  border-color: rgba(124,58,237,0.35);
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.5);
}
.team-avatar {
  width: 150px; height: 150px; border-radius: 50%;
  margin: 0 auto 20px;
  border: 4px solid var(--yellow);
  background: linear-gradient(135deg, rgba(124,58,237,0.15), rgba(59,130,246,0.1));
  display: flex; align-items: center; justify-content: center;
  position: relative; z-index: 1;
  box-shadow: 0 0 24px rgba(124,58,237,0.15);
  overflow: hidden;
}
/* FIT IMAGE PERFECTLY ROUND */
.team-avatar img {
  width: 100%; height: 100%; object-fit: cover;
  display: block; border-radius: 50%;
}
.team-name {
  font-family: var(--font-display); font-size: 22px; letter-spacing: .1em;
  background: var(--grad-text);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  margin-bottom: 6px; position: relative; z-index: 1; font-weight: 700;
}
.team-role {
  font-size: 14px; color: var(--muted); opacity: .8;
  letter-spacing: .1em; text-transform: uppercase;
  position: relative; z-index: 1;
}

/* ══════════════════════════════════════
   CTA BAND
══════════════════════════════════════ */
#cta {
  padding: 100px 0; text-align: center;
  position: relative; overflow: hidden;
  background: var(--dark3);
  border-top: 1px solid rgba(124,58,237,0.2);
  border-bottom: 1px solid rgba(147,197,253,0.1);
}
#cta::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 70% at 50% 50%, rgba(124,58,237,0.07) 0%, transparent 70%);
}
#cta .container { position: relative; z-index: 1; }
#cta .sec-title { margin-bottom: 16px; }
#cta p { color: var(--muted); font-size: 1.05rem; margin-bottom: 40px; }

/* ══════════════════════════════════════
   APPOINTMENT SECTION
══════════════════════════════════════ */
.appointment-section { padding: 80px 0; }
.appt-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 50px; align-items: start;
}

/* Form */
.form-box {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(124,58,237,0.25);
  backdrop-filter: blur(15px);
  padding: 40px; border-radius: 4px;
}
.form-box h3 {
  font-family: var(--font-display);
  font-size: 1.8rem; letter-spacing: .08em;
  background: var(--grad-text);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  margin-bottom: 30px;
}
.form-group { margin-bottom: 22px; }
.form-group label {
  display: block; margin-bottom: 8px;
  font-size: .78rem; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 14px 18px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.04);
  color: var(--white); border-radius: 4px;
  font-family: var(--font-body); font-size: .95rem;
  transition: .3s; outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue-lt);
  background: rgba(147,197,253,0.04);
  box-shadow: 0 0 0 1px rgba(147,197,253,0.1), 0 4px 20px rgba(0,0,0,0.3);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--faint); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group select {
  cursor: pointer;
  background: rgba(255,255,255,0.04) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2393c5fd' d='M6 9L1 4h10z'/%3E%3C/svg%3E") no-repeat right 15px center;
  padding-right: 40px; appearance: none; -webkit-appearance: none;
}
.form-group select option { background: var(--dark3); }

/* Appointment info */
.appt-info { display: flex; flex-direction: column; gap: 20px; }
.info-card {
  background: linear-gradient(135deg, rgba(124,58,237,0.08), rgba(59,130,246,0.04));
  border: 1px solid rgba(124,58,237,0.25);
  padding: 28px; border-radius: 4px; transition: .4s;
}
.info-card:hover {
  border-color: rgba(147,197,253,0.3);
  transform: translateY(-4px);
}
.info-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem; letter-spacing: .1em; color: var(--blue-lt);
  margin-bottom: 16px;
}
.info-list { padding: 0; }
.info-list li {
  color: var(--muted); margin-bottom: 10px;
  font-size: .9rem; line-height: 1.6;
  padding-left: 22px; position: relative;
}
.info-list li::before {
  content: "✓"; position: absolute; left: 0;
  color: var(--yellow); font-weight: bold;
}

/* Time slots */
.slots-container {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px,1fr));
  gap: 20px; margin-top: 40px;
}
.slot-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 28px; border-radius: 4px; transition: .4s;
}
.slot-card:hover { border-color: var(--blue-lt); transform: translateY(-4px); }
.slot-card h4 {
  font-family: var(--font-display); font-size: 1rem; letter-spacing: .1em;
  color: var(--blue-lt); margin-bottom: 16px; text-align: center;
}
.time-slots { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.time-slot {
  padding: 10px 12px;
  background: rgba(124,58,237,0.08);
  border: 1px solid rgba(124,58,237,0.25);
  color: var(--white); border-radius: 4px;
  cursor: pointer; font-size: .78rem; font-weight: 500;
  transition: .3s; text-align: center;
}
.time-slot:hover {
  background: var(--purple); border-color: var(--purple);
  transform: scale(1.04);
}
.time-slot.active {
  background: var(--grad-btn); border-color: var(--blue-lt);
  box-shadow: 0 0 14px rgba(124,58,237,0.4);
}

/* ══════════════════════════════════════
   CONTACT
══════════════════════════════════════ */
.contact-wrapper {
  display: grid; grid-template-columns: 1fr 1.3fr; gap: 80px;
}
.contact-link-wrap { display: flex; flex-direction: column; gap: 12px; margin-top: 20px; }
.contact-link {
  display: flex; align-items: center; gap: 14px;
  font-size: .82rem; font-weight: 500; letter-spacing: .08em;
  text-transform: uppercase; color: var(--white2);
  text-decoration: none; padding: 14px 18px;
  border: 1px solid rgba(255,255,255,0.08); transition: .35s;
}
.contact-link:hover {
  color: var(--blue-lt); border-color: rgba(147,197,253,0.28);
  background: rgba(147,197,253,0.04); transform: translateX(5px);
}
.contact-icon {
  width: 36px; height: 36px; flex-shrink: 0;
  border: 1px solid rgba(147,197,253,0.25);
  display: flex; align-items: center; justify-content: center;
  color: var(--blue-lt); font-size: .9rem;
  background: rgba(59,130,246,0.06);
}

/* ══════════════════════════════════════
   CAREER / JOBS
══════════════════════════════════════ */
.jobs-container { display: flex; flex-direction: column; gap: 28px; }
.job-card {
  background: linear-gradient(135deg, rgba(124,58,237,0.04), rgba(59,130,246,0.02));
  border: 1px solid rgba(124,58,237,0.25);
  border-radius: 4px; padding: 32px; transition: .4s;
}
.job-card:hover {
  border-color: rgba(147,197,253,0.3);
  box-shadow: 0 10px 40px rgba(0,0,0,0.4);
  transform: translateY(-4px);
}
.job-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 22px; padding-bottom: 18px;
  border-bottom: 1px solid rgba(124,58,237,0.18);
}
.job-header h3 {
  font-family: var(--font-display); font-size: 1.5rem; letter-spacing: .08em;
  background: linear-gradient(90deg, var(--yellow-lt), var(--blue-lt));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.job-type {
  background: rgba(124,58,237,0.15);
  color: var(--purple2); padding: 6px 16px;
  border-radius: 20px; font-weight: 600; font-size: .78rem;
}
.job-details { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-bottom: 20px; }
.job-details p { color: var(--muted); font-size: .88rem; }
.job-details strong { color: var(--blue-lt); }
.job-description p { color: var(--muted); line-height: 1.7; font-size: .92rem; margin-bottom: 12px; }
.job-description ul { padding-left: 0; }
.job-description li {
  color: var(--muted); padding: 6px 0 6px 22px;
  position: relative; font-size: .9rem; line-height: 1.6;
}
.job-description li::before {
  content: "→"; position: absolute; left: 0; color: var(--yellow); font-weight: bold;
}

/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
footer {
  background: var(--dark2);
  border-top: 1px solid rgba(124,58,237,0.15);
  padding: 60px 0 28px; position: relative; overflow: hidden;
}
footer::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(to right, transparent, var(--yellow), var(--blue-lt), transparent);
}
.footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr;
  gap: 60px; padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  margin-bottom: 28px;
}
.footer-brand-wrap { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-brand-wrap img {
  width: 40px; height: 40px; object-fit: contain; border-radius: 8px;
  filter: drop-shadow(0 0 8px rgba(124,58,237,0.5));
}
.footer-brand-name {
  font-family: var(--font-display); font-size: 1.4rem; letter-spacing: .1em;
  background: var(--grad-text);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.footer-desc { font-size: .88rem; color: var(--muted); line-height: 1.85; }
.footer-socials { display: flex; gap: 10px; margin-top: 20px; }
.soc-link {
  width: 38px; height: 38px; border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); text-decoration: none; font-size: .9rem;
  transition: .3s; border-radius: 4px;
}
.soc-link:hover {
  border-color: var(--yellow); color: var(--yellow);
  background: rgba(251,191,36,0.08); transform: translateY(-2px);
}
.footer-col h4 {
  font-family: var(--font-display); font-size: 1rem; letter-spacing: .2em;
  background: linear-gradient(90deg, var(--yellow), var(--blue-lt));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  margin-bottom: 18px; padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.footer-col ul { display: flex; flex-direction: column; gap: 9px; }
.footer-col ul li a {
  font-size: .88rem; color: var(--muted);
  text-decoration: none; transition: .3s;
  display: flex; align-items: center; gap: 0;
}
.footer-col ul li a::before {
  content: ''; display: inline-block; width: 0; height: 1px;
  background: var(--blue-lt); flex-shrink: 0;
  transition: width .3s, margin-right .3s;
}
.footer-col ul li a:hover { color: var(--blue-lt); }
.footer-col ul li a:hover::before { width: 10px; margin-right: 6px; }
.footer-bottom {
  text-align: center; font-size: .82rem; color: var(--faint);
}
.footer-bottom span {
  background: var(--grad-text);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

/* WhatsApp */
.wa-btn {
  position: fixed; bottom: 28px; right: 28px; z-index: 9000;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; text-decoration: none; color: #fff;
  box-shadow: 0 8px 28px rgba(37,211,102,0.45); transition: .3s;
}
.wa-btn:hover { transform: scale(1.1); box-shadow: 0 12px 36px rgba(37,211,102,0.6); }

/* ══════════════════════════════════════
   FLASH MESSAGES
══════════════════════════════════════ */
.flash {
  padding: 14px 20px; margin-bottom: 18px;
  border-left: 3px solid; font-size: .82rem; letter-spacing: .08em;
}
.flash.success { background: rgba(34,197,94,0.07); border-color: #22c55e; color: #86efac; }
.flash.error   { background: rgba(239,68,68,0.07);  border-color: #ef4444; color: #fca5a5; }
.flash.info    { background: rgba(59,130,246,0.07); border-color: var(--blue); color: var(--blue-lt); }

/* ══════════════════════════════════════
   REVEAL ANIMATIONS
══════════════════════════════════════ */
.reveal {
  opacity: 0; transform: translateY(36px);
  transition: opacity .9s cubic-bezier(.4,0,.2,1), transform .9s cubic-bezier(.4,0,.2,1);
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-left {
  opacity: 0; transform: translateX(-36px);
  transition: opacity .9s cubic-bezier(.4,0,.2,1), transform .9s cubic-bezier(.4,0,.2,1);
}
.reveal-left.visible { opacity: 1; transform: none; }
.rd1 { transition-delay: .1s; }
.rd2 { transition-delay: .2s; }
.rd3 { transition-delay: .3s; }
.rd4 { transition-delay: .4s; }

/* ══════════════════════════════════════
   KEYFRAMES
══════════════════════════════════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes floatBadge {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-10px); }
}
@keyframes scrollBlink {
  0%,100% { opacity: .2; transform: scaleY(.8); }
  50%     { opacity: 1;  transform: scaleY(1); }
}

/* ══════════════════════════════════════
   RESPONSIVE — 1024px (Tablet)
══════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; text-align: center; }
  .hero-eyebrow { justify-content: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-btns { justify-content: center; }
  .hero-right { order: -1; }
  .logo-showcase { width: 240px; height: 240px; }
  .logo-showcase img { width: 150px; height: 150px; }

  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .stat-item { border-bottom: 1px solid rgba(255,255,255,0.06); }

  .svc-grid { grid-template-columns: repeat(2,1fr); }
  .clients-grid { grid-template-columns: repeat(2,1fr); }
  .team-grid { grid-template-columns: repeat(2,1fr); }
  .port-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .appt-grid { grid-template-columns: 1fr; }
  .contact-wrapper { grid-template-columns: 1fr; gap: 48px; }
  .job-details { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════
   RESPONSIVE — 768px (Large Phone)
══════════════════════════════════════ */
@media (max-width: 768px) {
  nav { padding: 0 18px; }
  .nav-links { display: none; }
  .ham { display: flex; }

  body { cursor: default; }
  .c-dot, .c-ring { display: none; }

  section { padding: 72px 0; }
  .container { padding: 0 18px; }

  .svc-grid { grid-template-columns: 1fr; }
  .clients-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .port-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }

  .hero-h1 { font-size: 3.2rem; }
  .hero-sub { font-size: .95rem; }
  .badge { display: none; }

  .job-header { flex-direction: column; align-items: flex-start; gap: 12px; }
  .slots-container { grid-template-columns: 1fr; }
  
  .team-avatar{
    width:120px;
    height:120px;
  }
  .team-name{
    font-size:18px;
  }
}

/* ══════════════════════════════════════
   RESPONSIVE — 480px (Standard Phone)
══════════════════════════════════════ */
@media (max-width: 480px) {
  nav { height: 60px; }
  nav.scrolled { height: 54px; }

  .container { padding: 0 14px; }
  section { padding: 60px 0; }

  .stats-grid { grid-template-columns: 1fr; }
  .stat-item { border-right: none !important; padding: 40px 20px; }

  .hero-h1 { font-size: 2.8rem; }
  .hero-btns { flex-direction: column; align-items: center; }
  .btn-prim, .btn-sec, .btn-yellow { width: 100%; text-align: center; }

  .logo-showcase { width: 200px; height: 200px; }
  .logo-showcase img { width: 120px; height: 120px; }
  .lring-2, .lring-3 { display: none; }

  .form-box { padding: 24px 18px; }
  .time-slots { grid-template-columns: 1fr 1fr; }
  .appt-grid { gap: 28px; }

  .svc-card { padding: 32px 22px; }
  .wa-btn { width: 52px; height: 52px; font-size: 1.4rem; bottom: 20px; right: 20px; }
}

/* ══════════════════════════════════════
   RESPONSIVE — 360px (Small Phone)
══════════════════════════════════════ */
@media (max-width: 360px) {
  .hero-h1 { font-size: 2.4rem; }
  .nav-logo-text .tagline { display: none; }
  .nav-logo img { width: 34px; height: 34px; }
  .sec-title { font-size: 2rem; }
  .time-slots { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════
   LANDSCAPE PHONES
══════════════════════════════════════ */
@media (max-height: 500px) and (orientation: landscape) {
  #hero { min-height: auto; padding: 100px 5% 60px; }
  .hero-h1 { font-size: 2.6rem; }
  .lring-2, .lring-3 { display: none; }
  .hero-scroll { display: none; }
}