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

body {
  font-family: "Manrope", system-ui, -apple-system, sans-serif;
  background: #0a0b10;
  color: #f7f9ff;
  min-height: 100vh;
  overflow-x: hidden;
}

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

main {
  position: relative;
  z-index: 2;
}

.grid-glow {
  position: fixed;
  inset: 0;
  display: grid;
  z-index: 0;
  pointer-events: none;
  opacity: 0.45;
}

.grid-glow .cell {
  border: 1px solid rgba(255, 255, 255, 0.03);
  transition: background 0.4s ease, box-shadow 0.4s ease, opacity 0.4s ease;
  background: rgba(10, 11, 16, 0.2);
}

.grid-glow .cell.active {
  background: rgba(102, 217, 239, 0.2);
  box-shadow: 0 0 24px rgba(102, 217, 239, 0.4),
    inset 0 0 14px rgba(151, 71, 255, 0.3);
  opacity: 1;
}

.aura {
  position: fixed;
  inset: 0;
  background: radial-gradient(
      circle at 20% 20%,
      rgba(102, 217, 239, 0.12),
      transparent 45%
    ),
    radial-gradient(
      circle at 80% 10%,
      rgba(151, 71, 255, 0.15),
      transparent 50%
    ),
    radial-gradient(
      circle at 60% 80%,
      rgba(102, 217, 239, 0.15),
      transparent 55%
    );
  z-index: 1;
  pointer-events: none;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 8vw;
  background: rgba(10, 11, 16, 0.7);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.logo {
  font-weight: 800;
  letter-spacing: 1px;
  font-size: 20px;
}

.nav {
  display: flex;
  gap: 24px;
  align-items: center;
  font-size: 14px;
}

.nav a {
  opacity: 0.8;
  transition: opacity 0.2s ease;
}

.nav a:hover {
  opacity: 1;
}

.nav-cta {
  padding: 10px 18px;
  border-radius: 999px;
  background: linear-gradient(120deg, #66d9ef, #9747ff);
  color: #0a0b10;
  font-weight: 700;
}

.hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  padding: 96px 8vw 40px;
  align-items: center;
}

.eyebrow {
  color: #66d9ef;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-size: 12px;
  margin-bottom: 18px;
}

h1 {
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1.1;
  margin-bottom: 24px;
}

.accent {
  color: #66d9ef;
  text-shadow: 0 0 18px rgba(102, 217, 239, 0.6);
}

.lead {
  font-size: 18px;
  color: rgba(247, 249, 255, 0.72);
  line-height: 1.7;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 36px;
}

.btn {
  padding: 14px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn.primary {
  background: linear-gradient(120deg, #66d9ef, #9747ff);
  color: #0a0b10;
}

.btn.ghost {
  border-color: rgba(255, 255, 255, 0.2);
  color: #f7f9ff;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(102, 217, 239, 0.18);
}

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

.hero-stats strong {
  font-size: 24px;
}

.hero-stats span {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  opacity: 0.7;
}

.hero-card {
  background: rgba(13, 14, 21, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 28px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.card-header {
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
}

.chip {
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 11px;
  background: rgba(102, 217, 239, 0.1);
  border: 1px solid rgba(102, 217, 239, 0.3);
  color: #66d9ef;
}

.card-body h3 {
  font-size: 22px;
  margin-bottom: 12px;
}

.card-body p {
  color: rgba(247, 249, 255, 0.7);
  line-height: 1.6;
  margin-bottom: 20px;
}

.card-list {
  list-style: none;
  display: grid;
  gap: 10px;
  font-size: 14px;
  color: rgba(247, 249, 255, 0.75);
}

.pulse-ring {
  position: absolute;
  inset: -80px;
  border-radius: 50%;
  border: 1px solid rgba(102, 217, 239, 0.15);
  animation: pulse 6s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(0.85);
    opacity: 0.4;
  }
  50% {
    transform: scale(1);
    opacity: 0.8;
  }
}

.section {
  padding: 80px 8vw;
}

.section.alt {
  background: rgba(13, 14, 21, 0.7);
}

.section-title {
  max-width: 620px;
  margin-bottom: 42px;
}

.section-title h2 {
  font-size: 32px;
  margin-bottom: 12px;
}

.section-title p {
  color: rgba(247, 249, 255, 0.7);
  line-height: 1.6;
}

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

.about-card {
  padding: 26px;
  background: rgba(10, 11, 16, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
}

.about-card h3 {
  margin-bottom: 12px;
}

.about-card p {
  color: rgba(247, 249, 255, 0.7);
  line-height: 1.6;
}

.services {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.services article {
  padding: 24px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(10, 11, 16, 0.5);
}

.services p {
  color: rgba(247, 249, 255, 0.7);
  line-height: 1.6;
}

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

.project-card {
  padding: 28px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(
    160deg,
    rgba(10, 11, 16, 0.9),
    rgba(16, 18, 30, 0.7)
  );
}

.project-meta {
  color: #66d9ef;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.project-card p {
  color: rgba(247, 249, 255, 0.7);
  line-height: 1.6;
  margin-bottom: 14px;
}

.tag {
  display: inline-block;
  margin-right: 8px;
  margin-top: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 11px;
  background: rgba(151, 71, 255, 0.15);
  color: #caa8ff;
}

.process {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.process div {
  padding: 22px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(10, 11, 16, 0.6);
}

.process span {
  color: #66d9ef;
  font-weight: 700;
  font-size: 18px;
}

.contact {
  padding-bottom: 120px;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  max-width: 760px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field label {
  font-size: 13px;
  opacity: 0.7;
}

.field input,
.field textarea {
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(10, 11, 16, 0.7);
  color: #f7f9ff;
  font-family: inherit;
}

.field.full {
  grid-column: 1 / -1;
}

.footer {
  padding: 30px 8vw 40px;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(247, 249, 255, 0.6);
  font-size: 13px;
}

.footer-links {
  display: flex;
  gap: 18px;
}

@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
  }
  .services,
  .projects,
  .process,
  .about-grid {
    grid-template-columns: 1fr;
  }
  .hero-stats {
    grid-template-columns: 1fr 1fr;
  }
  .topbar {
    flex-direction: column;
    gap: 12px;
  }
  .nav {
    flex-wrap: wrap;
    justify-content: center;
  }
  .contact-form {
    grid-template-columns: 1fr;
  }
  .footer {
    flex-direction: column;
    gap: 10px;
  }
}
