
:root {
  --bg: #070313;
  --surface: rgba(24, 10, 46, 0.72);
  --surface-strong: rgba(34, 14, 62, 0.92);
  --line: rgba(219, 178, 255, 0.12);
  --line-strong: rgba(219, 178, 255, 0.2);
  --text: #f5ebff;
  --muted: #c8b6e5;
  --primary: #a55bff;
  --primary-2: #7d36ff;
  --shadow: 0 18px 60px rgba(0, 0, 0, 0.34);
  --radius: 24px;
  --container: 1180px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at top center, rgba(121, 50, 255, 0.14), transparent 36%),
    linear-gradient(180deg, #070313 0%, #090214 100%);
  font-family: "Inter", sans-serif;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.container { width: min(calc(100% - 32px), var(--container)); margin: 0 auto; }
.section { position: relative; padding: 88px 0; }
.section-alt { background: linear-gradient(180deg, rgba(23, 9, 42, 0.34), rgba(14, 6, 28, 0.22)); }

.bg-grid {
  position: fixed; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: radial-gradient(circle at center, rgba(0,0,0,0.88), transparent 90%);
  pointer-events: none; z-index: -3;
}
.bg-glow { position: fixed; border-radius: 50%; filter: blur(90px); pointer-events: none; z-index: -2; }
.glow-a { width: 360px; height: 360px; top: 90px; left: -100px; background: rgba(176, 82, 255, 0.18); }
.glow-b { width: 420px; height: 420px; right: -130px; bottom: 50px; background: rgba(102, 41, 255, 0.16); }

.site-loader {
  position: fixed; inset: 0; display: grid; place-items: center;
  background: rgba(6, 2, 14, 0.98); z-index: 1000;
  transition: opacity .45s ease, visibility .45s ease;
}
.site-loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-core { position: relative; width: 86px; height: 86px; }
.loader-ring, .loader-dot { position: absolute; inset: 0; border-radius: 999px; }
.loader-ring {
  border: 3px solid rgba(255, 255, 255, 0.05);
  border-top-color: rgba(220, 182, 255, 0.95);
  border-right-color: rgba(165, 91, 255, 0.45);
  animation: spin 1s linear infinite;
  box-shadow: 0 0 24px rgba(165, 91, 255, 0.15);
}
.loader-dot {
  inset: 34px;
  background: linear-gradient(135deg, #e7c7ff, #9e4fff);
  box-shadow: 0 0 20px rgba(165, 91, 255, 0.42);
  animation: pulse 1.6s ease-in-out infinite;
}

.site-header { position: sticky; top: 0; z-index: 50; padding-top: 16px; }
.nav-shell {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 14px 18px; border: 1px solid var(--line); border-radius: 24px;
  background: rgba(11, 5, 24, 0.68); backdrop-filter: blur(14px); box-shadow: var(--shadow);
  margin-top: 12px; transition: .28s var(--ease);
}
.site-header.is-scrolled .nav-shell {
  background: rgba(11, 5, 24, 0.9);
  border-color: rgba(219, 178, 255, 0.18);
}

.brand { display: inline-flex; align-items: center; gap: 14px; min-width: 0; }
.brand-photo {
  width: 56px; height: 56px; border-radius: 18px; overflow: hidden;
  border: 1px solid rgba(231, 202, 255, 0.22);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.04) inset, 0 0 24px rgba(165, 91, 255, 0.18);
  animation: floatSoft 4s ease-in-out infinite; position: relative;
}
.brand-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; }
.brand-copy { min-width: 0; }
.brand-copy strong {
  position: relative; display: inline-block; font-size: 1.1rem; overflow: hidden;
}
.brand-copy strong::after {
  content: ""; position: absolute; top: 0; left: -35%; width: 30%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), rgba(255,255,255,0.65), transparent);
  transform: skewX(-18deg); animation: shine 4.6s ease-in-out infinite;
}
.brand-copy small { display: block; color: var(--muted); margin-top: 4px; }

.menu { display: flex; align-items: center; gap: 8px; }
.menu a {
  position: relative; padding: 12px 14px; border-radius: 16px; color: var(--muted);
  transition: .22s var(--ease); border: 1px solid transparent;
}
.menu a:hover, .menu a.is-active {
  color: var(--text); transform: translateY(-1px);
  background: linear-gradient(135deg, rgba(165, 91, 255, 0.14), rgba(125, 54, 255, 0.06));
  border-color: rgba(219, 178, 255, 0.14);
  box-shadow: 0 0 22px rgba(165, 91, 255, 0.12);
}
.menu-contact {
  color: var(--text) !important;
  background: linear-gradient(135deg, rgba(165, 91, 255, 0.28), rgba(125, 54, 255, 0.18));
  border-color: rgba(219, 178, 255, 0.2) !important;
}
.menu-toggle {
  display: none; width: 48px; height: 48px; border: 1px solid var(--line);
  border-radius: 16px; background: rgba(20, 9, 38, 0.9); color: white; padding: 0; cursor: pointer;
}
.menu-toggle span {
  display: block; width: 20px; height: 2px; background: white; margin: 4px auto; border-radius: 999px;
}

.hero-grid, .about-grid, .contact-grid, .support-grid {
  display: grid; gap: 28px; align-items: center;
}
.hero-grid, .contact-grid { grid-template-columns: 1.02fr .98fr; }
.about-grid, .support-grid { grid-template-columns: .95fr 1.05fr; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px;
  border-radius: 999px; color: #ecd8ff; border: 1px solid rgba(219, 178, 255, 0.14);
  background: rgba(165, 91, 255, 0.08); font-size: .86rem; font-weight: 700;
  letter-spacing: .03em; margin-bottom: 16px;
}
.hero-copy h1, .section-heading h2 {
  margin: 0 0 14px; line-height: 1.06; font-size: clamp(2.1rem, 5vw, 4.4rem);
}
.section-heading h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
.hero-text, .section-heading p, .glass-card p, .service-card p, .price-card p, .stat-card p, .contact-link {
  color: var(--muted); line-height: 1.72;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px;
  padding: 0 22px; border-radius: 18px; font-weight: 700; transition: .22s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  color: white; background: linear-gradient(135deg, rgba(165, 91, 255, 0.98), rgba(125, 54, 255, 0.95));
  box-shadow: 0 0 26px rgba(165, 91, 255, 0.24);
}
.btn-outline { border: 1px solid rgba(219, 178, 255, 0.18); background: rgba(18, 8, 35, 0.72); }

.quick-highlights, .stats-grid, .about-panels, .service-grid, .plans-grid, .support-cards {
  display: grid; gap: 18px;
}
.quick-highlights, .stats-grid, .plans-grid { grid-template-columns: repeat(3, 1fr); }
.about-panels, .support-cards { grid-template-columns: repeat(3, 1fr); }
.service-grid { grid-template-columns: repeat(3, 1fr); margin-top: 34px; }

.mini-card, .stat-card, .glass-card, .service-card, .price-card, .panel {
  position: relative; overflow: hidden; padding: 22px; border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(25, 10, 48, 0.92), rgba(11, 5, 24, 0.9));
  box-shadow: var(--shadow); transition: .28s var(--ease);
}
.mini-card::before, .stat-card::before, .glass-card::before, .service-card::before, .price-card::before, .panel::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(179, 103, 255, 0.18), transparent 26%);
  opacity: 0; transition: opacity .22s ease; pointer-events: none;
}
.mini-card:hover, .stat-card:hover, .glass-card:hover, .service-card:hover, .price-card:hover, .panel:hover {
  transform: translateY(-6px); border-color: var(--line-strong);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.36), 0 0 26px rgba(165, 91, 255, 0.16);
}
.mini-card:hover::before, .stat-card:hover::before, .glass-card:hover::before,
.service-card:hover::before, .price-card:hover::before, .panel:hover::before { opacity: 1; }
.mini-card strong, .stat-card h3, .glass-card strong, .service-card h3, .price-card h3 {
  display: block; margin-bottom: 8px; font-size: 1.1rem;
}
.mini-card span, .chip, .plan-badge { color: var(--muted); }

.service-card {
  padding: 20px;
}

.service-card img {
  display: block;
  width: 100%;
  max-width: 200px;
  height: auto;
  margin: 0 auto 18px;
  object-fit: contain;
  opacity: .98;
  filter: drop-shadow(0 0 8px rgba(181, 103, 255, 0.18));
  transition: transform .28s ease, filter .28s ease, opacity .28s ease;
  transform-origin: center;
}

.service-card:hover img {
  transform: scale(1.02);
  filter: drop-shadow(0 0 12px rgba(181, 103, 255, 0.22));
}
.chip, .plan-badge {
  display: inline-flex; padding: 7px 12px; border-radius: 999px; border: 1px solid rgba(219, 178, 255, 0.14);
  background: rgba(165, 91, 255, 0.08); font-size: .8rem; font-weight: 700; margin-bottom: 14px;
}

.terminal-card { padding: 0; }
.terminal-header {
  display: flex; align-items: center; gap: 10px; padding: 18px 20px; border-bottom: 1px solid var(--line);
}
.dot { width: 11px; height: 11px; border-radius: 50%; }
.red { background: #ff5f57; } .yellow { background: #febc2e; } .green { background: #28c840; }
.terminal-title { margin-left: 6px; color: #d8c6f3; font-family: "Orbitron", sans-serif; font-size: .92rem; }
.terminal-screen {
  position: relative; min-height: 410px; padding: 24px; overflow: hidden;
  background:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(180deg, #040814 0%, #050a12 100%);
  background-size: 28px 28px, 28px 28px, auto;
  font-family: "Orbitron", monospace; font-size: .98rem;
}
.terminal-scan {
  position: absolute; inset: 0; background: linear-gradient(to bottom, transparent, rgba(108, 255, 166, 0.04), transparent);
  animation: scan 5.2s linear infinite; pointer-events: none;
}
.terminal-lines { position: relative; z-index: 1; }
.terminal-line { color: #f2f7ff; margin: 0 0 12px; line-height: 1.7; }
.terminal-line .prompt { color: #adffca; }
.terminal-line .status { color: #63ff9b; }
.terminal-line.caret::after {
  content: ""; display: inline-block; width: 10px; height: 18px; margin-left: 6px; background: #9cffb7;
  vertical-align: -3px; box-shadow: 0 0 14px rgba(156, 255, 183, 0.55); animation: blink 1s steps(1) infinite;
}
.terminal-tags {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 18px; border-top: 1px solid var(--line);
}
.tag-card { padding: 18px 16px; border-radius: 20px; border: 1px solid var(--line); background: rgba(21, 9, 40, 0.66); }
.tag-card strong { display: block; margin-bottom: 6px; }
.tag-card span { color: var(--muted); font-size: .95rem; }

.center { text-align: center; }
.plans-grid { margin-top: 34px; }
.price-card ul { padding-left: 18px; margin: 18px 0 0; color: var(--muted); line-height: 1.8; }
.price-card.featured {
  border-color: rgba(219, 178, 255, 0.24);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.36), 0 0 34px rgba(165, 91, 255, 0.2);
}

.contact-list { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }
.contact-link {
  width: fit-content; padding: 10px 14px; border: 1px solid var(--line);
  border-radius: 14px; background: rgba(18, 8, 35, 0.52); transition: .22s var(--ease);
}
.contact-link:hover {
  border-color: rgba(219, 178, 255, 0.22);
  box-shadow: 0 0 18px rgba(165, 91, 255, 0.1);
}

.whatsapp-wrap { display: block; }
.whatsapp-float {
  position: relative; display: inline-flex; flex-direction: column; align-items: flex-end; gap: 12px;
  overflow: visible;
}
.whatsapp-side {
  position: fixed; right: 22px; bottom: 22px; z-index: 80;
}
.whatsapp-chat-card {
  width: min(100%, 360px); padding: 18px; border-radius: 26px; border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(19, 8, 37, 0.95), rgba(10, 4, 22, 0.98));
  box-shadow: var(--shadow), 0 0 26px rgba(165, 91, 255, 0.14);
}
.whatsapp-chat-side {
  width: 320px; display: block; margin: 0;
  opacity: 0; visibility: hidden; transform: translateY(18px) scale(.96); pointer-events: none;
  transition: opacity .42s var(--ease), transform .42s var(--ease), visibility .42s var(--ease);
  transform-origin: bottom right;
}
.whatsapp-chat-side.is-visible {
  opacity: 1; visibility: visible; transform: translateY(0) scale(1); pointer-events: auto;
}
.whatsapp-side.is-open::before {
  opacity: 1;
}
.whatsapp-side::before {
  content: ""; position: absolute; right: 18px; bottom: 98px; width: 14px; height: 14px;
  background: rgba(20, 9, 38, 0.98);
  border-right: 1px solid rgba(219, 178, 255, 0.14);
  border-bottom: 1px solid rgba(219, 178, 255, 0.14);
  transform: rotate(45deg); opacity: 0; transition: opacity .3s ease;
}
.whatsapp-top { display: flex; align-items: center; gap: 14px; }
.whatsapp-avatar {
  width: 48px; height: 48px; min-width: 48px; border-radius: 16px; overflow: hidden;
  border: 1px solid rgba(219, 178, 255, 0.18); box-shadow: 0 0 18px rgba(165, 91, 255, 0.15);
}
.whatsapp-avatar img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; }
.whatsapp-meta strong { display: block; }
.whatsapp-meta span {
  display: inline-flex; align-items: center; gap: 8px; color: var(--muted); margin-top: 4px;
}
.whatsapp-meta i {
  width: 9px; height: 9px; border-radius: 999px; background: #54f38f;
  box-shadow: 0 0 12px rgba(84, 243, 143, 0.55); animation: pulseOnline 1.8s ease-in-out infinite;
}
.whatsapp-message {
  margin: 18px 0 14px; padding: 18px; border-radius: 18px; background: rgba(139, 68, 233, 0.24);
  color: #f7eeff; line-height: 1.6;
}
.whatsapp-text-message.show { animation: messageGlow 3s ease-in-out infinite 1s; }
.chat-step {
  opacity: 0; transform: translateY(8px); visibility: hidden;
  transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s ease;
}
.chat-step.show { opacity: 1; transform: translateY(0); visibility: visible; }
.whatsapp-typing {
  display: inline-flex; align-items: center; gap: 7px; width: fit-content; min-height: auto; padding: 14px 18px;
}
.whatsapp-typing span {
  width: 8px; height: 8px; border-radius: 50%; background: #f0dcff; opacity: .55;
  animation: typingDots 1.2s infinite ease-in-out;
}
.whatsapp-typing span:nth-child(2) { animation-delay: .16s; }
.whatsapp-typing span:nth-child(3) { animation-delay: .32s; }
.whatsapp-foot { display: flex; align-items: center; justify-content: space-between; color: var(--muted); }

.whatsapp-button {
  position: relative; display: inline-flex; align-items: center; gap: 16px; padding: 18px 22px;
  border-radius: 26px; border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(29, 11, 56, 0.96), rgba(17, 8, 34, 0.98));
  box-shadow: var(--shadow), 0 0 26px rgba(165, 91, 255, 0.16);
}
.whatsapp-button-side {
  gap: 14px; padding: 14px 18px; min-width: 220px; transition: .24s var(--ease);
}
.whatsapp-button-side:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 44px rgba(0,0,0,.38), 0 0 28px rgba(165, 91, 255, 0.24);
}
.whatsapp-badge {
  position: absolute; top: -10px; right: -6px; width: 28px; height: 28px; border-radius: 999px;
  display: grid; place-items: center; color: white; font-weight: 800;
  background: linear-gradient(135deg, #ff57c1, #c54fff); box-shadow: 0 0 18px rgba(255, 87, 193, 0.28);
}
.whatsapp-icon {
  width: 56px; height: 56px; display: grid; place-items: center; border-radius: 18px;
  background: linear-gradient(135deg, rgba(139, 68, 233, 0.36), rgba(109, 51, 196, 0.22)); color: #fff;
}
.whatsapp-icon svg { width: 28px; height: 28px; }
.whatsapp-copy strong { display: block; font-size: 1.3rem; }
.whatsapp-copy small { display: block; color: var(--muted); margin-top: 4px; }

.site-footer { padding: 32px 0 52px; }
.footer-content { display: flex; justify-content: center; text-align: center; color: var(--muted); }

.reveal {
  opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease;
}
.reveal.show { opacity: 1; transform: none; }
.delay-1 { transition-delay: .08s; }
.delay-2 { transition-delay: .16s; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 0%,100% { transform: scale(1); opacity: .82; } 50% { transform: scale(1.16); opacity: 1; } }
@keyframes floatSoft { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
@keyframes shine {
  0% { left: -35%; opacity: 0; } 12% { opacity: 1; } 36% { left: 115%; opacity: 1; } 100% { left: 115%; opacity: 0; }
}
@keyframes scan { 0% { transform: translateY(-105%); } 100% { transform: translateY(105%); } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes pulseOnline { 0%,100% { transform: scale(1); opacity: .84; } 50% { transform: scale(1.14); opacity: 1; } }
@keyframes messageGlow { 0%,100% { box-shadow: 0 0 0 rgba(165, 91, 255, 0); } 50% { box-shadow: 0 0 18px rgba(165, 91, 255, 0.14); } }
@keyframes typingDots { 0%,80%,100% { transform: translateY(0); opacity: .35; } 40% { transform: translateY(-4px); opacity: 1; } }

@media (max-width: 1080px) {
  .hero-grid, .about-grid, .contact-grid, .support-grid { grid-template-columns: 1fr; }
  .service-grid, .quick-highlights, .stats-grid, .plans-grid, .about-panels, .support-cards { grid-template-columns: repeat(2, 1fr); }
  .whatsapp-wrap { justify-content: flex-start; }
}

@media (max-width: 820px) {
  .site-header { padding-top: 10px; }
  .nav-shell { padding: 12px 14px; }
  .menu-toggle { display: block; }
  .menu {
    position: absolute; top: calc(100% + 12px); right: 16px; left: 16px;
    display: grid; gap: 8px; padding: 12px; border: 1px solid var(--line); border-radius: 22px;
    background: rgba(11, 5, 24, 0.96); box-shadow: var(--shadow);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
  }
  .menu.is-open { opacity: 1; visibility: visible; transform: none; }
  .menu a { width: 100%; }
}

@media (max-width: 1024px) {
  .service-card img {
    max-width: 160px;
    margin-bottom: 16px;
    filter: drop-shadow(0 0 7px rgba(181, 103, 255, 0.16));
  }
}

@media (max-width: 720px) {
  .section { padding: 72px 0; }
  .service-grid, .quick-highlights, .stats-grid, .plans-grid, .about-panels, .support-cards, .terminal-tags {
    grid-template-columns: 1fr;
  }
  .brand-copy strong { font-size: 1rem; }
  .brand-copy small { font-size: .86rem; }
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; }
  .terminal-screen { min-height: 350px; font-size: .9rem; }

  .mini-card:hover, .stat-card:hover, .glass-card:hover, .service-card:hover, .price-card:hover, .panel:hover {
    transform: none;
    box-shadow: var(--shadow);
  }

  .mini-card::before, .stat-card::before, .glass-card::before, .service-card::before, .price-card::before, .panel::before {
    display: none;
  }

  .service-card {
    padding: 18px;
  }

  .service-card img {
    max-width: 124px;
    margin-bottom: 14px;
    opacity: 1;
    filter: drop-shadow(0 0 5px rgba(181, 103, 255, 0.12));
  }

  .service-card:hover img {
    transform: none;
    filter: drop-shadow(0 0 5px rgba(181, 103, 255, 0.12));
  }

  .service-card h3 {
    font-size: 1.05rem;
  }

  .service-card p {
    font-size: .95rem;
    line-height: 1.62;
  }

  .whatsapp-side {
    right: 12px;
    bottom: 12px;
  }

  .whatsapp-chat-side {
    display: none !important;
    width: min(260px, calc(100vw - 24px));
    max-width: 260px;
  }

  .whatsapp-button-side {
    width: 56px;
    height: 56px;
    min-width: 56px;
    padding: 0;
    gap: 0;
    justify-content: center;
    border-radius: 50%;
  }

  .whatsapp-button-side .whatsapp-copy {
    display: none;
  }

  .whatsapp-button-side .whatsapp-icon {
    width: 26px;
    height: 26px;
    border-radius: 0;
    background: transparent;
  }

  .whatsapp-button-side .whatsapp-icon svg {
    width: 26px;
    height: 26px;
  }

  .whatsapp-badge {
    width: 22px;
    height: 22px;
    top: -4px;
    right: -2px;
    font-size: .75rem;
  }

  .whatsapp-side::before {
    right: 20px;
    bottom: 74px;
  }
}
