/* B2W MARKET PLACE Design System - Static HTML Version */
:root {
  --primary: hsl(215, 75%, 14%);
  --primary-foreground: hsl(0, 0%, 100%);
  --primary-dark: hsl(222, 47%, 11%);
  --accent: hsl(142, 72%, 28%);
  --accent-foreground: hsl(0, 0%, 100%);
  --accent-light: hsl(142, 72%, 34%);
  --accent-glow: hsl(142, 72%, 28%);
  --background: hsl(210, 40%, 98%);
  --foreground: hsl(222, 47%, 11%);
  --card: hsl(0, 0%, 100%);
  --card-foreground: hsl(222, 47%, 11%);
  --card-hover: hsl(210, 40%, 96%);
  --secondary: hsl(220, 14%, 96%);
  --secondary-foreground: hsl(222, 47%, 11%);
  --muted: hsl(220, 14%, 96%);
  --muted-foreground: hsl(215, 30%, 20%);
  --border: hsl(220, 13%, 80%);
  --ring: hsl(142, 71%, 36%);
  --radius: 0.75rem;
  --gradient-primary: linear-gradient(135deg, hsl(215, 75%, 14%) 0%, hsl(222, 47%, 11%) 100%);
  --gradient-hero: linear-gradient(180deg, hsl(215, 75%, 14%) 0%, hsl(222, 47%, 18%) 100%);
  --shadow-lg: 0 10px 15px -3px rgba(30,41,59,0.1), 0 4px 6px -4px rgba(30,41,59,0.1);
  --shadow-glow: 0 0 30px hsla(142, 72%, 28%, 0.3);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; border-color: var(--border); }

body {
  background: var(--background);
  color: var(--foreground);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

h1, h2, h3, h4, h5, h6 { font-weight: 700; letter-spacing: -0.025em; }

section[id], div[id] { scroll-margin-top: 100px; }

a { text-decoration: none; }

a:focus-visible, button:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 2px;
}

/* Skip link */
.skip-to-content {
  position: absolute;
  left: -9999px;
  top: 4px;
  z-index: 100;
  background: var(--accent);
  color: var(--accent-foreground);
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
}
.skip-to-content:focus { left: 1rem; }

/* Utility classes */
.gradient-bg-primary { background: var(--gradient-primary); }
.gradient-bg-hero { background: var(--gradient-hero); }
.gradient-bg-accent { background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%); }

.text-highlight {
  position: relative;
  display: inline-block;
  background: linear-gradient(180deg, transparent 60%, hsla(142, 72%, 28%, 0.2) 60%);
}

.card-hover { transition: box-shadow 0.2s; }
.card-hover:hover { box-shadow: var(--shadow-lg); }

.section-padding { padding: 4rem 1rem; }
@media (min-width: 768px) { .section-padding { padding: 6rem 1rem; } }
@media (min-width: 1024px) { .section-padding { padding: 8rem 1rem; } }

.container-custom {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1rem;
}
@media (min-width: 640px) { .container-custom { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .container-custom { padding: 0 2rem; } }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, opacity 0.2s;
  border: 2px solid transparent;
  text-decoration: none;
  font-size: 0.875rem;
  padding: 0.5rem 1rem;
}
.btn-sm { padding: 0.375rem 0.75rem; font-size: 0.875rem; }
.btn-lg { padding: 0.75rem 1.5rem; font-size: 1rem; }
.btn-xl { padding: 1rem 2rem; font-size: 1.125rem; }

.btn-hero {
  background: var(--accent);
  color: var(--accent-foreground);
  box-shadow: var(--shadow-glow);
}
.btn-hero:hover { background: var(--accent-light); box-shadow: 0 0 40px hsla(142, 72%, 28%, 0.45); }

.btn-hero-outline {
  background: transparent;
  color: var(--primary-foreground);
  border-color: rgba(255,255,255,0.3);
}
.btn-hero-outline:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.5); }

.btn-accent {
  background: var(--accent);
  color: var(--accent-foreground);
}
.btn-accent:hover { background: var(--accent-light); }

.btn-accent-outline {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}
.btn-accent-outline:hover { background: hsla(142, 72%, 28%, 0.1); }

.btn-outline {
  background: transparent;
  color: var(--foreground);
  border-color: var(--border);
}
.btn-outline:hover { background: var(--secondary); }

.btn-whatsapp-float {
  background: #25D366;
  color: white;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  font-size: 1.5rem;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
}
.btn-whatsapp-float:hover { background: #20BA5A; transform: scale(1.05); }

/* Header */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  transition: background 0.3s, box-shadow 0.3s;
  background: transparent;
}
#site-header.scrolled {
  background: var(--gradient-primary);
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  backdrop-filter: blur(12px);
}
/* Always show gradient when page first loads with dark hero */
#site-header { background: var(--gradient-primary); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}
.logo-icon {
  width: 2.5rem; height: 2.5rem;
  border-radius: 0.5rem;
  background: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1.25rem;
  color: var(--accent-foreground);
  transition: transform 0.2s;
}
.logo:hover .logo-icon { transform: scale(1.1); }
.logo-text {
  display: none;
  font-weight: 700; font-size: 1.25rem;
  color: var(--primary-foreground);
}
@media (min-width: 640px) { .logo-text { display: block; } }

.nav-desktop {
  display: none;
  align-items: center;
  gap: 0.25rem;
}
@media (min-width: 1024px) { .nav-desktop { display: flex; } }

.nav-link {
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  transition: color 0.2s, background 0.2s;
  text-decoration: none;
}
.nav-link:hover { color: white; background: rgba(255,255,255,0.1); }
.nav-link.active { background: rgba(255,255,255,0.15); color: white; }

.nav-cta { display: none; }
@media (min-width: 768px) { .nav-cta { display: flex; align-items: center; gap: 1rem; } }

.mobile-menu-btn {
  display: flex;
  padding: 0.5rem;
  color: var(--primary-foreground);
  background: none;
  border: none;
  cursor: pointer;
  border-radius: 0.5rem;
  transition: background 0.2s;
}
.mobile-menu-btn:hover { background: rgba(255,255,255,0.1); }
@media (min-width: 1024px) { .mobile-menu-btn { display: none; } }

.mobile-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s;
}
.mobile-menu.open { max-height: 500px; padding-bottom: 1.5rem; }

.mobile-menu-inner {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.mobile-nav-link {
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  text-decoration: none;
  transition: color 0.2s, background 0.2s;
}
.mobile-nav-link:hover, .mobile-nav-link.active { color: white; background: rgba(255,255,255,0.15); }

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.7);
  flex-wrap: wrap;
}
.breadcrumb a { color: rgba(255,255,255,0.7); text-decoration: none; transition: color 0.2s; }
.breadcrumb a:hover { color: rgba(255,255,255,0.9); }
.breadcrumb .sep { color: rgba(255,255,255,0.4); }
.breadcrumb .current { color: rgba(255,255,255,0.9); }

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 5rem;
}
.hero-section .container-custom { position: relative; z-index: 10; }

.hero-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr 1fr; }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: hsla(142, 72%, 28%, 0.2);
  color: var(--accent-light);
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}
.hero-badge svg { width: 1rem; height: 1rem; }

.hero-h1 {
  font-size: 2.25rem;
  line-height: 1.1;
  font-weight: 700;
  color: var(--primary-foreground);
  margin-bottom: 1.5rem;
}
@media (min-width: 768px) { .hero-h1 { font-size: 3rem; } }
@media (min-width: 1024px) { .hero-h1 { font-size: 3.75rem; } }

.hero-desc {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.9);
  margin-bottom: 2rem;
  max-width: 36rem;
}
@media (min-width: 768px) { .hero-desc { font-size: 1.25rem; } }

.hero-btns {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2.5rem;
}
@media (min-width: 640px) { .hero-btns { flex-direction: row; } }

.hero-social-proof {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.avatar-group { display: flex; gap: -0.5rem; }
.avatar-item {
  width: 2.5rem; height: 2.5rem;
  border-radius: 50%;
  background: hsla(142, 72%, 28%, 0.3);
  border: 2px solid var(--primary);
  display: flex; align-items: center; justify-content: center;
  margin-left: -0.5rem;
  color: var(--accent-light);
}
.avatar-item:first-child { margin-left: 0; }
.avatar-item svg { width: 1.25rem; height: 1.25rem; }

.stars { display: flex; align-items: center; gap: 0.25rem; }
.star-icon { width: 1.25rem; height: 1.25rem; fill: var(--accent); color: var(--accent); }

.hero-visual {
  display: none;
  justify-content: center;
  align-items: center;
}
@media (min-width: 1024px) { .hero-visual { display: flex; } }

.hero-visual-inner {
  position: relative;
}
.hero-visual-box {
  width: 20rem; height: 20rem;
  border-radius: 1.5rem;
  background: linear-gradient(135deg, hsla(142,72%,28%,0.3), hsla(142,72%,28%,0.1));
  display: flex; align-items: center; justify-content: center;
}
.hero-visual-inner-box {
  width: 16rem; height: 16rem;
  border-radius: 1rem;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
}
.hero-visual-inner-box svg { width: 8rem; height: 8rem; color: var(--accent-light); }

.hero-badge-tr, .hero-badge-bl {
  position: absolute;
  background: var(--card);
  color: var(--card-foreground);
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.875rem; font-weight: 500;
}
.hero-badge-tr { top: -1rem; right: -1rem; }
.hero-badge-bl { bottom: -1rem; left: -1rem; }
.hero-badge-tr svg, .hero-badge-bl svg { width: 1.25rem; height: 1.25rem; color: var(--accent); }

/* Cards */
.card {
  background: var(--card);
  border-radius: 1rem;
  border: 1px solid var(--border);
}

.card-2xl { border-radius: 1.5rem; padding: 2rem; }

/* Icon box */
.icon-box {
  width: 3.5rem; height: 3.5rem;
  border-radius: 0.75rem;
  background: hsla(142,72%,28%,0.1);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.icon-box svg { width: 1.75rem; height: 1.75rem; color: var(--accent); }
.icon-box-sm { width: 2.5rem; height: 2.5rem; border-radius: 0.5rem; }
.icon-box-sm svg { width: 1.25rem; height: 1.25rem; }

/* Grid layouts */
.grid-2 { display: grid; gap: 1.5rem; }
.grid-3 { display: grid; gap: 1.5rem; }
.grid-4 { display: grid; gap: 1.5rem; }
.grid-5 { display: grid; gap: 1.5rem; }
@media (min-width: 768px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-5 { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .grid-5 { grid-template-columns: repeat(5, 1fr); }
}

/* Section heading */
.section-heading { text-align: center; margin-bottom: 4rem; }
.section-heading h2 { font-size: 1.875rem; margin-bottom: 1rem; }
@media (min-width: 768px) { .section-heading h2 { font-size: 2.25rem; } }
.section-heading p { color: var(--muted-foreground); font-size: 1.125rem; max-width: 42rem; margin: 0 auto; }

.text-accent { color: var(--accent); }
.text-accent-light { color: var(--accent-light); }
.text-muted { color: var(--muted-foreground); }
.text-pf { color: var(--primary-foreground); }
.text-pf-90 { color: rgba(255,255,255,0.9); }
.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.75rem; }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.font-medium { font-weight: 500; }

/* FAQ Details */
details.faq-item {
  background: var(--card);
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  overflow: hidden;
  margin-bottom: 1rem;
}
details.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  cursor: pointer;
  list-style: none;
  transition: background 0.2s;
}
details.faq-item summary:hover { background: var(--card-hover); }
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary h3 {
  font-weight: 600;
  text-align: left;
  padding-right: 1rem;
}
.faq-toggle {
  flex-shrink: 0;
  width: 1.5rem; height: 1.5rem;
  border-radius: 50%;
  background: hsla(142,72%,28%,0.1);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  font-size: 1.25rem;
  transition: transform 0.2s;
  line-height: 1;
}
details[open] .faq-toggle { transform: rotate(45deg); }
.faq-body { padding: 0 1.5rem 1.5rem; color: var(--muted-foreground); }

/* Plans */
.plan-card {
  position: relative;
  border-radius: 1rem;
  padding: 2rem;
  height: 100%;
  transition: all 0.3s;
}
.plan-card.popular {
  background: var(--accent);
  color: var(--accent-foreground);
  transform: scale(1.05);
  box-shadow: var(--shadow-glow);
  z-index: 10;
}
.plan-card.regular {
  background: var(--card);
  border: 1px solid var(--border);
}
.plan-card.regular:hover { box-shadow: var(--shadow-lg); }

.plan-badge {
  position: absolute;
  top: -1rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 0.25rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
}

.plan-feature-list { list-style: none; margin: 2rem 0; display: flex; flex-direction: column; gap: 0.75rem; }
.plan-feature { display: flex; align-items: flex-start; gap: 0.75rem; font-size: 0.875rem; }
.plan-check { flex-shrink: 0; margin-top: 0.125rem; }
.plan-check svg { width: 1.25rem; height: 1.25rem; }
.popular .plan-check svg { color: var(--accent-foreground); }
.regular .plan-check svg { color: var(--accent); }

/* Steps */
.step-card {
  background: var(--card);
  border-radius: 1rem;
  padding: 1.5rem;
  border: 1px solid var(--border);
  height: 100%;
  text-align: center;
}
.step-number { font-size: 2.5rem; font-weight: 700; color: var(--accent); margin-bottom: 0.75rem; opacity: 0.9; }

/* Footer */
footer {
  background: var(--gradient-primary);
  color: var(--primary-foreground);
}
.footer-cta { border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-cta-inner { padding: 4rem 0; text-align: center; }
.footer-cta-inner h2 { font-size: 1.875rem; margin-bottom: 1rem; }
@media (min-width: 768px) { .footer-cta-inner h2 { font-size: 2.25rem; } }
.footer-cta-inner p { font-size: 1.125rem; margin-bottom: 2rem; color: rgba(255,255,255,0.9); }

.footer-main { padding: 4rem 0; }
.footer-grid {
  display: grid;
  gap: 3rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }

.footer-brand .logo { margin-bottom: 1.5rem; }
.footer-brand p { color: rgba(255,255,255,0.9); margin-bottom: 1.5rem; max-width: 22rem; }

.footer-address { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }
.footer-address a, .footer-address li {
  display: flex; align-items: center; gap: 0.75rem;
  color: rgba(255,255,255,0.9);
  text-decoration: none;
  font-style: normal;
  transition: color 0.2s;
}
.footer-address a:hover { color: var(--accent-light); }
.footer-address svg { width: 1.25rem; height: 1.25rem; flex-shrink: 0; }

.footer-nav h3 { font-size: 1.125rem; font-weight: 700; margin-bottom: 1rem; }
.footer-nav ul { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }
.footer-nav a { color: rgba(255,255,255,0.9); text-decoration: none; transition: color 0.2s; }
.footer-nav a:hover { color: var(--accent-light); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.5rem 0;
}
.footer-bottom-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
@media (min-width: 768px) {
  .footer-bottom-inner { flex-direction: row; justify-content: space-between; }
}
.footer-bottom p { color: rgba(255,255,255,0.8); font-size: 0.875rem; }

/* WhatsApp Float */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 50;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.75rem;
}
.whatsapp-float-label {
  display: none;
  background: var(--card);
  color: var(--card-foreground);
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  box-shadow: var(--shadow-lg);
  font-size: 0.875rem;
  font-weight: 500;
}
@media (min-width: 640px) { .whatsapp-float-label { display: block; } }

/* Blog cards */
.blog-card {
  background: var(--card);
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  overflow: hidden;
  transition: box-shadow 0.3s;
  display: flex;
  flex-direction: column;
}
.blog-card:hover { box-shadow: var(--shadow-lg); }
.blog-card img {
  width: 100%;
  height: 10rem;
  object-fit: cover;
  transition: transform 0.5s;
  display: block;
}
.blog-card:hover img { transform: scale(1.05); }
.blog-card-overflow { overflow: hidden; }
.blog-card-body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; }

.category-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.125rem 0.5rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
}
.cat-guia { background: hsla(25,90%,50%,0.2); color: hsl(25,90%,40%); }
.cat-iniciante { background: hsla(220,90%,60%,0.2); color: hsl(220,80%,50%); }
.cat-instalacao { background: hsla(270,70%,60%,0.2); color: hsl(270,70%,50%); }
.cat-aplicativos { background: hsla(150,70%,40%,0.2); color: hsl(150,70%,30%); }
.cat-default { background: var(--muted); color: var(--muted-foreground); }

/* Table */
table { width: 100%; border-collapse: collapse; }
th, td { padding: 1rem; text-align: left; }
tr { border-top: 1px solid var(--border); }
tr:first-child { border-top: none; }
thead tr { background: none; border-top: none; }
thead th { background: var(--primary); color: var(--primary-foreground); }
thead th.accent-col { background: var(--accent); color: var(--accent-foreground); }
.accent-col-body { background: hsla(142,72%,28%,0.05); font-weight: 500; }

/* CheckCircle inline */
.check-inline {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}
.check-inline svg { width: 1.25rem; height: 1.25rem; color: var(--accent); flex-shrink: 0; margin-top: 0.125rem; }

/* Form inputs */
input, textarea {
  width: 100%;
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  font-size: 1rem;
  color: var(--foreground);
  font-family: inherit;
  transition: border-color 0.2s;
}
input:focus, textarea:focus { outline: none; border-color: var(--ring); }
label { display: block; font-weight: 500; margin-bottom: 0.5rem; font-size: 0.875rem; }

/* Responsive text center */
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* List reset */
.list-reset { list-style: none; }

/* Overflow */
.overflow-x-auto { overflow-x: auto; }

/* Max widths */
.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-5xl { max-width: 64rem; }

/* Blog post layout */
.article-grid {
  display: grid;
  gap: 2rem;
}
@media (min-width: 1024px) {
  .article-grid { grid-template-columns: 2fr 1fr; }
}

.sidebar-sticky { position: sticky; top: 6rem; display: flex; flex-direction: column; gap: 1.5rem; }

/* Prose-like article */
.article-content { max-width: none; }
.article-content h2 { font-size: 1.5rem; font-weight: 700; margin-bottom: 1rem; margin-top: 0; }
.article-content p { color: var(--muted-foreground); margin-bottom: 1rem; line-height: 1.75; }
.article-content ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; margin-top: 1rem; }
.article-content li { display: flex; align-items: flex-start; gap: 0.75rem; color: var(--muted-foreground); }
.article-content li::before { content: '→'; color: var(--accent); font-weight: 700; flex-shrink: 0; }

/* Pagination */
.pagination { display: flex; align-items: center; justify-content: center; gap: 0.5rem; margin-top: 3rem; }
.pagination button, .pagination a {
  width: 2.5rem; height: 2.5rem;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: transparent;
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--foreground);
  transition: background 0.2s;
  text-decoration: none;
}
.pagination button:hover, .pagination a:hover { background: var(--secondary); }
.pagination button.active { background: var(--primary); color: var(--primary-foreground); border-color: var(--primary); }
.pagination button:disabled { opacity: 0.4; cursor: not-allowed; }

/* Quick summary bar */
.summary-bar {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  padding: 3rem 0;
}
@media (min-width: 768px) { .summary-bar { grid-template-columns: repeat(4, 1fr); } }
.summary-bar-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent-foreground);
}
.summary-bar-item svg { width: 2rem; height: 2rem; }
.summary-bar-item span { font-weight: 600; }

/* Device card */
.device-card {
  background: var(--card);
  border-radius: 1rem;
  border: 1px solid var(--border);
  overflow: hidden;
}
.device-card-header {
  padding: 1.5rem;
  background: hsla(215,75%,14%,0.05);
  display: flex;
  align-items: center;
  gap: 1rem;
}
.device-card-header svg { width: 2.5rem; height: 2.5rem; color: var(--accent); }
.device-card-body { padding: 1.5rem; }

/* Ordered steps */
.step-row {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}
.step-circle {
  width: 3rem; height: 3rem;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-foreground);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1.25rem;
  flex-shrink: 0;
}

/* Fixed blog CTA */
.blog-fixed-cta {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 50;
  background: linear-gradient(135deg, hsl(25,90%,45%), hsl(25,90%,38%));
  border-radius: 0.75rem;
  padding: 1rem;
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
  max-width: 18rem;
  display: none;
}
.blog-post-page .blog-fixed-cta { display: block; }
.blog-post-page .whatsapp-float { display: none; }

/* Info box / highlight */
.info-box {
  background: hsla(142,72%,28%,0.1);
  border: 1px solid hsla(142,72%,28%,0.2);
  border-radius: 1rem;
  padding: 2rem;
}

/* Gradient flow icon */
.flow-item { text-align: center; }
.flow-item .icon-circle {
  width: 4rem; height: 4rem;
  border-radius: 50%;
  background: hsla(142,72%,28%,0.1);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 0.75rem;
}
.flow-item .icon-circle svg { width: 2rem; height: 2rem; color: var(--accent); }
.flow-arrow { display: none; }
@media (min-width: 768px) {
  .flow-arrow { display: flex; align-items: center; justify-content: center; }
  .flow-arrow svg { width: 2rem; height: 2rem; color: hsla(142,72%,28%,0.5); }
}

/* Responsive utilities */
.hidden-mobile { display: none; }
@media (min-width: 640px) { .hidden-mobile { display: initial; } }
.hidden-desktop { display: initial; }
@media (min-width: 1024px) { .hidden-desktop { display: none; } }

/* Animate spin */
@keyframes spin { to { transform: rotate(360deg); } }
.animate-spin { animation: spin 1s linear infinite; }

/* Checklist grid */
.checklist-grid {
  display: grid;
  gap: 1rem;
}
@media (min-width: 768px) { .checklist-grid { grid-template-columns: repeat(2, 1fr); } }
.checklist-item { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; }
.checklist-item svg { width: 1.25rem; height: 1.25rem; color: var(--accent); flex-shrink: 0; }

/* Scale featured */
@media (min-width: 768px) {
  .scale-featured { transform: scale(1.05); }
}

/* Glossary grid */
.glossary-grid {
  display: grid;
  gap: 1rem;
}
@media (min-width: 768px) { .glossary-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .glossary-grid { grid-template-columns: repeat(3, 1fr); } }

/* Category filter */
.cat-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  border: 2px solid transparent;
  background: hsla(0,0%,0%,0.05);
  color: var(--muted-foreground);
  transition: all 0.2s;
}
.cat-filter-btn:hover { background: var(--muted); }
.cat-filter-btn.active { outline: 2px solid currentColor; outline-offset: 2px; }
.cat-filter-btn .count {
  font-size: 0.75rem;
  padding: 0.125rem 0.375rem;
  border-radius: 9999px;
  background: hsla(255,255%,255%,0.2);
}

/* Line clamp */
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Spacing utilities */
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }
.mt-12 { margin-top: 3rem; }
.p-4 { padding: 1rem; }
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }

.w-full { width: 100%; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.border { border: 1px solid var(--border); }
.overflow-hidden { overflow: hidden; }

.bg-card { background: var(--card); }
.bg-secondary { background: var(--secondary); }
.bg-background { background: var(--background); }

.space-y-4 > * + * { margin-top: 1rem; }
.space-y-3 > * + * { margin-top: 0.75rem; }
.space-y-2 > * + * { margin-top: 0.5rem; }

/* ======= ADDITIONAL RESPONSIVE FIXES ======= */

/* Hero section min-height for mobile */
@media (max-width: 640px) {
  .hero-section { min-height: auto; padding: 6rem 0 3rem; }
}

/* Blog card hover cursor */
.blog-post-item { cursor: default; }
.blog-post-item a { cursor: pointer; }

/* Article image */
@media (min-width: 768px) {
  article img[style*="height:16rem"] { height: 22rem !important; }
}

/* Sticky sidebar only on large */
@media (max-width: 1023px) {
  aside [style*="position:sticky"] { position: static !important; }
}

/* Blog fixed CTA - hide on mobile blog post pages */
@media (max-width: 640px) {
  article + div[style*="position:fixed"] { display: none !important; }
}

/* WhatsApp float hide on blog post (orange CTA shows instead) */
@media (min-width: 641px) {
  article ~ div[style*="position:fixed"].whatsapp-float { display: none; }
}

/* Smooth scroll */
html { scroll-behavior: smooth; }

/* Focus styles */
:focus-visible { outline: 2px solid hsl(142, 72%, 28%); outline-offset: 2px; }

/* Table mobile */
@media (max-width: 640px) {
  table th, table td { padding: 0.75rem 0.5rem; font-size: 0.875rem; }
}

/* Print */
@media print {
  #site-header, footer, .whatsapp-float, div[style*="position:fixed"] { display: none !important; }
}

/* Hide WA float on blog post pages (they have their own CTA) */
.blog-post-page .wa-label,
.blog-post-page .btn-whatsapp-float {
  display: none !important;
}
.blog-post-page div[role="complementary"] {
  display: none !important;
}
