* {
  box-sizing: border-box;
}

:root {
  --bg-main: #050607;
  --bg-soft: #0a0d10;
  --bg-card: #0f141a;
  --bg-card-elevated: #141a21;
  --bg-input: #070b0f;

  --border-soft: rgba(255, 255, 255, 0.09);
  --border-medium: rgba(255, 255, 255, 0.14);

  /* PRETIXA LOGO LIME SYSTEM */
  --lime-rgb: 168, 240, 0;
  --green: #a8f000;
  --green-soft: #c8ff57;
  --green-bright: #b6ff00;

  --border-green: rgba(var(--lime-rgb), 0.22);
  --green-bg-soft: rgba(var(--lime-rgb), 0.08);
  --green-bg-card: rgba(var(--lime-rgb), 0.045);
  --green-glow-soft: rgba(var(--lime-rgb), 0.16);
  --green-glow-medium: rgba(var(--lime-rgb), 0.24);

  --border-blue: rgba(0, 194, 255, 0.18);
  --border-red: rgba(255, 77, 109, 0.2);

  --text-main: #f5f7fa;
  --text-soft: #a3adba;
  --text-muted: #6f7a86;

  --blue: #00c2ff;
  --red: #ff4d6d;
  --yellow: #ffd84d;

    /* PRETIXA DECISION STATE SYSTEM */
  --state-clear: #a8f000;
  --state-clear-rgb: 168, 240, 0;

  --state-close: #8b95a1;
  --state-close-rgb: 139, 149, 161;

  --state-info: #00c2ff;
  --state-info-rgb: 0, 194, 255;

  --state-caution: #ffb020;
  --state-caution-rgb: 255, 176, 32;

  --state-risk: #ff4d6d;
  --state-risk-rgb: 255, 77, 109;

  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;

  --shadow-soft: 0 24px 80px rgba(0, 0, 0, 0.42);
  --shadow-green: 0 0 28px rgba(var(--lime-rgb), 0.14);
  --shadow-blue: 0 0 28px rgba(0, 194, 255, 0.12);
}

/* BASE */

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 18% 18%, rgba(var(--lime-rgb), 0.055), transparent 28%),
    radial-gradient(circle at 78% 14%, rgba(0, 194, 255, 0.035), transparent 30%),
    linear-gradient(180deg, #030405 0%, var(--bg-main) 42%, #030405 100%);
  color: var(--text-main);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI", Roboto, Arial, sans-serif;
  text-align: left;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.014) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(circle at 50% 10%, black, transparent 72%);
  opacity: 0.34;
  z-index: -1;
}

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

p {
  color: var(--text-soft);
  line-height: 1.65;
}

button,
input,
textarea {
  font-family: inherit;
}

button {
  cursor: pointer;
}

/* PAGE */

.pretixa-page {
  width: min(100%, 1440px);
  max-width: 100%;
  margin: 0 auto;
  padding: 0 48px 80px;
  overflow-x: hidden;
}

/* HEADER */

.site-header {
  height: 74px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.075);
}

.site-logo {
  display: flex;
  align-items: center;
}

.site-logo-img {
  width: 168px;
  max-height: 48px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 0 14px rgba(var(--lime-rgb), 0.2));
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 40px;
  color: #c8d2dc;
  font-size: 14px;
  font-weight: 600;
}

.site-nav a {
  opacity: 0.86;
  transition: color 0.18s ease, opacity 0.18s ease;
}

.site-nav a:hover {
  color: var(--green);
  opacity: 1;
}

.theme-toggle {
  justify-self: end;
  width: 38px;
  height: 38px;
  border-radius: 13px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(20, 26, 33, 0.8);
  color: var(--text-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.theme-toggle:hover {
  border-color: rgba(var(--lime-rgb), 0.28);
  background: rgba(var(--lime-rgb), 0.08);
  transform: translateY(-1px);
}

/* HERO */

.hero-layout {
  min-height: 760px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 590px;
  align-items: center;
  gap: 72px;
  padding: 86px 0 80px;
  position: relative;
}

.hero-layout::before {
  content: "";
  position: absolute;
  width: 680px;
  height: 420px;
  left: 16%;
  top: 22%;
  background:
    radial-gradient(circle, rgba(var(--lime-rgb), 0.09), transparent 60%),
    radial-gradient(circle at 70% 40%, rgba(0, 194, 255, 0.05), transparent 58%);
  filter: blur(38px);
  opacity: 0.75;
  pointer-events: none;
}

.hero-copy,
.decision-preview {
  position: relative;
  z-index: 1;
}

.engine-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(20, 26, 33, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #b9c6d3;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-title {
  margin: 34px 0 24px;
  max-width: 690px;
  font-size: clamp(56px, 6vw, 86px);
  line-height: 0.98;
  letter-spacing: -0.065em;
  font-weight: 850;
  color: var(--text-main);
}

.hero-title span {
  color: var(--green);
  text-shadow: 0 0 30px rgba(var(--lime-rgb), 0.16);
}

.hero-subline {
  max-width: 660px;
  margin: 0;
  color: #bdc8d4;
  font-size: 19px;
  line-height: 1.75;
  letter-spacing: -0.01em;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 8px 14px;
  border-radius: 11px;
  background: rgba(20, 26, 33, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #cad5df;
  font-size: 14px;
}

.hero-trust span svg {
  width: 15px;
  height: 15px;
  stroke-width: 2.3;
  color: var(--green);
  flex-shrink: 0;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 44px;
}

.hero-primary {
  min-width: 270px;
  height: 58px;
  padding: 0 28px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--green), var(--green-bright));
  color: #071000;
  font-size: 15px;
  font-weight: 850;
  box-shadow: 0 16px 36px rgba(var(--lime-rgb), 0.12);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 46px rgba(var(--lime-rgb), 0.18);
}

.hero-secondary {
  color: #c7d2de;
  font-size: 14px;
  font-weight: 700;
  opacity: 0.88;
}

.hero-secondary:hover {
  color: var(--blue);
}

/* DECISION PREVIEW */

.decision-preview {
  padding: 36px;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(20, 26, 33, 0.94), rgba(13, 18, 23, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-soft);
}

.preview-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(var(--lime-rgb), 0.13);
  color: var(--green);
  border: 1px solid rgba(var(--lime-rgb), 0.32);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.preview-badge::before {
  content: "⊙";
}

.decision-preview h2 {
  margin: 22px 0 10px;
  font-size: 28px;
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.preview-score {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 12px;
}

.preview-score strong {
  color: var(--green);
  font-size: 58px;
  line-height: 0.95;
  letter-spacing: -0.06em;
  text-shadow: 0 0 26px rgba(var(--lime-rgb), 0.18);
}

.preview-score span {
  color: var(--text-soft);
  font-size: 24px;
  font-weight: 700;
}

.preview-score-label {
  margin: 0 0 24px;
  color: var(--text-muted);
  font-size: 11px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  font-weight: 800;
}

.preview-recommendation {
  margin: 24px 0;
  padding: 20px 22px;
  border-radius: 16px;
  background: rgba(5, 8, 12, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.07);
  color: #cbd5df;
  font-size: 15px;
  line-height: 1.65;
}

.preview-mini-card {
  margin-top: 12px;
  padding: 17px 18px;
  border-radius: 16px;
  background: rgba(8, 12, 17, 0.66);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.preview-mini-card h3 {
  margin: 0 0 9px;
  color: var(--text-main);
  font-size: 13px;
  font-weight: 850;
}

.preview-mini-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 13px;
}

.preview-mini-card ul {
  margin: 8px 0 0;
  padding-left: 20px;
}

.preview-mini-card li {
  color: var(--text-muted);
  margin: 6px 0;
  font-size: 13px;
}

/* INPUT SECTION */

.input-section {
  scroll-margin-top: 90px;
  padding: 20px 0 70px;
}

.input-shell {
  padding: 34px;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(15, 20, 26, 0.95), rgba(10, 14, 18, 0.96));
  border: 1px solid rgba(var(--lime-rgb), 0.13);
  box-shadow:
    0 0 0 1px rgba(var(--lime-rgb), 0.025),
    0 28px 88px rgba(0, 0, 0, 0.48),
    inset 0 0 55px rgba(var(--lime-rgb), 0.018);
}

.section-heading {
  margin-bottom: 28px;
}

.section-heading h2 {
  margin: 0;
  color: var(--text-main);
  font-size: 30px;
  line-height: 1.15;
  letter-spacing: -0.035em;
}

.section-heading p {
  max-width: 680px;
  margin: 10px 0 0;
  color: #8f9baa;
  font-size: 14px;
}

#optionsContainer {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.dynamic-option,
.option-card-preview {
  position: relative;
  padding: 24px;
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(15, 20, 26, 0.94), rgba(9, 13, 18, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.09);
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.dynamic-option:hover,
.dynamic-option:focus-within {
  border-color: rgba(0, 194, 255, 0.28);
  background:
    linear-gradient(180deg, rgba(17, 23, 30, 0.96), rgba(10, 15, 20, 0.97));
}

.option-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.option-header h3 {
  margin: 0;
  display: inline-flex;
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(5, 8, 12, 0.7);
  color: #b9d5ef;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 900;
}

.option-hint {
  display: none;
}

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

input,
textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(4, 7, 10, 0.88);
  color: var(--text-main);
  border-radius: 14px;
  padding: 15px 16px;
  font-size: 16px;
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

input::placeholder,
textarea::placeholder {
  color: #6f7a86;
  opacity: 0.78;
  font-weight: 500;
}

.option-name::placeholder {
  font-weight: 600;
}

input:focus,
textarea:focus {
  border-color: rgba(0, 194, 255, 0.5);
  box-shadow:
    0 0 0 3px rgba(0, 194, 255, 0.07),
    0 0 22px rgba(0, 194, 255, 0.08);
  background: rgba(7, 12, 18, 0.95);
}

.option-name {
  font-weight: 750;
}

.option-price {
  color: var(--blue);
}

textarea {
  min-height: 86px;
  margin-top: 16px;
  resize: vertical;
}

.input-error {
  margin-top: 22px;
}

.input-error:empty {
  display: none;
}

.input-error-message {
  padding: 14px 16px;
  border-radius: 14px;
  color: #ffb4c0;
  background: rgba(255, 77, 109, 0.06);
  border: 1px solid rgba(255, 77, 109, 0.22);
  text-align: center;
  font-size: 14px;
  font-weight: 800;
}

.input-actions {
  display: grid;
  grid-template-columns: minmax(220px, 260px) minmax(150px, 190px) minmax(260px, 1fr);
  gap: 18px;
  margin-top: 28px;
  align-items: center;
}

#addOptionButton,
.reset-input-button,
#analyzeButton {
  width: 100%;
}

#addOptionButton:disabled {
  cursor: not-allowed;
  opacity: 0.65;
  color: #8f9baa;
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.018);
  transform: none;
}

#addOptionButton:disabled:hover {
  color: #8f9baa;
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.018);
  transform: none;
}

.secondary-button {
  height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.025);
  color: #c6d2df;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 800;
  transition: border-color 0.18s ease, color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.secondary-button:hover {
  border-color: rgba(var(--lime-rgb), 0.24);
  color: var(--green);
  background: rgba(var(--lime-rgb), 0.045);
  transform: translateY(-1px);
}

#analyzeButton {
  height: 58px;
  border: none;
  border-radius: 15px;
  background: linear-gradient(135deg, var(--green), var(--green-bright));
  color: #071000;
  font-size: 15px;
  font-weight: 900;
  box-shadow: 0 16px 38px rgba(var(--lime-rgb), 0.12);
  transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}

#analyzeButton:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 48px rgba(var(--lime-rgb), 0.18);
}

#analyzeButton:disabled {
  cursor: not-allowed;
  opacity: 0.72;
}

#analyzeButton.loading {
  background: linear-gradient(135deg, var(--blue), #6ce2ff);
  color: #001018;
}

.remove-button {
  width: 26px;
  height: 26px;
  border: 1px solid rgba(255, 77, 109, 0.14);
  background: rgba(255, 77, 109, 0.035);
  color: #a8b2bd;
  border-radius: 999px;
  padding: 0;
  font-size: 16px;
  line-height: 1;
  font-weight: 800;
  opacity: 0.72;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.18s ease, color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.remove-button:hover {
  opacity: 1;
  color: var(--red);
  border-color: rgba(255, 77, 109, 0.28);
  background: rgba(255, 77, 109, 0.07);
}

/* RESULT */

.result-section {
  padding: 0 0 70px;
}

.result-box {
  max-width: 100%;
  min-height: 84px;
  border-radius: 24px;
  padding: 28px;
  background:
    linear-gradient(180deg, rgba(15, 20, 26, 0.94), rgba(9, 13, 18, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.35);
}

.empty-state {
  text-align: center;
  margin: 0;
  color: var(--text-muted);
}

.decision-title {
  margin: 0 0 22px;
  text-align: center;
  font-size: 30px;
  letter-spacing: -0.035em;
}

.winner {
  position: relative;
  border-radius: 24px;
  padding: 34px;
  background:
    linear-gradient(180deg, rgba(16, 22, 28, 0.96), rgba(8, 12, 17, 0.98));
  border: 1px solid rgba(var(--lime-rgb), 0.16);
  box-shadow:
    0 0 0 1px rgba(var(--lime-rgb), 0.03),
    0 24px 74px rgba(0, 0, 0, 0.42);
  text-align: center;
}

.winner.needs_more_info,
.winner.low_data_decision,
.winner.weak_decision {
  border-color: rgba(0, 194, 255, 0.18);
}

.winner-badge {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(var(--lime-rgb), 0.1);
  border: 1px solid rgba(var(--lime-rgb), 0.26);
  color: var(--green);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.winner-name {
  margin: 0;
  color: var(--text-main);
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.055em;
  font-weight: 900;
}

.winner-score {
  margin: 18px 0 6px;
  color: var(--green);
  font-size: clamp(52px, 8vw, 86px);
  line-height: 0.95;
  font-weight: 900;
  letter-spacing: -0.07em;
  text-shadow: 0 0 30px rgba(var(--lime-rgb), 0.16);
}

.data-state-label {
  margin-top: 20px;
  color: var(--blue);
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.score-context-label,
.decision-type-label,
.confidence-label {
  margin-top: 8px;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.decision-type-label {
  color: var(--blue);
}

.confidence-label {
  color: var(--green-soft);
  text-transform: none;
  letter-spacing: 0;
}

.trust-note {
  max-width: 680px;
  margin: 12px auto 0;
  color: var(--text-muted);
  font-size: 13px;
}

.decision-warning {
  max-width: 680px;
  margin: 18px auto 0;
  padding: 15px 18px;
  border-radius: 16px;
  border: 1px solid rgba(0, 194, 255, 0.2);
  background: rgba(0, 194, 255, 0.05);
}

.decision-warning.needs_more_info {
  border-color: rgba(255, 77, 109, 0.2);
  background: rgba(255, 77, 109, 0.05);
}

.decision-warning strong {
  display: block;
  color: var(--blue);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 7px;
}

.decision-warning.needs_more_info strong {
  color: var(--red);
}

.decision-warning p {
  margin: 0;
  font-size: 13px;
}

.impact-zone {
  max-width: 740px;
  margin: 26px auto 18px;
  padding: 24px;
  border-radius: 18px;
  background: rgba(var(--lime-rgb), 0.055);
  border: 1px solid rgba(var(--lime-rgb), 0.16);
}

.decision-punch {
  margin: 0;
  color: var(--text-main);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.55;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.decision-details {
  max-width: 740px;
  margin: 16px auto 0;
  padding: 18px 20px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.decision-details p {
  margin: 6px 0;
  font-size: 14px;
}

.copy-result-button,
.reset-button {
  margin-top: 20px;
  border-radius: 999px;
  padding: 11px 18px;
  background: transparent;
  color: var(--text-soft);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-weight: 800;
}

.copy-result-button:hover,
.reset-button:hover {
  color: var(--green);
  border-color: rgba(var(--lime-rgb), 0.24);
  background: rgba(var(--lime-rgb), 0.045);
}

/* QUICK COMPARE */

.quick-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 28px 0 34px;
}

.compare-column {
  padding: 20px;
  border-radius: 18px;
  text-align: left;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.winner-column {
  border-color: rgba(var(--lime-rgb), 0.18);
  background: rgba(var(--lime-rgb), 0.035);
}

.loser-column {
  border-color: rgba(255, 77, 109, 0.15);
  background: rgba(255, 77, 109, 0.025);
}

.neutral-column {
  border-color: rgba(0, 194, 255, 0.16);
  background: rgba(0, 194, 255, 0.025);
}

.compare-column h4 {
  margin: 0 0 10px;
  color: var(--text-main);
  font-size: 15px;
}

.compare-column ul {
  margin: 0;
  padding-left: 18px;
}

.compare-column li {
  color: var(--text-soft);
  font-size: 13px;
  line-height: 1.5;
}

/* RANKING CARDS */

.ranking-title {
  margin: 34px 0 16px;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: left;
}

.option-card {
  margin: 16px 0;
  padding: 24px;
  border-radius: 20px;
  text-align: left;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.option-card.top-option {
  border-color: rgba(var(--lime-rgb), 0.18);
  background: rgba(var(--lime-rgb), 0.03);
}

.option-card.neutral-option-card {
  border-color: rgba(0, 194, 255, 0.14);
}

.rank-label {
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.top-option .rank-label {
  color: var(--green);
}

.option-card h4 {
  margin: 10px 0 12px;
  color: var(--text-main);
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.option-card h5 {
  margin: 18px 0 8px;
  color: #8fa4b7;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.option-card ul {
  margin: 8px 0 0;
  padding-left: 20px;
}

.option-card li {
  margin: 7px 0;
  color: #c2ccd7;
  font-size: 14px;
  line-height: 1.5;
}

.score-line {
  display: flex;
  justify-content: space-between;
  color: var(--text-soft);
  font-size: 13px;
  font-weight: 800;
}

.score-line strong {
  color: var(--green);
}

.score-bar {
  height: 8px;
  margin: 12px 0 18px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
}

.score-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--green-soft), var(--green));
}

.breakdown-row {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 800;
}

.breakdown-row strong {
  color: var(--blue);
}

.mini-bar {
  height: 5px;
  margin-top: 6px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.055);
}

.mini-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(0, 194, 255, 0.55), var(--blue));
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.feature-tag {
  padding: 7px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.positive-tag {
  color: #dfffc8;
  background: rgba(var(--lime-rgb), 0.055);
  border: 1px solid rgba(var(--lime-rgb), 0.16);
}

.negative-tag {
  color: #ffb4c0;
  background: rgba(255, 77, 109, 0.045);
  border: 1px solid rgba(255, 77, 109, 0.15);
}

.after-decision-box {
  text-align: center;
}

.reuse-trigger {
  text-align: center;
  color: var(--text-muted);
  font-size: 13px;
}

/* SUPPORT SECTIONS */

.how-section,
.trust-section,
.examples-section,
.decision-types-section {
  padding: 32px 0;
}

.how-card {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding: 22px;
  border-radius: 24px;
  background: rgba(15, 20, 26, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.how-step {
  padding: 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.step-icon,
.trust-card span,
.decision-type-card span,
.example-card span {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(var(--lime-rgb), 0.08);
  border: 1px solid rgba(var(--lime-rgb), 0.18);
  color: var(--green);
  font-weight: 900;
}

.step-icon svg,
.trust-card span svg,
.decision-type-card span svg,
.example-card span svg {
  width: 18px;
  height: 18px;
  stroke-width: 2.2;
}

.step-icon.blue {
  background: rgba(0, 194, 255, 0.08);
  border-color: rgba(0, 194, 255, 0.18);
  color: var(--blue);
}

.how-step h3,
.trust-card h3,
.decision-type-card h3 {
  margin: 16px 0 8px;
  font-size: 17px;
  letter-spacing: -0.02em;
}

.how-step p,
.trust-card p,
.decision-type-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
}

.trust-section,
.decision-type-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.trust-card,
.decision-type-card {
  min-height: 190px;
  padding: 22px;
  border-radius: 22px;
  background: rgba(15, 20, 26, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.trust-card.green,
.decision-type-card.green {
  border-color: rgba(var(--lime-rgb), 0.14);
}

.trust-card.blue,
.decision-type-card.blue {
  border-color: rgba(0, 194, 255, 0.14);
}

.trust-card.red,
.decision-type-card.red {
  border-color: rgba(255, 77, 109, 0.16);
}

.trust-card.red span,
.decision-type-card.red span {
  background: rgba(255, 77, 109, 0.08);
  border-color: rgba(255, 77, 109, 0.18);
  color: var(--red);
}

.trust-card.blue span,
.decision-type-card.blue span {
  background: rgba(0, 194, 255, 0.08);
  border-color: rgba(0, 194, 255, 0.18);
  color: var(--blue);
}

.section-heading h2 {
  margin-bottom: 20px;
}

.example-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.example-card {
  min-height: 118px;
  padding: 18px;
  border-radius: 20px;
  text-align: left;
  background: rgba(15, 20, 26, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-main);
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.example-card:hover {
  transform: translateY(-2px);
  border-color: rgba(var(--lime-rgb), 0.22);
  background: rgba(var(--lime-rgb), 0.04);
}

.example-card strong {
  display: block;
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.35;
}

.decision-type-card.neutral span {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
  color: var(--text-soft);
}

/* STATES */

.loading-box {
  padding: 20px;
  border-radius: 16px;
  color: var(--blue);
  background: rgba(0, 194, 255, 0.06);
  border: 1px solid rgba(0, 194, 255, 0.18);
  text-align: center;
  animation: pulseLoading 1.2s ease-in-out infinite;
}

.error-message {
  padding: 18px;
  border-radius: 16px;
  color: #ffb4c0;
  background: rgba(255, 77, 109, 0.06);
  border: 1px solid rgba(255, 77, 109, 0.22);
  text-align: center;
}

.reveal-card {
  animation: revealUp 0.35s ease forwards;
}

/* v1.0 RC: Theme toggle hidden until Light Mode is ready */
.theme-toggle {
  display: none;
}

@keyframes revealUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulseLoading {
  0% {
    box-shadow: 0 0 8px rgba(0, 194, 255, 0.1);
  }

  50% {
    box-shadow: 0 0 18px rgba(0, 194, 255, 0.24);
  }

  100% {
    box-shadow: 0 0 8px rgba(0, 194, 255, 0.1);
  }
}

/* FOOTER */

.footer {
  max-width: 1440px;
  margin: 0 auto;
  padding: 28px 48px 48px;
  text-align: center;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--text-muted);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.footer p {
  margin: 0 auto;
  max-width: 900px;
  color: var(--text-muted);
}

/* OLD COMPATIBILITY */

.brand-header,
.version-badge,
.beta-note,
.hero-section,
.helper-box,
.trust-box,
.example-box,
.pretixa-difference,
.example-buttons,
.example-button {
  display: none;
}

/* v1.0 RC DESKTOP POLISH PATCH */

.site-logo-img {
  width: 230px;
  max-height: 58px;
  object-fit: contain;
  transform: scale(1.18);
  transform-origin: left center;
}

.site-header {
  height: 82px;
}

.site-nav {
  font-size: 15px;
}

.theme-toggle {
  width: 42px;
  height: 42px;
}

.hero-title {
  font-size: clamp(64px, 6.4vw, 94px);
}

.hero-subline {
  font-size: 20px;
  max-width: 700px;
}

.decision-preview {
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow:
    0 30px 90px rgba(0, 0, 0, 0.58),
    0 0 48px rgba(var(--lime-rgb), 0.04);
}

.input-shell {
  border-color: rgba(var(--lime-rgb), 0.18);
}

.section-heading p {
  font-size: 15px;
}

.how-step h3,
.trust-card h3,
.decision-type-card h3 {
  font-size: 18px;
}

.how-step p,
.trust-card p,
.decision-type-card p {
  font-size: 15px;
}

.example-card strong {
  font-size: 15px;
}

.footer {
  margin-top: 30px;
}

/* PRETIXA DECISION TYPE COLOR SYSTEM */

.decision-type-card.green {
  border-color: rgba(var(--state-clear-rgb), 0.38);
  background:
    linear-gradient(180deg, rgba(var(--state-clear-rgb), 0.065), rgba(15, 20, 26, 0.82));
  box-shadow: 0 0 34px rgba(var(--state-clear-rgb), 0.035);
}

.decision-type-card.green span {
  background: rgba(var(--state-clear-rgb), 0.11);
  border-color: rgba(var(--state-clear-rgb), 0.28);
  color: var(--state-clear);
}

.decision-type-card.neutral {
  border-color: rgba(var(--state-close-rgb), 0.30);
  background:
    linear-gradient(180deg, rgba(var(--state-close-rgb), 0.045), rgba(15, 20, 26, 0.82));
  box-shadow: none;
}

.decision-type-card.neutral span {
  background: rgba(var(--state-close-rgb), 0.08);
  border-color: rgba(var(--state-close-rgb), 0.20);
  color: #b8c0ca;
}

.decision-type-card.blue {
  border-color: rgba(var(--state-info-rgb), 0.34);
  background:
    linear-gradient(180deg, rgba(var(--state-info-rgb), 0.06), rgba(15, 20, 26, 0.82));
  box-shadow: 0 0 34px rgba(var(--state-info-rgb), 0.035);
}

.decision-type-card.blue span {
  background: rgba(var(--state-info-rgb), 0.10);
  border-color: rgba(var(--state-info-rgb), 0.28);
  color: var(--state-info);
}

.decision-type-card.red {
  border-color: rgba(var(--state-caution-rgb), 0.24);
  background:
    linear-gradient(180deg, rgba(var(--state-caution-rgb), 0.045), rgba(15, 20, 26, 0.82));
  box-shadow: 0 0 34px rgba(var(--state-caution-rgb), 0.03);
}

.decision-type-card.red span {
  background: rgba(var(--state-caution-rgb), 0.085);
  border-color: rgba(var(--state-caution-rgb), 0.24);
  color: var(--state-caution);
}

/* RESPONSIVE */

@media (max-width: 1180px) {
  .pretixa-page {
    padding: 0 28px 70px;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 40px;
    padding: 64px 0;
  }

  .decision-preview {
    max-width: 720px;
  }

  .trust-section,
  .decision-type-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .example-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 760px) {
  .pretixa-page {
    padding: 0 16px 56px;
  }

  .site-header {
    height: auto;
    min-height: 70px;
    grid-template-columns: 1fr auto;
    gap: 16px;
  }

  .site-logo-img {
    width: 138px;
    transform: none;
    max-width: 100%;
  }

  .site-nav {
    display: none;
  }

  .theme-toggle {
    grid-column: 2;
  }

  .hero-layout {
    padding: 44px 0 48px;
  }

  .hero-layout::before {
    width: 320px;
    height: 320px;
    left: 0;
    right: auto;
    top: 18%;
    opacity: 0.55;
  }

  .hero-title {
    font-size: clamp(42px, 13vw, 58px);
    letter-spacing: -0.055em;
  }

  .hero-subline {
    font-size: 16px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }

  .hero-primary {
    width: 100%;
  }

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

  .decision-preview,
  .input-shell,
  .result-box,
  .winner {
    border-radius: 22px;
    padding: 20px;
  }

  #optionsContainer {
    grid-template-columns: 1fr;
  }

  .input-actions {
    grid-template-columns: 1fr;
  }

  .secondary-button,
  #analyzeButton {
    width: 100%;
  }

  .quick-compare {
    grid-template-columns: 1fr;
  }

  .how-card,
  .trust-section,
  .decision-type-grid,
  .example-grid {
    grid-template-columns: 1fr;
  }

  .trust-card,
  .decision-type-card {
    min-height: auto;
  }

  input,
  textarea,
  select {
    font-size: 16px !important;
  }

  body {
    touch-action: manipulation;
  }

    .decision-preview {
    padding: 20px;
  }

  .preview-score strong {
    font-size: 48px;
  }

  .preview-recommendation {
    padding: 16px;
    margin: 18px 0;
  }

  .preview-mini-card {
    padding: 14px 15px;
  }

  .hero-layout,
  .input-shell,
  .result-box,
  .decision-preview,
  .how-card,
  .trust-section,
  .examples-section,
  .decision-types-section {
    max-width: 100%;
    overflow-x: hidden;
  }

  .footer {
    padding: 24px 16px 38px;
  }
}