:root {
  --bg: #050512;
  --panel: rgba(12, 13, 27, 0.82);
  --card: rgba(15, 15, 30, 0.8);
  --border: rgba(255, 255, 255, 0.08);
  --primary: #9a5bff;
  --accent: #3cc8ff;
  --text: #e9edf7;
  --muted: #a7b0c7;
  --radius: 16px;
  --radius-lg: 22px;
  --shadow: 0 20px 80px rgba(0, 0, 0, 0.35);
  --max-w: 1200px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Space Grotesk", "Sora", sans-serif;
  background: radial-gradient(circle at 20% 20%, rgba(72, 51, 255, 0.12), transparent 30%),
    radial-gradient(circle at 80% 10%, rgba(51, 179, 255, 0.12), transparent 28%),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

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

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

.background {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}

#bg-canvas {
  width: 100%;
  height: 100%;
  display: block;
  background: transparent;
  filter: drop-shadow(0 0 16px rgba(156, 91, 255, 0.35));
  opacity: 0.55;
}

.glow {
  position: absolute;
  width: 580px;
  height: 580px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.32;
  animation: float 16s ease-in-out infinite;
}

.glow-1 {
  background: #9a5bff;
  top: -120px;
  left: -60px;
}

.glow-2 {
  background: #3cc8ff;
  bottom: -180px;
  right: 10%;
  animation-duration: 18s;
}

.glow-3 {
  background: #4b3fff;
  top: 30%;
  right: -120px;
  animation-duration: 20s;
}

main {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 48px 24px 96px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 18px 24px;
  background: rgba(5, 5, 18, 0.7);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
}

.brand small {
  display: block;
  font-weight: 400;
  color: var(--muted);
  font-size: 12px;
}

.dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  box-shadow: 0 0 18px rgba(156, 91, 255, 0.6);
  display: inline-block;
}

.menu {
  display: flex;
  align-items: center;
  gap: 18px;
}

.menu a {
  font-weight: 500;
  color: var(--muted);
  padding: 8px 10px;
  transition: color 0.2s ease, transform 0.2s ease;
}

.menu a:hover {
  color: var(--text);
  transform: translateY(-2px);
}

.menu .pill {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #0a0b14;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 700;
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: center;
  padding: 48px 0 32px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 12px;
  color: var(--accent);
  margin-bottom: 12px;
}

h1,
h2,
h3 {
  font-weight: 700;
  line-height: 1.1;
  margin: 0 0 12px;
}

h1 {
  font-size: clamp(32px, 5vw, 54px);
}

h2 {
  font-size: clamp(26px, 4vw, 36px);
}

.lead,
.section-lead {
  color: var(--muted);
  max-width: 660px;
}

.lead {
  font-size: 17px;
}

.cta-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 22px 0 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 12px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn.primary {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #0a0b14;
  box-shadow: 0 15px 40px rgba(60, 200, 255, 0.25);
}

.btn.ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.hero-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.hero-highlights .value {
  display: block;
  font-size: 22px;
  font-weight: 700;
}

.hero-highlights .label {
  color: var(--muted);
  font-size: 14px;
}

.hero-media {
  position: relative;
  display: grid;
  gap: 16px;
  justify-items: end;
}

.frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: linear-gradient(145deg, rgba(154, 91, 255, 0.08), rgba(60, 200, 255, 0.08));
  box-shadow: var(--shadow);
}

.frame img {
  width: 100%;
  height: auto;
  display: block;
}

.frame.small {
  max-width: 360px;
}

.badge {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 8px 12px;
  background: rgba(5, 5, 18, 0.72);
  border-radius: 999px;
  font-size: 12px;
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
}

.floating-card {
  max-width: 320px;
  padding: 16px 18px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--panel);
  backdrop-filter: blur(12px);
  color: var(--muted);
  box-shadow: var(--shadow);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(154, 91, 255, 0.16);
  color: #f3e9ff;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.pill.soft {
  background: rgba(60, 200, 255, 0.12);
  color: var(--text);
}

.section {
  padding: 48px 0 24px;
}

.section-header {
  max-width: 820px;
  margin-bottom: 24px;
}

.section-lead {
  margin: 6px 0 0;
}

.service-grid,
.portfolio-grid,
.radio-grid {
  display: grid;
  gap: 18px;
}

.service-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
  position: relative;
}

.card.highlight {
  border-color: rgba(156, 91, 255, 0.7);
  box-shadow: 0 18px 50px rgba(156, 91, 255, 0.2);
}

.section-visual {
  margin: 12px 0 4px;
}

.icon-circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(156, 91, 255, 0.2), rgba(60, 200, 255, 0.18));
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  font-size: 12px;
  color: var(--text);
  margin-bottom: 10px;
}

.card p {
  color: var(--muted);
  margin: 0 0 14px;
}

.card .thumb {
  width: 100%;
  border-radius: var(--radius);
  margin-bottom: 10px;
  border: 1px solid var(--border);
  background: #0f1022;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tags span {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  font-size: 12px;
  color: var(--muted);
}

.radio-section .radio-grid {
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
}

.card.wide {
  padding: 22px;
}

.player {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 16px 0 8px;
  flex-wrap: wrap;
}

.wave {
  display: inline-flex;
  gap: 4px;
  height: 32px;
  align-items: flex-end;
}

.wave span {
  display: block;
  width: 6px;
  background: linear-gradient(180deg, var(--accent), var(--primary));
  border-radius: 10px;
  animation: wave 1.4s ease-in-out infinite;
}

.wave span:nth-child(2) { animation-delay: 0.1s; }
.wave span:nth-child(3) { animation-delay: 0.2s; }
.wave span:nth-child(4) { animation-delay: 0.3s; }
.wave span:nth-child(5) { animation-delay: 0.4s; }

.wave[data-playing="0"] span {
  animation-play-state: paused;
  opacity: 0.28;
  height: 12px;
}

.player audio {
  width: 260px;
  max-width: 100%;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.35));
}

.media-card {
  display: grid;
  gap: 12px;
  justify-items: start;
}

.mini-list {
  list-style: none;
  padding: 0;
  margin: 0;
  color: var(--muted);
  display: grid;
  gap: 8px;
}

.mini-list li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.dot.tiny {
  width: 8px;
  height: 8px;
  box-shadow: none;
}

.portfolio-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.video-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
  align-items: stretch;
}

.video-frame {
  padding-top: 56.25%;
  position: relative;
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.carousel {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.carousel-track {
  display: flex;
  transition: transform 0.6s ease;
}

.slide {
  min-width: 100%;
  position: relative;
}

.slide img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
}

.slide-caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 14px;
  background: linear-gradient(180deg, transparent, rgba(5, 5, 18, 0.95));
  color: var(--text);
  font-weight: 600;
}

.carousel-dots {
  position: absolute;
  bottom: 14px;
  right: 14px;
  display: flex;
  gap: 8px;
}

.carousel-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.carousel-dots button.active {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-color: var(--accent);
  box-shadow: 0 10px 24px rgba(60, 200, 255, 0.3);
  transform: scale(1.08);
}

.portfolio-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #0b0c17;
  box-shadow: var(--shadow);
}

.portfolio-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.portfolio-card:hover img {
  transform: scale(1.04);
}

.portfolio-card figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 14px;
  background: linear-gradient(180deg, transparent, rgba(5, 5, 18, 0.9));
  color: var(--text);
  font-weight: 600;
}

.cta-final {
  padding: 64px 0 24px;
}

.cta-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(156, 91, 255, 0.14), rgba(60, 200, 255, 0.12));
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: var(--shadow);
}

.cta-actions {
  display: flex;
  gap: 10px;
}

.footer {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  border-top: 1px solid var(--border);
}

.footer .brand {
  color: var(--text);
}

.small {
  font-size: 13px;
  color: var(--muted);
}

.social-section .social-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

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

.social {
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  color: var(--text);
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  box-shadow: var(--shadow);
}

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

.social.facebook { background: linear-gradient(135deg, #0e1f46, #244ea7); }
.social.youtube { background: linear-gradient(135deg, #3b0b0b, #b31217); }
.social.instagram { background: linear-gradient(135deg, #3f1b51, #e1306c); }
.social.whatsapp { background: linear-gradient(135deg, #0a2f24, #25d366); color: #0a0b14; }
.social.telegram { background: linear-gradient(135deg, #0f1f34, #2ba3db); }

@keyframes float {
  0% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(12px, -16px, 0); }
  100% { transform: translate3d(-10px, 14px, 0); }
}

@keyframes wave {
  0%, 100% { height: 10px; opacity: 0.7; }
  50% { height: 32px; opacity: 1; }
}

@media (max-width: 960px) {
  .hero,
  .radio-section .radio-grid,
  .cta-card,
  .video-grid {
    grid-template-columns: 1fr;
  }

  .hero-media {
    order: -1;
    justify-items: start;
  }

  .topbar {
    flex-direction: column;
    gap: 10px;
    position: sticky;
  }

  .menu {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }
}

@media (max-width: 640px) {
  main {
    padding: 32px 18px 72px;
  }

  .cta-row {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .hero-highlights {
    grid-template-columns: 1fr 1fr;
  }

  .cta-actions {
    flex-direction: column;
  }

  .slide img {
    height: 240px;
  }

  .video-frame {
    padding-top: 62%;
  }
}
