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

:root {
  --bg: #0a0a0e;
  --bg-card: #111118;
  --bg-card-alt: #0e0e16;
  --fg: #f5f2ed;
  --fg-muted: #8a8a9a;
  --accent: #ff5722;
  --accent-dim: rgba(255, 87, 34, 0.15);
  --accent-glow: rgba(255, 87, 34, 0.4);
  --border: rgba(255,255,255,0.07);
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

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

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

/* === NEURAL BACKGROUND === */
.neural-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.neural-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 87, 34, 0.06);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  animation: pulse-ring 8s ease-in-out infinite;
}
.ring-1 { width: 300px; height: 300px; animation-delay: 0s; }
.ring-2 { width: 500px; height: 500px; animation-delay: 1s; }
.ring-3 { width: 750px; height: 750px; animation-delay: 2s; }
.ring-4 { width: 1000px; height: 1000px; animation-delay: 3s; }
.ring-5 { width: 1300px; height: 1300px; animation-delay: 4s; }

.neural-node {
  position: absolute;
  width: 5px; height: 5px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-glow), 0 0 16px var(--accent-glow);
  animation: node-pulse 4s ease-in-out infinite;
}
.node-1 { top: 18%; left: 22%; animation-delay: 0.5s; }
.node-2 { top: 65%; left: 78%; animation-delay: 1.2s; }
.node-3 { top: 30%; left: 72%; animation-delay: 2.1s; }
.node-4 { top: 75%; left: 28%; animation-delay: 0.8s; }
.node-5 { top: 50%; left: 50%; animation-delay: 1.5s; width: 7px; height: 7px; }
.node-6 { top: 85%; left: 60%; animation-delay: 2.8s; }

.neural-connection {
  position: absolute;
  background: linear-gradient(90deg, transparent, rgba(255,87,34,0.3), transparent);
  height: 1px;
  transform-origin: left center;
  animation: connection-pulse 6s ease-in-out infinite;
}
.con-1 { top: 18%; left: 22%; width: 200px; transform: rotate(35deg); animation-delay: 1s; }
.con-2 { top: 65%; left: 28%; width: 300px; transform: rotate(120deg); animation-delay: 2.5s; }
.con-3 { top: 30%; left: 50%; width: 150px; transform: rotate(170deg); animation-delay: 0.5s; }
.con-4 { top: 50%; left: 50%; width: 250px; transform: rotate(75deg); animation-delay: 3s; }

@keyframes pulse-ring {
  0%, 100% { opacity: 0.3; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 0.8; transform: translate(-50%, -50%) scale(1.03); }
}
@keyframes node-pulse {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.8); }
}
@keyframes connection-pulse {
  0%, 100% { opacity: 0.2; }
  50% { opacity: 0.7; }
}

/* === SECTION COMMON === */
section { position: relative; z-index: 1; }
.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.2rem;
}

/* === HERO === */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 4rem;
  align-items: center;
  padding: 8rem 6rem 6rem;
}

.hero-label {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5vw, 5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  color: var(--fg);
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--fg-muted);
  max-width: 480px;
  line-height: 1.7;
}

.hero-aside { display: flex; flex-direction: column; gap: 1rem; }

.hero-stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.2rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.hero-stat-card.accent { border-color: rgba(255,87,34,0.3); background: linear-gradient(135deg, var(--bg-card) 0%, rgba(255,87,34,0.05) 100%); }

.hero-stat-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.8rem;
  color: var(--fg-muted);
  line-height: 1.4;
}

/* === STATS === */
.stats {
  padding: 4rem 6rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stats-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.stat { text-align: center; }
.stat-value {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--fg);
  display: block;
  line-height: 1;
  margin-bottom: 0.4rem;
}
.stat-label {
  font-size: 0.78rem;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.stat-divider {
  width: 1px;
  height: 50px;
  background: var(--border);
  flex-shrink: 0;
}

/* === SERVICES === */
.services { padding: 7rem 6rem; }

.services-header { margin-bottom: 3rem; }

.services-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

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

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem 2rem 2.5rem;
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.service-card:hover {
  border-color: rgba(255,87,34,0.4);
  transform: translateY(-2px);
}

.service-icon {
  width: 44px; height: 44px;
  background: var(--accent-dim);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  color: var(--accent);
}
.service-icon svg { width: 22px; height: 22px; }

.service-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  letter-spacing: -0.01em;
}

.service-desc {
  font-size: 0.88rem;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* === PHILOSOPHY === */
.philosophy {
  padding: 7rem 6rem;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 5rem;
  border-top: 1px solid var(--border);
}

.philosophy-headline {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

.philosophy-body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2.5rem;
}
.philosophy-body p {
  font-size: 0.95rem;
  color: var(--fg-muted);
  line-height: 1.7;
}

.philosophy-steps {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.step {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.step-num {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--accent);
  width: 28px;
  flex-shrink: 0;
}

.step-text {
  font-size: 0.88rem;
  color: var(--fg-muted);
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.8rem;
  width: 100%;
}

.philosophy-quote {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--fg);
  line-height: 1.6;
  padding: 2rem;
  border-left: 3px solid var(--accent);
  background: var(--bg-card);
  border-radius: 0 12px 12px 0;
}

/* === MANIFESTO === */
.manifesto {
  padding: 8rem 6rem;
  border-top: 1px solid var(--border);
}

.manifesto-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
}

.manifesto-text { max-width: 580px; }

.manifesto-headline {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.manifesto-body {
  font-size: 0.95rem;
  color: var(--fg-muted);
  line-height: 1.75;
  margin-bottom: 1rem;
}

.manifesto-visual {
  position: relative;
  width: 260px;
  height: 260px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.manifesto-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--accent);
  opacity: 0.25;
  animation: manifesto-ring 5s ease-in-out infinite;
}
.manifesto-ring { width: 100%; height: 100%; }
.manifesto-ring-2 { width: 70%; height: 70%; animation-delay: 0.8s; opacity: 0.4; }
.manifesto-ring-3 { width: 40%; height: 40%; animation-delay: 1.6s; opacity: 0.6; }

.manifesto-core {
  width: 16px; height: 16px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 30px var(--accent-glow), 0 0 60px var(--accent-glow);
  animation: core-pulse 3s ease-in-out infinite;
}

@keyframes manifesto-ring {
  0%, 100% { transform: scale(1); opacity: 0.25; }
  50% { transform: scale(1.05); opacity: 0.5; }
}
@keyframes core-pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 20px var(--accent-glow); }
  50% { transform: scale(1.3); box-shadow: 0 0 40px var(--accent-glow), 0 0 80px var(--accent-glow); }
}

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

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

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--fg);
  display: block;
  margin-bottom: 0.2rem;
}

.footer-tagline {
  font-size: 0.78rem;
  color: var(--fg-muted);
}

.footer-meta {
  font-size: 0.75rem;
  color: var(--fg-muted);
  letter-spacing: 0.05em;
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; padding: 6rem 3rem 4rem; }
  .hero-aside { display: grid; grid-template-columns: repeat(2, 1fr); }
  .services { padding: 5rem 3rem; }
  .philosophy { grid-template-columns: 1fr; gap: 3rem; padding: 5rem 3rem; }
  .manifesto { padding: 5rem 3rem; }
  .manifesto-inner { flex-direction: column; }
  .manifesto-visual { width: 180px; height: 180px; }
  .stats { padding: 3rem; }
  .stats-inner { flex-wrap: wrap; gap: 1.5rem; }
  .stat-divider { display: none; }
}

@media (max-width: 640px) {
  .hero { padding: 5rem 1.5rem 3rem; }
  .hero-aside { grid-template-columns: 1fr; }
  .services { padding: 4rem 1.5rem; }
  .services-grid { grid-template-columns: 1fr; }
  .philosophy { padding: 4rem 1.5rem; }
  .manifesto { padding: 4rem 1.5rem; }
  .footer { padding: 2rem 1.5rem; }
  .stats { padding: 2.5rem 1.5rem; }
  .stats-inner { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .stat-divider { display: none; }
}