/* ============================================================
   Clean Data AU — Brand Stylesheet
   ============================================================ */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:       #0B1A2E;
  --navy-light: #122240;
  --slate:      #1E3050;
  --teal:       #00C2B8;
  --teal-dark:  #00A89F;
  --teal-glow:  rgba(0, 194, 184, 0.15);
  --sky:        #38BDF8;
  --white:      #FFFFFF;
  --off-white:  #F7F9FC;
  --gray-50:    #F1F5F9;
  --gray-100:   #E2E8F0;
  --gray-200:   #CBD5E1;
  --gray-400:   #94A3B8;
  --gray-500:   #64748B;
  --gray-600:   #475569;
  --gray-700:   #334155;
  --gray-800:   #1E293B;
  --gray-900:   #0F172A;
  --gold:       #F59E0B;
  --red:        #EF4444;
  --green:      #10B981;
  --font-body:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-head:  'Plus Jakarta Sans', 'Inter', sans-serif;
  --font-mono:  'JetBrains Mono', 'Fira Code', monospace;
  --max-w:      1200px;
  --ease:       cubic-bezier(0.22, 1, 0.36, 1);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--teal-dark); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--teal); }

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

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy);
}

h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); letter-spacing: -0.02em; }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
h4 { font-size: 1.1rem; }

p { max-width: 68ch; }

.section-label {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--teal);
  margin-bottom: 0.75rem;
  display: block;
}

.section-subtitle {
  font-size: 1.15rem;
  color: var(--gray-500);
  max-width: 56ch;
  margin-top: 0.75rem;
}

/* --- Layout --- */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 2rem; }

section {
  padding: 6rem 0;
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(11, 26, 46, 0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 0.3s;
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--white);
  letter-spacing: -0.02em;
}

.nav-logo .dot {
  width: 10px;
  height: 10px;
  background: var(--teal);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 12px var(--teal);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  list-style: none;
}

.nav-links a {
  color: var(--gray-200);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--teal); }

.nav-cta {
  background: var(--teal);
  color: var(--navy) !important;
  font-weight: 700 !important;
  padding: 0.55rem 1.4rem;
  border-radius: 8px;
  font-size: 0.85rem !important;
  transition: all 0.2s var(--ease);
}

.nav-cta:hover {
  background: var(--white) !important;
  color: var(--navy) !important;
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  margin: 5px 0;
  transition: all 0.3s;
}

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--navy);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 900px;
  height: 900px;
  background: radial-gradient(circle, var(--teal-glow) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 8rem 2rem 6rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 194, 184, 0.1);
  border: 1px solid rgba(0, 194, 184, 0.25);
  padding: 0.4rem 1rem;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--teal);
  margin-bottom: 2rem;
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
}

.hero-badge .pulse {
  width: 8px;
  height: 8px;
  background: var(--teal);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(0, 194, 184, 0.4); }
  50% { opacity: 0.8; box-shadow: 0 0 0 8px rgba(0, 194, 184, 0); }
}

.hero h1 {
  color: var(--white);
  margin-bottom: 1.5rem;
  max-width: 16ch;
}

.hero h1 .accent { color: var(--teal); }

.hero-desc {
  font-size: 1.2rem;
  color: var(--gray-400);
  max-width: 52ch;
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: all 0.25s var(--ease);
  text-decoration: none;
}

.btn-primary {
  background: var(--teal);
  color: var(--navy);
}

.btn-primary:hover {
  background: var(--white);
  color: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 194, 184, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--gray-200);
  border: 1px solid var(--gray-600);
}

.btn-outline:hover {
  border-color: var(--teal);
  color: var(--teal);
  transform: translateY(-2px);
}

.hero-stats {
  display: flex;
  gap: 3rem;
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-stat h3 {
  color: var(--teal);
  font-size: 2rem;
  font-family: var(--font-head);
}

.hero-stat p {
  color: var(--gray-400);
  font-size: 0.85rem;
  margin-top: 0.25rem;
}

/* --- Grid pattern overlay for hero --- */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 1;
}

/* --- Services --- */
.services { background: var(--off-white); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: 16px;
  padding: 2.2rem;
  transition: all 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--sky));
  opacity: 0;
  transition: opacity 0.3s;
}

.service-card:hover {
  border-color: var(--teal);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
}

.service-card:hover::before { opacity: 1; }

.service-icon {
  width: 48px;
  height: 48px;
  background: var(--teal-glow);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.2rem;
}

.service-card h3 { margin-bottom: 0.6rem; }

.service-card p {
  color: var(--gray-500);
  font-size: 0.92rem;
  line-height: 1.7;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 1.2rem;
}

.service-tag {
  background: var(--gray-50);
  color: var(--gray-600);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.7rem;
  border-radius: 100px;
}

/* --- How it works --- */
.process { background: var(--white); }

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.process-step {
  text-align: center;
  padding: 2rem 1.5rem;
}

.step-number {
  width: 56px;
  height: 56px;
  background: var(--navy);
  color: var(--teal);
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
}

.process-step h3 { margin-bottom: 0.6rem; }
.process-step p { color: var(--gray-500); font-size: 0.92rem; margin: 0 auto; }

.process-connector {
  display: none; /* shown on larger screens via grid */
}

/* --- Sample Reports --- */
.samples { background: var(--off-white); }

.samples-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.sample-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s var(--ease);
}

.sample-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.08);
  border-color: var(--teal);
}

.sample-preview {
  background: var(--navy);
  padding: 2rem;
  position: relative;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.sample-type {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(0, 194, 184, 0.15);
  border: 1px solid rgba(0, 194, 184, 0.3);
  color: var(--teal);
  font-size: 0.7rem;
  font-weight: 700;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.3rem 0.8rem;
  border-radius: 6px;
}

.sample-preview h3 {
  color: var(--white);
  font-size: 1.25rem;
}

.sample-preview p {
  color: var(--gray-400);
  font-size: 0.85rem;
  margin-top: 0.4rem;
}

.sample-body {
  padding: 1.5rem 2rem;
}

.sample-highlights {
  list-style: none;
  margin-bottom: 1.2rem;
}

.sample-highlights li {
  padding: 0.35rem 0;
  color: var(--gray-600);
  font-size: 0.88rem;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.sample-highlights li::before {
  content: '—';
  color: var(--teal);
  font-weight: 700;
  flex-shrink: 0;
}

.sample-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--teal-dark);
  font-weight: 600;
  font-size: 0.88rem;
  transition: gap 0.2s;
}

.sample-link:hover { gap: 0.7rem; color: var(--teal); }

.sample-link svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s;
}

/* --- Differentiators --- */
.diff { background: var(--navy); color: var(--white); }

.diff h2 { color: var(--white); }
.diff .section-subtitle { color: var(--gray-400); }

.diff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.diff-card {
  background: var(--navy-light);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.3s var(--ease);
}

.diff-card:hover {
  border-color: var(--teal);
  transform: translateY(-2px);
}

.diff-card h3 {
  color: var(--white);
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.diff-card p {
  color: var(--gray-400);
  font-size: 0.92rem;
}

/* --- Pricing --- */
.pricing { background: var(--off-white); }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
  max-width: 960px;
}

.price-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: 16px;
  padding: 2.5rem;
  text-align: center;
  transition: all 0.3s var(--ease);
  position: relative;
}

.price-card.featured {
  border-color: var(--teal);
  box-shadow: 0 0 0 1px var(--teal);
}

.price-card.featured::before {
  content: 'Most Popular';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--teal);
  color: var(--navy);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.3rem 1rem;
  border-radius: 100px;
}

.price-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
}

.price-label {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--teal);
}

.price-value {
  font-family: var(--font-head);
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--navy);
  margin: 0.5rem 0;
}

.price-value span { font-size: 1rem; font-weight: 500; color: var(--gray-500); }

.price-desc {
  color: var(--gray-500);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--gray-100);
}

.price-features {
  list-style: none;
  text-align: left;
  margin-bottom: 2rem;
}

.price-features li {
  padding: 0.4rem 0;
  color: var(--gray-600);
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.price-features .check {
  color: var(--teal);
  font-weight: 700;
  flex-shrink: 0;
}

.price-btn {
  width: 100%;
  justify-content: center;
}

/* --- Contact --- */
.contact { background: var(--white); }

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  margin-top: 3rem;
}

.contact-info h3 {
  margin-bottom: 0.5rem;
  margin-top: 2rem;
}

.contact-info h3:first-child { margin-top: 0; }

.contact-info p {
  color: var(--gray-500);
  font-size: 0.92rem;
}

.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--teal-dark);
  margin-top: 0.5rem;
}

.contact-form {
  background: var(--off-white);
  border: 1px solid var(--gray-100);
  border-radius: 16px;
  padding: 2.5rem;
}

.form-group {
  margin-bottom: 1.2rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  background: var(--white);
  transition: border-color 0.2s;
  color: var(--gray-800);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px var(--teal-glow);
}

.form-group textarea { min-height: 120px; resize: vertical; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* --- Footer --- */
.footer {
  background: var(--navy);
  color: var(--gray-400);
  padding: 3rem 0;
  text-align: center;
  font-size: 0.85rem;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.footer-links a { color: var(--gray-400); font-size: 0.85rem; }
.footer-links a:hover { color: var(--teal); }

.footer-platforms {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.platform-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--gray-400);
  transition: all 0.25s var(--ease);
}

.platform-link:hover {
  background: var(--teal-glow);
  color: var(--teal);
  transform: translateY(-2px);
}

.platform-link svg { width: 18px; height: 18px; }

/* --- Portfolio --- */
.portfolio { background: var(--white); }

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.portfolio-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.3s var(--ease);
}

.portfolio-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.08);
  border-color: var(--teal);
}

.portfolio-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.portfolio-type {
  background: rgba(0, 194, 184, 0.12);
  border: 1px solid rgba(0, 194, 184, 0.25);
  color: var(--teal);
  font-size: 0.7rem;
  font-weight: 700;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.25rem 0.7rem;
  border-radius: 6px;
}

.portfolio-industry {
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.2);
  color: var(--sky);
  font-size: 0.7rem;
  font-weight: 700;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.25rem 0.7rem;
  border-radius: 6px;
}

.portfolio-card h3 {
  font-size: 1.2rem;
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.portfolio-summary {
  color: var(--gray-600);
  font-size: 0.92rem;
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.portfolio-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.portfolio-metric {
  text-align: center;
  padding: 1rem 0.5rem;
  background: var(--off-white);
  border-radius: 10px;
}

.metric-value {
  display: block;
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--navy);
}

.metric-label {
  display: block;
  font-size: 0.72rem;
  color: var(--gray-500);
  margin-top: 0.15rem;
}

.portfolio-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.portfolio-card { cursor: pointer; }

.portfolio-view-link {
  display: inline-block;
  margin-top: 1.2rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--teal-dark);
  transition: color 0.2s;
}

.portfolio-card:hover .portfolio-view-link { color: var(--teal); }

/* --- Report Viewer Modal --- */
.report-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(11, 26, 46, 0.85);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s;
}

.report-modal.open {
  opacity: 1;
  visibility: visible;
}

.report-modal-chrome {
  width: 90vw;
  max-width: 900px;
  height: 90vh;
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.4);
  transform: translateY(20px) scale(0.97);
  transition: transform 0.35s var(--ease);
}

.report-modal.open .report-modal-chrome {
  transform: translateY(0) scale(1);
}

.report-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  background: var(--navy);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  flex-shrink: 0;
}

.report-modal-title {
  color: var(--white);
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.report-modal-close {
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: var(--gray-400);
  font-size: 1.4rem;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s;
}

.report-modal-close:hover {
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
}

.report-modal-body {
  flex: 1;
  overflow: hidden;
}

.report-modal-body iframe {
  width: 100%;
  height: 100%;
  border: none;
}

@media (max-width: 900px) {
  .portfolio-grid { grid-template-columns: 1fr; }

  .footer-inner {
    flex-direction: column;
    gap: 1.2rem;
  }

  .report-modal-chrome {
    width: 100vw;
    height: 100vh;
    border-radius: 0;
  }
}

@media (max-width: 600px) {
  .portfolio-metrics { grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }
  .metric-value { font-size: 1.1rem; }
  .report-modal-title { font-size: 0.8rem; }
}

/* --- Animations --- */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.7s var(--ease);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--navy);
    padding: 1.5rem 2rem;
    gap: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }

  .hero-stats { flex-direction: column; gap: 1.5rem; }
  .contact-layout { grid-template-columns: 1fr; gap: 2rem; }
  .form-row { grid-template-columns: 1fr; }

  section { padding: 4rem 0; }
}

@media (max-width: 600px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
  .services-grid, .samples-grid, .diff-grid, .pricing-grid {
    grid-template-columns: 1fr;
  }
  .hero-content { padding: 6rem 1.5rem 4rem; }
  .container { padding: 0 1.25rem; }
}

/* --- Sample report page styles --- */
.report-page { background: var(--white); }

.report-hero {
  background: var(--navy);
  padding: 8rem 2rem 4rem;
}

.report-hero h1 { color: var(--white); font-size: clamp(1.8rem, 4vw, 2.6rem); }
.report-hero .report-meta {
  color: var(--gray-400);
  font-size: 0.85rem;
  margin-top: 0.5rem;
  font-family: var(--font-mono);
}

.report-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem 2rem 6rem;
}

.report-content h2 {
  margin-top: 3rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--teal);
  display: inline-block;
}

.report-content h3 {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.report-content p {
  color: var(--gray-600);
  margin-bottom: 1rem;
}

.report-content ul, .report-content ol {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.report-content li {
  color: var(--gray-600);
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
}

.report-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.9rem;
}

.report-table thead {
  background: var(--navy);
  color: var(--white);
}

.report-table th {
  padding: 0.75rem 1rem;
  text-align: left;
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.report-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--gray-100);
  color: var(--gray-600);
}

.report-table tbody tr:hover { background: var(--gray-50); }

.report-callout {
  background: var(--teal-glow);
  border-left: 4px solid var(--teal);
  padding: 1.2rem 1.5rem;
  border-radius: 0 10px 10px 0;
  margin: 1.5rem 0;
}

.report-callout p { color: var(--gray-700); margin: 0; }

.report-metric-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.report-metric {
  background: var(--off-white);
  border: 1px solid var(--gray-100);
  border-radius: 12px;
  padding: 1.2rem;
  text-align: center;
}

.report-metric .value {
  font-family: var(--font-head);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--navy);
}

.report-metric .label {
  font-size: 0.78rem;
  color: var(--gray-500);
  margin-top: 0.2rem;
}

.report-bar-chart {
  margin: 1.5rem 0;
}

.bar-row {
  display: flex;
  align-items: center;
  margin-bottom: 0.6rem;
  gap: 0.75rem;
}

.bar-label {
  min-width: 140px;
  font-size: 0.85rem;
  color: var(--gray-600);
  text-align: right;
}

.bar-track {
  flex: 1;
  height: 28px;
  background: var(--gray-50);
  border-radius: 6px;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--teal), var(--sky));
  border-radius: 6px;
  display: flex;
  align-items: center;
  padding: 0 0.6rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--navy);
  transition: width 1s var(--ease);
}

.risk-badge {
  display: inline-block;
  padding: 0.15rem 0.6rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
}

.risk-high { background: #FEE2E2; color: var(--red); }
.risk-medium { background: #FEF3C7; color: #B45309; }
.risk-low { background: #D1FAE5; color: #065F46; }

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--gray-400);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.back-link:hover { color: var(--teal); }
