/* BARVOLT - Design System */
:root {
  --background: hsl(0, 0%, 100%);
  --background-secondary: hsl(0, 0%, 96%);
  --foreground: hsl(0, 0%, 7%);
  --card: hsl(0, 0%, 100%);
  --card-foreground: hsl(0, 0%, 7%);
  --primary: hsl(221, 83%, 53%);
  --primary-foreground: hsl(0, 0%, 100%);
  --secondary: hsl(0, 0%, 96%);
  --secondary-foreground: hsl(0, 0%, 7%);
  --muted: hsl(0, 0%, 96%);
  --muted-foreground: hsl(0, 0%, 30%);
  --accent: hsl(221, 83%, 53%);
  --accent-foreground: hsl(0, 0%, 100%);
  --destructive: hsl(0, 72%, 51%);
  --destructive-foreground: hsl(0, 0%, 100%);
  --success: hsl(142, 72%, 30%);
  --success-foreground: hsl(0, 0%, 100%);
  --on-dark: hsl(0, 0%, 80%);
  --cta: hsl(0, 0%, 7%);
  --cta-foreground: hsl(0, 0%, 100%);
  --border: hsl(0, 0%, 90%);
  --input: hsl(0, 0%, 90%);
  --ring: hsl(221, 83%, 53%);
  --radius: 0.5rem;
}

.dark {
  --background: hsl(0, 0%, 7%);
  --background-secondary: hsl(0, 0%, 12%);
  --foreground: hsl(0, 0%, 98%);
  --card: hsl(0, 0%, 10%);
  --card-foreground: hsl(0, 0%, 98%);
  --primary: hsl(221, 83%, 60%);
  --primary-foreground: hsl(0, 0%, 100%);
  --secondary: hsl(0, 0%, 15%);
  --secondary-foreground: hsl(0, 0%, 98%);
  --muted: hsl(0, 0%, 15%);
  --muted-foreground: hsl(0, 0%, 65%);
  --accent: hsl(221, 83%, 60%);
  --accent-foreground: hsl(0, 0%, 100%);
  --destructive: hsl(0, 72%, 51%);
  --destructive-foreground: hsl(0, 0%, 100%);
  --success: hsl(142, 72%, 30%);
  --success-foreground: hsl(0, 0%, 100%);
  --on-dark: hsl(0, 0%, 80%);
  --cta: hsl(0, 0%, 100%);
  --cta-foreground: hsl(0, 0%, 7%);
  --border: hsl(0, 0%, 20%);
  --input: hsl(0, 0%, 20%);
  --ring: hsl(221, 83%, 60%);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
}

section[id], div[id] { scroll-margin-top: 5rem; }

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

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

.bg-secondary-custom { background-color: var(--background-secondary); }
.text-light { color: var(--on-dark); }

/* Typography */
h1, h2, h3, h4, h5, h6 { margin: 0; line-height: 1.2; font-weight: 700; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; }

/* Utility */
.text-primary { color: var(--primary); }
.text-muted { color: var(--muted-foreground); }
.text-success { color: var(--success); }
.text-destructive { color: var(--destructive); }
.bg-primary { background-color: var(--primary); }
.bg-success { background-color: var(--success); }
.bg-foreground { background-color: var(--foreground); }
.bg-secondary { background-color: var(--secondary); }
.text-background { color: var(--background); }
.text-foreground { color: var(--foreground); }
.border-primary { border-color: var(--primary); }
.border-success { border-color: var(--success); }

/* Hover lift */
.hover-lift { transition: transform 0.3s ease; }
.hover-lift:hover { transform: translateY(-4px); }

/* Animations */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.animate-fade-in { animation: fadeIn 0.5s ease forwards; }
.animate-fade-in-up { animation: fadeInUp 0.5s ease forwards; }

/* ---- HEADER ---- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background-color: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.dark .site-header {
  background-color: rgba(18,18,18,0.95);
  border-bottom-color: rgba(255,255,255,0.1);
}

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

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--foreground);
  text-decoration: none;
}
.logo span { color: var(--primary); }

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

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--foreground);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-link:hover, .nav-link.active { color: var(--primary); }

.header-actions {
  display: none;
  align-items: center;
  gap: 0.5rem;
}
@media (min-width: 1024px) { .header-actions { display: flex; } }

.mobile-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
@media (min-width: 1024px) { .mobile-actions { display: none; } }

.mobile-menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.375rem;
  padding: 0.5rem;
  color: var(--foreground);
  background: none;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s;
}
.mobile-menu-btn:hover { background-color: var(--muted); }

.mobile-nav {
  display: none;
  padding-bottom: 1rem;
  padding-top: 0.5rem;
}
.mobile-nav.open { display: block; }

.mobile-nav-link {
  display: block;
  border-radius: 0.5rem;
  padding: 0.5rem 0.75rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--foreground);
  text-decoration: none;
  transition: background-color 0.2s;
}
.mobile-nav-link:hover, .mobile-nav-link.active { background-color: var(--muted); color: var(--primary); }

/* Theme Toggle */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.375rem;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--foreground);
  cursor: pointer;
  transition: background-color 0.2s;
}
.theme-toggle:hover { background-color: var(--muted); }
.theme-toggle svg { width: 1rem; height: 1rem; }
.icon-sun { display: block; }
.icon-moon { display: none; }
.dark .icon-sun { display: none; }
.dark .icon-moon { display: block; }

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
  text-decoration: none;
  white-space: nowrap;
}
.btn:focus-visible { outline: 2px solid var(--ring); outline-offset: 2px; }

.btn-sm { padding: 0.375rem 0.75rem; font-size: 0.875rem; }
.btn-md { padding: 0.5rem 1rem; }
.btn-lg { padding: 0.625rem 1.5rem; font-size: 1.125rem; }
.btn-xl { padding: 0.75rem 2rem; font-size: 1.125rem; }

.btn-primary { background-color: var(--primary); color: var(--primary-foreground); }
.btn-primary:hover { background-color: hsl(221, 83%, 45%); }

.btn-cta { background-color: var(--cta); color: var(--cta-foreground); }
.btn-cta:hover { opacity: 0.9; }

.btn-success { background-color: var(--success); color: var(--success-foreground); }
.btn-success:hover { opacity: 0.9; }

.btn-outline {
  background: transparent;
  border: 2px solid var(--border);
  color: var(--foreground);
}
.btn-outline:hover { background-color: var(--muted); }

.btn-outline-light {
  background: transparent;
  border: 2px solid rgba(255,255,255,0.5);
  color: var(--background);
}
.btn-outline-light:hover { background-color: var(--background); color: var(--foreground); }

.btn-outline-primary {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--foreground);
}
.btn-outline-primary:hover { background-color: var(--muted); }

.btn-link { background: none; border: none; color: var(--primary); padding: 0; }
.btn-link:hover { text-decoration: underline; }

.btn-bg-bg { background-color: var(--background); color: var(--foreground); }
.btn-bg-bg:hover { opacity: 0.9; }

.btn-whatsapp { background-color: #25D366; color: white; }
.btn-whatsapp:hover { background-color: #128C7E; }

.w-full { width: 100%; }

/* ---- CARDS ---- */
.card {
  background-color: var(--card);
  color: var(--card-foreground);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.card-content { padding: 1.5rem; }
.card-header { padding: 1.5rem 1.5rem 1rem; }

/* ---- FOOTER ---- */
.site-footer { background-color: var(--foreground); color: var(--background); }
.footer-inner { padding: 3rem 0; }
@media (min-width: 1024px) { .footer-inner { padding: 4rem 0; } }

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

.footer-logo { font-size: 1.5rem; font-weight: 700; letter-spacing: -0.025em; display: inline-block; }
.footer-logo span { color: var(--primary); }
.footer-desc { font-size: 0.875rem; color: var(--on-dark); margin-top: 1rem; }
.footer-social { display: flex; gap: 1rem; margin-top: 1rem; }
.footer-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background-color: var(--success);
  color: var(--success-foreground);
  transition: opacity 0.2s;
}
.footer-social-link:hover { opacity: 0.9; }

.footer-heading { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 1rem; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.75rem; }
.footer-links a { font-size: 0.875rem; color: var(--on-dark); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--primary); }

.footer-bottom {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.2);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
@media (min-width: 768px) { .footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; } }
.footer-bottom p { font-size: 0.875rem; color: var(--on-dark); }
.footer-bottom .xs { font-size: 0.75rem; }

/* ---- WHATSAPP BUTTON ---- */
.whatsapp-fab {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background-color: #25D366;
  color: white;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  text-decoration: none;
  transition: transform 0.2s, background-color 0.2s;
}
.whatsapp-fab:hover { transform: scale(1.1); background-color: #128C7E; }

/* ---- BREADCRUMBS ---- */
.breadcrumbs { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; }
.breadcrumbs a { color: rgba(255,255,255,0.7); text-decoration: none; }
.breadcrumbs a:hover { color: white; }
.breadcrumbs span { color: rgba(255,255,255,0.5); }
.breadcrumbs .current { color: rgba(255,255,255,0.9); }
.breadcrumbs-dark a { color: var(--muted-foreground); }
.breadcrumbs-dark a:hover { color: var(--primary); }
.breadcrumbs-dark span { color: var(--muted-foreground); }
.breadcrumbs-dark .current { color: var(--foreground); }

/* ---- ACCORDION ---- */
.accordion { display: flex; flex-direction: column; gap: 1rem; }
.accordion-item {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.accordion-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1rem 1.5rem;
  font-size: 1rem;
  font-weight: 500;
  text-align: left;
  background: none;
  border: none;
  color: var(--foreground);
  cursor: pointer;
  gap: 1rem;
}
.accordion-trigger:hover { color: var(--primary); }
.accordion-trigger .chevron {
  flex-shrink: 0;
  width: 1rem;
  height: 1rem;
  transition: transform 0.2s;
}
.accordion-item.open .chevron { transform: rotate(180deg); }
.accordion-content {
  display: none;
  padding: 0 1.5rem 1rem;
  color: var(--muted-foreground);
  font-size: 0.9375rem;
  line-height: 1.6;
}
.accordion-item.open .accordion-content { display: block; }

/* ---- HERO SECTIONS ---- */
.hero-dark {
  background: linear-gradient(135deg, var(--foreground) 0%, hsl(0,0%,12%) 100%);
  color: var(--background);
}
.hero-primary {
  background: linear-gradient(135deg, var(--primary) 0%, hsl(221,83%,40%) 100%);
  color: var(--primary-foreground);
}
.hero-home {
  position: relative;
  background: linear-gradient(135deg, var(--foreground) 0%, var(--foreground) 70%, hsl(221,83%,20%) 100%);
  color: var(--background);
  overflow: hidden;
}
.hero-home::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 20px 20px;
}
.hero-home .hero-content { position: relative; padding: 5rem 0; }
@media (min-width: 1024px) { .hero-home .hero-content { padding: 8rem 0; } }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  background-color: rgba(29,78,216,0.2);
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}
.dark .hero-badge { color: hsl(221,83%,70%); }

.hero-stats {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.hero-stat { text-align: center; }
.hero-stat .number { font-size: 1.875rem; font-weight: 700; color: var(--primary); }
.hero-stat .label { font-size: 0.875rem; color: var(--on-dark); }

/* ---- GRIDS ---- */
.grid { display: grid; }
.grid-1 { grid-template-columns: 1fr; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }
.grid-5 { grid-template-columns: repeat(2, 1fr); }
@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); }
}
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }

/* ---- ICON BOXES ---- */
.icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  background-color: rgba(29,78,216,0.10);
  color: var(--primary);
}
.icon-box-sm { width: 2.5rem; height: 2.5rem; }
.icon-box-md { width: 3rem; height: 3rem; }
.icon-box-lg { width: 3.5rem; height: 3.5rem; }
.icon-box-xl { width: 4rem; height: 4rem; border-radius: 50%; }
.icon-box-primary-full { background-color: var(--primary); color: var(--primary-foreground); }
.icon-box-success-full { background-color: var(--success); color: var(--success-foreground); }

/* SVG Icons */
svg { flex-shrink: 0; }

/* ---- SOCIAL PROOF BAR ---- */
.social-bar { background-color: var(--secondary); padding: 1.5rem 0; }
.social-bar-inner { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 2rem; }
.social-bar-item { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; font-weight: 500; }

/* ---- TABLES ---- */
.table-wrapper { overflow-x: auto; }
.comparison-table { width: 100%; border-radius: var(--radius); overflow: hidden; background-color: var(--card); }
.comparison-table thead tr { background-color: var(--foreground); color: var(--background); }
.comparison-table th { padding: 1rem; font-weight: 600; }
.comparison-table th.active-col { background-color: var(--primary); }
.comparison-table td { padding: 1rem; text-align: center; }
.comparison-table td:first-child { text-align: left; font-weight: 500; }
.comparison-table tbody tr:nth-child(even) { background-color: rgba(150,150,150,0.15); }
.comparison-table td.active-col { background-color: rgba(29,78,216,0.05); }

/* ---- BLOG ---- */
.blog-card { display: flex; flex-direction: column; height: 100%; }
.blog-card-img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.blog-card-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.blog-card-category {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  background-color: var(--secondary);
  color: var(--secondary-foreground);
  font-size: 0.75rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
}
.blog-card-title { font-size: 1.125rem; font-weight: 700; margin-bottom: 0.5rem; line-height: 1.4; }
.blog-card-excerpt { font-size: 0.875rem; color: var(--muted-foreground); margin-bottom: 1rem; flex: 1; }
.blog-card-meta { display: flex; align-items: center; gap: 1rem; font-size: 0.75rem; color: var(--muted-foreground); }
.blog-card-meta span { display: flex; align-items: center; gap: 0.25rem; }

.blog-content { color: var(--foreground); line-height: 1.7; }
.blog-content h2 { font-size: 1.5rem; font-weight: 700; margin-top: 2rem; margin-bottom: 1rem; }
.blog-content h3 { font-size: 1.25rem; font-weight: 600; margin-top: 1.5rem; margin-bottom: 0.75rem; }
.blog-content p { margin-bottom: 1rem; color: var(--muted-foreground); }
.blog-content ul, .blog-content ol { margin-bottom: 1rem; padding-left: 1.5rem; color: var(--muted-foreground); }
.blog-content ul { list-style: disc; }
.blog-content ol { list-style: decimal; }
.blog-content li { margin-bottom: 0.5rem; }
.blog-content a { color: var(--primary); }
.blog-content a:hover { text-decoration: underline; }
.blog-content blockquote {
  border-left: 4px solid var(--primary);
  padding: 0.5rem 1rem;
  margin: 1.5rem 0;
  background-color: rgba(150,150,150,0.20);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.blog-content blockquote p { margin-bottom: 0; color: var(--foreground); }
.blog-content strong, .blog-content b { font-weight: 600; color: var(--foreground); }
.blog-content img { border-radius: var(--radius); margin: 1.5rem 0; width: 100%; }
.blog-content code { background-color: var(--muted); padding: 0.125rem 0.5rem; border-radius: 0.25rem; font-size: 0.875rem; }

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
}
.badge-secondary { background-color: var(--secondary); color: var(--secondary-foreground); }
.badge-outline { border: 1px solid var(--border); color: var(--foreground); background: transparent; }

/* ---- BLOG FILTER BUTTONS ---- */
.filter-btn {
  padding: 0.375rem 0.75rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--foreground);
  transition: all 0.2s;
}
.filter-btn:hover { background-color: var(--muted); }
.filter-btn.active { background-color: var(--primary); color: var(--primary-foreground); border-color: var(--primary); }

/* ---- CHECKLIST ---- */
.checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  cursor: pointer;
  padding: 0.25rem 0;
}
.checklist-box {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 0.25rem;
  border: 2px solid var(--muted-foreground);
  margin-top: 0.125rem;
  transition: border-color 0.2s;
  cursor: pointer;
}
.checklist-item input[type="checkbox"] { display: none; }
.checklist-item input[type="checkbox"]:checked + .checklist-box {
  background-color: var(--primary);
  border-color: var(--primary);
}
.checklist-item:hover .checklist-box { border-color: var(--primary); }

/* ---- PLAN CARDS ---- */
.plan-popular-badge {
  position: absolute;
  top: -1rem;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.375rem 1.5rem;
  background-color: var(--primary);
  color: var(--primary-foreground);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 9999px;
  white-space: nowrap;
}
.plan-card { position: relative; }

/* ---- STEP NUMBER ---- */
.step-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background-color: var(--primary);
  color: var(--primary-foreground);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.step-connector {
  display: none;
  position: absolute;
  top: 2rem;
  left: 60%;
  width: 80%;
  height: 2px;
  background-color: var(--border);
}
@media (min-width: 1024px) { .step-connector { display: block; } }

/* ---- DEVICE CARD ---- */
.device-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.5rem;
  border-radius: 0.75rem;
  background-color: var(--secondary);
  transition: transform 0.3s;
}
.device-card:hover { transform: translateY(-4px); }

/* ---- MISC ---- */
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.text-center { text-align: center; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }
.space-y-8 > * + * { margin-top: 2rem; }
.space-y-12 > * + * { margin-top: 3rem; }
.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; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-8 { gap: 2rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }
.mt-12 { margin-top: 3rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.pt-4 { padding-top: 1rem; }
.pt-8 { padding-top: 2rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-24 { padding-top: 6rem; padding-bottom: 6rem; }
.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.flex-1 { flex: 1; }
.flex-shrink-0 { flex-shrink: 0; }
.overflow-x-auto { overflow-x: auto; }
.overflow-hidden { overflow: hidden; }
.italic { font-style: italic; }
.border-t { border-top: 1px solid var(--border); }
.border-b { border-bottom: 1px solid var(--border); }
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-full { border-radius: 9999px; }
.shadow-md { box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1); }
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1); }
.shadow-xl { box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1); }
.object-cover { object-fit: cover; }
.w-full { width: 100%; }
.aspect-video { aspect-ratio: 16/9; }
.list-disc { list-style-type: disc; }
.list-decimal { list-style-type: decimal; }
.pl-6 { padding-left: 1.5rem; }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.font-medium { font-weight: 500; }
.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.75rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }
.text-4xl { font-size: 2.25rem; }
.leading-tight { line-height: 1.25; }
.leading-relaxed { line-height: 1.625; }
.tracking-tight { letter-spacing: -0.025em; }
.uppercase { text-transform: uppercase; }
.relative { position: relative; }
.absolute { position: absolute; }
.inset-0 { inset: 0; }
.z-50 { z-index: 50; }
.hidden { display: none; }
.block { display: block; }
.inline-flex { display: inline-flex; }
.inline-block { display: inline-block; }
.cursor-pointer { cursor: pointer; }

.text-green { color: var(--success); }
.text-red { color: var(--destructive); }

/* Responsive typography */
@media (min-width: 768px) {
  .md\:text-4xl { font-size: 2.25rem; }
  .md\:text-5xl { font-size: 3rem; }
  .md\:text-xl { font-size: 1.25rem; }
  .md\:flex-row { flex-direction: row; }
  .md\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
  .lg\:text-6xl { font-size: 3.75rem; }
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
  .lg\:py-24 { padding-top: 6rem; padding-bottom: 6rem; }
  .lg\:flex-row { flex-direction: row; }
  .lg\:w-64 { width: 16rem; }
}

.blog-content-wrapper {
  max-width: 56rem;
  margin: 0 auto;
  padding: 0;
}

/* prose styles for privacy/terms */
.prose h2 { font-size: 1.5rem; font-weight: 700; margin-bottom: 1rem; margin-top: 0; }
.prose p { color: var(--muted-foreground); margin-bottom: 1rem; line-height: 1.7; }
.prose ul, .prose ol { padding-left: 1.5rem; color: var(--muted-foreground); margin-bottom: 1rem; }
.prose ul { list-style: disc; }
.prose li { margin-bottom: 0.5rem; }
.prose strong { font-weight: 600; color: var(--foreground); }
.prose section { margin-bottom: 2rem; }

/* Main content offset for fixed header */
main { padding-top: 4rem; }

/* Alert box */
.alert-box {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  border-radius: var(--radius);
}
.alert-box-primary { background-color: rgba(29,78,216,0.05); border: 1px solid rgba(29,78,216,0.20); }
.alert-box-muted { background-color: var(--card); border: 1px solid var(--border); }

/* info box on dark bg */
.info-box-dark {
  background-color: rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
  border-radius: 0.75rem;
  padding: 1.5rem;
  margin-bottom: 2rem;
}

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

.step-item { position: relative; text-align: center; }

/* Pagination */
.pagination { display: flex; align-items: center; justify-content: center; gap: 0.5rem; flex-wrap: wrap; }
.page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.25rem;
  height: 2.25rem;
  padding: 0 0.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--foreground);
  font-size: 0.875rem;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
}
.page-btn:hover { background-color: var(--muted); }
.page-btn.active { background-color: var(--primary); color: var(--primary-foreground); border-color: var(--primary); }
.page-btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* stars */
.stars { display: flex; gap: 0.25rem; color: var(--primary); }
.star-filled { fill: var(--primary); }

/* 404 */
.not-found-section { min-height: 60vh; display: flex; align-items: center; justify-content: center; }

/* Overlay for mobile bg pattern */
.bg-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
}

/* Section CTA highlight */
.section-cta-primary {
  background-color: var(--primary);
  color: var(--primary-foreground);
}
.section-cta-dark {
  background-color: var(--foreground);
  color: var(--background);
}

/* Flex gap responsive */
.cta-btns {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
@media (min-width: 640px) { .cta-btns { flex-direction: row; justify-content: center; } }

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

/* Number step inside card */
.step-num-ghost {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--muted);
  opacity: 0.2;
  pointer-events: none;
}

/* Device compatibility big card */
.device-compat-card { margin-bottom: 1.5rem; }
.device-compat-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background-color: rgba(29,78,216,0.05);
  border-bottom: 1px solid var(--border);
}
.device-compat-body {
  padding: 1.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 1024px) { .device-compat-body { grid-template-columns: repeat(3, 1fr); } }
.device-compat-col-title {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted-foreground);
  margin-bottom: 0.75rem;
}
.device-compat-footer { padding: 0 1.5rem 1.5rem; }

/* Install steps row in teste-iptv */
.install-card { overflow: hidden; }
.install-card-inner { display: flex; flex-direction: column; }
@media (min-width: 1024px) { .install-card-inner { flex-direction: row; } }
.install-card-label {
  min-width: 16rem;
  background-color: rgba(29,78,216,0.05);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.install-card-steps { flex: 1; padding: 1.5rem; }

/* numbered steps */
.numbered-step { display: flex; align-items: flex-start; gap: 0.75rem; margin-bottom: 0.75rem; }
.num-badge {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background-color: var(--primary);
  color: var(--primary-foreground);
  font-size: 0.75rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Quick actions contact */
.quick-action-card:hover .quick-action-icon {
  background-color: var(--primary);
  color: var(--primary-foreground);
}
.quick-action-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background-color: rgba(29,78,216,0.10);
  color: var(--primary);
  margin-bottom: 1rem;
  transition: all 0.2s;
}

/* Contact method highlighted */
.contact-highlight { border: 2px solid var(--success); }
.contact-highlight-icon { background-color: var(--success); color: var(--success-foreground); }

/* Support hours */
.hours-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
}
.hours-row:last-child { border-bottom: none; }

/* Glossary cards */
.glossary-term { font-weight: 700; color: var(--primary); margin-bottom: 0.25rem; }
.glossary-def { font-size: 0.875rem; color: var(--muted-foreground); }

/* Plans hero chips */
.hero-chips { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1rem; }
.hero-chip { display: flex; align-items: center; gap: 0.5rem; color: var(--background); font-size: 0.9375rem; }

/* testimonial blockquote */
.testimonial-text { color: var(--muted-foreground); font-style: italic; margin-bottom: 1rem; }
.testimonial-author .name { font-weight: 600; }
.testimonial-author .loc { font-size: 0.875rem; color: var(--muted-foreground); }

/* Requirements card */
.req-card { text-align: center; }
.req-speed { font-size: 1.25rem; font-weight: 700; color: var(--primary); margin-bottom: 0.25rem; }
.req-quality { font-weight: 600; margin-bottom: 0.5rem; }
.req-desc { font-size: 0.875rem; color: var(--muted-foreground); }

/* Conteudos stability checklist */
.checklist-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 768px) { .checklist-grid { grid-template-columns: repeat(2, 1fr); } }

/* Blog post article */
.article-header { margin-bottom: 2rem; }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; font-size: 0.875rem; color: var(--muted-foreground); margin-top: 1.5rem; }
.article-meta span { display: flex; align-items: center; gap: 0.25rem; }

/* Back link */
.back-link { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; color: var(--muted-foreground); text-decoration: none; margin-top: 1rem; margin-bottom: 2rem; transition: color 0.2s; }
.back-link:hover { color: var(--primary); }

/* Related posts */
.related-posts { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--border); }
.related-posts h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 1.5rem; }

/* Tags section */
.tags-section { margin-top: 2rem; padding-top: 2rem; border-top: 1px solid var(--border); }
.tags-section h3 { font-size: 1.125rem; font-weight: 600; margin-bottom: 1rem; }
.tags-list { display: flex; flex-wrap: wrap; gap: 0.5rem; }

/* Share section */
.share-section { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--border); }
.share-section h3 { font-size: 1.125rem; font-weight: 600; margin-bottom: 1rem; }

/* Blog CTA */
.blog-article-cta { margin-top: 4rem; background-color: var(--background-secondary); border-radius: var(--radius); padding: 2rem; text-align: center; }
.blog-article-cta h2 { font-size: 1.5rem; font-weight: 700; margin-bottom: 1rem; }
.blog-article-cta p { color: var(--muted-foreground); margin-bottom: 1.5rem; max-width: 36rem; margin-left: auto; margin-right: auto; }

/* FAQ page direct answer block */
.direct-answer-block {
  padding: 2rem 0;
  background-color: rgba(29,78,216,0.05);
}
.direct-answer-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background-color: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

/* Plans profile section */
.profile-ideal { font-size: 0.875rem; color: var(--muted-foreground); margin-bottom: 1rem; }

/* XCircle */
.text-muted-icon { color: var(--muted-foreground); }

/* Responsive flex for contact */
@media (min-width: 1024px) {
  .contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
}
