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

:root {
  --bg: #050508;
  --surface: #0d0d14;
  --surface2: #12121c;
  --border: #1a1a28;
  --accent: #00e5c3;
  --accent-dim: rgba(0, 229, 195, 0.12);
  --text: #eeeef4;
  --text-mid: #8888aa;
  --text-dim: #44445a;
  --terminal-green: #00e5c3;
  --terminal-dim: #2a2a40;
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', system-ui, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--accent); color: var(--bg); }

/* === NAV === */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.25rem 2.5rem;
  border-bottom: 1px solid var(--border);
  background: rgba(5, 5, 8, 0.85);
  backdrop-filter: blur(12px);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
  color: var(--text);
}

.nav-tag {
  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;
  padding: 8rem 2.5rem 5rem;
  position: relative;
}

.hero::before {
  content: '';
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background:
    radial-gradient(ellipse 60% 50% at 20% 50%, rgba(0, 229, 195, 0.04) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 80% 30%, rgba(0, 229, 195, 0.02) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

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

.hero-badge {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(0, 229, 195, 0.25);
  padding: 0.4rem 0.9rem;
  border-radius: 2rem;
  margin-bottom: 1.75rem;
}

.hero-headline {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(2.8rem, 5vw, 4rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 1.5rem;
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--text-mid);
  line-height: 1.7;
  max-width: 420px;
}

/* === TERMINAL === */
.terminal {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 60px rgba(0, 229, 195, 0.06), 0 30px 60px rgba(0,0,0,0.5);
}

.terminal-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: var(--surface2);
  border-bottom: 1px solid var(--border);
}

.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot-red { background: #ff5f57; }
.dot-yellow { background: #febc2e; }
.dot-green { background: #28c840; }

.terminal-title {
  font-family: 'DM Sans', monospace;
  font-size: 0.72rem;
  color: var(--text-dim);
  margin-left: 0.5rem;
}

.terminal-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.t-line { font-family: 'DM Sans', monospace; font-size: 0.82rem; line-height: 1.5; }
.t-prompt { color: var(--accent); margin-right: 0.5rem; }
.t-accent { color: var(--text); font-weight: 500; }
.t-green { color: var(--terminal-green); margin-right: 0.5rem; }
.t-dim { color: var(--text-dim); font-size: 0.72rem; }

/* === SERVICES === */
.services {
  padding: 6rem 2.5rem;
  border-top: 1px solid var(--border);
}

.services-header { max-width: 1200px; margin: 0 auto 3rem; }

.section-label {
  font-family: 'Syne', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.services-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.service-card {
  background: var(--surface);
  padding: 2.25rem;
  transition: background 0.2s ease;
}

.service-card:hover { background: var(--surface2); }

.service-icon {
  color: var(--accent);
  margin-bottom: 1.25rem;
  opacity: 0.9;
}

.service-card h3 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.service-card p {
  font-size: 0.875rem;
  color: var(--text-mid);
  line-height: 1.65;
}

/* === CLIENTS === */
.clients {
  padding: 6rem 2.5rem;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.clients-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.clients-desc {
  font-size: 0.95rem;
  color: var(--text-mid);
  margin: 1rem 0 2.5rem;
  line-height: 1.7;
}

.client-types { display: flex; flex-direction: column; gap: 2rem; }

.ct-label {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.client-type p { font-size: 0.875rem; color: var(--text-mid); line-height: 1.65; }

.stats-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.stat {
  background: var(--bg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.stat-num {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 2rem;
  color: var(--accent);
  letter-spacing: -0.03em;
}

.stat-label { font-size: 0.75rem; color: var(--text-dim); line-height: 1.4; }

/* === MANIFESTO === */
.manifesto {
  padding: 7rem 2.5rem;
}

.manifesto-inner {
  max-width: 900px;
  margin: 0 auto;
}

.manifesto-quote {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 2rem;
  font-style: normal;
}

.manifesto-body {
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 4rem;
}

.manifesto-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}

.ms-item {
  background: var(--surface);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.ms-num {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--accent);
  letter-spacing: -0.03em;
}

.ms-text { font-size: 0.8rem; color: var(--text-mid); line-height: 1.4; }

/* === CLOSING === */
.closing {
  padding: 8rem 2.5rem;
  border-top: 1px solid var(--border);
  position: relative;
}

.closing::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 50%;
  background: linear-gradient(to top, rgba(0,229,195,0.02) 0%, transparent 100%);
  pointer-events: none;
}

.closing-inner { max-width: 1200px; margin: 0 auto; position: relative; z-index: 1; }

.closing-headline {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 1.5rem;
}

.closing-sub {
  font-size: 1.05rem;
  color: var(--text-mid);
  line-height: 1.7;
  max-width: 560px;
  margin-bottom: 3rem;
}

.cta-pill {
  display: inline-block;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  border: 1px solid var(--border);
  padding: 0.6rem 1.4rem;
  border-radius: 2rem;
}

/* === FOOTER === */
footer {
  border-top: 1px solid var(--border);
  padding: 2rem 2.5rem;
  text-align: center;
}

footer span {
  font-size: 0.75rem;
  color: var(--text-dim);
  letter-spacing: 0.05em;
}

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .hero-grid,
  .clients-inner { grid-template-columns: 1fr; gap: 3rem; }

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

  .manifesto-stats { grid-template-columns: 1fr; }

  .hero { padding-top: 7rem; }
}

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

  .stats-block { grid-template-columns: 1fr; }

  .hero-headline { font-size: 2.2rem; }

  .closing-headline { font-size: 2rem; }

  .nav { padding: 1rem 1.5rem; }

  .hero, .services, .clients, .manifesto, .closing { padding-left: 1.5rem; padding-right: 1.5rem; }
}