:root {
  --bg-page: #f6f3ea;
  --bg-hero: #fbfaf6;
  --bg-surface: #ffffff;
  --bg-surface-alt: rgba(11, 18, 32, 0.04);
  --bg-selected: rgba(201, 168, 76, 0.14);

  --gold: #c9a84c;
  --gold-light: #e8c870;
  --gold-glow: rgba(201, 168, 76, 0.22);
  --gold-dim: rgba(201, 168, 76, 0.12);

  --border: rgba(11, 18, 32, 0.12);
  --border-strong: rgba(11, 18, 32, 0.18);
  --border-sel: rgba(201, 168, 76, 0.55);

  --text-primary: #0b1220;
  --text-secondary: rgba(11, 18, 32, 0.72);
  --text-muted: rgba(11, 18, 32, 0.45);

  --radius-card: 18px;
  --radius-btn: 12px;
  --radius-pill: 999px;
  --radius-input: 14px;

  --shadow-card: 0 2px 0 rgba(11, 18, 32, 0.04) inset,
    0 24px 60px -18px rgba(11, 18, 32, 0.22);
  --shadow-btn: 0 12px 28px rgba(11, 18, 32, 0.2),
    0 0 0 1px rgba(201, 168, 76, 0.22);
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  color: var(--text-primary);
  background: var(--bg-page);
  overflow-x: hidden;
}

button,
input,
textarea {
  font: inherit;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 80px 20px;
  background: var(--bg-hero);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  pointer-events: none;
  opacity: 0.22;
}

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

.hero-chip-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 22px;
}

.hero-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(201, 168, 76, 0.24);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 10px 28px rgba(11, 18, 32, 0.06);
  color: var(--text-secondary);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.gold-rule {
  width: 48px;
  height: 2px;
  margin: 0 auto 26px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  box-shadow: 0 0 18px var(--gold-glow);
  border-radius: var(--radius-pill);
}

.brand-name {
  font-family: "Sora", sans-serif;
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.95;
  color: var(--text-primary);
  margin: 0;
}

.brand-tagline {
  font-family: "Sora", sans-serif;
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 18px;
}

.hero-body {
  margin: 26px auto 0;
  max-width: 64ch;
  font-size: 1.02rem;
  line-height: 1.85;
  color: var(--text-secondary);
}

.hero-promo {
  margin: 28px auto 0;
  max-width: 700px;
  padding: 20px 22px;
  border-radius: var(--radius-card);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 36px rgba(11, 18, 32, 0.08);
}

.hero-promo-title {
  font-family: "Sora", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.hero-promo-copy {
  margin: 10px 0 0;
  color: var(--text-secondary);
  line-height: 1.75;
}

.hero-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.hero-feature-card {
  padding: 18px;
  text-align: left;
  border-radius: var(--radius-card);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 18px 38px rgba(11, 18, 32, 0.06);
}

.hero-feature-title {
  font-family: "Sora", sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.hero-feature-copy {
  margin: 8px 0 0;
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 0.92rem;
}

.hero-meta {
  margin-top: 16px;
  font-size: 0.82rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.survey-section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  background: var(--bg-page);
}

.survey-wrap {
  width: 100%;
  max-width: 660px;
}

.progress-track {
  width: 100%;
  height: 2px;
  background: rgba(11, 18, 32, 0.08);
  border-radius: var(--radius-pill);
  margin-bottom: 40px;
}

.progress-fill {
  height: 100%;
  width: 16.6667%;
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  box-shadow: 0 0 10px var(--gold-glow);
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.q-card {
  display: none;
  width: 100%;
  padding: 30px 28px;
  border-radius: var(--radius-card);
  border: 1px solid var(--border);
  background: var(--bg-surface);
  box-shadow: var(--shadow-card);
}

.q-card.is-active {
  display: block;
  animation: cardIn 0.38s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.q-card.is-active.is-back {
  animation: cardInBack 0.38s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.q-card.is-exiting {
  animation: cardOut 0.28s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes cardIn {
  from {
    opacity: 0;
    transform: translateX(32px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes cardInBack {
  from {
    opacity: 0;
    transform: translateX(-32px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes cardOut {
  from {
    opacity: 1;
    transform: translateX(0);
  }
  to {
    opacity: 0;
    transform: translateX(-32px);
  }
}

.step-counter {
  font-family: "Sora", sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.q-title {
  font-family: "Sora", sans-serif;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.3;
  color: var(--text-primary);
  margin: 0;
}

.q-sub {
  margin: 14px 0 22px;
  color: var(--text-secondary);
  line-height: 1.8;
}

.option-card {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  border-radius: var(--radius-card);
  border: 1px solid var(--border);
  background: var(--bg-surface-alt);
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  margin-bottom: 10px;
  text-align: left;
  color: inherit;
}

.option-card:hover {
  border-color: var(--border-strong);
  background: rgba(11, 18, 32, 0.045);
  transform: translateY(-1px);
}

.option-card.is-selected {
  border-color: var(--border-sel);
  background: var(--bg-selected);
  box-shadow: 0 0 0 1px rgba(201, 168, 76, 0.18), 0 0 24px rgba(201, 168, 76, 0.08);
}

.option-card .indicator {
  width: 20px;
  height: 20px;
  min-width: 20px;
  border-radius: 50%;
  border: 1.5px solid rgba(11, 18, 32, 0.22);
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.option-card.is-selected .indicator {
  background: var(--gold);
  border-color: var(--gold);
  box-shadow: inset 0 0 0 3px var(--bg-page);
}

.option-card .option-text {
  font-size: 0.97rem;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.4;
}

.option-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.option-card--icon {
  position: relative;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 28px 20px;
  text-align: center;
  margin-bottom: 0;
}

.option-card--icon .indicator {
  position: absolute;
  top: 14px;
  right: 14px;
}

.option-card--icon .option-icon {
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 10px;
}

.platform-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 10px;
}

.survey-textarea,
.survey-input {
  width: 100%;
  padding: 18px 20px;
  border-radius: var(--radius-input);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.72);
  color: var(--text-primary);
  font-family: "Inter", sans-serif;
  font-size: 0.97rem;
  line-height: 1.7;
  outline: none;
  transition: border-color 0.22s ease, box-shadow 0.22s ease;
}

.survey-textarea {
  resize: vertical;
  min-height: 140px;
}

.survey-textarea--large {
  min-height: 180px;
}

.survey-textarea:focus,
.survey-input:focus {
  border-color: rgba(201, 168, 76, 0.45);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.1);
}

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

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 17px 28px;
  border-radius: var(--radius-btn);
  border: none;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: #0b1220;
  font-family: "Sora", sans-serif;
  font-size: 0.97rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  cursor: pointer;
  box-shadow: var(--shadow-btn);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  margin-top: 20px;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 44px rgba(201, 168, 76, 0.22), 0 16px 30px rgba(11, 18, 32, 0.22);
}

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

.btn-primary.is-loading {
  opacity: 0.7;
  cursor: wait;
}

.hero-cta {
  max-width: 360px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 34px;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  border-radius: var(--radius-btn);
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-ghost:hover {
  border-color: var(--border-strong);
  color: var(--text-primary);
}

.btn-ghost:disabled {
  opacity: 0.25;
  cursor: not-allowed;
}

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

.form-status {
  font-size: 0.84rem;
  min-height: 1.2em;
  margin-top: 10px;
  text-align: center;
}

.form-status.error {
  color: #f87171;
}

.form-status.success {
  color: var(--gold);
}

.emotional-copy {
  margin: 14px 0 18px;
  color: var(--text-secondary);
  line-height: 1.85;
}

.emotional-copy p {
  margin: 0 0 12px;
}

.field {
  display: block;
  margin-top: 14px;
}

.field-label {
  display: block;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.micro-copy {
  margin-top: 12px;
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.prompt-list {
  display: grid;
  gap: 10px;
  margin: 0 0 18px;
}

.prompt-item {
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(11, 18, 32, 0.03);
  color: var(--text-secondary);
  line-height: 1.6;
}

.giveaway-card {
  margin-top: 20px;
  padding: 20px;
  border-radius: var(--radius-card);
  border: 1px solid var(--border-sel);
  background: linear-gradient(180deg, rgba(201, 168, 76, 0.08), rgba(201, 168, 76, 0.02));
}

.giveaway-copy {
  margin: 6px 0 0;
  color: var(--text-secondary);
  line-height: 1.7;
}

.check-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 16px;
  color: var(--text-primary);
  line-height: 1.6;
}

.check-row input {
  margin-top: 4px;
}

.giveaway-copy-box {
  background: rgba(255, 255, 255, 0.84);
}

.share-handle-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 14px;
}

.share-handle-grid .field {
  margin-top: 0;
}

.giveaway-note {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(201, 168, 76, 0.22);
  background: rgba(255, 255, 255, 0.66);
  color: var(--text-secondary);
  line-height: 1.65;
  font-size: 0.92rem;
}

.confirm-screen {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 60px 20px;
  max-width: 520px;
  margin: 0 auto;
  animation: cardIn 0.4s ease forwards;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
}

.confirm-screen.visible {
  display: flex;
}

.confirm-mark {
  font-size: 2.4rem;
  color: var(--gold);
  margin-bottom: 20px;
  text-shadow: 0 0 24px var(--gold-glow);
}

.confirm-title {
  font-family: "Sora", sans-serif;
  font-size: 2.6rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text-primary);
  margin: 0 0 20px;
}

.confirm-body {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin: 0 0 24px;
}

.confirm-sub {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-style: italic;
}

@media (max-width: 600px) {
  .brand-name {
    font-size: 2.6rem;
  }

  .survey-wrap {
    max-width: 100%;
  }

  .q-card {
    padding: 26px 20px;
  }

  .option-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-feature-grid,
  .share-handle-grid {
    grid-template-columns: 1fr;
  }

  .brand-panel-hero {
    padding: 60px 24px;
  }
}
