/* ============================================
   MARKETSAFE - "The Verification Bureau"
   A distinctive, editorial safety platform
   ============================================ */

/* Import Poppins font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');

/* ============================================
   CSS CUSTOM PROPERTIES
   ============================================ */
:root {
  /* Primary Palette - Deep Trust */
  --color-forest: #1B4332;
  --color-forest-deep: #0D2818;
  --color-sage: #2D5A3D;
  
  /* Accent - The MarketSafe Green */
  --color-verify: #4CAF50;
  --color-verify-bright: #5CC163;
  --color-verify-glow: rgba(92, 193, 99, 0.15);
  
  /* Neutrals - Warm Editorial */
  --color-cream: #FAF7F2;
  --color-cream-dark: #F0EBE3;
  --color-paper: #FFFFFF;
  --color-charcoal: #171717;
  --color-slate: #4A4A4A;
  --color-muted: #7A7A7A;
  
  /* Alert States */
  --color-danger: #C41E3A;
  --color-danger-soft: rgba(196, 30, 58, 0.1);
  --color-warning: #E8A838;
  
  /* Typography */
  --font-display: 'Poppins', system-ui, sans-serif;
  --font-body: 'Poppins', system-ui, sans-serif;
  
  /* Spacing Scale */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-md-small: 1rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --space-3xl: 10rem;
  
  /* Transitions */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-back: cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition-fast: 200ms var(--ease-out-expo);
  --transition-medium: 400ms var(--ease-out-expo);
  --transition-slow: 600ms var(--ease-out-expo);
  
  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(27, 67, 50, 0.06);
  --shadow-md: 0 4px 24px rgba(27, 67, 50, 0.08);
  --shadow-lg: 0 12px 48px rgba(27, 67, 50, 0.12);
  --shadow-glow: 0 0 40px var(--color-verify-glow);
  
  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  max-width: 100vw;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  width: 100%;
  overflow-x: hidden;
  position: relative;
  box-sizing: border-box;
}

*, *::before, *::after {
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-charcoal);
  background-color: var(--color-cream);
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  position: relative;
}

/* Selection styling */
::selection {
  background: var(--color-verify);
  color: white;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
  font-size: 1.25rem;
}

p {
  max-width: 65ch;
}

.text-muted {
  color: var(--color-muted);
}

.text-sm {
  font-size: 0.875rem;
}

.text-lg {
  font-size: 1.125rem;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-verify);
}

/* ============================================
   LAYOUT
   ============================================ */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-md);
  box-sizing: border-box;
}

.container--narrow {
  max-width: 900px;
}

.container--wide {
  max-width: 1440px;
}

section {
  padding: var(--space-2xl) 0;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

/* ============================================
   BACKGROUND PATTERNS
   ============================================ */
.bg-grid {
  position: relative;
  overflow-x: hidden;
}

.bg-grid::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 100%;
  background-image: 
    linear-gradient(rgba(27, 67, 50, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(27, 67, 50, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 0;
}

.bg-grid > * {
  position: relative;
  z-index: 1;
}

.bg-dots {
  background-image: radial-gradient(circle at 1px 1px, rgba(27, 67, 50, 0.08) 1px, transparent 0);
  background-size: 24px 24px;
}

/* Decorative shapes */
.shape {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

.shape--checkmark {
  width: 300px;
  height: 300px;
  opacity: 0.03;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath fill='%231B4332' d='M20 50 L40 70 L80 25 L75 20 L40 60 L25 45 Z'/%3E%3C/svg%3E") no-repeat center;
  background-size: contain;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: var(--space-sm) 0;
  background: rgba(250, 247, 242, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(27, 67, 50, 0.06);
  transition: var(--transition-medium);
}

.header.scrolled {
  padding: var(--space-xs) 0;
  box-shadow: var(--shadow-sm);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
  position: relative;
  z-index: 10002;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.logo svg {
  height: 80px;
  width: auto;
  max-width: 100%;
  display: block;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .logo svg {
    height: 56px;
  }
}

@media (max-width: 480px) {
  .logo svg {
    height: 48px;
  }
}

.logo img {
  height: 28px;
  width: auto;
  object-fit: contain;
  display: none;
}

.logo__text {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
  display: flex;
  align-items: center;
}

.logo__market {
  color: var(--color-charcoal);
  font-weight: 700;
}

.logo__safe {
  color: var(--color-verify);
  font-weight: 700;
}

@media (max-width: 768px) {
  .logo__text {
    font-size: 1.25rem;
  }
}

@media (max-width: 480px) {
  .logo__text {
    font-size: 1.125rem;
  }
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.nav__link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-slate);
  position: relative;
  padding: var(--space-xs) 0;
  transition: var(--transition-fast);
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-verify);
  transition: var(--transition-fast);
}

.nav__link:hover {
  color: var(--color-forest);
}

.nav__link:hover::after {
  width: 100%;
}

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.5rem 1rem;
  background: var(--color-forest);
  color: white;
  font-size: 0.8rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
}

.nav__cta svg {
  width: 14px;
  height: 14px;
}

.nav__cta:hover {
  background: var(--color-forest-deep);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

/* Mobile menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-xs);
  z-index: 10001;
  position: relative;
  cursor: pointer;
  background: none;
  border: none;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-charcoal);
  transition: var(--transition-fast);
  transform-origin: center;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile nav overlay */
@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-cream);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--space-lg);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-medium);
    z-index: 9999;
    pointer-events: none;
  }
  
  .nav--open {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }
  
  .nav__link {
    font-size: 1.5rem;
    font-family: var(--font-display);
  }
  
  .nav__cta {
    margin-top: var(--space-md);
    padding: 1rem 2rem;
    font-size: 1rem;
  }
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: calc(80px + var(--space-xl));
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 100vw;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 80%;
  height: 150%;
  background: radial-gradient(ellipse at center, var(--color-verify-glow) 0%, transparent 60%);
  opacity: 0.6;
}

.hero__content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

.hero__text {
  max-width: 600px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: 0.5rem 1rem;
  background: var(--color-forest);
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-md);
  animation: slideDown 0.8s var(--ease-out-expo) forwards;
  opacity: 0;
  transform: translateY(-20px);
}

.hero__badge svg {
  width: 14px;
  height: 14px;
}

.hero__title {
  margin-bottom: var(--space-md);
  animation: slideUp 0.8s var(--ease-out-expo) 0.1s forwards;
  opacity: 0;
  transform: translateY(30px);
}

.hero__title em {
  color: var(--color-verify);
  font-style: normal;
  position: relative;
}

.hero__title em::after {
  content: '';
  position: absolute;
  bottom: 0.1em;
  left: 0;
  width: 100%;
  height: 0.15em;
  background: var(--color-verify);
  opacity: 0.2;
  border-radius: 2px;
}

/* Brand headline styling */
.brand-market {
  font-weight: 700;
}

.brand-safe {
  color: var(--color-verify);
  font-weight: 700;
}

.brand-check {
  display: inline-block;
  width: 0.55em;
  height: 0.55em;
  margin-left: 0.15em;
  color: var(--color-verify);
  opacity: 0;
  transform: scale(0);
  animation: checkPop 0.5s var(--ease-out-back) 1.3s forwards;
  vertical-align: baseline;
  position: relative;
  top: -0.05em;
}

.brand-check svg {
  width: 100%;
  height: 100%;
  display: block;
}

@keyframes checkPop {
  from {
    opacity: 0;
    transform: scale(0) rotate(-20deg);
  }
  to {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
}

.hero__description {
  font-size: 1.25rem;
  color: var(--color-slate);
  margin-bottom: var(--space-lg);
  animation: slideUp 0.8s var(--ease-out-expo) 0.2s forwards;
  opacity: 0;
  transform: translateY(30px);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  animation: slideUp 0.8s var(--ease-out-expo) 0.3s forwards;
  opacity: 0;
  transform: translateY(30px);
}

.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeIn 1s var(--ease-out-expo) 0.4s forwards;
  opacity: 0;
}

.hero__image {
  position: relative;
  z-index: 1;
  max-width: 450px;
  filter: drop-shadow(0 20px 40px rgba(27, 67, 50, 0.15));
}

.hero__image-bg {
  position: absolute;
  inset: -20%;
  background: linear-gradient(135deg, var(--color-verify-glow) 0%, transparent 50%);
  border-radius: 50%;
  animation: pulse 4s ease-in-out infinite;
  overflow: hidden;
}

.hero__visual {
  overflow: hidden;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  padding: 1rem 2rem;
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: var(--radius-md);
  transition: var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.btn--primary {
  background: var(--color-forest);
  color: white;
}

.btn--primary:hover {
  background: var(--color-forest-deep);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.btn--secondary {
  background: transparent;
  color: var(--color-forest);
  border: 2px solid var(--color-forest);
}

.btn--secondary:hover {
  background: var(--color-forest);
  color: white;
  transform: translateY(-3px);
}

.btn--accent {
  background: var(--color-verify);
  color: white;
}

.btn--accent:hover {
  background: var(--color-sage);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.btn--ghost {
  background: transparent;
  color: var(--color-slate);
}

.btn--ghost:hover {
  color: var(--color-forest);
  background: rgba(27, 67, 50, 0.05);
}

.btn svg {
  width: 18px;
  height: 18px;
  transition: var(--transition-fast);
}

.btn:hover svg {
  transform: translateX(3px);
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services {
  background: var(--color-cream);
  position: relative;
}

.services::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(27, 67, 50, 0.1), transparent);
}

.services__header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto var(--space-xl);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-lg);
}

.service-card {
  background: var(--color-cream);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  position: relative;
  overflow: hidden;
  transition: var(--transition-medium);
  border: 1px solid transparent;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--color-verify);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition-medium);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(76, 175, 80, 0.2);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card__icon {
  width: 56px;
  height: 56px;
  background: var(--color-verify-glow);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
  transition: var(--transition-medium);
}

.service-card:hover .service-card__icon {
  background: var(--color-verify);
  transform: scale(1.1) rotate(-5deg);
}

.service-card__icon svg {
  width: 28px;
  height: 28px;
  color: var(--color-forest);
  transition: var(--transition-fast);
}

.service-card:hover .service-card__icon svg {
  color: white;
}

.service-card__title {
  font-size: 1.35rem;
  margin-bottom: var(--space-sm);
  color: var(--color-forest);
}

.service-card__text {
  color: var(--color-slate);
  margin-bottom: var(--space-md);
  font-size: 0.95rem;
}

.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-weight: 600;
  color: var(--color-verify);
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

.service-card__link svg {
  width: 16px;
  height: 16px;
  transition: var(--transition-fast);
}

.service-card__link:hover {
  color: var(--color-forest);
}

.service-card__link:hover svg {
  transform: translateX(4px);
}

/* Special styling for danger card (report scam) */
.service-card--danger .service-card__icon {
  background: var(--color-danger-soft);
}

.service-card--danger .service-card__icon svg {
  color: var(--color-danger);
}

.service-card--danger::before {
  background: var(--color-danger);
}

.service-card--danger:hover .service-card__icon {
  background: var(--color-danger);
}

.service-card--danger:hover .service-card__icon svg {
  color: white;
}

.service-card--danger .service-card__link {
  color: var(--color-danger);
}

/* ============================================
   HOW IT WORKS SECTION
   ============================================ */
.how-it-works {
  background: var(--color-cream);
  position: relative;
}

.how-it-works.bg-dots {
  background-color: var(--color-cream);
}

.how-it-works__header {
  text-align: center;
  max-width: 500px;
  margin: 0 auto var(--space-xl);
}

.how-it-works__steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.step-card {
  flex: 1;
  min-width: 240px;
  max-width: 300px;
  text-align: center;
  padding: var(--space-lg);
  background: var(--color-cream);
  border-radius: var(--radius-lg);
  position: relative;
  transition: var(--transition-medium);
}

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

.step-card__number {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 32px;
  background: var(--color-verify);
  color: white;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}

.step-card__icon {
  width: 64px;
  height: 64px;
  background: var(--color-verify-glow);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: var(--space-sm) auto var(--space-md);
}

.step-card__icon svg {
  width: 32px;
  height: 32px;
  color: var(--color-forest);
}

.step-card__title {
  font-size: 1.15rem;
  margin-bottom: var(--space-xs);
  color: var(--color-forest);
}

.step-card__text {
  font-size: 0.9rem;
  color: var(--color-slate);
  line-height: 1.5;
}

.step-card__arrow {
  display: flex;
  align-items: center;
  padding-top: var(--space-xl);
  color: var(--color-verify);
}

.step-card__arrow svg {
  width: 24px;
  height: 24px;
}

.how-it-works__cta {
  text-align: center;
  margin-top: var(--space-xl);
}

.how-it-works__note {
  margin-top: var(--space-sm);
  font-size: 0.85rem;
  color: var(--color-muted);
}

.btn--lg {
  padding: 1.1rem 2.5rem;
  font-size: 1.05rem;
}

@media (max-width: 768px) {
  .step-card__arrow {
    display: none;
  }
  
  .how-it-works__steps {
    flex-direction: column;
    align-items: center;
  }
  
  .step-card {
    max-width: 100%;
  }
}

/* ============================================
   STATS SECTION
   ============================================ */
.stats {
  background: var(--color-forest);
  color: white;
  position: relative;
  overflow: hidden;
}

.stats::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -30%;
  width: 100%;
  height: 200%;
  background: radial-gradient(ellipse at center, rgba(92, 193, 99, 0.15) 0%, transparent 50%);
}

.stats__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
  position: relative;
  z-index: 1;
}

.stats__content h2 {
  color: white;
  margin-bottom: var(--space-md);
}

.stats__content p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

.stat-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition-medium);
}

.stat-card:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-4px);
}

.stat-card__number {
  font-family: var(--font-display);
  font-size: 3.5rem;
  line-height: 1;
  color: var(--color-verify-bright);
  margin-bottom: var(--space-xs);
}

.stat-card__label {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--space-xs);
}

.stat-card__description {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.5;
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
.testimonials {
  background: var(--color-cream);
  position: relative;
}

.testimonials__header {
  text-align: center;
  max-width: 500px;
  margin: 0 auto var(--space-xl);
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-lg);
  max-width: 900px;
  margin: 0 auto;
}

.testimonial-card {
  background: var(--color-paper);
  border-radius: var(--radius-lg);
  padding: var(--space-xl) var(--space-lg) var(--space-lg);
  position: relative;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(27, 67, 50, 0.08);
  transition: var(--transition-medium);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(76, 175, 80, 0.15);
}

.testimonial-card__quote {
  position: absolute;
  top: var(--space-lg);
  right: var(--space-lg);
  width: 40px;
  height: 40px;
  color: var(--color-verify);
  opacity: 0.15;
}

.testimonial-card__quote svg {
  width: 100%;
  height: 100%;
}

.testimonial-card__text {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--color-charcoal);
  margin-bottom: var(--space-lg);
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.testimonial-card__avatar {
  width: 44px;
  height: 44px;
  background: var(--color-verify);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 1.1rem;
}

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

.testimonial-card__name {
  font-weight: 600;
  color: var(--color-charcoal);
  font-size: 0.95rem;
}

.testimonial-card__location {
  font-size: 0.8rem;
  color: var(--color-muted);
}

.testimonial-card__service {
  position: absolute;
  top: var(--space-md);
  left: var(--space-lg);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-verify);
  background: var(--color-verify-glow);
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-sm);
}

.testimonials__cta {
  text-align: center;
  margin-top: var(--space-xl);
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
  position: relative;
}

.about__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.about__visual {
  position: relative;
}

.about__image {
  max-width: 400px;
  width: 100%;
  height: auto;
  margin: 0 auto;
  filter: drop-shadow(0 20px 40px rgba(27, 67, 50, 0.1));
}

.about__content {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow-wrap: break-word;
  word-wrap: break-word;
  min-width: 0;
}

.about__content h2 {
  margin-bottom: var(--space-md);
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.about__content p {
  color: var(--color-slate);
  margin-bottom: var(--space-md);
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.feature-list {
  list-style: none;
  margin: var(--space-lg) 0;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-xs);
  padding: var(--space-xs) var(--space-sm);
  background: var(--color-paper);
  border-radius: var(--radius-md);
  transition: var(--transition-fast);
  width: 100%;
  box-sizing: border-box;
}

.feature-list li:hover {
  background: var(--color-verify-glow);
}

.feature-list__icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  background: var(--color-verify);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-list__icon svg {
  width: 14px;
  height: 14px;
  color: white;
}

.feature-list__text {
  font-size: 0.95rem;
  flex: 1;
  min-width: 0;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.feature-list__text strong {
  display: block;
  color: var(--color-forest);
}

/* ============================================
   BLOG SECTION
   ============================================ */
.blog {
  background: var(--color-paper);
}

.blog__header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: var(--space-xl);
  flex-wrap: wrap;
  gap: var(--space-md);
}

.blog__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: var(--space-lg);
}

.blog-card {
  background: var(--color-cream);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition-medium);
  border: 1px solid rgba(27, 67, 50, 0.06);
}

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

.blog-card__image {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: linear-gradient(135deg, var(--color-cream-dark) 0%, var(--color-cream) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-card__image img {
  max-width: 60%;
  transition: var(--transition-medium);
}

.blog-card:hover .blog-card__image img {
  transform: scale(1.05);
}

.blog-card__content {
  padding: var(--space-lg);
}

.blog-card__meta {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
}

.blog-card__tag {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-verify);
  background: var(--color-verify-glow);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-sm);
}

.blog-card__date {
  font-size: 0.8rem;
  color: var(--color-muted);
}

.blog-card__title {
  font-size: 1.25rem;
  margin-bottom: var(--space-sm);
  line-height: 1.3;
  transition: var(--transition-fast);
}

.blog-card:hover .blog-card__title {
  color: var(--color-verify);
}

.blog-card__excerpt {
  font-size: 0.9rem;
  color: var(--color-slate);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq {
  background: var(--color-paper);
}

.faq__header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.faq__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.faq-item {
  background: var(--color-cream);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid transparent;
  transition: var(--transition-fast);
}

.faq-item:hover {
  border-color: rgba(76, 175, 80, 0.2);
}

.faq-item__question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-md) var(--space-lg);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-charcoal);
  transition: var(--transition-fast);
}

.faq-item__question:hover {
  color: var(--color-forest);
}

.faq-item__question svg {
  width: 20px;
  height: 20px;
  color: var(--color-muted);
  transition: var(--transition-fast);
  flex-shrink: 0;
}

.faq-item.active .faq-item__question svg {
  transform: rotate(180deg);
  color: var(--color-verify);
}

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s var(--ease-out-expo);
}

.faq-item.active .faq-item__answer {
  max-height: 300px;
}

.faq-item__answer p {
  padding: 0 var(--space-lg) var(--space-md);
  font-size: 0.95rem;
  color: var(--color-slate);
  line-height: 1.7;
}

.faq-item__answer a {
  color: var(--color-verify);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.faq-item__answer a:hover {
  color: var(--color-forest);
}

/* ============================================
   DONATE SECTION
   ============================================ */
.donate {
  background: linear-gradient(135deg, var(--color-cream-dark) 0%, var(--color-cream) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.donate::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--color-verify-glow) 0%, transparent 60%);
  opacity: 0.5;
}

.donate__inner {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: 0 auto;
}

.donate__image {
  max-width: 200px;
  margin: 0 auto var(--space-lg);
}

.donate h2 {
  margin-bottom: var(--space-sm);
}

.donate p {
  color: var(--color-slate);
  margin: 0 auto var(--space-lg);
  max-width: 500px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--color-forest-deep);
  color: white;
  padding: var(--space-xl) 0 var(--space-lg);
}

.footer__inner {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.footer__brand {
  max-width: 300px;
}

.footer__logo {
  height: 40px;
  margin-bottom: var(--space-md);
  filter: brightness(0) invert(1);
}

.footer__tagline {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  margin-bottom: var(--space-md);
}

.footer__social {
  display: flex;
  gap: var(--space-sm);
}

.footer__social a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.footer__social a:hover {
  background: var(--color-verify);
  transform: translateY(-3px);
}

.footer__social svg {
  width: 20px;
  height: 20px;
}

.footer__nav h4 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-md);
  color: rgba(255, 255, 255, 0.5);
}

.footer__nav ul {
  list-style: none;
}

.footer__nav li {
  margin-bottom: var(--space-xs);
}

.footer__nav a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

.footer__nav a:hover {
  color: var(--color-verify-bright);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.footer__legal {
  display: flex;
  gap: var(--space-md);
}

.footer__legal a:hover {
  color: white;
}

/* ============================================
   FORMS
   ============================================ */
.form-group {
  margin-bottom: var(--space-md);
}

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: var(--space-xs);
  color: var(--color-forest);
}

.form-label--required::after {
  content: '*';
  color: var(--color-danger);
  margin-left: 4px;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 0.875rem 1rem;
  font-size: 1rem;
  font-family: var(--font-body);
  border: 2px solid var(--color-cream-dark);
  border-radius: var(--radius-md);
  background: white;
  transition: var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--color-verify);
  box-shadow: 0 0 0 4px var(--color-verify-glow);
}

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

.form-hint {
  font-size: 0.8rem;
  color: var(--color-muted);
  margin-top: var(--space-xs);
}

/* ============================================
   PAGE LAYOUTS
   ============================================ */
.page-header {
  padding: calc(80px + var(--space-2xl)) 0 var(--space-xl);
  background: var(--color-paper);
  text-align: center;
  border-bottom: 1px solid rgba(27, 67, 50, 0.06);
}

.page-header h1 {
  margin-bottom: var(--space-sm);
}

.page-header p {
  color: var(--color-slate);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Article styles */
.article {
  padding: var(--space-xl) 0 var(--space-2xl);
}

.article__header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto var(--space-xl);
}

.article__meta {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
  font-size: 0.9rem;
  color: var(--color-muted);
}

.article__content {
  max-width: 720px;
  margin: 0 auto;
}

.article__content h2 {
  margin-top: var(--space-xl);
  margin-bottom: var(--space-md);
  font-size: 1.75rem;
}

.article__content h3 {
  margin-top: var(--space-lg);
  margin-bottom: var(--space-sm);
  font-size: 1.35rem;
}

.article__content p {
  margin-bottom: var(--space-md);
  max-width: none;
}

.article__content ul,
.article__content ol {
  margin-bottom: var(--space-md);
  padding-left: var(--space-lg);
}

.article__content li {
  margin-bottom: var(--space-xs);
}

.article__content blockquote {
  border-left: 4px solid var(--color-verify);
  padding-left: var(--space-md);
  margin: var(--space-lg) 0;
  font-style: italic;
  color: var(--color-slate);
}

.article__content a {
  color: var(--color-verify);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article__content a:hover {
  color: var(--color-forest);
}

.article__sources {
  margin-top: var(--space-xl);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--color-cream-dark);
}

.article__sources h4 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-muted);
  margin-bottom: var(--space-md);
}

.article__sources ul {
  list-style: none;
  padding: 0;
}

.article__sources li {
  margin-bottom: var(--space-sm);
  font-size: 0.85rem;
  color: var(--color-slate);
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

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

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.6;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.8;
  }
}

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

/* Scroll reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

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

/* Staggered children */
.stagger-children > * {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s var(--ease-out-expo), transform 0.6s var(--ease-out-expo);
}

.stagger-children.visible > *:nth-child(1) { transition-delay: 0.1s; }
.stagger-children.visible > *:nth-child(2) { transition-delay: 0.2s; }
.stagger-children.visible > *:nth-child(3) { transition-delay: 0.3s; }
.stagger-children.visible > *:nth-child(4) { transition-delay: 0.4s; }
.stagger-children.visible > *:nth-child(5) { transition-delay: 0.5s; }
.stagger-children.visible > *:nth-child(6) { transition-delay: 0.6s; }

.stagger-children.visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .hero__content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero__text {
    max-width: 700px;
    margin: 0 auto;
  }
  
  .hero__actions {
    justify-content: center;
  }
  
  .hero__text {
    order: -1;
  }
  
  .hero__visual {
    order: 1;
  }
  
  .hero__image {
    max-width: 350px;
  }
  
  .stats__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .about__inner {
    grid-template-columns: 1fr;
    text-align: center;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    gap: var(--space-md) !important;
  }
  
  .about__content {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    min-width: 0 !important;
  }
  
  .about__visual {
    order: -1;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  
  .footer__inner {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer__brand {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  section {
    padding: var(--space-xl) 0;
    width: 100vw;
    max-width: 100vw;
    overflow-x: hidden;
  }
  
  .container {
    padding: 0 var(--space-md) !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  
  .header .container {
    overflow-x: visible !important;
  }
  
  .about__inner {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    gap: var(--space-md) !important;
    margin: 0 !important;
    padding: 0 !important;
    min-width: 0 !important;
  }
  
  .about__content {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow-wrap: break-word !important;
    word-wrap: break-word !important;
  }
  
  .about__visual {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    padding: 0 !important;
    min-width: 0 !important;
  }
  
  .feature-list {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  
  .feature-list li {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    min-width: 0 !important;
  }
  
  .nav:not(.nav--open) {
    display: none;
  }
  
  .menu-toggle {
    display: flex;
  }
  
  .hero {
    min-height: auto;
    padding-top: calc(80px + var(--space-lg));
    padding-bottom: var(--space-xl);
  }
  
  .services__grid {
    grid-template-columns: 1fr;
  }
  
  .stats__grid {
    grid-template-columns: 1fr;
  }
  
  .blog__grid {
    grid-template-columns: 1fr;
  }
  
  .footer__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer__brand {
    max-width: none;
  }
  
  .footer__social {
    justify-content: center;
  }
  
  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  :root {
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
  }
  
  .container {
    padding: 0 1rem !important;
  }
  
  .btn {
    width: 100%;
    max-width: 100%;
    padding: 1rem 1.5rem;
    box-sizing: border-box;
  }
  
  .about__inner {
    gap: var(--space-md);
  }
  
  .hero__actions {
    flex-direction: column;
  }
  
  .hero__text {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  
  .hero__actions {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  
  .hero__visual {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  
  .hero__image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .hero {
    overflow-x: hidden !important;
    width: 100vw !important;
    max-width: 100vw !important;
  }
  
  .hero__bg {
    overflow: hidden !important;
  }
  
  .hero__image-bg {
    inset: 0 !important;
    max-width: 100% !important;
    max-height: 100% !important;
    width: 100% !important;
    height: 100% !important;
  }
  
  .hero__visual {
    overflow: hidden !important;
    width: 100% !important;
    max-width: 100% !important;
    position: relative !important;
  }
  
  .hero__image {
    max-width: 100% !important;
    width: auto !important;
    height: auto !important;
  }
  
  .shape {
    display: none !important;
  }
  
  .about__image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .about__visual {
    overflow: hidden !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  
  .stat-card__number {
    font-size: 2.5rem;
  }
}

/* ============================================
   STICKY CTA
   ============================================ */
.sticky-cta {
  position: fixed;
  bottom: var(--space-lg);
  right: var(--space-lg);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: var(--transition-medium);
}

.sticky-cta.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.sticky-cta__button {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0.875rem 1.25rem;
  background: var(--color-verify);
  color: white;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg), 0 0 30px var(--color-verify-glow);
  transition: var(--transition-fast);
}

.sticky-cta__button:hover {
  background: var(--color-forest);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg), 0 0 40px var(--color-verify-glow);
}

.sticky-cta__button svg {
  width: 20px;
  height: 20px;
}

@media (max-width: 480px) {
  .sticky-cta {
    left: var(--space-md);
    right: var(--space-md);
    bottom: var(--space-md);
  }
  
  .sticky-cta__button {
    width: 100%;
    justify-content: center;
    padding: 1rem;
  }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-0 { margin-bottom: 0; }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }

@media (max-width: 768px) {
  .nav.nav--open {
    height: 100vh !important;
    height: 100dvh !important;
  }
}

/* ============================================
   MOBILE FOOTER FIXES
   ============================================ */
@media (max-width: 768px) {
  .footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
  }

  .footer__brand {
    grid-column: 1 / -1;
    text-align: center;
    max-width: none;
  }

  .footer__nav {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .footer__inner {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
}

/* ============================================
   HERO STRIKETHROUGH ANIMATION
   ============================================ */
   .brand-strikethrough {
    color: var(--color-danger);
    position: relative;
    font-weight: 700;
  }
  
  .brand-strikethrough::after {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 0;
    height: 3px;
    background: var(--color-danger);
    transition: width 0.4s ease;
  }
  
  .brand-strikethrough.struck::after {
    width: 100%;
  }
  
  .brand-strikethrough.fade {
    opacity: 0;
    transition: opacity 0.3s ease;
  }
  
  .brand-safe {
    color: var(--color-verify);
    font-weight: 700;
    opacity: 0;
    display: none;
  }
  
  .brand-safe.visible {
    display: inline;
    animation: popIn 0.4s ease forwards;
  }
  
  @keyframes popIn {
    0% { opacity: 0; transform: scale(0.8); }
    100% { opacity: 1; transform: scale(1); }
  }