/* ── Base (from styles.css) ── */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/inter.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

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

:root {
  --indigo: #635BFF;
  --indigo-dark: #4F46E5;
  --indigo-light: #EEF2FF;
  --teal: #00D4AA;
  --teal-light: #E6FBF6;
  --navy: #0A2540;
  --navy-mid: #1A3A5C;
  --text: #425466;
  --text-light: #697386;
  --border: #E3E8EE;
  --bg: #FFFFFF;
  --bg-off: #F6F9FC;
  --bg-subtle: #FAFBFC;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
}
.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.logo img {
  height: 52px;
  width: auto;
  display: block;
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}
.nav-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  padding: 6px 4px;
  transition: color 0.15s;
}
.nav-link:hover { color: var(--indigo); }
.nav-link--active { color: var(--indigo); }
.nav-cta {
  background: var(--indigo);
  color: #fff;
  padding: 9px 20px;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s, transform 0.1s;
}
.nav-cta:hover { background: var(--indigo-dark); transform: translateY(-1px); }

section { padding: 96px 24px; }
.container { max-width: 1120px; margin: 0 auto; }

.section-eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--indigo);
  margin-bottom: 12px;
}
h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.15;
  letter-spacing: -0.03em;
  max-width: 760px;
  margin: 0 auto 24px;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--indigo-light);
  color: var(--indigo);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 28px;
}
.hero-eyebrow-dot {
  width: 6px; height: 6px;
  background: var(--teal);
  border-radius: 50%;
}
.hero-sub {
  font-size: 1.15rem;
  color: var(--text-light);
  max-width: 520px;
  margin: 0 auto 44px;
  line-height: 1.7;
}

footer {
  border-top: 1px solid var(--border);
  padding: 32px 24px;
  background: var(--bg-subtle);
}
.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-copy {
  font-size: 0.825rem;
  color: var(--text-light);
}
.footer-link {
  font-size: 0.825rem;
  color: var(--text-light);
  text-decoration: none;
  transition: color 0.15s;
}
.footer-link:hover { color: var(--indigo); }

/* ── Reports hero ── */

.reports-hero {
  padding: 72px 24px 24px;
  text-align: center;
  background: linear-gradient(180deg, #FAFBFF 0%, #FFFFFF 100%);
  position: relative;
  overflow: hidden;
}
.reports-hero::before {
  content: '';
  position: absolute;
  top: -100px; left: 50%;
  transform: translateX(-50%);
  width: 800px; height: 400px;
  background: radial-gradient(ellipse at center, rgba(99,91,255,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.reports-hero h1 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  margin-bottom: 16px;
}
.reports-hero .hero-sub {
  margin-bottom: 0;
}

/* ── Reports grid ── */

.reports-section {
  padding: 24px 24px 96px;
  background: var(--bg);
}
.reports-grid {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 32px;
}

/* ── Report card ── */

.report-card {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}
.report-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(10,37,64,0.1);
}
.card-thumbnail {
  width: 100%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--navy);
  position: relative;
  flex-shrink: 0;
}
.card-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.card-thumbnail-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 24px;
}
.placeholder-icon {
  width: 56px; height: 56px;
  background: rgba(255,255,255,0.08);
  border: 1.5px solid rgba(255,255,255,0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.placeholder-lines {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  max-width: 160px;
}
.placeholder-line {
  height: 6px;
  border-radius: 3px;
  background: rgba(255,255,255,0.12);
}
.placeholder-line:first-child { width: 100%; }
.placeholder-line:nth-child(2) { width: 80%; }
.placeholder-line:nth-child(3) { width: 90%; }
.placeholder-line:nth-child(4) { width: 60%; }
.placeholder-badge {
  position: absolute;
  top: 16px; right: 16px;
  background: var(--teal);
  color: var(--navy);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
}
.card-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.card-date {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--indigo);
  margin-bottom: 10px;
}
.card-body h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.02em;
  line-height: 1.35;
  margin-bottom: 12px;
}
.card-body p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 24px;
}
.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--navy);
  color: #fff;
  padding: 12px 22px;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  width: 100%;
  justify-content: center;
  transition: background 0.15s, transform 0.1s;
}
.btn-download:hover {
  background: var(--navy-mid);
  transform: translateY(-1px);
}
.btn-download svg { flex-shrink: 0; }

/* ── Modal ── */

.modal-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10,37,64,0.6);
  backdrop-filter: blur(4px);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal-backdrop.is-open {
  display: flex;
}
.modal {
  background: #fff;
  border-radius: 20px;
  padding: 40px;
  width: 100%;
  max-width: 420px;
  position: relative;
  box-shadow: 0 24px 64px rgba(10,37,64,0.2);
  animation: modal-in 0.2s ease;
}
@keyframes modal-in {
  from { opacity: 0; transform: translateY(12px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 32px; height: 32px;
  background: var(--bg-off);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-light);
  transition: background 0.15s;
  flex-shrink: 0;
}
.modal-close:hover { background: var(--border); }
.modal-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--indigo);
  margin-bottom: 8px;
}
.modal h2 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.025em;
  line-height: 1.3;
  margin-bottom: 8px;
}
.modal-report-title {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 28px;
  font-style: italic;
}
.modal-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-field label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--navy);
}
.form-field input {
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 0.9rem;
  color: var(--navy);
  font-family: inherit;
  outline: none;
  transition: border-color 0.15s;
  background: var(--bg);
}
.form-field input:focus { border-color: var(--indigo); }
.form-field input::placeholder { color: #B0BAC8; }
.btn-get-report {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--indigo);
  color: #fff;
  padding: 13px 24px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s, transform 0.1s, box-shadow 0.15s;
  box-shadow: 0 4px 14px rgba(99,91,255,0.35);
  margin-top: 4px;
}
.btn-get-report:hover {
  background: var(--indigo-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(99,91,255,0.4);
}
.btn-get-report:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}
.modal-privacy {
  font-size: 0.775rem;
  color: var(--text-light);
  text-align: center;
  margin-top: 12px;
  line-height: 1.5;
}
.modal-success {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  padding: 8px 0;
}
.modal-success.is-visible { display: flex; }
.success-icon {
  width: 56px; height: 56px;
  background: var(--teal-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal-success h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
}
.modal-success p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* ── Responsive ── */

@media (max-width: 640px) {
  .reports-hero { padding: 52px 20px 40px; }
  .reports-section { padding: 48px 20px 72px; }
  .modal { padding: 28px 24px; }
}
