@import url('./variables.css');
@import url('https://fonts.googleapis.com/css2?family=Barlow:wght@600;700;800&family=Outfit:wght@300;400;500;600;700&family=IBM+Plex+Mono:wght@400;500&display=swap');

/* ========== RESET ========== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-primary);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--byop-blue); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--byop-blue-hover); }
ul, ol { list-style: none; }

/* ========== TYPOGRAPHY ========== */
h1, h2, h3, h4 { font-family: 'Barlow', sans-serif; color: var(--byop-dark); line-height: 1.2; }
h1 { font-weight: 800; font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-weight: 700; font-size: clamp(1.75rem, 4vw, 2.75rem); }
h3 { font-weight: 700; font-size: clamp(1.25rem, 3vw, 1.75rem); }
h4 { font-weight: 700; font-size: 1.125rem; }
.mono { font-family: 'IBM Plex Mono', monospace; }
.text-sm { font-size: 0.875rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }

/* ========== LAYOUT ========== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}
.container--narrow { max-width: var(--content-width); }
.section { padding: var(--space-2xl) 0; }
.section--light { background: var(--bg-light); }
.section--dark { background: var(--bg-dark); color: var(--text-on-dark); }
.section--dark h2, .section--dark h3 { color: var(--white); }
.section--blue { background: var(--byop-blue); color: var(--white); }
.section--blue h2, .section--blue h3 { color: var(--white); }
.section-header { text-align: center; margin-bottom: var(--space-xl); }
.section-header p { color: var(--text-secondary); max-width: 600px; margin: var(--space-md) auto 0; font-size: 1.125rem; }
.section--dark .section-header p { color: var(--text-on-dark); opacity: 0.85; }

/* ========== GRID ========== */
.grid { display: grid; gap: var(--space-lg); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 768px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
}
@media (min-width: 769px) and (max-width: 1024px) {
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  line-height: 1;
}
.btn--primary {
  background: var(--byop-yellow);
  color: var(--byop-dark);
  border-color: var(--byop-yellow);
}
.btn--primary:hover {
  background: var(--byop-yellow-hover);
  border-color: var(--byop-yellow-hover);
  color: var(--byop-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn--secondary {
  background: var(--byop-dark);
  color: var(--white);
  border-color: var(--byop-dark);
}
.btn--secondary:hover {
  background: #3d3b3c;
  border-color: #3d3b3c;
  color: var(--white);
}
.btn--outline {
  background: transparent;
  color: var(--byop-dark);
  border-color: var(--byop-dark);
}
.btn--outline:hover {
  background: var(--byop-dark);
  color: var(--white);
}
.btn--outline-white {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn--outline-white:hover {
  background: var(--white);
  color: var(--byop-dark);
}
.btn--lg { padding: 18px 36px; font-size: 1.125rem; }
.btn--sm { padding: 10px 20px; font-size: 0.875rem; }
.btn-group { display: flex; gap: var(--space-md); flex-wrap: wrap; }

/* ========== HEADER ========== */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}
.header.scrolled { box-shadow: var(--shadow-sm); }
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md) var(--space-md);
  max-width: var(--max-width);
  margin: 0 auto;
}
.header__logo img { height: 44px; width: auto; }
.header__nav { display: flex; align-items: center; gap: var(--space-lg); }
.header__nav a {
  font-weight: 500;
  color: var(--text-primary);
  font-size: 0.95rem;
  position: relative;
  padding: 4px 0;
}
.header__nav a:hover { color: var(--byop-blue); }
.header__nav a.active { color: var(--byop-blue); }
.header__nav a.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--byop-yellow);
}
.header__phone {
  font-weight: 700;
  color: var(--byop-dark) !important;
  font-size: 1rem;
  white-space: nowrap;
}
.header__phone svg { width: 18px; height: 18px; }
.header__cta { margin-left: var(--space-sm); }

/* Dropdown */
.dropdown { position: relative; }
.dropdown__toggle { cursor: pointer; display: flex; align-items: center; gap: 4px; }
.dropdown__toggle svg { width: 12px; transition: transform 0.2s; }
.dropdown__menu {
  position: absolute;
  top: 100%;
  left: -16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  min-width: 220px;
  padding: var(--space-sm) 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s;
}
.dropdown:hover .dropdown__menu,
.dropdown.open .dropdown__menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown:hover .dropdown__toggle svg { transform: rotate(180deg); }
.dropdown__menu a {
  display: block;
  padding: 10px 20px;
  font-size: 0.9rem;
  color: var(--text-primary);
}
.dropdown__menu a:hover { background: var(--bg-light); color: var(--byop-blue); }

/* Mobile nav */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--byop-dark);
  transition: all 0.3s;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

@media (max-width: 900px) {
  .hamburger { display: flex; }
  .header__nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 360px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 80px var(--space-lg) var(--space-lg);
    box-shadow: var(--shadow-lg);
    transition: right 0.3s ease;
    gap: var(--space-md);
    overflow-y: auto;
  }
  .header__nav.open { right: 0; }
  .dropdown__menu {
    position: static;
    box-shadow: none;
    border: none;
    padding-left: var(--space-md);
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
  }
  .dropdown.open .dropdown__menu { display: block; }
  .header__cta { width: 100%; }
  .header__cta .btn { width: 100%; justify-content: center; }
  .nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
  }
  .nav-overlay.active { opacity: 1; visibility: visible; }
}

/* ========== HERO ========== */
.hero {
  position: relative;
  background: var(--bg-dark);
  color: var(--white);
  padding: var(--space-2xl) 0;
  overflow: hidden;
  min-height: 600px;
  display: flex;
  align-items: center;
}
.hero--full { min-height: 85vh; }
.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.35;
}
.hero__content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}
.hero__badge {
  display: inline-block;
  background: rgba(252, 206, 8, 0.15);
  color: var(--byop-yellow);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: var(--space-md);
  border: 1px solid rgba(252, 206, 8, 0.3);
}
.hero h1 { color: var(--white); margin-bottom: var(--space-md); }
.hero p {
  font-size: 1.2rem;
  line-height: 1.7;
  opacity: 0.9;
  margin-bottom: var(--space-lg);
}
.hero--short { min-height: auto; padding: var(--space-xl) 0; }

/* Trust bar */
.trust-bar {
  background: var(--byop-dark);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: var(--space-md) 0;
}
.trust-bar__items {
  display: flex;
  justify-content: center;
  gap: var(--space-xl);
  flex-wrap: wrap;
}
.trust-bar__item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--text-on-dark);
  font-size: 0.9rem;
  font-weight: 500;
}
.trust-bar__item svg { width: 20px; height: 20px; color: var(--byop-yellow); flex-shrink: 0; }

/* ========== STATS BAR ========== */
.stats-bar { padding: var(--space-xl) 0; }
.stats-bar .grid { text-align: center; }
.stat__number {
  font-family: 'Barlow', sans-serif;
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--byop-yellow);
  line-height: 1;
}
.stat__label {
  color: var(--text-on-dark);
  font-size: 0.95rem;
  margin-top: var(--space-sm);
  opacity: 0.85;
}

/* ========== CARDS ========== */
.card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  border: 1px solid var(--border);
}
.card:hover {
  box-shadow: var(--shadow-md);
  border-top: 3px solid var(--byop-yellow);
  transform: translateY(-4px);
}
.card__icon {
  width: 56px;
  height: 56px;
  background: rgba(252, 206, 8, 0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
}
.card__icon svg { width: 28px; height: 28px; color: var(--byop-yellow); }
.card__icon--green { background: rgba(52, 168, 83, 0.1); }
.card__icon--green svg { color: var(--live-green); }
.card h3 { margin-bottom: var(--space-sm); }
.card p { color: var(--text-secondary); font-size: 0.95rem; }
.card__link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: var(--space-md);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--byop-blue);
}
.card__link:hover { gap: 8px; }
.card__link svg { width: 16px; height: 16px; }

/* ========== TESTIMONIAL ========== */
.testimonial {
  background: var(--bg-light);
  border-left: 4px solid var(--byop-yellow);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
}
.testimonial__stars { color: var(--byop-yellow); font-size: 1.2rem; margin-bottom: var(--space-md); }
.testimonial__text { font-size: 1.05rem; font-style: italic; margin-bottom: var(--space-md); color: var(--text-primary); }
.testimonial__author { font-weight: 600; }
.testimonial__location { color: var(--text-secondary); font-size: 0.875rem; }

/* ========== TWO-COLUMN LAYOUT ========== */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}
.two-col--reverse { direction: rtl; }
.two-col--reverse > * { direction: ltr; }
@media (max-width: 768px) {
  .two-col { grid-template-columns: 1fr; }
  .two-col--reverse { direction: ltr; }
}
.two-col__img {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.two-col__img img { width: 100%; object-fit: cover; }
.two-col__content h2 { margin-bottom: var(--space-md); }

/* ========== COMPARISON TABLE ========== */
.comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}
@media (max-width: 768px) { .comparison { grid-template-columns: 1fr; } }
.comparison__col { padding: var(--space-lg); border-radius: var(--radius-md); }
.comparison__col--them { background: #FEF2F2; border: 1px solid #FECACA; }
.comparison__col--us { background: #F0FDF4; border: 1px solid #BBF7D0; }
.comparison__col h3 { margin-bottom: var(--space-md); }
.comparison__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
  font-size: 0.95rem;
}
.comparison__item svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px; }

/* ========== PRICING TABLE ========== */
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.pricing-table thead { background: var(--byop-dark); color: var(--white); }
.pricing-table th { padding: 16px; text-align: left; font-weight: 600; }
.pricing-table td { padding: 14px 16px; border-bottom: 1px solid var(--border); }
.pricing-table tbody tr:nth-child(even) { background: var(--bg-light); }
.pricing-table .highlight { color: var(--live-green); font-weight: 700; }

/* ========== FAQ ========== */
.faq__item {
  border-bottom: 1px solid var(--border);
  padding: var(--space-md) 0;
}
.faq__question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  background: none;
  border: none;
  padding: var(--space-sm) 0;
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  text-align: left;
}
.faq__question svg {
  width: 20px;
  height: 20px;
  transition: transform 0.3s;
  flex-shrink: 0;
  margin-left: var(--space-md);
}
.faq__item.open .faq__question svg { transform: rotate(180deg); }
.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq__item.open .faq__answer { max-height: 500px; }
.faq__answer p { padding: var(--space-sm) 0 var(--space-md); color: var(--text-secondary); line-height: 1.7; }

/* ========== CTA SECTION ========== */
.cta-section {
  text-align: center;
  padding: var(--space-2xl) 0;
}
.cta-section h2 { margin-bottom: var(--space-md); }
.cta-section p { margin-bottom: var(--space-lg); opacity: 0.9; font-size: 1.125rem; }
.cta-section .btn-group { justify-content: center; }

/* ========== AI BANNER ========== */
.ai-banner {
  background: linear-gradient(135deg, #1A1D21 0%, #2d3748 100%);
  border: 1px solid rgba(252, 206, 8, 0.2);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}
.ai-banner__icon {
  width: 48px;
  height: 48px;
  background: rgba(252, 206, 8, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ai-banner__icon svg { width: 24px; height: 24px; color: var(--byop-yellow); }
.ai-banner h4 { color: var(--white); margin-bottom: 4px; }
.ai-banner p { color: var(--text-on-dark); font-size: 0.9rem; opacity: 0.8; margin: 0; }
.ai-banner__badge {
  font-size: 0.75rem;
  color: var(--byop-yellow);
  font-weight: 600;
  margin-top: 4px;
}
@media (max-width: 600px) {
  .ai-banner { flex-direction: column; text-align: center; }
}

/* ========== GALLERY ========== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-md);
}
.gallery-item {
  border-radius: var(--radius-sm);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  aspect-ratio: 4/3;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-md);
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  color: var(--white);
  font-size: 0.9rem;
  opacity: 0;
  transition: opacity 0.3s;
}
.gallery-item:hover .gallery-item__overlay { opacity: 1; }

/* Gallery filters */
.gallery-filters {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  margin-bottom: var(--space-lg);
  justify-content: center;
}
.gallery-filter {
  padding: 8px 20px;
  border: 1px solid var(--border);
  border-radius: 100px;
  background: var(--white);
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.2s;
  font-family: 'Outfit', sans-serif;
  color: var(--text-primary);
}
.gallery-filter:hover, .gallery-filter.active {
  background: var(--byop-yellow);
  border-color: var(--byop-yellow);
  color: var(--byop-dark);
}

/* ========== FORMS ========== */
.form-group { margin-bottom: var(--space-md); }
.form-group label {
  display: block;
  font-weight: 500;
  margin-bottom: 6px;
  font-size: 0.9rem;
}
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  color: var(--text-primary);
  transition: border-color 0.2s;
  background: var(--white);
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--byop-blue);
  box-shadow: 0 0 0 3px rgba(0, 87, 184, 0.1);
}
.form-textarea { min-height: 120px; resize: vertical; }
.form-select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%236B7B8D' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.form-message { padding: var(--space-md); border-radius: var(--radius-sm); margin-top: var(--space-md); font-weight: 500; }
.form-message--success { background: #F0FDF4; color: #166534; border: 1px solid #BBF7D0; }
.form-message--error { background: #FEF2F2; color: #991B1B; border: 1px solid #FECACA; }
/* Honeypot */
.ohnohoney { position: absolute; left: -9999px; }

/* ========== FOOTER ========== */
.footer {
  background: var(--bg-dark);
  color: var(--text-on-dark);
  padding: var(--space-xl) 0 var(--space-lg);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}
@media (max-width: 768px) {
  .footer__grid { grid-template-columns: 1fr 1fr; gap: var(--space-lg); }
}
@media (max-width: 480px) {
  .footer__grid { grid-template-columns: 1fr; }
}
.footer__brand img { height: 40px; margin-bottom: var(--space-md); }
.footer__brand p { color: var(--text-on-dark); opacity: 0.7; font-size: 0.9rem; line-height: 1.6; }
.footer__col h4 {
  color: var(--white);
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: var(--space-md);
}
.footer__col a {
  display: block;
  color: var(--text-on-dark);
  opacity: 0.7;
  font-size: 0.9rem;
  padding: 4px 0;
  transition: opacity 0.2s;
}
.footer__col a:hover { opacity: 1; color: var(--byop-yellow); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: var(--space-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-md);
  font-size: 0.8rem;
  opacity: 0.6;
}
.footer__social { display: flex; gap: var(--space-md); }
.footer__social a { opacity: 0.7; }
.footer__social a:hover { opacity: 1; }
.footer__social svg { width: 20px; height: 20px; }

/* ========== BREADCRUMBS ========== */
.breadcrumbs {
  padding: var(--space-md) 0;
  font-size: 0.85rem;
  color: var(--text-secondary);
}
.breadcrumbs a { color: var(--text-secondary); }
.breadcrumbs a:hover { color: var(--byop-blue); }
.breadcrumbs span { margin: 0 6px; }

/* ========== PROCESS STEPS ========== */
.steps { counter-reset: step; }
.step {
  display: flex;
  gap: var(--space-lg);
  padding: var(--space-lg) 0;
  border-bottom: 1px solid var(--border);
}
.step__number {
  counter-increment: step;
  width: 48px;
  height: 48px;
  background: var(--byop-yellow);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Barlow', sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--byop-dark);
  flex-shrink: 0;
}
.step__number::before { content: counter(step); }
.step h4 { margin-bottom: 4px; }
.step p { color: var(--text-secondary); font-size: 0.95rem; }
@media (max-width: 480px) {
  .step { flex-direction: column; gap: var(--space-md); }
}

/* ========== CHECKLIST ========== */
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  padding: var(--space-sm) 0;
  font-size: 0.95rem;
}
.checklist li svg { width: 20px; height: 20px; color: var(--live-green); flex-shrink: 0; margin-top: 2px; }

/* ========== LIGHTBOX ========== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0,0,0,0.9);
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--space-lg);
}
.lightbox.active { display: flex; }
.lightbox img { max-width: 90vw; max-height: 85vh; border-radius: var(--radius-sm); }
.lightbox__close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox__caption {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--white);
  text-align: center;
  font-size: 0.9rem;
}

/* ========== UTILITIES ========== */
.text-center { text-align: center; }
.text-yellow { color: var(--byop-yellow); }
.text-green { color: var(--live-green); }
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ========== ENTRANCE ANIMATIONS ========== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes slideRight {
  from { opacity: 0; transform: translateX(-40px); }
  to { opacity: 1; transform: translateX(0); }
}

/* Hero entrance — staggered */
.hero__badge {
  animation: fadeUp 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.1s both;
}
.hero h1 {
  animation: fadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.25s both;
}
.hero p {
  animation: fadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.4s both;
}
.hero .btn-group {
  animation: fadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.55s both;
}
.trust-bar {
  animation: fadeIn 0.5s ease 0.7s both;
}

/* Scroll reveal — elements start hidden, animate when .revealed */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered children reveal */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-stagger.revealed > * {
  opacity: 1;
  transform: translateY(0);
}
.reveal-stagger.revealed > *:nth-child(1) { transition-delay: 0s; }
.reveal-stagger.revealed > *:nth-child(2) { transition-delay: 0.08s; }
.reveal-stagger.revealed > *:nth-child(3) { transition-delay: 0.16s; }
.reveal-stagger.revealed > *:nth-child(4) { transition-delay: 0.24s; }
.reveal-stagger.revealed > *:nth-child(5) { transition-delay: 0.32s; }
.reveal-stagger.revealed > *:nth-child(6) { transition-delay: 0.4s; }

/* Scale-in variant */
.reveal--scale {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal--scale.revealed {
  opacity: 1;
  transform: scale(1);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .hero__badge, .hero h1, .hero p, .hero .btn-group, .trust-bar { animation: none; }
  .reveal, .reveal--scale, .reveal-stagger > * {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ========== GRAIN / TEXTURE OVERLAY ========== */
.section--dark::after,
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.035;
  z-index: 1;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px 200px;
}
.section--dark { position: relative; overflow: hidden; }

/* ========== STAT NUMBER COUNTER ANIMATION ========== */
.stat__number {
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.stat:hover .stat__number {
  transform: scale(1.08);
  color: var(--white);
}

/* ========== ENHANCED CARD HOVER ========== */
.card {
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.card:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

/* ========== TESTIMONIAL ENTRANCE ========== */
.testimonial {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.testimonial:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
