/* ─── STRTrackr Website Styles ─────────────────────────────────────────────── */

:root {
  --navy:       #1A3C5E;
  --navy-dark:  #122B45;
  --navy-light: #2A5F8F;
  --mustard:    #D4A017;
  --mustard-light: #F0C040;
  --white:      #FFFFFF;
  --gray-light: #F5F7FA;
  --gray:       #E2E8F0;
  --text-dark:  #1A202C;
  --text-mid:   #4A5568;
  --text-light: #718096;
  --radius:     12px;
  --radius-lg:  20px;
  --shadow:     0 4px 24px rgba(0,0,0,0.10);
  --shadow-lg:  0 8px 40px rgba(0,0,0,0.15);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.6;
}

/* ─── Nav ────────────────────────────────────────────────────────────────────── */

nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: var(--navy);
  padding: 0 2rem;
  height: 64px;
  display: flex; align-items: center; justify-content: space-between;
  box-shadow: 0 2px 12px rgba(0,0,0,0.2);
}

.nav-brand {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none;
}

.nav-logo { width: 36px; height: 36px; }

.nav-name {
  font-size: 1.25rem; font-weight: 800;
  color: var(--white); letter-spacing: 0.5px;
}

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

.nav-links a {
  color: rgba(255,255,255,0.8);
  text-decoration: none; font-size: 0.95rem; font-weight: 500;
  transition: color 0.2s;
}

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

.nav-cta {
  background: var(--mustard) !important;
  color: var(--navy) !important;
  padding: 8px 20px; border-radius: 100px;
  font-weight: 700 !important;
}

.nav-cta:hover { background: var(--mustard-light) !important; }

/* ─── Hero ────────────────────────────────────────────────────────────────────── */

.hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 60%, var(--navy-light) 100%);
  padding: 120px 2rem 80px;
  text-align: center;
  position: relative; overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute; top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle at 70% 50%, rgba(212,160,23,0.08) 0%, transparent 60%);
  pointer-events: none;
}

.hero-badge {
  display: inline-block;
  background: rgba(212,160,23,0.15);
  border: 1px solid rgba(212,160,23,0.4);
  color: var(--mustard-light);
  font-size: 0.85rem; font-weight: 600;
  padding: 6px 16px; border-radius: 100px;
  margin-bottom: 1.5rem; letter-spacing: 0.5px;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800; color: var(--white);
  line-height: 1.15; margin-bottom: 1.5rem;
  max-width: 720px; margin-left: auto; margin-right: auto;
}

.hero h1 span { color: var(--mustard); }

.hero p {
  font-size: 1.15rem; color: rgba(255,255,255,0.75);
  max-width: 560px; margin: 0 auto 2.5rem;
}

.hero-buttons {
  display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap;
}

.btn-primary {
  background: var(--mustard); color: var(--navy);
  padding: 14px 32px; border-radius: 100px;
  font-size: 1rem; font-weight: 700;
  text-decoration: none; display: inline-block;
  transition: all 0.2s; border: none; cursor: pointer;
}

.btn-primary:hover {
  background: var(--mustard-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212,160,23,0.4);
}

.btn-secondary {
  background: transparent; color: var(--white);
  padding: 14px 32px; border-radius: 100px;
  font-size: 1rem; font-weight: 600;
  text-decoration: none; display: inline-block;
  border: 2px solid rgba(255,255,255,0.4);
  transition: all 0.2s;
}

.btn-secondary:hover {
  border-color: rgba(255,255,255,0.8);
  background: rgba(255,255,255,0.08);
}

/* ─── Sections ────────────────────────────────────────────────────────────────── */

section { padding: 80px 2rem; }

.container { max-width: 1100px; margin: 0 auto; }

.section-label {
  font-size: 0.8rem; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--mustard);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800; color: var(--navy);
  margin-bottom: 1rem; line-height: 1.25;
}

.section-subtitle {
  font-size: 1.05rem; color: var(--text-mid);
  max-width: 560px; margin-bottom: 3rem;
}

.text-center { text-align: center; }
.text-center .section-subtitle { margin-left: auto; margin-right: auto; }

/* ─── Feature Grid ────────────────────────────────────────────────────────────── */

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--gray);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all 0.2s;
  box-shadow: var(--shadow);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--mustard);
}

.feature-icon {
  font-size: 2rem; margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 1.1rem; font-weight: 700;
  color: var(--navy); margin-bottom: 0.5rem;
}

.feature-card p {
  font-size: 0.95rem; color: var(--text-mid); line-height: 1.6;
}

/* ─── Stats Bar ───────────────────────────────────────────────────────────────── */

.stats-bar {
  background: var(--navy);
  padding: 3rem 2rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 2rem; text-align: center;
}

.stat-number {
  font-size: 2.5rem; font-weight: 800;
  color: var(--mustard); line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.9rem; color: rgba(255,255,255,0.7);
  font-weight: 500;
}

/* ─── How It Works ────────────────────────────────────────────────────────────── */

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

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

.step-num {
  width: 48px; height: 48px;
  background: var(--mustard); color: var(--navy);
  border-radius: 50%; font-size: 1.25rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
}

.step h3 {
  font-size: 1rem; font-weight: 700;
  color: var(--navy); margin-bottom: 0.5rem;
}

.step p { font-size: 0.9rem; color: var(--text-mid); }

/* ─── CTA Section ─────────────────────────────────────────────────────────────── */

.cta-section {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  text-align: center;
}

.cta-section h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800; color: var(--white);
  margin-bottom: 1rem;
}

.cta-section p {
  font-size: 1.05rem; color: rgba(255,255,255,0.75);
  margin-bottom: 2rem;
}

/* ─── Page Hero (inner pages) ─────────────────────────────────────────────────── */

.page-hero {
  background: var(--navy);
  padding: 100px 2rem 60px;
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800; color: var(--white);
  margin-bottom: 1rem;
}

.page-hero p {
  font-size: 1.05rem; color: rgba(255,255,255,0.75);
  max-width: 560px; margin: 0 auto;
}

/* ─── Content (inner pages) ───────────────────────────────────────────────────── */

.content-section {
  padding: 60px 2rem;
  max-width: 820px; margin: 0 auto;
}

.content-section h2 {
  font-size: 1.4rem; font-weight: 700;
  color: var(--navy); margin: 2.5rem 0 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--gray);
}

.content-section h2:first-of-type { margin-top: 0; }

.content-section h3 {
  font-size: 1.05rem; font-weight: 700;
  color: var(--navy-light); margin: 1.5rem 0 0.5rem;
}

.content-section p {
  font-size: 0.97rem; color: var(--text-mid);
  margin-bottom: 1rem; line-height: 1.75;
}

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

.content-section li {
  font-size: 0.97rem; color: var(--text-mid);
  margin-bottom: 0.4rem; line-height: 1.7;
}

/* ─── Callout Box ─────────────────────────────────────────────────────────────── */

.callout {
  background: rgba(212,160,23,0.08);
  border-left: 4px solid var(--mustard);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.25rem 1.5rem; margin: 1.5rem 0;
}

.callout p { margin: 0; color: var(--text-dark); font-weight: 500; }

.callout-navy {
  background: rgba(26,60,94,0.06);
  border-left-color: var(--navy);
}

/* ─── FAQ ─────────────────────────────────────────────────────────────────────── */

.faq-list { list-style: none; padding: 0; }

.faq-item {
  border: 1px solid var(--gray);
  border-radius: var(--radius);
  margin-bottom: 1rem; overflow: hidden;
}

.faq-q {
  padding: 1.25rem 1.5rem;
  font-weight: 700; font-size: 1rem;
  color: var(--navy); background: var(--gray-light);
}

.faq-a {
  padding: 1rem 1.5rem;
  font-size: 0.95rem; color: var(--text-mid); line-height: 1.7;
}

/* ─── Contact Card ────────────────────────────────────────────────────────────── */

.contact-card {
  background: var(--navy); border-radius: var(--radius-lg);
  padding: 2.5rem; text-align: center; margin-top: 2rem;
}

.contact-card h3 {
  font-size: 1.25rem; font-weight: 700;
  color: var(--white); margin-bottom: 0.5rem;
}

.contact-card p { color: rgba(255,255,255,0.75); margin-bottom: 1.5rem; }

.contact-card a {
  display: inline-block;
  background: var(--mustard); color: var(--navy);
  padding: 12px 28px; border-radius: 100px;
  font-weight: 700; text-decoration: none;
  transition: all 0.2s;
}

.contact-card a:hover { background: var(--mustard-light); }

/* ─── IRS Table ───────────────────────────────────────────────────────────────── */

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

.irs-table th {
  background: var(--navy); color: var(--white);
  padding: 12px 16px; text-align: left;
  font-weight: 700; font-size: 0.85rem;
}

.irs-table td {
  padding: 10px 16px; border-bottom: 1px solid var(--gray);
  color: var(--text-mid); vertical-align: top;
}

.irs-table tr:nth-child(even) td { background: var(--gray-light); }

.badge {
  display: inline-block;
  background: rgba(212,160,23,0.15);
  color: #8B6914; border-radius: 100px;
  font-size: 0.78rem; font-weight: 700;
  padding: 2px 10px;
}

/* ─── Footer ──────────────────────────────────────────────────────────────────── */

footer {
  background: var(--navy-dark);
  padding: 3rem 2rem 2rem;
  color: rgba(255,255,255,0.6);
}

.footer-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; flex-wrap: wrap;
  justify-content: space-between; gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand .nav-name { font-size: 1.1rem; }

.footer-brand p {
  font-size: 0.85rem; margin-top: 0.5rem;
  color: rgba(255,255,255,0.5); max-width: 260px;
}

.footer-links h4 {
  font-size: 0.85rem; font-weight: 700;
  color: var(--white); margin-bottom: 0.75rem;
  text-transform: uppercase; letter-spacing: 1px;
}

.footer-links ul { list-style: none; }

.footer-links li { margin-bottom: 0.4rem; }

.footer-links a {
  color: rgba(255,255,255,0.6);
  text-decoration: none; font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--mustard); }

.footer-bottom {
  max-width: 1100px; margin: 1.5rem auto 0;
  display: flex; flex-wrap: wrap;
  justify-content: space-between; gap: 1rem;
  font-size: 0.82rem;
}

/* ─── Responsive ──────────────────────────────────────────────────────────────── */

@media (max-width: 768px) {
  .nav-links { display: none; }
  nav { padding: 0 1rem; }
  section { padding: 60px 1rem; }
  .hero { padding: 100px 1rem 60px; }
  .stats-bar { padding: 2rem 1rem; }
  .footer-inner { flex-direction: column; }
}
