/* ============================================
   BetPro Exchange Theme Styles
   Converted from React/Tailwind to vanilla CSS
   ============================================ */

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

html {
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}
body {
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
}
#page, .site, .site-main, main, section, div, header, footer, nav, article, aside {
  max-width: 100vw;
}
img, video, iframe, embed, object {
  max-width: 100%;
  height: auto;
}

:root {
  --brand-50: #E6F9EC;
  --brand-100: #CCEFDA;
  --brand-200: #A4E0C0;
  --brand-300: #6FCB9A;
  --brand-400: #3FB577;
  --brand-500: #00C853;
  --brand-600: #00A847;
  --brand-700: #007A33;
  --brand-800: #005C26;
  --brand-900: #003D17;
  --ink-900: #0F0F0F;
  --ink-800: #1B1B1B;
  --ink-700: #2A2A2A;
  --ink-600: #3D3D3D;
  --bg-50: #FBFBFD;
  --bg-100: #F7F8FA;
  --bg-200: #EFF1F5;
  --shadow-soft: 0 2px 8px -2px rgba(15,15,15,0.06), 0 8px 24px -4px rgba(15,15,15,0.08);
  --shadow-card: 0 1px 3px rgba(15,15,15,0.04), 0 8px 30px -6px rgba(15,15,15,0.10);
  --shadow-glow: 0 0 0 1px rgba(0,200,83,0.18), 0 8px 40px -8px rgba(0,200,83,0.35);
  --cta-gradient: linear-gradient(135deg, #00C853 0%, #007A33 100%);
  --hero-radial: radial-gradient(ellipse 80% 50% at 50% -10%, rgba(0,200,83,0.18), transparent 70%);
}

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--bg-100);
  color: var(--ink-900);
  line-height: 1.6;
  font-size: 16px;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', system-ui, sans-serif;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
::selection { background: rgba(0, 200, 83, 0.2); }
ul, ol { list-style: none; }

/* --- Scrollbar --- */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-200); }
::-webkit-scrollbar-thumb { background: #c5c9d3; border-radius: 999px; border: 2px solid var(--bg-200); }
::-webkit-scrollbar-thumb:hover { background: var(--brand-600); }

/* --- Layout --- */
.container-page {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
  width: 100%;
}
@media (min-width: 640px) { .container-page { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .container-page { padding: 0 2rem; } }

/* --- Components --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 9999px;
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-family: 'Poppins', system-ui, sans-serif;
  font-weight: 600;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
  outline: none;
  text-decoration: none;
  line-height: 1.4;
}
.btn:focus-visible { outline: 2px solid var(--brand-500); outline-offset: 2px; }

.btn-primary {
  composes: btn;
  background: var(--cta-gradient);
  color: #fff;
  box-shadow: var(--shadow-glow);
}
.btn-primary:hover { box-shadow: 0 8px 25px rgba(0,200,83,0.4); transform: translateY(-2px); }
.btn-primary:active { transform: translateY(0); }

.btn-secondary {
  composes: btn;
  background: #fff;
  color: var(--ink-900);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.05), var(--shadow-soft);
}
.btn-secondary:hover { box-shadow: inset 0 0 0 1px var(--brand-300), var(--shadow-soft); transform: translateY(-2px); }

.btn-ghost { composes: btn; color: var(--ink-800); background: transparent; }
.btn-ghost:hover { background: rgba(0,0,0,0.05); }

.btn-outline { composes: btn; border: 2px solid var(--brand-500); color: var(--brand-700); background: transparent; }
.btn-outline:hover { background: var(--brand-50); }

.card {
  border-radius: 1.5rem;
  background: #fff;
  box-shadow: var(--shadow-card);
  outline: 1px solid rgba(0,0,0,0.03);
}
.card-soft {
  border-radius: 1rem;
  background: #fff;
  box-shadow: var(--shadow-soft);
  outline: 1px solid rgba(0,0,0,0.03);
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  border-radius: 9999px;
  background: var(--brand-50);
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--brand-700);
  outline: 1px solid var(--brand-200);
}
.section-eyebrow {
  font-size: 0.875rem;
  font-family: 'Poppins', system-ui, sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brand-600);
}
.glass {
  background: rgba(255,255,255,0.7);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  outline: 1px solid rgba(0,0,0,0.04);
}

/* --- Header --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: all 0.3s ease;
  height: 64px;
}
.site-header.scrolled {
  background: rgba(255,255,255,0.7);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  box-shadow: var(--shadow-soft);
  outline: 1px solid rgba(0,0,0,0.04);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 64px;
}
@media (min-width: 1024px) { .site-header { height: 72px; } .header-inner { height: 72px; } }
.header-spacer { height: 64px; }
@media (min-width: 1024px) { .header-spacer { height: 72px; } }

/* Logo */
.logo { display: flex; align-items: center; gap: 0.625rem; flex-shrink: 0; }
.logo-icon {
  display: flex; height: 36px; width: 36px; align-items: center; justify-content: center;
  border-radius: 0.75rem; background: var(--cta-gradient); color: #fff;
  font-family: 'Poppins', system-ui, sans-serif; font-weight: 700; font-size: 1.125rem;
  box-shadow: var(--shadow-glow);
}
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-text-name { font-family: 'Poppins', system-ui, sans-serif; font-weight: 700; color: var(--ink-900); font-size: 1.125rem; }
.logo-text-sub { font-size: 10px; color: var(--ink-600); font-weight: 500; letter-spacing: 0.1em; }

/* Desktop Nav */
.desktop-nav { display: none; align-items: center; gap: 0.25rem; }
@media (min-width: 1024px) { .desktop-nav { display: flex; } }
.nav-link {
  display: flex; align-items: center; gap: 0.25rem; border-radius: 9999px;
  padding: 0.5rem 0.875rem; font-size: 0.875rem; font-weight: 500;
  color: var(--ink-800); transition: all 0.2s; cursor: pointer; background: none; border: none;
}
.nav-link:hover { color: var(--brand-600); background: rgba(0,0,0,0.05); }
.nav-link.active { color: var(--brand-700); background: var(--brand-50); }
.nav-link svg { width: 14px; height: 14px; }

/* Mega Menu */
.mega-menu-wrap { position: relative; }
.mega-menu {
  position: absolute; left: 50%; top: 100%; transform: translateX(-50%);
  padding-top: 0.75rem; width: 520px; z-index: 50; display: none;
}
.mega-menu-wrap:hover .mega-menu { display: block; }
.mega-menu-inner {
  border-radius: 1.5rem; background: #fff; box-shadow: var(--shadow-card);
  outline: 1px solid rgba(0,0,0,0.03); padding: 1.25rem;
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.375rem;
  animation: fadeIn 0.3s ease;
}
.mega-menu-item {
  display: flex; align-items: flex-start; gap: 0.75rem;
  border-radius: 1rem; padding: 0.75rem; transition: background 0.2s;
}
.mega-menu-item:hover { background: var(--brand-50); }
.mega-menu-icon {
  display: flex; height: 36px; width: 36px; flex-shrink: 0;
  align-items: center; justify-content: center; border-radius: 0.75rem;
  background: var(--brand-50); color: var(--brand-600);
  outline: 1px solid var(--brand-100); transition: all 0.2s;
}
.mega-menu-item:hover .mega-menu-icon { background: var(--brand-500); color: #fff; }
.mega-menu-icon svg { width: 16px; height: 16px; }
.mega-menu-label { font-family: 'Poppins', system-ui, sans-serif; font-weight: 600; font-size: 0.875rem; color: var(--ink-900); }
.mega-menu-desc { font-size: 0.75rem; color: var(--ink-600); margin-top: 0.125rem; line-height: 1.4; }

/* Header Actions */
.header-actions { display: flex; align-items: center; gap: 0.5rem; }
.header-icon-btn {
  display: flex; height: 40px; width: 40px; align-items: center; justify-content: center;
  border-radius: 9999px; color: var(--ink-800); background: none; border: none;
  cursor: pointer; transition: background 0.2s;
}
.header-icon-btn:hover { background: rgba(0,0,0,0.05); }
.header-icon-btn svg { width: 20px; height: 20px; }
.header-cta {
  display: none; padding: 0.625rem 1.25rem; font-size: 0.875rem;
}
@media (min-width: 640px) { .header-cta { display: inline-flex; } }
.mobile-toggle { display: flex; }
@media (min-width: 1024px) { .mobile-toggle { display: none; } }

/* Mobile Nav */
.mobile-nav {
  display: none; position: absolute; top: 100%; left: 0; right: 0;
  background: rgba(255,255,255,0.9); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px);
  box-shadow: var(--shadow-soft); border-top: 1px solid rgba(0,0,0,0.05);
  max-height: 80vh; overflow-y: auto; animation: fadeIn 0.3s ease;
}
.mobile-nav.open { display: block; }
@media (min-width: 1024px) { .mobile-nav { display: none !important; } }
.mobile-nav-inner { padding: 1rem; }
.mobile-nav-link {
  display: block; border-radius: 0.75rem; padding: 0.75rem 1rem;
  font-size: 0.875rem; font-weight: 600; color: var(--ink-900); transition: background 0.2s;
}
.mobile-nav-link:hover { background: var(--brand-50); }
.mobile-nav-children { margin-left: 1rem; border-left: 2px solid var(--brand-100); padding-left: 0.5rem; }
.mobile-nav-child {
  display: block; border-radius: 0.5rem; padding: 0.625rem 1rem;
  font-size: 0.875rem; color: var(--ink-600); transition: all 0.2s;
}
.mobile-nav-child:hover { background: var(--brand-50); color: var(--brand-700); }

/* --- Sections --- */
.section { padding: 4rem 0; }
@media (min-width: 640px) { .section { padding: 5rem 0; } }
@media (min-width: 1024px) { .section { padding: 6rem 0; } }
.section-white { background: #fff; }

.section-header { text-align: center; max-width: 48rem; margin: 0 auto; }
.section-header-left { text-align: left; }
.section-header h2 {
  font-size: 1.875rem; font-weight: 700; color: var(--ink-900); margin-top: 0.75rem;
}
@media (min-width: 640px) { .section-header h2 { font-size: 2.25rem; } }
@media (min-width: 1024px) { .section-header h2 { font-size: 2.75rem; line-height: 1.1; } }
.section-header p { margin-top: 1rem; color: var(--ink-600); font-size: 1rem; line-height: 1.7; }
@media (min-width: 640px) { .section-header p { font-size: 1.125rem; } }

/* --- Hero --- */
.hero { position: relative; overflow: hidden; background: var(--bg-100); }
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: var(--hero-radial);
}
.hero-inner { position: relative; padding: 4rem 0; }
@media (min-width: 640px) { .hero-inner { padding: 5rem 0; } }
@media (min-width: 1024px) { .hero-inner { padding: 7rem 0; } }
.hero-grid { display: grid; align-items: center; gap: 2.5rem; }
@media (min-width: 1024px) { .hero-grid { grid-template-columns: 1fr 1fr; } }
.hero h1 { margin-top: 1.25rem; font-size: 2.25rem; font-weight: 700; color: var(--ink-900); }
@media (min-width: 640px) { .hero h1 { font-size: 3rem; } }
@media (min-width: 1024px) { .hero h1 { font-size: 3.75rem; line-height: 1.1; } }
.hero h1 span { color: var(--brand-600); }
.hero-subtitle { margin-top: 1.25rem; max-width: 36rem; font-size: 1rem; color: var(--ink-600); line-height: 1.7; }
@media (min-width: 640px) { .hero-subtitle { font-size: 1.125rem; } }
.hero-buttons { margin-top: 2rem; display: flex; flex-direction: column; gap: 0.75rem; }
@media (min-width: 640px) { .hero-buttons { flex-direction: row; } }
.hero-badges { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; }
.hero-badge { display: flex; align-items: center; gap: 0.375rem; font-size: 0.875rem; color: var(--ink-700); }
.hero-badge svg { width: 16px; height: 16px; color: var(--brand-500); }
.hero-image-card { border-radius: 1.5rem; background: #fff; box-shadow: var(--shadow-card); outline: 1px solid rgba(0,0,0,0.03); padding: 0.5rem; overflow: hidden; }
.hero-image-card img { border-radius: 1rem; width: 100%; }
.hero-float-card {
  display: none; position: absolute; border-radius: 1rem; background: #fff;
  box-shadow: var(--shadow-soft); outline: 1px solid rgba(0,0,0,0.03); padding: 1rem;
}
@media (min-width: 640px) { .hero-float-card { display: flex; } }
.hero-float-card.bottom-left { bottom: -1.25rem; left: -1.25rem; }
.hero-float-card.top-right { top: -1.25rem; right: -1.25rem; }
.hero-float-inner { display: flex; align-items: center; gap: 0.75rem; }
.hero-float-icon {
  display: flex; height: 40px; width: 40px; align-items: center; justify-content: center;
  border-radius: 0.75rem; background: var(--brand-50); color: var(--brand-600);
}
.hero-float-icon svg { width: 20px; height: 20px; }
.hero-float-label { font-size: 0.75rem; color: var(--ink-600); }
.hero-float-value { font-family: 'Poppins', system-ui, sans-serif; font-weight: 700; color: var(--ink-900); }

/* --- Page Hero (inner pages) --- */
.page-hero { position: relative; overflow: hidden; background: var(--bg-100); }
.page-hero::before { content: ''; position: absolute; inset: 0; background: var(--hero-radial); }
.page-hero-inner { position: relative; padding: 3rem 0; }
@media (min-width: 640px) { .page-hero-inner { padding: 4rem 0; } }
@media (min-width: 1024px) { .page-hero-inner { padding: 5rem 0; } }
.page-hero h1 { margin-top: 1.25rem; font-size: 2.25rem; font-weight: 700; color: var(--ink-900); }
@media (min-width: 640px) { .page-hero h1 { font-size: 3rem; } }
@media (min-width: 1024px) { .page-hero h1 { font-size: 3.25rem; line-height: 1.1; } }
.page-hero p { margin-top: 1rem; max-width: 42rem; color: var(--ink-600); font-size: 1rem; line-height: 1.7; }
@media (min-width: 640px) { .page-hero p { font-size: 1.125rem; } }

/* --- Trust Badges Bar --- */
.trust-bar { border-top: 1px solid rgba(0,0,0,0.05); border-bottom: 1px solid rgba(0,0,0,0.05); background: #fff; padding: 1.5rem 0; }
.trust-bar-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.75rem 2rem; }
.trust-badge { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; font-weight: 500; color: var(--ink-700); }
.trust-badge svg { width: 16px; height: 16px; color: var(--brand-500); }

/* --- Stats --- */
.stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (min-width: 640px) { .stats-grid { gap: 1.5rem; } }
@media (min-width: 1024px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }
.stat-card { padding: 1.25rem; text-align: center; }
@media (min-width: 640px) { .stat-card { padding: 1.75rem; } }
.stat-value { font-size: 1.875rem; font-family: 'Poppins', system-ui, sans-serif; font-weight: 700; color: var(--brand-600); }
@media (min-width: 640px) { .stat-value { font-size: 2.25rem; } }
@media (min-width: 1024px) { .stat-value { font-size: 3rem; } }
.stat-label { margin-top: 0.375rem; font-size: 0.875rem; color: var(--ink-600); font-weight: 500; }

/* --- Feature Cards Grid --- */
.cards-grid { display: grid; gap: 1.5rem; margin-top: 3rem; }
.cards-grid-2 { grid-template-columns: 1fr; }
.cards-grid-3 { grid-template-columns: 1fr; }
.cards-grid-4 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .cards-grid-2, .cards-grid-3, .cards-grid-4 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .cards-grid-3 { grid-template-columns: repeat(3, 1fr); } .cards-grid-4 { grid-template-columns: repeat(4, 1fr); } }

.feature-card {
  padding: 1.5rem; height: 100%; display: flex; flex-direction: column;
  transition: all 0.2s ease;
}
.feature-card:hover { box-shadow: var(--shadow-card); transform: translateY(-4px); outline-color: var(--brand-200); }
.feature-card-icon {
  display: flex; height: 48px; width: 48px; align-items: center; justify-content: center;
  border-radius: 1rem; background: var(--brand-50); color: var(--brand-600);
  outline: 1px solid var(--brand-100); transition: all 0.2s;
}
.feature-card:hover .feature-card-icon { background: var(--brand-500); color: #fff; }
.feature-card-icon svg { width: 24px; height: 24px; }
.feature-card h3 { margin-top: 1rem; font-family: 'Poppins', system-ui, sans-serif; font-weight: 600; color: var(--ink-900); font-size: 1.125rem; }
.feature-card p { margin-top: 0.5rem; flex: 1; font-size: 0.875rem; color: var(--ink-600); line-height: 1.7; }
.feature-card-link { margin-top: 1rem; display: flex; align-items: center; gap: 0.375rem; font-size: 0.875rem; font-weight: 600; color: var(--brand-600); }
.feature-card-link svg { width: 16px; height: 16px; transition: transform 0.2s; }
.feature-card:hover .feature-card-link svg { transform: translateX(4px); }

/* --- CTA Banner --- */
.cta-banner {
  position: relative; overflow: hidden; border-radius: 2rem;
  background: var(--cta-gradient);
  padding: 3rem 1.5rem;
}
@media (min-width: 640px) { .cta-banner { padding: 4rem 3rem; } }
@media (min-width: 1024px) { .cta-banner { padding: 4rem; } }
.cta-banner::before { content: ''; position: absolute; inset: 0; background: var(--hero-radial); opacity: 0.3; }
.cta-banner-inner { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; }
.cta-banner h2 { font-size: 1.875rem; font-weight: 700; color: #fff; }
@media (min-width: 640px) { .cta-banner h2 { font-size: 2.25rem; } }
@media (min-width: 1024px) { .cta-banner h2 { font-size: 3rem; } }
.cta-banner p { margin-top: 1rem; max-width: 42rem; color: rgba(255,255,255,0.9); font-size: 1rem; line-height: 1.7; }
@media (min-width: 640px) { .cta-banner p { font-size: 1.125rem; } }
.cta-banner-buttons { margin-top: 2rem; display: flex; flex-direction: column; gap: 0.75rem; }
@media (min-width: 640px) { .cta-banner-buttons { flex-direction: row; } }
.btn-cta-white {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  border-radius: 9999px; padding: 0.75rem 1.5rem; font-size: 0.875rem;
  font-family: 'Poppins', system-ui, sans-serif; font-weight: 600;
  background: #fff; color: var(--brand-700); box-shadow: 0 4px 14px rgba(0,0,0,0.15);
  transition: all 0.2s; border: none; cursor: pointer;
}
.btn-cta-white:hover { box-shadow: 0 8px 25px rgba(0,0,0,0.2); transform: translateY(-2px); }
.btn-cta-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  border-radius: 9999px; padding: 0.75rem 1.5rem; font-size: 0.875rem;
  font-family: 'Poppins', system-ui, sans-serif; font-weight: 600;
  background: rgba(255,255,255,0.1); color: #fff;
  outline: 1px solid rgba(255,255,255,0.3); transition: all 0.2s; border: none; cursor: pointer;
}
.btn-cta-ghost:hover { background: rgba(255,255,255,0.2); outline-color: rgba(255,255,255,0.5); }

/* --- Testimonials --- */
.testimonial-card { padding: 1.5rem; display: flex; flex-direction: column; }
.testimonial-stars { display: flex; gap: 2px; }
.testimonial-stars svg { width: 16px; height: 16px; fill: var(--brand-500); color: var(--brand-500); }
.testimonial-text { margin-top: 1rem; flex: 1; color: var(--ink-700); line-height: 1.7; font-size: 0.875rem; }
.testimonial-footer { margin-top: 1.25rem; display: flex; align-items: center; gap: 0.75rem; border-top: 1px solid rgba(0,0,0,0.05); padding-top: 1rem; }
.testimonial-avatar {
  display: flex; height: 40px; width: 40px; align-items: center; justify-content: center;
  border-radius: 50%; background: var(--brand-100); color: var(--brand-700);
  font-family: 'Poppins', system-ui, sans-serif; font-weight: 700;
}
.testimonial-name { font-family: 'Poppins', system-ui, sans-serif; font-weight: 600; color: var(--ink-900); font-size: 0.875rem; }
.testimonial-role { font-size: 0.75rem; color: var(--ink-600); }

/* --- FAQ Accordion --- */
.faq-list { max-width: 48rem; margin: 0 auto; display: flex; flex-direction: column; gap: 0.75rem; }
.faq-item { overflow: hidden; transition: all 0.2s; }
.faq-item.active { outline-color: var(--brand-200); }
.faq-trigger {
  display: flex; width: 100%; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 1rem 1.25rem; text-align: left; background: none; border: none;
  cursor: pointer; font-family: 'Poppins', system-ui, sans-serif; font-weight: 600;
  color: var(--ink-900); font-size: 1rem;
}
@media (min-width: 640px) { .faq-trigger { padding: 1.25rem 1.5rem; font-size: 1.125rem; } }
.faq-trigger svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--brand-600); transition: transform 0.2s; }
.faq-item.active .faq-trigger svg { transform: rotate(180deg); }
.faq-answer {
  display: none; padding: 0 1.25rem 1.25rem; color: var(--ink-600); line-height: 1.7;
}
@media (min-width: 640px) { .faq-answer { padding: 0 1.5rem 1.5rem; } }
.faq-item.active .faq-answer { display: block; }

/* --- How It Works Steps --- */
.steps-grid { display: grid; gap: 2rem; margin-top: 3rem; }
@media (min-width: 640px) { .steps-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .steps-grid { grid-template-columns: repeat(4, 1fr); } }
.step-num { font-size: 3rem; font-family: 'Poppins', system-ui, sans-serif; font-weight: 700; color: var(--brand-100); }
.step-title { margin-top: 0.75rem; font-family: 'Poppins', system-ui, sans-serif; font-weight: 600; color: var(--ink-900); font-size: 1.125rem; }
.step-desc { margin-top: 0.5rem; font-size: 0.875rem; color: var(--ink-600); line-height: 1.7; }

/* --- Benefits --- */
.benefits-grid { max-width: 56rem; margin: 3rem auto 0; display: grid; gap: 1rem; }
@media (min-width: 640px) { .benefits-grid { grid-template-columns: 1fr 1fr; } }
.benefit-card { display: flex; gap: 1rem; border-radius: 1rem; background: var(--bg-100); padding: 1.25rem; }
.benefit-icon {
  display: flex; height: 40px; width: 40px; flex-shrink: 0; align-items: center;
  justify-content: center; border-radius: 0.75rem; background: var(--brand-500); color: #fff;
}
.benefit-icon svg { width: 20px; height: 20px; }
.benefit-title { font-family: 'Poppins', system-ui, sans-serif; font-weight: 600; color: var(--ink-900); }
.benefit-desc { margin-top: 0.25rem; font-size: 0.875rem; color: var(--ink-600); line-height: 1.7; }

/* --- Blog Cards --- */
.blog-card {
  overflow: hidden; display: flex; flex-direction: column; height: 100%;
  transition: all 0.2s;
}
.blog-card:hover { box-shadow: var(--shadow-card); transform: translateY(-4px); outline-color: var(--brand-200); }
.blog-card-image { position: relative; aspect-ratio: 16/9; overflow: hidden; background: var(--bg-200); }
.blog-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.blog-card:hover .blog-card-image img { transform: scale(1.05); }
.blog-card-category {
  position: absolute; left: 0.75rem; top: 0.75rem; display: inline-flex; align-items: center;
  border-radius: 9999px; background: rgba(255,255,255,0.9); padding: 0.25rem 0.75rem;
  font-size: 0.75rem; font-weight: 600; color: var(--brand-700); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.blog-card-body { display: flex; flex: 1; flex-direction: column; padding: 1.25rem; }
.blog-card-meta { display: flex; align-items: center; gap: 0.75rem; font-size: 0.75rem; color: var(--ink-600); }
.blog-card-meta span { display: flex; align-items: center; gap: 0.25rem; }
.blog-card-meta svg { width: 14px; height: 14px; }
.blog-card h3 {
  margin-top: 0.75rem; font-family: 'Poppins', system-ui, sans-serif; font-weight: 600;
  color: var(--ink-900); font-size: 1.125rem; line-height: 1.4; transition: color 0.2s;
}
.blog-card:hover h3 { color: var(--brand-700); }
.blog-card p.excerpt { margin-top: 0.5rem; flex: 1; font-size: 0.875rem; color: var(--ink-600); line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.blog-card-footer { margin-top: 1rem; display: flex; align-items: center; justify-content: space-between; }
.blog-card-author { font-size: 0.75rem; font-weight: 500; color: var(--ink-600); }
.blog-card-read-more { display: flex; align-items: center; gap: 0.25rem; font-size: 0.875rem; font-weight: 600; color: var(--brand-600); }
.blog-card-read-more svg { width: 16px; height: 16px; transition: transform 0.2s; }
.blog-card:hover .blog-card-read-more svg { transform: translateX(4px); }

/* --- Breadcrumb --- */
.breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: 0.375rem; font-size: 0.875rem; color: var(--ink-600); }
.breadcrumb a { display: flex; align-items: center; gap: 0.25rem; transition: color 0.2s; }
.breadcrumb a:hover { color: var(--brand-600); }
.breadcrumb svg { width: 14px; height: 14px; }
.breadcrumb-sep { color: rgba(61,61,61,0.4); }
.breadcrumb-current { color: var(--ink-900); font-weight: 500; }

/* --- Contact Form --- */
.contact-grid { display: grid; gap: 2.5rem; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.contact-info-card {
  padding: 1.25rem; display: flex; align-items: center; gap: 1rem;
  transition: all 0.2s;
}
.contact-info-card:hover { outline-color: var(--brand-200); }
.contact-icon {
  display: flex; height: 48px; width: 48px; align-items: center; justify-content: center;
  border-radius: 1rem; background: var(--brand-50); color: var(--brand-600); transition: all 0.2s;
}
.contact-info-card:hover .contact-icon { background: var(--brand-500); color: #fff; }
.contact-icon svg { width: 24px; height: 24px; }
.contact-form-card { padding: 1.5rem; }
@media (min-width: 640px) { .contact-form-card { padding: 2rem; } }
.form-group { margin-bottom: 1rem; }
.form-label { display: block; font-size: 0.875rem; font-weight: 500; color: var(--ink-800); margin-bottom: 0.375rem; }
.form-input, .form-textarea {
  width: 100%; border-radius: 0.75rem; border: 2px solid rgba(0,0,0,0.05);
  background: var(--bg-100); padding: 0.75rem 1rem; font-size: 0.875rem;
  outline: none; transition: border-color 0.2s; font-family: inherit;
}
.form-input:focus, .form-textarea:focus { border-color: var(--brand-300); }
.form-textarea { resize: none; min-height: 100px; }

/* --- Footer --- */
.site-footer { background: var(--ink-900); color: #fff; }
.footer-inner { padding: 3.5rem 0 0; }
@media (min-width: 1024px) { .footer-inner { padding: 4rem 0 0; } }
.footer-grid { display: grid; gap: 2.5rem; }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 4fr 8fr; } }
.footer-brand p { margin-top: 1rem; font-size: 0.875rem; color: rgba(255,255,255,0.6); line-height: 1.7; max-width: 24rem; }
.footer-social { margin-top: 1.25rem; display: flex; gap: 0.75rem; }
.footer-social a {
  display: flex; height: 36px; width: 36px; align-items: center; justify-content: center;
  border-radius: 50%; background: rgba(255,255,255,0.1); transition: background 0.2s;
}
.footer-social a:hover { background: var(--brand-500); }
.footer-social svg { width: 16px; height: 16px; }
.footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
@media (min-width: 640px) { .footer-links { grid-template-columns: repeat(3, 1fr); } }
.footer-links h4 {
  font-family: 'Poppins', system-ui, sans-serif; font-weight: 600; font-size: 0.875rem;
  color: rgba(255,255,255,0.9); text-transform: uppercase; letter-spacing: 0.1em;
}
.footer-links ul { margin-top: 1rem; display: flex; flex-direction: column; gap: 0.625rem; }
.footer-links a { font-size: 0.875rem; color: rgba(255,255,255,0.6); transition: color 0.2s; }
.footer-links a:hover { color: var(--brand-400); }

.footer-contact {
  margin-top: 3rem; display: grid; gap: 1rem; border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 2rem;
}
@media (min-width: 640px) { .footer-contact { grid-template-columns: repeat(3, 1fr); } }
.footer-contact a, .footer-contact div {
  display: flex; align-items: center; gap: 0.75rem; font-size: 0.875rem;
  color: rgba(255,255,255,0.7); transition: color 0.2s;
}
.footer-contact a:hover { color: var(--brand-400); }
.footer-contact svg { width: 20px; height: 20px; color: var(--brand-400); }

.footer-bottom {
  margin-top: 2rem; display: flex; flex-direction: column; align-items: center;
  justify-content: space-between; gap: 1rem; border-top: 1px solid rgba(255,255,255,0.1);
  padding: 2rem 0;
}
@media (min-width: 640px) { .footer-bottom { flex-direction: row; } }
.footer-bottom p { font-size: 0.75rem; color: rgba(255,255,255,0.5); }
.footer-bottom .responsible { display: flex; align-items: center; gap: 0.5rem; font-size: 0.75rem; color: rgba(255,255,255,0.5); }
.footer-bottom .responsible svg { width: 16px; height: 16px; color: var(--brand-400); }

/* --- Floating Buttons --- */
.floating-buttons { position: fixed; bottom: 1.25rem; right: 1.25rem; z-index: 40; display: flex; flex-direction: column; gap: 0.75rem; }
.scroll-top-btn {
  display: none; height: 44px; width: 44px; align-items: center; justify-content: center;
  border-radius: 50%; background: #fff; box-shadow: var(--shadow-card); outline: 1px solid rgba(0,0,0,0.05);
  color: var(--ink-800); cursor: pointer; border: none; transition: all 0.2s;
}
.scroll-top-btn.visible { display: flex; }
.scroll-top-btn:hover { background: var(--brand-50); color: var(--brand-600); }
.scroll-top-btn svg { width: 20px; height: 20px; }
.whatsapp-float {
  display: flex; height: 56px; width: 56px; align-items: center; justify-content: center;
  border-radius: 50%; background: var(--cta-gradient); box-shadow: var(--shadow-glow);
  transition: transform 0.2s;
}
.whatsapp-float:hover { transform: scale(1.05); }
.whatsapp-float svg { width: 28px; height: 28px; color: #fff; }

/* --- 404 Page --- */
.not-found { display: flex; min-height: 60vh; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 5rem 1rem; }
.not-found-code { font-size: 6rem; font-family: 'Poppins', system-ui, sans-serif; font-weight: 700; color: var(--brand-200); }
.not-found h1 { margin-top: 1rem; font-size: 1.875rem; font-weight: 700; color: var(--ink-900); }
@media (min-width: 640px) { .not-found h1 { font-size: 2.25rem; } }
.not-found p { margin-top: 0.75rem; max-width: 28rem; color: var(--ink-600); }
.not-found-buttons { margin-top: 2rem; display: flex; flex-direction: column; gap: 0.75rem; }
@media (min-width: 640px) { .not-found-buttons { flex-direction: row; } }

/* --- Blog Single Article --- */
.article-content { max-width: 48rem; }
.article-content h2 { font-size: 1.5rem; font-weight: 700; color: var(--ink-900); margin-top: 2rem; }
@media (min-width: 640px) { .article-content h2 { font-size: 1.75rem; } }
.article-content p { margin-top: 0.75rem; color: var(--ink-600); line-height: 1.7; }
.article-content ul, .article-content ol { margin-top: 0.75rem; padding-left: 1.5rem; }
.article-content li { color: var(--ink-600); line-height: 1.7; margin-top: 0.375rem; }
.article-content ul { list-style: disc; }
.article-content ol { list-style: decimal; }

.article-tags { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.article-sidebar { position: sticky; top: 6rem; align-self: start; }
.toc-card { padding: 1.25rem; }
.toc-card h3 {
  font-family: 'Poppins', system-ui, sans-serif; font-weight: 600; color: var(--ink-900);
  font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.1em;
}
.toc-card ul { margin-top: 0.75rem; display: flex; flex-direction: column; gap: 0.5rem; }
.toc-card a { font-size: 0.875rem; color: var(--ink-600); transition: color 0.2s; line-height: 1.4; }
.toc-card a:hover { color: var(--brand-600); }

/* --- Blog Category Filter --- */
.category-filter { border-top: 1px solid rgba(0,0,0,0.05); border-bottom: 1px solid rgba(0,0,0,0.05); background: #fff; padding: 1.25rem 0; }
.category-filter-inner { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.category-btn {
  border-radius: 9999px; padding: 0.5rem 1rem; font-size: 0.875rem; font-weight: 500;
  background: var(--bg-100); color: var(--ink-700); border: none; cursor: pointer; transition: all 0.2s;
}
.category-btn:hover { background: var(--brand-50); }
.category-btn.active { background: var(--brand-500); color: #fff; }

/* --- Related Links Grid --- */
.related-grid { display: grid; gap: 1rem; margin-top: 2.5rem; }
@media (min-width: 640px) { .related-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .related-grid { grid-template-columns: repeat(4, 1fr); } }
.related-link {
  padding: 1.25rem; display: flex; align-items: center; justify-content: space-between;
  transition: all 0.2s;
}
.related-link:hover { outline-color: var(--brand-200); transform: translateY(-2px); }
.related-link span {
  font-family: 'Poppins', system-ui, sans-serif; font-weight: 600; font-size: 0.875rem;
  color: var(--ink-900); transition: color 0.2s;
}
.related-link:hover span { color: var(--brand-700); }
.related-link svg { width: 16px; height: 16px; color: var(--brand-500); transition: transform 0.2s; }
.related-link:hover svg { transform: translateX(4px); }

/* --- Elementor Compatibility --- */
.elementor-page .site-header + .header-spacer + main { padding-top: 0; }
.elementor-page .entry-content { max-width: none; }
body.elementor-default, body.elementor-template-full-width { --content-width: 100%; }
.elementor-section.elementor-section-full_width > .elementor-container { max-width: 100%; }

/* Elementor overrides for typography */
.elementor-widget-heading h1, .elementor-widget-heading h2, .elementor-widget-heading h3,
.elementor-widget-heading h4, .elementor-widget-heading h5, .elementor-widget-heading h6 {
  font-family: 'Poppins', system-ui, sans-serif;
}

/* --- Animations --- */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
.animate-fade-in { animation: fadeIn 0.4s ease-out both; }
.animate-fade-up { animation: fadeUp 0.5s ease-out both; }

/* --- WP Specific --- */
.wp-block-image img { border-radius: 1rem; }
.wp-block-separator { border-color: rgba(0,0,0,0.05); margin: 2rem 0; }
.wp-block-quote { border-left: 3px solid var(--brand-500); padding-left: 1.5rem; margin: 1.5rem 0; color: var(--ink-700); font-style: italic; }
.alignwide { max-width: 1100px; margin-left: auto; margin-right: auto; }
.alignfull { max-width: 100vw; margin-left: calc(-50vw + 50%); margin-right: calc(-50vw + 50%); }

/* --- WordPress Navigation Menu Classes --- */
.menu { display: flex; align-items: center; gap: 0.25rem; list-style: none; margin: 0; padding: 0; }
.menu li { position: relative; }
.menu > li > a { display: flex; align-items: center; gap: 0.25rem; border-radius: 9999px; padding: 0.5rem 0.875rem; font-size: 0.875rem; font-weight: 500; color: var(--ink-800); transition: all 0.2s; }
.menu > li > a:hover { color: var(--brand-600); background: rgba(0,0,0,0.05); }
.menu > li.current-menu-item > a, .menu > li.current-menu-ancestor > a { color: var(--brand-700); background: var(--brand-50); }

/* Sub-menu (dropdown) */
.menu .sub-menu {
  position: absolute; left: 50%; top: 100%; transform: translateX(-50%);
  padding-top: 0.75rem; min-width: 240px; z-index: 50; display: none;
  list-style: none;
}
.menu li:hover > .sub-menu { display: block; }
.menu .sub-menu::before {
  content: ''; display: block; border-radius: 1rem; background: #fff;
  box-shadow: var(--shadow-card); outline: 1px solid rgba(0,0,0,0.03);
  padding: 0.75rem; position: absolute; inset: 0.75rem 0 0;
}
.menu .sub-menu li { position: relative; }
.menu .sub-menu a {
  display: block; padding: 0.625rem 1rem; font-size: 0.875rem; color: var(--ink-700);
  border-radius: 0.5rem; transition: all 0.2s; position: relative; z-index: 1;
}
.menu .sub-menu a:hover { background: var(--brand-50); color: var(--brand-700); }

/* --- Utility --- */
.text-center { text-align: center; }
.text-left { text-align: left; }
.mt-0 { margin-top: 0; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-5 { margin-top: 1.25rem; }
.mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }
.mt-12 { margin-top: 3rem; }
.mb-3 { margin-bottom: 0.75rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.w-full { width: 100%; }
.flex { display: flex; }
.hidden { display: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border-width: 0; }

/* --- Homepage Responsive Grids --- */
.bp-hero-grid { grid-template-columns: 1fr !important; }
@media (min-width: 1024px) { .bp-hero-grid { grid-template-columns: 1fr 1fr !important; } }
.bp-grid-4 { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 640px) { .bp-grid-4 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .bp-grid-4 { grid-template-columns: repeat(4, 1fr); } }
.bp-grid-3 { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 640px) { .bp-grid-3 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .bp-grid-3 { grid-template-columns: repeat(3, 1fr); } }

/* Full-width page content — no max-width constraint */
.page-template-template-fullwidth .entry-content,
.page-template-template-fullwidth .post-content,
body.page .site-main > article > .entry-content {
    max-width: none;
    padding: 0;
}

/* Fix WordPress adding <p> tags around divs */
.site-main .entry-content > p:empty { display: none; }

/* ============================================
   COMPREHENSIVE MOBILE RESPONSIVENESS
   ============================================ */

/* --- CRITICAL: Prevent ALL horizontal overflow --- */
@media (max-width: 1023px) {
    html, body {
        overflow-x: hidden !important;
        width: 100% !important;
        max-width: 100vw !important;
    }
    /* Force every single element to stay within viewport */
    * {
        max-width: 100vw;
    }
    /* Kill any element with inline grid that might overflow */
    [style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
    }
    /* Exceptions: 2-col grids we want on tablet */
    .bp-grid-4.bp-stats { grid-template-columns: 1fr 1fr !important; }
    .footer-links { grid-template-columns: 1fr 1fr !important; }
    
    /* Force all inline flex containers to wrap */
    [style*="display:flex"] {
        flex-wrap: wrap !important;
    }
    /* Kill inline widths/min-widths that overflow */
    [style*="width:520px"],
    [style*="min-width"] {
        width: 100% !important;
        min-width: 0 !important;
    }
    /* All images must fit */
    img {
        max-width: 100% !important;
        height: auto !important;
    }
    /* Containers must not overflow */
    .container-page {
        padding: 0 1rem !important;
        width: 100% !important;
        overflow: hidden;
    }
}

/* --- Mobile: 0 - 640px --- */
@media (max-width: 639px) {
    /* Typography scaling */
    h1 { font-size: 1.75rem !important; line-height: 1.2 !important; }
    h2 { font-size: 1.375rem !important; }
    h3 { font-size: 1.1rem !important; }

    /* Header - must fit screen exactly */
    .site-header { height: 56px; width: 100%; }
    .header-inner { height: 56px; padding: 0; }
    .header-spacer { height: 56px; }
    .logo-text-name { font-size: 0.95rem; }
    .logo-text-sub { font-size: 8px; }
    .logo-icon { height: 32px; width: 32px; font-size: 0.9rem; }
    .header-cta { display: none !important; }
    .header-app-btn { display: none !important; }
    .header-actions { gap: 0.25rem; }

    /* Mobile nav must fill screen width */
    .mobile-nav {
        width: 100vw !important;
        left: 0 !important;
        right: 0 !important;
        overflow-x: hidden;
    }

    /* Hero */
    .hero-inner { padding: 2rem 0 !important; }
    .page-hero-inner { padding: 2rem 0 !important; }

    /* ALL grids single column */
    .bp-hero-grid { grid-template-columns: 1fr !important; }
    .bp-grid-4 { grid-template-columns: 1fr !important; gap: 1rem !important; }
    .bp-grid-3 { grid-template-columns: 1fr !important; gap: 1rem !important; }
    .bp-grid-4.bp-stats { grid-template-columns: 1fr 1fr !important; gap: 0.75rem !important; }

    /* Buttons: stack and full width */
    [style*="display:flex"][style*="gap:0.75rem"],
    [style*="display:flex"][style*="flex-wrap:wrap"] {
        flex-direction: column !important;
        width: 100% !important;
    }
    /* All button-like links go full width */
    [style*="border-radius:9999px"][style*="padding:0.75rem"],
    .btn, .btn-primary, .btn-secondary, .btn-cta-white, .btn-cta-ghost, .app-btn {
        width: 100% !important;
        text-align: center !important;
        justify-content: center !important;
        box-sizing: border-box !important;
    }

    /* CTA banner */
    .cta-banner { padding: 2rem 1.25rem !important; border-radius: 1.25rem !important; }
    .cta-banner h2 { font-size: 1.5rem !important; }
    [style*="border-radius:2rem"][style*="padding:4rem"],
    [style*="border-radius:2rem"][style*="padding:3rem"] {
        padding: 2rem 1.25rem !important;
        border-radius: 1.25rem !important;
    }

    /* Section padding reduce */
    .section { padding: 2.5rem 0; }
    [style*="padding:5rem 0"] { padding: 2.5rem 0 !important; }
    [style*="padding:4rem 1rem"] { padding: 2rem 1rem !important; }
    [style*="padding:4rem;"] { padding: 2rem 1rem !important; }
    [style*="padding:3rem 1rem"] { padding: 2rem 1rem !important; }
    [style*="padding:3.5rem 1rem"] { padding: 2rem 1rem !important; }

    /* Font size adjustments for inline styles */
    [style*="font-size:3.75rem"] { font-size: 1.75rem !important; }
    [style*="font-size:3rem"] { font-size: 1.5rem !important; }
    [style*="font-size:2.5rem"] { font-size: 1.375rem !important; }
    [style*="font-size:2rem"] { font-size: 1.25rem !important; }
    [style*="font-size:1.875rem"] { font-size: 1.25rem !important; }

    /* Footer */
    .footer-grid { grid-template-columns: 1fr !important; }
    .footer-links { grid-template-columns: 1fr 1fr !important; gap: 1.5rem !important; }
    .footer-contact { grid-template-columns: 1fr !important; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .footer-inner { padding: 2.5rem 0 0 !important; }

    /* Cards */
    .card-soft, .feature-card, .testimonial-card { padding: 1.25rem; }
    .contact-form-card { padding: 1.25rem !important; }

    /* Floating buttons */
    .floating-buttons { bottom: 0.75rem; right: 0.75rem; gap: 0.5rem; }
    .whatsapp-float { height: 48px; width: 48px; }
    .whatsapp-float svg { width: 24px; height: 24px; }
    .app-float { height: 42px; width: 42px; }
    .app-float svg { width: 20px; height: 20px; }
    .scroll-top-btn { height: 36px; width: 36px; }
    .scroll-top-btn svg { width: 18px; height: 18px; }

    /* Mega menu never on mobile */
    .mega-menu { display: none !important; }

    /* Blog */
    .blog-card-image { aspect-ratio: 16/10; }

    /* Trust badges wrap */
    [style*="justify-content:center"][style*="gap:0.75rem 2rem"] {
        justify-content: flex-start !important;
        gap: 0.5rem 1rem !important;
    }

    /* Breadcrumb */
    .breadcrumb { font-size: 0.75rem; }

    /* Fix inline max-width that pushes content */
    [style*="max-width:36rem"],
    [style*="max-width:42rem"],
    [style*="max-width:48rem"] {
        max-width: 100% !important;
    }
}

/* --- Tablet: 640px - 1023px --- */
@media (min-width: 640px) and (max-width: 1023px) {
    h1 { font-size: 2.25rem !important; }

    .bp-hero-grid { grid-template-columns: 1fr !important; }
    .bp-grid-4 { grid-template-columns: 1fr 1fr !important; }
    .bp-grid-3 { grid-template-columns: 1fr 1fr !important; }
    .bp-grid-4.bp-stats { grid-template-columns: 1fr 1fr !important; }

    .footer-links { grid-template-columns: repeat(3, 1fr) !important; }

    [style*="font-size:3.75rem"] { font-size: 2.25rem !important; }
    [style*="font-size:3rem"] { font-size: 1.75rem !important; }
    [style*="font-size:2.5rem"] { font-size: 1.5rem !important; }

    .header-app-btn { display: none !important; }

    [style*="max-width:36rem"],
    [style*="max-width:42rem"] {
        max-width: 100% !important;
    }
}

/* --- Desktop: 1024px+ --- */
@media (min-width: 1024px) {
    .bp-hero-grid { grid-template-columns: 1fr 1fr !important; }
    .bp-grid-4 { grid-template-columns: repeat(4, 1fr) !important; }
    .bp-grid-3 { grid-template-columns: repeat(3, 1fr) !important; }
}

/* --- App Download Button --- */
.app-btn {
    display: inline-flex; align-items: center; gap: 0.5rem;
    border-radius: 9999px; padding: 0.625rem 1.25rem; font-size: 0.875rem;
    font-family: 'Poppins', system-ui, sans-serif; font-weight: 600;
    background: #0F0F0F; color: #fff; text-decoration: none;
    transition: all 0.2s; border: none; cursor: pointer;
}
.app-btn:hover { background: #2A2A2A; transform: translateY(-1px); }
.app-btn svg { width: 18px; height: 18px; }
.app-float {
    display: flex; height: 48px; width: 48px; align-items: center; justify-content: center;
    border-radius: 50%; background: #0F0F0F; box-shadow: var(--shadow-card);
    transition: transform 0.2s;
}
.app-float:hover { transform: scale(1.05); }
.app-float svg { width: 24px; height: 24px; color: #fff; }
@media (min-width: 640px) {
    .app-float { height: 56px; width: 56px; }
    .app-float svg { width: 28px; height: 28px; }
}
