@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;0,9..40,800;0,9..40,900&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black:  #0a0a0a;
  --white:  #f5f4f0;
  --accent: #c2f000;
  --mid:    #2a2a2a;
  --subtle: #888;
  --border: rgba(245,244,240,0.1);
}

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ─── NAV ─── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 48px;
  transition: background 0.3s ease, backdrop-filter 0.3s ease,
              padding 0.3s ease, border-bottom 0.3s ease;
}

nav.scrolled {
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 14px 48px;
}

.logo-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.logo {
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 0;
  color: var(--white);
  text-decoration: none;
  line-height: 1;
}

.logo span { color: var(--accent); }

.header-tagline {
  font-size: 10px;
  font-weight: 400;
  color: var(--subtle);
  letter-spacing: 0.04em;
  line-height: 1;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.lang-toggle {
  display: flex;
  align-items: center;
}

.lang-btn {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: var(--subtle);
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 6px;
  transition: color 0.2s;
  letter-spacing: 0;
}

.lang-btn.active               { color: var(--white); }
.lang-btn:hover:not(.active)   { color: var(--white); opacity: 0.7; }

.lang-sep {
  font-size: 11px;
  color: var(--border);
  pointer-events: none;
}

nav a.cta-nav {
  font-size: 13px;
  font-weight: 600;
  color: var(--black);
  background: var(--accent);
  padding: 10px 20px;
  border-radius: 2px;
  text-decoration: none;
  letter-spacing: 0;
  transition: opacity 0.2s;
}

nav a.cta-nav:hover { opacity: 0.85; }

/* ─── HERO ─── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 48px 80px;
  max-width: 1100px;
  margin: 0 auto;
  overflow: hidden;
}

#hero-canvas {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
}

.hero > *:not(#hero-canvas) {
  position: relative;
  z-index: 1;
}

.eyebrow {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--accent);
  margin-bottom: 40px;
  opacity: 0;
  animation: fadeUp 0.6s 0.2s forwards;
}

.hero-headline {
  font-weight: 800;
  font-size: clamp(52px, 8vw, 108px);
  line-height: 1.0;
  letter-spacing: 0;
  margin-bottom: 32px;
  opacity: 0;
  animation: fadeUp 0.7s 0.35s forwards;
}

.hero-headline .line2 {
  display: block;
  color: var(--subtle);
}

.hero-headline .rotating-wrap {
  display: block;
  height: 1.3em;
  font-size: 1.25em;
  line-height: 1.3;
  position: relative;
  overflow: hidden;
}

.rotating-word {
  position: absolute;
  top: 0; left: 0;
  opacity: 0;
  color: var(--accent);
  transition: opacity 0.7s ease;
  white-space: nowrap;
}

.rotating-word.active { opacity: 1; }

.hero-sub {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--subtle);
  font-weight: 300;
  max-width: 520px;
  margin-bottom: 56px;
  opacity: 0;
  animation: fadeUp 0.7s 0.5s forwards;
}

.hero-sub strong { color: var(--white); font-weight: 600; }

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  opacity: 0;
  animation: fadeUp 0.7s 0.65s forwards;
}

.btn-primary {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--black);
  background: var(--accent);
  border: none;
  padding: 16px 32px;
  border-radius: 2px;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.2s;
  letter-spacing: 0;
}

.btn-primary:hover { opacity: 0.9; transform: translateY(-1px); }

.btn-ghost {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: var(--subtle);
  background: none;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: color 0.2s;
}

.btn-ghost:hover { color: var(--white); }

/* ─── DIVIDER ─── */
.divider {
  width: 100%;
  height: 1px;
  background: var(--border);
  max-width: 1100px;
  margin: 0 auto;
}

/* ─── PAIN ─── */
.pain {
  max-width: 1100px;
  margin: 0 auto;
  padding: 120px 48px;
}

.section-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--subtle);
  margin-bottom: 64px;
}

.questions-list {
  list-style: none;
  display: flex;
  flex-direction: column;
}

.questions-list li {
  font-size: clamp(22px, 3.5vw, 38px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0;
  padding: 36px 0;
  border-bottom: 1px solid var(--border);
  color: var(--white);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s, transform 0.5s;
}

.questions-list li.visible        { opacity: 1; transform: translateY(0); }
.questions-list li:first-child    { border-top: 1px solid var(--border); }
.questions-list li em             { font-style: normal; color: var(--subtle); }

/* ─── BRIDGE ─── */
.bridge {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 48px 120px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.bridge-left {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0;
}

.bridge-left .highlight { color: var(--accent); }

.bridge-right {
  font-size: 17px;
  color: var(--subtle);
  font-weight: 300;
  line-height: 1.8;
}

.bridge-right strong { color: var(--white); font-weight: 600; }

/* ─── QUESTIONNAIRE ─── */
.questionnaire {
  background: var(--mid);
  padding: 80px 48px;
}

.q-inner {
  max-width: 700px;
  margin: 0 auto;
}

.q-header { margin-bottom: 56px; }

.q-header h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.15;
  margin-bottom: 16px;
}

.q-header p {
  color: var(--subtle);
  font-size: 15px;
  font-weight: 400;
}

.q-steps {
  display: flex;
  gap: 6px;
  margin-bottom: 48px;
}

.q-step-dot {
  height: 3px;
  flex: 1;
  background: var(--border);
  border-radius: 2px;
  transition: background 0.3s;
}

.q-step-dot.active { background: var(--accent); }
.q-step-dot.done   { background: rgba(194,240,0,0.4); }

.q-screen        { display: none; }
.q-screen.active { display: block; }

.q-question {
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 700;
  letter-spacing: 0;
  margin-bottom: 32px;
  line-height: 1.25;
}

.q-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 40px;
}

.q-option {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border: 1px solid var(--border);
  border-radius: 4px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  font-size: 15px;
  font-weight: 400;
  color: var(--white);
  background: transparent;
  text-align: left;
  width: 100%;
  font-family: 'DM Sans', sans-serif;
  letter-spacing: 0;
}

.q-option:hover    { border-color: rgba(194,240,0,0.4); background: rgba(194,240,0,0.04); }
.q-option.selected { border-color: var(--accent);       background: rgba(194,240,0,0.08); }

.q-option-icon {
  width: 18px; height: 18px;
  border: 1.5px solid var(--subtle);
  border-radius: 50%;
  flex-shrink: 0;
  transition: border-color 0.2s, background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.q-option.selected .q-option-icon            { border-color: var(--accent); background: var(--accent); }
.q-option.selected .q-option-icon::after     { content: ''; width: 6px; height: 6px; background: var(--black); border-radius: 50%; }

.q-input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border);
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-size: 17px;
  font-weight: 300;
  padding: 12px 0;
  outline: none;
  transition: border-color 0.2s;
  margin-bottom: 40px;
  letter-spacing: 0;
}

.q-input::placeholder { color: var(--subtle); }
.q-input:focus        { border-color: var(--accent); }

.q-input-label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--subtle);
  margin-bottom: 12px;
  display: block;
}

.q-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.btn-next {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--black);
  background: var(--accent);
  border: none;
  padding: 14px 28px;
  border-radius: 2px;
  cursor: pointer;
  transition: opacity 0.2s;
  letter-spacing: 0;
}

.btn-next:hover    { opacity: 0.85; }
.btn-next:disabled { opacity: 0.3; cursor: default; }

.btn-back {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: var(--subtle);
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s;
  letter-spacing: 0;
}

.btn-back:hover { color: var(--white); }

/* ─── THANK YOU ─── */
.thankyou { text-align: center; padding: 40px 0; }

.thankyou h3 {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: 0;
  margin-bottom: 16px;
}

.thankyou p {
  color: var(--subtle);
  font-size: 16px;
  font-weight: 400;
  max-width: 400px;
  margin: 0 auto;
}

.thankyou .accent-dot {
  display: inline-block;
  width: 48px; height: 48px;
  background: var(--accent);
  border-radius: 50%;
  margin-bottom: 32px;
}

/* ─── FOOTER ─── */
footer {
  max-width: 1100px;
  margin: 0 auto;
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border);
}

footer .logo { font-size: 16px; }

footer p {
  font-size: 12px;
  font-weight: 400;
  color: var(--subtle);
}

.powered-by {
  display: flex;
  align-items: center;
  gap: 10px;
}

.powered-by img {
  width: 28px; height: 28px;
  border-radius: 7px;
  display: block;
}

.powered-by-text {
  font-size: 11px;
  font-weight: 500;
  color: var(--subtle);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.powered-by-text strong { color: var(--accent); font-weight: 700; }

/* ─── ANIMATIONS ─── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
  nav                  { padding: 16px 24px; }
  nav.scrolled         { padding: 12px 24px; }
  .header-tagline      { display: none; }
  .hero                { padding: 100px 24px 60px; }
  .pain                { padding: 80px 24px; }
  .bridge              { padding: 60px 24px 80px; grid-template-columns: 1fr; gap: 40px; }
  .questionnaire       { padding: 60px 24px; }
  footer               { padding: 32px 24px; flex-direction: column; gap: 20px; text-align: center; }
  .powered-by          { justify-content: center; }
}
