/* ============================================================
   LOTTERY TRACK — SHARED STYLESHEET
   ============================================================ */

/* --- CSS Custom Properties --- */
:root {
  --navy:       #1C2A39;
  --green:      #2E7D5B;
  --bg:         #F7F9FB;
  --text:       #1F2933;
  --light-gray: #EDF0F4;
  --white:      #FFFFFF;
  --light:      #C8D8E4;
  --border:     #DDE3EA;
  --shadow:     0 2px 16px rgba(0,0,0,0.07);
  --shadow-hover: 0 8px 32px rgba(0,0,0,0.13);
  --radius-sm:  8px;
  --radius-md:  12px;
  --radius-lg:  16px;
  --font-serif: Georgia, 'Times New Roman', serif;
  --font-sans:  -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

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

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

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

img { display: block; max-width: 100%; }
a { color: var(--green); }
ul { list-style: none; }

/* ============================================================
   NAVIGATION
   ============================================================ */

.site-nav {
  background: var(--navy);
  padding: 0 24px;
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: box-shadow 0.3s ease;
  height: 64px;
  display: flex;
  align-items: center;
}

.site-nav.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.25);
}

.nav-inner {
  max-width: 1060px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.4px;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo span {
  color: #7FFFD4;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  color: var(--light);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: color 0.2s, background 0.2s;
}

.nav-links a:hover {
  color: var(--white);
  background: rgba(255,255,255,0.08);
}

.nav-links a.active {
  color: #7FFFD4;
  font-weight: 600;
}

.nav-links .btn-nav-download {
  background: var(--green);
  color: var(--white) !important;
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 14px;
  margin-left: 8px;
  transition: background 0.2s, transform 0.15s;
}

.nav-links .btn-nav-download:hover {
  background: #256b4e;
  transform: translateY(-1px);
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border: none;
  background: transparent;
  border-radius: var(--radius-sm);
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.nav-hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-hamburger.open span:nth-child(2) {
  opacity: 0;
}
.nav-hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile slide-down menu */
.nav-mobile-menu {
  display: none;
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 16px 24px 24px;
}

.nav-mobile-menu.open {
  display: block;
}

.nav-mobile-menu a {
  display: block;
  color: var(--light);
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: color 0.2s;
}

.nav-mobile-menu a:hover,
.nav-mobile-menu a.active {
  color: var(--white);
}

.nav-mobile-menu .btn-nav-download {
  display: block;
  margin-top: 16px;
  background: var(--green);
  color: var(--white) !important;
  text-align: center;
  padding: 14px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 16px;
  border-bottom: none;
}

/* ============================================================
   LAYOUT
   ============================================================ */

.container {
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 80px 0;
}

.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  letter-spacing: -0.3px;
  margin-bottom: 16px;
}

.section-sub {
  font-size: 17px;
  color: #556070;
  max-width: 560px;
  line-height: 1.7;
}

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

.btn-primary {
  display: inline-block;
  background: var(--green);
  color: var(--white);
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  border: 2px solid var(--green);
  cursor: pointer;
}

.btn-primary:hover {
  background: #256b4e;
  border-color: #256b4e;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(46,125,91,0.3);
}

.btn-secondary {
  display: inline-block;
  background: var(--white);
  color: var(--green);
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  border: 2px solid var(--green);
  cursor: pointer;
}

.btn-secondary:hover {
  background: #f0fbf6;
  transform: translateY(-1px);
}

.btn-outline-white {
  display: inline-block;
  background: transparent;
  color: var(--white);
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  border: 2px solid rgba(255,255,255,0.7);
}

.btn-outline-white:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
  transform: translateY(-1px);
}

.btn-large {
  padding: 16px 36px;
  font-size: 17px;
  border-radius: var(--radius-md);
}

/* Demo button */
.btn-demo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.25);
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
}

.btn-demo:hover {
  background: rgba(255,255,255,0.18);
  color: white;
}

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

.hero {
  background: var(--navy);
  color: var(--white);
  padding: 96px 0 80px;
  text-align: center;
}

.hero-badge {
  display: inline-block;
  background: rgba(46,125,91,0.25);
  border: 1px solid rgba(46,125,91,0.5);
  color: #7FFFD4;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 24px;
  text-transform: uppercase;
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(34px, 6vw, 58px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.5px;
  margin-bottom: 20px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  color: var(--white);
}

.hero-sub {
  font-size: clamp(16px, 2.5vw, 19px);
  color: var(--light);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 0;
}

.hero-trust {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--light);
  font-weight: 500;
}

.trust-badge .trust-icon {
  font-size: 16px;
}

/* Small hero variant */
.hero-sm {
  padding: 64px 0 56px;
}

.hero-sm h1 {
  font-size: clamp(28px, 4.5vw, 44px);
}

/* Free trial note in hero */
.trial-note {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  margin-top: 16px;
  text-align: center;
}

/* Spanish badge */
.badge-es {
  display: inline-block;
  background: #F59E0B;
  color: white;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 12px;
  margin-left: 8px;
  vertical-align: middle;
}

/* ============================================================
   CTA SECTIONS
   ============================================================ */

.cta-section {
  background: var(--green);
  color: var(--white);
  text-align: center;
  padding: 80px 0;
}

.cta-section h2 {
  font-family: var(--font-serif);
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--white);
}

.cta-section p {
  font-size: 18px;
  color: rgba(255,255,255,0.88);
  max-width: 500px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.cta-section .btn-note {
  display: block;
  margin-top: 16px;
  font-size: 13px;
  color: rgba(255,255,255,0.7);
}

/* Navy CTA */
.cta-navy {
  background: var(--navy);
}

.cta-navy h2 {
  color: var(--white);
}

/* ============================================================
   CARDS
   ============================================================ */

.card {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

/* ============================================================
   STATS GRID
   ============================================================ */

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

.stat-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  box-shadow: var(--shadow);
  text-align: center;
}

.stat-card .stat-num {
  font-family: var(--font-serif);
  font-size: 42px;
  font-weight: 700;
  color: var(--green);
  line-height: 1;
  margin-bottom: 10px;
}

.stat-card .stat-label {
  font-size: 14px;
  color: #556070;
  line-height: 1.5;
}

/* ============================================================
   PILLAR CARDS
   ============================================================ */

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

.pillar-card {
  background: var(--white);
  border-radius: 16px;
  padding: 36px 28px;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--green);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.pillar-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.pillar-num {
  font-size: 42px;
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
}

.pillar-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--green);
  text-transform: uppercase;
  margin-bottom: 8px;
  margin-top: 4px;
}

.pillar-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}

.pillar-body {
  font-size: 15px;
  color: #556070;
  line-height: 1.7;
}

/* ============================================================
   ROI BAR SECTION
   ============================================================ */

.roi-section {
  background: var(--navy);
  padding: 80px 0;
}

.roi-section h2 {
  color: white;
  font-family: var(--font-serif);
}

.roi-intro {
  color: var(--light);
  font-size: 15px;
  max-width: 600px;
  margin-bottom: 48px;
  line-height: 1.7;
}

.roi-bars {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 680px;
  margin: 0 auto;
}

.roi-bar-row {
  display: grid;
  grid-template-columns: 160px 1fr 90px;
  align-items: center;
  gap: 16px;
}

.roi-bar-label {
  font-size: 14px;
  color: var(--light);
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.roi-bar-desc {
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  font-weight: 400;
}

.roi-bar-track {
  background: rgba(255,255,255,0.1);
  border-radius: 8px;
  height: 36px;
  overflow: hidden;
  position: relative;
}

.roi-bar-fill {
  height: 100%;
  border-radius: 8px;
  display: flex;
  align-items: center;
  padding-left: 12px;
  font-size: 13px;
  font-weight: 700;
  color: white;
  transition: width 1.2s ease;
  width: 0;
  white-space: nowrap;
  overflow: hidden;
}

.roi-bar-fill.breakeven {
  background: #F59E0B;
}

.roi-bar-fill.good {
  background: var(--green);
}

.roi-bar-fill.great {
  background: #3FA26D;
}

.roi-bar-value {
  font-size: 15px;
  font-weight: 800;
  color: #7FFFD4;
  text-align: right;
  white-space: nowrap;
}

.roi-cost-note {
  margin-top: 32px;
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}

.roi-assumption {
  margin-top: 8px;
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,0.35);
  font-style: italic;
}

/* ============================================================
   CAROUSEL (HOW IT WORKS)
   ============================================================ */

.carousel-wrap {
  position: relative;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  transition: transform 0.4s cubic-bezier(0.25,0.46,0.45,0.94);
  will-change: transform;
}

.carousel-slide {
  min-width: 100%;
  padding: 0 8px;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--navy);
  color: white;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s;
}

.carousel-btn.prev {
  left: 0;
}

.carousel-btn.next {
  right: 0;
}

.carousel-btn:disabled {
  opacity: 0.3;
  cursor: default;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  transition: all 0.3s;
  cursor: pointer;
  border: none;
  padding: 0;
}

.carousel-dot.active {
  background: var(--green);
  width: 24px;
  border-radius: 4px;
}

/* ============================================================
   PHONE MOCKUP SECTION
   ============================================================ */

.phone-mockup-section {
  background: linear-gradient(135deg, #1C2A39 0%, #243447 100%);
  padding: 80px 0;
}

.phone-mockup-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.phone-mockup-text h2 {
  color: white;
  font-family: var(--font-serif);
}

.phone-mockup-text p {
  color: var(--light);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 16px;
}

.phone-frame {
  background: #1a1a2e;
  border-radius: 44px;
  padding: 12px;
  box-shadow: 0 32px 80px rgba(0,0,0,0.5);
  border: 2px solid rgba(255,255,255,0.1);
  max-width: 280px;
  margin: 0 auto;
}

.phone-screen {
  background: #F7F9FB;
  border-radius: 34px;
  overflow: hidden;
  min-height: 520px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 20px;
}

.phone-screen-placeholder {
  text-align: center;
  color: #aaa;
}

.phone-screen-placeholder .ph-emoji {
  font-size: 56px;
  margin-bottom: 16px;
}

.phone-screen-placeholder p {
  font-size: 13px;
  line-height: 1.6;
}

/* ============================================================
   STORY SECTION
   ============================================================ */

.story-section {
  background: var(--white);
  padding: 80px 0;
}

.story-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}

.story-quote {
  font-family: var(--font-serif);
  font-size: clamp(22px, 3.5vw, 32px);
  color: var(--navy);
  line-height: 1.4;
  font-style: italic;
  margin-bottom: 32px;
  padding-left: 24px;
  border-left: 4px solid var(--green);
}

.story-body p {
  font-size: 16px;
  color: #445060;
  line-height: 1.8;
  margin-bottom: 20px;
}

.story-body strong {
  color: var(--navy);
}

.story-tag {
  display: inline-block;
  background: var(--light-gray);
  color: var(--navy);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 24px;
}

/* ============================================================
   COMPARISON TABLE (vs-table)
   ============================================================ */

.vs-table-section {
  background: var(--light-gray);
  padding: 80px 0;
}

.vs-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 40px;
  font-size: 15px;
}

.vs-table thead tr {
  background: var(--navy);
}

.vs-table thead th {
  color: white;
  padding: 16px 20px;
  text-align: left;
  font-size: 13px;
  letter-spacing: 0.5px;
}

.vs-table tbody tr {
  border-bottom: 1px solid var(--border);
}

.vs-table tbody tr:nth-child(even) {
  background: white;
}

.vs-table tbody tr:nth-child(odd) {
  background: var(--bg);
}

.vs-table tbody td {
  padding: 14px 20px;
  vertical-align: middle;
}

.vs-table .col-feature {
  font-weight: 600;
  color: var(--navy);
  width: 35%;
}

.vs-table .col-manual {
  color: #C00000;
  text-align: center;
}

.vs-table .col-lt {
  color: var(--green);
  text-align: center;
  font-weight: 700;
}

.vs-table .col-neutral {
  color: #556070;
  text-align: center;
}

.vs-table-note {
  font-size: 13px;
  color: #778899;
  margin-top: 16px;
  text-align: center;
}

@media (max-width: 680px) {
  .vs-table-section {
    padding: 48px 0;
  }

  /* On mobile, hide the middle two columns — show Feature + Lottery Track only */
  .vs-table th:nth-child(2),
  .vs-table td:nth-child(2),
  .vs-table th:nth-child(3),
  .vs-table td:nth-child(3) {
    display: none;
  }

  .vs-table {
    font-size: 14px;
  }

  .vs-table .col-feature {
    width: auto;
  }

  .vs-table thead th:nth-child(4) {
    text-align: center;
  }

  .vs-table-mobile-note {
    display: block;
  }
}

.vs-table-mobile-note {
  display: none;
  font-size: 12px;
  color: #778899;
  margin-top: 10px;
  text-align: center;
}

/* ============================================================
   STEP CARDS
   ============================================================ */

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

.step-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.step-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.step-icon {
  font-size: 36px;
  margin-bottom: 16px;
}

.step-num {
  width: 36px;
  height: 36px;
  background: var(--green);
  color: var(--white);
  border-radius: 50%;
  font-size: 15px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.step-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

.step-card p {
  font-size: 14px;
  color: #556070;
  line-height: 1.7;
}

/* ============================================================
   COMPARISON TABLE (before/after)
   ============================================================ */

.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 48px;
}

.compare-col {
  border-radius: var(--radius-md);
  padding: 28px 24px;
}

.compare-before {
  background: #FFF5F5;
  border: 2px solid #FFCCCC;
}

.compare-after {
  background: #F0FBF5;
  border: 2px solid #A7E8C7;
}

.compare-col h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.compare-before h3 { color: #B91C1C; }
.compare-after h3  { color: var(--green); }

.compare-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 14px;
  line-height: 1.55;
}

.compare-before .compare-item { color: #7A2020; }
.compare-after  .compare-item { color: #1A5C3A; }

/* ============================================================
   TESTIMONIAL CARDS
   ============================================================ */

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.testimonial-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.stars {
  color: #F59E0B;
  font-size: 17px;
  letter-spacing: 2px;
  margin-bottom: 14px;
}

.testimonial-card blockquote {
  font-size: 15px;
  color: #444;
  line-height: 1.75;
  margin-bottom: 16px;
  font-style: italic;
}

.testimonial-author {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
}

.testimonial-role {
  font-size: 12px;
  color: #888;
  margin-top: 2px;
}

/* ============================================================
   FEATURE CARDS
   ============================================================ */

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

.feature-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.feature-card .feature-icon {
  font-size: 32px;
  margin-bottom: 14px;
}

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

.feature-card p {
  font-size: 14px;
  color: #556070;
  line-height: 1.7;
}

/* ============================================================
   PRICING CARDS
   ============================================================ */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 840px;
  margin: 48px auto 0;
}

.pricing-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  border: 2px solid var(--border);
  box-shadow: var(--shadow);
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pricing-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.pricing-card.featured {
  border-color: var(--green);
}

.most-popular {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--green);
  color: var(--white);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 20px;
  white-space: nowrap;
}

.pricing-name {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #888;
  margin-bottom: 8px;
}

.pricing-price {
  font-family: var(--font-serif);
  font-size: 48px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 4px;
}

.pricing-price span {
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 600;
  color: #888;
}

.pricing-per {
  font-size: 13px;
  color: #888;
  margin-bottom: 8px;
}

.pricing-tagline {
  font-size: 14px;
  color: #556070;
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
  line-height: 1.55;
}

.pricing-features {
  list-style: none;
  margin-bottom: 28px;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: #444;
  margin-bottom: 11px;
  line-height: 1.5;
}

.pricing-features li::before {
  content: '✓';
  color: var(--green);
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
  margin-top: 1px;
}

.pricing-cta-note {
  text-align: center;
  font-size: 12px;
  color: #888;
  margin-top: 12px;
  line-height: 1.6;
}

.pricing-cta-note a {
  color: #888;
}

/* ROI Box */
.roi-box {
  background: var(--light-gray);
  border-radius: var(--radius-md);
  padding: 28px 32px;
  text-align: center;
  max-width: 680px;
  margin: 40px auto 0;
}

.roi-box p {
  font-size: 16px;
  color: var(--navy);
  line-height: 1.7;
}

.roi-box strong {
  color: var(--green);
}

/* Simple 2-col comparison table for pricing page */
.simple-compare-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 32px;
  font-size: 14px;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.simple-compare-table thead tr {
  background: var(--navy);
}

.simple-compare-table thead th {
  color: white;
  padding: 12px 16px;
  text-align: left;
  font-size: 13px;
}

.simple-compare-table tbody tr {
  border-bottom: 1px solid var(--border);
}

.simple-compare-table tbody tr:nth-child(even) {
  background: var(--white);
}

.simple-compare-table tbody tr:nth-child(odd) {
  background: var(--bg);
}

.simple-compare-table tbody td {
  padding: 12px 16px;
  vertical-align: middle;
}

.simple-compare-table .col-f {
  font-weight: 600;
  color: var(--navy);
  width: 50%;
}

.simple-compare-table .col-manual {
  color: #C00000;
  text-align: center;
}

.simple-compare-table .col-lt {
  color: var(--green);
  text-align: center;
  font-weight: 700;
}

/* ============================================================
   FAQ ACCORDION
   ============================================================ */

.faq-section .faq-category {
  margin-bottom: 40px;
}

.faq-category-title {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--green);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--light-gray);
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  transition: color 0.2s;
  user-select: none;
  gap: 16px;
}

.faq-question:hover {
  color: var(--green);
}

.faq-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  background: var(--light-gray);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  transition: background 0.2s, transform 0.3s, color 0.2s;
}

.faq-item.open .faq-icon {
  background: var(--green);
  color: var(--white);
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.2s ease;
}

.faq-item.open .faq-answer {
  max-height: 600px;
}

.faq-answer-inner {
  padding-bottom: 20px;
  font-size: 15px;
  color: #556070;
  line-height: 1.75;
}

/* FAQ Tabs */
.faq-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.faq-tab {
  padding: 10px 20px;
  border-radius: 8px;
  border: 2px solid var(--border);
  background: white;
  font-size: 14px;
  font-weight: 600;
  color: #556070;
  cursor: pointer;
  transition: all 0.2s;
}

.faq-tab.active {
  background: var(--navy);
  color: white;
  border-color: var(--navy);
}

.faq-group {
  display: none;
}

.faq-group.active {
  display: block;
}

/* ============================================================
   SECTION DIVIDER ACCENT
   ============================================================ */

.section-divider {
  height: 4px;
  background: linear-gradient(90deg, var(--green) 0%, var(--navy) 100%);
  border: none;
  margin: 0;
}

/* ============================================================
   ANIMATED COUNTER
   ============================================================ */

.counter-num {
  display: inline-block;
}

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

.site-footer {
  background: var(--navy);
  color: var(--light);
  padding: 56px 0 32px;
}

.footer-inner {
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo {
  font-size: 20px;
  font-weight: 800;
  color: var(--white);
  text-decoration: none;
  display: inline-block;
  margin-bottom: 10px;
}

.footer-logo span {
  color: #7FFFD4;
}

.footer-tagline {
  font-size: 13px;
  color: #7A8E9F;
  line-height: 1.6;
  max-width: 200px;
}

.footer-col-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #7A8E9F;
  margin-bottom: 16px;
}

.footer-nav-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav-links a {
  color: var(--light);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}

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

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-contact-info a {
  color: var(--light);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}

.footer-contact-info a:hover {
  color: var(--white);
}

.footer-contact-info span {
  font-size: 14px;
  color: #7A8E9F;
}

.footer-bottom {
  max-width: 1060px;
  margin: 0 auto;
  padding: 24px 24px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copy {
  font-size: 13px;
  color: #4A5C6A;
}

.footer-legal-links {
  display: flex;
  gap: 20px;
}

.footer-legal-links a {
  color: #4A5C6A;
  text-decoration: none;
  font-size: 13px;
  transition: color 0.2s;
}

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

/* ============================================================
   SCROLL FADE-IN
   ============================================================ */

.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

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

/* ============================================================
   CONTENT / LEGAL PAGES
   ============================================================ */

.legal-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
}

.legal-content h1 {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.legal-content .last-updated {
  font-size: 13px;
  color: #888;
  margin-bottom: 40px;
  display: block;
}

.legal-content h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  margin-top: 40px;
  margin-bottom: 12px;
}

.legal-content p {
  font-size: 15px;
  color: #444;
  line-height: 1.8;
  margin-bottom: 16px;
}

.legal-content ul {
  list-style: disc;
  margin: 0 0 16px 24px;
}

.legal-content ul li {
  font-size: 15px;
  color: #444;
  margin-bottom: 8px;
  line-height: 1.7;
}

.legal-content a {
  color: var(--green);
}

.legal-divider {
  height: 1px;
  background: var(--border);
  margin: 40px 0;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 40px;
  margin-top: 48px;
}

.contact-info-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow);
  margin-bottom: 16px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-info-icon {
  font-size: 24px;
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-info-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #888;
  margin-bottom: 4px;
}

.contact-info-value {
  font-size: 15px;
  color: var(--navy);
  font-weight: 600;
}

.contact-info-value a {
  color: var(--green);
  text-decoration: none;
}

.contact-info-value a:hover {
  text-decoration: underline;
}

.contact-form-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow);
}

.contact-form-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.2s;
  appearance: none;
  -webkit-appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(46,125,91,0.1);
}

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

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

/* ============================================================
   SECTION BACKGROUNDS
   ============================================================ */

.bg-white   { background: var(--white); }
.bg-light   { background: var(--light-gray); }
.bg-navy    { background: var(--navy); }
.bg-green   { background: var(--green); }

/* ============================================================
   MATH CALLOUT BOX
   ============================================================ */

.math-callout {
  background: var(--light-gray);
  border-left: 4px solid var(--green);
  border-radius: var(--radius-sm);
  padding: 24px 28px;
  margin: 32px 0;
}

.math-callout .math-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  font-size: 15px;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}

.math-callout .math-row:last-child {
  border-bottom: none;
  font-weight: 700;
  font-size: 17px;
  color: var(--navy);
  margin-top: 4px;
  padding-top: 12px;
}

.math-callout .math-result {
  color: var(--green);
  font-weight: 700;
}

/* Peace of mind list */
.icon-list {
  list-style: none;
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.icon-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 16px;
  color: var(--text);
  line-height: 1.6;
}

.icon-list .list-icon {
  font-size: 20px;
  flex-shrink: 0;
  margin-top: 1px;
}

/* Badge */
.badge {
  display: inline-block;
  background: var(--light-gray);
  color: #556070;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 3px 10px;
  border-radius: 12px;
  margin-left: 8px;
  vertical-align: middle;
}

/* ============================================================
   RESPONSIVE — TABLET
   ============================================================ */

@media (max-width: 900px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .phone-mockup-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .story-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .roi-bar-row {
    grid-template-columns: 120px 1fr 80px;
  }
}

/* ============================================================
   RESPONSIVE — MOBILE
   ============================================================ */

@media (max-width: 680px) {
  /* Nav */
  .nav-links {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  /* Layout */
  section {
    padding: 60px 0;
  }

  .hero {
    padding: 72px 0 60px;
  }

  .hero-sm {
    padding: 56px 0 44px;
  }

  /* Grids — stack */
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .compare-grid {
    grid-template-columns: 1fr;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

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

  .pillars-grid {
    grid-template-columns: 1fr;
  }

  .phone-mockup-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .story-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  /* ROI bar responsive */
  .roi-bar-row {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .roi-bar-label {
    text-align: left;
    flex-direction: row;
    align-items: baseline;
    gap: 6px;
  }

  .roi-bar-value {
    text-align: left;
  }

  /* Carousel desktop columns collapse */
  .carousel-slide {
    min-width: 100% !important;
  }

  /* Footer */
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }

  /* Trust badges */
  .hero-trust {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  /* Math callout */
  .math-callout .math-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .pricing-card {
    padding: 28px 24px;
  }

  /* simple-compare-table on pricing: hide Pen & Paper column on mobile */
  .simple-compare-table th:nth-child(2),
  .simple-compare-table td:nth-child(2) {
    display: none;
  }

  .simple-compare-table {
    font-size: 14px;
  }
}

/* ============================================================
   VANILLA JS — Defined by JS, but transition classes here
   ============================================================ */

/* Smooth scroll anchor offsets */
[id] {
  scroll-margin-top: 80px;
}

/* Two-col layout utility (used on why-switch peace-of-mind section) */
.two-col-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* Trust icons grid (used on pricing page) */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: center;
}

@media (max-width: 680px) {
  .two-col-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .trust-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}
