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

:root {
  --bg: #0a0a0f;
  --bg-2: #0f0f18;
  --surface: #14141f;
  --border: rgba(245, 158, 11, 0.12);
  --accent: #f59e0b;
  --accent-dim: rgba(245, 158, 11, 0.15);
  --accent-glow: rgba(245, 158, 11, 0.08);
  --text: #e8e8f0;
  --text-muted: rgba(232, 232, 240, 0.55);
  --text-dim: rgba(232, 232, 240, 0.35);
  --ff-head: 'Syne', sans-serif;
  --ff-body: 'DM Sans', sans-serif;
  --r: 12px;
  --r-lg: 20px;
}

html { scroll-behavior: smooth; }

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

/* ─── Layout helpers ─── */
.section-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
}

.section-eyebrow {
  display: inline-block;
  font-family: var(--ff-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-heading {
  font-family: var(--ff-head);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 16px;
}

.section-sub {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.7;
}

/* ─── Hero ─── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(245,158,11,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: 100px 40px 60px;
}

.hero-text { display: flex; flex-direction: column; }

.hero-eyebrow {
  display: inline-block;
  font-family: var(--ff-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: 100px;
  width: fit-content;
}

.hero-headline {
  font-family: var(--ff-head);
  font-size: clamp(48px, 6vw, 80px);
  font-weight: 800;
  line-height: 1.05;
  color: var(--text);
  margin-bottom: 28px;
  letter-spacing: -0.02em;
}

.hero-sub {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 460px;
  margin-bottom: 36px;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff-body);
  font-size: 13px;
  color: var(--text-dim);
  flex-wrap: wrap;
}

.meta-item { color: var(--text-muted); }
.meta-sep { color: var(--accent); opacity: 0.5; }

/* Hero visual */
.hero-visual { display: flex; align-items: center; justify-content: center; }

.circuit-container {
  position: relative;
  width: 100%;
  max-width: 480px;
}

.circuit-svg {
  width: 100%;
  height: auto;
  opacity: 0.85;
  animation: circuit-pulse 4s ease-in-out infinite;
}

@keyframes circuit-pulse {
  0%, 100% { opacity: 0.85; }
  50% { opacity: 1; }
}

.circuit-glow {
  position: absolute;
  inset: -40px;
  background: radial-gradient(ellipse at center, rgba(245,158,11,0.04) 0%, transparent 70%);
  pointer-events: none;
}

/* Hero bottom bar */
.hero-bottom-bar {
  display: flex;
  justify-content: center;
  gap: 60px;
  padding: 20px 40px;
  border-top: 1px solid var(--border);
  background: rgba(245,158,11,0.03);
}

.bar-label {
  font-size: 12px;
  color: var(--text-dim);
  letter-spacing: 0.06em;
}

/* ─── Services ─── */
.services {
  padding: 120px 0;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-top: 56px;
}

.service-card {
  background: var(--surface);
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: background 0.2s;
}

.service-card:hover { background: rgba(245,158,11,0.04); }

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

.service-title {
  font-family: var(--ff-head);
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}

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

.service-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-list li {
  font-size: 13px;
  color: var(--text-dim);
  padding-left: 16px;
  position: relative;
}

.service-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.6;
}

/* ─── Approach ─── */
.approach {
  padding: 120px 0;
  background: var(--bg);
}

.timeline {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent) 20%, var(--accent) 80%, transparent);
  opacity: 0.3;
}

.timeline-item { display: flex; flex-direction: column; gap: 12px; }

.timeline-num {
  font-family: var(--ff-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.8;
  background: var(--bg);
  position: relative;
  z-index: 1;
  width: auto;
  padding: 0 14px;
}

.timeline-title {
  font-family: var(--ff-head);
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin-top: 8px;
}

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

/* ─── Tools ─── */
.tools {
  padding: 100px 0;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
}

.tools-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 48px;
}

.tool-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  flex: 1;
  min-width: 200px;
  transition: border-color 0.2s, background 0.2s;
}

.tool-item:hover { border-color: rgba(245,158,11,0.3); background: rgba(245,158,11,0.04); }

.tool-logo { flex-shrink: 0; display: flex; align-items: center; }

.tool-name {
  font-family: var(--ff-head);
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}

.tool-tag {
  font-size: 12px;
  color: var(--text-dim);
  margin-left: auto;
}

/* ─── Vision ─── */
.vision {
  padding: 140px 0;
  background: var(--bg);
  text-align: center;
}

.vision-content { max-width: 720px; margin: 0 auto; }

.vision-heading {
  font-family: var(--ff-head);
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 28px;
  letter-spacing: -0.01em;
}

.vision-sub {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 16px;
}

/* ─── Footer ─── */
.footer {
  padding: 80px 0 40px;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-brand { max-width: 300px; }

.footer-logo {
  font-family: var(--ff-head);
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
  display: block;
  margin-bottom: 12px;
}

.footer-tagline {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.7;
}

.footer-links {
  display: flex;
  gap: 80px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col-title {
  font-family: var(--ff-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 4px;
}

.footer-col span {
  font-size: 13px;
  color: var(--text-dim);
}

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--text-dim);
}

/* ─── Responsive ─── */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; padding-top: 80px; }
  .hero-visual { display: none; }
  .hero-headline { font-size: 48px; }
  .services-grid { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr 1fr; gap: 32px; }
  .timeline::before { display: none; }
  .footer-inner { flex-direction: column; }
  .footer-links { gap: 40px; }
}

@media (max-width: 600px) {
  .section-inner { padding: 0 24px; }
  .timeline { grid-template-columns: 1fr; }
  .hero-bottom-bar { flex-direction: column; align-items: center; gap: 12px; }
  .footer-links { flex-direction: column; gap: 32px; }
}