/* ═══════════════════════════════════════════════════════════════
   AI ANALYTICS — Dark AI Startup Theme
   Inspired by Ashfall Studio / Series Eight aesthetics
   ═══════════════════════════════════════════════════════════════ */

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

:root {
  --bg:          #050510;
  --bg-elevated: #0a0a1a;
  --bg-card:     rgba(255, 255, 255, 0.03);
  --bg-card-hover: rgba(255, 255, 255, 0.06);
  --border:      rgba(255, 255, 255, 0.06);
  --border-hover: rgba(255, 255, 255, 0.12);
  --text:        #e2e8f0;
  --text-muted:  #64748b;
  --text-dim:    #475569;
  --white:       #f8fafc;

  --accent-1:    #6366f1;   /* indigo */
  --accent-2:    #8b5cf6;   /* violet */
  --accent-3:    #06b6d4;   /* cyan   */
  --accent-4:    #22d3ee;   /* light cyan */

  --gradient:    linear-gradient(135deg, var(--accent-1), var(--accent-2), var(--accent-3));
  --gradient-text: linear-gradient(135deg, var(--accent-2), var(--accent-3), var(--accent-4));

  --font-body:   'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display:'Space Grotesk', 'Inter', sans-serif;
  --font-mono:   'JetBrains Mono', 'Fira Code', monospace;

  --ease:        cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out:    cubic-bezier(0.33, 1, 0.68, 1);

  --container:   1280px;
  --gap:         clamp(1rem, 3vw, 2rem);
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

::selection {
  background: var(--accent-2);
  color: var(--white);
}

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

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

/* ── UTILITIES ───────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 5vw, 3rem);
}

.gradient-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── REVEAL ANIMATIONS ───────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

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

/* stagger children */
.reveal:nth-child(2) { transition-delay: 0.08s; }
.reveal:nth-child(3) { transition-delay: 0.16s; }
.reveal:nth-child(4) { transition-delay: 0.24s; }
.reveal:nth-child(5) { transition-delay: 0.32s; }
.reveal:nth-child(6) { transition-delay: 0.40s; }
.reveal:nth-child(7) { transition-delay: 0.48s; }
.reveal:nth-child(8) { transition-delay: 0.56s; }

/* ── NAVIGATION ──────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.25rem 0;
  transition: all 0.4s var(--ease);
}

.nav.scrolled {
  padding: 0.75rem 0;
  background: rgba(5, 5, 16, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
}

.nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 5vw, 3rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
}

.nav__logo-icon {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 1.25rem;
}

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

.nav__link {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color 0.3s ease;
  letter-spacing: 0.01em;
}

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

.nav__link--cta {
  padding: 0.5rem 1.25rem;
  border: 1px solid var(--border-hover);
  border-radius: 100px;
  color: var(--white);
  transition: all 0.3s ease;
}

.nav__link--cta:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--accent-3);
}

/* Language Switcher */
.lang-switcher {
  position: relative;
  z-index: 1002;
}

.lang-switcher__btn {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.375rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 100px;
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: all 0.3s ease;
}

.lang-switcher__btn:hover {
  color: var(--white);
  border-color: var(--border-hover);
}

.lang-switcher__arrow {
  font-size: 0.625rem;
  opacity: 0.6;
}

.lang-switcher__dropdown {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  display: none;
  flex-direction: column;
  min-width: 120px;
  padding: 0.375rem;
  background: rgba(10, 10, 26, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.lang-switcher__dropdown.open {
  display: flex;
}

.lang-switcher__option {
  padding: 0.5rem 0.75rem;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 0.8125rem;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lang-switcher__option:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--white);
}

.lang-switcher__option--active {
  color: var(--accent-3);
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

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

/* ── HERO ────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 8rem 0 4rem;
}

.hero__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.35;
  animation: float 20s ease-in-out infinite;
}

.hero__orb--1 {
  width: 600px;
  height: 600px;
  background: var(--accent-1);
  top: -15%;
  right: -10%;
  animation-delay: 0s;
}

.hero__orb--2 {
  width: 500px;
  height: 500px;
  background: var(--accent-3);
  bottom: -20%;
  left: -15%;
  animation-delay: -7s;
}

.hero__orb--3 {
  width: 400px;
  height: 400px;
  background: var(--accent-2);
  top: 40%;
  left: 50%;
  animation-delay: -14s;
}

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

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 30%, transparent 100%);
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 5vw, 3rem);
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.5rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.8125rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-family: var(--font-mono);
  margin-bottom: 2.5rem;
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(10px);
}

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

@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(6, 182, 212, 0.4); }
  50%      { opacity: 0.6; box-shadow: 0 0 0 8px rgba(6, 182, 212, 0); }
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 7vw, 5.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 1.75rem;
  color: var(--white);
}

.hero__subtitle {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 4rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  border-radius: 100px;
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: all 0.3s var(--ease);
  cursor: pointer;
  border: none;
  font-family: var(--font-body);
}

.btn--primary {
  background: var(--gradient);
  color: var(--white);
  box-shadow: 0 0 30px rgba(99, 102, 241, 0.25);
}

.btn--primary:hover {
  box-shadow: 0 0 50px rgba(99, 102, 241, 0.4);
  transform: translateY(-2px);
}

.btn--ghost {
  border: 1px solid var(--border-hover);
  color: var(--text);
  background: transparent;
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--accent-3);
  color: var(--white);
}

.btn--large {
  padding: 1rem 2.5rem;
  font-size: 1.0625rem;
}

/* Hero stats */
.hero__stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.hero__stat {
  text-align: center;
}

.hero__stat-number {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--white);
}

.hero__stat-label {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
  letter-spacing: 0.02em;
}

.hero__stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  z-index: 2;
}

.hero__scroll span {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-dim);
  font-family: var(--font-mono);
}

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

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

/* ── MARQUEE ─────────────────────────────────────────────────── */
.marquee {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 0;
  overflow: hidden;
  background: var(--bg-elevated);
}

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

.marquee__content {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  padding-right: 2.5rem;
  white-space: nowrap;
}

.marquee__content span {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.marquee__dot {
  font-size: 0.5rem;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── SECTIONS ────────────────────────────────────────────────── */
.section {
  position: relative;
  padding: clamp(5rem, 10vw, 8rem) 0;
}

.section__header {
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.section__tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-3);
  margin-bottom: 1.25rem;
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--white);
}

.section__subtitle {
  font-size: 1.0625rem;
  color: var(--text-muted);
  margin-top: 1.25rem;
  max-width: 560px;
  line-height: 1.7;
}

/* ── ABOUT ───────────────────────────────────────────────────── */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}

.about__lead {
  font-size: 1.1875rem;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 1.5rem;
}

.about__text p {
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  line-height: 1.75;
}

.about__bento {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.bento-card {
  padding: 1.75rem;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--bg-card);
  transition: all 0.4s var(--ease);
}

.bento-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-4px);
}

.bento-card--accent {
  border-color: rgba(99, 102, 241, 0.2);
  background: rgba(99, 102, 241, 0.04);
}

.bento-card--accent:hover {
  border-color: rgba(99, 102, 241, 0.35);
  background: rgba(99, 102, 241, 0.08);
}

.bento-card__icon {
  display: block;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.bento-card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.35;
  margin-bottom: 0.625rem;
}

.bento-card p {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── SERVICES ────────────────────────────────────────────────── */
.services {
  background: var(--bg-elevated);
}

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

.service-card {
  padding: 2.25rem;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--bg-card);
  transition: all 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gradient);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.service-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-4px);
}

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

.service-card--large {
  grid-column: span 2;
}

.service-card__number {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-3);
  letter-spacing: 0.08em;
  margin-bottom: 1.25rem;
}

.service-card__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.875rem;
  letter-spacing: -0.01em;
}

.service-card__desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.service-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.service-card__tags span {
  padding: 0.3125rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.6875rem;
  font-family: var(--font-mono);
  color: var(--text-dim);
  letter-spacing: 0.02em;
}

/* ── SOLUTIONS ───────────────────────────────────────────────── */
.solutions__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.solution-card {
  padding: 2.5rem;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--bg-card);
  transition: all 0.5s var(--ease);
  position: relative;
}

.solution-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-6px);
}

.solution-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.solution-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(99, 102, 241, 0.08);
  border: 1px solid rgba(99, 102, 241, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.solution-card__icon svg {
  width: 24px;
  height: 24px;
  color: var(--accent-3);
}

.solution-card__label {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  padding: 0.25rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 100px;
}

.solution-card__title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 0.375rem;
}

.solution-card__tagline {
  font-size: 0.9375rem;
  color: var(--accent-3);
  margin-bottom: 1.25rem;
  font-weight: 500;
}

.solution-card__desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.solution-card__features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.solution-card__features li {
  font-size: 0.8125rem;
  color: var(--text-muted);
  padding-left: 1.25rem;
  position: relative;
}

.solution-card__features li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent-3);
  font-family: var(--font-mono);
}

/* ── IMPACT ──────────────────────────────────────────────────── */
.impact {
  position: relative;
  overflow: hidden;
}

.impact__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  opacity: 0.4;
}

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

.impact__card {
  padding: 2.5rem;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(10px);
  text-align: center;
  transition: all 0.4s var(--ease);
}

.impact__card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
}

.impact__number {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--white);
  display: inline;
  line-height: 1;
}

.impact__suffix {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 700;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline;
}

.impact__label {
  display: block;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
  line-height: 1.5;
}

/* ── METHODOLOGY ─────────────────────────────────────────────── */
.method {
  background: var(--bg-elevated);
}

.method__pipeline {
  max-width: 800px;
  margin: 0 auto;
}

.method__step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2rem;
  align-items: start;
}

.method__step-number {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-3);
  padding: 0.75rem 1.25rem;
  border: 1px solid rgba(6, 182, 212, 0.2);
  border-radius: 100px;
  background: rgba(6, 182, 212, 0.05);
  white-space: nowrap;
}

.method__step-content h3 {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.875rem;
  letter-spacing: -0.01em;
}

.method__step-content p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

.method__step-tech {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--text-dim);
  line-height: 1.7;
  padding: 1rem 1.5rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.method__step-tech code {
  color: var(--accent-3);
  font-weight: 500;
}

.method__connector {
  display: flex;
  justify-content: center;
  padding: 1.5rem 0;
}

.method__connector svg {
  width: 24px;
  height: 48px;
  color: var(--accent-3);
  opacity: 0.4;
}

/* ── CASES ───────────────────────────────────────────────────── */
.cases__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.case-card {
  padding: 2.25rem;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--bg-card);
  transition: all 0.4s var(--ease);
}

.case-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-4px);
}

.case-card__sector {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 1rem;
}

.case-card h3 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.case-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ── PHILOSOPHY ──────────────────────────────────────────────── */
.philosophy {
  background: var(--bg-elevated);
}

.philosophy__layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: start;
}

.philosophy__items {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.philosophy__item {
  display: flex;
  gap: 1.5rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--border);
  transition: all 0.3s ease;
}

.philosophy__item:first-child {
  padding-top: 0;
}

.philosophy__item:last-child {
  border-bottom: none;
}

.philosophy__num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-3);
  padding-top: 0.25rem;
  flex-shrink: 0;
}

.philosophy__item h3 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.philosophy__item p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ── CONTACT ─────────────────────────────────────────────────── */
.contact {
  position: relative;
  overflow: hidden;
  text-align: center;
}

.contact__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  opacity: 0.3;
}

.contact__content {
  position: relative;
  z-index: 2;
}

.contact__title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-top: 1.25rem;
  margin-bottom: 1.25rem;
}

.contact__desc {
  font-size: 1.0625rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.contact__actions {
  margin-bottom: 3.5rem;
}

.contact__details {
  display: flex;
  justify-content: center;
  gap: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.contact__detail {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.contact__detail-label {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.contact__detail span:last-child {
  font-size: 0.9375rem;
  color: var(--text);
}

/* ── FOOTER ──────────────────────────────────────────────────── */
.footer {
  padding: 3rem 0;
  border-top: 1px solid var(--border);
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.footer__tagline {
  font-size: 0.8125rem;
  color: var(--text-dim);
  margin-left: 1.25rem;
  padding-left: 1.25rem;
  border-left: 1px solid var(--border);
}

.footer__links {
  display: flex;
  gap: 1.75rem;
}

.footer__links a {
  font-size: 0.8125rem;
  color: var(--text-muted);
  transition: color 0.3s ease;
}

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

.footer__copy {
  font-size: 0.75rem;
  color: var(--text-dim);
}

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .services__bento {
    grid-template-columns: repeat(2, 1fr);
  }
  .service-card--large {
    grid-column: span 2;
  }
  .solutions__grid {
    grid-template-columns: 1fr;
  }
  .philosophy__layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav__links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(5, 5, 16, 0.97);
    backdrop-filter: blur(30px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    z-index: 999;
  }

  .nav__links.open {
    display: flex;
  }

  .nav__link {
    font-size: 1.25rem;
  }

  .nav__toggle {
    display: flex;
    z-index: 1001;
  }

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

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

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

  .service-card--large {
    grid-column: span 1;
  }

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

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

  .hero__stats {
    flex-direction: column;
    gap: 1.25rem;
  }

  .hero__stat-divider {
    width: 40px;
    height: 1px;
  }

  .contact__details {
    flex-direction: column;
    gap: 1.25rem;
    align-items: center;
  }

  .footer__inner {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }

  .footer__brand {
    flex-direction: column;
  }

  .footer__tagline {
    margin-left: 0;
    padding-left: 0;
    border-left: none;
  }

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

@media (max-width: 480px) {
  .impact__grid {
    grid-template-columns: 1fr;
  }

  .hero__title {
    font-size: 2.25rem;
  }

  .hero__badge {
    font-size: 0.6875rem;
  }
}
