:root {
  --bg: #060309;
  --bg-raised: #0d0714;
  --bg-card: #120a1c;
  --border: #241735;
  --border-hover: #3a2456;

  --violet: #a855f7;
  --violet-bright: #c084fc;
  --violet-dim: #6b21a8;
  --violet-glow: rgba(168, 85, 247, 0.16);

  --green: #22ff88;

  --text: #f1edf7;
  --text-dim: #9a8fb0;
  --text-dimmer: #5c5470;

  --font-display: "Space Grotesk", sans-serif;
  --font-body: "Inter", sans-serif;
  --font-mono: "JetBrains Mono", monospace;

  --radius: 14px;
  --radius-sm: 8px;
  --max: 1100px;
}

[data-theme="light"] {
  --bg: #f7f5fb;
  --bg-raised: #ffffff;
  --bg-card: #ffffff;
  --border: #e3ddef;
  --border-hover: #cabdE0;
  --text: #1a1424;
  --text-dim: #5c5470;
  --text-dimmer: #8f87a0;
}

* { 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.55; -webkit-font-smoothing: antialiased;
  background-image: radial-gradient(ellipse 900px 500px at 85% -10%, var(--violet-glow), transparent 60%);
  background-repeat: no-repeat;
  transition: background-color .2s, color .2s;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

.eyebrow {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--violet-bright); display: inline-flex; align-items: center; gap: 8px;
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--violet-bright); box-shadow: 0 0 8px var(--violet-bright); }

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; }
h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
p { color: var(--text-dim); }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 85%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 16px 24px; max-width: var(--max); margin: 0 auto; }
.brand { font-family: var(--font-mono); font-weight: 500; font-size: 14px; }
.brand .prompt { color: var(--violet-bright); }
.nav-links { display: flex; gap: 26px; font-size: 14px; color: var(--text-dim); }
.nav-links a:hover { color: var(--text); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.theme-btn { background: none; border: 1px solid var(--border); border-radius: var(--radius-sm); width: 36px; height: 36px; color: var(--text); cursor: pointer; }
.menu-btn { display: none; background: none; border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 8px 10px; color: var(--text); cursor: pointer; }
@media (max-width: 800px) { .nav-links { display: none; } .menu-btn { display: block; } }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 600; font-size: 14px; padding: 12px 22px; border-radius: var(--radius-sm); border: 1px solid transparent; cursor: pointer; transition: transform .15s, box-shadow .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-violet { background: var(--violet); color: #0d0714; }
.btn-violet:hover { box-shadow: 0 6px 24px var(--violet-glow); }
.btn-ghost { background: transparent; border-color: var(--border); color: var(--text); }
.btn-ghost:hover { border-color: var(--border-hover); }
.btn-whatsapp { background: #25D366; color: #04150a; }

/* ---------- Sections ---------- */
section { padding: 84px 0; }
.section-head { max-width: 560px; margin-bottom: 40px; }
.section-head h2 { margin-top: 12px; }

.grid { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 760px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }

.card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; transition: border-color .2s, transform .2s; }
.card:hover { border-color: var(--border-hover); transform: translateY(-2px); }
.card .icon { width: 38px; height: 38px; border-radius: 10px; display: flex; align-items: center; justify-content: center; background: var(--violet-glow); color: var(--violet-bright); margin-bottom: 14px; font-size: 18px; }
.card h3 { margin-bottom: 8px; font-size: 16px; }
.card p { font-size: 13.5px; }

.tag { font-family: var(--font-mono); font-size: 11px; padding: 5px 10px; border-radius: 999px; border: 1px solid var(--border); color: var(--text-dim); }

/* ---------- Hero ---------- */
.hero { padding-top: 60px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
@media (max-width: 880px) { .hero-grid { grid-template-columns: 1fr; } }
.hero-frame { position: relative; border-radius: 20px; overflow: hidden; border: 1px solid var(--border); box-shadow: 0 0 60px var(--violet-glow); }
.hero-frame img { width: 100%; display: block; }
.terminal-chip {
  position: absolute; font-family: var(--font-mono); font-size: 10.5px; color: var(--green);
  background: rgba(6,3,9,0.75); border: 1px solid rgba(34,255,136,0.3); border-radius: 6px; padding: 6px 9px;
  backdrop-filter: blur(3px);
}
.chip-1 { top: 14px; left: 14px; }
.chip-2 { bottom: 14px; right: 14px; color: var(--violet-bright); border-color: rgba(168,85,247,0.4); }

.chip-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }

/* ---------- Terminal block ---------- */
.term { background: var(--bg-raised); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 20px; font-family: var(--font-mono); font-size: 12.5px; }
.term .line { margin-bottom: 6px; color: var(--text-dim); }
.term .line .prompt { color: var(--green); margin-right: 8px; }
.term .line.ok { color: var(--green); }

/* ---------- Footer ---------- */
footer { border-top: 1px solid var(--border); padding: 40px 0; margin-top: 20px; }
.footer-row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; font-size: 13px; color: var(--text-dimmer); }
.socials { display: flex; gap: 12px; }
.socials a { width: 34px; height: 34px; border: 1px solid var(--border); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--text-dim); transition: all .15s; }
.socials a:hover { border-color: var(--violet); color: var(--violet-bright); }

/* ---------- Form ---------- */
.form-field { margin-bottom: 16px; }
.form-field label { display: block; font-size: 13px; color: var(--text-dim); margin-bottom: 7px; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; background: var(--bg-raised); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 11px 13px; color: var(--text); font-family: var(--font-body); font-size: 14px;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--violet); outline: none; }

.mt-8{margin-top:8px} .mt-12{margin-top:12px} .mt-24{margin-top:24px} .mt-40{margin-top:40px}
.center{text-align:center;margin-left:auto;margin-right:auto}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .card, .btn { transition: none; } }
