:root {
  --bg: #060716;
  --surface: rgba(14, 17, 37, 0.78);
  --surface-strong: #10142f;
  --text: #f3f6ff;
  --muted: #b5bdd9;
  --accent-cyan: #28f0ff;
  --accent-blue: #3d6cff;
  --accent-purple: #8b5dff;
  --accent-pink: #ff4ccf;
  --line: rgba(255, 255, 255, 0.12);
  --radius: 1rem;
  --shadow: 0 14px 40px rgba(0, 0, 0, 0.35);
  --container: 1150px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", system-ui, sans-serif;
  background: radial-gradient(circle at 15% 20%, rgba(61, 108, 255, 0.22), transparent 35%),
    radial-gradient(circle at 85% 15%, rgba(255, 76, 207, 0.18), transparent 30%),
    radial-gradient(circle at 50% 85%, rgba(40, 240, 255, 0.13), transparent 40%),
    var(--bg);
  color: var(--text);
  line-height: 1.55;
  overflow-x: hidden;
}

h1,
h2,
h3,
.logo {
  font-family: "Space Grotesk", sans-serif;
  line-height: 1.15;
  margin: 0;
}

p {
  margin: 0;
}

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

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.section {
  padding: 4rem 0;
}

.section-head {
  margin-bottom: 1.4rem;
}

.section-head h2 {
  font-size: clamp(1.4rem, 5vw, 2rem);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(14px);
  background: rgba(6, 7, 22, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav {
  height: 4.1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  font-size: 1.2rem;
  letter-spacing: 0.4px;
  font-weight: 700;
}

.menu-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 2.4rem;
  height: 2.4rem;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.menu-toggle span {
  width: 100%;
  height: 2px;
  background: var(--text);
  transition: transform 0.2s ease;
}

.nav-right {
  position: absolute;
  top: 4.1rem;
  left: 0;
  right: 0;
  padding: 1rem;
  display: none;
  flex-direction: column;
  gap: 1rem;
  background: rgba(8, 10, 28, 0.95);
  border-bottom: 1px solid var(--line);
}

.nav-right.open {
  display: flex;
}

.nav-links {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.nav-links a {
  color: var(--muted);
  font-weight: 600;
}

.nav-links a:hover {
  color: var(--text);
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--muted);
}

.lang-btn {
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font-weight: 700;
  padding: 0.2rem;
}

.lang-btn.active {
  color: var(--accent-cyan);
}

.hero {
  padding-top: 4.7rem;
  padding-bottom: 3.3rem;
}

.hero-kicker {
  color: var(--accent-cyan);
  letter-spacing: 0.08em;
  font-weight: 700;
  font-size: 0.74rem;
  margin-bottom: 0.9rem;
}

.hero h1 {
  font-size: clamp(1.9rem, 8vw, 3.9rem);
  min-height: 4.7rem;
  max-width: 18ch;
}

.typing-cursor {
  display: inline-block;
  width: 2px;
  height: 1em;
  margin-left: 4px;
  vertical-align: -0.1em;
  background: var(--accent-cyan);
  animation: blink 0.9s infinite;
}

.hero-sub {
  margin-top: 1rem;
  color: var(--muted);
  max-width: 62ch;
}

.hero-actions {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 0.74rem 1.2rem;
  font-weight: 700;
  font-size: 0.92rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

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

.btn-primary {
  background: linear-gradient(92deg, var(--accent-blue), var(--accent-purple) 55%, var(--accent-pink));
  color: #fff;
  box-shadow: 0 8px 24px rgba(83, 99, 255, 0.35);
}

.glow-btn {
  animation: rgbGlow 3s linear infinite;
}

.btn-secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.card-grid {
  display: grid;
  gap: 0.95rem;
}

.card {
  padding: 1.2rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.icon {
  font-size: 1.35rem;
  margin-bottom: 0.6rem;
}

.card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.45rem;
}

.card p {
  color: var(--muted);
  font-size: 0.95rem;
}

.steps {
  display: grid;
  gap: 0.8rem;
}

.step {
  padding: 1rem;
  border-radius: var(--radius);
  background: linear-gradient(150deg, rgba(61, 108, 255, 0.13), rgba(139, 93, 255, 0.12));
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.step span {
  display: inline-flex;
  width: 2rem;
  height: 2rem;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(40, 240, 255, 0.2);
  color: var(--accent-cyan);
  font-weight: 700;
  margin-bottom: 0.55rem;
}

.step h3 {
  font-size: 1rem;
}

.cta-box {
  text-align: center;
  padding: 2rem 1rem;
  border-radius: 1.2rem;
  background: linear-gradient(125deg, rgba(61, 108, 255, 0.2), rgba(255, 76, 207, 0.22));
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.cta-box h2 {
  margin-bottom: 1rem;
  font-size: clamp(1.4rem, 5vw, 2.2rem);
}

.contact-form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
  display: grid;
  gap: 0.55rem;
  box-shadow: var(--shadow);
}

.contact-form label {
  font-size: 0.9rem;
  color: var(--muted);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border-radius: 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(4, 6, 16, 0.65);
  color: var(--text);
  padding: 0.7rem 0.85rem;
  outline: none;
  font: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 3px rgba(40, 240, 255, 0.16);
}

.hidden-field {
  display: none;
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.3rem 0 2rem;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.7rem;
  color: var(--muted);
}

.footer-links {
  display: flex;
  gap: 0.8rem;
}

.footer-link {
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  padding: 0;
}

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

.modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
  place-items: center;
  padding: 1rem;
  background: rgba(2, 4, 12, 0.72);
}

.modal.open {
  display: grid;
}

.modal-content {
  position: relative;
  max-width: 36rem;
  width: 100%;
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.1rem 1rem;
}

.modal-content h3 {
  margin-bottom: 0.65rem;
}

.modal-content p {
  color: var(--muted);
}

.modal-close {
  position: absolute;
  top: 0.45rem;
  right: 0.55rem;
  border: 0;
  background: transparent;
  color: var(--text);
  font-size: 1.5rem;
  cursor: pointer;
}

.floating-btn {
  position: fixed;
  bottom: 1rem;
  width: 3.15rem;
  height: 3.15rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.36);
  z-index: 45;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.floating-btn svg {
  width: 1.35rem;
  height: 1.35rem;
  fill: #fff;
}

.floating-whatsapp {
  right: 1rem;
  background: linear-gradient(140deg, #00d95f, #00a949);
}

.floating-instagram {
  left: 1rem;
  background: linear-gradient(145deg, #f58529, #dd2a7b, #8134af, #515bd4);
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.bg-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(90px);
  z-index: -2;
  opacity: 0.42;
}

.orb-1 {
  width: 16rem;
  height: 16rem;
  background: #2fd3ff;
  top: -4rem;
  left: -3.3rem;
}

.orb-2 {
  width: 18rem;
  height: 18rem;
  background: #ff4ccf;
  right: -5rem;
  top: 24%;
}

.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -3;
  background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(circle at center, #000 35%, transparent 100%);
}

@keyframes blink {
  0%,
  45% {
    opacity: 1;
  }
  46%,
  100% {
    opacity: 0;
  }
}

@keyframes rgbGlow {
  0% {
    box-shadow: 0 0 14px rgba(61, 108, 255, 0.5), 0 0 22px rgba(61, 108, 255, 0.38);
  }
  33% {
    box-shadow: 0 0 14px rgba(40, 240, 255, 0.54), 0 0 24px rgba(40, 240, 255, 0.36);
  }
  66% {
    box-shadow: 0 0 14px rgba(255, 76, 207, 0.58), 0 0 24px rgba(255, 76, 207, 0.38);
  }
  100% {
    box-shadow: 0 0 14px rgba(61, 108, 255, 0.5), 0 0 22px rgba(61, 108, 255, 0.38);
  }
}

@media (min-width: 760px) {
  .menu-toggle {
    display: none;
  }

  .nav-right {
    position: static;
    display: flex;
    padding: 0;
    border: 0;
    background: transparent;
    flex-direction: row;
    align-items: center;
    gap: 1.2rem;
  }

  .nav-links {
    flex-direction: row;
    gap: 1rem;
  }

  .hero {
    padding-top: 6.5rem;
    padding-bottom: 4.3rem;
  }

  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cta-box {
    padding: 2.8rem 1rem;
  }

  .contact-form {
    padding: 1.3rem;
  }
}

@media (min-width: 1024px) {
  .card-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .hero h1 {
    min-height: 5.6rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
