@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

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

html, body { overflow-x: hidden; }

:root {
  --bg: #fafafa;
  --card-bg: #ffffff;
  --text: #1a1a1a;
  --text-secondary: #6b7280;
  --accent: #1a1a1a;
  --accent-hover: #333333;
  --border: #e5e7eb;
  --progress-bg: #e5e7eb;
  --progress-fill: #1a1a1a;
  --option-hover: #f3f4f6;
  --option-border: #d1d5db;
  --shadow: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
}

html { font-size: 16px; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

/* ── Header / Progress ── */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 12px 24px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

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

.section-info {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  min-height: 28px;
}

.section-info-name {
  font-weight: 600;
  color: var(--text);
  font-size: 0.78rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.section-info-sep {
  color: var(--border);
  font-weight: 300;
}

.section-info-counter {
  font-size: 0.78rem;
  color: var(--text-secondary);
  white-space: nowrap;
}

.section-info-counter strong {
  color: var(--text);
  font-weight: 600;
}

.section-dots {
  display: flex;
  gap: 4px;
  width: 100%;
}

.section-dot {
  flex: 1;
  height: 8px;
  border-radius: 4px;
  background: var(--progress-bg);
  position: relative;
  overflow: hidden;
}

.dot-fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0%;
  background: #94a3b8;
  border-radius: 4px;
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1), background 0.5s ease;
}

.dot-fill.filling {
  background: #65a30d;
}

.dot-fill.complete {
  background: #16a34a;
}

.back-btn {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px 12px;
  border-radius: 6px;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 4px;
}

.back-btn:hover { color: var(--text); background: var(--option-hover); }
.back-btn.hidden { opacity: 0; pointer-events: none; }

.back-btn svg {
  width: 14px;
  height: 14px;
}

.timer {
  font-size: 0.78rem;
  color: var(--text-secondary);
  white-space: nowrap;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 5px;
}

.timer svg {
  width: 13px;
  height: 13px;
  opacity: 0.5;
}

/* ── Main ── */
.main {
  flex: 1;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 100px 24px 60px;
  min-height: 100vh;
}

.quiz-container {
  width: 100%;
  max-width: 640px;
  position: relative;
  overflow: hidden;
}

/* ── Slide ── */
.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transform: translateY(24px);
  pointer-events: none;
  visibility: hidden;
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              visibility 0s 0.4s;
}

.slide.active {
  position: relative;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  visibility: visible;
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              visibility 0s 0s;
}

.slide.exit-up {
  opacity: 0;
  transform: translateY(-24px);
}

.slide.enter-below {
  opacity: 0;
  transform: translateY(24px);
}

/* ── Section Label ── */
.section-label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.section-sub {
  font-size: 0.88rem;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: var(--text-secondary);
  margin-top: 6px;
  opacity: 0.8;
}

/* ── Question ── */
.question-number {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.question-text {
  font-size: 1.45rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text);
  margin-bottom: 36px;
}

/* ── Options ── */
.options { display: flex; flex-direction: column; gap: 10px; }

.option-btn {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  width: 100%;
  padding: 16px 20px;
  background: var(--card-bg);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow);
}

.option-btn:hover {
  border-color: var(--accent);
  background: var(--option-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

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

.option-btn.selected {
  border-color: #16a34a;
  background: #16a34a;
  color: #fff;
}

.option-letter {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 7px;
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: all 0.2s;
  margin-top: 1px;
}

.option-btn:hover .option-letter {
  border-color: var(--accent);
  color: var(--accent);
}

.option-btn.selected .option-letter {
  border-color: rgba(255,255,255,0.5);
  color: #fff;
  background: rgba(255,255,255,0.2);
}

.option-text { flex: 1; }

/* ── Intro screen ── */
.intro-title {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 16px;
}

.intro-subtitle {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.intro-proof {
  font-size: 0.88rem;
  color: var(--text-secondary);
  opacity: 0.7;
  margin-bottom: 36px;
}

.intro-form-label {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.start-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.start-btn:hover { background: var(--accent-hover); transform: translateY(-1px); }

.start-btn svg { width: 18px; height: 18px; }

/* ── Feedback ── */
.feedback-box {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 14px;
  padding: 24px;
  margin-bottom: 28px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}

.feedback-level {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 14px;
}

.feedback-level.critical { background: #fef2f2; color: #dc2626; }
.feedback-level.warning { background: #fff7ed; color: #ea580c; }
.feedback-level.good { background: #f0fdf4; color: #16a34a; }
.feedback-level.excellent { background: #eff6ff; color: #2563eb; }

.feedback-text {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text);
  margin-bottom: 18px;
}

.feedback-weak {
  background: rgba(0,0,0,0.03);
  border-radius: 10px;
  padding: 14px 18px;
}

.feedback-weak-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.feedback-weak-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
}

.feedback-sections {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
  margin-bottom: 28px;
}

.feedback-section {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.feedback-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.feedback-section-name {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text);
}

.feedback-section-badge {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.feedback-section-badge.critical { background: #fef2f2; color: #dc2626; }
.feedback-section-badge.warning { background: #fff7ed; color: #ea580c; }
.feedback-section-badge.good { background: #f0fdf4; color: #16a34a; }
.feedback-section-badge.excellent { background: #eff6ff; color: #2563eb; }

.feedback-section-text {
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--text-secondary);
}

.feedback-section-text strong {
  color: var(--text);
}

.feedback-section-issues {
  margin-top: 10px;
  padding-left: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.feedback-section-issues li {
  font-size: 0.84rem;
  line-height: 1.5;
  color: var(--text);
  padding-left: 18px;
  position: relative;
}

.feedback-section-issues li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #dc2626;
}

.feedback-section-issues li.positive::before {
  background: #16a34a;
}

/* ── End screen ── */
.end-title {
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 12px;
}

.end-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 28px;
}

/* ── Alert "anteprima" ── */
.end-alert {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #fef3c7;
  border: 1.5px solid #f59e0b;
  border-radius: 12px;
  padding: 18px 20px;
  margin-bottom: 28px;
  width: 100%;
}

.end-alert-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  color: #d97706;
  margin-top: 1px;
}

.end-alert-icon svg {
  width: 100%;
  height: 100%;
}

.end-alert-content {
  flex: 1;
}

.end-alert-title {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #92400e;
  margin-bottom: 4px;
}

.end-alert-text {
  font-size: 0.92rem;
  line-height: 1.6;
  color: #78350f;
}

/* ── Form wrapper ── */
.end-form-wrapper {
  width: 100%;
  background: #f8f9fa;
  border: 1.5px solid var(--border);
  border-radius: 14px;
  padding: 28px 24px;
}

.end-form-header {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 20px;
  text-align: center;
}

.end-form {
  width: 100%;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.end-form-row {
  display: flex;
  gap: 12px;
}

.end-form-row .end-input {
  flex: 1;
}

.end-input {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.92rem;
  color: var(--text);
  background: #fff;
  transition: border-color 0.2s;
  outline: none;
  box-sizing: border-box;
}

.end-input:focus {
  border-color: var(--accent);
}

.end-input::placeholder {
  color: #aaa;
}

.end-privacy {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  text-align: left;
  margin-top: 4px;
}

.end-privacy input[type="checkbox"] {
  margin-top: 3px;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  accent-color: var(--accent);
}

.end-privacy label {
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.5;
  cursor: pointer;
}

.end-privacy a {
  color: var(--text-secondary);
  text-decoration: underline;
}

.end-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  margin-top: 8px;
  width: 100%;
}

.end-submit:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

.end-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.end-info {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-top: 16px;
  padding: 16px;
  background: rgba(0,0,0,0.03);
  border-radius: 10px;
  text-align: left;
}

.end-info strong {
  color: var(--text);
}

/* ── Keyboard hint ── */
.keyboard-hint {
  margin-top: 32px;
  font-size: 0.75rem;
  color: var(--text-secondary);
  opacity: 0.6;
}

.key {
  display: inline-block;
  padding: 2px 7px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 600;
  background: #fff;
  margin: 0 1px;
}

/* ── Interstitial / Analysis ── */
.interstitial {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 260px;
}

.analysis-top {
  margin-bottom: 24px;
  text-align: center;
}

.analysis-counter {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-secondary);
  opacity: 0.5;
  margin-bottom: 8px;
}

.analysis-label {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
}

.analysis-circle-wrap {
  position: relative;
  width: 90px;
  height: 90px;
  margin-bottom: 36px;
}

.analysis-circle-wrap svg {
  transform: rotate(-90deg);
  width: 90px;
  height: 90px;
}

.analysis-circle-bg {
  fill: none;
  stroke: var(--progress-bg);
  stroke-width: 5;
}

.analysis-circle-fill {
  fill: none;
  stroke-width: 5;
  stroke-linecap: round;
  stroke-dasharray: 251.33;
  stroke-dashoffset: 251.33;
  transition: stroke-dashoffset linear, stroke 0.6s ease;
}

.analysis-circle-pct {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  pointer-events: none;
}

.continue-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
}

.continue-btn.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.continue-btn:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

.continue-btn svg { width: 16px; height: 16px; }

/* ── Interstitial content ── */
.interstitial img { max-width: 100%; height: auto; }
.inter-content {
  margin-bottom: 32px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.inter-content.visible {
  opacity: 1;
  transform: translateY(0);
}

.inter-heading {
  font-size: 1.15rem;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
  color: var(--text);
  margin-bottom: 20px;
}

.inter-profile {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
}

.inter-avatar {
  width: 90px;
  height: 110px;
  border-radius: 10px;
  object-fit: cover;
  object-position: top;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(0,0,0,0.10);
}

.inter-profile-text {
  text-align: left;
}

.inter-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 3px;
  line-height: 1.2;
}

.inter-brand {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 4px;
}

.inter-role {
  font-size: 0.78rem;
  color: var(--text-secondary);
  opacity: 0.75;
}

.inter-proof {
  background: rgba(0,0,0,0.03);
  border-radius: 10px;
  padding: 16px 20px;
  margin-bottom: 16px;
  text-align: center;
}

.inter-proof-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 4px;
}

.inter-fb-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.inter-stars {
  color: #f59e0b;
  font-size: 0.95rem;
  letter-spacing: 1px;
}

.inter-proof-text {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
}

.inter-proof-sub {
  font-size: 0.78rem;
  color: var(--text-secondary);
  margin-bottom: 0;
}

.inter-link {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.78rem;
  color: var(--text-secondary);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  transition: all 0.2s;
}

.inter-link:hover {
  color: var(--text);
  border-color: var(--text);
}

.inter-fact {
  font-size: 0.88rem;
  color: var(--text);
  line-height: 1.6;
  font-weight: 500;
  padding: 0 4px;
}

.inter-fact strong {
  font-weight: 700;
}

.inter-podcast-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 14px;
  align-items: center;
}

.inter-new-block {
  background: #fff;
  border: 1.5px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}

.inter-new-block .inter-books-label {
  margin-bottom: 14px;
}

.inter-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 16px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}

.inter-sushi-row {
  display: flex;
  align-items: center;
  gap: 20px;
}

.inter-sushi-logo {
  width: 100px;
  border-radius: 10px;
  flex-shrink: 0;
}

.inter-sushi-stat {
  font-size: 1.05rem;
  line-height: 1.5;
  color: var(--text);
  font-weight: 500;
}

.inter-sushi-stat strong {
  font-weight: 700;
}

.inter-case-block {
  display: flex;
  align-items: stretch;
  gap: 18px;
}

.inter-case-img {
  width: 100px;
  min-height: 100%;
  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0;
}

.inter-case-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}

.inter-case-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}

.inter-case-desc {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-secondary);
  line-height: 1.5;
}

.inter-case-desc strong {
  color: var(--text);
  font-weight: 700;
}

.inter-logos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  align-items: center;
  justify-items: center;
  margin-top: 14px;
}

.inter-logo-item {
  height: 30px;
  max-width: 100%;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.2s;
}

.inter-logo-item:hover {
  filter: grayscale(0%);
  opacity: 1;
}

.inter-youtube-img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 3px 12px rgba(0,0,0,0.10);
  margin-top: 12px;
}

.inter-podcast-img {
  width: 100%;
  max-width: 360px;
  border-radius: 10px;
  box-shadow: 0 3px 12px rgba(0,0,0,0.10);
}

.inter-books-label {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 14px;
}

.inter-books-label span {
  font-weight: 500;
  color: var(--text-secondary);
  font-size: 0.82rem;
}

.inter-books-row {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 6px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.inter-books-row::-webkit-scrollbar {
  display: none;
}

.inter-book-card {
  flex: 0 0 110px;
  text-decoration: none;
  color: inherit;
  text-align: center;
  transition: transform 0.2s;
}

.inter-book-card:hover {
  transform: translateY(-2px);
}

.inter-book-cover {
  width: 110px;
  height: 160px;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 3px 12px rgba(0,0,0,0.12);
  margin-bottom: 8px;
}

.inter-book-title {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.inter-book-stars {
  color: #f59e0b;
  font-size: 0.65rem;
  letter-spacing: 0.5px;
}

.inter-book-reviews {
  font-size: 0.62rem;
  color: var(--text-secondary);
}

/* ── Interstitial field card + continue button ── */
.inter-field-card {
  width: 100%;
  background: #fff;
  border: 2px solid var(--accent);
  border-radius: 14px;
  padding: 20px;
  margin-bottom: 28px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.10);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.inter-field-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.inter-field-label {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
  text-align: left;
}

.inter-field-sub {
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-top: 8px;
  text-align: left;
}

.inter-field-row {
  display: flex;
  gap: 10px;
  align-items: stretch;
}

.inter-input {
  flex: 1;
  min-width: 0;
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-family: inherit;
  font-size: 1rem;
  color: var(--text);
  background: var(--bg);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  box-sizing: border-box;
}

.inter-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(26,26,26,0.08);
}

.inter-input::placeholder {
  color: #aaa;
}

.inter-continue-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 18px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s;
}

.inter-continue-btn:hover:not(:disabled) {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

.inter-continue-btn:disabled {
  opacity: 0.25;
  cursor: not-allowed;
  transform: none;
}

.inter-continue-btn svg {
  width: 20px;
  height: 20px;
}

/* ── Responsive ── */
@media (max-width: 600px) {
  .intro-title { font-size: 1.5rem; }
  .question-text { font-size: 1.2rem; margin-bottom: 28px; }
  .option-btn { padding: 14px 16px; font-size: 0.9rem; }
  .header-content { padding: 10px 16px 12px; }
  .main { padding: 88px 16px 40px; }
  .section-dot { height: 6px; }
  .section-info-name { font-size: 0.72rem; }
  .section-info-counter { font-size: 0.72rem; }
  .keyboard-hint { display: none; }
  .timer { font-size: 0.72rem; }
  .inter-field-card { padding: 16px; }
  .inter-field-label { font-size: 0.92rem; }
  .inter-input { font-size: 0.92rem; padding: 12px 14px; }
  .end-alert { padding: 14px 16px; gap: 12px; }
  .end-alert-title { font-size: 0.8rem; }
  .end-alert-text { font-size: 0.85rem; }
  .end-form-wrapper { padding: 22px 18px; }
  .end-form-header { font-size: 1rem; }
}
