/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Logo palette: purple → teal → mint */
  --purple:      #6B5AED;
  --teal:        #00C4D4;
  --mint:        #00E8C0;
  --teal-mid:    #00D4C8;

  --gradient:    linear-gradient(135deg, #6B5AED 0%, #00C4D4 60%, #00E8C0 100%);
  --gradient-h:  linear-gradient(135deg, #5A48D4 0%, #00a8b8 60%, #00cca8 100%);

  /* Light theme */
  --bg:          #f5feff;
  --bg-alt:      #edfbfd;
  --bg-white:    #ffffff;
  --card:        #ffffff;
  --border:      rgba(0,196,212,0.2);
  --shadow:      0 4px 30px rgba(0,196,212,0.12);
  --shadow-lg:   0 12px 50px rgba(0,196,212,0.2);

  --text:        #1a2e38;
  --text-muted:  #5a7a84;
  --text-light:  #8ba8b2;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow);
}

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

.accent { color: var(--teal); }

.section-tag {
  display: inline-block;
  background: linear-gradient(135deg, rgba(107,90,237,.1), rgba(0,196,212,.1));
  border: 1px solid rgba(0,196,212,0.3);
  color: var(--teal);
  padding: .35rem 1rem;
  border-radius: 50px;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--text);
}

.section-sub { color: var(--text-muted); max-width: 560px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 3.5rem; }

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-block;
  background: var(--gradient);
  color: #fff;
  padding: .85rem 2rem;
  border-radius: 50px;
  font-weight: 700;
  text-decoration: none;
  transition: all .3s;
  box-shadow: 0 6px 24px rgba(0,196,212,0.35);
  border: none; cursor: pointer;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 10px 35px rgba(0,196,212,0.5); }

.btn-outline {
  display: inline-block;
  border: 2px solid var(--teal);
  color: var(--teal);
  padding: .85rem 2rem;
  border-radius: 50px;
  font-weight: 700;
  text-decoration: none;
  transition: all .3s;
  background: transparent;
}
.btn-outline:hover { background: var(--teal); color: #fff; }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 1rem 0;
  transition: all .4s;
  background: transparent;
}
.navbar.scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 20px rgba(0,196,212,0.1);
  padding: .6rem 0;
}
.nav-container {
  max-width: 1200px; margin: 0 auto; padding: 0 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; gap: .6rem; text-decoration: none; }
#logo-img { height: 40px; width: auto; }
.nav-brand { font-size: 1.25rem; font-weight: 800; color: var(--text); }
.nav-links { display: flex; align-items: center; gap: 2rem; list-style: none; }
.nav-link { color: var(--text-muted); text-decoration: none; font-weight: 500; transition: color .3s; }
.nav-link:hover { color: var(--teal); }
.nav-cta {
  background: var(--gradient); color: #fff;
  padding: .5rem 1.4rem; border-radius: 50px;
  font-weight: 700; text-decoration: none; transition: all .3s;
  box-shadow: 0 4px 15px rgba(0,196,212,0.3);
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(0,196,212,0.5); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: .3rem; }
.nav-toggle span { width: 25px; height: 2px; background: var(--text); border-radius: 2px; transition: all .3s; display: block; }

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
  padding: 6rem 1.5rem 4rem;
  background: linear-gradient(160deg, #ffffff 0%, #e8fafb 40%, #d4f5f8 100%);
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 80% 20%, rgba(107,90,237,.08) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 20% 80%, rgba(0,232,192,.08) 0%, transparent 60%),
    radial-gradient(ellipse 80% 50% at 50% 50%, rgba(0,196,212,.06) 0%, transparent 70%);
}
.hero-particles { position: absolute; inset: 0; pointer-events: none; }
.particle {
  position: absolute; border-radius: 50%;
  background: var(--teal);
  animation: floatUp linear infinite;
}
@keyframes floatUp {
  0% { transform: translateY(100vh); opacity: 0; }
  10% { opacity: .25; }
  90% { opacity: .25; }
  100% { transform: translateY(-10vh); opacity: 0; }
}
.hero-content { position: relative; z-index: 2; text-align: center; max-width: 820px; }
.hero-badge {
  display: inline-block;
  background: linear-gradient(135deg, rgba(107,90,237,.1), rgba(0,196,212,.1));
  border: 1px solid rgba(0,196,212,0.35);
  color: var(--purple);
  padding: .4rem 1.2rem; border-radius: 50px;
  font-size: .85rem; font-weight: 700;
  margin-bottom: 1.5rem;
  animation: fadeInDown .8s ease;
}
.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900; line-height: 1.1;
  color: var(--text);
  margin-bottom: 1.2rem;
  animation: fadeInUp .8s .2s ease both;
}
.hero-subtitle {
  font-size: 1.15rem; color: var(--text-muted);
  max-width: 540px; margin: 0 auto 2rem;
  animation: fadeInUp .8s .4s ease both;
}
.hero-actions {
  display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap;
  margin-bottom: 3rem;
  animation: fadeInUp .8s .6s ease both;
}
.hero-stats {
  display: flex; align-items: center; justify-content: center; gap: 2rem; flex-wrap: wrap;
  animation: fadeInUp .8s .8s ease both;
}
.stat-item { text-align: center; }
.stat-number { display: block; font-size: 1.6rem; font-weight: 800; background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.stat-label { font-size: .8rem; color: var(--text-muted); }
.stat-divider { width: 1px; height: 40px; background: var(--border); }
.hero-scroll {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  text-align: center; color: var(--text-muted); font-size: .8rem;
  animation: bounce 2s infinite; z-index: 2;
}
.scroll-arrow {
  width: 20px; height: 20px;
  border-right: 2px solid var(--teal);
  border-bottom: 2px solid var(--teal);
  transform: rotate(45deg); margin: .4rem auto 0;
}
@keyframes bounce { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(8px)} }
@keyframes fadeInDown { from{opacity:0;transform:translateY(-20px)} to{opacity:1;transform:translateY(0)} }
@keyframes fadeInUp { from{opacity:0;transform:translateY(30px)} to{opacity:1;transform:translateY(0)} }

/* ===== ABOUT ===== */
.about { padding: 7rem 0; background: var(--bg-white); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.about-visual { position: relative; }
.about-card { padding: 2.5rem; text-align: center; }
.about-logo-wrap { margin-bottom: 1.5rem; }
.about-logo { max-width: 130px; }
.logo-fallback {
  width: 100px; height: 100px; border-radius: 50%;
  background: var(--gradient);
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; font-weight: 900; color: #fff; margin: 0 auto;
}
.about-badge-wrap { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; }
.badge-item {
  background: linear-gradient(135deg, rgba(107,90,237,.08), rgba(0,196,212,.08));
  border: 1px solid var(--border);
  padding: .4rem .9rem; border-radius: 50px;
  font-size: .8rem; font-weight: 600; color: var(--teal);
}
.floating-card {
  position: absolute;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px; padding: .8rem 1.2rem;
  display: flex; align-items: center; gap: .8rem;
  box-shadow: var(--shadow-lg);
}
.floating-card strong { display: block; font-size: .85rem; color: var(--text); }
.floating-card small { font-size: .72rem; color: var(--text-muted); }
.fc-icon { font-size: 1.5rem; }
.fc1 { top: -20px; right: -20px; animation: floatCard 3s ease-in-out infinite; }
.fc2 { bottom: -20px; left: -20px; animation: floatCard 3s ease-in-out infinite .5s; }
@keyframes floatCard { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }
.about-desc { color: var(--text-muted); margin-bottom: 1.5rem; line-height: 1.8; }
.about-list { list-style: none; margin-bottom: 2rem; }
.about-list li { padding: .5rem 0; color: var(--text-muted); display: flex; align-items: center; gap: .8rem; border-bottom: 1px solid #f0f8fa; }
.check { color: var(--teal); font-weight: 700; font-size: 1rem; }

/* ===== SERVICES ===== */
.services { padding: 7rem 0; background: var(--bg-alt); }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.service-card { padding: 2rem; text-align: center; transition: all .4s; cursor: default; }
.service-card:hover { transform: translateY(-8px); border-color: var(--teal); box-shadow: 0 20px 50px rgba(0,196,212,0.2); }
.svc-icon { font-size: 2.8rem; margin-bottom: 1rem; display: block; }
.service-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: .7rem; color: var(--text); }
.service-card p { color: var(--text-muted); font-size: .9rem; line-height: 1.7; margin-bottom: 1rem; }
.svc-tag {
  display: inline-block;
  background: linear-gradient(135deg, rgba(107,90,237,.1), rgba(0,196,212,.1));
  border: 1px solid var(--border);
  color: var(--purple); padding: .25rem .8rem;
  border-radius: 50px; font-size: .75rem; font-weight: 700;
}

/* ===== PLANS ===== */
.plans { padding: 7rem 0; background: var(--bg-white); }
.plans-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.5rem; margin-bottom: 2rem; }
.plan-card { padding: 2.2rem; text-align: center; position: relative; transition: all .4s; }
.plan-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.plan-featured {
  border: 2px solid var(--teal) !important;
  box-shadow: 0 16px 50px rgba(0,196,212,0.2) !important;
  background: linear-gradient(160deg, #f0fdff, #e6f9fb) !important;
}
.plan-badge-top {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--gradient); color: #fff;
  padding: .3rem 1rem; border-radius: 50px;
  font-size: .75rem; font-weight: 700; white-space: nowrap;
}
.plan-icon { font-size: 2.5rem; margin-bottom: 1rem; display: block; }
.plan-name { font-size: 1.1rem; font-weight: 700; margin-bottom: .7rem; color: var(--text); }
.plan-desc { color: var(--text-muted); font-size: .88rem; margin-bottom: 1.5rem; line-height: 1.6; }
.plan-features { list-style: none; margin-bottom: 2rem; text-align: left; }
.plan-features li { padding: .4rem 0; font-size: .88rem; color: var(--text-muted); border-bottom: 1px solid #f0f8fa; }
.btn-plan {
  display: inline-block; width: 100%;
  border: 2px solid var(--teal); color: var(--teal);
  padding: .75rem 1rem; border-radius: 50px; font-weight: 700;
  text-decoration: none; transition: all .3s; font-size: .9rem; background: transparent;
}
.btn-plan:hover { background: var(--teal); color: #fff; }
.btn-plan-featured { background: var(--gradient); border: none; color: #fff !important; }
.btn-plan-featured:hover { opacity: .9; }
.plans-note { text-align: center; color: var(--text-muted); font-size: .9rem; }

/* ===== COVERAGE ===== */
.coverage { padding: 7rem 0; background: var(--bg-alt); }
.coverage-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.coverage-desc { color: var(--text-muted); margin-bottom: 1.5rem; line-height: 1.8; }
.coverage-areas { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 2rem; }
.area-chip {
  background: #fff; border: 1px solid var(--border);
  color: var(--text); padding: .4rem .9rem;
  border-radius: 50px; font-size: .85rem;
  box-shadow: 0 2px 8px rgba(0,196,212,0.1);
}
.map-container { height: 380px; overflow: hidden; position: relative; padding: 0; }
.map-container iframe { width:100%; height:100%; border-radius: 20px; }
.map-overlay {
  position: absolute; bottom: 1rem; left: 50%; transform: translateX(-50%);
  background: rgba(255,255,255,0.9);
  border: 1px solid var(--border); border-radius: 50px;
  padding: .4rem 1rem; display: flex; align-items: center; gap: .5rem;
  font-size: .85rem; font-weight: 700; color: var(--text);
  backdrop-filter: blur(10px); white-space: nowrap;
  box-shadow: var(--shadow);
}

/* ===== WHY ===== */
.why { padding: 7rem 0; background: var(--bg-white); }
.why-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; }
.why-item {
  text-align: center; padding: 2rem 1.5rem;
  background: var(--bg-alt); border: 1px solid var(--border); border-radius: 20px;
  transition: all .4s;
}
.why-item:hover { border-color: var(--teal); transform: translateY(-5px); box-shadow: 0 16px 40px rgba(0,196,212,0.15); }
.why-icon { font-size: 2.5rem; margin-bottom: 1rem; display: block; }
.why-item h4 { font-size: 1rem; font-weight: 700; margin-bottom: .6rem; color: var(--text); }
.why-item p { color: var(--text-muted); font-size: .88rem; line-height: 1.6; }

/* ===== CONTACT ===== */
.contact { padding: 7rem 0; background: linear-gradient(160deg, #edfbfd 0%, #f5f0ff 100%); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 2.5rem; }
.contact-grid-single { grid-template-columns: 1fr; max-width: 800px; margin: 0 auto; }
.contact-info { display: flex; flex-direction: column; gap: 1.2rem; }
.contact-info-row { flex-direction: row; flex-wrap: wrap; justify-content: center; }
.contact-card { padding: 1.5rem; display: flex; flex-direction: column; gap: .5rem; background: #fff; border: 1px solid var(--border); border-radius: 20px; box-shadow: var(--shadow); }
.contact-card-whatsapp { flex: 2; min-width: 300px; align-items: center; text-align: center; padding: 3rem; }
.contact-card-facebook { flex: 1; min-width: 250px; align-items: center; text-align: center; padding: 3rem; }
.contact-icon { font-size: 1.8rem; }
.contact-icon-lg { font-size: 3rem; }
.contact-card-title { font-size: 1.8rem; margin: 1rem 0; }
.contact-card-title-sm { font-size: 1.5rem; margin: 1rem 0; }
.contact-card-phone { font-size: 1.1rem; margin-bottom: 0.5rem; }
.contact-card-text { margin-bottom: 2rem; }
.contact-hours {
  font-size: 0.9rem; color: var(--text-muted);
  margin-bottom: 2rem;
  background: rgba(0,0,0,0.2);
  padding: 0.8rem 1.2rem;
  border-radius: 8px;
  display: inline-block;
}
.contact-hours span { display: block; }
.contact-hours span + span { margin-top: 0.3rem; }
.btn-primary-lg { font-size: 1.2rem; padding: 1rem 3rem; }
.btn-contact {
  display: inline-block; border: 1px solid var(--teal);
  color: var(--teal); padding: .5rem 1rem;
  border-radius: 50px; font-size: .8rem; font-weight: 600;
  text-decoration: none; margin-top: .4rem; transition: all .3s; width: fit-content; background: transparent;
}
.btn-contact:hover { background: var(--teal); color: #fff; }

/* Contact Form */
.contact-form-section { max-width: 600px; margin: 3rem auto 0; }
.contact-form-card {
  padding: 2.5rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow);
}
.contact-form-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--text);
  text-align: center;
}
.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: .4rem; }
.form-group label { font-size: .85rem; font-weight: 600; color: var(--text-muted); }
.form-group input, .form-group select, .form-group textarea {
  background: var(--bg-alt); border: 1px solid var(--border); border-radius: 10px;
  padding: .75rem 1rem; color: var(--text); font-family: inherit; font-size: .9rem;
  transition: border-color .3s; outline: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(0,196,212,.1); }
.form-group select option { background: #fff; }
.btn-submit {
  background: var(--gradient); color: #fff;
  padding: .9rem 2rem; border-radius: 50px;
  font-weight: 700; font-size: 1rem; border: none; cursor: pointer; transition: all .3s;
  box-shadow: 0 6px 24px rgba(0,196,212,0.35);
}
.btn-submit:hover { transform: translateY(-2px); box-shadow: 0 10px 35px rgba(0,196,212,0.5); }

.form-success {
  display: none;
  text-align: center;
  padding: 2rem;
  color: #166534;
  background: #f0fdf4;
  border: 1px solid #86efac;
  border-radius: 12px;
  margin-top: 1rem;
}
.form-success-icon {
  display: inline-block;
  width: 48px; height: 48px;
  line-height: 48px;
  border-radius: 50%;
  background: #166534;
  color: #fff;
  font-size: 1.4rem;
  margin-bottom: 1rem;
}
.form-success.show { display: block; }

/* ===== FOOTER ===== */
.footer {
  padding: 4rem 0 0;
  background: linear-gradient(160deg, #0e1a2a 0%, #0a1520 100%);
  border-top: 3px solid transparent;
  border-image: var(--gradient) 1;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand { display: flex; flex-direction: column; gap: .6rem; align-items: flex-start; }
.footer-logo { height: 40px; width: auto; max-width: 250px; object-fit: contain; }
.footer-name { font-size: 1.2rem; font-weight: 800; color: #fff; }
.footer-brand p { color: rgba(255,255,255,0.5); font-size: .88rem; line-height: 1.6; }
.social-links { display: flex; gap: .7rem; margin-top: .5rem; }
.social-btn {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(0,196,212,0.1); border: 1px solid rgba(0,196,212,0.3);
  display: flex; align-items: center; justify-content: center;
  color: var(--teal); text-decoration: none; transition: all .3s;
}
.social-btn:hover { background: var(--gradient); color: #fff; border-color: transparent; }
.footer-links h4, .footer-contact h4 { font-size: .95rem; font-weight: 700; margin-bottom: 1rem; color: #fff; }
.footer-links ul { list-style: none; display: flex; flex-direction: column; gap: .6rem; }
.footer-links a { color: rgba(255,255,255,0.5); text-decoration: none; font-size: .88rem; transition: color .3s; }
.footer-links a:hover { color: var(--teal); }
.footer-contact p { color: rgba(255,255,255,0.5); font-size: .88rem; margin-bottom: .4rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08); padding: 1.5rem 0;
  text-align: center; color: rgba(255,255,255,0.35); font-size: .82rem;
}

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 999;
  width: 60px; height: 60px; border-radius: 50%;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 24px rgba(37,211,102,0.4);
  transition: all .3s; text-decoration: none;
  animation: wapulse 2.5s infinite;
}
.whatsapp-float:hover { transform: scale(1.1); }
@keyframes wapulse {
  0%,100% { box-shadow: 0 6px 24px rgba(37,211,102,0.4); }
  50% { box-shadow: 0 6px 40px rgba(37,211,102,0.7); }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 768px) {
  .nav-links {
    display: none; flex-direction: column;
    position: fixed; top: 0; right: 0; bottom: 0; width: 280px;
    background: rgba(255,255,255,0.98); backdrop-filter: blur(20px);
    padding: 5rem 2rem 2rem; gap: 1.5rem;
    border-left: 1px solid var(--border);
    box-shadow: -10px 0 30px rgba(0,0,0,0.1);
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .nav-overlay {
    display: none;
    position: fixed; inset: 0; z-index: 998;
    background: rgba(0,0,0,0.4);
  }
  .nav-overlay.active { display: block; }
  .about-grid, .coverage-grid, .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  /* gamer section responsive rules — see end of file */
  .services-grid, .plans-grid { grid-template-columns: 1fr; }
  .fc1, .fc2 { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero-stats { gap: 1rem; }
  .stat-divider { display: none; }
  .map-container { height: 260px; }
  .why-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .why-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: center; }
}

/* ===== MESH SECTION ===== */
.mesh-section {
  padding: 7rem 0;
  background: linear-gradient(160deg, #f5feff 0%, #d4f5f8 100%);
  border-top: 1px solid var(--border);
}
.mesh-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 4rem;
  align-items: center;
}
.mesh-visual-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: var(--shadow-lg);
  text-align: center;
}
.mesh-visual-card h4 {
  margin-bottom: 2rem;
  color: var(--text);
}
.mesh-comparison {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 1rem;
  margin-bottom: 1rem;
}
.mesh-card-comum {
  flex: 1;
  padding: 1.5rem;
  background: #fdf2f2;
  border: 1px solid #f8b4b4;
  border-radius: 15px;
  display: flex;
  flex-direction: column;
}
.mesh-card-comum strong {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
  color: #c81e1e;
}
.mesh-card-comum-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  flex-grow: 1;
  gap: 1rem;
}
.mesh-card-comum-inner .icon-big { font-size: 2.5rem; }
.mesh-card-comum-inner .icon-small { font-size: 1.5rem; filter: grayscale(1); opacity: 0.5; }
.mesh-card-comum-inner .comum-line {
  height: 60px; width: 40px; position: relative;
}
.mesh-card-comum-inner .comum-line-inner {
  position: absolute; left: 50%; top: 0; bottom: 0;
  width: 2px;
  background: repeating-linear-gradient(to bottom, #f8b4b4 0, #f8b4b4 4px, transparent 4px, transparent 8px);
  transform: translateX(-50%);
}
.mesh-card-comum p { font-size: 0.75rem; color: #777; margin-top: 1.5rem; }
.mesh-vs { font-weight: 800; color: var(--text-muted); align-self: center; }
.mesh-card-mesh {
  flex: 1.5;
  padding: 1.5rem;
  background: #f0fdf4;
  border: 1px solid #86efac;
  border-radius: 15px;
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.mesh-card-mesh > strong {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
  color: #166534;
}
.mesh-card-mesh-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-grow: 1;
  gap: 0.5rem;
  position: relative;
  padding-bottom: 1.5rem;
}
.mesh-card-mesh p { font-size: 0.75rem; color: #777; margin-top: 1.5rem; }
.mesh-device-group { display: flex; flex-direction: column; gap: 10px; z-index: 2; }
.mesh-device-group span { font-size: 1.5rem; }
.mesh-cta { color: var(--teal); font-weight: bold; }

/* ===== MESH ANIMATIONS ===== */
.mesh-pulse {
  position: relative;
  border-radius: 50%;
  animation: pulseMesh 2s infinite;
  background: #fff;
  border: 2px solid var(--teal);
  color: var(--teal);
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0,196,212,0.3);
  z-index: 2;
}

.router-icon {
  width: 24px;
  height: 24px;
}

.wifi-signal {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.wifi-signal span {
  display: block;
  border-top: 3px solid var(--teal);
  border-radius: 50%;
  opacity: 0;
  animation: wifiWave 1.5s infinite;
}
.wifi-signal span:nth-child(1) { width: 24px; height: 12px; animation-delay: 0.4s; }
.wifi-signal span:nth-child(2) { width: 16px; height: 8px; animation-delay: 0.2s; }
.wifi-signal span:nth-child(3) { width: 8px; height: 4px; animation-delay: 0s; border-top-width: 4px; }

@keyframes wifiWave {
  0% { opacity: 0; }
  50% { opacity: 1; }
  100% { opacity: 0; }
}

@keyframes pulseMesh {
  0% { box-shadow: 0 0 0 0 rgba(0, 196, 212, 0.6); }
  70% { box-shadow: 0 0 0 15px rgba(0, 196, 212, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 196, 212, 0); }
}

.mesh-packet-container {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  transform: translateY(-50%);
}

.mesh-packet {
  position: absolute;
  width: 8px;
  height: 8px;
  background-color: var(--teal);
  border-radius: 50%;
  top: -3px;
  box-shadow: 0 0 8px var(--teal);
  animation: sendPacket 2s linear infinite;
}
.mesh-packet-reverse {
  animation-direction: reverse;
  animation-delay: 1s;
}
.mesh-packet-fast {
  animation-duration: 1s;
  animation-delay: 0.5s;
}
.mesh-link-short {
  width: 30px;
}

@keyframes sendPacket {
  0% { left: 0; opacity: 0; transform: scale(0.5); }
  10% { opacity: 1; transform: scale(1); }
  90% { opacity: 1; transform: scale(1); }
  100% { left: calc(100% - 8px); opacity: 0; transform: scale(0.5); }
}

.comum-packet-container {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  transform: translateY(-50%);
}

.comum-packet {
  position: absolute;
  width: 8px;
  height: 8px;
  background-color: #f8b4b4;
  border-radius: 50%;
  top: -3px;
  animation: dropPacket 2s linear infinite;
}

@keyframes dropPacket {
  0% { left: 0; opacity: 0; }
  10% { opacity: 1; }
  40% { opacity: 1; transform: scale(1) translateY(0); }
  50% { left: 50%; opacity: 0; transform: scale(0.5) translateY(10px); }
  100% { left: 50%; opacity: 0; }
}

.mesh-link {
  height: 3px; 
  flex-grow: 1; 
  background: linear-gradient(90deg, rgba(0,232,192,0.2) 0%, rgba(0,196,212,0.8) 50%, rgba(0,232,192,0.2) 100%);
  position: relative;
  margin: 0 10px;
  border-radius: 50px;
}

/* ===== ROAMING DEVICE ===== */
.roaming-device {
  position: absolute;
  bottom: -20px;
  left: 5%;
  font-size: 1.5rem;
  animation: roam 5s ease-in-out infinite alternate;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 3;
}

.roaming-device::before {
  content: "📶";
  font-size: 0.8rem;
  animation: pulseWifi 0.8s infinite alternate;
  margin-bottom: -5px;
  color: var(--teal);
}

@keyframes roam {
  0% { left: 5%; }
  30% { left: 40%; }
  70% { left: 60%; }
  100% { left: 85%; }
}

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

/* ===== CONNECTION BEAMS ===== */
.connection-beam {
  position: absolute;
  top: 80%;
  left: 50%;
  width: 2px;
  background: repeating-linear-gradient(to bottom, var(--teal) 0, var(--teal) 4px, transparent 4px, transparent 8px);
  transform-origin: top center;
  z-index: 1;
}
.beam-left {
  animation: beamLeftAnim 5s ease-in-out infinite alternate;
}
.beam-right {
  animation: beamRightAnim 5s ease-in-out infinite alternate;
}

@keyframes beamLeftAnim {
  0% { opacity: 1; transform: translateX(-50%) rotate(-15deg); height: 45px; }
  30% { opacity: 1; transform: translateX(-50%) rotate(-45deg); height: 60px; }
  45% { opacity: 0; transform: translateX(-50%) rotate(-60deg); height: 80px; }
  100% { opacity: 0; transform: translateX(-50%) rotate(-60deg); height: 80px; }
}

@keyframes beamRightAnim {
  0% { opacity: 0; transform: translateX(-50%) rotate(45deg); height: 80px; }
  45% { opacity: 0; transform: translateX(-50%) rotate(20deg); height: 80px; }
  60% { opacity: 1; transform: translateX(-50%) rotate(0deg); height: 60px; }
  80% { opacity: 1; transform: translateX(-50%) rotate(-30deg); height: 75px; }
  100% { opacity: 1; transform: translateX(-50%) rotate(-50deg); height: 90px; }
}

/* ===== GAMER SECTION ===== */
.gamer {
  padding: 7rem 0;
  background: #0b1120;
  border-top: 2px solid var(--teal);
  position: relative;
  overflow: hidden;
}
.gamer::before {
  content: "";
  position: absolute;
  top: -50%; left: -50%; width: 200%; height: 200%;
  background: radial-gradient(circle at center, rgba(0, 196, 212, 0.05) 0%, transparent 60%);
  pointer-events: none;
}
.gamer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.gamer-tag { background: rgba(0, 196, 212, 0.2); color: #fff; border: 1px solid rgba(0, 196, 212, 0.5); }
.text-white { color: #fff !important; }
.gamer-features { list-style: none; display: flex; flex-direction: column; gap: 1rem; margin-top: 2rem; }
.gamer-features li { display: flex; align-items: center; gap: 1rem; color: rgba(255,255,255,0.9); font-size: 1.05rem; }
.gamer-feat-text { flex: 1; }
.gamer-icon { font-size: 1.5rem; background: rgba(255,255,255,0.1); width: 40px; height: 40px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; border-radius: 10px; }

.gamer-visual { position: relative; display: flex; justify-content: center; }
.ping-card {
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 2rem;
  width: 100%;
  max-width: 400px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
  position: relative;
  z-index: 2;
}
.ping-header { display: flex; align-items: center; gap: 0.5rem; color: rgba(255,255,255,0.6); font-size: 0.85rem; margin-bottom: 2rem; text-transform: uppercase; letter-spacing: 1px; }
.dot-green { width: 10px; height: 10px; border-radius: 50%; background: #10b981; box-shadow: 0 0 10px #10b981; animation: blink 2s infinite; }
.ping-stats { display: flex; justify-content: space-between; gap: 1rem; margin-bottom: 2rem; }
.stat-box { display: flex; flex-direction: column; gap: 0.3rem; }
.stat-title { color: rgba(255,255,255,0.5); font-size: 0.8rem; text-transform: uppercase; }
.stat-value { color: #fff; font-size: 1.5rem; font-weight: 800; }
.pulse-text { color: var(--teal); text-shadow: 0 0 15px rgba(0,196,212,0.5); animation: numberPulse 2s infinite alternate; }

.ping-chart { display: flex; align-items: flex-end; gap: 8px; height: 60px; margin-top: 1rem; }
.ping-chart { display: flex; align-items: flex-end; gap: 8px; height: 80px; margin-top: 1rem; }
.bar { flex: 1; background: var(--teal); border-radius: 4px 4px 0 0; opacity: 0.6; transition: opacity 0.3s; }
.bar.active { background: #10b981; opacity: 1; box-shadow: 0 0 10px #10b981; }
.h-80 { height: 80%; } .h-60 { height: 60%; } .h-100 { height: 100%; } .h-40 { height: 40%; } .h-90 { height: 90%; } .h-70 { height: 70%; } .h-85 { height: 85%; }

.floating-gamepad {
  position: absolute;
  top: -30px;
  right: -30px;
  font-size: 4rem;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,0.5));
  animation: floatGamepad 4s ease-in-out infinite;
  z-index: 3;
}

@keyframes numberPulse {
  0% { opacity: 0.8; }
  100% { opacity: 1; text-shadow: 0 0 25px rgba(0,196,212,0.8); }
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
@keyframes riseUp {
  0% { transform: translateY(100%); }
  100% { transform: translateY(0); }
}
@keyframes floatGamepad {
  0% { transform: translateY(0) rotate(-5deg); }
  50% { transform: translateY(-20px) rotate(5deg); }
  100% { transform: translateY(0) rotate(-5deg); }
}

/* ===== GAMER SECTION – RESPONSIVE (must be at end of file) ===== */
@media (max-width: 768px) {
  .gamer {
    padding: 5rem 0;
  }
  .gamer-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .gamer-text {
    padding-bottom: 2rem;
  }
  .gamer-visual {
    justify-content: center;
    width: 100%;
    overflow: visible;
    margin-top: 2rem;
  }
  .ping-card {
    max-width: 360px;
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
    padding: 1.8rem;
  }
  .ping-chart {
    height: 80px;
  }
  .floating-gamepad { display: none; }
  .gamer-features li { align-items: flex-start; }
}
@media (max-width: 480px) {
  .gamer-features li { font-size: 0.9rem; gap: 0.7rem; }
  .gamer-icon { width: 34px; height: 34px; font-size: 1.2rem; }
  .ping-stats { flex-wrap: wrap; gap: 0.8rem; }
  .stat-value { font-size: 1.2rem; }
}

/* ===== MESH SECTION – RESPONSIVE (must be at end of file) ===== */
@media (max-width: 768px) {
  .mesh-section {
    padding: 5rem 0;
  }
  .mesh-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .mesh-visual-card {
    padding: 1.5rem;
  }
  .mesh-comparison {
    flex-direction: column;
    gap: 0.8rem;
  }
  .mesh-vs {
    align-self: center;
    padding: 0.3rem 1.2rem;
    background: var(--bg-alt);
    border-radius: 50px;
    font-size: 0.85rem;
  }
  .mesh-card-comum {
    min-height: 180px;
    padding: 1.2rem;
  }
  .mesh-card-mesh {
    min-height: 180px;
    padding: 1.2rem;
  }
  .mesh-card-mesh-inner {
    min-height: 100px;
  }
}
