/* =============================================
   KOLOGIC AI — Light Theme (Retell AI Inspired)
   Clean · Bold · Premium · Enterprise
   ============================================= */

:root {
  --bg: #ffffff;
  --bg-alt: #f7f8fb;
  --bg-card: #ffffff;
  --surface: #f3f4f6;
  --border: #e5e7eb;
  --border-dark: #d1d5db;
  --text-primary: #0a0a0f;
  --text-secondary: #374151;
  --text-muted: #6b7280;
  --text-faint: #9ca3af;
  --accent: #111827;
  --blue: #3b82f6;
  --violet: #7c3aed;
  --cyan: #06b6d4;
  --pink: #ec4899;
  --orange: #f97316;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --font-main: 'Inter', sans-serif;
  --font-display: 'Space Grotesk', sans-serif;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08), 0 2px 6px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.1), 0 4px 12px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 24px 60px rgba(0, 0, 0, 0.12);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

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

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

ul {
  list-style: none;
}

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

/* ── Particle canvas (unused, kept for future) ── */
#particle-canvas {
  display: none;
}

/* ── Gradient text ── */
.gradient-text {
  background: linear-gradient(100deg, #3b82f6 0%, #7c3aed 35%, #a855f7 60%, #f97316 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Buttons ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  background: var(--text-primary);
  color: #fff;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.08);
  opacity: 0;
  transition: opacity 0.2s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover::after {
  opacity: 1;
}

.btn-primary span,
.btn-primary svg {
  position: relative;
  z-index: 1;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border: 1.5px solid var(--border-dark);
  color: var(--text-secondary);
  border-radius: 10px;
  font-weight: 500;
  font-size: 0.92rem;
  cursor: pointer;
  background: transparent;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-secondary:hover {
  border-color: var(--text-primary);
  color: var(--text-primary);
  background: var(--surface);
  transform: translateY(-2px);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border: 1.5px solid var(--border);
  color: var(--text-secondary);
  border-radius: 10px;
  font-weight: 500;
  font-size: 0.92rem;
  cursor: pointer;
  background: transparent;
  transition: var(--transition);
}

.btn-ghost:hover {
  border-color: var(--text-secondary);
  background: var(--surface);
}

.play-icon {
  font-size: 0.65rem;
}

.btn-large {
  padding: 16px 34px;
  font-size: 1rem;
  border-radius: 12px;
}

/* ── Typography ── */
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.section-eyebrow::before {
  content: '';
  display: block;
  width: 16px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.8vw, 2.9rem);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.022em;
  color: var(--text-primary);
}

.section-sub {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.75;
  max-width: 540px;
  margin-top: 1rem;
}

.section-header {
  margin-bottom: 3.5rem;
}

.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  padding: 6rem 0;
  position: relative;
  z-index: 1;
}

/* ── Reveal ── */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* =============================================
   NAVBAR
   ============================================= */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}

#navbar.scrolled {
  border-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  height: 64px;
  gap: 2rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  flex-shrink: 0;
}

.logo-mark {
  color: var(--text-primary);
}

.logo-text {
  color: var(--text-primary);
}

.logo-badge {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--blue);
  border: 1.5px solid var(--blue);
  border-radius: 4px;
  padding: 1px 5px;
  margin-left: 7px;
  margin-bottom: 10px;
  align-self: flex-end;
  opacity: 0.85;
}

.nav-links {
  display: flex;
  align-items: center;
  margin-left: auto;
}

.nav-links li a {
  padding: 6px 14px;
  font-size: 0.88rem;
  color: var(--text-secondary);
  font-weight: 500;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}

.nav-links li a:hover {
  color: var(--text-primary);
  background: var(--surface);
}

.nav-links li a.active {
  color: var(--text-primary);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  margin-left: 1rem;
}

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

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}

/* Mobile Nav */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.98);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.mobile-nav.open {
  opacity: 1;
  pointer-events: all;
}

.mobile-nav ul {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.mobile-nav-link {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: color 0.2s;
}

.mobile-nav-link:hover {
  color: var(--text-primary);
}

.mobile-cta {
  margin-top: 1rem;
}

/* =============================================
   HERO
   ============================================= */
#hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 8rem 2rem 4rem;
  background: #fff;
  text-align: center;
}

/* Wave / ribbon visual */
.hero-wave-wrap {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.hero-wave-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

/* Soft radial background hints */
.hero-bg-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 50% 30%, rgba(167, 139, 250, 0.07) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 80% 10%, rgba(59, 130, 246, 0.05) 0%, transparent 50%),
    radial-gradient(ellipse 40% 40% at 15% 80%, rgba(249, 115, 22, 0.04) 0%, transparent 50%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 50px;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  animation: fadeInDown 0.7s ease both;
}

.badge-dot {
  width: 6px;
  height: 6px;
  background: var(--blue);
  border-radius: 50%;
  animation: pulseDot 2s ease-in-out infinite;
}

@keyframes pulseDot {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.3;
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-14px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6.5vw, 5.6rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.8s 0.1s ease both;
}

.hero-sub {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 520px;
  margin: 0 auto 2.5rem;
  animation: fadeInUp 0.8s 0.2s ease both;
}

.hero-ctas {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s 0.3s ease both;
  margin-bottom: 3.5rem;
}

/* Hero trusted strip inside hero */
.hero-trusted {
  animation: fadeInUp 0.8s 0.45s ease both;
}

.trusted-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 1.2rem;
}

.trusted-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.trusted-logo {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-faint);
  letter-spacing: -0.01em;
  opacity: 0.65;
  transition: opacity 0.2s;
  font-family: var(--font-display);
  white-space: nowrap;
}

.trusted-logo:hover {
  opacity: 1;
}

/* Hero stats below */
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
  animation: fadeInUp 0.8s 0.5s ease both;
}

.hero-stat {
  text-align: center;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-primary);
  display: inline;
}

.stat-suffix {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--blue);
}

.stat-label {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.hero-stat-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
}

/* scroll cue */
.scroll-cue {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 0.68rem;
  color: var(--text-faint);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: scrollFade 2s ease-in-out infinite;
  z-index: 2;
}

.scroll-cue-line {
  width: 1px;
  height: 32px;
  background: linear-gradient(to bottom, transparent, var(--text-faint));
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollFade {

  0%,
  100% {
    opacity: 0.3;
  }

  50% {
    opacity: 0.9;
  }
}

@keyframes scrollLine {
  0% {
    transform: scaleY(0);
    transform-origin: top;
  }

  50% {
    transform: scaleY(1);
  }

  100% {
    transform: scaleY(0);
    transform-origin: bottom;
  }
}

/* =============================================
   TRUST STRIP
   ============================================= */
#trust-strip {
  padding: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  position: relative;
  z-index: 1;
}

.trust-strip-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
}

.trust-card {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
  padding: 1.8rem 2rem;
  border-right: 1px solid var(--border);
  transition: background 0.25s;
}

.trust-card:last-child {
  border-right: none;
}

.trust-card:hover {
  background: var(--surface);
}

.trust-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.trust-num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
  display: inline;
}

.trust-suf {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--blue);
}

.trust-label {
  display: block;
  font-size: 0.73rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* =============================================
   WHAT WE DO — BENTO
   ============================================= */
#what-we-do {
  background: var(--bg-alt);
}

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

.bento-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.3s, transform 0.3s, border-color 0.3s;
  cursor: default;
}

.bento-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
  border-color: var(--border-dark);
}

.bento-large {
  grid-column: span 2;
}

.bento-full {
  grid-column: span 3;
  display: flex;
  gap: 3rem;
  align-items: center;
}

.bento-glow {
  display: none;
}

.bento-icon-wrap {
  margin-bottom: 1.5rem;
}

.bento-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
}

.bento-icon svg path,
.bento-icon svg circle,
.bento-icon svg rect,
.bento-icon svg ellipse {
  stroke: var(--text-secondary) !important;
}

.bento-tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.bento-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  color: var(--text-primary);
}

.bento-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.2rem;
}

.bento-features {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 1.5rem;
}

.bento-features span {
  padding: 4px 11px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 50px;
  font-size: 0.73rem;
  color: var(--text-secondary);
}

.bento-cta {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  transition: color 0.2s;
}

.bento-cta:hover {
  color: var(--text-primary);
}

/* AIOS preview */
.aios-left {
  flex: 1;
}

.aios-right {
  flex: 0 0 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.aios-diagram {
  position: relative;
  width: 240px;
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.aios-core {
  position: relative;
  z-index: 5;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.85rem;
  color: #fff;
  letter-spacing: 0.05em;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.aios-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--border);
  animation: ringRotate 20s linear infinite;
}

@keyframes ringRotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.aios-ring-a {
  width: 180px;
  height: 180px;
  animation-duration: 20s;
}

.aios-ring-b {
  width: 230px;
  height: 230px;
  animation-direction: reverse;
  animation-duration: 30s;
}

.aios-orbit {
  position: absolute;
  width: 100%;
  height: 100%;
  animation: ringRotate 15s linear infinite;
}

.aios-orbit-2 {
  animation-duration: 20s;
  animation-direction: reverse;
}

.aios-orbit-3 {
  animation-duration: 25s;
}

.aios-orbit-4 {
  animation-duration: 18s;
  animation-direction: reverse;
}

.aios-node {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  padding: 3px 10px;
  background: var(--bg);
  border: 1px solid var(--border-dark);
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-secondary);
  white-space: nowrap;
}

/* =============================================
   AIOS SECTION
   ============================================= */
#aios {
  background: var(--bg);
}

.aios-bg-gradient {
  display: none;
}

.aios-pillars {
  display: flex;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-sm);
}

.aios-pillar {
  flex: 1;
  padding: 2.5rem 2rem;
  border-right: 1px solid var(--border);
  transition: background 0.25s;
}

.aios-pillar:last-child {
  border-right: none;
}

.aios-pillar:hover {
  background: var(--surface);
}

.aios-pillar-center {
  background: var(--surface);
}

.pillar-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  background: var(--bg);
  border: 1px solid var(--border);
}

.pillar-infra,
.pillar-data,
.pillar-ai,
.pillar-cx {
  background: var(--bg);
  border: 1px solid var(--border);
}

.pillar-icon svg path,
.pillar-icon svg rect,
.pillar-icon svg circle,
.pillar-icon svg ellipse {
  stroke: var(--text-secondary) !important;
}

.aios-pillar h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: var(--text-primary);
}

.aios-pillar p {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.pillar-connector {
  display: none;
}

.aios-outcomes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.outcome-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s, transform 0.25s;
}

.outcome-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.outcome-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
}

.outcome-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* =============================================
   SERVICES
   ============================================= */
#services {
  background: var(--bg-alt);
}

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

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2rem;
  transition: box-shadow 0.3s, transform 0.3s, border-color 0.3s;
  position: relative;
}

.service-card::before {
  display: none;
}

.service-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: var(--border-dark);
}

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

.service-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
}

.service-icon svg path,
.service-icon svg rect,
.service-icon svg circle {
  stroke: var(--text-secondary) !important;
}

.service-card:hover .service-icon {
  background: var(--bg);
  border-color: var(--border-dark);
}

.service-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.65rem;
  color: var(--text-primary);
}

.service-desc {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.2rem;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.service-tags span {
  padding: 3px 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 50px;
  font-size: 0.7rem;
  color: var(--text-muted);
}

/* =============================================
   WHY KOLOGIC
   ============================================= */
#why-kologic {
  background: var(--bg);
}

.why-bg {
  display: none;
}

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

.why-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2rem;
  transition: box-shadow 0.25s, transform 0.25s;
}

.why-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.why-card-feature {
  grid-column: span 2;
  background: var(--text-primary);
  color: #fff;
  border-color: transparent;
}

.why-card-feature:hover {
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
}

.why-num {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--text-faint);
  margin-bottom: 0.8rem;
}

.why-card-feature .why-num {
  color: rgba(255, 255, 255, 0.4);
}

.why-icon {
  font-size: 1.4rem;
  margin-bottom: 0.8rem;
}

.why-icon-big {
  font-size: 2rem;
  margin-bottom: 0.8rem;
}

.why-card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: var(--text-primary);
}

.why-card-feature h3 {
  color: #fff;
  font-size: 1.25rem;
}

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

.why-card-feature p {
  color: rgba(255, 255, 255, 0.65);
}

/* =============================================
   KORE.AI PARTNERSHIP
   ============================================= */
#koreai {
  background: var(--bg-alt);
}

.kore-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 3.5rem 4rem;
  display: flex;
  align-items: center;
  gap: 4rem;
  box-shadow: var(--shadow-sm);
}

.kore-bg-glow {
  display: none;
}

.kore-left {
  flex: 1;
}

.kore-benefits {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-top: 1.5rem;
}

.kore-benefit {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.kb-check {
  color: var(--blue);
  font-weight: 700;
  flex-shrink: 0;
}

.kore-right {
  flex: 0 0 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.kore-diagram {
  position: relative;
  width: 280px;
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.kore-center-node {
  position: relative;
  z-index: 5;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--text-primary);
  border: 2px solid var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
}

.kore-logo-circle {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.9rem;
  color: #fff;
}

.kore-conn-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--border);
  animation: ringRotate 20s linear infinite;
}

.kore-conn-ring-1 {
  width: 180px;
  height: 180px;
}

.kore-conn-ring-2 {
  width: 260px;
  height: 260px;
  animation-direction: reverse;
  animation-duration: 28s;
}

.kore-connection {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.kore-conn-1 {
  top: 2px;
  left: 50%;
  transform: translateX(-50%);
}

.kore-conn-2 {
  right: 0;
  top: 28%;
}

.kore-conn-3 {
  bottom: 8px;
  right: 12%;
}

.kore-conn-4 {
  bottom: 8px;
  left: 12%;
}

.kore-conn-5 {
  left: 0;
  top: 28%;
}

.kore-conn-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
  animation: pulseDot 2s ease-in-out infinite;
}

.kore-conn-label {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
  background: var(--bg);
  padding: 2px 8px;
  border-radius: 50px;
  border: 1px solid var(--border);
}

/* =============================================
   INDUSTRIES
   ============================================= */
#industries {
  background: var(--bg);
}

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

.industry-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: box-shadow 0.3s, transform 0.3s;
  position: relative;
  overflow: hidden;
}

.industry-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2.5px;
  background: linear-gradient(90deg, var(--blue), var(--violet));
  transform: scaleX(0);
  transition: transform 0.35s;
  transform-origin: left;
}

.industry-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
}

.industry-card:hover::after {
  transform: scaleX(1);
}

.industry-icon {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.industry-card h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.industry-card p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 1rem;
}

.industry-list {
  text-align: left;
}

.industry-list li {
  font-size: 0.77rem;
  color: var(--text-muted);
  padding: 3px 0 3px 14px;
  position: relative;
}

.industry-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--blue);
  font-size: 0.62rem;
}

/* =============================================
   PROCESS
   ============================================= */
#process {
  background: var(--bg-alt);
}

.process-timeline {
  display: flex;
  align-items: flex-start;
  gap: 0;
  overflow-x: auto;
  padding-bottom: 1rem;
}

.process-step {
  flex: 1;
  min-width: 130px;
  text-align: center;
  padding: 0 1rem;
}

.process-step-num {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--text-faint);
  margin-bottom: 1rem;
}

.process-step-icon {
  font-size: 1.6rem;
  width: 60px;
  height: 60px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.2rem;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.process-step:hover .process-step-icon {
  border-color: var(--text-secondary);
  box-shadow: var(--shadow-sm);
}

.process-step h4 {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.process-step p {
  font-size: 0.79rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.process-connector {
  flex: 0 0 48px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2rem;
  position: relative;
}

.process-connector::before {
  content: '';
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--border-dark);
  position: absolute;
}

.process-connector::after {
  content: '›';
  position: absolute;
  right: -3px;
  color: var(--text-faint);
  font-size: 1.1rem;
}

/* =============================================
   CTA
   ============================================= */
#cta {
  background: var(--bg);
}

.cta-bg {
  display: none;
}

.cta-orb {
  display: none;
}

.cta-content {
  text-align: center;
  max-width: 660px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.cta-headline {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: 1.2rem;
  margin-top: 1rem;
  color: var(--text-primary);
}

.cta-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 2.5rem;
}

.cta-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.cta-trust {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 0.78rem;
  color: var(--text-faint);
}

/* =============================================
   FOOTER
   ============================================= */
#footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 4rem 0 2rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-logo {
  margin-bottom: 1rem;
}

.footer-desc {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 280px;
  margin-bottom: 1.5rem;
}

.footer-social {
  display: flex;
  gap: 8px;
}

.social-link {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.social-link:hover {
  border-color: var(--text-primary);
  color: var(--text-primary);
  background: var(--bg);
}

.social-link svg path {
  stroke: currentColor;
}

.footer-links-col h5 {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.footer-links-col ul {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-links-col ul li a {
  font-size: 0.86rem;
  color: var(--text-muted);
  transition: color 0.2s;
}

.footer-links-col ul li a:hover {
  color: var(--text-primary);
}

.footer-contact h5 {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.footer-email,
.footer-website {
  display: block;
  font-size: 0.9rem;
  color: var(--blue);
  margin-bottom: 0.4rem;
  transition: color 0.2s;
}

.footer-email:hover,
.footer-website:hover {
  color: var(--violet);
}

.footer-cta {
  margin-top: 1.5rem;
  font-size: 0.82rem;
  padding: 10px 20px;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem 2rem 0;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.78rem;
  color: var(--text-faint);
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a {
  color: var(--text-faint);
  transition: color 0.2s;
}

.footer-bottom-links a:hover {
  color: var(--text-secondary);
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1100px) {
  .bento-grid {
    grid-template-columns: 1fr 1fr;
  }

  .bento-large {
    grid-column: span 2;
  }

  .bento-full {
    grid-column: span 2;
    flex-direction: column;
  }

  .aios-right {
    flex: none;
    width: 100%;
    justify-content: center;
  }

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

  .why-card-feature {
    grid-column: span 2;
  }

  .industry-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-container {
    grid-template-columns: 1fr 1fr 1fr;
  }

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

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

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .nav-cta {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .kore-card {
    flex-direction: column;
    padding: 2.5rem;
    gap: 2rem;
  }

  .kore-right {
    flex: none;
  }

  .trust-strip-inner {
    flex-wrap: wrap;
  }

  .trust-card {
    min-width: 45%;
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
  }
}

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

  .bento-large,
  .bento-full {
    grid-column: span 1;
  }

  .bento-full {
    flex-direction: column;
  }

  .aios-pillars {
    flex-direction: column;
  }

  .aios-pillar {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .aios-pillar:last-child {
    border-bottom: none;
  }

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

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

  .why-card-feature {
    grid-column: span 1;
  }

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

  .process-timeline {
    flex-direction: column;
    align-items: center;
  }

  .process-connector {
    width: 60px;
    height: 36px;
    flex: none;
    transform: rotate(90deg);
    margin: 0;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  section {
    padding: 4rem 0;
  }

  .section-header {
    margin-bottom: 2.5rem;
  }

  .hero-stats {
    gap: 1.5rem;
  }
}

@media (max-width: 480px) {
  .hero-headline {
    font-size: 2.6rem;
  }

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

  .aios-outcomes {
    grid-template-columns: 1fr 1fr;
  }

  .cta-trust {
    gap: 1rem;
    flex-direction: column;
    align-items: center;
  }

  .trust-card {
    min-width: 100%;
  }
}