:root {
  --bg: #0a0e1a;
  --bg-soft: #0f1524;
  --card: #121a2e;
  --card-hover: #16203a;
  --border: #232f4a;
  --ink: #eef1f8;
  --ink-soft: #9aa5c0;
  --ink-faint: #6b7593;
  --accent: #22d3ee;
  --accent-2: #a78bfa;
  --accent-grad: linear-gradient(120deg, #22d3ee, #a78bfa);
  --whatsapp: #25d366;
  --radius: 16px;
  --font-sans: 'Heebo', 'Segoe UI', sans-serif;
  --font-mono: 'Fira Code', ui-monospace, 'Courier New', monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(600px circle at 15% 0%, rgba(34, 211, 238, 0.10), transparent 55%),
    radial-gradient(600px circle at 85% 20%, rgba(167, 139, 250, 0.10), transparent 55%);
  pointer-events: none;
  z-index: 0;
}

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

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

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

/* Header */
header.site {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 14, 26, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

header.site .bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 16px;
  white-space: nowrap;
}

.brand .name-en { font-family: var(--font-mono); letter-spacing: 0.2px; }

nav.main {
  display: flex;
  align-items: center;
  gap: 26px;
}

nav.main a.nav-link {
  font-size: 14px;
  color: var(--ink-soft);
  font-weight: 600;
  transition: color 0.15s;
}
nav.main a.nav-link:hover { color: var(--ink); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 10px;
  padding: 11px 20px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s, border-color 0.15s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--accent-grad);
  color: #06111f;
}
.btn-primary:hover { box-shadow: 0 8px 24px -8px rgba(34, 211, 238, 0.55); }

.btn-whatsapp {
  background: var(--whatsapp);
  color: #06210f;
}
.btn-whatsapp:hover { box-shadow: 0 8px 24px -8px rgba(37, 211, 102, 0.55); }

.btn-outline {
  background: transparent;
  border-color: var(--border);
  color: var(--ink);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }

.btn-block { width: 100%; justify-content: center; }

/* Hero */
.hero {
  padding: 76px 0 60px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 12.5px;
  color: var(--accent);
  background: rgba(34, 211, 238, 0.08);
  border: 1px solid rgba(34, 211, 238, 0.25);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--whatsapp);
  box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.2);
}

.hero h1 {
  font-size: 40px;
  line-height: 1.22;
  font-weight: 800;
  margin: 0 0 18px;
  letter-spacing: -0.5px;
}
.hero h1 .grad {
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p.lead {
  font-size: 16.5px;
  color: var(--ink-soft);
  max-width: 520px;
  margin: 0 0 30px;
}

.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.trust-row {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: var(--ink-faint);
}
.trust-row span { display: flex; align-items: center; gap: 6px; }
.trust-row span::before {
  content: "";
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--accent-2);
}

/* Code mockup */
.code-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(0,0,0,0.6);
}
.code-card .code-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-soft);
}
.code-card .code-head .dot { width: 10px; height: 10px; border-radius: 50%; }
.code-card .code-head .dot.r { background: #ff5f57; }
.code-card .code-head .dot.y { background: #febc2e; }
.code-card .code-head .dot.g { background: #28c840; }
.code-card .code-head .file {
  margin-inline-start: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-faint);
}
.code-card pre {
  margin: 0;
  padding: 20px;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.7;
  overflow-x: auto;
  direction: ltr;
  text-align: left;
}
.code-card code .tag { color: #a78bfa; }
.code-card code .attr { color: #22d3ee; }
.code-card code .str { color: #a5f3a5; }
.code-card code .cmt { color: var(--ink-faint); }
.code-card code .kw { color: #f0abfc; }

/* Sections */
section { padding: 64px 0; position: relative; z-index: 1; }
section.divide { border-top: 1px solid var(--border); }

.section-head { text-align: center; max-width: 620px; margin: 0 auto 42px; }
.section-head .kicker {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 12.5px;
  color: var(--accent-2);
  margin-bottom: 10px;
  display: block;
}
.section-head h2 {
  font-size: 28px;
  font-weight: 800;
  margin: 0 0 12px;
  letter-spacing: -0.3px;
}
.section-head p { color: var(--ink-soft); font-size: 15px; margin: 0; }

/* Skills grid */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
.skill-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px 16px;
  text-align: center;
  transition: transform 0.15s, border-color 0.15s, background 0.15s;
}
.skill-card:hover { transform: translateY(-3px); border-color: var(--accent); background: var(--card-hover); }
.skill-card .ic { font-size: 26px; margin-bottom: 10px; }
.skill-card .t { font-weight: 700; font-size: 14px; margin-bottom: 4px; font-family: var(--font-mono); }
.skill-card .d { font-size: 12px; color: var(--ink-faint); line-height: 1.5; }

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.step {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px 18px;
  position: relative;
}
.step .n {
  width: 30px; height: 30px;
  border-radius: 9px;
  background: var(--accent-grad);
  color: #06111f;
  font-weight: 800;
  font-family: var(--font-mono);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
  font-size: 13px;
}
.step h3 { font-size: 14.5px; margin: 0 0 6px; font-weight: 700; }
.step p { font-size: 12.5px; color: var(--ink-soft); margin: 0; line-height: 1.55; }

/* Why grid */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.why-item {
  display: flex;
  gap: 14px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px;
}
.why-item .ic {
  flex-shrink: 0;
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(34, 211, 238, 0.1);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
}
.why-item h3 { font-size: 14.5px; margin: 0 0 4px; font-weight: 700; }
.why-item p { font-size: 12.5px; color: var(--ink-soft); margin: 0; line-height: 1.5; }

/* Pricing / CTA band */
.cta-band {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 44px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: -1px;
  background: var(--accent-grad);
  opacity: 0.06;
  pointer-events: none;
}
.cta-band h2 { font-size: 24px; margin: 0 0 10px; font-weight: 800; }
.cta-band p { color: var(--ink-soft); font-size: 14.5px; max-width: 480px; margin: 0 auto 24px; }
.cta-band .ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* Contact / form */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.contact-info h2 { font-size: 26px; font-weight: 800; margin: 0 0 12px; }
.contact-info p.lead { color: var(--ink-soft); font-size: 14.5px; margin: 0 0 24px; }

.contact-method {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid var(--border);
}
.contact-method:first-of-type { border-top: none; }
.contact-method .ic {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--card);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
}
.contact-method .label { font-size: 11.5px; color: var(--ink-faint); }
.contact-method .value { font-size: 14px; font-weight: 700; font-family: var(--font-mono); direction: ltr; text-align: right; }
.contact-method a.value:hover { color: var(--accent); }

form#lead-form {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}
.field { margin-bottom: 16px; }
.field label {
  display: block;
  font-size: 12.5px;
  color: var(--ink-soft);
  margin-bottom: 6px;
  font-weight: 600;
}
.field input, .field textarea {
  width: 100%;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 11px 13px;
  font-size: 14px;
  color: var(--ink);
  font-family: var(--font-sans);
  outline: none;
  transition: border-color 0.15s;
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-faint); }
.field input:focus, .field textarea:focus { border-color: var(--accent); }
.field textarea { resize: vertical; min-height: 90px; }

.form-note {
  font-size: 11.5px;
  color: var(--ink-faint);
  margin-top: 12px;
  text-align: center;
}
.form-note a { color: var(--accent-2); font-weight: 600; }

.form-success {
  display: none;
  text-align: center;
  padding: 20px 0;
}
.form-success .ic { font-size: 34px; margin-bottom: 10px; }
.form-success h3 { margin: 0 0 6px; font-size: 16px; }
.form-success p { margin: 0; color: var(--ink-soft); font-size: 13px; }

/* Footer */
footer.site {
  border-top: 1px solid var(--border);
  padding: 34px 0;
  text-align: center;
}
footer.site .brand { justify-content: center; margin-bottom: 10px; }
footer.site .foot-links {
  display: flex;
  justify-content: center;
  gap: 18px;
  font-size: 12.5px;
  color: var(--ink-faint);
  margin-bottom: 14px;
  flex-wrap: wrap;
}
footer.site .foot-links a:hover { color: var(--accent); }
footer.site .copy { font-size: 11.5px; color: var(--ink-faint); }

/* Mobile nav toggle */
.nav-toggle { display: none; }

@media (max-width: 920px) {
  .hero { grid-template-columns: 1fr; padding-top: 48px; }
  .hero h1 { font-size: 32px; }
  .skills-grid { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  nav.main { display: none; }
}

@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .hero h1 { font-size: 26px; }
  .hero p.lead { font-size: 14.5px; }
  .skills-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .btn { padding: 10px 16px; font-size: 13px; }
  .cta-band { padding: 30px 20px; }
  form#lead-form { padding: 20px; }
}
