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

:root {
  --slate: #0f172a;
  --slate-light: #1e293b;
  --slate-mid: #334155;
  --amber: #f59e0b;
  --amber-dim: rgba(245, 158, 11, 0.15);
  --amber-glow: rgba(245, 158, 11, 0.08);
  --text: #f1f5f9;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --border: rgba(148, 163, 184, 0.1);
  --font-display: 'Syne', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--slate);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* === NAV === */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--text);
  letter-spacing: -0.02em;
}
.nav-os {
  color: var(--amber);
}
.nav-tagline {
  font-size: 0.75rem;
  color: var(--text-dim);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

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

.grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.04) 1px, transparent 1px);
  background-size: 80px 80px;
}

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

.node {
  position: absolute;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.4), 0 0 40px rgba(245, 158, 11, 0.15);
  animation: pulse 3s ease-in-out infinite;
}
.node-1 { width: 10px; height: 10px; top: 30%; left: 55%; animation-delay: 0s; }
.node-2 { width: 6px; height: 6px; top: 55%; left: 70%; animation-delay: 1s; }
.node-3 { width: 8px; height: 8px; top: 40%; left: 62%; animation-delay: 2s; }

.connection {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, rgba(245,158,11,0.5), rgba(245,158,11,0.1));
  transform-origin: left center;
}
.lc-1 { top: 30%; left: 55%; width: 120px; transform: rotate(25deg); }
.lc-2 { top: 38%; left: 58%; width: 80px; transform: rotate(-10deg); }
.lc-3 { top: 50%; left: 63%; width: 100px; transform: rotate(15deg); }

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

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

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

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 1.5rem;
}
.line-2 {
  color: var(--amber);
}

.hero-body {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 480px;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.hero-services {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.svc-tag {
  padding: 0.4rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.02em;
  background: var(--amber-glow);
  transition: border-color 0.2s, color 0.2s;
}
.svc-tag:hover {
  border-color: var(--amber);
  color: var(--amber);
}

/* Hero Visual */
.viz-card {
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.5rem;
  backdrop-filter: blur(8px);
  box-shadow: 0 0 40px rgba(0,0,0,0.3);
}
.viz-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.viz-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--slate-mid);
}
.viz-dot.amber { background: var(--amber); box-shadow: 0 0 8px rgba(245,158,11,0.5); }
.viz-label {
  font-size: 0.7rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-left: 0.5rem;
  font-family: var(--font-display);
}
.viz-nodes {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 0.75rem;
  position: relative;
}
.viz-node {
  background: var(--slate-light);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--text-muted);
}
.viz-node.center {
  grid-column: 2;
  background: var(--amber-dim);
  border-color: rgba(245,158,11,0.3);
  color: var(--amber);
  justify-content: center;
  box-shadow: 0 0 20px rgba(245,158,11,0.1);
}
.viz-node.n-strategy { border-left: 2px solid var(--amber); }
.viz-node.n-tech { border-left: 2px solid var(--amber); }
.viz-node.n-product { border-left: 2px solid var(--amber); }
.viz-node.n-ops { border-left: 2px solid var(--amber); }
.viz-node.n-growth { border-left: 2px solid var(--amber); }

/* === SHARED SECTION STYLES === */
.section-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--amber);
  margin-bottom: 1rem;
  font-weight: 500;
}
.section-heading {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 1rem;
}

/* === PRINCIPLES === */
.principles {
  padding: 6rem 2rem;
  background: linear-gradient(180deg, var(--slate) 0%, rgba(15,23,42,0.95) 100%);
}
.principles-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.principles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.principle-card {
  background: var(--slate-light);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
}
.principle-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--amber), transparent);
}
.principle-num {
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--amber);
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}
.principle-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.75rem;
}
.principle-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* === ECOSYSTEM === */
.ecosystem {
  padding: 6rem 2rem;
  background: var(--slate);
  position: relative;
}
.ecosystem::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}
.ecosystem-inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}
.ecosystem-body {
  color: var(--text-muted);
  max-width: 540px;
  margin: 0.5rem auto 3rem;
  font-size: 0.95rem;
}

.eco-diagram {
  position: relative;
  width: 320px;
  height: 320px;
  margin: 0 auto 3rem;
}
.eco-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--amber-dim);
  border: 2px solid var(--amber);
  border-radius: 50%;
  width: 80px;
  height: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.8rem;
  color: var(--amber);
  box-shadow: 0 0 30px rgba(245,158,11,0.2);
  z-index: 2;
}
.eco-ring {
  position: absolute;
  inset: 0;
  animation: spin 20s linear infinite;
}
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.eco-item {
  position: absolute;
  background: var(--slate-light);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.5rem 0.85rem;
  font-size: 0.75rem;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
}
.ei-1 { top: 0; left: 50%; transform: translateX(-50%); }
.ei-2 { top: 25%; right: 0; }
.ei-3 { bottom: 25%; right: 0; }
.ei-4 { bottom: 0; left: 50%; transform: translateX(-50%); }
.ei-5 { bottom: 25%; left: 0; }

.eco-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: left;
  max-width: 900px;
  margin: 0 auto;
}
.eco-feat {}
.eco-feat-icon {
  width: 40px;
  height: 40px;
  background: var(--amber-dim);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.eco-feat h4 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.4rem;
}
.eco-feat p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* === PROCESS === */
.process {
  padding: 6rem 2rem;
  background: var(--slate-light);
}
.process-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.process-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-top: 3rem;
}
.step {
  flex: 1;
  min-width: 0;
}
.step-num {
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--amber);
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}
.step-body h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.5rem;
}
.step-body p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.step-connector {
  width: 40px;
  height: 1px;
  background: linear-gradient(90deg, var(--amber), transparent);
  margin-top: 1.5rem;
  flex-shrink: 0;
}

/* === STATS === */
.stats {
  padding: 4rem 2rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stats-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}
.stat-card {
  flex: 1;
  text-align: center;
  padding: 2rem;
}
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  color: var(--amber);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 0.5rem;
}
.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.stat-divider {
  width: 1px;
  height: 60px;
  background: var(--border);
}

/* === CLOSING === */
.closing {
  padding: 8rem 2rem;
}
.closing-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}
.closing-quote {
  position: relative;
}
.closing-quote::before {
  content: '\201C';
  font-family: var(--font-display);
  font-size: 8rem;
  color: var(--amber-dim);
  position: absolute;
  top: -3rem;
  left: -1rem;
  line-height: 1;
}
.closing-quote p {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.5;
  position: relative;
  z-index: 1;
  margin-bottom: 1.5rem;
}
.quote-attr {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.attr-initials {
  width: 40px;
  height: 40px;
  background: var(--amber-dim);
  border: 1px solid rgba(245,158,11,0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.75rem;
  color: var(--amber);
}
.quote-attr strong {
  display: block;
  font-size: 0.85rem;
  font-family: var(--font-display);
  color: var(--text);
}
.quote-attr span {
  font-size: 0.75rem;
  color: var(--text-muted);
}
.closing-vision {}
.vision-text {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 1rem;
}
.vision-sub {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* === FOOTER === */
.footer {
  padding: 3rem 2rem;
  border-top: 1px solid var(--border);
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.footer-brand {
  margin-bottom: 2rem;
}
.footer-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--text);
  display: block;
  margin-bottom: 0.5rem;
}
.footer-os { color: var(--amber); }
.footer-brand p {
  font-size: 0.8rem;
  color: var(--text-muted);
}
.footer-links {
  display: flex;
  gap: 4rem;
  margin-bottom: 2rem;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer-col-head {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-dim);
  margin-bottom: 0.5rem;
  font-family: var(--font-display);
  font-weight: 600;
}
.footer-col span {
  font-size: 0.8rem;
  color: var(--text-muted);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.7rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .hero-visual { display: none; }
  .hero-headline { font-size: 2.5rem; }
  .principles-grid { grid-template-columns: 1fr; }
  .eco-features { grid-template-columns: 1fr; }
  .eco-diagram { width: 260px; height: 260px; }
  .eco-item { font-size: 0.65rem; padding: 0.4rem 0.6rem; }
  .process-steps {
    flex-direction: column;
    gap: 1.5rem;
  }
  .step-connector {
    width: 40px;
    height: 20px;
    background: linear-gradient(180deg, var(--amber), transparent);
    margin: 0;
  }
  .closing-inner { grid-template-columns: 1fr; gap: 3rem; }
  .stats-inner { flex-direction: column; gap: 0; }
  .stat-divider { width: 40px; height: 1px; }
  .footer-links { flex-direction: column; gap: 1.5rem; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; }
}

@media (max-width: 480px) {
  .hero { padding: 7rem 1.25rem 3rem; }
  .step-body p { font-size: 0.75rem; }
  .section-heading { font-size: 1.6rem; }
  .vision-text { font-size: 1.8rem; }
}
