/* Custom styles */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800;900&display=swap');

/* Font family definitions */
body {
  font-family: 'Montserrat', sans-serif;
}

.font-museo {
  font-family: 'Museo', 'Montserrat', sans-serif;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

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

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

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes float {
  0% {
    transform: translateY(0px) rotate(-6deg);
  }
  50% {
    transform: translateY(-10px) rotate(-6deg);
  }
  100% {
    transform: translateY(0px) rotate(-6deg);
  }
}

@keyframes floatReverse {
  0% {
    transform: translateY(0px) rotate(6deg);
  }
  50% {
    transform: translateY(-10px) rotate(6deg);
  }
  100% {
    transform: translateY(0px) rotate(6deg);
  }
}

@keyframes floatCenter {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-5px);
  }
  100% {
    transform: translateY(0px);
  }
}

@keyframes rotateNeedle {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(var(--rotation, 180deg));
  }
}

@keyframes glowPulse {
  0%, 100% {
    box-shadow: 0 0 5px rgba(var(--plan-color-rgb, 220, 38, 38), 0.5);
  }
  50% {
    box-shadow: 0 0 20px rgba(var(--plan-color-rgb, 220, 38, 38), 0.8);
  }
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

@keyframes rotate360 {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes countUp {
  from {
    opacity: 0.3;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes dash {
  to {
    stroke-dashoffset: 1000;
  }
}

/* Connection Lines Animations */
@keyframes connectionFlow1 {
  0% {
    stroke-dashoffset: 1000;
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    stroke-dashoffset: 0;
    opacity: 0;
  }
}

@keyframes connectionFlow2 {
  0% {
    stroke-dashoffset: 800;
    opacity: 0;
  }
  15% {
    opacity: 0.8;
  }
  85% {
    opacity: 0.8;
  }
  100% {
    stroke-dashoffset: 0;
    opacity: 0;
  }
}

@keyframes connectionFlow3 {
  0% {
    stroke-dashoffset: 600;
    opacity: 0;
  }
  20% {
    opacity: 0.6;
  }
  80% {
    opacity: 0.6;
  }
  100% {
    stroke-dashoffset: 0;
    opacity: 0;
  }
}

@keyframes connectionFlow4 {
  0% {
    stroke-dashoffset: 1200;
    opacity: 0;
  }
  12% {
    opacity: 0.7;
  }
  88% {
    opacity: 0.7;
  }
  100% {
    stroke-dashoffset: 0;
    opacity: 0;
  }
}

@keyframes connectionFlow5 {
  0% {
    stroke-dashoffset: 900;
    opacity: 0;
  }
  18% {
    opacity: 0.5;
  }
  82% {
    opacity: 0.5;
  }
  100% {
    stroke-dashoffset: 0;
    opacity: 0;
  }
}

/* Connection Lines Styles */
.connection-lines-layer {
  z-index: 5;
}

.flow-line-1 {
  animation: connectionFlow1 4s ease-in-out infinite;
}

.flow-line-2 {
  animation: connectionFlow2 5s ease-in-out infinite 0.5s;
}

.flow-line-3 {
  animation: connectionFlow3 3.5s ease-in-out infinite 1s;
}

.flow-line-4 {
  animation: connectionFlow4 4.5s ease-in-out infinite 1.5s;
}

.flow-line-5 {
  animation: connectionFlow5 3.8s ease-in-out infinite 2s;
}

/* Professional Neon Wave Animation */
@keyframes neonWaveGlow {
  0%, 100% {
    filter: drop-shadow(0 0 8px #ff0040) drop-shadow(0 0 16px #ff1744) drop-shadow(0 0 24px #ff073a);
  }
  33% {
    filter: drop-shadow(0 0 12px #ff1744) drop-shadow(0 0 20px #ff073a) drop-shadow(0 0 32px #ff2d55);
  }
  66% {
    filter: drop-shadow(0 0 10px #ff073a) drop-shadow(0 0 18px #ff0040) drop-shadow(0 0 28px #ff1744);
  }
}

@keyframes neonPulse {
  0%, 100% {
    opacity: 1;
    filter: drop-shadow(0 0 6px #ff0040) drop-shadow(0 0 12px #ff1744);
  }
  50% {
    opacity: 0.8;
    filter: drop-shadow(0 0 10px #ff1744) drop-shadow(0 0 20px #ff073a);
  }
}

@keyframes dataStreamFlow {
  0% {
    stroke-dashoffset: 1000;
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    stroke-dashoffset: 0;
    opacity: 0;
  }
}

@keyframes particleFloat {
  0% {
    transform: translateX(-50px);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateX(1500px);
    opacity: 0;
  }
}

/* Professional Wave Styles */
.professional-wave {
  animation: neonWaveGlow 4s ease-in-out infinite;
}

.main-wave {
  animation: neonWaveGlow 3s ease-in-out infinite;
}

.connection-pulses circle {
  filter: drop-shadow(0 0 8px #ff0040) drop-shadow(0 0 16px #ff1744);
  animation: neonPulse 2s ease-in-out infinite;
}

.signal-lines path {
  animation: dataStreamFlow 4s ease-in-out infinite;
}

.data-particles circle {
  filter: drop-shadow(0 0 6px #ff0040) drop-shadow(0 0 12px #ff1744);
  animation: particleFloat 12s linear infinite;
}

/* Fixed Header Styles */
header {
  backdrop-filter: blur(8px);
  background-color: rgba(255, 255, 255, 0.95);
}

/* Mobile Menu Styles */
#mobile-menu {
  transition: transform 0.3s ease-in-out;
}

#mobile-menu-button {
  transition: all 0.3s ease;
}

#mobile-menu-button:hover {
  transform: scale(1.1);
}

/* Services Section Icons - Alinhamento diferente para desktop e mobile */
.services-section .fas {
  transition: all 0.3s ease;
  /* DESKTOP: Menor e alinhado à esquerda */
  width: 48px !important;
  height: 48px !important;
  font-size: 48px !important;
  margin: 0 0 1rem 0 !important; /* Alinhado à esquerda no desktop */
  display: block !important;
}

.services-section .fas:hover {
  transform: scale(1.1);
  color: #dc2626;
}

/* Smooth Scroll */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 4rem; /* Account for fixed header */
}

/* Rural Internet Section */
#rural {
  position: relative;
  overflow: hidden;
}

#rural::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.8) 100%);
  z-index: 1;
}

#rural .container {
  position: relative;
  z-index: 2;
}

#rural img {
  transition: transform 0.5s ease;
}

#rural img:hover {
  transform: scale(1.02);
}

/* Telephony Section */
#telephony {
  position: relative;
  overflow: hidden;
}

.telephony-image {
  transition: transform 0.5s ease;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  border: 4px solid white;
}

.telephony-image:hover {
  transform: scale(1.02);
}

/* Apps Section */
#apps {
  position: relative;
  overflow: hidden;
}

#apps .rounded-2xl {
  position: relative;
  overflow: hidden;
}

/* App Icons Styling - Tamanhos corrigidos para mobile */
.app-icon-container {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  border-radius: 50%;
  overflow: hidden;
}

.app-icon {
  width: 48px !important;
  height: 48px !important;
  font-size: 48px !important;
  transition: all 0.3s ease;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Correção específica para o ícone da TV que estava torto */
.app-icon.fa-tv {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  line-height: 1 !important;
  transform: translateX(0) translateY(0) !important;
  position: relative !important;
}

.app-icon-container:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 25px rgba(220, 38, 38, 0.3);
}

/* Device Icons Styling */
.device-icon-container {
  transition: all 0.3s ease;
  padding: 1rem;
  border-radius: 1rem;
}

.device-icon {
  width: 40px !important;
  height: 40px !important;
  font-size: 40px !important;
  transition: all 0.3s ease;
}

.device-icon-container:hover {
  transform: translateY(-5px);
  background-color: rgba(220, 38, 38, 0.05);
}

.device-icon-container:hover .device-icon {
  transform: scale(1.2);
  color: #dc2626;
}

/* Text shadow for better readability on image backgrounds */
.text-shadow {
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Animation for the plus sign */
.animate-pulse {
  animation: pulse 2s infinite ease-in-out;
}

/* Device mockups animations */
#apps .w-24.h-40.-rotate-6 {
  animation: float 6s ease-in-out infinite;
}

#apps .w-24.h-40.rotate-6 {
  animation: floatReverse 6s ease-in-out infinite;
}

#apps .w-48.h-32 {
  animation: floatCenter 5s ease-in-out infinite;
}

/* Backdrop blur for cards */
.backdrop-blur-sm {
  backdrop-filter: blur(4px);
}

/* Map Styles */
#map {
  z-index: 1 !important; /* Ensure map stays below other elements */
}

.leaflet-pane {
  z-index: 1 !important;
}

.leaflet-top, 
.leaflet-bottom {
  z-index: 1 !important;
}

/* Fix for map controls */
.leaflet-control {
  z-index: 1 !important;
}

/* Fix for map attribution */
.leaflet-control-attribution {
  z-index: 1 !important;
}

/* Coverage Map Section */
#coverage-map {
  position: relative;
  z-index: 1;
}

/* Custom styles for map popups */
.leaflet-popup-content-wrapper {
  border-radius: 12px !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
  border: 2px solid #dc2626 !important;
  overflow: hidden !important;
}

.leaflet-popup-content {
  margin: 12px !important;
  min-width: 200px !important;
}

.leaflet-popup-tip {
  background-color: #dc2626 !important;
}

.popup-content h3 {
  color: #dc2626 !important;
  font-size: 16px !important;
  margin-bottom: 8px !important;
  border-bottom: 1px solid #f3f4f6 !important;
  padding-bottom: 6px !important;
}

.popup-content p {
  margin: 6px 0 !important;
  font-size: 14px !important;
  color: #4b5563 !important;
}

/* Footer needs higher z-index than map */
footer {
  position: relative;
  z-index: 2;
}

/* Plans Section Styles */
#plans {
  overflow: hidden;
  position: relative;
}

#plans::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('https://i.imgur.com/eThx19s.jpeg');
  background-size: cover;
  background-position: center;
  opacity: 0.05;
  z-index: 0;
}

#plans .container {
  position: relative;
  z-index: 1;
}

/* Plan Tabs */
.plans-tabs-container {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.5rem;
  margin-bottom: 2rem;
  position: relative;
  z-index: 2;
  padding: 0 1rem;
  width: 100%;
  max-width: 100%;
}

.plan-tab {
  position: relative;
  padding: 0.75rem 0.5rem;
  border-radius: 1rem;
  background-color: white;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  width: 100%;
}

.plan-tab:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.plan-tab.active {
  border-color: var(--plan-color, #dc2626);
  background-color: white;
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
  z-index: 5;
}

.bg-gradient {
  background: linear-gradient(135deg, var(--plan-color, #dc2626), var(--plan-color-light, #ef4444));
}

.plan-tab-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.5rem;
  transition: all 0.3s ease;
}

.plan-tab-icon i {
  width: 24px;
  height: 24px;
  transition: all 0.3s ease;
}

.plan-tab-speed {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1f2937;
  line-height: 1;
}

.plan-tab-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: #6b7280;
  text-transform: uppercase;
}

/* Plan Details Card */
.plan-details-card {
  background: linear-gradient(135deg, var(--plan-color, #dc2626) 0%, var(--plan-color-light, #ef4444) 100%);
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  color: white;
  position: relative;
  z-index: 1;
  animation: fadeIn 0.5s ease-out;
  margin: 0 auto;
  max-width: 90%;
}

.plan-header {
  padding: 2rem 1rem;
  text-align: center;
  position: relative;
}

.plan-badge {
  display: inline-block;
  background-color: rgba(255, 255, 255, 0.2);
  padding: 0.25rem 1rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 1rem;
  backdrop-filter: blur(4px);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.plan-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.plan-content {
  background-color: white;
  padding: 2rem 1.5rem;
  border-radius: 1.5rem 1.5rem 0 0;
  position: relative;
  color: #1f2937;
}

/* Speed Meter */
.plan-speed-meter {
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
}

.speedometer-quality-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, var(--plan-color, #dc2626), var(--plan-color-light, #ef4444));
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  z-index: 20;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  animation: fadeIn 0.5s ease-out 0.5s forwards;
  opacity: 0;
}

.speed-value-container {
  margin-top: 1rem;
}

.speed-value {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--plan-color, #dc2626);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.speed-value-number {
  display: inline-block;
  animation: countUp 0.5s ease-out;
  background: linear-gradient(90deg, var(--plan-color, #dc2626), var(--plan-color-light, #ef4444));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% 100%;
  animation: shimmer 3s infinite linear, countUp 0.5s ease-out;
}

.speed-value-unit {
  font-size: 1rem;
  font-weight: 600;
  color: #6b7280;
  margin-left: 0.25rem;
}

.speed-label {
  font-size: 1rem;
  font-weight: 600;
  color: #4b5563;
  margin-bottom: 1rem;
}

.speed-comparison {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 0.5rem;
}

.speed-comparison-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.comparison-icon {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  animation: pulse 2s infinite ease-in-out;
}

.comparison-icon.download {
  background-color: var(--plan-color, #dc2626);
}

.comparison-icon.upload {
  background-color: var(--plan-color-light, #ef4444);
}

.comparison-value {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1f2937;
  animation: countUp 0.5s ease-out;
}

.comparison-label {
  font-size: 0.875rem;
  color: #6b7280;
}

/* Plan Features */
.plan-features {
  margin-bottom: 2rem;
}

.plan-feature-item {
  display: flex;
  align-items: center;
  padding: 0.75rem 1rem;
  background-color: #f9fafb;
  border-radius: 0.75rem;
  margin-bottom: 0.75rem;
  animation: slideUp 0.4s ease-out forwards;
  opacity: 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.plan-feature-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  background-color: #f3f4f6;
}

.plan-feature-item:nth-child(1) { animation-delay: 0.1s; }
.plan-feature-item:nth-child(2) { animation-delay: 0.2s; }
.plan-feature-item:nth-child(3) { animation-delay: 0.3s; }
.plan-feature-item:nth-child(4) { animation-delay: 0.4s; }
.plan-feature-item:nth-child(5) { animation-delay: 0.5s; }
.plan-feature-item:nth-child(6) { animation-delay: 0.6s; }
.plan-feature-item:nth-child(7) { animation-delay: 0.7s; }

.feature-icon {
  width: 20px;
  height: 20px;
  color: var(--plan-color, #dc2626);
  margin-right: 0.75rem;
  flex-shrink: 0;
}

.plan-cta-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 1rem;
  background-color: var(--plan-color, #dc2626);
  color: white;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 0.75rem;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
}

.plan-cta-button::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: all 0.6s ease;
}

.plan-cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
  filter: brightness(0.9);
}

.plan-cta-button:hover::before {
  left: 100%;
}

.plan-disclaimer {
  text-align: center;
  font-size: 0.75rem;
  color: #6b7280;
  margin-top: 1rem;
  font-style: italic;
}

/* Comparison Table */
.comparison-container {
  margin-top: 3rem;
  overflow: hidden;
  padding: 0 1rem;
}

.comparison-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  padding: 0.5rem 1.5rem;
  background-color: #f3f4f6;
  color: #4b5563;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.comparison-toggle:hover {
  background-color: #e5e7eb;
  color: #1f2937;
}

.comparison-toggle i {
  margin-left: 0.5rem;
  width: 16px;
  height: 16px;
}

.comparison-table-container {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
  width: 100%;
}

.comparison-table-container.expanded {
  max-height: 1000px;
  overflow-x: auto;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1.5rem;
  background-color: white;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  min-width: 650px;
}

.comparison-table th,
.comparison-table td {
  padding: 0.75rem 1rem;
  text-align: center;
  border-bottom: 1px solid #e5e7eb;
}

.comparison-table th {
  background-color: #f9fafb;
  font-weight: 600;
  color: #1f2937;
}

.comparison-table .feature-column {
  text-align: left;
  font-weight: 500;
  background-color: #f9fafb;
  position: sticky;
  left: 0;
  z-index: 10;
  box-shadow: 2px 0 5px rgba(0,0,0,0.05);
}

.comparison-table .highlighted-column {
  background-color: var(--plan-highlight-bg, #fef2f2);
  color: var(--plan-color, #dc2626);
  font-weight: 600;
}

.comparison-table .check-icon {
  color: #10b981;
  width: 16px;
  height: 16px;
  margin: 0 auto;
}

.comparison-table .x-icon {
  color: #ef4444;
  width: 16px;
  height: 16px;
  margin: 0 auto;
}

/* Swipe indicator for mobile */
.swipe-indicator {
  display: none;
  text-align: center;
  margin-top: 0.5rem;
  color: #6b7280;
  font-size: 0.75rem;
  animation: pulse 2s infinite;
}

/* Hero section styles */
.perspective-device {
  perspective: 1000px;
  transform-style: preserve-3d;
}

.device-container {
  position: relative;
  transform: rotateY(-10deg) rotateX(5deg);
  transition: transform 0.5s ease;
}

.device-container:hover {
  transform: rotateY(-5deg) rotateX(2deg);
}

.device-screen {
  border-radius: 2rem;
  border: 10px solid #333;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.device-frame {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border: 10px solid #333;
  border-radius: 2rem;
  pointer-events: none;
}

.device-stripe {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40%;
  height: 25px;
  background-color: #333;
  border-radius: 0 0 1rem 1rem;
}

.device-header {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 10px;
  height: 10px;
  background-color: #666;
  border-radius: 50%;
  z-index: 10;
}

.device-sensors {
  position: absolute;
  top: 10px;
  right: 20%;
  width: 6px;
  height: 6px;
  background-color: #666;
  border-radius: 50%;
  z-index: 10;
}

.device-btns {
  position: absolute;
  top: 60px;
  right: -15px;
  width: 5px;
  height: 30px;
  background-color: #444;
  border-radius: 4px;
  z-index: 10;
}

.device-power {
  position: absolute;
  top: 100px;
  right: -15px;
  width: 5px;
  height: 40px;
  background-color: #444;
  border-radius: 4px;
  z-index: 10;
}

.floating-element-1 {
  animation: float 6s infinite ease-in-out;
}

.floating-element-2 {
  animation: float 8s infinite ease-in-out reverse;
}

.floating-element-3 {
  animation: float 7s infinite ease-in-out;
}

.connection-lines path {
  stroke-dasharray: 10;
  animation: dash 20s linear infinite;
}

.particle {
  position: absolute;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.3);
  pointer-events: none;
}

/* Cookie Notice Banner */
#cookie-notice {
  transition: transform 0.3s ease;
  box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
}

#cookie-notice p {
  margin: 0;
}

#accept-cookies {
  transition: all 0.3s ease;
}

#accept-cookies:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Anti-copy styles */
body {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

img {
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
  user-drag: none;
  pointer-events: none;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .plans-tabs-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    padding: 0 0.5rem;
    margin-bottom: 1.5rem;
  }
  
  .plan-tab {
    padding: 0.5rem 0.25rem;
    min-width: auto;
  }
  
  .plan-tab-icon {
    width: 30px;
    height: 30px;
  }
  
  .plan-tab-icon i {
    width: 18px;
    height: 18px;
  }
  
  .plan-tab-speed {
    font-size: 1rem;
  }
  
  .plan-tab-label {
    font-size: 0.625rem;
  }
  
  .plan-details-card {
    max-width: 100%;
  }
  
  .plan-header {
    padding: 1.5rem 1rem;
  }
  
  .plan-title {
    font-size: 1.75rem;
  }
  
  .plan-content {
    padding: 1.5rem 1rem;
  }
  
  .speed-value {
    font-size: 1.75rem;
  }
  
  .speed-comparison {
    gap: 1rem;
  }
  
  .comparison-icon {
    width: 1.5rem;
    height: 1.5rem;
  }
  
  .comparison-value {
    font-size: 1rem;
  }
  
  .plan-feature-item {
    padding: 0.5rem 0.75rem;
  }
  
  .feature-icon {
    width: 16px;
    height: 16px;
  }
  
  .plan-cta-button {
    padding: 0.75rem;
    font-size: 0.875rem;
  }
  
  .comparison-table {
    font-size: 0.75rem;
  }
  
  .comparison-table th,
  .comparison-table td {
    padding: 0.5rem;
  }
  
  .swipe-indicator {
    display: block;
  }
  
  .comparison-toggle {
    font-size: 0.75rem;
    padding: 0.5rem 1rem;
  }
  
  #cookie-notice {
    padding: 1rem;
  }
  
  #cookie-notice .container {
    flex-direction: column;
    text-align: center;
  }
  
  #cookie-notice p {
    margin-bottom: 1rem;
  }

  /* Mobile app icons adjustments - MAIORES NO MOBILE */
  .app-icon-container {
    width: 100px;
    height: 100px;
  }

  .app-icon {
    width: 64px !important;
    height: 64px !important;
    font-size: 64px !important;
  }

  /* Mobile device icons adjustments */
  .device-icon {
    width: 48px !important;
    height: 48px !important;
    font-size: 48px !important;
  }

  /* ÍCONES DA SEÇÃO NOSSOS SERVIÇOS - CENTRALIZADOS NO MOBILE */
  .services-section .fas {
    width: 60px !important;
    height: 60px !important;
    font-size: 60px !important;
    margin: 0 auto 1rem auto !important; /* Centralizado no mobile */
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
}

@media (max-width: 480px) {
  .plans-tabs-container {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.35rem;
    padding: 0 0.25rem;
  }
  
  .plan-tab {
    padding: 0.35rem 0.25rem;
    border-radius: 0.75rem;
  }
  
  .plan-tab-icon {
    width: 28px;
    height: 28px;
    margin-bottom: 0.25rem;
  }
  
  .plan-tab-icon i {
    width: 16px;
    height: 16px;
  }
  
  .plan-tab-speed {
    font-size: 0.875rem;
  }
  
  .plan-tab-label {
    font-size: 0.5rem;
  }
  
  .plan-title {
    font-size: 1.5rem;
  }
  
  .speed-value {
    font-size: 1.5rem;
  }
  
  .speed-comparison {
    flex-direction: column;
    gap: 0.5rem;
  }

  /* Small mobile app icons - AINDA MAIORES */
  .app-icon-container {
    width: 120px;
    height: 120px;
  }

  .app-icon {
    width: 80px !important;
    height: 80px !important;
    font-size: 80px !important;
  }

  /* Small mobile device icons */
  .device-icon {
    width: 56px !important;
    height: 56px !important;
    font-size: 56px !important;
  }

  /* ÍCONES DA SEÇÃO NOSSOS SERVIÇOS - AINDA MAIORES EM TELAS PEQUENAS */
  .services-section .fas {
    width: 80px !important;
    height: 80px !important;
    font-size: 80px !important;
    margin: 0 auto 1.5rem auto !important; /* Centralizado no mobile */
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .plan-slide,
  .plan-feature,
  .plan-price,
  .plan-button,
  .speed-badge,
  .plan-feature-item,
  .speed-needle,
  .speed-value-number,
  .speed-dial-gradient {
    animation: none;
    opacity: 1;
    transition: none;
  }

  #mobile-menu,
  #mobile-menu-button {
    transition: none;
  }
  
  html {
    scroll-behavior: auto;
  }
  
  #apps .w-24.h-40.-rotate-6,
  #apps .w-24.h-40.rotate-6,
  #apps .w-48.h-32 {
    animation: none;
  }
  
  #cookie-notice {
    transition: none;
  }

  .professional-wave,
  .main-wave,
  .data-flow-layer,
  .connection-pulses,
  .signal-lines,
  .data-particles {
    animation: none;
  }
}

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