/* ============================================================
   KAIDAN Landing Page — Design System & Styles
   ============================================================ */

/* ---- CSS Custom Properties (Design Tokens) ---- */
:root {
  /* Brand Colors */
  --primary: #36B399;
  --primary-dark: #2A9A83;
  --primary-light: #AEFFDE;
  --primary-ghost: rgba(54, 179, 153, 0.08);
  --primary-glow: rgba(54, 179, 153, 0.35);

  /* Surfaces */
  --bg: #FAFCFE;
  --surface: #FFFFFF;
  --ice-blue: #E4F1FF;

  /* Text */
  --text-primary: #333333;
  --text-secondary: #6B7A8D;
  --text-muted: #94A3B8;

  /* Utility */
  --border: #E2E8F0;
  --accent-coral: #F97066;

  /* Spacing */
  --section-pad-y: clamp(80px, 10vw, 140px);
  --section-pad-x: clamp(20px, 5vw, 80px);
  --container-max: 1140px;

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.06);
  --shadow-glow: 0 0 30px var(--primary-glow);

  /* Transitions */
  --ease-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-base: 0.3s var(--ease-smooth);
}

/* ---- Reset & Base ---- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-primary);
  background: var(--bg);
  overflow-x: hidden;
}

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

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition-base);
}

a:hover {
  color: var(--primary-dark);
}

/* ---- Typography ---- */
.font-brand {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
}

h1, h2, h3, h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
}

h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  letter-spacing: -0.02em;
}

h3 {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
}

p {
  color: var(--text-secondary);
}

/* ---- Layout ---- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--section-pad-x);
}

section {
  padding: var(--section-pad-y) 0;
  position: relative;
}

/* ---- Ambient Background Blobs ---- */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
}

.blob--mint {
  background: var(--primary-light);
}

.blob--ice {
  background: var(--ice-blue);
}

/* ---- Section Label (Overline) ---- */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-ghost);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 20px;
}

.section-title {
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  line-height: 1.7;
}

.text-center {
  text-align: center;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 0;
  transition: background var(--transition-base), box-shadow var(--transition-base), padding var(--transition-base);
}

.nav.scrolled {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 12px rgba(0,0,0,0.06);
  padding: 10px 0;
}

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

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

.nav__logo img {
  width: 36px;
  height: 36px;
}

.nav__logo-text {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--primary);
  letter-spacing: 0.04em;
}

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  border: 1.5px solid var(--primary);
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  transition: all var(--transition-base);
}

.nav__cta:hover {
  background: var(--primary);
  color: #fff;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 100px;
  position: relative;
  overflow: hidden;
}

.hero .blob--1 {
  width: 600px;
  height: 600px;
  top: -150px;
  right: -200px;
}

.hero .blob--2 {
  width: 500px;
  height: 500px;
  bottom: -100px;
  left: -200px;
}

.hero .blob--3 {
  width: 350px;
  height: 350px;
  top: 40%;
  left: 50%;
  transform: translateX(-50%);
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 750px;
  margin: 0 auto;
}

.hero__logo {
  width: 90px;
  height: 90px;
  margin: 0 auto 16px;
  animation: floatIn 1s var(--ease-smooth) both;
}

.hero__brand {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--primary);
  letter-spacing: 0.06em;
  margin-bottom: 32px;
  animation: floatIn 1s 0.15s var(--ease-smooth) both;
}

.hero__headline {
  margin-bottom: 20px;
  animation: floatIn 1s 0.3s var(--ease-smooth) both;
}

.hero__headline .accent {
  background: linear-gradient(135deg, var(--primary), #2dd4bf);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__sub {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: var(--text-secondary);
  max-width: 580px;
  margin: 0 auto 40px;
  line-height: 1.75;
  animation: floatIn 1s 0.45s var(--ease-smooth) both;
}

/* Email Form */
.email-form {
  display: flex;
  gap: 12px;
  max-width: 480px;
  margin: 0 auto 20px;
  animation: floatIn 1s 0.6s var(--ease-smooth) both;
}

.email-form__input {
  flex: 1;
  padding: 14px 20px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  color: var(--text-primary);
  outline: none;
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.email-form__input::placeholder {
  color: var(--text-muted);
}

.email-form__input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-ghost);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  background: var(--primary);
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition-base);
  position: relative;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: calc(var(--radius-md) + 3px);
  background: var(--primary);
  opacity: 0;
  filter: blur(12px);
  z-index: -1;
  transition: opacity 0.4s ease;
  animation: breathe 3s ease-in-out infinite;
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover::before {
  opacity: 0.5;
}

.btn-primary:active {
  transform: translateY(0);
}

@keyframes breathe {
  0%, 100% { opacity: 0.15; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(1.04); }
}

.hero__proof {
  font-size: 0.85rem;
  color: var(--text-muted);
  animation: floatIn 1s 0.75s var(--ease-smooth) both;
}

.hero__proof .dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
  margin-right: 8px;
  vertical-align: middle;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.4); }
}

/* Coming Soon Badge */
.coming-soon-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary-dark);
  background: var(--primary-ghost);
  border: 1.5px solid rgba(54, 179, 153, 0.2);
  border-radius: var(--radius-pill);
  animation: floatIn 1s 0.6s var(--ease-smooth) both;
}

.coming-soon-badge__dot {
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  flex-shrink: 0;
  animation: pulse-dot 2s ease-in-out infinite;
}

/* ---- Hero Mockup ---- */
.hero__mockup {
  max-width: 780px;
  margin: 48px auto 0;
  animation: floatIn 1.2s 0.8s var(--ease-smooth) both;
}

.hero__mockup-img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 80px rgba(0,0,0,0.1), 0 4px 20px rgba(54,179,153,0.08);
}

/* ============================================================
   STATS BANNER — Dark accent
   ============================================================ */
.stats-banner {
  background: var(--text-primary);
  padding: 56px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  text-align: center;
}

.stat-item__number {
  display: block;
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-item__label {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.5;
}

/* ============================================================
   SEE IT IN ACTION
   ============================================================ */
.see-action {
  padding: var(--section-pad-y) 0;
}

.see-action__visual {
  max-width: 720px;
  margin: 48px auto 0;
}

.see-action__img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 60px rgba(0,0,0,0.08);
}

/* ============================================================
   POLL RESULTS (bar chart)
   ============================================================ */
.poll-results {
  width: 100%;
  max-width: 520px;
  margin: 24px auto 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.poll-result-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.poll-result-row__label {
  flex: 0 0 160px;
  text-align: right;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.poll-result-row__bar-wrap {
  flex: 1;
  background: var(--border);
  border-radius: var(--radius-pill);
  height: 22px;
  overflow: hidden;
  position: relative;
}

.poll-result-row__bar {
  height: 100%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: var(--radius-pill);
  min-width: 2px;
  transition: width 1s var(--ease-smooth);
}

.poll-result-row__bar.user-vote {
  background: linear-gradient(135deg, var(--primary), #2dd4bf);
}

.poll-result-row__pct {
  flex: 0 0 40px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary-dark);
  text-align: left;
}

@media (max-width: 768px) {
  .stats-grid { grid-template-columns: 1fr; gap: 32px; }
  .stat-item__number { font-size: 2.2rem; }
  .poll-result-row__label { flex: 0 0 100px; font-size: 0.75rem; }
}

@media (max-width: 480px) {
  .hero__mockup { margin-top: 32px; }
  .poll-result-row { flex-wrap: wrap; }
  .poll-result-row__label { flex: 1 1 100%; text-align: left; }
}

/* ---- Signup Flow (Two-Step) ---- */
.signup-flow {
  max-width: 540px;
  margin: 0 auto 20px;
  animation: floatIn 1s 0.6s var(--ease-smooth) both;
}

.text-muted {
  color: var(--text-muted);
  font-weight: 400;
}

/* Survey Panel */
.survey-panel {
  display: none;
  text-align: left;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  animation: surveySlideIn 0.5s var(--ease-smooth) both;
}

.survey-panel.visible {
  display: block;
}

@keyframes surveySlideIn {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.survey-panel__header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--primary-dark);
  margin-bottom: 4px;
}

.survey-panel__prompt {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

/* Survey Fields */
.survey-field {
  margin-bottom: 24px;
}

.survey-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 10px;
}

/* Role Pills (single-select) */
.survey-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.survey-pill {
  padding: 8px 16px;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all var(--transition-base);
}

.survey-pill:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.survey-pill.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* Use-case Checkboxes */
.survey-checks {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.survey-check {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  cursor: pointer;
  font-size: 0.88rem;
  color: var(--text-secondary);
  transition: all var(--transition-base);
}

.survey-check:hover {
  border-color: var(--primary);
  background: var(--primary-ghost);
}

.survey-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
  cursor: pointer;
  flex-shrink: 0;
}

.survey-check:has(input:checked) {
  border-color: var(--primary);
  background: var(--primary-ghost);
  color: var(--text-primary);
  font-weight: 500;
}

/* Textarea */
.survey-textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: var(--text-primary);
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  outline: none;
  resize: vertical;
  min-height: 80px;
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.survey-textarea::placeholder {
  color: var(--text-muted);
}

.survey-textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-ghost);
}

/* Survey Submit Button */
.btn-survey-submit {
  width: 100%;
  justify-content: center;
  margin-top: 4px;
}

/* Skip Button */
.survey-skip {
  display: block;
  margin: 12px auto 0;
  padding: 8px 16px;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  background: none;
  border: none;
  cursor: pointer;
  transition: color var(--transition-base);
}

.survey-skip:hover {
  color: var(--primary);
}

/* Thank You State */
.survey-thanks {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 40px 24px;
  text-align: center;
  animation: surveySlideIn 0.5s var(--ease-smooth) both;
}

.survey-thanks.visible {
  display: flex;
}

.survey-thanks__title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--text-primary);
}

.survey-thanks__sub {
  font-size: 0.95rem;
  color: var(--text-secondary);
  max-width: 360px;
}

/* ============================================================
   FEATURES SECTION
   ============================================================ */
.features {
  background: var(--surface);
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.feature-card {
  position: relative;
  padding: 36px 32px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  opacity: 0;
  transition: opacity var(--transition-base);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-ghost);
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  color: var(--primary);
  transition: all var(--transition-base);
}

.feature-card:hover .feature-card__icon {
  background: var(--primary);
  color: #fff;
}

.feature-card__icon svg {
  width: 24px;
  height: 24px;
  stroke-width: 1.8;
}

.feature-card__title {
  margin-bottom: 8px;
  font-size: 1.15rem;
}

.feature-card__desc {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-secondary);
}

/* ============================================================
   HOW IT WORKS SECTION
   ============================================================ */
.how-it-works {
  background: var(--bg);
  position: relative;
  overflow: hidden;
}

.how-it-works .blob--hw {
  width: 400px;
  height: 400px;
  bottom: -100px;
  right: -100px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 56px;
  position: relative;
  z-index: 1;
}

/* Connecting line */
.steps::before {
  content: '';
  position: absolute;
  top: 44px;
  left: calc(16.66% + 24px);
  right: calc(16.66% + 24px);
  height: 2px;
  background: linear-gradient(90deg, var(--primary-light), var(--primary), var(--primary-light));
  z-index: 0;
}

.step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step__number {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--primary);
  background: var(--surface);
  border: 2px solid var(--primary);
  border-radius: 50%;
  transition: all var(--transition-base);
}

.step:hover .step__number {
  background: var(--primary);
  color: #fff;
  transform: scale(1.1);
}

.step__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  color: var(--primary);
}

.step__icon svg {
  width: 28px;
  height: 28px;
  stroke-width: 1.6;
}

.step__title {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.step__desc {
  font-size: 0.93rem;
  color: var(--text-secondary);
  max-width: 260px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ============================================================
   BUILT FOR SECTION
   ============================================================ */
.built-for {
  background: var(--surface);
}

.audience-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 48px;
}

.audience-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-primary);
  transition: all var(--transition-base);
}

.audience-pill:hover {
  border-color: var(--primary);
  background: var(--primary-ghost);
  color: var(--primary);
  transform: translateY(-2px);
}

.audience-pill svg {
  width: 20px;
  height: 20px;
  color: var(--primary);
  stroke-width: 1.8;
}

/* ============================================================
   FINAL CTA SECTION
   ============================================================ */
.final-cta {
  background: linear-gradient(180deg, var(--bg) 0%, var(--ice-blue) 100%);
  position: relative;
  overflow: hidden;
}

.final-cta .blob--fc1 {
  width: 500px;
  height: 500px;
  top: -200px;
  left: -150px;
}

.final-cta .blob--fc2 {
  width: 400px;
  height: 400px;
  bottom: -150px;
  right: -100px;
}

.final-cta__content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}

.final-cta__headline {
  margin-bottom: 16px;
}

.final-cta__sub {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 36px;
  line-height: 1.7;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
}

.social-link {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--border);
  border-radius: 50%;
  color: var(--text-secondary);
  transition: all var(--transition-base);
}

.social-link:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-ghost);
  transform: translateY(-2px);
}

.social-link svg {
  width: 18px;
  height: 18px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  padding: 32px 0;
  text-align: center;
  border-top: 1px solid var(--border);
  background: var(--surface);
}

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

.footer__copy {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer__links {
  display: flex;
  gap: 24px;
}

.footer__links a {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: color var(--transition-base);
}

.footer__links a:hover {
  color: var(--primary);
}

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

/* Scroll-triggered fade-in */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s var(--ease-smooth), transform 0.7s var(--ease-smooth);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  .features__grid {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .steps::before {
    display: none;
  }

  .email-form {
    flex-direction: column;
  }

  .email-form__input,
  .btn-primary {
    width: 100%;
    justify-content: center;
  }

  .nav__cta {
    padding: 6px 14px;
    font-size: 0.8rem;
  }

  .survey-panel {
    padding: 24px 20px;
  }

  .survey-pills {
    gap: 6px;
  }

  .survey-pill {
    font-size: 0.8rem;
    padding: 6px 12px;
  }

  .audience-grid {
    flex-direction: column;
    align-items: center;
  }

  .footer__inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero__logo {
    width: 70px;
    height: 70px;
  }

  .hero__brand {
    font-size: 1.6rem;
  }

  .feature-card {
    padding: 28px 24px;
  }
}

/* ============================================================
   POLL SECTION
   ============================================================ */
.poll-section {
  padding: var(--section-pad-y) 0;
  position: relative;
}

.poll-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 800px;
  margin: 48px auto 0;
}

.poll-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 28px 20px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all var(--transition-base);
  position: relative;
  text-align: center;
  font-family: inherit;
  color: var(--text-primary);
}

.poll-option:hover {
  border-color: var(--primary);
  background: var(--primary-ghost);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(54, 179, 153, 0.12);
}

.poll-option:active {
  transform: translateY(0);
}

.poll-option.voted {
  border-color: var(--primary);
  background: var(--primary-ghost);
  pointer-events: none;
}

.poll-option.voted::after {
  content: '✓';
  position: absolute;
  top: 10px;
  right: 12px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
}

.poll-option.dimmed {
  opacity: 0.4;
  pointer-events: none;
}

.poll-option__icon {
  width: 36px;
  height: 36px;
  color: var(--primary);
}

.poll-option__icon svg {
  width: 100%;
  height: 100%;
  stroke-width: 1.5;
}

.poll-option__label {
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.3;
}

.poll-option__sub {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Poll thanks */
.poll-thanks {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  padding: 56px 20px;
  animation: floatIn 0.6s var(--ease-smooth);
}

.poll-thanks.visible {
  display: flex;
}

.poll-thanks__title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
}

.poll-thanks__sub {
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 440px;
}

/* Responsive */
@media (max-width: 768px) {
  .poll-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .poll-option {
    padding: 20px 16px;
  }
}

@media (max-width: 480px) {
  .poll-grid {
    grid-template-columns: 1fr;
  }
}
