/* ═══════════════════════════════════════════════════
   AGULHAS CODE — Brand Stylesheet
   Colors: Zinc scale + Cyan/Violet/Green/Amber accents
   Fonts: Manrope, Newsreader, JetBrains Mono
   ═══════════════════════════════════════════════════ */

/* ── Reset & Variables ─────────────────────────── */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Zinc palette */
  --zinc-950: #09090B;
  --zinc-900: #18181B;
  --zinc-800: #27272A;
  --zinc-700: #3F3F46;
  --zinc-600: #52525B;
  --zinc-500: #71717A;
  --zinc-400: #A1A1AA;
  --zinc-300: #D4D4D8;
  --zinc-200: #E4E4E7;
  --zinc-100: #F4F4F5;
  --zinc-50:  #FAFAFA;

  /* Accent palette */
  --cyan-500:   #06B6D4;
  --cyan-400:   #22D3EE;
  --cyan-600:   #0891B2;
  --violet-500: #8B5CF6;
  --violet-400: #A78BFA;
  --violet-600: #7C3AED;
  --green-500:  #22C55E;
  --amber-500:  #F59E0B;

  /* Semantic */
  --bg:         var(--zinc-950);
  --surface:    var(--zinc-900);
  --border:     var(--zinc-800);
  --text:       var(--zinc-50);
  --text-muted: var(--zinc-400);
  --accent:     var(--cyan-500);
  --accent-ai:  var(--violet-500);

  /* Typography */
  --font-sans:  'Manrope', system-ui, -apple-system, sans-serif;
  --font-serif: 'Newsreader', Georgia, serif;
  --font-mono:  'JetBrains Mono', 'Fira Code', monospace;

  /* Spacing */
  --container: 1200px;
  --section-py: clamp(80px, 10vw, 140px);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

/* Selection color */
::selection {
  background: rgba(6, 182, 212, 0.25);
  color: var(--zinc-50);
}

body {
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.75;
  font-weight: 400;
  color: var(--text);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

/* ── Container ─────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px);
}

/* ── Shared Section Styles ─────────────────────── */
.section-label {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.section-title {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 20px;
}

.section-subtitle {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 600px;
  margin-bottom: 56px;
}

.italic-accent {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--accent);
}

/* ── Buttons ───────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 15px;
  padding: 14px 32px;
  border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.btn--primary {
  background: var(--accent);
  color: var(--zinc-950);
  border-color: var(--accent);
}

.btn--primary:hover {
  background: var(--cyan-400);
  border-color: var(--cyan-400);
  transform: translateY(-1px);
  box-shadow: 0 8px 30px rgba(6, 182, 212, 0.25);
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--zinc-700);
}

.btn--ghost:hover {
  border-color: var(--zinc-500);
  background: rgba(255, 255, 255, 0.03);
}

.btn--full {
  width: 100%;
}

/* ═══════════════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 0;
  transition: all 0.3s ease;
  background: rgba(9, 9, 11, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
}

.nav--scrolled {
  border-bottom-color: var(--border);
  background: rgba(9, 9, 11, 0.9);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  letter-spacing: -0.02em;
}

.nav__logo-icon {
  flex-shrink: 0;
  color: var(--text);
  transition: transform 0.3s ease;
}

.nav__logo:hover .nav__logo-icon {
  transform: translateY(-1px);
}

.nav__logo-agulhas {
  font-weight: 800;
  color: var(--text);
}

.nav__logo-code {
  font-weight: 400;
  color: var(--accent);
}

.nav__links-desktop {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav__link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
}

.nav__link:hover {
  color: var(--text);
}

.nav__link--cta {
  color: var(--zinc-950);
  background: var(--accent);
  padding: 8px 20px;
  border-radius: 6px;
  font-weight: 600;
}

.nav__link--cta:hover {
  color: var(--zinc-950);
  background: var(--cyan-400);
}

/* Mobile toggle */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 9999;
  position: relative;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}

.nav__toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav__toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav__toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ═══════════════════════════════════════════════════
   MOBILE MENU
   ═══════════════════════════════════════════════════ */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  z-index: 9998;
  background-color: #09090B;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.mobile-menu.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 48px;
  width: 100%;
  padding: 0 32px;
}

.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.mobile-menu__link {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: clamp(36px, 9vw, 52px);
  letter-spacing: -0.03em;
  color: var(--zinc-300);
  text-decoration: none;
  padding: 4px 0;
  position: relative;
  display: inline-block;
  /* Stagger animation */
  opacity: 0;
  transform: translateY(30px);
  transition: color 0.3s ease;
}

.mobile-menu.open .mobile-menu__link {
  opacity: 1;
  transform: translateY(0);
  transition: color 0.3s ease,
              opacity 0.5s ease calc(var(--i) * 0.07s + 0.15s),
              transform 0.5s cubic-bezier(0.16, 1, 0.3, 1) calc(var(--i) * 0.07s + 0.15s);
}

.mobile-menu__link:hover,
.mobile-menu__link:focus {
  color: var(--accent);
}

.mobile-menu__link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-ai));
  border-radius: 2px;
  transition: width 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-menu__link:hover::after {
  width: 100%;
}

.mobile-menu__footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  transform: translateY(20px);
}

.mobile-menu.open .mobile-menu__footer {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.5s ease calc(var(--i) * 0.06s + 0.1s),
              transform 0.5s ease calc(var(--i) * 0.06s + 0.1s);
}

.mobile-menu__contact {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s;
}

.mobile-menu__contact:hover {
  color: var(--cyan-400);
}

.mobile-menu__location {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--zinc-600);
  margin-top: 4px;
}

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

.hero__bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(39, 39, 42, 0.3) 1px, transparent 1px),
    linear-gradient(90deg, rgba(39, 39, 42, 0.3) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 20%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 20%, transparent 100%);
}

.hero__inner {
  position: relative;
  z-index: 1;
  padding-top: clamp(40px, 8vw, 80px);
  padding-bottom: clamp(40px, 8vw, 80px);
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-muted);
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: 100px;
  margin-bottom: 40px;
  background: rgba(24, 24, 27, 0.5);
}

.hero__badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green-500);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4); }
  50% { opacity: 0.8; box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
}

.hero__title {
  font-weight: 800;
  font-size: clamp(48px, 8vw, 96px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 28px;
}

.hero__title-line {
  display: block;
}

.hero__title-italic {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}

.hero__title-dot {
  color: var(--accent);
}

.hero__subtitle {
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 580px;
  margin-bottom: 40px;
}

.hero__actions {
  display: flex;
  gap: 16px;
  margin-bottom: 72px;
  flex-wrap: wrap;
}

.hero__metrics {
  display: flex;
  gap: clamp(32px, 5vw, 64px);
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

.hero__metric {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero__metric-value {
  font-weight: 800;
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1.1;
}

.hero__metric-star {
  color: var(--amber-500);
  font-size: 0.7em;
}

.hero__metric-value--text {
  font-size: clamp(22px, 3vw, 30px);
  color: var(--accent);
}

.hero__metric-label {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.hero__scroll span {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--zinc-600);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--zinc-600), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ═══════════════════════════════════════════════════
   ABOUT
   ═══════════════════════════════════════════════════ */
.about {
  padding: var(--section-py) 0;
  background: var(--bg);
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.about__content {
  max-width: 540px;
}

.about__text {
  color: var(--text-muted);
  margin-bottom: 20px;
  font-size: 17px;
}

.about__mission-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: clamp(28px, 4vw, 44px);
  position: relative;
  overflow: hidden;
}

.about__mission-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-ai));
}

.about__mission-label {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.about__mission-text {
  font-size: 18px;
  line-height: 1.75;
  color: var(--zinc-300);
  font-weight: 400;
}

/* ═══════════════════════════════════════════════════
   TECH MARQUEE
   ═══════════════════════════════════════════════════ */
.marquee {
  padding: 28px 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.marquee__track {
  display: flex;
  width: max-content;
  animation: marqueeScroll 30s linear infinite;
}

.marquee__content {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-right: 24px;
}

.marquee__item {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 500;
  color: var(--zinc-500);
  white-space: nowrap;
  letter-spacing: 0.02em;
  transition: color 0.3s;
}

.marquee:hover .marquee__item {
  color: var(--zinc-400);
}

.marquee__dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--zinc-700);
  flex-shrink: 0;
}

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.marquee:hover .marquee__track {
  animation-play-state: paused;
}

/* ═══════════════════════════════════════════════════
   WHY CHOOSE US / TRUST
   ═══════════════════════════════════════════════════ */
.trust {
  padding: var(--section-py) 0;
  background: var(--surface);
}

.trust__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.trust__card {
  position: relative;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  transition: all 0.35s ease;
  overflow: hidden;
}

.trust__card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  opacity: 0;
  transition: opacity 0.35s ease;
  background: radial-gradient(
    500px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(6, 182, 212, 0.05),
    transparent 40%
  );
}

.trust__card:hover::before {
  opacity: 1;
}

.trust__card:hover {
  border-color: var(--zinc-700);
  transform: translateY(-2px);
}

.trust__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(6, 182, 212, 0.08);
  border: 1px solid rgba(6, 182, 212, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 20px;
}

.trust__icon--ai {
  background: rgba(139, 92, 246, 0.08);
  border-color: rgba(139, 92, 246, 0.15);
  color: var(--violet-400);
}

.trust__card-title {
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
  color: var(--text);
}

.trust__card-desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-muted);
}

/* ═══════════════════════════════════════════════════
   SERVICES
   ═══════════════════════════════════════════════════ */
.services {
  padding: var(--section-py) 0;
  background: var(--surface);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  position: relative;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px;
  transition: all 0.35s ease;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  opacity: 0;
  transition: opacity 0.35s ease;
  background: radial-gradient(
    600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(6, 182, 212, 0.06),
    transparent 40%
  );
}

.service-card:hover::before {
  opacity: 1;
}

.service-card:hover {
  border-color: var(--zinc-700);
  transform: translateY(-2px);
}

.service-card--ai::before {
  background: radial-gradient(
    600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(139, 92, 246, 0.06),
    transparent 40%
  );
}

.service-card__number {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--zinc-600);
  margin-bottom: 20px;
}

.service-card__ai-badge {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 4px;
  background: rgba(139, 92, 246, 0.15);
  color: var(--violet-400);
  border: 1px solid rgba(139, 92, 246, 0.25);
  margin-bottom: 16px;
}

.service-card__title {
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.service-card__desc {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.service-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  font-family: var(--font-mono);
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 6px;
  background: var(--surface);
  color: var(--text-muted);
  border: 1px solid var(--border);
}

.tag--ai {
  background: rgba(139, 92, 246, 0.08);
  border-color: rgba(139, 92, 246, 0.2);
  color: var(--violet-400);
}

/* ═══════════════════════════════════════════════════
   PROCESS / HOW WE WORK
   ═══════════════════════════════════════════════════ */
.process {
  padding: var(--section-py) 0;
  background: var(--bg);
}

.process__timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Vertical connecting line */
.process__timeline::before {
  content: '';
  position: absolute;
  left: 23px;
  top: 40px;
  bottom: 40px;
  width: 1px;
  background: linear-gradient(to bottom, var(--accent), var(--accent-ai), var(--accent));
  opacity: 0.3;
}

.process__step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 32px;
  padding: 32px 0;
  position: relative;
}

.process__step-number {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 500;
  color: var(--accent);
  width: 48px;
  height: 48px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  transition: all 0.3s ease;
}

.process__step:hover .process__step-number {
  border-color: var(--accent);
  background: rgba(6, 182, 212, 0.08);
  box-shadow: 0 0 20px rgba(6, 182, 212, 0.15);
}

.process__step-content {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px;
  transition: all 0.35s ease;
}

.process__step:hover .process__step-content {
  border-color: var(--zinc-700);
  transform: translateX(4px);
}

.process__step-icon {
  color: var(--accent);
  margin-bottom: 16px;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(6, 182, 212, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}

.process__step-title {
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
  color: var(--text);
}

.process__step-desc {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.process__step-deliverables {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.process__step-tag {
  font-family: var(--font-mono);
  font-size: 12px;
  padding: 5px 14px;
  border-radius: 6px;
  background: var(--bg);
  color: var(--text-muted);
  border: 1px solid var(--border);
}

/* ═══════════════════════════════════════════════════
   CONTACT
   ═══════════════════════════════════════════════════ */
.contact {
  padding: var(--section-py) 0;
  background: var(--surface);
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact__text {
  font-size: 17px;
  color: var(--text-muted);
  margin-bottom: 36px;
}

.contact__details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact__detail {
  display: flex;
  flex-direction: column;
  gap: 2px;
  transition: color 0.2s;
}

a.contact__detail:hover .contact__detail-value {
  color: var(--accent);
}

.contact__detail-label {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--zinc-500);
}

.contact__detail-value {
  font-size: 17px;
  font-weight: 500;
  color: var(--text);
  transition: color 0.2s;
}

/* Form */
.contact__form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--zinc-300);
}

.form-input {
  font-family: var(--font-sans);
  font-size: 15px;
  padding: 12px 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s;
}

.form-input::placeholder {
  color: var(--zinc-600);
}

.form-input:focus {
  border-color: var(--accent);
}

.form-textarea {
  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' fill='%2371717A' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 6l3.5 4 3.5-4z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}

/* ═══════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════ */
.footer {
  padding: 48px 0 40px;
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}

.footer__tagline {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--zinc-500);
  margin-top: 6px;
}

.footer__links {
  display: flex;
  gap: 32px;
}

.footer__links a {
  font-size: 14px;
  color: var(--text-muted);
  transition: color 0.2s;
}

.footer__links a:hover {
  color: var(--text);
}

.footer__bottom p {
  font-size: 13px;
  color: var(--zinc-600);
}

/* ═══════════════════════════════════════════════════
   REVEAL ANIMATIONS
   ═══════════════════════════════════════════════════ */
/* Active nav link */
.nav__link--active {
  color: var(--text);
}

/* Section fade-in */
.about,
.trust,
.services,
.process,
.contact {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.about.section-visible,
.trust.section-visible,
.services.section-visible,
.process.section-visible,
.contact.section-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Card reveal stagger */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Hero entrance */
.hero__badge,
.hero__title,
.hero__subtitle,
.hero__actions,
.hero__metrics {
  animation: heroFadeUp 0.8s ease both;
}

.hero__badge     { animation-delay: 0.1s; }
.hero__title     { animation-delay: 0.25s; }
.hero__subtitle  { animation-delay: 0.4s; }
.hero__actions   { animation-delay: 0.55s; }
.hero__metrics   { animation-delay: 0.7s; }

@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Page load curtain */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 9999;
  pointer-events: none;
  animation: pageCurtain 0.6s ease 0.1s forwards;
}

@keyframes pageCurtain {
  to {
    opacity: 0;
    visibility: hidden;
  }
}

/* Smooth gradient divider for sections */
.marquee,
.trust,
.services,
.contact {
  position: relative;
}

/* Nav gradient accent line */
.nav::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), var(--accent-ai), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.nav--scrolled::after {
  opacity: 0.4;
}

/* ═══════════════════════════════════════════════════
   SLEEK ANIMATIONS
   ═══════════════════════════════════════════════════ */

/* Floating glow orb behind hero */
.hero::after {
  content: '';
  position: absolute;
  width: clamp(300px, 50vw, 600px);
  height: clamp(300px, 50vw, 600px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.08) 0%, transparent 70%);
  top: 20%;
  right: -10%;
  animation: floatOrb 8s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

@keyframes floatOrb {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-30px, 20px) scale(1.05); }
  66% { transform: translate(20px, -15px) scale(0.95); }
}

/* Section label slide-in */
.section-label {
  position: relative;
  overflow: hidden;
}

.section-visible .section-label {
  animation: labelSlideIn 0.6s ease both;
}

@keyframes labelSlideIn {
  from { transform: translateX(-20px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* Section title word reveal */
.section-visible .section-title {
  animation: titleReveal 0.7s ease 0.15s both;
}

@keyframes titleReveal {
  from { transform: translateY(15px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* Shimmer effect on CTA button */
.btn--primary {
  position: relative;
  overflow: hidden;
}

.btn--primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  animation: btnShimmer 3s ease-in-out infinite;
}

@keyframes btnShimmer {
  0% { left: -100%; }
  50%, 100% { left: 150%; }
}

/* Marquee fade edges */
.marquee::before,
.marquee::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100px;
  z-index: 2;
  pointer-events: none;
}

.marquee::before {
  left: 0;
  background: linear-gradient(to right, var(--surface), transparent);
}

.marquee::after {
  right: 0;
  background: linear-gradient(to left, var(--surface), transparent);
}

/* Service card number glow on hover */
.service-card:hover .service-card__number {
  color: var(--accent);
  transition: color 0.3s;
}

.service-card--ai:hover .service-card__number {
  color: var(--violet-400);
}

/* Process step connecting pulse */
.process__step-number::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 14px;
  border: 1px solid var(--accent);
  opacity: 0;
  transition: opacity 0.3s;
}

.process__step:hover .process__step-number::after {
  opacity: 0.4;
  animation: stepPulse 1.5s ease-in-out infinite;
}

@keyframes stepPulse {
  0%, 100% { transform: scale(1); opacity: 0.4; }
  50% { transform: scale(1.15); opacity: 0; }
}

/* Trust icon float on hover */
.trust__card:hover .trust__icon {
  transform: translateY(-3px);
  transition: transform 0.3s ease;
}

/* Form input focus glow */
.form-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.1);
}

/* Footer logo hover */
.footer .nav__logo:hover .nav__logo-code {
  text-shadow: 0 0 20px rgba(6, 182, 212, 0.4);
  transition: text-shadow 0.3s;
}

/* Smooth scroll indicator pulse */
.hero__scroll-line {
  background: linear-gradient(to bottom, var(--accent), transparent);
}

/* About mission card shimmer border */
.about__mission-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-ai), var(--accent));
  background-size: 200% 100%;
  animation: gradientShift 4s ease-in-out infinite;
}

.about__mission-card::before {
  background: linear-gradient(90deg, var(--accent), var(--accent-ai));
  background-size: 200% 100%;
  animation: gradientShift 4s ease-in-out infinite;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* ═══════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════ */

/* Tablet */
@media (max-width: 1024px) {
  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile */
@media (max-width: 768px) {
  .nav__links-desktop {
    display: none;
  }

  .nav__toggle {
    display: flex;
  }

  .hero__title {
    font-size: clamp(40px, 10vw, 64px);
  }

  .hero__metrics {
    flex-direction: column;
    gap: 24px;
  }

  .hero__scroll {
    display: none;
  }

  .about__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .services__grid {
    grid-template-columns: 1fr;
  }

  .trust__grid {
    grid-template-columns: 1fr;
  }

  .process__step {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .process__timeline::before {
    display: none;
  }

  .process__step-number {
    width: 40px;
    height: 40px;
    font-size: 13px;
  }

  .contact__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .project-card__stats {
    flex-wrap: wrap;
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .hero__actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }
}
