/* ══════════════════════════════════════════
   McKINSEY STYLE DESIGN SYSTEM
   Shared CSS for all pages
   ══════════════════════════════════════════ */

/* ══════════════════════════════════════════
   CSS VARIABLES
   ══════════════════════════════════════════ */
:root {
  --primary: #0A2540;
  --primary-light: #1E3A5F;
  --accent: #0066CC;
  --accent-hover: #0052A3;
  --bg-white: #FFFFFF;
  --bg-light: #F8F9FA;
  --bg-gray: #E9ECEF;
  --text-dark: #1A1A1A;
  --text-gray: #6C757D;
  --text-light: #ADB5BD;
  --border: #DEE2E6;
  --shadow: rgba(0, 0, 0, 0.1);
  --shadow-hover: rgba(0, 0, 0, 0.15);
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-zh: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-serif: 'Noto Serif SC', serif;
}

/* ══════════════════════════════════════════
   CSS RESET
   ══════════════════════════════════════════ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-zh);
  background: var(--bg-white);
  color: var(--text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ══════════════════════════════════════════
   NAVIGATION
   ══════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  transition: box-shadow 0.3s ease;
}

.navbar.scrolled {
  box-shadow: 0 2px 20px var(--shadow);
}

.navbar-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.navbar-brand-logo {
  width: 40px;
  height: 40px;
  background: var(--primary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.navbar-brand-text {
  display: flex;
  flex-direction: column;
}

.navbar-brand-name {
  font-size: 20px;
  font-weight: 600;
  color: var(--primary);
  line-height: 1;
  letter-spacing: 2px;
}

.navbar-brand-en {
  font-size: 11px;
  color: var(--text-gray);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-top: 2px;
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.navbar-nav a {
  padding: 8px 16px;
  color: var(--text-dark);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.navbar-nav a:hover {
  background: var(--bg-light);
  color: var(--accent);
}

.navbar-nav a.active {
  background: var(--bg-light);
  color: var(--accent);
}

.navbar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.navbar-lang {
  font-size: 13px;
  color: var(--text-gray);
  cursor: pointer;
  transition: color 0.2s;
}

.navbar-lang:hover {
  color: var(--accent);
}

/* ══════════════════════════════════════════
   BUTTONS
   ══════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
  font-family: var(--font-zh);
}

.btn-primary {
  background: var(--accent);
  color: white;
  box-shadow: 0 4px 14px rgba(0, 102, 204, 0.3);
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 102, 204, 0.4);
}

.btn-secondary {
  background: white;
  color: var(--primary);
  border: 2px solid var(--border);
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-full {
  width: 100%;
}

/* ══════════════════════════════════════════
   FORM COMPONENTS
   ══════════════════════════════════════════ */
.form-card {
  background: white;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 8px 40px var(--shadow);
  border: 1px solid var(--border);
}

.form-header {
  margin-bottom: 32px;
}

.form-title {
  font-size: 24px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 8px;
}

.form-subtitle {
  font-size: 14px;
  color: var(--text-gray);
}

.form-toggle {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
}

.form-toggle-label {
  flex: 1;
  padding: 10px 16px;
  background: var(--bg-light);
  border: 2px solid var(--border);
  border-radius: 8px;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-gray);
  cursor: pointer;
  transition: all 0.2s;
}

.form-toggle-label:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.form-toggle-label.active {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
}

.form-toggle-input {
  display: none;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.label-hint {
  font-size: 11px;
  font-weight: 400;
  color: var(--text-light);
  text-transform: none;
  letter-spacing: 0;
  margin-left: 6px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  font-size: 15px;
  font-family: var(--font-zh);
  border: 2px solid var(--border);
  border-radius: 8px;
  color: var(--text-dark);
  transition: all 0.2s;
  background: white;
}

.form-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.form-input::placeholder {
  color: var(--text-light);
}

.form-select {
  width: 100%;
  padding: 12px 16px;
  font-size: 15px;
  font-family: var(--font-zh);
  border: 2px solid var(--border);
  border-radius: 8px;
  color: var(--text-dark);
  background: white;
  cursor: pointer;
  transition: all 0.2s;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236C757D' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 40px;
}

.form-select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.form-textarea {
  width: 100%;
  padding: 12px 16px;
  font-size: 15px;
  font-family: var(--font-zh);
  border: 2px solid var(--border);
  border-radius: 8px;
  color: var(--text-dark);
  transition: all 0.2s;
  background: white;
  resize: vertical;
  min-height: 100px;
  line-height: 1.6;
}

.form-textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.form-gender {
  display: flex;
  gap: 16px;
}

.form-gender-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  color: var(--text-dark);
  cursor: pointer;
}

.form-gender-input {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
}

.form-hint {
  font-size: 12px;
  color: var(--text-light);
  margin-top: 6px;
  line-height: 1.5;
}

.form-submit {
  width: 100%;
  padding: 14px;
  background: var(--accent);
  color: white;
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
  margin-top: 8px;
  font-family: var(--font-zh);
}

.form-submit:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 102, 204, 0.3);
}

.form-submit:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

/* ══════════════════════════════════════════
   PAGE LAYOUT
   ══════════════════════════════════════════ */
.page-wrapper {
  min-height: 100vh;
  padding-top: 72px;
  background: var(--bg-light);
}

.page-inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 48px 24px;
}

.page-inner-wide {
  max-width: 1100px;
  margin: 0 auto;
  padding: 48px 24px;
}

/* ══════════════════════════════════════════
   PAGE HEADER
   ══════════════════════════════════════════ */
.page-header {
  margin-bottom: 40px;
}

.page-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.page-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
  letter-spacing: -0.5px;
  line-height: 1.2;
}

.page-subtitle {
  font-size: 16px;
  color: var(--text-gray);
  max-width: 600px;
  line-height: 1.6;
}

/* ══════════════════════════════════════════
   MK CARD (McKinsey-style content card)
   ══════════════════════════════════════════ */
.mk-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 24px;
  box-shadow: 0 2px 8px var(--shadow);
}

.mk-card-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 12px;
}

.mk-card-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}

.mk-card-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--primary);
}

.mk-card-body {
  padding: 24px;
}

/* ══════════════════════════════════════════
   SECTION HEADER
   ══════════════════════════════════════════ */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-tag {
  display: inline-block;
  padding: 6px 16px;
  background: var(--bg-light);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.section-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.section-subtitle {
  font-size: 16px;
  color: var(--text-gray);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ══════════════════════════════════════════
   BACK LINK
   ══════════════════════════════════════════ */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-gray);
  text-decoration: none;
  margin-bottom: 32px;
  transition: color 0.2s;
}

.back-link:hover {
  color: var(--accent);
}

.back-link svg {
  transition: transform 0.2s;
}

.back-link:hover svg {
  transform: translateX(-3px);
}

/* ══════════════════════════════════════════
   LOADING
   ══════════════════════════════════════════ */
.loading-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 60px 24px;
  text-align: center;
  box-shadow: 0 2px 8px var(--shadow);
}

.loading-spinner {
  display: inline-block;
  width: 40px;
  height: 40px;
  border: 3px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 16px;
}

.loading-text {
  font-size: 15px;
  color: var(--text-gray);
  line-height: 1.6;
}

/* ══════════════════════════════════════════
   ANALYSIS TEXT
   ══════════════════════════════════════════ */
.analysis-text {
  font-size: 15px;
  line-height: 1.9;
  color: var(--text-dark);
  white-space: normal;
}

.analysis-text h2,
.analysis-text h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--primary);
  margin-top: 28px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.analysis-text h2:first-child,
.analysis-text h3:first-child {
  margin-top: 0;
}

.analysis-text p {
  margin-bottom: 16px;
}

.analysis-text ul,
.analysis-text ol {
  margin-bottom: 16px;
  padding-left: 20px;
}

.analysis-text li {
  margin-bottom: 8px;
  line-height: 1.7;
}

.analysis-text strong {
  color: var(--primary);
  font-weight: 600;
}

body.report-page .page-inner {
  max-width: 960px;
}

.report-shell {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.report-hero {
  position: relative;
  overflow: hidden;
  padding: 26px;
  border-radius: 22px;
  border: 1px solid #dbe5f1;
  background:
    radial-gradient(circle at top right, rgba(59, 130, 246, 0.12) 0, rgba(59, 130, 246, 0) 34%),
    linear-gradient(135deg, #0b1f44 0%, #15366d 44%, #ffffff 44%, #f8fbff 100%);
  box-shadow: 0 18px 42px rgba(11, 31, 68, 0.08);
}

.report-hero::after {
  content: '';
  position: absolute;
  inset: auto -80px -80px auto;
  width: 220px;
  height: 220px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.18), rgba(59, 130, 246, 0));
  pointer-events: none;
}

.report-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.9);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.report-hero-title {
  margin-top: 18px;
  max-width: 440px;
  color: #ffffff;
  font-family: var(--font-serif);
  font-size: 34px;
  line-height: 1.18;
  letter-spacing: -0.03em;
}

.report-hero-desc {
  margin-top: 12px;
  max-width: 420px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  line-height: 1.8;
}

.report-hero-stats {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.report-stat {
  min-width: 118px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
}

.report-stat-label {
  display: block;
  color: rgba(255, 255, 255, 0.68);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.report-stat-value {
  display: block;
  margin-top: 6px;
  color: #ffffff;
  font-size: 22px;
  line-height: 1.1;
  font-weight: 700;
}

.report-stat-note {
  display: block;
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  line-height: 1.5;
}

.report-preview-tags {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.report-preview-tag {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(11, 31, 68, 0.08);
  color: #15366d;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
}

.report-intro-card,
.report-disclaimer {
  padding: 18px 20px;
  border-radius: 18px;
}

.report-intro-card {
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
  border: 1px solid #dbe8f8;
}

.report-intro-label,
.report-disclaimer-label,
.report-nav-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.report-intro-label,
.report-nav-label {
  color: #1d4ed8;
}

.report-disclaimer {
  background: linear-gradient(180deg, #fff7ed 0%, #fff 100%);
  border: 1px solid #fed7aa;
}

.report-disclaimer-label {
  color: #c2410c;
}

.report-intro-paragraph,
.report-disclaimer-text {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.9;
}

.report-nav-wrap {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.report-nav {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: thin;
}

.report-nav-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid #dbe5f1;
  background: #ffffff;
  color: var(--primary);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.report-nav-item:hover {
  border-color: #93c5fd;
  color: #1d4ed8;
  background: #f8fbff;
}

.report-nav-item-index {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: #eaf2ff;
  color: #1d4ed8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
}

.report-sections {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.report-block {
  padding: 22px;
  border-radius: 20px;
  border: 1px solid #dce6f2;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
  scroll-margin-top: 92px;
}

.report-block-head {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 16px;
}

.report-block-meta {
  flex: 1;
  min-width: 0;
}

.report-block-index {
  width: 50px;
  height: 50px;
  border-radius: 16px;
  background: linear-gradient(135deg, #0b1f44 0%, #2563eb 100%);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.2);
  flex-shrink: 0;
}

.report-block-kicker {
  display: inline-block;
  color: #2563eb;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.report-block-title {
  margin-top: 6px;
  color: var(--primary);
  font-family: var(--font-serif);
  font-size: 25px;
  line-height: 1.25;
  letter-spacing: -0.03em;
}

.report-block-divider {
  width: 100%;
  height: 1px;
  margin-top: 14px;
  background: linear-gradient(90deg, rgba(29, 78, 216, 0.22), rgba(29, 78, 216, 0));
}

.report-block-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.report-paragraph {
  margin: 0;
  font-size: 15px;
  line-height: 1.95;
  color: var(--text-dark);
}

.report-paragraph strong {
  color: var(--primary);
}

.report-paragraph.is-callout {
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid #dbe8f8;
  border-left: 4px solid #2563eb;
  background: #f8fbff;
}

.report-empty {
  padding: 24px;
  border-radius: 18px;
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  color: #64748b;
  font-size: 14px;
}

/* ══════════════════════════════════════════
   PAY CTA CARD
   ══════════════════════════════════════════ */
.pay-card {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: 16px;
  padding: 40px;
  margin-bottom: 24px;
  color: white;
}

.pay-card-title {
  font-size: 24px;
  font-weight: 700;
  color: white;
  margin-bottom: 8px;
  line-height: 1.3;
}

.pay-card-sub {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 28px;
  line-height: 1.6;
}

.pay-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 24px;
  margin-bottom: 32px;
}

.pay-features .span-full {
  grid-column: 1 / -1;
}

.pay-features li,
.pay-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  list-style: none;
  line-height: 1.5;
}

.pay-features li::before,
.pay-feature-item::before {
  content: "✓";
  color: #4FC3F7;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.pay-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 16px 32px;
  background: white;
  color: var(--primary);
  font-size: 16px;
  font-weight: 700;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  font-family: var(--font-zh);
}

.pay-btn:hover {
  background: var(--bg-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.pay-btn:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.8);
  outline-offset: 2px;
}

/* ══════════════════════════════════════════
   HERO SECTION (index.html)
   ══════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--bg-white) 0%, var(--bg-light) 100%);
  padding-top: 72px;
  overflow: hidden;
}

.hero-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.03;
  background-image: repeating-linear-gradient(
    45deg,
    var(--primary) 0,
    var(--primary) 1px,
    transparent 0,
    transparent 50%
  );
  background-size: 20px 20px;
}

.hero-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 60px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content {
  animation: fadeInUp 0.8s ease;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 12px;
  color: var(--text-gray);
  margin-bottom: 24px;
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}

.hero-title {
  font-size: 48px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-gray);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 500px;
}

.hero-cta {
  display: flex;
  gap: 16px;
}

.hero-form-card {
  background: white;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 8px 40px var(--shadow);
  border: 1px solid var(--border);
  animation: fadeInRight 0.8s ease;
}

/* ══════════════════════════════════════════
   FEATURES SECTION
   ══════════════════════════════════════════ */
.features {
  padding: 80px 24px;
  background: var(--bg-white);
}

.features-inner {
  max-width: 1400px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature-card {
  padding: 32px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.feature-card:hover {
  box-shadow: 0 8px 30px var(--shadow);
  transform: translateY(-4px);
  border-color: var(--accent);
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: var(--bg-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--accent);
  margin-bottom: 20px;
}

.feature-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 12px;
}

.feature-desc {
  font-size: 14px;
  color: var(--text-gray);
  line-height: 1.6;
}

/* ══════════════════════════════════════════
   STATS SECTION
   ══════════════════════════════════════════ */
.stats {
  padding: 80px 24px;
  background: var(--primary);
  color: white;
}

.stats-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}

.stat-item {
  padding: 24px;
}

.stat-number {
  font-size: 48px;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 8px;
  background: linear-gradient(135deg, #FFFFFF 0%, #B8D4E8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 14px;
  opacity: 0.8;
}

/* ══════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════ */
.footer {
  padding: 60px 24px 24px;
  background: var(--bg-light);
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 40px;
}

.footer-brand-logo {
  width: 40px;
  height: 40px;
  background: var(--primary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.footer-brand-name {
  font-size: 20px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 12px;
}

.footer-brand-desc {
  font-size: 14px;
  color: var(--text-gray);
  line-height: 1.6;
  max-width: 300px;
}

.footer-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--text-gray);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-copyright {
  font-size: 13px;
  color: var(--text-light);
}

.footer-social {
  display: flex;
  gap: 16px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text-gray);
  transition: all 0.2s;
}

.footer-social a:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
}

/* ══════════════════════════════════════════
   LEGACY PAGE LAYOUT (used in some pages)
   ══════════════════════════════════════════ */
.page-layout {
  min-height: 100vh;
  padding-top: 72px;
}

.page-header-inner {
  max-width: 1400px;
  margin: 0 auto;
}

.page-content {
  padding: 60px 24px;
}

.page-content-inner {
  max-width: 1000px;
  margin: 0 auto;
}

/* ══════════════════════════════════════════
   CARD COMPONENTS (generic)
   ══════════════════════════════════════════ */
.card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 24px;
}

.card-header {
  padding: 24px;
  border-bottom: 1px solid var(--border);
}

.card-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 4px;
}

.card-subtitle {
  font-size: 14px;
  color: var(--text-gray);
}

.card-body {
  padding: 24px;
}

.card-footer {
  padding: 24px;
  border-top: 1px solid var(--border);
  background: var(--bg-light);
}

/* ══════════════════════════════════════════
   RESULT DISPLAY
   ══════════════════════════════════════════ */
.result-section {
  display: none;
  animation: fadeInUp 0.5s ease;
}

.result-section.active {
  display: block;
}

.result-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.result-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--primary);
}

.result-meta {
  font-size: 13px;
  color: var(--text-gray);
}

.result-content {
  line-height: 1.8;
  color: var(--text-dark);
}

.result-content p {
  margin-bottom: 16px;
}

.result-content strong {
  color: var(--primary);
  font-weight: 600;
}

/* ══════════════════════════════════════════
   ANIMATIONS
   ══════════════════════════════════════════ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ══════════════════════════════════════════
   RESPONSIVE — 1200px
   ══════════════════════════════════════════ */
@media (max-width: 1200px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .hero-title {
    font-size: 40px;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ══════════════════════════════════════════
   RESPONSIVE — 768px
   ══════════════════════════════════════════ */
@media (max-width: 768px) {
  body.report-page .page-inner {
    max-width: 100%;
  }

  .navbar-inner {
    padding: 0 16px;
    height: auto;
    min-height: 64px;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .navbar-nav {
    display: flex;
    width: 100%;
    overflow-x: auto;
    white-space: nowrap;
    gap: 6px;
    padding-bottom: 4px;
  }

  .navbar-nav a {
    padding: 6px 12px;
    font-size: 13px;
  }

  /* Page layout */
  .page-wrapper {
    padding-top: 86px;
  }

  .page-inner,
  .page-inner-wide {
    padding: 32px 16px;
  }

  .report-hero {
    padding: 20px;
    border-radius: 18px;
    background:
      radial-gradient(circle at top right, rgba(59, 130, 246, 0.16) 0, rgba(59, 130, 246, 0) 40%),
      linear-gradient(180deg, #0b1f44 0%, #15366d 46%, #ffffff 46%, #f8fbff 100%);
  }

  .report-hero-title {
    margin-top: 16px;
    font-size: 28px;
    max-width: none;
  }

  .report-hero-desc {
    max-width: none;
    font-size: 13px;
    line-height: 1.75;
  }

  .report-hero-stats {
    gap: 10px;
  }

  .report-stat {
    min-width: calc(50% - 5px);
    flex: 1 1 calc(50% - 5px);
  }

  .report-preview-tags {
    gap: 6px;
  }

  .report-preview-tag {
    padding: 7px 10px;
    font-size: 11px;
  }

  .report-block {
    padding: 18px 16px;
    border-radius: 18px;
  }

  .report-block-head {
    gap: 12px;
    margin-bottom: 14px;
  }

  .report-block-index {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    font-size: 15px;
  }

  .report-block-title {
    font-size: 20px;
  }

  .report-paragraph {
    font-size: 14px;
    line-height: 1.9;
  }

  .report-nav-item {
    padding: 9px 12px;
    font-size: 12px;
  }

  .page-title {
    font-size: 28px;
  }

  .section-title {
    font-size: 28px;
  }

  /* Hero */
  .hero-inner {
    padding: 40px 16px;
  }

  .hero-title {
    font-size: 32px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .hero-cta {
    flex-direction: column;
  }

  .hero-form-card {
    padding: 24px;
  }

  /* Form */
  .form-card {
    padding: 24px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .form-row-2 {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  /* Features */
  .features {
    padding: 60px 16px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  /* Stats */
  .stats {
    padding: 60px 16px;
  }

  .stats-inner {
    grid-template-columns: 1fr;
  }

  /* Pay card */
  .pay-card {
    padding: 28px 20px;
  }

  .pay-features {
    grid-template-columns: 1fr;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}
