@import url('https://fonts.googleapis.com/css2?family=Syne:wght@500;700;800&family=DM+Sans:wght@300;400;500;700&display=swap');

:root {
  --bg: #0a0e1a;
  --bg-soft: #0f1728;
  --surface: rgba(17, 24, 39, 0.92);
  --surface-2: rgba(26, 34, 53, 0.94);
  --surface-3: rgba(14, 22, 37, 0.96);
  --border: rgba(90, 122, 167, 0.22);
  --border-strong: rgba(41, 171, 226, 0.34);
  --accent: #29abe2;
  --accent-2: #1a8ab5;
  --accent-soft: rgba(41, 171, 226, 0.14);
  --orange: #ff6b00;
  --orange-soft: rgba(255, 107, 0, 0.14);
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --text: #e2e8f0;
  --text-dim: #94a3b8;
  --text-muted: #64748b;
  --white: #ffffff;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --container: 1100px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', sans-serif;
  background:
    radial-gradient(circle at top right, rgba(41, 171, 226, 0.11), transparent 28%),
    radial-gradient(circle at bottom left, rgba(255, 107, 0, 0.07), transparent 24%),
    var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(41, 171, 226, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(41, 171, 226, 0.035) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

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

ul {
  list-style: none;
}

.page-shell,
.wrap,
.page-wrap,
.main,
.results-main,
.results-header-inner,
.header-inner,
.progress-inner {
  position: relative;
  z-index: 1;
}

.page-wrap,
.wrap,
.main,
.results-main,
.header-inner,
.results-header-inner,
.progress-inner {
  width: min(var(--container), calc(100% - 32px));
  margin-inline: auto;
}

.brand-bar {
  position: sticky;
  top: 0;
  z-index: 120;
  backdrop-filter: blur(14px);
  background: rgba(10, 14, 26, 0.76);
  border-bottom: 1px solid var(--border);
}

.brand-bar__inner {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand-mark {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-mark__logo {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(41, 171, 226, 0.24), rgba(26, 138, 181, 0.12));
  border: 1px solid var(--border-strong);
  display: grid;
  place-items: center;
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  color: var(--accent);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.04);
}

.brand-mark__text small {
  display: block;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.brand-mark__text strong {
  display: block;
  font-family: 'Syne', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
}

.brand-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.link-chip,
.back-link,
.top-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
  color: var(--text-dim);
  transition: 0.2s ease;
}

.link-chip:hover,
.back-link:hover,
.top-link:hover {
  border-color: var(--border-strong);
  color: var(--white);
  background: rgba(41,171,226,0.08);
}

.hero-panel,
.section-card,
.company-form,
.info-card,
.result-card,
.radar-wrap,
.roadmap-card,
.card,
.dim-section {
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.95), rgba(13, 19, 31, 0.98));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.page-hero,
.header,
.results-header {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(13, 21, 38, 0.96) 0%, rgba(10, 14, 26, 0.98) 58%, rgba(9, 26, 42, 0.98) 100%);
  border-bottom: 1px solid var(--border);
}

.page-hero::before,
.header::before,
.results-header::before {
  content: '';
  position: absolute;
  inset: auto -120px -180px auto;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(41, 171, 226, 0.1), transparent 70%);
  pointer-events: none;
}

.hero-badge,
.badge,
.section-kicker,
.card-tag,
.selector-label,
.card-title,
.section-title,
.phase-label,
.roadmap-period,
.finding-title,
.rec-dim,
.dim-answer-header,
.dim-num,
.dim-number,
.meta-lbl,
.stat-lbl,
.prog-label,
.progress-label,
.info-field label,
.form-group label,
.opt-labels,
.level-label,
.q-level-label,
.qw-num,
.qa-code,
.roadmap-period,
.phase-label {
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.hero-badge,
.badge,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(41, 171, 226, 0.24);
  background: rgba(41, 171, 226, 0.1);
  color: var(--accent);
  font-family: 'Syne', sans-serif;
  font-size: 11px;
  font-weight: 700;
}

.hero-badge::before,
.badge::before,
.section-kicker::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 8px rgba(41, 171, 226, 0.12);
}

.hero-title,
.header h1,
.results-header h2,
h1,
.section-heading,
.score-label,
.score-profile,
.card h3,
.company-form h2,
.card-title--main {
  font-family: 'Syne', sans-serif;
}

.header h1,
h1 {
  font-size: clamp(2.15rem, 4vw, 3.8rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: var(--white);
}

.header h1 span,
.hero-title .accent,
.score-label {
  color: var(--accent);
}

.header-sub,
.hero-sub,
.score-desc,
.section-copy {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-dim);
}

.meta-grid,
.header-meta,
.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.meta-item,
.stat {
  min-width: 120px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
}

.meta-val,
.stat-val {
  display: block;
  font-family: 'Syne', sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 6px;
}

.meta-lbl,
.stat-lbl,
.progress-label,
.prog-label {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-muted);
}

.section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Syne', sans-serif;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.section-title span,
.card-title::after {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(41, 171, 226, 0.4), transparent);
}

.card-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Syne', sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.btn-primary,
.btn-secondary,
.btn-pdf,
.btn-calc,
.card-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  border-radius: 12px;
  border: 0;
  padding: 0 22px;
  transition: 0.2s ease;
  font-family: 'Syne', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
}

.btn-primary,
.btn-calc,
.btn-pdf,
.card-cta {
  color: var(--white);
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 12px 28px rgba(41, 171, 226, 0.24);
}

.btn-primary:hover,
.btn-calc:hover,
.btn-pdf:hover,
.card-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 34px rgba(41, 171, 226, 0.28);
}

.btn-secondary {
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.03);
  color: var(--text);
}

.btn-secondary:hover {
  border-color: var(--border-strong);
  color: var(--white);
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(8, 14, 24, 0.9);
  color: var(--text);
  transition: 0.2s ease;
}

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

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--border-strong);
  box-shadow: 0 0 0 4px rgba(41, 171, 226, 0.12);
}

footer.page-footer,
.report-footer {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.82rem;
  padding: 28px 0 40px;
}

.hidden {
  display: none !important;
}

@media (max-width: 780px) {
  .brand-bar__inner {
    padding: 12px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .page-wrap,
  .wrap,
  .main,
  .results-main,
  .header-inner,
  .results-header-inner,
  .progress-inner {
    width: min(var(--container), calc(100% - 24px));
  }

  .meta-item,
  .stat {
    min-width: calc(50% - 7px);
  }
}

@media (max-width: 560px) {
  .meta-item,
  .stat {
    min-width: 100%;
  }

  .btn-primary,
  .btn-secondary,
  .btn-pdf,
  .btn-calc {
    width: 100%;
  }
}
