/* =====================================================
   TRIN REVENUE LAB — Shared Stylesheet
   Brand colors pulled from ROI Calculator design
   ===================================================== */

:root {
  --navy:       #0D1B2A;
  --navy-mid:   #142236;
  --blue:       #1565C0;
  --blue-mid:   #1976D2;
  --blue-light: #E3F2FD;
  --gold:       #F9A825;
  --gold-hover: #FFB300;
  --gold-light: #FFF8E1;
  --white:      #FFFFFF;
  --gray-light: #F5F7FA;
  --gray-mid:   #E0E6EE;
  --gray-text:  #6B7A8D;
  --green:      #2E7D32;
  --green-light:#E8F5E9;
  --shadow:     0 4px 24px rgba(13,27,42,0.10);
  --shadow-lg:  0 8px 40px rgba(13,27,42,0.18);
  --radius:     12px;
  --radius-sm:  8px;
}

/* ─── RESET ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--gray-light);
  color: var(--navy);
  line-height: 1.6;
  min-height: 100vh;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ─── NAVIGATION ─────────────────────────────────────── */
.navbar {
  background: var(--navy);
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 16px rgba(0,0,0,0.25);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
/* Logo image — transparent PNG, renders cleanly on dark navbar */
.nav-logo img {
  height: 56px;
  width: auto;
}
.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.nav-logo-text .brand-main {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.nav-logo-text .brand-main .trin { color: var(--white); }
.nav-logo-text .brand-main .rev  { color: var(--blue-mid); }
.nav-logo-text .brand-tagline {
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 2px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-links a {
  color: #8AA4BF;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 8px 14px;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
  text-transform: uppercase;
}
.nav-links a:hover {
  color: var(--white);
  background: rgba(255,255,255,0.07);
}
.nav-links a.active {
  color: var(--gold);
  background: rgba(249,168,37,0.10);
}
.nav-cta {
  background: var(--gold);
  color: var(--navy) !important;
  font-weight: 700 !important;
  padding: 9px 20px !important;
  border-radius: 6px !important;
  transition: background 0.2s !important;
}
.nav-cta:hover {
  background: var(--gold-hover) !important;
}

/* ─── HERO SECTION ───────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, #0D1B2A 0%, #0A2856 50%, #1565C0 100%);
  padding: 80px 40px 72px;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%231565C0' fill-opacity='0.06'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.4;
}
.hero-content { position: relative; z-index: 1; max-width: 860px; margin: 0 auto; }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(249,168,37,0.15);
  border: 1px solid rgba(249,168,37,0.35);
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 24px;
}
.hero h1 {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
}
.hero h1 .gold { color: var(--gold); }
.hero h1 .blue-lt { color: #7EB3F7; }
.hero p {
  font-size: 18px;
  color: #B0C4DE;
  max-width: 640px;
  margin: 0 auto 36px;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.btn-primary {
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  font-size: 14px;
  padding: 14px 32px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  display: inline-block;
  letter-spacing: 0.3px;
}
.btn-primary:hover { background: var(--gold-hover); transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  color: var(--white);
  font-weight: 600;
  font-size: 14px;
  padding: 13px 30px;
  border-radius: 8px;
  border: 1.5px solid rgba(255,255,255,0.3);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  display: inline-block;
}
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.07); }

/* ─── STATS BAR ──────────────────────────────────────── */
.stats-bar {
  background: var(--navy-mid);
  padding: 16px 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  flex-wrap: nowrap;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.stat-item {
  text-align: center;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 32px;
  border-right: 1px solid rgba(255,255,255,0.12);
  white-space: nowrap;
}
.stat-item:last-child { border-right: none; }
.stat-item .stat-num {
  font-size: 26px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
  flex-shrink: 0;
}
.stat-item .stat-lbl {
  font-size: 12px;
  color: rgba(255,255,255,0.72);
  letter-spacing: 0.3px;
  text-align: left;
  white-space: nowrap;
}

/* ─── SECTION CONTAINERS ─────────────────────────────── */
.section {
  padding: 72px 40px;
}
.section-alt {
  background: var(--white);
  padding: 72px 40px;
}
.section-dark {
  background: var(--navy);
  padding: 72px 40px;
  color: var(--white);
}
.container {
  max-width: 1080px;
  margin: 0 auto;
}

/* ─── SECTION HEADERS ────────────────────────────────── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
}
.section-dark .section-label { color: var(--gold); }
.section-label::before {
  content: '';
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}
.section-title {
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--navy);
}
.section-dark .section-title { color: var(--white); }
.section-sub {
  font-size: 16px;
  color: var(--gray-text);
  max-width: 600px;
  line-height: 1.7;
  margin-bottom: 48px;
}
.section-dark .section-sub { color: #8AA4BF; }
.section-title .gold { color: var(--gold); }
.section-title .blue { color: var(--blue-mid); }

/* ─── CARDS ──────────────────────────────────────────── */
.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 32px;
}
.card-dark {
  background: var(--navy-mid);
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 28px 32px;
}
.card-gold {
  background: var(--gold-light);
  border-radius: var(--radius);
  border: 1.5px solid var(--gold);
  padding: 28px 32px;
}
.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
  flex-shrink: 0;
}
.icon-blue   { background: var(--blue-light); }
.icon-gold   { background: var(--gold-light); }
.icon-navy   { background: rgba(13,27,42,0.08); }
.icon-green  { background: var(--green-light); }
.card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--navy);
}
.card-dark h3 { color: var(--white); }
.card p {
  font-size: 14px;
  color: var(--gray-text);
  line-height: 1.65;
}
.card-dark p { color: #8AA4BF; }

/* ─── GRID LAYOUTS ───────────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }

/* ─── BADGE / TAG ────────────────────────────────────── */
.badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 12px;
}
.badge-blue  { background: var(--blue-light);  color: var(--blue); }
.badge-gold  { background: var(--gold-light);  color: #8a5d00; }
.badge-green { background: var(--green-light); color: var(--green); }
.badge-navy  { background: rgba(13,27,42,0.08); color: var(--navy); }

/* ─── CALLOUT BAR ────────────────────────────────────── */
.callout {
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  border-radius: var(--radius);
  padding: 40px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  color: var(--white);
}
.callout h3 { font-size: 22px; font-weight: 800; margin-bottom: 6px; }
.callout p  { font-size: 14px; color: #B0C4DE; }

/* ─── DIVIDER ────────────────────────────────────────── */
.divider {
  height: 1px;
  background: var(--gray-mid);
  margin: 0;
}
.divider-dark {
  height: 1px;
  background: rgba(255,255,255,0.08);
  margin: 0;
}

/* ─── TABLE ──────────────────────────────────────────── */
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.data-table th {
  background: var(--navy);
  color: var(--white);
  padding: 12px 16px;
  text-align: left;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.data-table th:first-child { border-radius: 8px 0 0 0; }
.data-table th:last-child  { border-radius: 0 8px 0 0; }
.data-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--gray-mid);
  color: var(--navy);
  vertical-align: middle;
}
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:nth-child(even) td { background: var(--gray-light); }
.data-table .highlight td { background: var(--gold-light) !important; font-weight: 600; }

/* ─── PAGE HERO (interior pages) ────────────────────── */
.page-hero {
  background: linear-gradient(135deg, #0D1B2A 0%, #1565C0 100%);
  padding: 56px 40px 52px;
  color: var(--white);
}
.page-hero .container { display: flex; flex-direction: column; gap: 12px; }
.page-hero .page-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
}
.page-hero h1 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.15;
}
.page-hero p {
  font-size: 16px;
  color: #B0C4DE;
  max-width: 600px;
  line-height: 1.7;
}

/* ─── CHECKLIST ──────────────────────────────────────── */
.checklist { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.check-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--navy);
  line-height: 1.5;
}
.check-icon {
  width: 20px;
  height: 20px;
  background: var(--blue-light);
  color: var(--blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}
.check-item.gold .check-icon { background: var(--gold-light); color: #8a5d00; }
.check-item.green .check-icon { background: var(--green-light); color: var(--green); }

/* ─── TIMELINE ───────────────────────────────────────── */
.timeline { display: flex; flex-direction: column; gap: 0; }
.timeline-item {
  display: flex;
  gap: 20px;
  position: relative;
}
.timeline-item:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 19px;
  top: 40px;
  bottom: -4px;
  width: 2px;
  background: var(--gray-mid);
}
.timeline-dot {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--blue-light);
  color: var(--blue);
  font-weight: 800;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  z-index: 1;
}
.timeline-dot.gold { background: var(--gold-light); color: #8a5d00; }
.timeline-content {
  padding-bottom: 32px;
}
.timeline-content h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--navy);
}
.timeline-content p {
  font-size: 14px;
  color: var(--gray-text);
  line-height: 1.65;
}

/* ─── FOOTER ─────────────────────────────────────────── */
.footer {
  background: var(--navy);
  color: #7A90A8;
  padding: 48px 40px 28px;
}
.footer-grid {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand .brand-name {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--white);
  margin-bottom: 8px;
}
.footer-brand .brand-name span { color: var(--blue-mid); }
.footer-brand .tagline {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.footer-brand p {
  font-size: 13px;
  line-height: 1.7;
  max-width: 280px;
}
.footer-col h4 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  font-size: 13px;
  color: #7A90A8;
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--gold); }
.footer-bottom {
  max-width: 1080px;
  margin: 24px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
}
.footer-bottom .copy { color: #5A6E82; }
.footer-bottom .copy span { color: var(--gold); }

/* ─── RESPONSIVE ─────────────────────────────────────── */
@media (max-width: 900px) {
  .navbar { padding: 0 20px; height: 72px; }
  .nav-links { gap: 2px; }
  .nav-links a { font-size: 11px; padding: 8px 10px; }
  .hero, .section, .section-alt, .section-dark, .page-hero { padding-left: 20px; padding-right: 20px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-bar { flex-wrap: wrap; gap: 0; padding: 14px 16px; }
  .stat-item { padding: 8px 16px; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.10); width: 50%; justify-content: center; }
  .stat-item:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.10); }
  .stat-item:last-child, .stat-item:nth-last-child(2):nth-child(odd) { border-bottom: none; }
  .callout { padding: 28px 24px; }
}
@media (max-width: 600px) {
  .nav-links { display: none; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { padding: 56px 20px; }
  .callout { flex-direction: column; text-align: center; }
}

/* ─── UTILITY ────────────────────────────────────────── */
.text-gold   { color: var(--gold); }
.text-blue   { color: var(--blue-mid); }
.text-navy   { color: var(--navy); }
.text-white  { color: var(--white); }
.text-muted  { color: var(--gray-text); }
.fw-800      { font-weight: 800; }
.mt-4        { margin-top: 4px; }
.mt-8        { margin-top: 8px; }
.mt-16       { margin-top: 16px; }
.mt-24       { margin-top: 24px; }
.mt-32       { margin-top: 32px; }
.mb-8        { margin-bottom: 8px; }
.mb-16       { margin-bottom: 16px; }
.mb-24       { margin-bottom: 24px; }
.mb-32       { margin-bottom: 32px; }
.gap-8       { gap: 8px; }
.flex        { display: flex; }
.flex-center { display: flex; align-items: center; }
.flex-between{ display: flex; align-items: center; justify-content: space-between; }
.text-center { text-align: center; }
