:root{
  --bg: #0b1020;
  --card: rgba(255,255,255,.06);
  --card2: rgba(255,255,255,.08);
  --text: rgba(255,255,255,.92);
  --muted: rgba(255,255,255,.68);
  --line: rgba(255,255,255,.12);

  --brand: #7c5cff;
  --brand2:#18d1ff;
  --ok:#34d399;

  --shadow: 0 18px 60px rgba(0,0,0,.45);
  --radius: 18px;
  --radius2: 26px;

  --max: 1100px;
}

@media (prefers-color-scheme: light){
  :root{
    --bg: #f6f7fb;
    --card: rgba(0,0,0,.04);
    --card2: rgba(0,0,0,.06);
    --text: rgba(0,0,0,.9);
    --muted: rgba(0,0,0,.62);
    --line: rgba(0,0,0,.10);
    --shadow: 0 18px 60px rgba(0,0,0,.12);
  }
}

*{ box-sizing: border-box; }
html,body{ height: 100%; }
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji","Segoe UI Emoji";
  color: var(--text);
  background: radial-gradient(1200px 800px at 10% -10%, rgba(124,92,255,.35), transparent 55%),
              radial-gradient(1200px 800px at 90% 0%, rgba(24,209,255,.25), transparent 55%),
              radial-gradient(900px 700px at 50% 120%, rgba(52,211,153,.15), transparent 55%),
              var(--bg);
  line-height: 1.55;
}
a{ color: inherit; text-decoration:none; }
.container{ width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }

.topbar{
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  background: linear-gradient(to bottom, rgba(0,0,0,.35), rgba(0,0,0,0));
  border-bottom: 1px solid var(--line);
}
@media (prefers-color-scheme: light){
  .topbar{ background: rgba(246,247,251,.7); }
}

.nav{
  display:flex; align-items:center; justify-content:space-between;
  padding: 14px 0;
}
.logo{ display:flex; gap:10px; align-items:center; font-weight: 800; letter-spacing:.2px; }
.dot{
  width:12px; height:12px; border-radius:50%;
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  box-shadow: 0 0 0 6px rgba(124,92,255,.15);
}
.menu{ display:flex; gap: 16px; align-items:center; }
.menu a{ color: var(--muted); font-weight:600; font-size:14px; }
.menu a:hover{ color: var(--text); }

.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  padding: 12px 16px; border-radius: 999px;
  font-weight: 750;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.06);
  transition: transform .08s ease, background .2s ease, border-color .2s ease;
  user-select:none;
  cursor:pointer;
}
.btn:hover{ transform: translateY(-1px); border-color: rgba(255,255,255,.2); background: rgba(255,255,255,.09); }
.btn:active{ transform: translateY(0px); }
.btn-primary{
  border:none;
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  color: white;
  box-shadow: 0 14px 40px rgba(124,92,255,.25);
}
.btn-small{ padding: 9px 12px; font-size: 14px; }

.pill{
  display:inline-flex; gap:10px; align-items:center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  border: 1px solid var(--line);
  color: var(--muted);
  font-weight: 650;
  font-size: 13px;
}
.pill b{ color: var(--text); }

.card{
  background: linear-gradient(180deg, var(--card2), var(--card));
  border: 1px solid var(--line);
  border-radius: var(--radius2);
  box-shadow: var(--shadow);
}
.card-pad{ padding: 18px; }

.hero{ padding: 56px 0 24px; }
.hero-grid{
  display:grid; gap: 22px;
  grid-template-columns: 1.2fr .8fr;
  align-items: stretch;
}
@media (max-width: 900px){
  .hero{ padding-top: 34px; }
  .hero-grid{ grid-template-columns: 1fr; }
  .menu{ display:none; }
}

h1{
  font-size: clamp(30px, 3.6vw, 52px);
  line-height: 1.05;
  margin: 16px 0 10px;
  letter-spacing: -0.5px;
}
h2{ margin: 18px 0 10px; font-size: 20px; letter-spacing: -0.2px; }
h3{ margin: 10px 0 6px; font-size: 18px; }

.lead{
  color: var(--muted);
  font-size: clamp(15px, 1.5vw, 18px);
  margin: 0 0 18px;
  max-width: 65ch;
}
.actions{ display:flex; gap: 12px; flex-wrap: wrap; margin-top: 14px; }

.sep{ height:1px; background: var(--line); margin: 14px 0; }

.section{ padding: 26px 0 10px; }
.kicker{
  color: var(--muted);
  font-weight: 750;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.grid3{
  display:grid; gap: 14px;
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 900px){
  .grid3{ grid-template-columns: 1fr; }
}

.feature{
  padding: 16px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255,255,255,.05);
}
.feature p{ margin: 0; color: var(--muted); font-size: 14px; }

.mini{
  padding: 14px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.05);
}
.mini-title{ font-weight: 800; margin: 0 0 2px; }
.mini-text{ margin: 0; color: var(--muted); font-size: 14px; }

footer{
  padding: 26px 0 40px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  margin-top: 30px;
}
footer a{ color: var(--muted); text-decoration: underline; }
footer a:hover{ color: var(--text); }

/* Form */
.form-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 900px){ .form-grid{ grid-template-columns: 1fr; } }

label{ display:block; font-weight:700; margin: 12px 0 6px; }
input, textarea{
  width:100%;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.06);
  color: var(--text);
  outline: none;
}
textarea{ min-height: 120px; resize: vertical; }
.helper{ color: var(--muted); font-size: 13px; margin-top: 6px; }

.notice{
  border: 1px solid var(--line);
  background: rgba(255,255,255,.05);
  border-radius: 16px;
  padding: 12px 14px;
  color: var(--muted);
  font-size: 14px;
}
.notice b{ color: var(--text); }

/* Animations / Spinner */
@keyframes popIn {
  from { transform: translateY(8px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.pop-in { animation: popIn .35s ease both; }

.spinner{
  width: 16px; height: 16px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.35);
  border-top-color: rgba(255,255,255,.9);
  display:inline-block;
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Floating WhatsApp Button */
.wa-float{
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 9999;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  display:flex;
  align-items:center;
  justify-content:center;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, var(--ok), rgba(24,209,255,.85));
  box-shadow: var(--shadow);
  color: rgba(0,0,0,.85);
  font-size: 22px;
  transform: translateZ(0);
}
.wa-float:hover{ filter: brightness(1.03); transform: translateY(-1px); }
.wa-float:active{ transform: translateY(0px); }

.wa-float-hint{
  position: fixed;
  right: 18px;
  bottom: 82px;
  z-index: 9999;
  max-width: 260px;
  padding: 10px 12px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(10,14,28,.82);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
  display:none;
}
@media (prefers-color-scheme: light){
  .wa-float-hint{ background: rgba(246,247,251,.92); }
}

/* Manual theme override */
html[data-theme="dark"]{ color-scheme: dark; }
html[data-theme="light"]{
  color-scheme: light;
  --bg: #f6f7fb;
  --card: rgba(0,0,0,.04);
  --card2: rgba(0,0,0,.06);
  --text: rgba(0,0,0,.9);
  --muted: rgba(0,0,0,.62);
  --line: rgba(0,0,0,.10);
  --shadow: 0 18px 60px rgba(0,0,0,.12);
}
