/* ==========================================================
   ZEN LABS CORPORATION — V2 Redesign
   Premium light theme with Tremor-inspired animations
   ========================================================== */

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

:root {
  --slate-950: #020617;
  --slate-900: #0F172A;
  --slate-800: #1E293B;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748B;
  --slate-400: #94A3B8;
  --slate-300: #CBD5E1;
  --slate-200: #E2E8F0;
  --slate-100: #F1F5F9;
  --slate-50:  #F8FAFC;
  --white:     #FFFFFF;
  --amber-500: #F59E0B;
  --amber-600: #D97706;
  --amber-400: #FBBF24;
  --amber-50:  #FFFBEB;
  --cyan-500:  #06B6D4;
  --cyan-600:  #0891B2;
  --cyan-400:  #22D3EE;
  --cyan-50:   #ECFEFF;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.06);
  --shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 12px 40px rgba(15, 23, 42, 0.1);
  --shadow-xl: 0 20px 60px rgba(15, 23, 42, 0.12);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
}

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body { font-family: var(--font); font-size: 16px; line-height: 1.6; color: var(--slate-700); background: var(--white); overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { font-family: var(--font); }

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

/* ==========================================================
   BUTTONS
   ========================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 32px; font-family: var(--font); font-size: 15px; font-weight: 600;
  border-radius: var(--radius-sm); border: 1.5px solid transparent; cursor: pointer;
  transition: all 0.25s var(--ease); white-space: nowrap; line-height: 1;
}
.btn--primary {
  background: var(--slate-900); color: var(--white); border-color: var(--slate-900);
}
.btn--primary:hover {
  background: var(--slate-800); box-shadow: 0 4px 16px rgba(15, 23, 42, 0.2);
  transform: translateY(-1px);
}
.btn--accent {
  background: var(--amber-500); color: var(--white); border-color: var(--amber-500);
}
.btn--accent:hover {
  background: var(--amber-600); border-color: var(--amber-600);
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.3); transform: translateY(-1px);
}
.btn--outline {
  background: transparent; color: var(--slate-700); border-color: var(--slate-300);
}
.btn--outline:hover {
  border-color: var(--slate-900); color: var(--slate-900);
}
.btn--outline-light {
  background: transparent; color: var(--white); border-color: rgba(255, 255, 255, 0.25);
}
.btn--outline-light:hover {
  background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.5);
}
.btn--ghost {
  background: transparent; color: var(--slate-600); border-color: transparent; padding: 10px 16px;
}
.btn--ghost:hover { color: var(--slate-900); background: var(--slate-50); }
.btn--lg { padding: 18px 40px; font-size: 16px; border-radius: var(--radius); }
.btn--sm { padding: 10px 20px; font-size: 13px; }

/* ==========================================================
   NAVIGATION — Tremor-inspired slide-in
   ========================================================== */
@keyframes navFadeDown {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.nav--scrolled {
  background: rgba(255, 255, 255, 0.92);
  border-bottom-color: var(--slate-200);
  box-shadow: var(--shadow-xs);
}
.nav__inner {
  display: flex; align-items: center; justify-content: space-between; height: 72px;
}
.nav__logo { display: inline-flex; align-items: center; z-index: 10; }
.nav__logo-img { height: 26px; width: auto; }
.nav__menu {
  display: flex; align-items: center; gap: 8px;
}
.nav__anim {
  opacity: 0; animation: navFadeDown 0.5s var(--ease) forwards;
}
.nav__anim:nth-child(1) { animation-delay: 0.05s; }
.nav__anim:nth-child(2) { animation-delay: 0.1s; }
.nav__anim:nth-child(3) { animation-delay: 0.15s; }
.nav__anim:nth-child(4) { animation-delay: 0.2s; }
.nav__anim:nth-child(5) { animation-delay: 0.25s; }

.nav__link {
  font-size: 14px; font-weight: 500; color: var(--slate-500);
  padding: 8px 16px; border-radius: var(--radius-sm);
  transition: color 0.2s ease, background 0.2s ease; position: relative;
}
.nav__link:hover { color: var(--slate-900); background: var(--slate-50); }

.nav__cta {
  font-size: 14px; font-weight: 600; color: var(--white);
  background: var(--slate-900); padding: 10px 24px;
  border-radius: var(--radius-sm); transition: all 0.2s ease; margin-left: 8px;
}
.nav__cta:hover { background: var(--slate-800); transform: translateY(-1px); }

.nav__toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px; z-index: 10;
}
.nav__toggle span {
  display: block; width: 22px; height: 2px; background: var(--slate-900);
  border-radius: 2px; transition: all 0.3s ease;
}

/* Nav Dropdown */
.nav__dropdown { position: relative; }
.nav__dropdown-menu {
  display: none; position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%);
  min-width: 220px; background: var(--white); border: 1px solid var(--slate-200);
  border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 8px;
  opacity: 0; transition: opacity 0.15s ease;
}
.nav__dropdown:hover .nav__dropdown-menu { display: block; opacity: 1; }
.nav__dropdown-item {
  display: block; padding: 10px 16px; font-size: 14px; color: var(--slate-600);
  border-radius: var(--radius-sm); transition: all 0.15s ease;
}
.nav__dropdown-item:hover { background: var(--slate-50); color: var(--slate-900); }

/* ==========================================================
   HERO
   ========================================================== */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero {
  position: relative; padding: 180px 0 120px;
  background: linear-gradient(180deg, var(--white) 0%, var(--slate-50) 100%);
  overflow: hidden;
}
.hero__grid-bg {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, var(--slate-200) 1px, transparent 0);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 20%, transparent 70%);
  opacity: 0.5;
}
.hero__inner { position: relative; text-align: center; max-width: 820px; margin: 0 auto; }

.hero__anim { opacity: 0; animation: heroFadeUp 0.7s var(--ease) forwards; }
.hero__anim:nth-child(1) { animation-delay: 0.15s; }
.hero__anim:nth-child(2) { animation-delay: 0.25s; }
.hero__anim:nth-child(3) { animation-delay: 0.35s; }
.hero__anim:nth-child(4) { animation-delay: 0.45s; }
.hero__anim:nth-child(5) { animation-delay: 0.55s; }

.hero__badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 20px; background: var(--white);
  border: 1px solid var(--slate-200); border-radius: 100px;
  font-size: 13px; font-weight: 600; color: var(--slate-600);
  letter-spacing: 0.3px; margin-bottom: 32px;
  box-shadow: var(--shadow-xs);
}
.hero__badge-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--amber-500);
  display: inline-block; flex-shrink: 0;
}
.hero__title {
  font-size: clamp(40px, 6vw, 72px); font-weight: 800; line-height: 1.05;
  color: var(--slate-900); letter-spacing: -0.03em; margin-bottom: 24px;
}
.gradient-text {
  background: linear-gradient(135deg, var(--amber-500) 0%, var(--cyan-500) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero__subtitle {
  font-size: 18px; line-height: 1.7; color: var(--slate-500);
  max-width: 600px; margin: 0 auto 40px;
}
.hero__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 80px; }
.hero__stats {
  display: flex; justify-content: center; gap: 56px;
  padding-top: 48px; border-top: 1px solid var(--slate-200);
}
.hero__stat { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.hero__stat-value {
  font-size: 36px; font-weight: 800; color: var(--slate-900);
  letter-spacing: -0.02em; line-height: 1;
}
.hero__stat-label { font-size: 13px; font-weight: 500; color: var(--slate-400); }

/* ==========================================================
   SECTION HEADERS
   ========================================================== */
.section-header { text-align: center; max-width: 600px; margin: 0 auto 64px; }
.section-header--left { text-align: left; margin: 0 0 48px; }
.section-label {
  display: inline-block; font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 2px;
  color: var(--amber-500); margin-bottom: 12px;
}
.section-label--light { color: var(--cyan-400); }
.section-title {
  font-size: clamp(28px, 4vw, 42px); font-weight: 800;
  color: var(--slate-900); letter-spacing: -0.02em;
  margin-bottom: 16px; line-height: 1.15;
}
.section-title--light { color: var(--white); }
.section-desc { font-size: 17px; line-height: 1.7; color: var(--slate-500); }
.section-desc--light { color: rgba(255, 255, 255, 0.6); }

/* ==========================================================
   SERVICES
   ========================================================== */
.services { padding: 120px 0; background: var(--white); }
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.service-card {
  background: var(--white); border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg); padding: 40px 36px;
  transition: all 0.35s var(--ease); display: flex; flex-direction: column;
  position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--amber-500), var(--cyan-500));
  opacity: 0; transition: opacity 0.3s ease;
}
.service-card:hover {
  border-color: var(--slate-300); box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.service-card:hover::before { opacity: 1; }

.service-card__icon {
  width: 52px; height: 52px; display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius); margin-bottom: 24px;
}
.service-card__icon--amber { background: var(--amber-50); color: var(--amber-600); }
.service-card__icon--slate { background: var(--slate-100); color: var(--slate-700); }
.service-card__icon--cyan { background: var(--cyan-50); color: var(--cyan-600); }
.service-card__title {
  font-size: 20px; font-weight: 700; color: var(--slate-900);
  margin-bottom: 12px; letter-spacing: -0.01em;
}
.service-card__desc {
  font-size: 15px; line-height: 1.7; color: var(--slate-500); margin-bottom: 24px; flex: 1;
}
.service-card__features {
  list-style: none; display: flex; flex-direction: column; gap: 8px; margin-bottom: 24px;
}
.service-card__features li {
  font-size: 14px; color: var(--slate-600); padding-left: 20px; position: relative; line-height: 1.5;
}
.service-card__features li::before {
  content: ''; position: absolute; left: 0; top: 7px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--amber-500);
}
.service-card__link {
  font-size: 14px; font-weight: 600; color: var(--slate-900);
  display: inline-flex; align-items: center; gap: 6px;
  transition: gap 0.2s ease, color 0.2s ease;
}
.service-card__link:hover { gap: 10px; color: var(--amber-600); }

/* ==========================================================
   UNIQUE SOLUTIONS — Highlighted section
   ========================================================== */
.unique {
  padding: 120px 0; background: var(--slate-900);
  position: relative; overflow: hidden;
}
.unique::before {
  content: ''; position: absolute; top: -300px; right: -200px;
  width: 700px; height: 700px; border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.12) 0%, transparent 65%);
  pointer-events: none;
}
.unique::after {
  content: ''; position: absolute; bottom: -200px; left: -150px;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.08) 0%, transparent 65%);
  pointer-events: none;
}

.unique__intro {
  max-width: 680px; margin-bottom: 64px; position: relative; z-index: 1;
}
.unique__intro-text {
  font-size: 18px; line-height: 1.8; color: rgba(255, 255, 255, 0.6); margin-top: 16px;
}

.unique__grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px;
  position: relative; z-index: 1;
}
.unique__card {
  background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg); padding: 36px;
  transition: all 0.3s var(--ease);
}
.unique__card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(245, 158, 11, 0.2);
  transform: translateY(-2px);
}
.unique__card-number {
  font-size: 13px; font-weight: 700; color: var(--cyan-400);
  letter-spacing: 1px; margin-bottom: 16px; display: block;
}
.unique__card-title {
  font-size: 19px; font-weight: 700; color: var(--white);
  margin-bottom: 12px; letter-spacing: -0.01em;
}
.unique__card-desc {
  font-size: 15px; line-height: 1.7; color: rgba(255, 255, 255, 0.55);
}

/* ==========================================================
   USE CASES
   ========================================================== */
.cases { padding: 120px 0; background: var(--slate-50); }
.cases__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.case-card {
  background: var(--white); border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg); padding: 32px;
  transition: all 0.3s var(--ease); display: flex; flex-direction: column;
  cursor: pointer;
}
.case-card:hover {
  border-color: var(--slate-300); box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.case-card__badge {
  display: inline-block; align-self: flex-start;
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.8px; color: var(--amber-600);
  background: var(--amber-50); padding: 5px 12px;
  border-radius: 100px; margin-bottom: 20px;
}
.case-card__icon { color: var(--slate-900); margin-bottom: 16px; }
.case-card__title {
  font-size: 18px; font-weight: 700; color: var(--slate-900);
  margin-bottom: 10px; letter-spacing: -0.01em;
}
.case-card__desc {
  font-size: 14px; line-height: 1.7; color: var(--slate-500);
  margin-bottom: 20px; flex: 1;
}
.case-card__metrics {
  display: flex; gap: 24px; padding: 16px 0;
  border-top: 1px solid var(--slate-100); margin-bottom: 16px;
}
.case-card__metric { display: flex; flex-direction: column; }
.case-card__metric-value {
  font-size: 22px; font-weight: 800; color: var(--slate-900);
  letter-spacing: -0.02em; line-height: 1;
}
.case-card__metric-label {
  font-size: 12px; font-weight: 500; color: var(--slate-400); margin-top: 4px;
}
.case-card__link {
  font-size: 14px; font-weight: 600; color: var(--slate-900);
  display: inline-flex; align-items: center; gap: 6px;
  transition: gap 0.2s ease, color 0.2s ease;
}
.case-card__link:hover { gap: 10px; color: var(--amber-600); }

/* ==========================================================
   MODAL — Case Study Detail
   ========================================================== */
.modal-overlay {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  opacity: 0; visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.modal-overlay--active { opacity: 1; visibility: visible; }

.modal {
  background: var(--white); border-radius: var(--radius-xl);
  max-width: 720px; width: 100%; max-height: 85vh;
  overflow-y: auto; position: relative;
  transform: translateY(16px) scale(0.98);
  transition: transform 0.3s var(--ease);
  box-shadow: var(--shadow-xl);
}
.modal-overlay--active .modal { transform: translateY(0) scale(1); }

.modal__header {
  padding: 40px 40px 0; display: flex;
  justify-content: space-between; align-items: flex-start;
}
.modal__close {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--slate-200); background: var(--white);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: var(--slate-500);
  transition: all 0.15s ease; flex-shrink: 0; margin-left: 16px;
}
.modal__close:hover { background: var(--slate-50); color: var(--slate-900); }

.modal__body { padding: 32px 40px 40px; }
.modal__badge {
  display: inline-block; font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.8px;
  color: var(--amber-600); background: var(--amber-50);
  padding: 5px 14px; border-radius: 100px; margin-bottom: 16px;
}
.modal__title {
  font-size: 28px; font-weight: 800; color: var(--slate-900);
  letter-spacing: -0.02em; line-height: 1.2;
}
.modal__client {
  font-size: 14px; color: var(--slate-400); margin-top: 8px; font-weight: 500;
}

.modal__section { margin-bottom: 32px; }
.modal__section:last-child { margin-bottom: 0; }
.modal__section-title {
  font-size: 13px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1.5px; color: var(--slate-400); margin-bottom: 12px;
}
.modal__section p {
  font-size: 15px; line-height: 1.8; color: var(--slate-600);
}

.modal__results {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px;
}
.modal__result {
  background: var(--slate-50); border-radius: var(--radius);
  padding: 20px; text-align: center;
}
.modal__result-value {
  font-size: 28px; font-weight: 800; color: var(--slate-900);
  letter-spacing: -0.02em; line-height: 1;
}
.modal__result-label {
  font-size: 13px; font-weight: 500; color: var(--slate-500); margin-top: 6px;
}

.modal__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.modal__tag {
  font-size: 12px; font-weight: 600; color: var(--slate-600);
  background: var(--slate-100); padding: 6px 14px;
  border-radius: 100px;
}

/* ==========================================================
   CTA BANNER
   ========================================================== */
.cta-section { padding: 120px 0; background: var(--white); }
.cta-card {
  background: var(--slate-900); border-radius: var(--radius-xl);
  padding: 80px 64px; text-align: center; position: relative; overflow: hidden;
}
.cta-card::before {
  content: ''; position: absolute; top: -100px; right: -100px;
  width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.15) 0%, transparent 60%);
}
.cta-card::after {
  content: ''; position: absolute; bottom: -80px; left: -80px;
  width: 300px; height: 300px; border-radius: 50%;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.1) 0%, transparent 60%);
}
.cta-card__inner { position: relative; z-index: 1; max-width: 560px; margin: 0 auto; }
.cta-card__title {
  font-size: clamp(28px, 4vw, 40px); font-weight: 800; color: var(--white);
  margin-bottom: 16px; letter-spacing: -0.02em; line-height: 1.15;
}
.cta-card__desc {
  font-size: 17px; line-height: 1.7; color: rgba(255, 255, 255, 0.6); margin-bottom: 36px;
}

/* ==========================================================
   FOOTER
   ========================================================== */
.footer { background: var(--slate-900); padding: 80px 0 0; }
.footer__grid {
  display: grid; grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 48px; padding-bottom: 64px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.footer__brand { }
.footer__logo-img { height: 24px; filter: brightness(0) invert(1); margin-bottom: 16px; }
.footer__tagline { font-size: 14px; color: rgba(255, 255, 255, 0.4); line-height: 1.6; }

.footer__col { display: flex; flex-direction: column; gap: 12px; }
.footer__col-title {
  font-size: 12px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1.5px; color: rgba(255, 255, 255, 0.35); margin-bottom: 4px;
}
.footer__link {
  font-size: 14px; color: rgba(255, 255, 255, 0.55);
  transition: color 0.2s ease;
}
.footer__link:hover { color: var(--white); }

.footer__bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding: 24px 0;
}
.footer__bottom p { font-size: 13px; color: rgba(255, 255, 255, 0.25); }

/* MEGA LOGO — Large watermark at bottom */
.footer__mega {
  overflow: hidden; text-align: center;
  padding-top: 48px; pointer-events: none; user-select: none;
  line-height: 0.82;
}
.footer__mega-text {
  display: block;
  font-size: clamp(100px, 18vw, 320px);
  font-weight: 900; letter-spacing: -0.04em;
  color: rgba(255, 255, 255, 0.03);
  white-space: nowrap;
  transform: translateY(12%);
}

/* ==========================================================
   SCROLL REVEAL ANIMATIONS
   ========================================================== */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal--visible { opacity: 1; transform: translateY(0); }

.reveal-stagger > * {
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.reveal-stagger--visible > *:nth-child(1) { opacity: 1; transform: translateY(0); transition-delay: 0.05s; }
.reveal-stagger--visible > *:nth-child(2) { opacity: 1; transform: translateY(0); transition-delay: 0.1s; }
.reveal-stagger--visible > *:nth-child(3) { opacity: 1; transform: translateY(0); transition-delay: 0.15s; }
.reveal-stagger--visible > *:nth-child(4) { opacity: 1; transform: translateY(0); transition-delay: 0.2s; }
.reveal-stagger--visible > *:nth-child(5) { opacity: 1; transform: translateY(0); transition-delay: 0.25s; }
.reveal-stagger--visible > *:nth-child(6) { opacity: 1; transform: translateY(0); transition-delay: 0.3s; }

/* ==========================================================
   PAGE HERO (inner pages)
   ========================================================== */
.page-hero {
  padding: 160px 0 80px;
  background: linear-gradient(180deg, var(--white) 0%, var(--slate-50) 100%);
  position: relative; overflow: hidden;
}
.page-hero__grid-bg {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 1px 1px, var(--slate-200) 1px, transparent 0);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 20%, transparent 70%);
  opacity: 0.5;
}
.page-hero__inner { position: relative; max-width: 720px; }
.page-hero__breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 500; color: var(--slate-400); margin-bottom: 20px;
}
.page-hero__breadcrumb a { color: var(--slate-500); transition: color 0.2s ease; }
.page-hero__breadcrumb a:hover { color: var(--amber-500); }
.page-hero__title {
  font-size: clamp(32px, 5vw, 52px); font-weight: 800; line-height: 1.1;
  color: var(--slate-900); letter-spacing: -0.02em; margin-bottom: 20px;
}
.page-hero__desc { font-size: 18px; line-height: 1.7; color: var(--slate-500); max-width: 600px; }

/* ==========================================================
   ABOUT PAGE
   ========================================================== */
.about { padding: 100px 0; background: var(--white); }
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.about__text { font-size: 16px; line-height: 1.8; color: var(--slate-600); margin-bottom: 16px; }
.about__values { display: flex; flex-direction: column; gap: 24px; padding-top: 8px; }
.about__value { display: flex; gap: 16px; align-items: flex-start; }
.about__value-icon {
  width: 44px; height: 44px; min-width: 44px;
  display: flex; align-items: center; justify-content: center;
  background: var(--cyan-50); border-radius: var(--radius-sm); color: var(--cyan-600);
}
.about__value-title { font-size: 15px; font-weight: 700; color: var(--slate-900); margin-bottom: 4px; }
.about__value-desc { font-size: 14px; line-height: 1.6; color: var(--slate-500); }

/* TEAM */
.team { padding: 80px 0; background: var(--slate-50); }
.team__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.team__card {
  background: var(--white); border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg); padding: 36px; text-align: center;
  transition: all 0.3s var(--ease);
}
.team__card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.team__avatar {
  width: 72px; height: 72px; border-radius: 50%;
  background: linear-gradient(135deg, var(--amber-500), var(--cyan-500));
  margin: 0 auto 16px; display: flex; align-items: center; justify-content: center;
  color: var(--white); font-size: 24px; font-weight: 700;
}
.team__name { font-size: 17px; font-weight: 700; color: var(--slate-900); margin-bottom: 4px; }
.team__role {
  font-size: 12px; font-weight: 700; color: var(--amber-500);
  text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px;
}
.team__bio { font-size: 14px; line-height: 1.6; color: var(--slate-500); }

/* ==========================================================
   CONTACT PAGE
   ========================================================== */
.contact { padding: 100px 0; background: var(--white); }
.contact__grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 64px; align-items: start; }
.contact__form { display: flex; flex-direction: column; gap: 20px; }
.contact__form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-label { font-size: 13px; font-weight: 600; color: var(--slate-900); }
.form-input {
  font-family: var(--font); font-size: 15px; padding: 12px 16px;
  border: 1px solid var(--slate-200); border-radius: var(--radius-sm);
  background: var(--slate-50); color: var(--slate-800);
  transition: all 0.2s ease; outline: none;
}
.form-input:focus {
  border-color: var(--amber-500); background: var(--white);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.08);
}
.form-input::placeholder { color: var(--slate-400); }
textarea.form-input { resize: vertical; min-height: 100px; }
select.form-input {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2394A3B8' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; padding-right: 40px;
}
.contact__info { display: flex; flex-direction: column; gap: 28px; padding-top: 8px; }
.contact__info-item { display: flex; gap: 16px; align-items: flex-start; color: var(--amber-500); }
.contact__info-label {
  display: block; font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px; color: var(--slate-400); margin-bottom: 4px;
}
.contact__info-value { font-size: 15px; font-weight: 500; color: var(--slate-900); transition: color 0.2s ease; }
a.contact__info-value:hover { color: var(--amber-500); }

/* ==========================================================
   LEGAL / PRIVACY
   ========================================================== */
.legal { padding: 80px 0; }
.legal__inner { max-width: 800px; margin: 0 auto; }
.legal__inner h2 {
  font-size: 24px; font-weight: 800; color: var(--slate-900);
  margin: 40px 0 16px; letter-spacing: -0.01em;
}
.legal__inner h2:first-of-type { margin-top: 0; }
.legal__inner p { font-size: 15px; line-height: 1.8; color: var(--slate-600); margin-bottom: 12px; }
.legal__inner ul { list-style: disc; padding-left: 24px; margin-bottom: 16px; }
.legal__inner ul li { font-size: 15px; line-height: 1.7; color: var(--slate-600); margin-bottom: 6px; }
.legal__inner a { color: var(--amber-500); font-weight: 500; }
.legal__inner a:hover { color: var(--amber-600); }
.legal__updated { font-size: 13px; color: var(--slate-400); font-weight: 500; margin-bottom: 32px; }

/* ==========================================================
   SERVICE DETAIL
   ========================================================== */
.service-detail { padding: 100px 0; background: var(--white); }
.service-detail__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.service-detail__text h3 {
  font-size: 20px; font-weight: 700; color: var(--slate-900);
  margin-bottom: 12px; letter-spacing: -0.01em;
}
.service-detail__text p { font-size: 15px; line-height: 1.8; color: var(--slate-600); margin-bottom: 20px; }
.feature-list { display: flex; flex-direction: column; gap: 20px; }
.feature-item { display: flex; gap: 16px; align-items: flex-start; }
.feature-item__icon {
  width: 44px; height: 44px; min-width: 44px;
  display: flex; align-items: center; justify-content: center;
  background: var(--amber-50); border-radius: var(--radius-sm); color: var(--amber-600);
}
.feature-item__title { font-size: 15px; font-weight: 700; color: var(--slate-900); margin-bottom: 4px; }
.feature-item__desc { font-size: 14px; line-height: 1.6; color: var(--slate-500); }

/* Process Steps */
.process { padding: 80px 0; background: var(--slate-50); }
.process__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.process__step {
  position: relative; padding: 32px 24px; background: var(--white);
  border: 1px solid var(--slate-200); border-radius: var(--radius-lg); text-align: center;
}
.process__step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  display: block; font-size: 32px; font-weight: 800; color: var(--cyan-500);
  letter-spacing: -1px; margin-bottom: 12px; line-height: 1;
}
.process__step-title { font-size: 16px; font-weight: 700; color: var(--slate-900); margin-bottom: 8px; }
.process__step-desc { font-size: 14px; line-height: 1.6; color: var(--slate-500); }

/* NAV ACTIVE STATE */
.nav__link--active { color: var(--slate-900) !important; font-weight: 600; }

/* ==========================================================
   RESPONSIVE
   ========================================================== */
@media (max-width: 1024px) {
  .services__grid { grid-template-columns: 1fr; }
  .unique__grid { grid-template-columns: 1fr; }
  .cases__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .modal__results { grid-template-columns: repeat(2, 1fr); }
  .about__grid, .service-detail__grid, .contact__grid { grid-template-columns: 1fr; gap: 48px; }
  .process__grid { grid-template-columns: repeat(2, 1fr); }
  .team__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav__menu {
    display: none; position: absolute; top: 72px; left: 0; right: 0;
    background: var(--white); flex-direction: column;
    padding: 16px 24px 24px; gap: 4px;
    border-bottom: 1px solid var(--slate-200);
    box-shadow: var(--shadow);
  }
  .nav__menu--open { display: flex; }
  .nav__menu--open > * { opacity: 1; animation: none; }
  .nav__toggle { display: flex; }
  .nav__link { padding: 12px 16px; width: 100%; }
  .nav__cta { margin-left: 0; text-align: center; margin-top: 8px; }
  .nav__dropdown-menu {
    position: static; box-shadow: none; border: none;
    padding: 0 0 0 16px; margin: 0; transform: none;
  }
  .nav__dropdown:hover .nav__dropdown-menu {
    display: flex; flex-direction: column; gap: 4px;
  }

  .hero { padding: 140px 0 80px; }
  .hero__stats { flex-direction: column; gap: 20px; align-items: center; }
  .hero__stat { flex-direction: row; gap: 12px; }
  .hero__actions { flex-direction: column; align-items: center; }
  .hero__actions .btn { width: 100%; max-width: 320px; }

  .services, .unique, .cases, .cta-section { padding: 80px 0; }
  .section-header { margin-bottom: 48px; }

  .cases__grid { grid-template-columns: 1fr; }
  .unique__grid { grid-template-columns: 1fr; }

  .cta-card { padding: 56px 32px; }
  .modal__header { padding: 28px 28px 0; }
  .modal__body { padding: 24px 28px 28px; }
  .modal__results { grid-template-columns: 1fr 1fr; }

  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom { flex-direction: column; gap: 8px; text-align: center; }

  .page-hero { padding: 130px 0 60px; }
  .about, .contact, .service-detail, .team, .legal, .process { padding: 72px 0; }
  .contact__form-row { grid-template-columns: 1fr; }
  .team__grid { grid-template-columns: 1fr; }
  .process__grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero__title { letter-spacing: -0.02em; }
  .service-card, .case-card { padding: 24px; }
  .unique__card { padding: 28px; }
  .case-card__metrics { flex-direction: column; gap: 12px; }
  .modal__results { grid-template-columns: 1fr; }
  .cta-card { padding: 40px 24px; border-radius: var(--radius-lg); }
}
