:root {
  --bg: #0a0612;
  --bg-panel: #130a22;
  --bg-panel-2: #180d2b;
  --purple: #b478ff;
  --purple-dim: #7c56b8;
  --pink: #ff4fa0;
  --cyan: #46e0ff;
  --text: #f4eeff;
  --text-muted: #a294c4;
  --text-faint: #6b5f8a;
  --border: rgba(180, 120, 255, 0.22);
  --border-soft: rgba(180, 120, 255, 0.12);
  --radius: 18px;
  --maxw: 1120px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 900px 500px at 12% -5%, rgba(180,120,255,0.16), transparent 60%),
    radial-gradient(ellipse 700px 500px at 100% 20%, rgba(70,224,255,0.09), transparent 60%),
    radial-gradient(ellipse 800px 600px at 20% 90%, rgba(255,79,160,0.08), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

h1, h2, h3 { font-family: 'Space Grotesk', sans-serif; letter-spacing: -0.02em; }
a { color: inherit; }

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  transform: translateY(-180%);
  background: var(--text);
  color: var(--bg);
  padding: 10px 14px;
  border-radius: 8px;
  font-weight: 600;
}
.skip-link:focus { transform: translateY(0); }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }
.eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: var(--cyan);
  letter-spacing: 0.02em;
  margin-bottom: 14px;
}
.eyebrow-center { text-align: center; }

header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(10,6,18,0.78);
  border-bottom: 1px solid var(--border-soft);
}
.nav { display: flex; align-items: center; justify-content: space-between; padding-top: 16px; padding-bottom: 16px; }
.brand, .footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  text-decoration: none;
}
.brand img, .footer-brand img { border-radius: 9px; }
.navlinks { display: flex; gap: 28px; list-style: none; }
.navlinks a { color: var(--text-muted); text-decoration: none; font-size: 14px; font-weight: 500; transition: color .2s; }
.navlinks a:hover, .navlinks a:focus-visible { color: var(--pink); }
.navToggle { display: none; background: none; border: 0; color: var(--text); font-size: 24px; cursor: pointer; }

.hero { padding: 96px 0 80px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(38px, 5vw, 60px); font-weight: 700; line-height: 1.05; margin-bottom: 22px; max-width: 720px; }
.hero h1 .accent { background: linear-gradient(90deg, var(--purple), var(--pink)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { color: var(--text-muted); font-size: 18px; max-width: 600px; margin-bottom: 34px; }

.cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 30px; }
.cta-center { justify-content: center; }
.btn {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 15px;
  padding: 13px 26px;
  border-radius: 999px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, color .18s ease;
}
.btn-primary { background: linear-gradient(90deg, var(--purple), var(--pink)); color: #12081f; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(180,120,255,.35); }
.btn-outline { border-color: var(--border); color: var(--text); background: rgba(255,255,255,.02); }
.btn-outline:hover { border-color: var(--cyan); color: var(--cyan); transform: translateY(-2px); }
.btn:focus-visible, a:focus-visible, button:focus-visible { outline: 2px solid var(--cyan); outline-offset: 4px; }

.quicklinks { display: flex; gap: 18px; flex-wrap: wrap; }
.quicklinks a { color: var(--text-muted); text-decoration: none; font-size: 13px; font-family: 'JetBrains Mono', monospace; border-bottom: 1px solid transparent; }
.quicklinks a:hover { color: var(--cyan); border-color: var(--cyan); }

.hero-photo { position: relative; display: flex; justify-content: center; }
.hero-photo .ring { position: absolute; inset: -18px; border-radius: 50%; background: conic-gradient(from 0deg, var(--purple), var(--pink), var(--cyan), var(--purple)); filter: blur(2px); opacity: .55; animation: spin 16s linear infinite; }
.hero-photo img { position: relative; z-index: 1; width: min(360px, 78vw); aspect-ratio: 1 / 1; border-radius: 50%; object-fit: cover; border: 3px solid var(--bg); box-shadow: 0 20px 60px rgba(0,0,0,.5); }
@keyframes spin { to { transform: rotate(360deg); } }

.bracket-divider { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 6px 0 62px; font-family: 'JetBrains Mono', monospace; font-weight: 500; font-size: 26px; user-select: none; }
.bracket-divider span:nth-child(1) { color: var(--pink); text-shadow: 0 0 18px rgba(255,79,160,.55); }
.bracket-divider span:nth-child(2) { color: var(--purple); text-shadow: 0 0 18px rgba(180,120,255,.55); }
.bracket-divider span:nth-child(3) { color: var(--cyan); text-shadow: 0 0 18px rgba(70,224,255,.55); }

section { padding: 10px 0 70px; }
.section-head { max-width: 700px; margin-bottom: 42px; }
.section-head h2, #sobre h2 { font-size: clamp(28px, 3.3vw, 38px); font-weight: 700; line-height: 1.15; }
.section-head p { color: var(--text-muted); margin-top: 12px; font-size: 16px; }

.sobre-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 50px; align-items: start; }
.sobre-grid h2 { margin-bottom: 20px; }
.sobre-grid p { color: var(--text-muted); font-size: 16px; margin-bottom: 16px; }
.sobre-grid p strong { color: var(--text); font-weight: 600; }
.tags { display: flex; flex-wrap: wrap; gap: 10px; }
.tag { font-family: 'JetBrains Mono', monospace; font-size: 12.5px; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--border); color: var(--text-muted); background: rgba(180,120,255,.05); }

.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.card { background: linear-gradient(180deg, var(--bg-panel), var(--bg-panel-2)); border: 1px solid var(--border-soft); border-radius: var(--radius); padding: 26px; transition: border-color .2s, transform .2s; position: relative; overflow: hidden; }
.card:hover { transform: translateY(-3px); border-color: var(--border); }
.card-wide { grid-column: 1 / -1; }
.card h3 { font-size: 20px; margin-bottom: 10px; }
.card p { color: var(--text-muted); font-size: 14.5px; margin-bottom: 20px; max-width: 720px; }
.card-link { font-family: 'JetBrains Mono', monospace; font-size: 13.5px; color: var(--cyan); text-decoration: none; }
.card-link:hover { color: var(--pink); }
.icon-dot { width: 38px; height: 38px; border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; font-size: 18px; background: rgba(180,120,255,.08); border: 1px solid var(--border-soft); }

.product-grid { display: grid; gap: 20px; }
.product-card { border-radius: 22px; border: 1px solid var(--border); padding: 44px; background: linear-gradient(135deg, rgba(180,120,255,.08), rgba(255,79,160,.05)); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 36px; align-items: center; }
.product-label { display: inline-block; font-family: 'JetBrains Mono', monospace; color: var(--cyan); font-size: 12px; border: 1px solid var(--border); border-radius: 999px; padding: 5px 10px; margin-bottom: 14px; }
.product-card h3 { font-size: clamp(24px, 3vw, 32px); margin-bottom: 12px; }
.product-card p { color: var(--text-muted); max-width: 680px; margin-bottom: 22px; }
.product-actions { display: flex; align-items: center; justify-content: flex-end; }
.curso-list { list-style: none; }
.curso-list li { color: var(--text-muted); font-size: 14.5px; padding-left: 22px; position: relative; margin-bottom: 8px; }
.curso-list li::before { content: "→"; position: absolute; left: 0; color: var(--cyan); }

.mentoria-panel { border: 1px solid var(--border-soft); border-radius: var(--radius); padding: 40px; background: var(--bg-panel); }
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.chip { font-family: 'JetBrains Mono', monospace; font-size: 12.5px; padding: 8px 14px; border-radius: 8px; border: 1px solid var(--border); color: var(--purple); background: rgba(180,120,255,.06); }
.mentoria-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.mentoria-cols h3 { font-size: 15px; color: var(--text); margin-bottom: 14px; font-family: 'JetBrains Mono', monospace; font-weight: 500; letter-spacing: 0; }
.mentoria-cols ul { list-style: none; }
.mentoria-cols li { color: var(--text-muted); font-size: 14.5px; padding-left: 20px; position: relative; margin-bottom: 10px; }
.mentoria-cols li::before { content: "•"; position: absolute; left: 0; color: var(--pink); }
.panel-action { margin-top: 32px; }

.contact-panel { text-align: center; padding: 72px 0; background: radial-gradient(ellipse 600px 300px at 50% 0%, rgba(180,120,255,.12), transparent 70%); border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); }
.contact-panel h2 { font-size: clamp(28px,3.6vw,40px); margin-bottom: 14px; }
.contact-panel > .wrap > p:not(.eyebrow) { color: var(--text-muted); max-width: 560px; margin: 0 auto 30px; }

footer { padding: 40px 0 50px; }
.footer-grid { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a { color: var(--text-muted); text-decoration: none; font-size: 13.5px; font-family: 'JetBrains Mono', monospace; }
.footer-links a:hover { color: var(--cyan); }
.footer-copy { color: var(--text-faint); font-size: 12.5px; font-family: 'JetBrains Mono', monospace; }

.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.show { opacity: 1; transform: none; }

@media (max-width: 760px) {
  .navlinks { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--bg-panel); border-bottom: 1px solid var(--border-soft); max-height: 0; overflow: hidden; transition: max-height .3s ease; }
  .navlinks.open { max-height: 360px; }
  .navlinks a { padding: 16px 24px; display: block; border-top: 1px solid var(--border-soft); }
  .navToggle { display: block; }
  .hero { padding-top: 56px; }
  .hero-grid, .sobre-grid, .mentoria-cols, .product-card { grid-template-columns: 1fr; }
  .hero-photo { order: -1; margin-bottom: 10px; }
  .product-card { padding: 28px; }
  .product-actions { justify-content: flex-start; }
}

@media (max-width: 700px) {
  .cards { grid-template-columns: 1fr; }
  .card-wide { grid-column: auto; }
}

@media (max-width: 520px) {
  .wrap { padding-left: 18px; padding-right: 18px; }
  .hero h1 { font-size: 38px; }
  .hero .lead { font-size: 16px; }
  .cta-row .btn { width: 100%; }
  .mentoria-panel { padding: 28px; }
  .footer-grid { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
