/* =====================================================================
   Gamela Mineira — Design System (preserved from original Lovable export)
   All colors HSL — same tokens as src/index.css and tailwind.config.ts
   ===================================================================== */

:root {
  /* Brand */
  --background: 222 65% 8%;
  --foreground: 0 0% 98%;

  --card: 222 50% 12%;
  --card-foreground: 0 0% 98%;

  --popover: 222 50% 12%;
  --popover-foreground: 0 0% 98%;

  --primary: 222 76% 15%;
  --primary-foreground: 0 0% 100%;

  --secondary: 271 68% 39%;
  --secondary-foreground: 0 0% 100%;

  --muted: 222 35% 18%;
  --muted-foreground: 220 15% 70%;

  --accent: 47 96% 53%;
  --accent-foreground: 222 76% 10%;

  --whatsapp: 142 70% 49%;
  --whatsapp-foreground: 0 0% 100%;

  --destructive: 0 84% 60%;
  --destructive-foreground: 0 0% 98%;

  --border: 222 40% 22%;
  --input: 222 40% 22%;
  --ring: 271 68% 55%;

  --radius: 0.875rem;

  /* Gradients */
  --gradient-hero: linear-gradient(135deg, hsl(222 76% 12%) 0%, hsl(248 60% 18%) 50%, hsl(271 68% 25%) 100%);
  --gradient-cta: linear-gradient(135deg, hsl(142 70% 45%) 0%, hsl(160 70% 42%) 100%);
  --gradient-purple: linear-gradient(135deg, hsl(222 76% 18%) 0%, hsl(271 68% 39%) 100%);
  --gradient-text: linear-gradient(135deg, hsl(47 96% 60%) 0%, hsl(35 95% 55%) 100%);
  --gradient-card: linear-gradient(145deg, hsl(222 50% 14% / 0.9) 0%, hsl(222 50% 10% / 0.9) 100%);

  /* Shadows / glow */
  --shadow-glow: 0 0 60px hsl(271 68% 50% / 0.35);
  --shadow-cta: 0 12px 40px -8px hsl(142 70% 45% / 0.55);
  --shadow-card: 0 8px 30px -10px hsl(222 80% 4% / 0.8);
}

/* ============================== Base reset ============================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  border: 0 solid hsl(var(--border));
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  font-family: "Inter", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  background-image:
    radial-gradient(circle at 20% 0%, hsl(271 68% 25% / 0.25), transparent 50%),
    radial-gradient(circle at 80% 100%, hsl(222 76% 25% / 0.3), transparent 50%);
  background-attachment: fixed;
  min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Space Grotesk", "Inter", sans-serif;
  letter-spacing: -0.025em;
  margin: 0;
}

p { margin: 0; }

ul, ol { margin: 0; padding: 0; list-style: none; }

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

img, svg { display: block; max-width: 100%; }

button {
  font-family: inherit;
  cursor: pointer;
  background: transparent;
  border: 0;
  color: inherit;
  padding: 0;
}

/* ============================== Layout helpers ============================== */
.container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
@media (min-width: 1400px) {
  .container { max-width: 1400px; }
}

.container-tight {
  width: 100%;
  max-width: 72rem; /* max-w-6xl */
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}
@media (min-width: 768px) {
  .container-tight { padding-left: 1.5rem; padding-right: 1.5rem; }
}

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

/* ============================== Glass / gradient utilities ============================== */
.glass {
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  background-color: hsl(var(--card) / 0.6);
  border: 1px solid hsl(var(--border) / 0.5);
}

.text-gradient {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.text-gradient-purple {
  background: linear-gradient(135deg, hsl(0 0% 100%), hsl(271 80% 80%));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.bg-gradient-hero { background-image: var(--gradient-hero); }
.bg-gradient-cta { background-image: var(--gradient-cta); }
.bg-gradient-purple { background-image: var(--gradient-purple); }
.bg-gradient-card { background-image: var(--gradient-card); }

.shadow-glow { box-shadow: var(--shadow-glow); }
.shadow-cta { box-shadow: var(--shadow-cta); }
.shadow-card-soft { box-shadow: var(--shadow-card); }

/* ============================== Animations ============================== */
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 0 0 hsl(142 70% 49% / 0.6); }
  50%      { box-shadow: 0 0 0 14px hsl(142 70% 49% / 0); }
}
.animate-pulse-glow { animation: pulse-glow 2s ease-in-out infinite; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}
.animate-float { animation: float 6s ease-in-out infinite; }

@keyframes fadeInUp {
  0%   { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInRight {
  0%   { opacity: 0; transform: translateX(30px); }
  100% { opacity: 1; transform: translateX(0); }
}
.fade-in-up { animation: fadeInUp 0.7s ease-out both; }
.fade-in-right { animation: fadeInRight 0.8s ease-out 0.2s both; }
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease-out, transform 0.6s ease-out; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-scale { opacity: 0; transform: scale(0.9); transition: opacity 0.4s ease-out, transform 0.4s ease-out; }
.reveal-scale.visible { opacity: 1; transform: scale(1); }

/* ============================== Header ============================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  transition: background-color 0.3s, backdrop-filter 0.3s, border-color 0.3s;
  background-color: transparent;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background-color: hsl(var(--background) / 0.8);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid hsl(var(--border) / 0.5);
}
.site-header .nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding: 0 1rem;
}
@media (min-width: 768px) {
  .site-header .nav-row { height: 5rem; padding: 0 1.5rem; }
}
@media (min-width: 1400px) {
  .site-header .nav-row { max-width: 1400px; }
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-weight: 700;
  font-size: 1.125rem;
}
@media (min-width: 768px) { .brand { font-size: 1.25rem; } }
.brand .brand-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 2.25rem;
  width: 2.25rem;
  border-radius: 0.5rem;
  background-image: var(--gradient-purple);
  box-shadow: var(--shadow-glow);
  color: hsl(var(--foreground));
}
.brand .brand-icon svg { height: 1.25rem; width: 1.25rem; }

.main-nav {
  display: none;
  align-items: center;
  gap: 1.75rem;
}
@media (min-width: 1024px) {
  .main-nav { display: flex; }
}
.main-nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--muted-foreground));
  transition: color 0.2s;
}
.main-nav a:hover { color: hsl(var(--foreground)); }

.header-cta { display: none; }
@media (min-width: 768px) { .header-cta { display: block; } }

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  color: hsl(var(--foreground));
}
@media (min-width: 768px) { .menu-toggle { display: none; } }
.menu-toggle svg { height: 1.5rem; width: 1.5rem; }

.mobile-menu {
  display: none;
  border-top: 1px solid hsl(var(--border) / 0.5);
  background-color: hsl(var(--background) / 0.95);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}
.mobile-menu.open { display: block; }
@media (min-width: 768px) {
  .mobile-menu.open { display: none; }
}
.mobile-menu .inner {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
@media (min-width: 1400px) {
  .mobile-menu .inner { max-width: 1400px; padding: 1rem 1.5rem; }
}
.mobile-menu a {
  padding: 0.5rem 0;
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--muted-foreground));
}
.mobile-menu a:hover { color: hsl(var(--foreground)); }

/* ============================== Buttons ============================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  white-space: nowrap;
  font-weight: 500;
  border-radius: calc(var(--radius) - 4px);
  transition: background-color 0.2s, color 0.2s, box-shadow 0.2s, transform 0.2s, opacity 0.2s;
  text-decoration: none;
  cursor: pointer;
  font-family: inherit;
  line-height: 1;
}
.btn:disabled { opacity: 0.5; pointer-events: none; }
.btn svg { height: 1rem; width: 1rem; flex-shrink: 0; }

.btn-sm   { height: 2.25rem; padding: 0 0.75rem; font-size: 0.875rem; }
.btn-md   { height: 2.5rem;  padding: 0.5rem 1rem; font-size: 0.875rem; }
.btn-lg   { height: 2.75rem; padding: 0 2rem; font-size: 1rem; }
.btn-xl   { height: 3.5rem;  padding: 0 2.5rem; font-size: 1rem; }

.btn-hero {
  background-image: linear-gradient(135deg, hsl(142 70% 49%), hsl(160 70% 42%));
  color: hsl(var(--whatsapp-foreground));
  box-shadow: var(--shadow-cta);
  font-weight: 600;
}
.btn-hero:hover { transform: translateY(-2px); }

.btn-whatsapp {
  background-color: hsl(var(--whatsapp));
  color: hsl(var(--whatsapp-foreground));
  font-weight: 600;
}
.btn-whatsapp:hover { background-color: hsl(142 70% 44%); }

.btn-accent {
  background-color: hsl(var(--accent));
  color: hsl(var(--accent-foreground));
  font-weight: 600;
}
.btn-accent:hover { background-color: hsl(47 96% 48%); }

.btn-outline {
  background-color: transparent;
  border: 1px solid hsl(var(--border));
  color: hsl(var(--foreground));
}
.btn-outline:hover {
  background-color: hsl(var(--accent) / 0.1);
  border-color: hsl(var(--accent) / 0.5);
}

.btn-default {
  background-color: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
}
.btn-default:hover { background-color: hsl(222 76% 12%); }

.btn-full { width: 100%; }

/* ============================== Hero ============================== */
.hero-section {
  position: relative;
  padding-top: 7rem;
  padding-bottom: 4rem;
  overflow: hidden;
}
@media (min-width: 768px) {
  .hero-section { padding-top: 9rem; padding-bottom: 6rem; }
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: var(--gradient-hero);
  opacity: 0.9;
  z-index: -10;
}
.hero-blob-1 {
  position: absolute;
  top: 33%;
  left: -8rem;
  width: 24rem;
  height: 24rem;
  background-color: hsl(var(--secondary) / 0.3);
  border-radius: 9999px;
  filter: blur(120px);
  z-index: -10;
}
.hero-blob-2 {
  position: absolute;
  bottom: 0;
  right: -5rem;
  width: 24rem;
  height: 24rem;
  background-color: hsl(var(--accent) / 0.1);
  border-radius: 9999px;
  filter: blur(120px);
  z-index: -10;
}

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

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 1rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  margin-bottom: 1.5rem;
}
@media (min-width: 768px) { .pill { font-size: 0.875rem; } }
.pill svg { height: 0.875rem; width: 0.875rem; color: hsl(var(--accent)); }
.pill .pill-text { color: hsl(var(--muted-foreground)); }

.hero-title {
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.05;
  margin-bottom: 1.5rem;
}
@media (min-width: 768px) { .hero-title { font-size: 3rem; } }
@media (min-width: 1024px) { .hero-title { font-size: 3.75rem; } }

.hero-sub {
  font-size: 1.125rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 2rem;
  line-height: 1.625;
  max-width: 36rem;
}
@media (min-width: 768px) { .hero-sub { font-size: 1.25rem; } }

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

.hero-badges {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 1rem;
  row-gap: 0.5rem;
  font-size: 0.875rem;
}
.hero-badges li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: hsl(var(--muted-foreground));
}
.hero-badges svg { height: 1rem; width: 1rem; color: hsl(var(--whatsapp)); flex-shrink: 0; }

.hero-rating {
  margin-top: 2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
}
.hero-rating .stars { display: flex; }
.hero-rating .stars svg { height: 1rem; width: 1rem; color: hsl(var(--accent)); fill: currentColor; }
.hero-rating p { font-size: 0.875rem; color: hsl(var(--muted-foreground)); }
.hero-rating p strong { color: hsl(var(--foreground)); font-weight: 600; }

.hero-image-wrap {
  position: relative;
}
.hero-image-blob {
  position: absolute;
  inset: 0;
  background-color: hsl(var(--secondary) / 0.3);
  filter: blur(48px);
  border-radius: 9999px;
}
.hero-image {
  position: relative;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 30px 60px hsl(271 68% 25% / 0.5));
}

/* ============================== Section heading common ============================== */
.section-eyebrow {
  color: hsl(var(--accent));
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.section-title {
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-size: 1.875rem;
  font-weight: 700;
  margin-top: 0.75rem;
  margin-bottom: 1rem;
  line-height: 1.2;
  letter-spacing: -0.025em;
}
@media (min-width: 768px) { .section-title { font-size: 2.25rem; } }
@media (min-width: 1024px) { .section-title { font-size: 3rem; } }
.section-lead {
  color: hsl(var(--muted-foreground));
  font-size: 1.125rem;
}
.section-head-center {
  text-align: center;
  margin-bottom: 3.5rem;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
}

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

.what-text { color: hsl(var(--muted-foreground)); line-height: 1.625; }
.what-text > p + p { margin-top: 1rem; }
.what-text strong { color: hsl(var(--foreground)); }
.what-title {
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-size: 1.875rem;
  font-weight: 700;
  margin-top: 0.75rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  letter-spacing: -0.025em;
}
@media (min-width: 768px) { .what-title { font-size: 2.25rem; } }
@media (min-width: 1024px) { .what-title { font-size: 3rem; } }

.flow-card {
  border-radius: 1rem;
  padding: 2rem;
}
@media (min-width: 768px) { .flow-card { padding: 2.5rem; } }
.flow-card h3 {
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 2rem;
  text-align: center;
}
.flow-step { display: flex; align-items: center; gap: 1rem; }
.flow-step .icon-box {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  height: 3.5rem;
  width: 3.5rem;
  border-radius: 0.75rem;
  background-image: var(--gradient-purple);
  box-shadow: var(--shadow-glow);
}
.flow-step .icon-box svg { height: 1.5rem; width: 1.5rem; color: hsl(var(--foreground)); }
.flow-step .label { font-family: "Space Grotesk", "Inter", sans-serif; font-weight: 600; }
.flow-step .desc { font-size: 0.875rem; color: hsl(var(--muted-foreground)); }
.flow-arrow {
  display: flex;
  justify-content: flex-start;
  margin-left: 1.75rem;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}
.flow-arrow svg { height: 1.25rem; width: 1.25rem; color: hsl(var(--accent)); transform: rotate(90deg); }

/* ============================== Why test (cards grid) ============================== */
.bg-card-soft { background-color: hsl(var(--card) / 0.3); }

.cards-grid-3 {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 640px) { .cards-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .cards-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.feature-card {
  border-radius: 1rem;
  padding: 1.5rem;
  transition: transform 0.3s, border-color 0.3s;
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: hsl(var(--accent) / 0.5);
}
.feature-card .icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 3rem;
  width: 3rem;
  border-radius: 0.75rem;
  background-image: var(--gradient-purple);
  box-shadow: var(--shadow-glow);
  margin-bottom: 1rem;
}
.feature-card .icon-box svg { height: 1.5rem; width: 1.5rem; color: hsl(var(--foreground)); }
.feature-card h3 {
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-weight: 600;
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}
.feature-card p { color: hsl(var(--muted-foreground)); line-height: 1.625; }

/* ============================== HowToTest ============================== */
.steps-grid {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 3rem;
}
@media (min-width: 768px) { .steps-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.step-card {
  position: relative;
  border-radius: 1rem;
  padding: 1.75rem;
}
.step-card .step-num {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-size: 3rem;
  font-weight: 700;
  color: hsl(var(--accent) / 0.15);
  line-height: 1;
}
.step-card .icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 3.5rem;
  width: 3.5rem;
  border-radius: 0.75rem;
  background-image: var(--gradient-cta);
  box-shadow: var(--shadow-cta);
  margin-bottom: 1.25rem;
}
.step-card .icon-box svg { height: 1.75rem; width: 1.75rem; color: hsl(var(--whatsapp-foreground)); }
.step-card h3 {
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-weight: 600;
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}
.step-card p { color: hsl(var(--muted-foreground)); line-height: 1.625; }

.center-cta { text-align: center; }

/* ============================== Plans ============================== */
.plans-grid {
  display: grid;
  gap: 1.5rem;
  max-width: 64rem;
  margin-left: auto;
  margin-right: auto;
}
@media (min-width: 768px) { .plans-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.plan-card {
  position: relative;
  border-radius: 1rem;
  padding: 1.75rem;
  transition: transform 0.3s, border-color 0.3s;
}
.plan-card:not(.highlight):hover { transform: translateY(-4px); }
.plan-card.highlight {
  background-image: var(--gradient-purple);
  border: 2px solid hsl(var(--accent));
  box-shadow: var(--shadow-glow);
  z-index: 10;
}
@media (min-width: 768px) {
  .plan-card.highlight { transform: scale(1.05); }
}
.plan-badge {
  position: absolute;
  top: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  background-color: hsl(var(--accent));
  color: hsl(var(--accent-foreground));
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  white-space: nowrap;
}
.plan-badge svg { height: 0.75rem; width: 0.75rem; }
.plan-card h3 {
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.plan-price-row {
  margin-bottom: 0.25rem;
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
}
.plan-price-row .currency { font-size: 0.875rem; color: hsl(var(--muted-foreground)); }
.plan-price-row .price {
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
}
.plan-price-row .period { color: hsl(var(--muted-foreground)); }
.plan-note { font-size: 0.75rem; color: hsl(var(--muted-foreground)); margin-bottom: 1.5rem; }
.plan-features { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 1.75rem; }
.plan-features li { display: flex; align-items: flex-start; gap: 0.5rem; font-size: 0.875rem; }
.plan-features svg { height: 1rem; width: 1rem; margin-top: 0.125rem; flex-shrink: 0; color: hsl(var(--whatsapp)); }
.plan-card.highlight .plan-features svg { color: hsl(var(--accent)); }

/* ============================== Devices ============================== */
.devices-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
@media (min-width: 640px) { .devices-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .devices-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.device-card {
  border-radius: 1rem;
  padding: 1.5rem;
  text-align: center;
  transition: transform 0.3s, border-color 0.3s;
}
.device-card:hover {
  transform: translateY(-4px);
  border-color: hsl(var(--accent) / 0.5);
}
.device-card .icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 3.5rem;
  width: 3.5rem;
  border-radius: 0.75rem;
  background-image: var(--gradient-purple);
  margin: 0 auto 0.75rem;
  box-shadow: var(--shadow-glow);
}
.device-card .icon-box svg { height: 1.75rem; width: 1.75rem; color: hsl(var(--foreground)); }
.device-card .name { font-family: "Space Grotesk", "Inter", sans-serif; font-weight: 600; }
.device-card .sub { font-size: 0.75rem; color: hsl(var(--muted-foreground)); margin-top: 0.25rem; }

/* ============================== Comparison ============================== */
.comparison-table {
  border-radius: 1rem;
  overflow: hidden;
  max-width: 56rem;
  margin: 0 auto;
}
.comparison-head {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  background-image: var(--gradient-purple);
  padding: 1rem;
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-weight: 700;
  font-size: 0.875rem;
}
@media (min-width: 768px) { .comparison-head { padding: 1.25rem; font-size: 1rem; } }
.comparison-head .col-cabo { text-align: center; color: hsl(var(--muted-foreground)); }
.comparison-head .col-iptv { text-align: center; color: hsl(var(--accent)); }

.comparison-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 1rem;
  align-items: center;
  font-size: 0.875rem;
}
@media (min-width: 768px) { .comparison-row { padding: 1.25rem; font-size: 1rem; } }
.comparison-row.even { background-color: hsl(var(--card) / 0.4); }
.comparison-row .crit { font-weight: 500; }
.comparison-row .col-cabo {
  text-align: center;
  color: hsl(var(--muted-foreground));
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.comparison-row .col-iptv {
  text-align: center;
  color: hsl(var(--foreground));
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.comparison-row .col-cabo svg { height: 1rem; width: 1rem; color: hsl(var(--destructive)); flex-shrink: 0; display: none; }
.comparison-row .col-iptv svg { height: 1rem; width: 1rem; color: hsl(var(--whatsapp)); flex-shrink: 0; display: none; }
@media (min-width: 640px) {
  .comparison-row .col-cabo svg,
  .comparison-row .col-iptv svg { display: inline-block; }
}

/* ============================== Testimonials ============================== */
.testimonials-grid {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 768px) { .testimonials-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .testimonials-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.testimonial-card {
  border-radius: 1rem;
  padding: 1.5rem;
}
.testimonial-card .stars { display: flex; margin-bottom: 0.75rem; }
.testimonial-card .stars svg { height: 1rem; width: 1rem; color: hsl(var(--accent)); fill: currentColor; }
.testimonial-card .text {
  color: hsl(var(--muted-foreground));
  font-style: italic;
  line-height: 1.625;
  margin-bottom: 1.25rem;
}
.testimonial-card .author { display: flex; align-items: center; gap: 0.75rem; }
.testimonial-card .avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 2.75rem;
  width: 2.75rem;
  border-radius: 9999px;
  background-image: var(--gradient-purple);
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-weight: 700;
}
.testimonial-card .name { font-weight: 600; font-size: 0.875rem; }
.testimonial-card .city { font-size: 0.75rem; color: hsl(var(--muted-foreground)); }

/* ============================== FAQ accordion ============================== */
.faq-wrap {
  max-width: 48rem;
  margin: 0 auto;
  border-radius: 1rem;
  padding: 0.5rem;
}
@media (min-width: 768px) { .faq-wrap { padding: 1rem; } }

.faq-item { border-bottom: 1px solid hsl(var(--border) / 0.5); }
.faq-trigger {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-weight: 600;
  padding: 1rem 0.75rem;
  font-size: 0.9375rem;
  color: hsl(var(--foreground));
  transition: color 0.2s;
}
.faq-trigger:hover { color: hsl(var(--accent)); }
.faq-trigger .chevron {
  height: 1rem;
  width: 1rem;
  flex-shrink: 0;
  transition: transform 0.2s;
  color: hsl(var(--muted-foreground));
}
.faq-item.open .faq-trigger .chevron { transform: rotate(180deg); }
.faq-content {
  display: none;
  padding: 0 0.75rem 1rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.625;
  font-size: 0.9375rem;
}
.faq-item.open .faq-content { display: block; }

/* ============================== Blog grid ============================== */
.blog-grid {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 768px) { .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .blog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.blog-card {
  border-radius: 1rem;
  overflow: hidden;
  transition: transform 0.3s;
}
.blog-card:hover { transform: translateY(-4px); }
.blog-card a { display: block; }
.blog-card .cover {
  aspect-ratio: 16/10;
  background-image: var(--gradient-purple);
  position: relative;
  overflow: hidden;
}
.blog-card .cover::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 30% 50%, hsl(47 96% 60% / 0.3), transparent 50%);
}
.blog-card .cat-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background-color: hsl(var(--background) / 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  color: hsl(var(--foreground));
}
.blog-card .body { padding: 1.5rem; }
.blog-card .meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 0.75rem;
}
.blog-card .meta svg { height: 0.75rem; width: 0.75rem; }
.blog-card h3 {
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-weight: 700;
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
  line-height: 1.375;
  transition: color 0.2s;
}
.blog-card:hover h3 { color: hsl(var(--accent)); }
.blog-card .excerpt { font-size: 0.875rem; color: hsl(var(--muted-foreground)); line-height: 1.625; margin-bottom: 1rem; }
.blog-card .read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: hsl(var(--accent));
}
.blog-card .read-more svg { height: 1rem; width: 1rem; transition: transform 0.2s; }
.blog-card:hover .read-more svg { transform: translateX(0.25rem); }

/* ============================== Final CTA ============================== */
.final-cta {
  position: relative;
  overflow: hidden;
  padding: 5rem 0;
}
@media (min-width: 768px) { .final-cta { padding: 7rem 0; } }
.final-cta-bg {
  position: absolute;
  inset: 0;
  background-image: var(--gradient-purple);
  z-index: -10;
}
.final-cta-glow {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 30% 50%, hsl(47 96% 53% / 0.15), transparent 50%);
  z-index: -10;
}
.final-cta-title {
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.2;
  letter-spacing: -0.025em;
}
@media (min-width: 768px) { .final-cta-title { font-size: 3rem; } }
@media (min-width: 1024px) { .final-cta-title { font-size: 3.75rem; } }

.final-cta-sub {
  font-size: 1.125rem;
  color: hsl(var(--foreground) / 0.8);
  margin-bottom: 2.5rem;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}
@media (min-width: 768px) { .final-cta-sub { font-size: 1.25rem; } }

.final-cta-btn {
  height: 4rem !important;
  padding: 0 2.5rem !important;
  font-size: 1.125rem !important;
}
@media (min-width: 768px) { .final-cta-btn { font-size: 1.25rem !important; } }
.final-cta-btn svg { height: 1.5rem !important; width: 1.5rem !important; }

.final-cta-note {
  margin-top: 1.25rem;
  font-size: 0.875rem;
  color: hsl(var(--foreground) / 0.6);
}

/* ============================== Footer ============================== */
.site-footer {
  border-top: 1px solid hsl(var(--border) / 0.5);
  background-color: hsl(var(--background) / 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.footer-inner {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding: 3rem 1rem;
}
@media (min-width: 768px) { .footer-inner { padding: 4rem 1.5rem; } }
@media (min-width: 1400px) { .footer-inner { max-width: 1400px; } }

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

.footer-brand-text { font-size: 0.875rem; color: hsl(var(--muted-foreground)); line-height: 1.625; margin-top: 0.75rem; }
.footer-col h3 {
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-weight: 600;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: hsl(var(--muted-foreground));
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.5rem; font-size: 0.875rem; }
.footer-col ul.with-icons { gap: 0.75rem; }
.footer-col a:hover { color: hsl(var(--accent)); transition: color 0.2s; }
.footer-col li { display: flex; align-items: center; gap: 0.5rem; }
.footer-col li svg { height: 1rem; width: 1rem; flex-shrink: 0; }
.footer-col li svg.wa-icon { color: hsl(var(--whatsapp)); }
.footer-col li svg.acc-icon { color: hsl(var(--accent)); }
.footer-col .muted-text { color: hsl(var(--muted-foreground)); }

.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid hsl(var(--border) / 0.4);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
}
@media (min-width: 768px) { .footer-bottom { flex-direction: row; } }

/* ============================== WhatsApp Float ============================== */
.wa-float {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 50;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 3.5rem;
  width: 3.5rem;
  border-radius: 9999px;
  background-color: hsl(var(--whatsapp));
  color: hsl(var(--whatsapp-foreground));
  box-shadow: var(--shadow-cta);
  transition: transform 0.2s;
}
.wa-float:hover { transform: scale(1.1); }
.wa-float svg { height: 1.75rem; width: 1.75rem; fill: currentColor; }

/* ============================== Cookie banner ============================== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 40;
  border-top: 1px solid hsl(var(--border));
  background-color: hsl(var(--card) / 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 1rem;
  display: none;
}
.cookie-banner.show { display: block; }
.cookie-inner {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
}
@media (min-width: 768px) { .cookie-inner { flex-direction: row; max-width: 1400px; padding: 0 1.5rem; } }
.cookie-inner p { flex: 1; color: hsl(var(--muted-foreground)); }

/* ============================== Blog post (article) ============================== */
.article-wrap {
  padding-top: 6rem;
  padding-bottom: 4rem;
}
@media (min-width: 768px) { .article-wrap { padding-top: 8rem; } }

.article {
  width: 100%;
  max-width: 48rem;
  margin: 0 auto;
  padding: 0 1rem;
}
@media (min-width: 768px) { .article { padding: 0 1.5rem; } }

.breadcrumb {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.375rem;
  flex-wrap: wrap;
}
.breadcrumb a:hover { color: hsl(var(--accent)); transition: color 0.2s; }
.breadcrumb svg { height: 0.75rem; width: 0.75rem; }
.breadcrumb .current { color: hsl(var(--foreground) / 0.8); }

.article .cat {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: hsl(var(--accent));
  margin-bottom: 0.75rem;
}
.article h1 {
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-size: 1.875rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.25rem;
  letter-spacing: -0.025em;
}
@media (min-width: 768px) { .article h1 { font-size: 3rem; } }

.article-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid hsl(var(--border) / 0.5);
}
.article-meta svg { height: 1rem; width: 1rem; }

/* Prose styling for blog body */
.prose { color: hsl(var(--muted-foreground)); font-size: 1.125rem; line-height: 1.7; max-width: none; }
.prose > * + * { margin-top: 1.25rem; }
.prose h2 {
  font-family: "Space Grotesk", "Inter", sans-serif;
  color: hsl(var(--foreground));
  font-size: 1.5rem;
  font-weight: 700;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  letter-spacing: -0.025em;
  line-height: 1.25;
}
@media (min-width: 768px) { .prose h2 { font-size: 1.875rem; } }
.prose h3 {
  font-family: "Space Grotesk", "Inter", sans-serif;
  color: hsl(var(--foreground));
  font-size: 1.25rem;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  letter-spacing: -0.025em;
  line-height: 1.3;
}
.prose p { color: hsl(var(--muted-foreground)); line-height: 1.7; }
.prose strong { color: hsl(var(--foreground)); font-weight: 700; }
.prose a { color: hsl(var(--accent)); text-decoration: none; }
.prose a:hover { text-decoration: underline; }
.prose ul, .prose ol { color: hsl(var(--muted-foreground)); padding-left: 1.625rem; margin-top: 1.25rem; margin-bottom: 1.25rem; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin-top: 0.25rem; margin-bottom: 0.25rem; padding-left: 0.375rem; }
.prose li::marker { color: hsl(var(--muted-foreground)); }

.article-cta {
  margin-top: 3rem;
  padding: 1.75rem;
  border-radius: 1rem;
  background-image: var(--gradient-purple);
  text-align: center;
  box-shadow: var(--shadow-glow);
}
.article-cta h2 {
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: hsl(var(--foreground));
}
.article-cta p {
  color: hsl(var(--foreground) / 0.8);
  margin-bottom: 1.25rem;
}

.back-home {
  margin-top: 2.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  transition: color 0.2s;
}
.back-home:hover { color: hsl(var(--accent)); }
.back-home svg { height: 1rem; width: 1rem; }

/* ============================== 404 page ============================== */
.notfound-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 1rem;
  background-image: var(--gradient-hero);
}
.notfound-card { text-align: center; max-width: 28rem; }
.notfound-card h1 {
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-size: 4.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.025em;
}
@media (min-width: 768px) { .notfound-card h1 { font-size: 6rem; } }
.notfound-card .lead { font-size: 1.25rem; color: hsl(var(--foreground)); margin-bottom: 0.5rem; }
.notfound-card .desc { color: hsl(var(--muted-foreground)); margin-bottom: 2rem; }

/* ============================== Misc helpers ============================== */
.hidden-mobile { display: none; }
@media (min-width: 640px) { .hidden-mobile { display: inline-block; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
