/* =============================================
   MEDIACAST.COM.BR - Design System V2
   Medical Corporate Modern for IPTV - Multi-page
   ============================================= */

/* === Google Fonts loaded in HTML === */

/* === CSS Variables === */
:root {
  --primary-900: #0B2C5F;
  --primary-800: #0F3D91;
  --primary-700: #1557C0;
  --primary-600: #1E6DEB;
  --primary-500: #2E86FF;
  --primary-400: #5CA0FF;
  --primary-300: #8ABBFF;
  --primary-200: #B8D6FF;
  --primary-100: #E0EDFF;

  --hero-gradient: linear-gradient(135deg, #0B2C5F 0%, #0F3D91 30%, #1557C0 60%, #1E6DEB 100%);
  --hero-gradient-2: linear-gradient(135deg, #0F3D91 0%, #1E6DEB 50%, #2E86FF 100%);
  --accent-gradient: linear-gradient(135deg, #1E6DEB 0%, #2E86FF 100%);
  --gold-gradient: linear-gradient(135deg, #F59E0B 0%, #FBBF24 100%);

  --white: #FFFFFF;
  --gray-50: #F6F9FF;
  --gray-100: #EEF3FA;
  --gray-200: #E1E8F2;
  --gray-300: #CBD5E1;
  --gray-400: #9AA7B6;
  --gray-500: #7A8A9E;
  --gray-600: #5B6B7F;
  --gray-700: #3D4F63;
  --gray-800: #2A3442;
  --black-soft: #0E1A2B;

  --accent-light: #EAF3FF;
  --accent-blue-soft: #DCE9FF;

  --success: #22C55E;
  --warning: #F59E0B;
  --danger: #EF4444;

  --shadow-xs: 0 2px 8px rgba(15, 61, 145, 0.04);
  --shadow-soft: 0 8px 30px rgba(15, 61, 145, 0.08);
  --shadow-medium: 0 12px 40px rgba(15, 61, 145, 0.12);
  --shadow-strong: 0 20px 60px rgba(15, 61, 145, 0.18);
  --shadow-glow: 0 0 40px rgba(30, 109, 235, 0.15);
  --shadow-btn: 0 10px 25px rgba(30, 109, 235, 0.3);

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-2xl: 32px;
  --radius-pill: 999px;

  --font-primary: 'Poppins', 'Inter', sans-serif;

  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* === Reset === */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-primary);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--gray-800);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul, ol { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
button { font-family: var(--font-primary); cursor: pointer; }

/* === Container === */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-sm { max-width: 800px; margin: 0 auto; padding: 0 24px; }
.container-lg { max-width: 1400px; margin: 0 auto; padding: 0 24px; }

/* === Typography === */
h1, h2, h3, h4, h5 { font-family: var(--font-primary); color: var(--primary-900); line-height: 1.2; }
h1 { font-size: 56px; font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: 40px; font-weight: 700; margin-bottom: 20px; letter-spacing: -0.01em; }
h3 { font-size: 24px; font-weight: 600; }
h4 { font-size: 20px; font-weight: 600; }
h5 { font-size: 16px; font-weight: 600; }

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

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--primary-600);
  margin-bottom: 16px;
  background: var(--accent-light);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
}

.section-label svg {
  width: 14px;
  height: 14px;
}

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: var(--accent-gradient);
  color: var(--white);
  box-shadow: var(--shadow-btn);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 35px rgba(30, 109, 235, 0.4);
}

.btn-secondary {
  background: transparent;
  border-color: var(--primary-600);
  color: var(--primary-600);
}

.btn-secondary:hover {
  background: var(--primary-600);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: var(--shadow-btn);
}

.btn-white {
  background: var(--white);
  color: var(--primary-700);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.btn-white:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.2);
}

.btn-success {
  background: linear-gradient(135deg, #22C55E, #16A34A);
  color: var(--white);
  box-shadow: 0 10px 25px rgba(34, 197, 94, 0.3);
}

.btn-success:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 35px rgba(34, 197, 94, 0.4);
}

.btn-pill { border-radius: var(--radius-pill); }
.btn-lg { padding: 18px 40px; font-size: 17px; }
.btn-sm { padding: 10px 20px; font-size: 14px; }
.btn-block { width: 100%; }

.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

/* === Navbar === */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
  z-index: 1000;
  transition: var(--transition);
}

.navbar.scrolled {
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
  height: 72px;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-900);
  z-index: 10;
}

.navbar-logo svg { width: 40px; height: 40px; }
.navbar-logo .logo-accent { color: var(--primary-500); }

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.navbar-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-700);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  position: relative;
  transition: var(--transition);
}

.navbar-nav a:hover,
.navbar-nav a.active {
  color: var(--primary-600);
  background: var(--accent-light);
}

.navbar-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 10;
  flex-direction: column;
  gap: 5px;
}

.mobile-menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--gray-800);
  border-radius: 2px;
  transition: var(--transition);
}

/* === Page Hero (inner pages) === */
.page-hero {
  padding: 140px 0 80px;
  background: var(--hero-gradient);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(46, 134, 255, 0.2) 0%, transparent 70%);
  border-radius: 50%;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: -150px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
  border-radius: 50%;
}

.page-hero .container {
  position: relative;
  z-index: 2;
}

.page-hero-content {
  max-width: 700px;
}

.page-hero .breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 24px;
}

.page-hero .breadcrumb a {
  color: rgba(255, 255, 255, 0.6);
}

.page-hero .breadcrumb a:hover {
  color: var(--white);
}

.page-hero .breadcrumb svg {
  width: 14px;
  height: 14px;
  opacity: 0.5;
}

.page-hero h1 {
  color: var(--white);
  font-size: 48px;
  margin-bottom: 16px;
}

.page-hero h1 .highlight {
  color: #7CB9FF;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 18px;
  line-height: 1.7;
  max-width: 600px;
}

/* Decorative grid pattern */
.hero-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 1;
}

/* Floating shapes */
.floating-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.08;
  background: var(--white);
  animation: float 6s ease-in-out infinite;
}

.floating-shape:nth-child(1) { width: 80px; height: 80px; top: 20%; left: 10%; animation-delay: 0s; }
.floating-shape:nth-child(2) { width: 120px; height: 120px; top: 60%; right: 15%; animation-delay: 2s; }
.floating-shape:nth-child(3) { width: 60px; height: 60px; bottom: 20%; left: 30%; animation-delay: 4s; }
.floating-shape:nth-child(4) { width: 40px; height: 40px; top: 30%; right: 25%; animation-delay: 1s; border-radius: var(--radius-lg); }

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(5deg); }
}

/* === HOME HERO === */
.hero {
  padding-top: 80px;
  background: var(--hero-gradient);
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero .hero-pattern { z-index: 1; }

.hero .container {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding-top: 40px;
  padding-bottom: 60px;
}

.hero-content { color: var(--white); }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 28px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  animation: fadeInDown 0.8s ease;
}

.hero-badge svg { width: 16px; height: 16px; }

.hero-content h1 {
  color: var(--white);
  font-size: 58px;
  line-height: 1.1;
  margin-bottom: 24px;
  animation: fadeInUp 0.8s ease 0.1s both;
}

.hero-content h1 .highlight { color: #7CB9FF; }

.hero-description {
  font-size: 18px;
  line-height: 1.7;
  opacity: 0.9;
  margin-bottom: 36px;
  max-width: 520px;
  animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  margin-bottom: 56px;
  animation: fadeInUp 0.8s ease 0.3s both;
}

.hero-stats {
  display: flex;
  gap: 48px;
  animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-stat { text-align: left; }
.hero-stat-number { font-size: 40px; font-weight: 700; display: block; line-height: 1; }
.hero-stat-label { font-size: 14px; opacity: 0.65; margin-top: 4px; }

/* Hero right side - TV mockup */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeInRight 1s ease 0.3s both;
}

.tv-mockup {
  width: 100%;
  max-width: 520px;
  position: relative;
}

.tv-frame {
  background: #1a1a2e;
  border-radius: 20px;
  padding: 16px;
  box-shadow:
    0 40px 80px rgba(0,0,0,0.4),
    inset 0 1px 0 rgba(255,255,255,0.1);
  position: relative;
}

.tv-screen {
  width: 100%;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, #0a0a1a, #1a1a3e);
  border-radius: 12px;
  overflow: hidden;
  position: relative;
}

.tv-screen-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
}

.tv-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: rgba(0,0,0,0.3);
}

.tv-topbar-logo {
  font-size: 11px;
  font-weight: 700;
  color: var(--primary-400);
  letter-spacing: 1px;
}

.tv-topbar-time {
  font-size: 11px;
  color: rgba(255,255,255,0.5);
}

.tv-channels {
  display: flex;
  gap: 6px;
  padding: 8px 16px;
  overflow: hidden;
}

.tv-channel {
  width: 52px;
  height: 36px;
  background: rgba(255,255,255,0.06);
  border-radius: 8px;
  flex-shrink: 0;
  transition: var(--transition);
}

.tv-channel.active {
  background: var(--primary-600);
  box-shadow: 0 0 20px rgba(30, 109, 235, 0.4);
}

.tv-main-content {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: linear-gradient(180deg, rgba(30, 109, 235, 0.1) 0%, rgba(11, 44, 95, 0.3) 100%);
}

.tv-play-btn {
  width: 64px;
  height: 64px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pulse-glow 2s ease infinite;
}

.tv-play-btn svg { width: 24px; height: 24px; fill: white; margin-left: 4px; }

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0.2); }
  50% { box-shadow: 0 0 0 20px rgba(255,255,255,0); }
}

.tv-bottom-bar {
  padding: 8px 16px 12px;
  background: rgba(0,0,0,0.4);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.tv-now-playing {
  font-size: 10px;
  color: rgba(255,255,255,0.7);
}

.tv-quality-badge {
  font-size: 9px;
  font-weight: 700;
  background: var(--primary-600);
  color: white;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  letter-spacing: 1px;
}

.tv-stand {
  width: 40%;
  height: 24px;
  background: linear-gradient(180deg, #2a2a3e, #1a1a2e);
  margin: 0 auto;
  border-radius: 0 0 8px 8px;
}

.tv-base {
  width: 55%;
  height: 6px;
  background: #1a1a2e;
  margin: 0 auto;
  border-radius: 0 0 4px 4px;
}

/* Floating badges around TV */
.hero-floating-badge {
  position: absolute;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  padding: 10px 16px;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-800);
  z-index: 5;
  animation: float 5s ease-in-out infinite;
}

.hero-floating-badge svg { width: 20px; height: 20px; }

.badge-channels { top: 15%; right: -10%; animation-delay: 0s; }
.badge-quality { bottom: 25%; left: -8%; animation-delay: 2s; }
.badge-live { top: 50%; right: -15%; animation-delay: 3.5s; }

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  animation: blink 1.5s ease infinite;
}

.badge-dot.green { background: var(--success); }
.badge-dot.blue { background: var(--primary-500); }
.badge-dot.gold { background: var(--warning); }

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* === Floating Box (below hero) === */
.trust-bar {
  position: relative;
  z-index: 10;
  margin-top: -60px;
  padding-bottom: 40px;
}

.trust-bar-inner {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 40px 48px;
  box-shadow: var(--shadow-strong);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  border: 1px solid var(--gray-100);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 16px;
  transition: var(--transition);
}

.trust-item:hover { transform: translateY(-2px); }

.trust-icon {
  width: 56px;
  height: 56px;
  min-width: 56px;
  background: var(--accent-light);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-600);
  transition: var(--transition);
}

.trust-item:hover .trust-icon {
  background: var(--primary-600);
  color: var(--white);
  transform: rotate(-5deg) scale(1.05);
}

.trust-icon svg { width: 24px; height: 24px; }

.trust-text h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 2px;
}

.trust-text p {
  font-size: 12px;
  color: var(--gray-500);
  line-height: 1.4;
}

/* === Sections === */
.section { padding: 100px 0; }
.section-alt { background: var(--gray-50); }
.section-dark {
  background: var(--primary-900);
  color: var(--white);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 64px;
}

.section-header p {
  font-size: 18px;
  color: var(--gray-600);
  line-height: 1.7;
}

.section-dark .section-header p {
  color: rgba(255,255,255,0.7);
}

.section-dark h2 {
  color: var(--white);
}

/* === Cards Base === */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--gray-100);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-strong);
}

.card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent-gradient);
  opacity: 0;
  transition: var(--transition);
}

.card:hover::after { opacity: 1; }

/* === Ranking Cards === */
.ranking-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.ranking-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 0;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--gray-100);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.ranking-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-strong);
}

.ranking-card-header {
  padding: 24px 28px 16px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.ranking-position {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: var(--gray-50);
  color: var(--primary-700);
  font-weight: 800;
  font-size: 16px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ranking-card.featured .ranking-position {
  background: var(--accent-gradient);
  color: var(--white);
}

.ranking-card.top3 .ranking-position {
  background: var(--gold-gradient);
  color: var(--white);
}

.ranking-card-header-text h3 {
  font-size: 18px;
  margin-bottom: 6px;
}

.ranking-card-header-text h3 a { color: var(--primary-900); }
.ranking-card-header-text h3 a:hover { color: var(--primary-600); }

.ranking-stars {
  display: flex;
  gap: 2px;
}

.ranking-stars svg { width: 14px; height: 14px; fill: #FBBF24; }
.ranking-stars svg.empty { fill: var(--gray-200); }

.ranking-star-score {
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-600);
  margin-left: 6px;
}

.ranking-card-body {
  padding: 0 28px 20px;
}

.ranking-features { margin-bottom: 16px; }

.ranking-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--gray-600);
  padding: 5px 0;
}

.ranking-features li svg {
  width: 16px;
  height: 16px;
  min-width: 16px;
  color: var(--success);
}

.ranking-card-footer {
  padding: 16px 28px 24px;
  border-top: 1px solid var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ranking-price {
  font-size: 13px;
  color: var(--gray-400);
}

.ranking-price strong {
  font-size: 22px;
  color: var(--primary-900);
  font-weight: 700;
  display: block;
  line-height: 1;
}

.ranking-badge {
  position: absolute;
  top: 0;
  right: 24px;
  background: var(--accent-gradient);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  padding: 6px 12px 8px;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.ranking-badge.gold {
  background: var(--gold-gradient);
  color: var(--primary-900);
}

/* === Feature Cards === */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.feature-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--gray-100);
  transition: var(--transition);
  position: relative;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-strong);
}

.feature-icon {
  width: 64px;
  height: 64px;
  background: var(--accent-light);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-600);
  margin-bottom: 24px;
  transition: var(--transition);
}

.feature-card:hover .feature-icon {
  background: var(--primary-600);
  color: var(--white);
  transform: rotate(-5deg) scale(1.05);
}

.feature-icon svg { width: 28px; height: 28px; }

.feature-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.feature-card p {
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.7;
}

/* === Steps === */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  counter-reset: step;
}

.step-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--gray-100);
  text-align: center;
  transition: var(--transition);
  position: relative;
}

.step-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-strong);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background: var(--hero-gradient);
  color: var(--white);
  font-size: 26px;
  font-weight: 700;
  border-radius: 20px;
  margin-bottom: 24px;
  box-shadow: 0 10px 25px rgba(15, 61, 145, 0.2);
}

.step-card h3 { font-size: 18px; margin-bottom: 12px; }
.step-card p { font-size: 14px; color: var(--gray-600); line-height: 1.7; }

/* Step connector line */
.step-card:not(:last-child)::before {
  content: '';
  position: absolute;
  top: 62px;
  right: -14px;
  width: 28px;
  height: 2px;
  background: var(--gray-200);
  z-index: 1;
}

/* === App Cards === */
.apps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.app-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 32px 24px;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--gray-100);
  text-align: center;
  transition: var(--transition);
}

.app-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-strong);
}

.app-icon {
  width: 72px;
  height: 72px;
  background: var(--accent-light);
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--primary-600);
  transition: var(--transition);
}

.app-card:hover .app-icon {
  background: var(--accent-gradient);
  color: var(--white);
  transform: scale(1.1);
}

.app-icon svg { width: 32px; height: 32px; }
.app-card h3 { font-size: 17px; margin-bottom: 8px; }
.app-card p { font-size: 13px; color: var(--gray-600); line-height: 1.6; }

/* === FAQ === */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-100);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover { border-color: var(--primary-200); }

.faq-item.active {
  box-shadow: var(--shadow-medium);
  border-color: var(--primary-300);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px;
  cursor: pointer;
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  gap: 16px;
  transition: var(--transition);
}

.faq-question:hover { background: var(--gray-50); }

.faq-question h3 {
  font-size: 16px;
  font-weight: 500;
  color: var(--gray-800);
  flex: 1;
}

.faq-item.active .faq-question h3 {
  color: var(--primary-700);
  font-weight: 600;
}

.faq-icon {
  width: 36px;
  height: 36px;
  min-width: 36px;
  background: var(--accent-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.faq-icon svg { width: 16px; height: 16px; color: var(--primary-600); transition: transform 0.3s ease; }

.faq-item.active .faq-icon { background: var(--primary-600); }
.faq-item.active .faq-icon svg { color: var(--white); transform: rotate(180deg); }

.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-answer-content { padding: 0 28px 24px; font-size: 15px; color: var(--gray-600); line-height: 1.8; }

/* === CTA Section === */
.cta-section {
  background: var(--hero-gradient);
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section .hero-pattern { z-index: 1; }

.cta-section .container { position: relative; z-index: 3; }

.cta-section h2 { color: var(--white); font-size: 44px; margin-bottom: 16px; }
.cta-section h2 .highlight { color: #7CB9FF; }

.cta-section p {
  color: rgba(255,255,255,0.8);
  font-size: 18px;
  max-width: 600px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* === Counter/Stats Section === */
.stats-section {
  padding: 80px 0;
  background: var(--primary-900);
  position: relative;
  overflow: hidden;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stat-item { color: var(--white); }

.stat-number {
  font-size: 48px;
  font-weight: 700;
  display: block;
  line-height: 1;
  margin-bottom: 8px;
  background: linear-gradient(135deg, #7CB9FF, #FFFFFF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  font-weight: 500;
}

/* === Testimonials === */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--gray-100);
  transition: var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-medium);
}

.testimonial-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 16px;
}

.testimonial-stars svg { width: 16px; height: 16px; fill: #FBBF24; }

.testimonial-text {
  font-size: 15px;
  color: var(--gray-700);
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 16px;
}

.testimonial-info h5 { font-size: 14px; margin-bottom: 2px; }
.testimonial-info p { font-size: 12px; color: var(--gray-400); }

/* === Directory === */
.directory-section { padding: 60px 0; background: var(--gray-50); border-top: 1px solid var(--gray-100); }

.directory-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.directory-column h4 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--primary-900);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.directory-column ul { display: flex; flex-direction: column; gap: 8px; }
.directory-column li a { font-size: 14px; color: var(--gray-600); }
.directory-column li a:hover { color: var(--primary-600); }

/* === Footer === */
.footer {
  background: var(--black-soft);
  padding: 80px 0 30px;
  color: rgba(255,255,255,0.7);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-brand { max-width: 340px; }

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
}

.footer-logo .logo-accent { color: var(--primary-500); }
.footer-brand p { font-size: 14px; line-height: 1.7; margin-bottom: 24px; }

.footer-social { display: flex; gap: 10px; }

.footer-social a {
  width: 42px;
  height: 42px;
  background: rgba(255,255,255,0.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--primary-600);
  transform: translateY(-3px);
}

.footer-social a svg { width: 18px; height: 18px; }

.footer-column h4 {
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.footer-column ul { display: flex; flex-direction: column; gap: 12px; }
.footer-column li a { font-size: 14px; color: rgba(255,255,255,0.5); }
.footer-column li a:hover { color: var(--primary-400); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}

.footer-bottom a { color: rgba(255,255,255,0.4); }
.footer-bottom a:hover { color: var(--primary-400); }

/* === Mobile Drawer === */
.mobile-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
  z-index: 998;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-overlay.active { display: block; opacity: 1; }

.mobile-drawer {
  position: fixed;
  top: 0;
  right: -320px;
  width: 320px;
  height: 100%;
  background: var(--white);
  z-index: 999;
  transition: right 0.3s ease;
  padding: 32px;
  display: flex;
  flex-direction: column;
  box-shadow: -10px 0 30px rgba(0,0,0,0.1);
}

.mobile-drawer.active { right: 0; }

.mobile-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}

.mobile-drawer-close {
  background: var(--gray-50);
  border: none;
  cursor: pointer;
  padding: 10px;
  color: var(--gray-800);
  border-radius: 10px;
}

.mobile-drawer-close svg { width: 20px; height: 20px; }

.mobile-drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.mobile-drawer-nav a {
  font-size: 16px;
  font-weight: 500;
  color: var(--gray-800);
  padding: 14px 16px;
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.mobile-drawer-nav a:hover,
.mobile-drawer-nav a.active {
  background: var(--accent-light);
  color: var(--primary-600);
}

/* === WhatsApp Float === */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.4);
  z-index: 900;
  transition: var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.5);
}

.whatsapp-float svg { width: 30px; height: 30px; fill: white; }

/* === Info Grid (2 col text + image) === */
.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.info-grid.reverse { direction: rtl; }
.info-grid.reverse > * { direction: ltr; }

.info-content h2 { margin-bottom: 16px; }
.info-content > p { font-size: 17px; color: var(--gray-600); margin-bottom: 32px; line-height: 1.7; }

.info-visual {
  display: flex;
  justify-content: center;
}

.info-visual-box {
  background: linear-gradient(135deg, var(--accent-light), var(--primary-100));
  border-radius: var(--radius-2xl);
  padding: 48px;
  width: 100%;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.info-visual-box::before {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  background: rgba(30, 109, 235, 0.1);
  border-radius: 50%;
  top: -50px;
  right: -50px;
}

.info-visual-box svg { width: 180px; height: 180px; color: var(--primary-600); opacity: 0.5; }

/* === Scroll Animations === */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-on-scroll.delay-1 { transition-delay: 0.1s; }
.animate-on-scroll.delay-2 { transition-delay: 0.2s; }
.animate-on-scroll.delay-3 { transition-delay: 0.3s; }
.animate-on-scroll.delay-4 { transition-delay: 0.4s; }

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to { opacity: 1; transform: translateX(0); }
}

/* === Screen Reader === */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border-width: 0;
}

/* === Responsive === */
@media (max-width: 1024px) {
  h1 { font-size: 40px; }
  h2 { font-size: 32px; }
  .hero .container { grid-template-columns: 1fr; text-align: center; }
  .hero-content h1 { font-size: 42px; }
  .hero-description { margin-left: auto; margin-right: auto; }
  .hero-buttons { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { display: none; }
  .trust-bar-inner { grid-template-columns: repeat(2, 1fr); }
  .ranking-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .step-card::before { display: none; }
  .apps-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .devices-grid { grid-template-columns: repeat(3, 1fr); }
  .compare-grid { grid-template-columns: 1fr; max-width: 500px; }
  .guarantees-grid { grid-template-columns: repeat(2, 1fr); }
  .info-grid { grid-template-columns: 1fr; }
  .info-grid.reverse { direction: ltr; }
  .info-visual { order: -1; }
  .directory-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .navbar-nav { display: none; }
  .navbar-cta .btn { display: none; }
  .mobile-menu-btn { display: flex; }
  .page-hero h1 { font-size: 36px; }
}

@media (max-width: 768px) {
  .section { padding: 70px 0; }
  h1 { font-size: 32px; }
  h2 { font-size: 28px; }
  .hero-content h1 { font-size: 34px; }
  .trust-bar-inner { grid-template-columns: 1fr; padding: 28px; }
  .ranking-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .apps-grid { grid-template-columns: 1fr 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .directory-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .cta-section h2 { font-size: 28px; }
  .cta-buttons { flex-direction: column; align-items: center; }
  .hero-stats { flex-direction: column; gap: 16px; }
  .page-hero { padding: 120px 0 60px; }
  .page-hero h1 { font-size: 28px; }
}

@media (max-width: 640px) {
  .hero-buttons { flex-direction: column; align-items: center; }
  .hero-buttons .btn { width: 100%; }
  .apps-grid { grid-template-columns: 1fr; }
  .directory-grid { grid-template-columns: 1fr; }
  .stat-number { font-size: 36px; }
}

/* === Preview cards (Home - ranking preview) === */
.ranking-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

@media (max-width: 1024px) {
  .ranking-preview-grid { grid-template-columns: 1fr; }
}

/* === Comparison Table === */
.comparison-table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--gray-100);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
}

.comparison-table th {
  background: var(--primary-900);
  color: var(--white);
  padding: 16px 20px;
  text-align: left;
  font-size: 14px;
  font-weight: 600;
}

.comparison-table td {
  padding: 14px 20px;
  font-size: 14px;
  border-bottom: 1px solid var(--gray-100);
  color: var(--gray-700);
}

.comparison-table tr:hover td {
  background: var(--gray-50);
}

.comparison-table .check-icon { color: var(--success); }
.comparison-table .cross-icon { color: var(--gray-300); }

/* =============================================
   MELHORIAS VISUAIS V3
   ============================================= */

/* === 1. Gradiente animado no hero === */
@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.hero {
  background: linear-gradient(135deg, #0B2C5F 0%, #0F3D91 25%, #1557C0 50%, #1E6DEB 75%, #0F3D91 100%);
  background-size: 200% 200%;
  animation: gradientShift 8s ease infinite;
}

/* === 2. Borda gradiente nos cards (hover) === */
.feature-card::before,
.ranking-card::before,
.testimonial-card::before,
.step-card::before,
.app-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px;
  background: linear-gradient(135deg, #1E6DEB, #2E86FF, #5CA0FF);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 1;
}

.feature-card:hover::before,
.ranking-card:hover::before,
.testimonial-card:hover::before,
.step-card:hover::before,
.app-card:hover::before {
  opacity: 1;
}

/* === 3. Padrao de pontos decorativos === */
.dot-pattern {
  position: relative;
}

.dot-pattern::before {
  content: '';
  position: absolute;
  top: 20px;
  right: 20px;
  width: 120px;
  height: 120px;
  background-image: radial-gradient(circle, var(--primary-200) 1.5px, transparent 1.5px);
  background-size: 16px 16px;
  opacity: 0.5;
  z-index: 0;
  pointer-events: none;
}

/* === 4. Wave dividers === */
.wave-divider {
  position: relative;
  height: 60px;
  overflow: hidden;
  margin-top: -1px;
}

.wave-divider svg {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60px;
}

.wave-divider-top {
  margin-bottom: -1px;
  margin-top: 0;
}

.wave-divider-top svg {
  top: 0;
  bottom: auto;
  transform: rotate(180deg);
}

/* === 5. Efeito glow nos icones === */
.feature-icon:hover,
.trust-icon:hover {
  box-shadow: 0 0 20px rgba(30, 109, 235, 0.35);
}

/* === 6. Sublinhado gradiente nos H2 === */
.section-header h2 {
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--accent-gradient);
  border-radius: 2px;
}

/* === 7. Shimmer no badge TOP 1 === */
@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

.ranking-card.featured .ranking-badge {
  background: linear-gradient(90deg, #1E6DEB 0%, #5CA0FF 25%, #B8D6FF 50%, #5CA0FF 75%, #1E6DEB 100%);
  background-size: 200% auto;
  animation: shimmer 3s linear infinite;
}

/* === 8. Micro-interacoes === */
@keyframes iconBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.feature-card:hover .feature-icon svg,
.trust-item:hover .trust-icon svg {
  animation: iconBounce 0.5s ease;
}

@keyframes whatsappPulse {
  0% { box-shadow: 0 6px 24px rgba(37, 211, 102, 0.4); }
  50% { box-shadow: 0 6px 24px rgba(37, 211, 102, 0.4), 0 0 0 12px rgba(37, 211, 102, 0.15); }
  100% { box-shadow: 0 6px 24px rgba(37, 211, 102, 0.4), 0 0 0 24px rgba(37, 211, 102, 0); }
}

.whatsapp-float {
  animation: whatsappPulse 2s ease infinite;
}

.btn:active {
  transform: scale(0.97) !important;
}

/* === 9. Tabela comparativa melhorada === */
.comparison-table tr:nth-child(even) td {
  background: var(--gray-50);
}

.comparison-table th.iptv-col,
.comparison-table td.iptv-col {
  background: rgba(30, 109, 235, 0.08);
  font-weight: 600;
  color: var(--primary-700);
}

.comparison-table th.iptv-col {
  background: var(--primary-600);
  color: white;
}

/* === 10. Navbar underline animation === */
.navbar-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--accent-gradient);
  transition: all 0.3s ease;
  transform: translateX(-50%);
  border-radius: 1px;
}

.navbar-nav a:hover::after,
.navbar-nav a.active::after {
  width: 60%;
}

/* === 11. Devices Grid === */
.devices-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}

.device-item {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 32px 16px;
  text-align: center;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--gray-100);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.device-item:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-strong);
}

.device-item .device-icon {
  width: 56px;
  height: 56px;
  background: var(--accent-light);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: var(--primary-600);
  transition: var(--transition);
}

.device-item:hover .device-icon {
  background: var(--accent-gradient);
  color: var(--white);
  transform: scale(1.1);
}

.device-item .device-icon svg {
  width: 24px;
  height: 24px;
}

.device-item h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-900);
}

.device-item p {
  font-size: 12px;
  color: var(--gray-500);
  margin-top: 4px;
}

/* === Compare Grid (IPTV vs TV a Cabo) === */
.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}

.compare-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 40px 32px;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--gray-100);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.compare-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-strong);
}

.compare-card.compare-winner {
  border-color: var(--primary-300);
  box-shadow: var(--shadow-medium), 0 0 0 2px rgba(30, 109, 235, 0.1);
}

.compare-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 20px;
}

.compare-winner .compare-badge {
  background: var(--accent-gradient);
  color: var(--white);
}

.compare-card:not(.compare-winner) .compare-badge {
  background: var(--gray-100);
  color: var(--gray-600);
}

.compare-card h3 {
  font-size: 24px;
  margin-bottom: 8px;
}

.compare-price {
  font-size: 14px;
  color: var(--gray-500);
  margin-bottom: 24px;
}

.compare-price strong {
  font-size: 28px;
  font-weight: 700;
  color: var(--primary-900);
}

.compare-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.compare-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--gray-700);
}

.compare-features li svg {
  width: 18px;
  height: 18px;
  min-width: 18px;
}

.compare-features li .check { color: var(--success); }
.compare-features li .cross { color: var(--gray-300); }

/* === Guarantees grid === */
.guarantees-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.guarantee-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--gray-100);
  transition: var(--transition);
}

.guarantee-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-medium);
}

.guarantee-card .guarantee-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #22C55E, #16A34A);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: var(--white);
}

.guarantee-card .guarantee-icon svg {
  width: 24px;
  height: 24px;
}

.guarantee-card h4 {
  font-size: 16px;
  margin-bottom: 8px;
}

.guarantee-card p {
  font-size: 13px;
  color: var(--gray-600);
  line-height: 1.6;
}

/* === SEO text block === */
.seo-text-block {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 48px;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--gray-100);
  max-width: 900px;
  margin: 0 auto;
}

.seo-text-block h2 {
  font-size: 28px;
  margin-bottom: 24px;
}

.seo-text-block h3 {
  font-size: 20px;
  margin-top: 24px;
  margin-bottom: 12px;
}

.seo-text-block p {
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 16px;
}

.seo-text-block ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 16px;
}

.seo-text-block ul li {
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 6px;
}

/* === Responsive updates for new components === */
@media (max-width: 1024px) {
  .devices-grid { grid-template-columns: repeat(3, 1fr); }
  .compare-grid { grid-template-columns: 1fr; max-width: 500px; }
  .guarantees-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .devices-grid { grid-template-columns: repeat(2, 1fr); }
  .seo-text-block { padding: 28px; }
}

@media (max-width: 640px) {
  .devices-grid { grid-template-columns: repeat(2, 1fr); }
  .guarantees-grid { grid-template-columns: 1fr; }
}

/* === Directory icons === */
.directory-column h4 {
  display: flex;
  align-items: center;
  gap: 8px;
}

.directory-column h4 svg {
  width: 16px;
  height: 16px;
  color: var(--primary-600);
}
