/* ===== Emvixa — base styles ===== */

:root {
  --bg: #0B0B0F;
  --bg-raised: #121218;
  --bg-raised-2: #1A1A22;
  --border: #26262F;
  --border-strong: #34343F;
  --text: #F5F3F6;
  --text-muted: #B3A4AC;
  --text-dim: #8A8894;
  --orange: #FF8A3D;
  --pink: #EA3E7E;
  --pink-soft: #F06C9C;
  --radius: 14px;
  --radius-sm: 9px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

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

h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -0.02em; }

p { margin: 0; }

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

.accent { color: var(--orange); }

/* ===== Header ===== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(11, 11, 15, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
}

.brand img {
  height: 30px;
  width: 30px;
  border-radius: 7px;
  object-fit: cover;
}

/* ===== Hero ===== */

.faint-bg {
  position: relative;
  overflow: hidden;
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
}

.hero .glow.g1 {
  width: 460px;
  height: 460px;
  background: var(--orange);
  top: -160px;
  left: -120px;
}

.hero .glow.g2 {
  width: 420px;
  height: 420px;
  background: var(--pink);
  top: 60px;
  right: -140px;
}

.final-cta .glow {
  width: 520px;
  height: 520px;
  background: var(--orange);
  top: -220px;
  left: 50%;
  transform: translateX(-50%);
}

.hero {
  padding: 88px 0 96px;
}

.hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 760px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1px solid var(--border-strong);
  background: var(--bg-raised);
  border-radius: 999px;
  font-size: 13.5px;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.hero h1 {
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.12;
  margin-bottom: 20px;
}

.hero .lede {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 44px;
}

/* ===== Funnel ===== */

.funnel {
  position: relative;
  z-index: 1;
  max-width: 560px;
  margin: 0 auto;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: left;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
}

.funnel-progress {
  height: 4px;
  background: var(--bg-raised-2);
}

.funnel-progress-bar {
  height: 100%;
  width: 20%;
  background: linear-gradient(90deg, var(--orange), var(--pink));
  transition: width 0.35s ease;
}

.funnel-body {
  padding: 32px 28px 28px;
}

.funnel-step { display: none; }
.funnel-step.active { display: block; animation: fadeIn 0.25s ease; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.funnel-eyebrow {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}

.funnel-step h3 {
  font-size: 22px;
  margin-bottom: 8px;
}

.funnel-hint {
  font-size: 14px;
  color: var(--text-dim);
  margin-bottom: 22px;
}

.option-btn {
  display: block;
  width: 100%;
  text-align: left;
  padding: 14px 16px;
  margin-bottom: 10px;
  background: var(--bg-raised-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.1s ease;
}

.option-btn:hover {
  border-color: var(--orange);
  background: #201A16;
}

.option-btn:active { transform: scale(0.99); }

.go-back {
  display: inline-block;
  margin-top: 6px;
  background: none;
  border: none;
  color: var(--text-dim);
  font-family: var(--font);
  font-size: 13.5px;
  cursor: pointer;
  padding: 6px 0;
}

.go-back:hover { color: var(--text-muted); }

.funnel-success {
  text-align: center;
  padding: 8px 0 4px;
}

.check {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 138, 61, 0.12);
  border: 1px solid rgba(255, 138, 61, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.funnel-success h3 {
  font-size: 21px;
  margin-bottom: 10px;
}

.funnel-success p {
  font-size: 14.5px;
  color: var(--text-muted);
  max-width: 420px;
  margin: 0 auto;
}

.field-group {
  margin-bottom: 16px;
}

.field-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.field-group input {
  width: 100%;
  padding: 12px 14px;
  background: var(--bg-raised-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  outline: none;
  transition: border-color 0.15s ease;
}

.field-group input::placeholder { color: var(--text-dim); }

.field-group input:focus {
  border-color: var(--orange);
}

.funnel-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
}

.submit-btn {
  padding: 13px 24px;
  background: linear-gradient(90deg, var(--orange), var(--pink));
  border: none;
  border-radius: var(--radius-sm);
  color: #14100E;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.15s ease, transform 0.1s ease;
}

.submit-btn:hover { opacity: 0.92; }
.submit-btn:active { transform: scale(0.98); }

.calendar-slot { margin-top: 20px; }

.calendar-slot .note {
  text-align: center;
  font-size: 13px;
  color: var(--text-dim);
  margin-top: 12px;
}

/* ===== Stats ===== */

.stats {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-raised);
}

.stats .wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding: 40px 24px;
  text-align: center;
}

.stat-num {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.stat-label {
  margin-top: 6px;
  font-size: 14px;
  color: var(--text-muted);
}

/* ===== Sections ===== */

.section { padding: 88px 0; }

.section-head {
  max-width: 620px;
  margin: 0 auto 52px;
  text-align: center;
}

.kicker {
  font-size: 13px;
  font-weight: 700;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.section-head h2 {
  font-size: clamp(26px, 3.6vw, 36px);
  margin-bottom: 14px;
}

.section-head p {
  color: var(--text-muted);
  font-size: 16px;
}

/* Process */

.process-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.process-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.process-num {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-raised-2);
  border: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--orange);
}

.process-copy h3 {
  font-size: 18px;
  margin-bottom: 6px;
}

.process-copy p {
  color: var(--text-muted);
  font-size: 15px;
}

/* Value grid */

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.value-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
}

.value-card .icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--bg-raised-2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.value-card h3 {
  font-size: 16.5px;
  margin-bottom: 8px;
}

.value-card p {
  font-size: 14.5px;
  color: var(--text-muted);
}

/* FAQ */

.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 4px;
  background: none;
  border: none;
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.plus {
  flex: none;
  position: relative;
  width: 16px;
  height: 16px;
}

.plus::before, .plus::after {
  content: "";
  position: absolute;
  background: var(--orange);
  border-radius: 2px;
  transition: transform 0.2s ease;
}

.plus::before {
  width: 16px;
  height: 2px;
  top: 7px;
  left: 0;
}

.plus::after {
  width: 2px;
  height: 16px;
  top: 0;
  left: 7px;
}

.faq-item.open .plus::after {
  transform: rotate(90deg);
  opacity: 0;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}

.faq-answer p {
  padding: 0 4px 20px;
  color: var(--text-muted);
  font-size: 14.5px;
}

/* Final CTA */

.final-cta {
  padding: 90px 0;
  text-align: center;
}

.final-cta .wrap {
  position: relative;
  z-index: 1;
}

.final-cta h2 {
  font-size: clamp(26px, 3.8vw, 38px);
  max-width: 640px;
  margin: 0 auto;
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
}

.site-footer .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: var(--text-dim);
}

.footer-brand img {
  height: 22px;
  width: 22px;
  border-radius: 6px;
}

.footer-links {
  display: flex;
  gap: 20px;
  font-size: 13.5px;
  color: var(--text-dim);
}

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

/* ===== Legal pages ===== */

.legal {
  padding: 64px 0 96px;
}

.legal .wrap {
  max-width: 760px;
}

.legal h1 {
  font-size: clamp(28px, 4vw, 38px);
  margin-bottom: 8px;
}

.legal .updated {
  color: var(--text-dim);
  font-size: 14px;
  margin-bottom: 36px;
}

.legal h2 {
  font-size: 21px;
  margin: 40px 0 14px;
}

.legal h3 {
  font-size: 17px;
  margin: 28px 0 10px;
}

.legal p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 14px;
}

.legal ul {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
  margin: 0 0 14px;
  padding-left: 22px;
}

.legal li {
  margin-bottom: 6px;
}

.legal a {
  color: var(--orange);
  text-decoration: underline;
}

/* ===== Responsive ===== */

@media (max-width: 760px) {
  .value-grid { grid-template-columns: 1fr; }
  .stats .wrap { grid-template-columns: 1fr 1fr; padding: 32px 24px; }
  .hero { padding: 64px 0 72px; }
  .section { padding: 64px 0; }
  .funnel-body { padding: 26px 20px 22px; }
  .site-footer .wrap { flex-direction: column; text-align: center; }
}
