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

:root {
  --bg: #0B1120;
  --bg-card: #111827;
  --bg-card-hover: #1a2436;
  --fg: #f0f4f8;
  --fg-muted: #8899aa;
  --accent: #00E5CC;
  --accent-dim: rgba(0, 229, 204, 0.12);
  --accent-border: rgba(0, 229, 204, 0.25);
  --font-head: 'Space Grotesk', 'Arial', sans-serif;
  --font-body: 'DM Sans', 'Helvetica Neue', sans-serif;
}

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

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* === NAV === */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 48px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(11, 17, 32, 0.7);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
  color: var(--fg);
}

.nav__tagline {
  font-size: 0.8rem;
  color: var(--fg-muted);
  font-weight: 400;
  letter-spacing: 0.02em;
}

.nav__right {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav__link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--fg-muted);
  text-decoration: none;
  transition: color 0.2s;
  font-family: var(--font-body);
}

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

.nav__link--active {
  color: var(--accent);
}

/* === HERO === */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 48px 80px;
  position: relative;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

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

.hero__ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(0, 229, 204, 0.12);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.hero__ring--1 { width: 500px; height: 500px; animation: spin 40s linear infinite; }
.hero__ring--2 { width: 800px; height: 800px; border-style: dashed; animation: spin 70s linear infinite reverse; }
.hero__ring--3 { width: 1100px; height: 1100px; border-color: rgba(0, 229, 204, 0.05); animation: spin 110s linear infinite; }

.hero__node {
  position: absolute;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 20px rgba(0, 229, 204, 0.4);
  animation: float 6s ease-in-out infinite;
}
.hero__node--1 { width: 10px; height: 10px; top: 28%; left: 55%; animation-delay: 0s; }
.hero__node--2 { width: 6px; height: 6px; top: 60%; left: 42%; animation-delay: 2s; }
.hero__node--3 { width: 8px; height: 8px; top: 45%; left: 68%; animation-delay: 4s; }

@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 820px;
  width: 100%;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-dim);
  border: 1px solid var(--accent-border);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.04em;
  margin-bottom: 36px;
}

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

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero__headline {
  font-family: var(--font-head);
  font-size: clamp(3.5rem, 8vw, 6.5rem);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.04em;
  color: var(--fg);
  margin-bottom: 28px;
}

.hero__headline-accent {
  background: linear-gradient(135deg, #00E5CC 0%, #00b8a3 50%, #00d4b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__sub {
  font-size: 1.25rem;
  color: var(--fg-muted);
  font-weight: 300;
  max-width: 540px;
  margin: 0 auto 56px;
  line-height: 1.7;
}

.hero__metrics {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  background: rgba(17, 24, 39, 0.8);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  padding: 0;
  overflow: hidden;
  backdrop-filter: blur(8px);
}

.hero__metric {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 40px;
}

.hero__metric-value {
  font-family: var(--font-head);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.03em;
}

.hero__metric-label {
  font-size: 0.72rem;
  color: var(--fg-muted);
  margin-top: 4px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.hero__metric-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.08);
}

/* === CAPABILITIES === */
.caps {
  padding: 100px 48px;
  max-width: 1200px;
  margin: 0 auto;
}

.caps__header {
  margin-bottom: 64px;
}

.caps__eyebrow {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 16px;
}

.caps__title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--fg);
  line-height: 1.15;
}

.caps__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.caps__card {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 20px;
  padding: 36px;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
  position: relative;
  overflow: hidden;
}

.caps__card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 229, 204, 0.3), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

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

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

.caps__card-icon {
  margin-bottom: 24px;
  opacity: 0.9;
}

.caps__card-title {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.caps__card-body {
  font-size: 0.95rem;
  color: var(--fg-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

.caps__card-stat {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--accent);
  opacity: 0.8;
  letter-spacing: 0.02em;
  background: var(--accent-dim);
  border: 1px solid var(--accent-border);
  display: inline-block;
  padding: 4px 12px;
  border-radius: 100px;
}

/* === MANIFESTO === */
.manifesto {
  padding: 80px 48px;
  position: relative;
  overflow: hidden;
}

.manifesto::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(0, 229, 204, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

.manifesto__inner {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

.manifesto__quote-mark {
  font-family: var(--font-head);
  font-size: 8rem;
  color: var(--accent);
  opacity: 0.2;
  line-height: 0.5;
  margin-bottom: 24px;
}

.manifesto__text {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 500;
  color: var(--fg);
  line-height: 1.4;
  letter-spacing: -0.02em;
  margin-bottom: 48px;
}

.manifesto__client {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.manifesto__avatars {
  display: flex;
  gap: 0;
}

.manifesto__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--bg);
  margin-left: -8px;
  border: 2px solid var(--bg);
}
.manifesto__avatar:first-child { margin-left: 0; }
.manifesto__avatar--toyota { background: #cc092f; }
.manifesto__avatar--coke { background: #f40009; }
.manifesto__avatar--lexus { background: #1a1a1a; color: #fff; }

.manifesto__client-label {
  font-size: 0.85rem;
  color: var(--fg-muted);
  max-width: 420px;
}

/* === CLOSING === */
.closing {
  padding: 100px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.closing__orb {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 229, 204, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.closing__content {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto;
}

.closing__title {
  font-family: var(--font-head);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--fg);
  margin-bottom: 24px;
  line-height: 1.05;
}

.closing__body {
  font-size: 1.1rem;
  color: var(--fg-muted);
  line-height: 1.7;
  font-weight: 300;
}

/* === FOOTER === */
.footer {
  padding: 40px 48px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--fg);
}

.footer__sub {
  font-size: 0.8rem;
  color: var(--fg-muted);
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .nav { padding: 20px 24px; }
  .nav__tagline { display: none; }
  .hero { padding: 100px 24px 60px; }
  .hero__headline { font-size: clamp(2.5rem, 12vw, 4rem); }
  .hero__metrics { flex-direction: column; }
  .hero__metric-divider { width: 40px; height: 1px; }
  .caps { padding: 60px 24px; }
  .caps__grid { grid-template-columns: 1fr; }
  .manifesto { padding: 60px 24px; }
  .closing { padding: 60px 24px; }
  .footer { padding: 32px 24px; flex-direction: column; }
}