:root {
  --bg: #10161d;
  --surface: #1a232d;
  --surface-2: #212c38;
  --line: #2b3846;
  --text: #eef2f6;
  --text-muted: #8b98a8;
  --pass: #3ecf8e;
  --pass-dim: #1f4d3a;
  --amber: #f5a623;
  --build: #5bafff;
  --build-dim: #1a2d42;
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--pass);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

/* ---------- NAV ---------- */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(16, 22, 29, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  max-width: 1080px;
  margin: 0 auto;
}

.logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
}

.logo span {
  color: var(--pass);
}

.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}

.nav-links a {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
  transition: color 0.15s ease;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-cta {
  background: var(--pass);
  color: #0a1410 !important;
  padding: 9px 18px;
  border-radius: 6px;
  font-weight: 600 !important;
  font-size: 0.88rem !important;
}

.nav-cta:hover {
  background: #33b87c;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 8px 10px;
  cursor: pointer;
  color: var(--text);
}

.nav-toggle-icon {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  position: relative;
}

.nav-toggle-icon::before,
.nav-toggle-icon::after {
  content: '';
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: var(--text);
  transition: transform 0.2s ease;
}

.nav-toggle-icon::before {
  top: -6px;
}

.nav-toggle-icon::after {
  top: 6px;
}

.nav-toggle[aria-expanded='true'] .nav-toggle-icon {
  background: transparent;
}

.nav-toggle[aria-expanded='true'] .nav-toggle-icon::before {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded='true'] .nav-toggle-icon::after {
  transform: translateY(-6px) rotate(-45deg);
}

/* ---------- HERO ---------- */
.hero {
  padding: 88px 24px 64px;
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  opacity: 0.15;
  mask-image: radial-gradient(ellipse 60% 60% at 50% 0%, black, transparent);
}

.hero-inner {
  max-width: 1080px;
  margin: 0 auto;
  position: relative;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--pass);
  background: var(--pass-dim);
  border: 1px solid #2c6e51;
  padding: 6px 12px;
  border-radius: 100px;
  margin-bottom: 24px;
}

.eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--pass);
  box-shadow: 0 0 0 3px rgba(62, 207, 142, 0.2);
}

h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.01em;
  max-width: 820px;
}

h1 .accent {
  color: var(--pass);
}

.hero-sub {
  margin-top: 20px;
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 560px;
}

.hero-ctas {
  margin-top: 36px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.build-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.build-pills span {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--build);
  background: var(--build-dim);
  border: 1px solid #2a5078;
  padding: 6px 14px;
  border-radius: 100px;
  letter-spacing: 0.03em;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease;
}

.btn-primary {
  background: var(--pass);
  color: #0a1410;
}

.btn-primary:hover {
  background: #33b87c;
  transform: translateY(-1px);
}

.btn-ghost {
  border-color: var(--line);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: #42566a;
}

.btn-build {
  background: var(--build);
  color: #0a1410;
}

.btn-build:hover {
  background: #4a9ae8;
  transform: translateY(-1px);
}

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

.status-item {
  background: var(--surface);
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.status-item .label {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.status-item .badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--pass);
  background: var(--pass-dim);
  padding: 4px 10px;
  border-radius: 4px;
  letter-spacing: 0.04em;
}

/* ---------- SECTION SHARED ---------- */
section {
  padding: 80px 24px;
  border-bottom: 1px solid var(--line);
}

.section-head {
  max-width: 640px;
  margin-bottom: 48px;
}

.kicker {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--pass);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
  display: block;
}

h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.section-sub {
  color: var(--text-muted);
  margin-top: 12px;
  font-size: 1rem;
}

/* ---------- TEST LOG ---------- */
.log-panel {
  background: #0d1319;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}

.log-titlebar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot-red {
  background: #e5534b;
}

.dot-amber {
  background: var(--amber);
}

.dot-green {
  background: var(--pass);
}

.log-titlebar span {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-left: 8px;
}

.log-body {
  padding: 22px 24px;
}

.log-line {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  padding: 9px 0;
  display: flex;
  gap: 12px;
  border-bottom: 1px dashed #1e2a35;
  color: var(--text-muted);
}

.log-line:last-child {
  border-bottom: none;
}

.log-line .ok {
  color: var(--pass);
  flex-shrink: 0;
}

.log-line .ts {
  color: #4c5a6a;
  flex-shrink: 0;
}

.log-line .msg {
  color: var(--text);
}

/* ---------- SERVICES ---------- */
.service-feature {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 36px;
  margin-bottom: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
  position: relative;
  overflow: hidden;
}

.service-feature::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--build), var(--pass));
}

.service-feature .tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--build);
  background: var(--build-dim);
  border: 1px solid #2a5078;
  padding: 4px 10px;
  border-radius: 4px;
  width: fit-content;
  margin-bottom: 18px;
  letter-spacing: 0.04em;
}

.service-feature h3 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 1.75rem);
  font-weight: 600;
  margin-bottom: 12px;
  line-height: 1.15;
}

.service-feature .lead {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 440px;
}

.service-feature-side {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-feature .service-list {
  margin-bottom: 22px;
}

.service-feature .service-list li::before {
  color: var(--build);
}

.service-feature-note {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--text-muted);
  border-top: 1px solid var(--line);
  padding-top: 16px;
  margin-bottom: 18px;
}

.service-feature-note strong {
  color: var(--text);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-card .tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--amber);
  background: rgba(245, 166, 35, 0.1);
  border: 1px solid rgba(245, 166, 35, 0.3);
  padding: 4px 10px;
  border-radius: 4px;
  width: fit-content;
  margin-bottom: 18px;
  letter-spacing: 0.04em;
}

.service-card.mentor .tag {
  color: var(--pass);
  background: var(--pass-dim);
  border-color: #2c6e51;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 22px;
}

.service-list {
  list-style: none;
  margin-bottom: 26px;
  flex-grow: 1;
}

.service-list li {
  display: flex;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--text);
  padding: 7px 0;
}

.service-list li::before {
  content: '✓';
  color: var(--pass);
  font-weight: 700;
  flex-shrink: 0;
}

.service-price {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-muted);
  border-top: 1px solid var(--line);
  padding-top: 16px;
  margin-bottom: 18px;
}

.service-price strong {
  color: var(--text);
  font-size: 1rem;
}

.pricing-rows {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  border-top: 1px solid var(--line);
  padding-top: 16px;
  margin-bottom: 18px;
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  color: var(--text-muted);
}

.price-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.price-row span {
  flex: 1;
  min-width: 0;
}

.price-row strong {
  color: var(--text);
  font-weight: 500;
  white-space: nowrap;
  flex-shrink: 0;
}

/* ---------- ABOUT ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 40px;
  align-items: start;
}

.avatar {
  width: 180px;
  height: 180px;
  border-radius: 12px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.avatar-initials {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--pass);
  background: linear-gradient(135deg, var(--surface-2) 0%, var(--pass-dim) 100%);
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-body p {
  color: var(--text-muted);
  margin-bottom: 14px;
  max-width: 600px;
}

.about-body p strong {
  color: var(--text);
}

.tool-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.tool-tags span {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text);
  background: var(--surface-2);
  border: 1px solid var(--line);
  padding: 6px 12px;
  border-radius: 5px;
}

/* ---------- PROCESS ---------- */
.process-list {
  counter-reset: step;
  display: flex;
  flex-direction: column;
  gap: 0;
  list-style: none;
}

.process-item {
  display: flex;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  counter-increment: step;
}

.process-item:last-child {
  border-bottom: none;
}

.process-item::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--pass);
  padding-top: 2px;
  flex-shrink: 0;
  width: 32px;
}

.process-item h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.process-item p {
  color: var(--text-muted);
  font-size: 0.92rem;
  max-width: 520px;
}

/* ---------- CONTACT ---------- */
.contact {
  text-align: center;
  border-bottom: none;
}

.contact-inner {
  max-width: 520px;
  margin: 0 auto;
}

.contact h2 {
  margin-bottom: 14px;
}

.contact .section-sub {
  margin: 0 auto 32px;
}

.contact-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--pass);
  color: #0a1410;
  padding: 16px 30px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  transition: background 0.15s ease;
}

.whatsapp-btn:hover {
  background: #33b87c;
}

.contact-note {
  margin-top: 18px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
}

footer {
  padding: 32px 24px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: #4c5a6a;
}

.footer-email {
  display: inline-block;
  margin-top: 8px;
  color: var(--text-muted);
  transition: color 0.15s ease;
}

.footer-email:hover {
  color: var(--pass);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 760px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(16, 22, 29, 0.98);
    border-bottom: 1px solid var(--line);
    padding: 12px 24px 20px;
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    padding: 12px 0;
    width: 100%;
  }

  .nav-links .nav-cta {
    text-align: center;
    margin-top: 8px;
  }

  header nav {
    position: relative;
    flex-wrap: wrap;
  }

  .status-strip {
    grid-template-columns: 1fr;
  }

  .service-feature {
    grid-template-columns: 1fr;
    padding: 28px 24px;
    gap: 24px;
  }

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

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

  .avatar {
    width: 100%;
    height: 200px;
  }

  section {
    padding: 56px 20px;
  }

  .hero {
    padding: 64px 20px 48px;
  }
}
