/* ==========================================================================
   Prime Assist — Comprehensive Stylesheet
   Full Multi-Section Website with Looping Video Hero Opening
   ========================================================================== */

/* --- Custom Properties (CSS Variables) --- */
:root {
  --bg: #000000;
  --text: #ffffff;
  --muted: #8e8e8e;
  --nav-text: #2e2e2e;
  --pill-dark: #28282a;
  --sign-in-text: #c8c8c8;
  --nav-shadow: 0 4px 14px rgba(0, 0, 0, 0.16);
  --trust-bg: #28282a;
  --trust-border: rgba(255, 255, 255, 0.4);
  --trust-text: #c4c2c3;
  --card-bg: #0d0d0d;
  --card-border: rgba(255, 255, 255, 0.08);
  --card-border-hover: rgba(255, 255, 255, 0.28);
  --accent-red: #CC0000;
  --font-sans: "Inter", "Segoe UI", system-ui, sans-serif;
  --font-display: "BubbledotICG-FinePos", monospace;
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg);
}

/* Anchored sections clear the sticky burger on mobile */
section[id] {
  scroll-margin-top: 24px;
}

body {
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
  overflow-y: auto;
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ==========================================================================
   FIRST VIEWPORT: Full-Bleed Video Background & Hero Region
   ========================================================================== */
.hero-viewport {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  min-height: 100vh;
  min-height: 100dvh;
  width: 100%;
  padding: clamp(16px, 2.4vh, 28px) clamp(14px, 3vw, 32px);
  overflow: hidden;
  background-color: #000000;
}

/* Video Background */
.bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-color: #000000;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

/* --- Header Region --- */
.header {
  flex-shrink: 0;
  width: 100%;
  max-width: 720px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 2.8vw, 28px);
  animation: slideDown 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
  z-index: 100;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Logo Button */
.logo-btn {
  width: clamp(40px, 4.4vw, 46px);
  height: clamp(40px, 4.4vw, 46px);
  border-radius: 50%;
  background-color: var(--pill-dark);
  box-shadow: var(--nav-shadow);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  text-decoration: none;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.25s ease;
}

.logo-btn:hover {
  transform: scale(1.04);
}

.logo-img {
  width: 88%;
  height: 88%;
  object-fit: contain;
  display: block;
}

/* Nav Pill */
.nav-pill {
  background-color: #ffffff;
  height: clamp(44px, 5.2vw, 48px);
  max-width: 430px;
  flex: 1;
  padding: 4px 8px;
  border-radius: 999px;
  box-shadow: var(--nav-shadow);
  display: flex;
  align-items: center;
  justify-content: space-around;
}

.nav-link {
  position: relative;
  color: var(--nav-text);
  font-size: clamp(13px, 1.4vw, 15px);
  font-weight: 500;
  letter-spacing: -0.01em;
  text-decoration: none;
  opacity: 0.5;
  padding: 13px 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.nav-link:hover {
  opacity: 0.75;
}

.nav-link.active {
  opacity: 1;
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 3px;
  background-color: var(--nav-text);
  border-radius: 50%;
  box-shadow: -5px 0 0 var(--nav-text), 5px 0 0 var(--nav-text);
}

/* Sign-in / Get Started Pill */
.sign-in-btn {
  background-color: var(--pill-dark);
  color: var(--sign-in-text);
  height: clamp(44px, 5.2vw, 48px);
  border-radius: 999px;
  box-shadow: var(--nav-shadow);
  padding: 0 clamp(16px, 2.2vw, 22px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: clamp(13px, 1.4vw, 14.5px);
  font-weight: 500;
  letter-spacing: -0.01em;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.sign-in-btn:hover {
  background-color: #323234;
  color: #ffffff;
  transform: translateY(-1px);
}

/* Burger Button (Hidden on Desktop) */
.burger-btn {
  display: none;
}

/* --- Hero Center Section --- */
.hero-content {
  flex: 1;
  width: 100%;
  max-width: 900px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin: auto 0;
  padding: 8px 0;
  z-index: 5;
}

/* Trust Row */
.trust-row {
  --trust-size: clamp(36px, 4.5vw, 42px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: clamp(16px, 2.5vh, 26px);
  position: relative;
}

.avatar-group {
  display: inline-flex;
  align-items: center;
  position: relative;
}

.avatar-ring {
  width: var(--trust-size);
  height: var(--trust-size);
  border-radius: 50%;
  background-color: var(--trust-bg);
  border: 1px solid var(--trust-border);
  padding: 5px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  cursor: default;
}

.avatar-ring.avatar-1 {
  z-index: 1;
  margin-left: 0;
}
.avatar-ring.avatar-1:hover {
  transform: translateY(-2px);
}

.avatar-ring.avatar-2 {
  z-index: 2;
  margin-left: calc(var(--trust-size) * -0.42);
}
.avatar-ring.avatar-2:hover {
  transform: translateY(-4px);
}

.avatar-ring.avatar-3 {
  z-index: 4;
  margin-left: calc(var(--trust-size) * -0.42);
}
.avatar-ring.avatar-3:hover {
  transform: translateY(-2px);
}

.avatar-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.avatar-inner i {
  font-size: calc(var(--trust-size) * 0.34);
  color: #111111;
}

.trust-pill {
  height: var(--trust-size);
  background-color: var(--trust-bg);
  border: 1px solid var(--trust-border);
  border-radius: 999px;
  margin-left: calc(var(--trust-size) * -0.42);
  padding-left: calc(var(--trust-size) * 0.58);
  padding-right: clamp(14px, 1.8vw, 18px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--trust-text);
  font-family: var(--font-sans);
  font-size: clamp(12px, 1.4vw, 13.5px);
  font-weight: 500;
  white-space: nowrap;
  position: relative;
  z-index: 0;
}

/* Headline */
.headline {
  font-family: var(--font-display);
  color: #ffffff;
  font-size: clamp(28px, 6.2vw, 80px);
  letter-spacing: -0.04em;
  line-height: 1.12;
  font-weight: 400;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  user-select: none;
}

.headline-line {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  opacity: 0;
  transform: translateY(14px);
  animation: headlineFade 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.headline-line.line-1 {
  animation-delay: 0.12s;
}

.headline-line.line-2 {
  animation-delay: 0.3s;
}

/* Brand Wordmark (hero) */
.hero-brand {
  font-family: var(--font-display);
  color: #ffffff;
  font-size: clamp(18px, 3vw, 28px);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 400;
  margin-bottom: 16px;
  user-select: none;
}

.hero-brand .brand-red {
  color: var(--accent-red);
}

@keyframes headlineFade {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Subhead */
.subhead {
  max-width: min(500px, 92%);
  font-size: clamp(calc(13.5px + 2pt), calc(1.55vw + 2pt), calc(16.5px + 2pt));
  color: #d0d0d0;
  opacity: 0.8;
  line-height: 1.55;
  font-weight: 400;
  margin: clamp(14px, 2vh, 22px) auto clamp(18px, 2.5vh, 28px);
  text-align: center;
}

/* CTA */
.cta-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
}

.cta-btn {
  background-color: #ffffff;
  color: #000000;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: clamp(13.5px, 1.5vw, 14.5px);
  padding: clamp(11px, 1.6vh, 13px) clamp(22px, 3vw, 28px);
  border-radius: 999px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.15),
              0 0 22px rgba(255, 255, 255, 0.32),
              0 0 44px rgba(255, 255, 255, 0.12);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.3s cubic-bezier(0.22, 1, 0.36, 1),
              background-color 0.2s ease;
}

.cta-btn:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.25),
              0 0 30px rgba(255, 255, 255, 0.45),
              0 0 60px rgba(255, 255, 255, 0.2);
}

/* --- Hero Stats Footer --- */
.stats-footer {
  flex-shrink: 0;
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
  z-index: 5;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(12px, 2vw, 24px);
  align-items: center;
}

.stat-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(8px, 1.2vw, 12px);
  text-align: left;
}

.stat-icon {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 33px);
  color: #ffffff;
  line-height: 1;
  display: inline-block;
  flex-shrink: 0;
}

.stat-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.stat-value {
  font-family: var(--font-sans);
  font-size: clamp(18px, 2.2vw, 26px);
  font-weight: 600;
  color: #ffffff;
  letter-spacing: -0.025em;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}

.stat-label {
  font-family: var(--font-sans);
  font-size: clamp(12px, 1.4vw, 13px);
  color: var(--muted);
  font-weight: 400;
  margin-top: 2px;
  white-space: nowrap;
}

/* ==========================================================================
   SHARED SECTIONS & CONTAINERS
   ========================================================================== */
.section {
  width: 100%;
  padding: clamp(70px, 10vh, 115px) clamp(16px, 3.5vw, 32px);
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 2;
  background-color: var(--bg);
}

.section-container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto clamp(40px, 6vh, 60px);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-tag {
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
  display: inline-block;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(30px, 4.5vw, 50px);
  color: #ffffff;
  letter-spacing: -0.03em;
  line-height: 1.15;
  font-weight: 400;
  text-align: center;
  margin-bottom: 14px;
}

.section-subtitle {
  font-family: var(--font-sans);
  font-size: clamp(14.5px, 1.5vw, 16.5px);
  color: #d0d0d0;
  opacity: 0.85;
  line-height: 1.6;
  max-width: 620px;
  text-align: center;
  margin: 0 auto;
}

/* ==========================================================================
   1. MARQUEE TICKER
   ========================================================================== */
.marquee-section {
  width: 100%;
  background-color: #0d0d0d;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 18px 0;
  overflow: hidden;
  position: relative;
  z-index: 3;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marqueeScroll 25s linear infinite;
  user-select: none;
}

.marquee-track:hover {
  animation-play-state: paused;
}

.marquee-content {
  display: flex;
  align-items: center;
  gap: clamp(24px, 3.5vw, 40px);
  padding-right: clamp(24px, 3.5vw, 40px);
  white-space: nowrap;
}

.marquee-item {
  font-family: var(--font-sans);
  font-size: clamp(12.5px, 1.4vw, 14px);
  font-weight: 600;
  letter-spacing: 0.14em;
  color: #ffffff;
  text-transform: uppercase;
}

.marquee-diamond {
  color: #ffffff;
  opacity: 0.6;
  font-size: 11px;
}

@keyframes marqueeScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ==========================================================================
   2. SERVICES SECTION
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  width: 100%;
}

.service-card {
  background-color: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  text-align: left;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
              border-color 0.3s ease,
              background-color 0.3s ease;
}

.service-card:hover {
  border-color: var(--card-border-hover);
  transform: translateY(-3px);
  background-color: #121214;
}

.card-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background-color: #161618;
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: grid;
  place-items: center;
  margin-bottom: 20px;
}

.card-icon-display {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--accent-red);
  line-height: 1;
}

.card-title {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: -0.015em;
  margin-bottom: 10px;
}

.card-desc {
  font-family: var(--font-sans);
  font-size: 13.5px;
  line-height: 1.55;
  color: #9c9c9c;
  font-weight: 400;
}

/* ==========================================================================
   3. STATS BAND SECTION
   ========================================================================== */
.stats-band-card {
  width: 100%;
  background-color: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 28px;
  padding: clamp(40px, 5.5vw, 60px) clamp(24px, 4vw, 48px);
}

.stats-band-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-items: center;
}

.band-stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.band-stat-icon {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.2vw, 38px);
  color: #ffffff;
  margin-bottom: 8px;
  line-height: 1;
}

.band-stat-number-wrap {
  font-family: var(--font-sans);
  font-size: clamp(28px, 3.8vw, 44px);
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}

.band-stat-label {
  font-family: var(--font-sans);
  font-size: clamp(13px, 1.4vw, 14.5px);
  color: var(--muted);
  margin-top: 6px;
  font-weight: 400;
}

/* ==========================================================================
   4. PRIME TOOLS SECTION
   ========================================================================== */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  width: 100%;
}

.tool-tile {
  background-color: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  text-align: left;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
              border-color 0.3s ease,
              background-color 0.3s ease;
}

.tool-tile:hover {
  border-color: var(--card-border-hover);
  transform: translateY(-3px);
  background-color: #121214;
}

.tool-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.tool-icon-display {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--accent-red);
}

.tool-badge {
  background-color: #1a1a1c;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #c4c2c3;
  font-size: 12px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: 0.02em;
}

.tool-title {
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 8px;
  letter-spacing: -0.015em;
}

.tool-desc {
  font-family: var(--font-sans);
  font-size: 13.5px;
  line-height: 1.5;
  color: #9c9c9c;
}

/* ==========================================================================
   5. HOW WE WORK SECTION
   ========================================================================== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  width: 100%;
}

.process-card {
  background-color: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 24px;
  padding: 38px 30px;
  display: flex;
  flex-direction: column;
  text-align: left;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
              border-color 0.3s ease;
}

.process-card:hover {
  border-color: var(--card-border-hover);
  transform: translateY(-3px);
  background-color: #121214;
}

.process-step-num {
  font-family: var(--font-display);
  font-size: clamp(34px, 4vw, 46px);
  color: #ffffff;
  margin-bottom: 20px;
  line-height: 1;
  opacity: 0.9;
}

.process-step-title {
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 12px;
  letter-spacing: -0.015em;
}

.process-step-desc {
  font-family: var(--font-sans);
  font-size: 14.5px;
  line-height: 1.6;
  color: #9c9c9c;
}

/* ==========================================================================
   6. TESTIMONIALS SECTION
   ========================================================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  width: 100%;
}

.testimonial-card {
  background-color: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 24px;
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: left;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
              border-color 0.3s ease;
}

.testimonial-card:hover {
  border-color: var(--card-border-hover);
  transform: translateY(-3px);
  background-color: #121214;
}

.testimonial-quote-mark {
  font-family: var(--font-display);
  font-size: 42px;
  color: #ffffff;
  line-height: 1;
  opacity: 0.5;
  margin-bottom: 14px;
}

.testimonial-text {
  font-family: var(--font-sans);
  font-size: 14.5px;
  line-height: 1.65;
  color: #d0d0d0;
  margin-bottom: 26px;
  flex: 1;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
}

.author-name {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 2px;
}

.author-company {
  font-family: var(--font-sans);
  font-size: 12.5px;
  color: var(--muted);
  font-weight: 400;
}

/* ==========================================================================
   7. PRICING SECTION
   ========================================================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  width: 100%;
  align-items: stretch;
}

.pricing-card {
  background-color: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 24px;
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: left;
  position: relative;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
              border-color 0.3s ease;
}

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

.pricing-card.featured {
  border: 2px solid var(--accent-red);
  background-color: #0f0a0a;
  box-shadow: 0 0 32px rgba(204, 0, 0, 0.15);
}

.pricing-card.featured:hover {
  border-color: #ff1a1a;
  box-shadow: 0 0 44px rgba(204, 0, 0, 0.25);
}

.popular-badge {
  position: absolute;
  top: -13px;
  right: 28px;
  background-color: var(--accent-red);
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 11.5px;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: 999px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.plan-name {
  font-family: var(--font-sans);
  font-size: 22px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 6px;
}

.plan-desc {
  font-family: var(--font-sans);
  font-size: 13.5px;
  color: #9c9c9c;
  line-height: 1.5;
  min-height: 40px;
  margin-bottom: 24px;
}

.plan-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 28px;
}

.plan-currency {
  font-size: 14px;
  font-weight: 600;
  color: #8e8e8e;
}

.plan-price {
  font-family: var(--font-sans);
  font-size: clamp(34px, 4vw, 42px);
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.03em;
}

.plan-period {
  font-size: 14px;
  color: #8e8e8e;
}

.plan-price-custom {
  font-family: var(--font-sans);
  font-size: clamp(32px, 3.8vw, 38px);
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.plan-features {
  list-style: none;
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}

.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 13.5px;
  color: #d0d0d0;
  line-height: 1.45;
}

.plan-features li i {
  color: #ffffff;
  font-size: 12px;
  margin-top: 3px;
  flex-shrink: 0;
}

.pricing-card.featured .plan-features li i {
  color: #ff3333;
}

.plan-btn {
  width: 100%;
  height: 46px;
  border-radius: 999px;
  background-color: #1c1c1e;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-family: var(--font-sans);
  font-size: 14.5px;
  font-weight: 600;
  transition: all 0.25s ease;
}

.plan-btn:hover {
  background-color: #2c2c2f;
}

.plan-btn.featured-btn {
  background-color: #ffffff;
  color: #000000;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.plan-btn.featured-btn:hover {
  background-color: #f0f0f0;
  transform: translateY(-1px);
}

/* ==========================================================================
   8. FAQ SECTION
   ========================================================================== */
.faq-accordion {
  width: 100%;
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background-color: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 18px;
  overflow: hidden;
  transition: border-color 0.25s ease, background-color 0.25s ease;
}

.faq-item.active {
  border-color: var(--card-border-hover);
  background-color: #111113;
}

.faq-trigger {
  width: 100%;
  padding: 22px 24px;
  background: none;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  text-align: left;
  gap: 16px;
  font-family: var(--font-sans);
  color: #ffffff;
  font-size: clamp(15px, 1.6vw, 17px);
  font-weight: 600;
  -webkit-tap-highlight-color: transparent;
}

.faq-chevron {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: #1a1a1c;
  display: grid;
  place-items: center;
  font-size: 12px;
  color: #ffffff;
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.2s ease;
}

.faq-item.active .faq-chevron {
  transform: rotate(45deg);
  background-color: #28282a;
}

.faq-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.faq-answer {
  padding: 0 24px 22px;
  font-family: var(--font-sans);
  font-size: 14.5px;
  line-height: 1.65;
  color: #a4a4a4;
}

/* ==========================================================================
   9. FINAL CTA + SITE FOOTER
   ========================================================================== */
.final-cta-section {
  padding-bottom: 0;
}

.cta-banner {
  width: 100%;
  background-color: var(--card-bg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 32px;
  padding: clamp(48px, 8vw, 84px) clamp(24px, 5vw, 60px);
  text-align: center;
  margin-bottom: clamp(60px, 8vh, 100px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.final-cta-title {
  font-family: var(--font-display);
  font-size: clamp(34px, 5.5vw, 64px);
  color: #ffffff;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 16px;
}

.final-cta-subtitle {
  font-family: var(--font-sans);
  font-size: clamp(15px, 1.6vw, 18px);
  color: #d0d0d0;
  opacity: 0.85;
  max-width: 580px;
  line-height: 1.6;
  margin-bottom: 36px;
}

.final-cta-btn-wrap {
  display: flex;
  justify-content: center;
}

.final-cta-btn {
  font-size: 15.5px;
  padding: 14px 34px;
}

/* --- Footer --- */
.site-footer {
  width: 100%;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 56px;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.footer-logo {
  margin-bottom: 4px;
}

.footer-tagline {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.footer-about {
  font-family: var(--font-sans);
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 320px;
}

.footer-heading {
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 18px;
}

.footer-list,
.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-list a,
.footer-contact-list a,
.footer-contact-list span {
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--muted);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  transition: color 0.2s ease;
}

.footer-list a:hover,
.footer-contact-list a:hover {
  color: #ffffff;
}

.footer-socials {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.footer-socials a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: var(--pill-dark);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  place-items: center;
  color: #ffffff;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.footer-socials a:hover {
  background-color: #ffffff;
  color: #000000;
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 24px;
  padding-bottom: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-sans);
  font-size: 13px;
  color: #707070;
  flex-wrap: wrap;
  gap: 12px;
}

/* ==========================================================================
   SCROLL REVEAL & SHARED ANIMATIONS
   ========================================================================== */
.anim {
  opacity: 0;
  transform: translateY(22px) scale(0.98);
  filter: blur(6px);
  animation: reveal 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: var(--d, 0s);
}

@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(22px) scale(0.98);
    filter: blur(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--delay, 0s);
  will-change: opacity, transform;
}

.reveal-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   MOBILE OVERLAY & SHEET MENU
   ========================================================================== */
.mobile-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.62);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 90;
  animation: overlayIn 0.28s ease forwards;
}

.mobile-overlay[hidden] {
  display: none !important;
}

@keyframes overlayIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.mobile-menu-sheet {
  position: fixed;
  top: clamp(68px, 11vh, 86px);
  left: 16px;
  right: 16px;
  margin: 0 auto;
  max-width: 400px;
  background-color: #ffffff;
  border-radius: 28px;
  padding: 22px 18px 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  z-index: 95;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  animation: menuIn 0.38s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.mobile-menu-sheet[hidden] {
  display: none !important;
}

@keyframes menuIn {
  from {
    opacity: 0;
    transform: translateY(-16px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  width: 100%;
}

.mobile-nav-link {
  position: relative;
  width: 100%;
  text-align: center;
  padding: 15px 0;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 500;
  color: var(--nav-text);
  text-decoration: none;
  opacity: 0;
  transform: translateY(8px);
  animation: linkIn 0.35s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: calc(0.08s + var(--i, 0) * 0.05s);
  transition: color 0.2s ease;
}

.mobile-nav-link:hover {
  color: #000000;
}

.mobile-nav-link.active {
  font-weight: 600;
  color: #000000;
}

.mobile-nav-link.active::after {
  content: "";
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 3px;
  background-color: #000000;
  border-radius: 50%;
  box-shadow: -5px 0 0 #000000, 5px 0 0 #000000;
}

.mobile-cta-btn {
  margin-top: 10px;
  height: 46px;
  background-color: var(--pill-dark);
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  border-radius: 999px;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(8px);
  animation: linkIn 0.35s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: calc(0.08s + var(--i, 4) * 0.05s);
  transition: background-color 0.2s ease;
}

.mobile-cta-btn:hover {
  background-color: #38383c;
}

@keyframes linkIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

/* <= 992px (Tablets) */
@media (max-width: 992px) {
  .services-grid,
  .tools-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-grid,
  .testimonials-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 540px;
    margin: 0 auto;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .footer-brand-col {
    grid-column: span 2;
  }
}

/* <= 720px (Mobile Devices) */
@media (max-width: 720px) {
  .header {
    justify-content: space-between;
    max-width: 100%;
    gap: 0;
  }

  .logo-btn {
    width: 48px;
    height: 48px;
  }

  .nav-pill,
  .sign-in-btn {
    display: none !important;
  }

  /* Hamburger Icon */
  .burger-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 48px;
    height: 48px;
    background-color: var(--pill-dark);
    border-radius: 50%;
    border: none;
    cursor: pointer;
    z-index: 101;
    padding: 0;
    box-shadow: var(--nav-shadow);
    transition: background-color 0.25s ease, transform 0.25s ease;
    -webkit-tap-highlight-color: transparent;
  }

  .burger-btn:hover {
    transform: scale(1.04);
  }

  .burger-bar {
    width: 18px;
    height: 1.5px;
    background-color: #ffffff;
    border-radius: 1px;
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
                opacity 0.2s ease,
                background-color 0.25s ease;
  }

  /* Burger Open State (Black X in White Circle) */
  body.menu-open .burger-btn,
  .burger-btn[aria-expanded="true"] {
    background-color: #ffffff;
  }

  body.menu-open .burger-btn .burger-bar,
  .burger-btn[aria-expanded="true"] .burger-bar {
    background-color: #000000;
  }

  body.menu-open .burger-btn .burger-bar:nth-child(1),
  .burger-btn[aria-expanded="true"] .burger-bar:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
  }

  body.menu-open .burger-btn .burger-bar:nth-child(2),
  .burger-btn[aria-expanded="true"] .burger-bar:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }

  body.menu-open .burger-btn .burger-bar:nth-child(3),
  .burger-btn[aria-expanded="true"] .burger-bar:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
  }

  /* Headline tweaks on <=720px */
  .headline {
    letter-spacing: -0.08em;
    line-height: 1.05;
  }

  /* Stats grid: 2x2 */
  .stats-grid,
  .stats-band-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 14px;
  }

  .stat-item {
    justify-content: flex-start;
    padding-left: clamp(8px, 4vw, 24px);
  }

  .services-grid,
  .tools-grid {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-brand-col {
    grid-column: span 1;
  }
}

/* <= 420px (Compact Mobile) */
@media (max-width: 420px) {
  .trust-row {
    --trust-size: 34px;
  }

  .headline {
    letter-spacing: -0.09em;
    line-height: 1.04;
  }

  .subhead {
    font-size: clamp(14.5px, 3.8vw, 16px);
  }

  .stat-item {
    padding-left: 4px;
  }

  .faq-trigger {
    padding: 18px 16px;
  }

  .faq-answer {
    padding: 0 16px 18px;
  }

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

/* Accessibility: Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .anim,
  .headline-line,
  .header,
  .reveal-on-scroll,
  .mobile-overlay,
  .mobile-menu-sheet,
  .mobile-nav-link,
  .mobile-cta-btn {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    animation: none !important;
  }

  .headline {
    color: #ffffff !important;
  }

  .marquee-track {
    animation: none !important;
  }
}

/* ==========================================================================
   PRODUCTS PAGE (products.html) SPECIFIC STYLES
   ========================================================================== */
.subpage-header-wrapper {
  position: sticky;
  top: 0;
  width: 100%;
  padding: clamp(14px, 2vh, 22px) clamp(14px, 3vw, 32px);
  background-color: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  z-index: 100;
  display: flex;
  justify-content: center;
}

.products-hero {
  padding: clamp(50px, 8vh, 80px) clamp(16px, 3.5vw, 32px) clamp(30px, 4vh, 50px);
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  width: 100%;
}

.product-card {
  background-color: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 22px;
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  text-align: left;
  position: relative;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
              border-color 0.3s ease,
              background-color 0.3s ease;
}

.product-card:hover {
  border-color: var(--card-border-hover);
  transform: translateY(-3px);
  background-color: #121214;
}

.product-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
}

.product-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background-color: #161618;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  place-items: center;
  color: #ffffff;
  flex-shrink: 0;
  transition: background-color 0.25s ease, border-color 0.25s ease;
}

.product-card:hover .product-icon-wrap {
  background-color: #1f1f23;
  border-color: rgba(255, 255, 255, 0.2);
}

.product-icon-svg {
  width: 24px;
  height: 24px;
  stroke: #ffffff;
  color: #ffffff;
  display: block;
}

.product-name {
  font-family: var(--font-sans);
  font-size: 19px;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: -0.015em;
  margin-bottom: 8px;
}

.product-desc {
  font-family: var(--font-sans);
  font-size: 13.5px;
  line-height: 1.55;
  color: #9c9c9c;
  font-weight: 400;
  flex: 1;
}

.product-badge {
  background-color: #1a1a1c;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #c4c2c3;
  font-size: 11px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: 0.02em;
}

/* Live badge (PA Books) */
.product-badge-live {
  background-color: rgba(204, 0, 0, 0.12);
  border: 1px solid rgba(204, 0, 0, 0.45);
  color: #ff4d4d;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #ff3333;
  animation: live-pulse 1.6s ease-in-out infinite;
}

@keyframes live-pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(255, 51, 51, 0.5); }
  50% { opacity: 0.6; box-shadow: 0 0 0 5px rgba(255, 51, 51, 0); }
}

/* Product card as link */
.product-card-link {
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.product-card-link:hover {
  transform: translateY(-4px);
  border-color: rgba(204, 0, 0, 0.5);
  box-shadow: 0 12px 40px rgba(204, 0, 0, 0.15);
}

.product-card-link:hover .product-icon-svg {
  color: #ff3333;
}

/* Products CTA Banner */
.products-cta-box {
  width: 100%;
  background-color: var(--card-bg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 28px;
  padding: clamp(36px, 6vw, 56px) clamp(24px, 4vw, 48px);
  text-align: center;
  margin-top: clamp(48px, 7vh, 80px);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.products-cta-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 4vw, 42px);
  color: #ffffff;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.products-cta-desc {
  font-family: var(--font-sans);
  font-size: 14.5px;
  color: #d0d0d0;
  opacity: 0.85;
  max-width: 520px;
  line-height: 1.6;
  margin-bottom: 28px;
}

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

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

