:root {
  --bg: #070b14;
  --bg-soft: #0e1425;
  --text: #e9efff;
  --text-muted: #b8c3e6;
  --primary: #7c4dff;
  --accent: #00e5ff;
  --green: #08c05f;
  --card-border: rgba(255, 255, 255, 0.12);
  --glow: 0 0 20px rgba(124, 77, 255, 0.4);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

section {
  scroll-margin-top: 86px;
}

body {
  font-family: "Poppins", sans-serif;
  color: var(--text);
  background: radial-gradient(circle at top left, #121936 0%, var(--bg) 38%, #04060b 100%);
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  z-index: 1200;
  background: #fff;
  color: #111;
  padding: 10px 14px;
  border-radius: 8px;
  font-weight: 600;
}

.skip-link:focus {
  left: 14px;
  top: 12px;
}

.container {
  width: min(1140px, 92%);
  margin-inline: auto;
}

.section {
  padding: 90px 0;
}

h1,
h2,
h3,
h4 {
  line-height: 1.2;
}

h2 {
  font-size: clamp(1.9rem, 2.8vw, 2.5rem);
  margin-bottom: 22px;
}

p {
  color: var(--text-muted);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
  background: rgba(7, 11, 20, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.navbar {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  text-decoration: none;
  color: var(--text);
  font-weight: 800;
  font-size: 1.2rem;
}

.brand span {
  color: var(--accent);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 24px;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 500;
  transition: color 0.25s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent);
}

.menu-btn {
  display: none;
  border: 1px solid var(--card-border);
  background: transparent;
  color: var(--text);
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 1.1rem;
  cursor: pointer;
}

.hero {
  padding-top: 110px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 34px;
  align-items: center;
}

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

.hero h1 {
  font-size: clamp(2rem, 4.8vw, 3.5rem);
  margin-bottom: 14px;
}

.hero-glow {
  background: linear-gradient(90deg, var(--accent), #8f7cff, #ff66d9);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 24px rgba(0, 229, 255, 0.24);
}

.hero-subtext {
  max-width: 62ch;
  min-height: 28px;
}

.typing-line {
  margin-top: 8px;
  color: #cbd9ff;
  font-size: clamp(0.95rem, 1.8vw, 1.06rem);
}

.typing-line::after {
  content: "|";
  margin-left: 3px;
  color: var(--accent);
  animation: typingCaret 0.8s steps(1, end) infinite;
}

@keyframes typingCaret {
  0%,
  50% {
    opacity: 1;
  }
  51%,
  100% {
    opacity: 0;
  }
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.scroll-down {
  margin-top: 28px;
  display: inline-flex;
  width: 36px;
  height: 54px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  align-items: flex-start;
  justify-content: center;
  padding-top: 8px;
  text-decoration: none;
}

.scroll-down span {
  width: 6px;
  height: 10px;
  border-radius: 999px;
  background: var(--accent);
  animation: scrollHint 1.6s ease-in-out infinite;
}

@keyframes scrollHint {
  0% {
    transform: translateY(0);
    opacity: 0.9;
  }
  50% {
    transform: translateY(14px);
    opacity: 0.45;
  }
  100% {
    transform: translateY(0);
    opacity: 0.9;
  }
}

.btn {
  position: relative;
  overflow: hidden;
  text-decoration: none;
  font-weight: 600;
  padding: 12px 20px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.btn:hover {
  transform: translateY(-3px) scale(1.02);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(90deg, var(--primary), #4f8cff);
  box-shadow: var(--glow);
}

.btn-secondary {
  color: var(--text);
  border: 1px solid var(--card-border);
  background: rgba(255, 255, 255, 0.02);
}

.hero-card,
.card,
.contact-box,
.profile-card,
.counter-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--card-border);
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.25);
}

.hero-card h3,
.card h3 {
  margin-bottom: 10px;
}

.hero-card ul {
  list-style: none;
  display: grid;
  gap: 9px;
}

.choose-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  opacity: 0;
  transform: translateX(8px);
  animation: chooseIn 0.45s ease forwards;
}

.choose-list li:nth-child(1) {
  animation-delay: 0.05s;
}

.choose-list li:nth-child(2) {
  animation-delay: 0.12s;
}

.choose-list li:nth-child(3) {
  animation-delay: 0.19s;
}

.choose-list li:nth-child(4) {
  animation-delay: 0.26s;
}

.choose-list li:nth-child(5) {
  animation-delay: 0.33s;
}

.choose-list li:hover {
  transform: translateX(3px);
  transition: transform 0.2s ease;
}

.choose-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  font-size: 0.76rem;
  font-weight: 700;
  color: #06131a;
  background: linear-gradient(135deg, #56f4ff, #08c05f);
  box-shadow: 0 0 12px rgba(0, 229, 255, 0.4);
  flex-shrink: 0;
}

@keyframes chooseIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.services-grid .card {
  transform-style: preserve-3d;
  transition: transform 0.32s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.services-grid .card:hover {
  transform: translateY(-8px) rotateX(2deg) rotateY(-2deg);
  border-color: rgba(0, 229, 255, 0.45);
  box-shadow: 0 10px 34px rgba(0, 229, 255, 0.16);
}

.service-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  margin-bottom: 12px;
  background: rgba(124, 77, 255, 0.18);
  border: 1px solid rgba(124, 77, 255, 0.34);
}

.subsection-title {
  margin-top: 28px;
  margin-bottom: 14px;
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
}

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

.filter-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.filter-btn {
  border: 1px solid var(--card-border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  padding: 8px 14px;
  border-radius: 999px;
  cursor: pointer;
}

.filter-btn.active,
.filter-btn:hover {
  border-color: rgba(0, 229, 255, 0.6);
  color: var(--accent);
}

.project-card {
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease, opacity 0.3s ease;
}

.project-card:hover {
  transform: translateY(-8px) scale(1.01);
  border-color: rgba(0, 229, 255, 0.45);
  box-shadow: 0 10px 34px rgba(0, 229, 255, 0.16);
}

.project-card.hide {
  display: none;
}

.project-thumb {
  height: 130px;
  border-radius: 14px;
  margin-bottom: 14px;
  font-size: 2rem;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 20% 10%, rgba(124, 77, 255, 0.4), rgba(0, 229, 255, 0.18));
  border: 1px solid rgba(255, 255, 255, 0.14);
  transition: transform 0.25s ease;
}

.project-card:hover .project-thumb {
  transform: scale(1.04);
}

.project-btn {
  margin-top: 12px;
}

.how-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.how-card {
  text-align: center;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.how-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 229, 255, 0.45);
}

.how-step {
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: start;
}

.counter-row {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.counter-card h3 {
  font-size: 1.9rem;
  margin-bottom: 6px;
}

.timeline {
  margin-top: 18px;
  border-left: 2px solid rgba(0, 229, 255, 0.3);
  padding-left: 16px;
  display: grid;
  gap: 16px;
}

.timeline-item {
  position: relative;
}

.timeline-item::before {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  left: -22px;
  top: 5px;
  box-shadow: 0 0 12px rgba(0, 229, 255, 0.6);
}

.profile-card {
  text-align: center;
}

.profile-photo {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(90deg, #6f86ff, #7c4dff, #00e5ff);
  box-shadow: 0 0 34px rgba(124, 77, 255, 0.5);
}

.tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 12px;
}

.tags span {
  font-size: 0.84rem;
  border: 1px solid var(--card-border);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 999px;
  padding: 6px 10px;
}

.contact-box {
  text-align: center;
}

.contact-form {
  margin-top: 18px;
  display: grid;
  gap: 12px;
  text-align: left;
}

.contact-form label {
  display: grid;
  gap: 6px;
  color: var(--text);
  font-size: 0.95rem;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--card-border);
  color: var(--text);
  border-radius: 12px;
  padding: 11px 12px;
  font: inherit;
  transition: border-color 0.22s ease, box-shadow 0.22s ease;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  border-color: rgba(0, 229, 255, 0.55);
  box-shadow: 0 0 0 4px rgba(0, 229, 255, 0.12);
}

.ripple {
  position: absolute;
  border-radius: 50%;
  transform: scale(0);
  animation: ripple 0.6s linear;
  background: rgba(255, 255, 255, 0.5);
  pointer-events: none;
}

@keyframes ripple {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

.whatsapp-btn {
  display: inline-block;
  margin-top: 16px;
  text-decoration: none;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(90deg, var(--green), #00a884);
  padding: 12px 22px;
  border-radius: 999px;
  box-shadow: 0 0 18px rgba(8, 192, 95, 0.45);
  transition: transform 0.25s ease, filter 0.25s ease;
}

.whatsapp-btn:hover {
  transform: translateY(-3px) scale(1.02);
  filter: brightness(1.07);
}

.whatsapp-btn:focus-visible,
.btn:focus-visible {
  box-shadow: 0 0 0 2px rgba(7, 11, 20, 0.85), 0 0 0 4px rgba(0, 229, 255, 0.65);
}

.floating-whatsapp {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 1700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.86rem;
  line-height: 1;
  color: #fff;
  background: linear-gradient(90deg, var(--green), #00a884);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 9px 12px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3), 0 0 16px rgba(8, 192, 95, 0.5);
  transition: transform 0.2s ease, filter 0.2s ease;
  animation: waPulse 1.8s ease-in-out infinite;
}

.floating-whatsapp img {
  width: 16px;
  height: 16px;
  display: block;
}

.floating-whatsapp:hover {
  transform: translateY(-2px) scale(1.02);
  filter: brightness(1.06);
}

@keyframes waPulse {
  0%,
  100% {
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3), 0 0 12px rgba(8, 192, 95, 0.35);
  }
  50% {
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3), 0 0 20px rgba(8, 192, 95, 0.7);
  }
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.64);
  backdrop-filter: blur(5px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  z-index: 1500;
}

.modal.show {
  display: flex;
}

.modal-content {
  width: min(560px, 94vw);
  background: linear-gradient(180deg, rgba(20, 27, 49, 0.95), rgba(10, 14, 24, 0.95));
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 20px;
  position: relative;
}

.modal-close {
  position: absolute;
  right: 10px;
  top: 10px;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid var(--card-border);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
}

#modalTech {
  margin-top: 8px;
}

#modalDesc {
  margin-top: 8px;
}

.thank-you-popup {
  position: fixed;
  right: 16px;
  bottom: 16px;
  max-width: 300px;
  background: linear-gradient(90deg, #174a96, #5a2fa6);
  color: #fff;
  padding: 12px 14px;
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.26s ease, transform 0.26s ease;
  z-index: 1600;
}

.thank-you-popup.show {
  opacity: 1;
  transform: translateY(0);
}

.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  padding: 20px 12px 30px;
  color: var(--text-muted);
}

.bg-shape {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(65px);
  z-index: -2;
  animation: float 8s ease-in-out infinite;
}

.shape-1 {
  width: 220px;
  height: 220px;
  top: 11%;
  left: -40px;
  background: rgba(124, 77, 255, 0.26);
}

.shape-2 {
  width: 210px;
  height: 210px;
  right: -30px;
  top: 42%;
  background: rgba(0, 229, 255, 0.22);
  animation-delay: 1.4s;
}

.shape-3 {
  width: 180px;
  height: 180px;
  left: 38%;
  bottom: -50px;
  background: rgba(255, 102, 217, 0.18);
  animation-delay: 0.7s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-18px);
  }
}

.particles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  list-style: none;
}

.particles li {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(0, 229, 255, 0.25);
  animation: drift 16s linear infinite;
}

.particles li:nth-child(1) {
  left: 8%;
  bottom: -20px;
}

.particles li:nth-child(2) {
  left: 18%;
  bottom: -60px;
  animation-delay: 2s;
}

.particles li:nth-child(3) {
  left: 32%;
  bottom: -80px;
  animation-delay: 4s;
}

.particles li:nth-child(4) {
  left: 48%;
  bottom: -40px;
  animation-delay: 1s;
}

.particles li:nth-child(5) {
  left: 62%;
  bottom: -90px;
  animation-delay: 5s;
}

.particles li:nth-child(6) {
  left: 74%;
  bottom: -30px;
  animation-delay: 7s;
}

.particles li:nth-child(7) {
  left: 86%;
  bottom: -50px;
  animation-delay: 3s;
}

.particles li:nth-child(8) {
  left: 94%;
  bottom: -70px;
  animation-delay: 6s;
}

@keyframes drift {
  0% {
    transform: translateY(0) scale(1);
    opacity: 0.2;
  }
  50% {
    opacity: 0.6;
  }
  100% {
    transform: translateY(-110vh) scale(1.5);
    opacity: 0;
  }
}

@media (max-width: 980px) {
  .hero-grid,
  .about-grid,
  .how-grid,
  .cards-3,
  .premium-services,
  .counter-row {
    grid-template-columns: 1fr;
  }

  .menu-btn {
    display: inline-block;
  }

  .nav-links {
    position: absolute;
    top: 72px;
    right: 4%;
    width: min(260px, 90vw);
    padding: 14px;
    border-radius: 14px;
    border: 1px solid var(--card-border);
    background: rgba(7, 11, 20, 0.95);
    flex-direction: column;
    display: none;
  }

  .nav-links.show {
    display: flex;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
