/* ============================
   THE TAX TRAINER — STYLES
   ============================ */

:root {
  --green: #22c55e;
  --green-dark: #16a34a;
  --green-light: #dcfce7;
  --green-bg-soft: #f0fdf4;
  --navy: #0f1e3d;
  --navy-deep: #0b1a35;
  --navy-text: #0a1628;
  --slate: #64748b;
  --slate-light: #94a3b8;
  --yellow: #eab308;
  --yellow-dark: #ca8a04;
  --white: #ffffff;
  --off-white: #fafbfc;
  --border: #e5e7eb;
  --border-light: #f1f5f9;

  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --shadow-sm: 0 1px 2px rgba(15, 30, 61, 0.04);
  --shadow: 0 4px 12px rgba(15, 30, 61, 0.06);
  --shadow-lg: 0 12px 40px rgba(15, 30, 61, 0.12);

  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--navy-text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

.section {
  padding: 96px 0;
}

/* ============================
   BUTTONS
   ============================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(34, 197, 94, 0.25);
}

.btn-primary:hover {
  background: var(--green-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(34, 197, 94, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--green);
  border-color: var(--green);
}

.btn-outline:hover {
  background: var(--green-bg-soft);
}

.btn-yellow {
  background: var(--yellow);
  color: var(--navy-text);
  font-weight: 700;
  padding: 18px 36px;
  box-shadow: 0 6px 20px rgba(234, 179, 8, 0.3);
}

.btn-yellow:hover {
  background: var(--yellow-dark);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(234, 179, 8, 0.4);
}

.btn-header {
  padding: 12px 24px;
  font-size: 15px;
}

/* ============================
   HEADER
   ============================ */

.site-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-light);
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
  gap: 24px;
}

.logo-link {
  flex-shrink: 0;
}

.logo-img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.main-nav {
  display: flex;
  gap: 40px;
  flex: 1;
  justify-content: center;
}

.main-nav a {
  font-weight: 600;
  font-size: 16px;
  color: var(--navy-text);
  transition: color 0.2s;
}

.main-nav a:hover {
  color: var(--green);
}

/* ============================
   HERO
   ============================ */

.hero {
  padding: 80px 0 120px;
  background: linear-gradient(180deg, var(--white) 0%, var(--green-bg-soft) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 30%, rgba(34, 197, 94, 0.08) 0%, transparent 50%),
                    radial-gradient(circle at 80% 70%, rgba(34, 197, 94, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green-light);
  color: var(--green-dark);
  padding: 8px 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 32px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 50%;
}

.hero-title {
  font-size: clamp(40px, 5.5vw, 72px);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
  color: var(--navy-text);
}

.accent-green {
  color: var(--green);
}

.accent-yellow {
  color: var(--yellow);
}

.hero-sub {
  font-size: 18px;
  color: var(--slate);
  max-width: 520px;
  margin-bottom: 32px;
  line-height: 1.6;
}

.hero-checklist {
  list-style: none;
  margin-bottom: 40px;
}

.hero-checklist li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 14px;
  color: var(--navy-text);
}

.check-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid var(--green);
  color: var(--green);
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-image-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-lg);
  max-width: 520px;
  width: 100%;
  animation: float-card 4s ease-in-out infinite;
}

@keyframes float-card {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-image-card { animation: none; }
}

.hero-image {
  width: 100%;
  height: auto;
}

/* ============================
   SECTION TITLES
   ============================ */

.section-title {
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 900;
  text-align: center;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  color: var(--navy-text);
}

.section-title--left {
  text-align: left;
  margin-bottom: 28px;
}

.section-sub {
  text-align: center;
  font-size: 18px;
  color: var(--slate);
  max-width: 640px;
  margin: 0 auto 64px;
}

/* ============================
   SERVICES
   ============================ */

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

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
}

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

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius);
  background: var(--green-light);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.service-icon svg {
  width: 28px;
  height: 28px;
}

.service-icon--solid {
  background: var(--green);
  color: var(--white);
}

.service-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--navy-text);
  line-height: 1.3;
}

.service-card p {
  color: var(--slate);
  font-size: 15px;
  line-height: 1.6;
}

/* ============================
   WHY / ABOUT
   ============================ */

.why {
  background: var(--white);
}

.why-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.why-text p {
  font-size: 17px;
  color: var(--slate);
  line-height: 1.7;
  margin-bottom: 20px;
}

.why-card {
  background: var(--navy);
  border-radius: var(--radius-xl);
  padding: 48px 44px;
  color: var(--white);
}

.why-card h3 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 28px;
}

.why-list {
  list-style: none;
}

.why-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
  font-size: 16px;
  line-height: 1.5;
}

.why-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  background: var(--yellow);
  color: var(--navy);
  border-radius: 50%;
  font-size: 14px;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ============================
   APPROACH STRIPE
   ============================ */

.approach {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  padding: 80px 0;
  color: var(--white);
  text-align: center;
}

.approach-icons {
  display: flex;
  justify-content: center;
  gap: 64px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.approach-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 17px;
  font-weight: 600;
}

.approach-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.approach-icon svg {
  width: 22px;
  height: 22px;
}

.approach-icon--green {
  background: rgba(34, 197, 94, 0.2);
  color: var(--green);
}

.approach-icon--yellow {
  background: rgba(234, 179, 8, 0.2);
  color: var(--yellow);
}

.approach-title {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

.approach-sub {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.7);
}

/* ============================
   CTA / CONTACT
   ============================ */

.cta {
  background: var(--white);
  padding-top: 96px;
  padding-bottom: 96px;
}

.cta-card {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  border-radius: var(--radius-xl);
  padding: 72px 48px;
  text-align: center;
  color: var(--white);
  margin-bottom: 48px;
  box-shadow: var(--shadow-lg);
}

.cta-title {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.cta-sub {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.75);
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.6;
}

.cta-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 36px;
  flex-wrap: wrap;
  font-size: 15px;
}

.cta-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.9);
  transition: color 0.2s;
}

.cta-link:hover {
  color: var(--white);
}

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

.cta-sep {
  color: rgba(255, 255, 255, 0.4);
}

/* Features grid */

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--off-white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius);
  background: var(--green-light);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.feature-icon svg {
  width: 26px;
  height: 26px;
}

.feature-card h4 {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--navy-text);
}

.feature-card p {
  color: var(--slate);
  font-size: 15px;
}

/* ============================
   FOOTER
   ============================ */

.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.7);
  padding: 40px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-logo img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  border-radius: 8px;
}

.footer-nav {
  display: flex;
  gap: 32px;
}

.footer-nav a {
  color: var(--white);
  font-weight: 500;
  transition: color 0.2s;
}

.footer-nav a:hover {
  color: var(--green);
}

.footer-copy {
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
}

/* ============================
   RESPONSIVE
   ============================ */

@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-inner {
    gap: 40px;
  }
  .why-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .hero-image-card {
    max-width: 320px;
    padding: 20px;
  }
  .section {
    padding: 72px 0;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }
  .main-nav {
    display: none;
  }
  .header-inner {
    justify-content: space-between;
  }
  .services-grid,
  .features-grid {
    grid-template-columns: 1fr;
  }
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-image-card {
    max-width: 380px;
    margin: 0 auto;
  }
  .hero {
    padding: 56px 0 80px;
  }
  .section {
    padding: 64px 0;
  }
  .cta-card {
    padding: 48px 28px;
  }
  .why-card {
    padding: 36px 28px;
  }
  .approach-icons {
    gap: 32px;
  }
  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-ctas .btn {
    width: 100%;
  }
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}

/* ============================
   CHEAT SHEET CTAS
   ============================ */

/* Hero pill CTA — soft bubble */
.btn-pill {
  display: inline-flex;
  align-items: center;
  background: var(--green-light);
  color: var(--green-dark);
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: 1.5px solid transparent;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.btn-pill:hover {
  background: #c9f3d6;
  border-color: var(--green);
  transform: translateY(-1px);
}

/* Banner section */
.cheatsheet-banner-section {
  padding: 32px 0 16px;
}

.cheatsheet-banner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
  background: var(--green);
  border-radius: var(--radius-xl);
  padding: 40px 48px;
  color: var(--white);
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(34, 197, 94, 0.2);
  transition: transform 0.2s, box-shadow 0.2s;
}

.cheatsheet-banner::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 240px;
  height: 240px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  pointer-events: none;
}

.cheatsheet-banner::after {
  content: '';
  position: absolute;
  bottom: -80px;
  right: 80px;
  width: 200px;
  height: 200px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  pointer-events: none;
}

.cheatsheet-banner:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 48px rgba(34, 197, 94, 0.28);
}

.cheatsheet-banner-content {
  position: relative;
  z-index: 1;
  max-width: 560px;
}

.cheatsheet-banner-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 14px;
  backdrop-filter: blur(4px);
}

.cheatsheet-banner-title {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
  color: var(--white);
}

.cheatsheet-banner-sub {
  font-size: 16px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.92);
  margin: 0;
}

.cheatsheet-banner-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  color: var(--green-dark);
  padding: 16px 28px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 16px;
  white-space: nowrap;
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s, box-shadow 0.2s;
}

.cheatsheet-banner:hover .cheatsheet-banner-btn {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Responsive banner */
@media (max-width: 768px) {
  .cheatsheet-banner {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 32px 28px;
    text-align: center;
  }

  .cheatsheet-banner-content {
    margin: 0 auto;
  }

  .cheatsheet-banner-pill {
    margin-left: auto;
    margin-right: auto;
  }

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

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