/* ============================================================
   CLOUDING AI — Main Stylesheet
   Professional • Sophisticated • Agentic
   ============================================================ */

/* 1. RESET & BASE */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; }
body {
  font-family: 'Albert Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--c-bg);
  color: var(--c-text);
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none;
}
img, svg { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { border: none; background: none; cursor: none; font-family: inherit; }

/* 2. DESIGN TOKENS */
:root {
  --c-bg:         #FFFFFF;
  --c-surface:    #F2FFFE;
  --c-surface-2:  #E5FFFE;
  --c-dark:       #010C1C;
  --c-dark-2:     #01101F;
  --c-cyan:       #00FFFF;
  --c-teal:       #00AAAA;
  --c-teal-2:     #007B7B;
  --c-teal-3:     #005555;
  --c-orange:     #FF6900;
  --c-rose:       #FF006B;
  --c-text:       #010C1C;
  --c-muted:      #4D6B75;
  --c-border:     rgba(0,170,170,0.15);
  --c-border-2:   rgba(0,170,170,0.25);
  --nav-h:        72px;
  --container:    1320px;
  --ease:         cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out:     cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring:  cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* 3. UTILITIES */
.container { max-width: var(--container); margin: 0 auto; padding: 0 2rem; }
.section-tag {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--c-teal);
  margin-bottom: 1.25rem;
}
.section-tag::before {
  content: ''; display: block;
  width: 20px; height: 2px;
  background: var(--c-teal); border-radius: 2px;
}
.section-tag-light {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--c-cyan);
  margin-bottom: 1.25rem;
}
.section-tag-light::before {
  content: ''; display: block;
  width: 20px; height: 2px;
  background: var(--c-cyan); border-radius: 2px;
}
.section-header { text-align: center; max-width: 720px; margin: 0 auto 4rem; }
.section-header h2 { margin-bottom: 1rem; }
.section-header p { color: var(--c-muted); font-size: 1.125rem; }
.reveal { opacity: 0; transform: translateY(40px); }
.dark-section { background: var(--c-dark); color: white; }

/* 4. TYPOGRAPHY SCALE */
h1, .h1 {
  font-size: clamp(3.25rem, 9vw, 8.5rem);
  font-weight: 900; line-height: 0.92;
  letter-spacing: -0.03em;
}
h2, .h2 {
  font-size: clamp(2rem, 4.5vw, 4rem);
  font-weight: 800; line-height: 1.05;
  letter-spacing: -0.025em;
}
h3, .h3 {
  font-size: clamp(1.375rem, 2.5vw, 2rem);
  font-weight: 700; line-height: 1.2;
  letter-spacing: -0.015em;
}
h4, .h4 {
  font-size: 1.25rem; font-weight: 700;
  line-height: 1.3; letter-spacing: -0.01em;
}
p { max-width: 65ch; }

/* 5. CURSOR */
.cursor-dot {
  position: fixed; width: 8px; height: 8px;
  background: var(--c-teal); border-radius: 50%;
  pointer-events: none; z-index: 9999;
  transform: translate(-50%, -50%);
  will-change: transform;
  transition: opacity 0.3s;
}
.cursor-ring {
  position: fixed; width: 36px; height: 36px;
  border: 1.5px solid rgba(0,170,170,0.5); border-radius: 50%;
  pointer-events: none; z-index: 9998;
  transform: translate(-50%, -50%);
  will-change: transform;
  transition: width 0.35s var(--ease-out), height 0.35s var(--ease-out),
              border-color 0.3s, opacity 0.3s, background 0.3s;
}
.cursor-ring.is-hovering {
  width: 56px; height: 56px;
  border-color: var(--c-teal);
  background: rgba(0,170,170,0.08);
}
.cursor-ring.is-clicking {
  width: 26px; height: 26px;
  background: rgba(0,170,170,0.15);
}
body.no-cursor .cursor-dot,
body.no-cursor .cursor-ring { opacity: 0; }

/* 6. LOADER */
.loader {
  position: fixed; inset: 0;
  background: var(--c-dark); z-index: 10000;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 2.5rem;
  transition: opacity 0.8s var(--ease), visibility 0.8s;
}
.loader.is-done { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-mark { animation: loaderPulse 1.5s ease-in-out infinite; }
.loader-mark svg path { fill: var(--c-teal); }
@keyframes loaderPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.loader-track {
  width: 160px; height: 1.5px;
  background: rgba(255,255,255,0.1); border-radius: 2px; overflow: hidden;
}
.loader-fill {
  height: 100%; width: 0;
  background: linear-gradient(90deg, var(--c-teal), var(--c-cyan));
  border-radius: 2px; transition: width 1.2s var(--ease);
}

/* 7. NAVIGATION */
.nav {
  position: fixed;
  top: 1.125rem;
  left: 1.5rem; right: 1.5rem;
  margin: 0 auto;
  max-width: 1080px;
  z-index: 200; height: 52px;
  border-radius: 100px;
  border: 1px solid transparent;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease),
              border-color 0.4s var(--ease), transform 0.5s var(--ease);
}
/* Light pages (no is-dark) — subtle frosted glass */
.nav.is-scrolled {
  background: rgba(255,255,255,0.86);
  backdrop-filter: blur(24px) saturate(1.8);
  -webkit-backdrop-filter: blur(24px) saturate(1.8);
  border-color: var(--c-border);
  box-shadow: 0 4px 32px rgba(0,0,0,0.08), 0 1px 0 rgba(255,255,255,0.9) inset;
}
/* Dark pages — always-on dark glass */
.nav.is-dark {
  background: rgba(1, 12, 28, 0.45);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-color: rgba(255,255,255,0.09);
  box-shadow: 0 4px 32px rgba(0,0,0,0.28), 0 1px 0 rgba(255,255,255,0.04) inset;
}
/* Dark pages — denser glass on scroll */
.nav.is-dark.is-scrolled {
  background: rgba(1, 12, 28, 0.82);
  backdrop-filter: blur(28px) saturate(1.6);
  -webkit-backdrop-filter: blur(28px) saturate(1.6);
  border-color: rgba(0,255,255,0.14);
  box-shadow: 0 4px 40px rgba(0,0,0,0.4), 0 1px 0 rgba(0,255,255,0.06) inset;
}
.nav.is-hidden { transform: translateY(calc(-100% - 1.5rem)); }
.nav-inner {
  height: 100%; padding: 0 1.25rem 0 1.5rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
}
.nav-logo { display: flex; align-items: center; flex-shrink: 0; transition: opacity 0.3s; }
.nav-logo:hover { opacity: 0.75; }
.nav-logo img { height: 22px; width: auto; filter: brightness(0) opacity(0.85); }
.nav.is-dark .nav-logo img { filter: brightness(0) invert(1); }
.nav-links {
  display: flex; align-items: center; gap: 0;
  flex: 1; justify-content: center;
}
.nav-link {
  position: relative; display: inline-block;
  font-size: 0.875rem; font-weight: 500;
  color: var(--c-muted); padding: 0.4rem 0.875rem;
  border-radius: 100px;
  transition: color 0.25s, background 0.25s;
  white-space: nowrap;
}
.nav-link::after {
  content: ''; position: absolute;
  bottom: 3px; left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: calc(100% - 1.75rem); height: 1.5px;
  background: var(--c-teal); border-radius: 2px;
  transition: transform 0.3s var(--ease-out);
  transform-origin: center;
}
.nav-link:hover, .nav-link.active { color: var(--c-dark); }
.nav-link:hover::after, .nav-link.active::after { transform: translateX(-50%) scaleX(1); }
.nav.is-dark .nav-link { color: rgba(255,255,255,0.55); }
.nav.is-dark .nav-link:hover, .nav.is-dark .nav-link.active { color: white; }
.nav.is-dark .nav-link::after { background: var(--c-cyan); }
.nav-cta {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.5rem 1.125rem;
  background: #00FFFF; color: #010C1C;
  font-size: 0.8125rem; font-weight: 600;
  border-radius: 100px; flex-shrink: 0;
  transition: background 0.25s, transform 0.2s var(--ease-spring), box-shadow 0.3s;
}
.nav-cta:hover {
  background: #00e5e5;
  box-shadow: 0 4px 20px rgba(0,255,255,0.35);
}
.nav-burger {
  display: none; flex-direction: column;
  justify-content: center; align-items: flex-end;
  gap: 5px; width: 32px; height: 32px;
  flex-shrink: 0; cursor: none;
}
.burger-line {
  display: block; height: 1.5px; background: var(--c-dark);
  border-radius: 2px; transition: all 0.3s var(--ease);
}
.burger-line:nth-child(1) { width: 22px; }
.burger-line:nth-child(2) { width: 14px; }
.nav.is-dark .burger-line { background: white; }
.nav-burger.is-open .burger-line:nth-child(1) { transform: rotate(45deg) translate(5px, 4px); width: 18px; }
.nav-burger.is-open .burger-line:nth-child(2) { transform: rotate(-45deg) translate(5px, -4px); width: 18px; }

/* Mobile Menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 150;
  background: var(--c-dark);
  display: flex; flex-direction: column;
  padding: calc(var(--nav-h) + 2rem) 2rem 3rem;
  transform: translateX(100%);
  transition: transform 0.5s var(--ease-out);
}
.mobile-menu.is-open { transform: translateX(0); }
.mobile-links { flex: 1; display: flex; flex-direction: column; gap: 0.5rem; }
.mobile-link {
  font-size: 2.5rem; font-weight: 800;
  color: rgba(255,255,255,0.3);
  letter-spacing: -0.02em; line-height: 1;
  padding: 0.75rem 0;
  transition: color 0.25s;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.mobile-link:hover { color: var(--c-cyan); }
.mobile-footer { margin-top: 2rem; }
.mobile-cta { display: inline-block; }

/* Mobile sub-section (solutions group) */
.mobile-section-label {
  font-size: 0.6875rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255,255,255,0.22);
  padding: 1.25rem 0 0.5rem;
  border-bottom: none;
}
.mobile-sub-link {
  font-size: 1.875rem; font-weight: 700;
  color: rgba(255,255,255,0.38);
  letter-spacing: -0.01em; line-height: 1;
  padding: 0.5rem 0 0.5rem 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: color 0.25s;
  display: block;
}
.mobile-sub-link:hover { color: var(--c-cyan); }

/* ── NAV DROPDOWN ── */
.nav-has-dropdown { position: relative; }
.nav-has-dropdown > a.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}
.nav-has-dropdown > a.nav-link::after { display: none; }
.nav-chevron {
  width: 13px; height: 13px;
  flex-shrink: 0;
  transition: transform 0.25s var(--ease-out);
  opacity: 0.55;
}
.nav-has-dropdown:hover .nav-chevron { transform: rotate(180deg); opacity: 1; }

.nav-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 268px;
  background: rgba(3, 12, 28, 0.98);
  border: 1px solid rgba(0,255,255,0.13);
  border-radius: 20px;
  padding: 0.5rem;
  box-shadow:
    0 0 0 1px rgba(0,255,255,0.04),
    0 8px 16px rgba(0,0,0,0.3),
    0 32px 80px rgba(0,0,0,0.65),
    inset 0 1px 0 rgba(255,255,255,0.05);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.22s var(--ease-out);
  z-index: 300;
}
/* Transparent bridge that fills the gap so hover doesn't break */
.nav-dropdown::before {
  content: '';
  position: absolute;
  top: -14px;
  left: -16px;
  right: -16px;
  height: 14px;
}
.nav-has-dropdown:hover .nav-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-drop-item {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 0.75rem 0.875rem;
  border-radius: 13px;
  text-decoration: none;
  transition: background 0.18s;
  position: relative;
  overflow: hidden;
}
.nav-drop-item + .nav-drop-item { border-top: 1px solid rgba(255,255,255,0.04); }
.nav-drop-item:hover { background: rgba(0,255,255,0.06); }
.nav-drop-item::before {
  content: '';
  position: absolute;
  left: 0; top: 50%; transform: translateY(-50%);
  width: 2px; height: 0;
  background: linear-gradient(to bottom, var(--c-cyan), var(--c-teal));
  border-radius: 2px;
  transition: height 0.22s var(--ease-out);
}
.nav-drop-item:hover::before { height: 55%; }

.nav-drop-icon {
  flex-shrink: 0;
  width: 38px; height: 38px;
  border-radius: 11px;
  background: rgba(0,170,170,0.1);
  border: 1px solid rgba(0,170,170,0.18);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.18s, border-color 0.18s;
}
.nav-drop-item:hover .nav-drop-icon {
  background: rgba(0,255,255,0.12);
  border-color: rgba(0,255,255,0.28);
}
.nav-drop-icon svg {
  width: 17px; height: 17px;
  stroke: var(--c-teal);
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 0.18s;
}
.nav-drop-item:hover .nav-drop-icon svg { stroke: var(--c-cyan); }
.nav-drop-title {
  display: block;
  font-size: 0.875rem; font-weight: 700;
  color: rgba(255,255,255,0.82);
  line-height: 1.3; margin-bottom: 0.175rem;
  font-family: 'Albert Sans', sans-serif;
  transition: color 0.18s;
}
.nav-drop-item:hover .nav-drop-title { color: white; }
.nav-drop-desc {
  display: block;
  font-size: 0.71875rem;
  color: rgba(255,255,255,0.32);
  line-height: 1.4;
  font-family: 'Albert Sans', sans-serif;
  transition: color 0.18s;
}
.nav-drop-item:hover .nav-drop-desc { color: rgba(255,255,255,0.52); }

/* 8. BUTTONS */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  border-radius: 100px; font-weight: 600; font-family: inherit;
  transition: transform 0.2s var(--ease-spring), box-shadow 0.25s;
  cursor: none; white-space: nowrap;
  position: relative; overflow: hidden;
}
.btn::before {
  content: ''; position: absolute; inset: 0;
  background: rgba(255,255,255,0.12);
  transform: translateX(-110%) skewX(-15deg);
  transition: transform 0.45s var(--ease);
}
.btn:hover::before { transform: translateX(110%) skewX(-15deg); }
.btn-teal {
  padding: 0.875rem 2rem; background: var(--c-teal);
  color: white; font-size: 1rem;
  box-shadow: 0 4px 20px rgba(0,170,170,0.2);
}
.btn-teal:hover { box-shadow: 0 8px 30px rgba(0,170,170,0.35); }
.btn-outline {
  padding: 0.875rem 2rem;
  background: transparent; color: var(--c-text);
  font-size: 1rem; border: 1.5px solid var(--c-border-2);
}
.btn-outline:hover { border-color: var(--c-teal); color: var(--c-teal); }
.btn-cyan {
  padding: 0.875rem 2rem;
  background: var(--c-cyan); color: var(--c-dark);
  font-size: 1rem;
  box-shadow: 0 4px 20px rgba(0,255,255,0.15);
}
.btn-cyan:hover { box-shadow: 0 8px 30px rgba(0,255,255,0.3); }
.btn-white {
  padding: 0.875rem 2rem;
  background: white; color: var(--c-dark);
  font-size: 1rem;
}
.btn-sm { padding: 0.625rem 1.25rem; font-size: 0.875rem; }
.btn-icon { gap: 0.375rem; }
.btn-arrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.9375rem; font-weight: 600; color: var(--c-teal);
  transition: gap 0.25s var(--ease-out), color 0.2s;
}
.btn-arrow:hover { gap: 0.875rem; }
.btn-arrow-light { color: var(--c-cyan); }
.btn-arrow-light:hover { color: white; }

/* 9. HERO */
.hero {
  height: 100svh; min-height: 640px;
  position: relative; overflow: hidden;
  background: var(--c-bg);
  display: flex; flex-direction: column;
  align-items: flex-start; justify-content: center;
  padding-top: var(--nav-h);
  padding-bottom: 6rem; /* offset for clients strip at bottom */
}

/* Centered ambient teal glow */
.hero::before {
  content: ''; position: absolute;
  top: 5%; left: 50%; transform: translateX(-50%);
  width: 80vw; height: 55vw; max-width: 1000px;
  border-radius: 50%; pointer-events: none; z-index: 0;
  background: radial-gradient(ellipse, rgba(0,170,170,0.07) 0%, transparent 65%);
}

/* Grain texture */
.hero-grain {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 300px 300px;
}

/* Three.js wave dots background */
.hero-dotted-bg {
  position: absolute; inset: 0;
  pointer-events: none; z-index: 1;
  opacity: 0;
  transition: opacity 1.2s ease 0.3s;
}
.hero-dotted-bg.ready { opacity: 1; }
.hero-dotted-bg canvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
}


/* ── Centered hero content ── */
.hero-inner {
  position: relative; z-index: 2;
  display: flex; flex-direction: column;
  align-items: flex-start; text-align: left;
  gap: 0;
  padding: 0 2rem 0 clamp(2rem, 8vw, 9rem);
  max-width: 820px; width: 100%;
}

/* Eyebrow tag */
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 0.65rem;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--c-teal);
  opacity: 0; transform: translateY(10px);
  transition: opacity 0.6s var(--ease-out),
              transform 0.6s var(--ease-out);
}
.hero-eyebrow.revealed { opacity: 1; transform: translateY(0); }
.hero-eyebrow-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--c-teal); flex-shrink: 0;
  animation: tagPulse 2s ease-in-out infinite;
}
@keyframes tagPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.6); }
}

/* Title */
.hero-title {
  margin: 0 0 1.25rem; padding: 0;
  line-height: 0.95; letter-spacing: -0.04em;
  font-size: clamp(3.2rem, 9vw, 10.5rem);
  font-weight: 300;
  color: #ffffff;
}
.hero-line { display: block; overflow: hidden; }
.hero-line-inner {
  display: block; transform: translateY(102%);
  transition: transform 1.15s var(--ease-out);
}
.hero-line-accent { color: var(--c-cyan); font-weight: 700; }

/* 2-line reveal */
.hero-title.revealed .hero-line-inner                          { transform: translateY(0); }
.hero-title.revealed .hero-line:nth-child(2) .hero-line-inner  { transition-delay: 0.12s; }

/* Subtitle */
.hero-sub {
  font-size: clamp(0.95rem, 1.5vw, 1.125rem);
  line-height: 1.7; color: var(--c-muted);
  max-width: 440px; margin: 0 0 2rem;
  opacity: 0; transform: translateY(12px);
  transition: opacity 0.8s var(--ease-out) 0.5s,
              transform 0.8s var(--ease-out) 0.5s;
}
.hero-sub.revealed { opacity: 1; transform: translateY(0); }

/* CTAs */
.hero-ctas {
  display: flex; align-items: center; gap: 1.5rem;
  opacity: 0; transform: translateY(12px);
  transition: opacity 0.8s var(--ease-out) 0.65s,
              transform 0.8s var(--ease-out) 0.65s;
}
.hero-ctas.revealed { opacity: 1; transform: translateY(0); }

.hero-text-link {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.95rem; font-weight: 700; color: var(--c-text);
  border-bottom: 1.5px solid var(--c-border-2); padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}
.hero-text-link:hover { color: var(--c-teal); border-color: var(--c-teal); }
.hero-text-link svg { transition: transform 0.2s; }
.hero-text-link:hover svg { transform: translate(2px, -2px); }

/* Clients strip — absolute, pinned to bottom of hero */
.hero-clients {
  position: absolute; bottom: 0; left: 0; right: 0;
  z-index: 3; padding: 1.25rem 0 1.75rem;
  background: linear-gradient(to top, rgba(255,255,255,1) 60%, transparent);
}
.hero-clients-label {
  font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--c-muted); text-align: center;
  margin-bottom: 1.1rem; font-weight: 500;
}
.hero-clients .marquee-outer::before { background: linear-gradient(to right, #ffffff, transparent); }
.hero-clients .marquee-outer::after  { background: linear-gradient(to left,  #ffffff, transparent); }

/* ── Dark hero variant ── */
.hero--dark {
  background: #010C1C;
}
.hero--dark::before {
  background: radial-gradient(ellipse, rgba(0,255,255,0.08) 0%, transparent 65%);
}
.hero--dark .hero-sub { color: rgba(255,255,255,0.48); }
.hero--dark .hero-text-link {
  color: rgba(255,255,255,0.75);
  border-color: rgba(255,255,255,0.25);
}
.hero--dark .hero-text-link:hover {
  color: var(--c-cyan);
  border-color: var(--c-cyan);
}
.hero--dark .hero-clients {
  background: linear-gradient(to top, rgba(1,12,28,0.72) 40%, transparent);
}
.hero--dark .hero-clients-label { color: rgba(255,255,255,0.35); }
.hero--dark .hero-clients .marquee-outer::before { background: linear-gradient(to right, rgba(1,12,28,0.65), transparent); }
.hero--dark .hero-clients .marquee-outer::after  { background: linear-gradient(to left,  rgba(1,12,28,0.65), transparent); }
.hero--dark .hero-clients .client-logo {
  filter: brightness(0) invert(1);
  opacity: 0.45;
}
.hero--dark .hero-grain { opacity: 0.06; }

/* ── PARTNERSHIPS & EVENTS ── */
.partnerships-section {
  background: var(--c-dark);
  padding: 6rem 0 5rem;
  overflow: hidden;
}

.partnerships-header {
  margin-bottom: 3rem;
}
.partnerships-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800; letter-spacing: -0.03em;
  color: #fff; margin: 0.5rem 0 0.875rem;
}
.partnerships-sub {
  font-size: 1rem; color: rgba(255,255,255,0.45);
  max-width: 480px; line-height: 1.65; margin: 0;
}

/* Scrollable track */
.partnerships-track-wrap {
  overflow-x: auto;
  overflow-y: hidden;
  cursor: grab;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.partnerships-track-wrap::-webkit-scrollbar { display: none; }
.partnerships-track-wrap.is-dragging { cursor: grabbing; }

.partnerships-track {
  display: flex;
  gap: 1.25rem;
  padding: 0.5rem clamp(2rem, 6vw, 8rem) 2rem;
  width: max-content;
  user-select: none;
}

/* Card */
.pship-card {
  width: 340px;
  flex-shrink: 0;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s;
}
.pship-card:hover {
  border-color: rgba(0,255,255,0.2);
  transform: translateY(-4px);
}

/* Images */
.pship-imgs {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3px;
  height: 220px;
  overflow: hidden;
}
.pship-imgs:has(.pship-img-full) {
  grid-template-columns: 1fr;
}
.pship-img-main,
.pship-img-side {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

/* Body */
.pship-body {
  padding: 1.25rem 1.375rem 1.5rem;
}
.pship-tag {
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--c-cyan); margin-bottom: 0.5rem;
}
.pship-name {
  font-size: 1.125rem; font-weight: 700;
  color: #fff; margin: 0 0 0.625rem;
  letter-spacing: -0.02em;
}
.pship-desc {
  font-size: 0.875rem; color: rgba(255,255,255,0.5);
  line-height: 1.6; margin: 0 0 1rem;
}
.pship-meta {
  font-size: 0.75rem; color: rgba(255,255,255,0.25);
  font-weight: 500;
}

/* 10. CLIENTS BAR */
.clients-bar {
  padding: 3.5rem 0;
  background: var(--c-surface);
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
  overflow: hidden;
}
.clients-label {
  text-align: center;
  font-size: 0.8125rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--c-muted); margin-bottom: 2rem;
}
.marquee-outer { overflow: hidden; position: relative; }
.marquee-outer::before,
.marquee-outer::after {
  content: ''; position: absolute; top: 0; bottom: 0;
  width: 120px; z-index: 1; pointer-events: none;
}
.marquee-outer::before {
  left: 0;
  background: linear-gradient(to right, var(--c-surface), transparent);
}
.marquee-outer::after {
  right: 0;
  background: linear-gradient(to left, var(--c-surface), transparent);
}
.marquee-track {
  display: flex; align-items: center; gap: 4rem;
  animation: marqueeScroll 28s linear infinite;
  width: max-content;
}
.marquee-track:hover { animation-play-state: paused; }
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.client-logo {
  height: 37px; width: auto;
  opacity: 0.45; filter: grayscale(1);
  transition: opacity 0.3s, filter 0.3s;
  flex-shrink: 0;
}
.client-logo:hover { opacity: 1; filter: grayscale(0); }
img.client-logo[alt="Al Meera"] { filter: grayscale(1) contrast(2.2) brightness(1.4); opacity: 0.6; }

/* 11. ABOUT / STATS */
.about-section {
  padding: 8rem 0;
  background: white;
}
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 6rem; align-items: center;
}
.about-left .section-tag { display: flex; }
.about-left h2 { margin-bottom: 1.25rem; }
.about-left p { color: var(--c-muted); font-size: 1.0625rem; line-height: 1.75; margin-bottom: 2rem; }
.stats-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem;
}
.stat-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: 20px; padding: 2rem 1.75rem;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s;
  position: relative; overflow: hidden;
}
.stat-card::before {
  content: ''; position: absolute;
  inset: 0; border-radius: inherit;
  background: linear-gradient(135deg, rgba(0,170,170,0.06) 0%, transparent 60%);
}
.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,170,170,0.1);
}
.stat-card.featured {
  background: var(--c-teal); color: white;
  grid-column: span 2;
  display: flex; align-items: center; justify-content: space-between;
}
.stat-card.featured .stat-number { font-size: 3rem; }
.stat-card.featured .stat-muted { color: rgba(255,255,255,0.7); }
.stat-val {
  display: flex; align-items: baseline; gap: 0.125rem;
  line-height: 1; margin-bottom: 0.5rem;
}
.stat-number {
  font-size: 2.75rem; font-weight: 900;
  letter-spacing: -0.03em; color: var(--c-dark);
  line-height: 1;
}
.stat-card.featured .stat-number { color: white; }
.stat-suffix {
  font-size: 1.5rem; font-weight: 800;
  color: var(--c-teal); line-height: 1;
}
.stat-card.featured .stat-suffix { color: var(--c-cyan); }
.stat-label {
  font-size: 0.875rem; font-weight: 600;
  color: var(--c-muted); letter-spacing: 0.02em;
}
.stat-card.featured .stat-label { color: rgba(255,255,255,0.8); }

/* 12. OFFERINGS HORIZONTAL SCROLL */
.offerings-hscroll { background: var(--c-surface); /* height set by JS */ }
.offerings-sticky {
  position: sticky; top: 0;
  height: 100vh; overflow: hidden;
  display: flex; align-items: stretch;
}

/* Left header col */
.offerings-hdr {
  width: 34vw; min-width: 300px; flex-shrink: 0;
  display: flex; flex-direction: column; justify-content: center;
  gap: 1.5rem;
  padding: 5rem 3rem 5rem 7vw;
  border-right: 1px solid var(--c-border);
}
.offerings-hdr-h {
  font-size: clamp(1.85rem, 3vw, 3rem);
  line-height: 1.15; margin: 0;
}
.offerings-hdr-sub {
  color: var(--c-muted); font-size: 1rem;
  line-height: 1.7; margin: 0; max-width: 28ch;
}
.offerings-nav { display: flex; align-items: center; gap: 1.25rem; margin-top: 0.5rem; }
.off-progress-bar {
  flex: 1; height: 2px;
  background: var(--c-border); border-radius: 2px; overflow: hidden;
}
.off-progress-fill {
  height: 100%; background: var(--c-teal);
  width: 33%; border-radius: 2px;
  transition: width 0.5s var(--ease-out);
}
.off-counter {
  font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.08em; color: var(--c-muted); white-space: nowrap;
}
.off-count-cur { color: var(--c-dark); }

/* Track wrapper */
.offerings-track-wrap {
  flex: 1; overflow: hidden;
  display: flex; align-items: center;
  padding: 2.5rem 3vw;
}
.offerings-track {
  display: flex; gap: 1.5rem;
  align-items: stretch;
  will-change: transform;
}

/* Individual card */
.off-card {
  flex-shrink: 0;
  width: 56vw; height: calc(100vh - var(--nav-h) - 6rem);
  background: white;
  border: 1px solid var(--c-border);
  border-radius: 28px; overflow: hidden;
  display: flex; flex-direction: column;
  position: relative;
}
.off-card.off-card-dark {
  background: var(--c-dark); border-color: transparent;
}

/* Visual / media box */
.off-card-visual {
  flex: 1; overflow: hidden; position: relative;
}
.off-visual-inner {
  position: absolute; inset: -8%;
  display: flex; align-items: center; justify-content: center;
  will-change: transform;
}
.off-vi-1 {
  background:
    radial-gradient(ellipse at 40% 55%, rgba(0,170,170,0.14) 0%, rgba(0,170,170,0.03) 50%, transparent 70%),
    linear-gradient(145deg, #f2fafa 0%, #e6f5f5 100%);
}
.off-vi-2 {
  background:
    radial-gradient(ellipse at 60% 40%, rgba(0,170,170,0.09) 0%, transparent 60%),
    linear-gradient(145deg, #f6f5f0 0%, #eeecea 100%);
}
.off-vi-3 {
  background:
    radial-gradient(ellipse at 50% 55%, rgba(0,170,170,0.16) 0%, rgba(0,170,170,0.04) 50%, transparent 70%),
    linear-gradient(145deg, #f0f5f5 0%, #e8f2f2 100%);
}
.off-vi-glow {
  position: absolute;
  width: 45%; padding-bottom: 45%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,170,170,0.22) 0%, transparent 70%);
  filter: blur(50px);
  animation: offGlowPulse 4s ease-in-out infinite;
}
.off-vi-glow-2 {
  background: radial-gradient(circle, rgba(0,170,170,0.15) 0%, transparent 70%);
}
.off-vi-glow-3 {
  background: radial-gradient(circle, rgba(0,170,170,0.18) 0%, transparent 70%);
  animation-delay: -1.5s;
}
@keyframes offGlowPulse {
  0%,100% { transform: scale(1); opacity: 0.7; }
  50%      { transform: scale(1.25); opacity: 1; }
}
.off-vi-icon {
  width: 36%; height: auto;
  position: relative; z-index: 1;
  opacity: 0.3;
  animation: offIconFloat 7s ease-in-out infinite;
}
.off-card-dark .off-vi-icon {
  opacity: 0.22; filter: brightness(0) invert(1);
}
@keyframes offIconFloat {
  0%,100% { transform: translateY(0px) rotate(0deg); }
  50%      { transform: translateY(-14px) rotate(2deg); }
}

/* Card text footer */
.off-card-text {
  flex-shrink: 0; padding: 2rem 2.5rem;
  border-top: 1px solid var(--c-border);
  display: flex; flex-direction: column; gap: 0.7rem;
}
.off-card-dark .off-card-text { border-top-color: rgba(255,255,255,0.08); }
.off-card-meta { display: flex; align-items: center; gap: 1rem; }
.off-num {
  font-size: 0.7rem; font-weight: 800;
  letter-spacing: 0.14em; color: var(--c-muted);
}
.off-card-dark .off-num { color: rgba(255,255,255,0.3); }
.off-tag {
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--c-teal);
  background: rgba(0,170,170,0.09);
  padding: 0.2rem 0.7rem; border-radius: 100px;
}
.off-card-dark .off-tag { background: rgba(0,170,170,0.18); }
.off-h {
  font-size: clamp(1.25rem, 1.8vw, 1.65rem);
  line-height: 1.2; margin: 0;
}
.off-card-dark .off-h { color: white; }
.off-p {
  font-size: 0.9375rem; line-height: 1.65;
  color: var(--c-muted); margin: 0; max-width: 54ch;
}
.off-card-dark .off-p { color: rgba(255,255,255,0.48); }
.off-link {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.875rem; font-weight: 700;
  color: var(--c-teal); text-decoration: none;
  transition: gap 0.25s;
}
.off-link:hover { gap: 0.75rem; }
.off-card-dark .off-link { color: var(--c-cyan); }

@media (max-width: 900px) {
  .offerings-sticky { flex-direction: column; height: auto; position: relative; }
  .offerings-hdr {
    width: 100%; min-width: unset;
    padding: 3rem var(--container-pad) 1.5rem;
    border-right: none; border-bottom: 1px solid var(--c-border);
  }
  .offerings-track-wrap { padding: 1.5rem var(--container-pad) 3rem; overflow-x: auto; }
  .off-card { width: 80vw; height: 70vh; }
  .offerings-hscroll { height: auto !important; }
}

/* 13. IMPACT (DARK) */
.impact-section {
  padding: 7rem 0 6rem;
  background: var(--c-dark);
  position: relative; overflow: hidden;
}
.impact-bg-el { display: none; }
.impact-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 4rem;
}
.impact-header h2 { color: white; margin-bottom: 1rem; font-size: clamp(2rem, 3.5vw, 3rem); }
.impact-header p { color: rgba(255,255,255,0.45); font-size: 1rem; line-height: 1.75; margin: 0 auto; }

/* Rows */
.impact-rows { border-top: 1px solid rgba(255,255,255,0.08); }
.impact-row {
  border-bottom: 1px solid rgba(255,255,255,0.08);
  overflow: hidden;
  transition: background 0.4s var(--ease);
  cursor: default;
}
.impact-row:hover { background: rgba(0,255,255,0.04); }
.impact-row-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding-top: 2.25rem;
  padding-bottom: 2.25rem;
  position: relative;
  transition: padding 0.4s var(--ease-out);
}
.impact-row:hover .impact-row-inner { padding-top: 3rem; padding-bottom: 3rem; }
.impact-row-left {
  display: flex; align-items: baseline; gap: 1.5rem;
}
.impact-n {
  font-size: 0.6875rem; font-weight: 800;
  letter-spacing: 0.14em; color: var(--c-cyan);
  flex-shrink: 0;
}
.impact-row-title {
  font-size: clamp(1.375rem, 2.5vw, 2rem);
  font-weight: 800; color: rgba(255,255,255,0.55);
  letter-spacing: -0.025em; line-height: 1.1;
  transition: color 0.3s;
  margin: 0;
}
.impact-row:hover .impact-row-title { color: #fff; }
.impact-row-right {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s var(--ease-out);
  overflow: hidden;
}
.impact-row:hover .impact-row-right { grid-template-rows: 1fr; }
.impact-row-right > * { overflow: hidden; }
.impact-row-right p {
  color: rgba(255,255,255,0.55);
  font-size: 1rem; line-height: 1.75;
  margin: 0 0 1rem; max-width: none;
}
.impact-row-link {
  font-size: 0.875rem; font-weight: 600;
  color: var(--c-cyan); display: inline-flex;
  align-items: center; gap: 0.375rem;
  transition: gap 0.25s;
}
.impact-row-link:hover { gap: 0.625rem; }
.impact-row-icon {
  position: absolute; right: -2rem; top: 50%;
  transform: translateY(-50%) translateX(60px);
  width: 180px; opacity: 0;
  transition: opacity 0.45s var(--ease-out), transform 0.45s var(--ease-out);
  pointer-events: none;
  filter: brightness(0.7);
}
.impact-row:hover .impact-row-icon {
  opacity: 0.12;
  transform: translateY(-50%) translateX(0);
}
.impact-cta { text-align: center; margin-top: 3.5rem; }

/* 14. METHODOLOGY */
.method-section { padding: 8rem 0; background: white; }
.method-steps {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--c-border);
  border: 1px solid var(--c-border);
  border-radius: 24px; overflow: hidden;
  margin-top: 1rem;
}
.method-step {
  background: white; padding: 2.75rem 2rem;
  transition: background 0.3s;
  position: relative;
}
.method-step:hover { background: var(--c-surface); }
.method-num {
  font-size: 3.5rem; font-weight: 900;
  letter-spacing: -0.04em; color: var(--c-teal);
  opacity: 0.25; line-height: 1; margin-bottom: 1.5rem;
  transition: opacity 0.3s;
}
.method-step:hover .method-num { opacity: 0.5; }
.method-step h4 { margin-bottom: 0.75rem; font-size: 1.125rem; }
.method-step p { color: var(--c-muted); font-size: 0.9375rem; line-height: 1.6; }
.method-connector {
  position: absolute; top: 2.75rem; right: -1px;
  width: 1px; height: 32px;
  background: linear-gradient(to bottom, transparent, var(--c-teal), transparent);
}
.method-step:last-child .method-connector { display: none; }

/* 15. AGENTS PREVIEW */
.agents-section { padding: 8rem 0; background: var(--c-surface); }
.agents-tabs {
  display: flex; flex-wrap: wrap; gap: 0.625rem;
  margin-bottom: 3rem; justify-content: center;
}
.agent-tab {
  padding: 0.5rem 1.25rem;
  border-radius: 100px; font-size: 0.875rem; font-weight: 600;
  color: var(--c-muted);
  border: 1.5px solid var(--c-border);
  background: white;
  transition: all 0.25s; cursor: none;
}
.agent-tab.active, .agent-tab:hover {
  background: var(--c-teal); color: white; border-color: var(--c-teal);
}
.agents-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem;
}
.agent-card {
  background: white; border: 1px solid var(--c-border);
  border-radius: 20px; padding: 2rem;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s;
  cursor: none;
}
.agent-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,170,170,0.1);
}
.agent-industry {
  font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--c-teal); margin-bottom: 0.75rem;
}
.agent-card h4 { font-size: 1.0625rem; margin-bottom: 0.625rem; }
.agent-card p { font-size: 0.9rem; color: var(--c-muted); line-height: 1.6; }
.agent-roi {
  margin-top: 1.25rem; padding-top: 1.25rem;
  border-top: 1px solid var(--c-border);
  font-size: 0.8125rem; font-weight: 700;
  color: var(--c-teal);
}

/* 16. CASE STUDIES */
.cases-section { padding: 8rem 0; background: white; }
.cases-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.case-card {
  border-radius: 24px; overflow: hidden;
  border: 1px solid var(--c-border);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s;
}
.case-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.08);
}
.case-img-wrap { height: 240px; overflow: hidden; background: var(--c-surface-2); }
.case-cover-img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.case-img {
  height: 240px; background: var(--c-surface-2);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.case-img-dark { background: var(--c-dark-2); }
.case-body { padding: 2rem; }
.case-tag {
  font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--c-teal); margin-bottom: 0.75rem;
}
.case-body h3 { margin-bottom: 0.75rem; font-size: 1.25rem; }
.case-body p {
  color: var(--c-muted); font-size: 0.9375rem; line-height: 1.65;
  min-height: calc(0.9375rem * 1.65 * 4);
  display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden;
}
.case-stats { display: flex; gap: 2rem; margin-top: 1.5rem; flex-wrap: wrap; align-items: flex-end; }
.case-stat-val { font-size: 1.5rem; font-weight: 900; color: var(--c-teal); line-height: 1; }
.case-stat-lbl { font-size: 0.8rem; color: var(--c-muted); margin-top: 0.25rem; }
.case-stat-tag {
  display: inline-flex; align-items: center;
  padding: 0.3rem 0.875rem;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: 100px;
  font-size: 0.75rem; font-weight: 600;
  color: var(--c-muted);
}

/* 17. BLOG */
.blog-section { padding: 8rem 0; background: var(--c-surface); }
.blog-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem;
}
.blog-card {
  background: white; border-radius: 20px;
  border: 1px solid var(--c-border); overflow: hidden;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s;
  display: flex; flex-direction: column;
}
.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,170,170,0.1);
}
.blog-card-img-link { display: block; flex-shrink: 0; }
.blog-card-img {
  overflow: hidden;
}
.blog-card-img img {
  width: 100%; height: auto;
  display: block;
  transition: transform 0.4s var(--ease-out);
}
.blog-card:hover .blog-card-img img { transform: scale(1.04); }
.blog-card-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.blog-tag {
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--c-teal); margin-bottom: 0.625rem;
}
.blog-card h4 { margin-bottom: 0.5rem; font-size: 1rem; line-height: 1.35; }
.blog-card h4 a { color: inherit; text-decoration: none; }
.blog-card h4 a:hover { color: var(--c-teal); }
.blog-card p { font-size: 0.875rem; color: var(--c-muted); line-height: 1.65; margin-bottom: 1rem; flex: 1; }
.blog-meta { font-size: 0.78rem; color: var(--c-muted); margin-top: auto; }

/* 18. CTA BANNER */
.cta-section {
  padding: 7rem 0;
  background: var(--c-dark); position: relative; overflow: hidden;
  text-align: center;
}
.cta-section::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 100% at 50% 100%, rgba(0,170,170,0.15) 0%, transparent 70%);
}
.cta-section .container { position: relative; z-index: 1; max-width: 700px; }
.cta-section h2 { color: white; margin-bottom: 1rem; }
.cta-section p { color: rgba(255,255,255,0.6); font-size: 1.125rem; margin: 0 auto 2.5rem; }
.cta-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* 19. FOOTER */
.footer {
  background: var(--c-dark); color: white;
  padding: 5rem 0 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  overflow: hidden;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 4rem; margin-bottom: 0;
}
.footer-brand { }
.footer-logo { margin-bottom: 1.25rem; }
.footer-logo img { height: 28px; width: auto; filter: brightness(0) invert(1); }
.footer-desc {
  font-size: 0.9375rem; color: rgba(255,255,255,0.5);
  line-height: 1.7; margin-bottom: 1.75rem; max-width: 320px;
}
.footer-socials { display: flex; gap: 0.75rem; }
.footer-typewriter-line {
  font-size: 0.9375rem; color: rgba(255,255,255,0.45);
  line-height: 1.5; white-space: nowrap;
  text-align: left; padding: 2rem 0;
}
#footer-typewriter { color: #00FFFF !important; font-weight: 600; }
.footer-cursor {
  color: var(--c-cyan); font-weight: 400;
  animation: cursorBlink 0.8s step-end infinite;
}
@keyframes cursorBlink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
.social-link {
  width: 38px; height: 38px;
  border-radius: 10px; background: rgba(255,255,255,0.06);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.25s, transform 0.2s var(--ease-spring);
}
.social-link:hover { background: rgba(0,255,255,0.12); transform: translateY(-2px); }
.social-link svg { width: 16px; height: 16px; fill: rgba(255,255,255,0.7); }
.footer-col h5 {
  font-size: 0.8125rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(255,255,255,0.4); margin-bottom: 1.25rem;
}
.footer-links { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-link {
  font-size: 0.9375rem; color: rgba(255,255,255,0.6);
  transition: color 0.2s;
}
.footer-link:hover { color: var(--c-cyan); }
.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
}
.footer-copy { font-size: 0.875rem; color: rgba(255,255,255,0.3); }
.footer-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.8125rem; color: rgba(255,255,255,0.4);
  padding: 0.375rem 0.875rem;
  border: 1px solid rgba(255,255,255,0.08); border-radius: 100px;
}
.footer-badge img { height: 16px; }

/* Footer big typographic wordmark */
.footer-wordmark {
  font-size: clamp(5rem, 18vw, 18rem);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 0.85;
  color: rgba(255,255,255,0.04);
  -webkit-text-stroke: 1px rgba(255,255,255,0.13);
  text-align: center;
  user-select: none;
  pointer-events: none;
  padding: 1rem 0 0;
  overflow: hidden;
  white-space: nowrap;
}

/* 20. PAGE HERO (inner pages) */
.page-hero {
  min-height: 100svh; padding: var(--nav-h) 0 3rem;
  background: var(--c-dark); color: white; text-align: center;
  position: relative; overflow: hidden;
  display: flex; align-items: center;
}
.page-hero::after {
  content: ''; position: absolute; bottom: -1px; left: 0; right: 0;
  height: 80px;
  background: linear-gradient(to bottom, transparent, white);
}
.page-hero.surface-bg::after { background: linear-gradient(to bottom, transparent, var(--c-surface)); }
.page-hero .container { width: 100%; }
.page-hero .section-tag-light { justify-content: center; }
.page-hero h1 { color: white; margin-bottom: 1.25rem; max-width: 800px; margin-left: auto; margin-right: auto; }
.page-hero p { color: rgba(255,255,255,0.65); font-size: 1.125rem; margin: 0 auto; max-width: 600px; }

/* 21. FORM */
.contact-section { padding: 7rem 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 6rem; align-items: start; }
.contact-info h2 { margin-bottom: 1.25rem; }
.contact-info p { color: var(--c-muted); font-size: 1.0625rem; line-height: 1.75; }
.contact-details { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 1rem; }
.contact-detail {
  display: flex; align-items: center; gap: 1rem;
  font-size: 0.9375rem; color: var(--c-muted);
}
.contact-detail-icon {
  width: 40px; height: 40px; border-radius: 12px;
  background: var(--c-surface-2);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.form-wrap {
  background: white; border-radius: 24px;
  border: 1px solid var(--c-border);
  padding: 2.5rem;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block; font-size: 0.875rem; font-weight: 600;
  color: var(--c-dark); margin-bottom: 0.5rem;
}
.form-control {
  width: 100%; padding: 0.875rem 1.125rem;
  border: 1.5px solid var(--c-border);
  border-radius: 12px;
  font-family: inherit; font-size: 0.9375rem;
  color: var(--c-dark); background: var(--c-surface);
  transition: border-color 0.25s, box-shadow 0.25s;
  outline: none; cursor: none;
}
.form-control::placeholder { color: var(--c-muted); }
.form-control:focus {
  border-color: var(--c-teal);
  box-shadow: 0 0 0 4px rgba(0,170,170,0.1);
}
textarea.form-control { resize: vertical; min-height: 130px; }
.form-submit { width: 100%; justify-content: center; font-size: 1rem; }

/* 22. INNER PAGE SECTIONS */
.section-white { padding: 7rem 0; background: white; }
.section-surface { padding: 7rem 0; background: var(--c-surface); }
.section-dark { padding: 7rem 0; background: var(--c-dark); }

/* Full service detail layout */
.service-detail {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 5rem; align-items: center;
  padding: 5rem 0;
  border-bottom: 1px solid var(--c-border);
}
.service-detail:last-child { border-bottom: none; }
.service-detail.reverse { direction: rtl; }
.service-detail.reverse > * { direction: ltr; }
.service-detail-icon {
  width: 72px; height: 72px; border-radius: 20px;
  background: var(--c-surface-2);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.5rem;
}
.service-detail-icon img { width: 36px; height: 36px; }
.service-detail h2 { margin-bottom: 1rem; }
.service-detail > div > p { color: var(--c-muted); font-size: 1.0625rem; line-height: 1.75; margin-bottom: 1.75rem; }
.feature-list { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 2rem; }
.feature-item {
  display: flex; align-items: flex-start; gap: 0.875rem;
  font-size: 0.9375rem; color: var(--c-dark); line-height: 1.5;
}
.feature-check {
  width: 20px; height: 20px; border-radius: 6px;
  background: rgba(0,170,170,0.1);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 0.15rem;
}
.feature-check svg { width: 11px; height: 11px; color: var(--c-teal); }
.service-visual {
  background: var(--c-surface); border-radius: 24px;
  border: 1px solid var(--c-border);
  aspect-ratio: 4/3; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.service-visual-dark {
  background: var(--c-dark);
}

/* Industry agents table */
.industry-tabs {
  display: flex; flex-wrap: wrap; gap: 0.625rem;
  margin-bottom: 3rem;
}
.ind-tab {
  padding: 0.5rem 1.375rem;
  border-radius: 100px; font-size: 0.875rem; font-weight: 600;
  color: var(--c-muted); border: 1.5px solid var(--c-border);
  background: white; transition: all 0.25s; cursor: none;
}
.ind-tab.active, .ind-tab:hover {
  background: var(--c-dark); color: white; border-color: var(--c-dark);
}

/* Academy */
.academy-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.academy-card {
  background: white; border: 1px solid var(--c-border);
  border-radius: 20px; padding: 2rem;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s;
}
.academy-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,170,170,0.1);
}
.academy-level {
  font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--c-teal); margin-bottom: 0.75rem;
}
.academy-card h4 { margin-bottom: 0.625rem; }
.academy-card p { font-size: 0.9rem; color: var(--c-muted); }
.academy-duration {
  margin-top: 1.25rem; font-size: 0.8125rem;
  font-weight: 600; color: var(--c-muted);
  display: flex; align-items: center; gap: 0.375rem;
}

/* 23. SCROLL ANIMATIONS (JS-applied) */
.gsap-reveal {
  opacity: 0; transform: translateY(50px);
}
.gsap-reveal-left {
  opacity: 0; transform: translateX(-50px);
}
.gsap-reveal-right {
  opacity: 0; transform: translateX(50px);
}
.gsap-scale {
  opacity: 0; transform: scale(0.9);
}

/* 24. RESPONSIVE */
@media (max-width: 1200px) {
  .about-grid { gap: 4rem; }
  .impact-row-inner { grid-template-columns: 1fr; gap: 0; }
  .impact-row-right { display: none; }
  .impact-row-icon { display: none; }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 3rem; }
  .services-grid { gap: 1.25rem; }
}

@media (max-width: 1024px) {
  .nav { left: 1rem; right: 1rem; top: 0.875rem; height: 48px; }
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .about-grid { grid-template-columns: 1fr; gap: 3.5rem; }
  .impact-row-inner { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .method-steps { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .cases-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .blog-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .service-detail { grid-template-columns: 1fr; }
  .service-detail.reverse { direction: ltr; }
  .hero-ctas { flex-direction: column; gap: 1rem; }
}

@media (max-width: 768px) {
  :root { --nav-h: 64px; }
  .method-steps { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-card.featured { grid-column: span 1; }
  .form-row { grid-template-columns: 1fr; }
  .agents-grid { grid-template-columns: 1fr 1fr; }
  .academy-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-inner { gap: 1.5rem; }
}

@media (max-width: 480px) {
  .hero-inner { padding: 0 1.25rem; margin-bottom: 8rem; }
  .stats-grid { grid-template-columns: 1fr; }
  .agents-grid { grid-template-columns: 1fr; }
  .academy-grid { grid-template-columns: 1fr; }
  .cta-btns { flex-direction: column; align-items: center; }
}

@media (pointer: coarse) {
  body { cursor: auto; }
  .cursor-dot, .cursor-ring { display: none; }
  .nav-cta, .btn, .btn-arrow, .nav-link, .footer-link,
  .service-card, .agent-tab, .ind-tab, .form-control { cursor: pointer; }
  button, a { cursor: pointer; }
}
