* {
  box-sizing: border-box;
}

:root {
  --bg: #05050d;
  --text: #ffffff;
  --muted: #b7bbd8;
  --cyan: #00f5ff;
  --purple: #9b5cff;
  --pink: #ff4fd8;
  --line: rgba(255, 255, 255, 0.14);
  --glass: rgba(255, 255, 255, 0.075);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 10%, rgba(0, 245, 255, 0.18), transparent 28%),
    radial-gradient(circle at 82% 18%, rgba(155, 92, 255, 0.20), transparent 32%),
    radial-gradient(circle at 50% 90%, rgba(255, 79, 216, 0.10), transparent 38%),
    var(--bg);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  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: 74px 74px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), transparent 86%);
  z-index: -10;
}

body::after {
  content: "999";
  position: fixed;
  right: 7vw;
  bottom: 10vh;
  font-size: clamp(6rem, 18vw, 18rem);
  font-weight: 900;
  letter-spacing: -0.12em;
  color: rgba(255, 255, 255, 0.018);
  pointer-events: none;
  z-index: -8;
}

.bg-noise,
.page-glow,
.orb,
.signal {
  pointer-events: none;
}

.bg-noise {
  position: fixed;
  inset: 0;
  opacity: 0.1;
  z-index: -7;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='.35'/%3E%3C/svg%3E");
}

.page-glow {
  position: fixed;
  inset: -25%;
  background: conic-gradient(
    from 140deg,
    transparent,
    rgba(0, 245, 255, 0.10),
    transparent,
    rgba(155, 92, 255, 0.10),
    transparent,
    rgba(255, 79, 216, 0.08),
    transparent
  );
  filter: blur(90px);
  animation: spin 28s linear infinite;
  z-index: -9;
}

.orb {
  position: fixed;
  border-radius: 50%;
  opacity: 0.55;
  z-index: -6;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: radial-gradient(
    circle at 45% 42%,
    rgba(255, 255, 255, 0.35),
    rgba(0, 245, 255, 0.16) 24%,
    rgba(155, 92, 255, 0.11) 55%,
    transparent 72%
  );
}

.orb::before,
.orb::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  inset: 22%;
  border: 1px solid rgba(0, 245, 255, 0.18);
}

.orb::after {
  inset: 38%;
  border-color: rgba(255, 79, 216, 0.16);
}

.orb-one {
  width: 500px;
  height: 500px;
  right: -170px;
  top: 90px;
  animation: float 10s ease-in-out infinite;
}

.orb-two {
  width: 320px;
  height: 320px;
  left: -120px;
  bottom: 80px;
  animation: float 13s ease-in-out infinite reverse;
}

.signal {
  position: fixed;
  width: 260px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(0, 245, 255, 0.35), rgba(255, 255, 255, 0.25), transparent);
  z-index: -5;
  transform: rotate(-24deg);
  animation: signal 8s ease-in-out infinite;
}

.signal-one {
  left: 8%;
  top: 29%;
}

.signal-two {
  right: 9%;
  bottom: 24%;
  animation-delay: 1.2s;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-24px) scale(1.04); }
}

@keyframes signal {
  0%, 100% { opacity: 0.22; transform: translateX(0) rotate(-24deg); }
  50% { opacity: 1; transform: translateX(40px) rotate(-24deg); }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(5, 5, 13, 0.68);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav {
  max-width: 1180px;
  margin: auto;
  padding: 1rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-spacer {
  width: 1px;
  height: 1px;
}

.nav-links {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 800;
  font-size: 0.92rem;
  transition: 0.22s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: white;
  transform: translateY(-2px);
}

.nav-cta {
  padding: 0.76rem 1rem;
  border: 1px solid rgba(0, 245, 255, 0.45);
  border-radius: 999px;
  color: white !important;
  box-shadow: 0 0 24px rgba(0, 245, 255, 0.14);
}

.menu-toggle {
  display: none;
  background: none;
  border: 0;
  color: white;
  font-size: 1.6rem;
}

.section {
  max-width: 1180px;
  margin: auto;
  padding: 6rem 1.25rem;
}

.hero {
  min-height: calc(100vh - 74px);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}

.eyebrow {
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--cyan);
}

h1, h2, h3, p {
  margin-top: 0;
}

h1 {
  font-size: clamp(3.1rem, 7vw, 6.9rem);
  line-height: 0.92;
  letter-spacing: -0.085em;
  margin-bottom: 1.4rem;
}

h2 {
  font-size: clamp(2rem, 4vw, 4.05rem);
  line-height: 1;
  letter-spacing: -0.06em;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.24rem;
}

p {
  color: var(--muted);
  line-height: 1.72;
}

.hero-text {
  font-size: 1.13rem;
  max-width: 660px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0.98rem 1.25rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 900;
  border: 0;
  cursor: pointer;
  transition: transform 0.22s ease, filter 0.22s ease;
}

.btn:hover {
  transform: translateY(-3px);
  filter: saturate(1.18);
}

.primary {
  color: #02030a;
  background: linear-gradient(135deg, var(--cyan), #ffffff, var(--purple));
  box-shadow: 0 0 38px rgba(0, 245, 255, 0.22);
}

.secondary {
  color: white;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
}

.text-link {
  display: inline-block;
  margin-top: 1rem;
  color: white;
  font-weight: 900;
  text-decoration: none;
}

.hero-visual {
  position: relative;
  min-height: 520px;
  border: 1px solid var(--line);
  border-radius: 38px;
  padding: 1rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.035));
  box-shadow: 0 30px 120px rgba(0, 0, 0, 0.34);
  overflow: hidden;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: -45%;
  background: conic-gradient(from 30deg, transparent, rgba(0, 245, 255, 0.24), transparent, rgba(255, 79, 216, 0.17), transparent);
  animation: spin 15s linear infinite;
}

.browser {
  position: relative;
  z-index: 2;
  height: 100%;
  border-radius: 30px;
  overflow: hidden;
  background: rgba(7, 8, 24, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.13);
}

.browser-top,
.mockup-top {
  display: flex;
  gap: 0.45rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
}

.browser-top span,
.mockup-top span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
}

.browser-body {
  height: 450px;
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.browser-body::before {
  content: "";
  position: absolute;
  inset: 35px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(0, 245, 255, 0.12), rgba(155, 92, 255, 0.08));
  opacity: 0.6;
}

.browser-body::after {
  content: "";
  position: absolute;
  inset: 65px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.11) 0 44px, transparent 44px 70px, rgba(255, 255, 255, 0.08) 70px 190px, transparent 190px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0 30%, transparent 30% 35%, rgba(255, 255, 255, 0.08) 35% 65%, transparent 65% 70%, rgba(255, 255, 255, 0.08) 70% 100%);
  border-radius: 22px;
  opacity: 0.45;
}

.core {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  border: 2px solid rgba(0, 245, 255, 0.68);
  box-shadow: 0 0 70px rgba(0, 245, 255, 0.32), inset 0 0 60px rgba(155, 92, 255, 0.22);
  animation: pulse 2.7s ease-in-out infinite;
  position: relative;
  z-index: 2;
}

.core::before,
.core::after {
  content: "";
  position: absolute;
  inset: -42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.core::after {
  transform: rotate(70deg) scaleX(0.55);
}

@keyframes pulse {
  0%, 100% { transform: scale(0.95); opacity: 0.75; }
  50% { transform: scale(1.08); opacity: 1; }
}

.float-card {
  position: absolute;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.13);
  backdrop-filter: blur(12px);
  font-weight: 900;
  animation: float 5s ease-in-out infinite;
  z-index: 3;
}

.fc1 { top: 76px; left: 34px; }
.fc2 { right: 42px; top: 200px; animation-delay: 0.8s; }
.fc3 { left: 84px; bottom: 72px; animation-delay: 1.5s; }

.card-grid,
.service-grid,
.showcase,
.feature-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.glass-card,
.service-card,
.mockup,
.contact-panel,
.timeline-card,
.quote-card {
  border: 1px solid var(--line);
  background: var(--glass);
  border-radius: 28px;
  padding: 1.5rem;
  backdrop-filter: blur(16px);
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.22);
}

.glass-card h2,
.service-card h2 {
  font-size: 1.8rem;
  letter-spacing: -0.04em;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.feature-strip {
  padding-top: 2rem;
}

.feature-strip div {
  border-top: 1px solid var(--line);
  padding-top: 1rem;
}

.feature-strip strong,
.feature-strip span {
  display: block;
}

.feature-strip span {
  color: var(--muted);
  margin-top: 0.4rem;
}

.page-hero {
  max-width: 980px;
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(2.7rem, 6vw, 5.7rem);
}

.service-card {
  min-height: 250px;
}

.service-card span,
.timeline-card span {
  color: var(--cyan);
  font-weight: 900;
}

.timeline {
  display: grid;
  gap: 1rem;
}

.timeline-card {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 1.5rem;
}

.timeline-card span {
  font-size: 1.5rem;
}

.timeline-card h2 {
  font-size: clamp(1.8rem, 3vw, 3rem);
}

.mockup {
  min-height: 350px;
  overflow: hidden;
}

.mockup-top {
  margin: -1.5rem -1.5rem 1.5rem;
}

.mockup-hero,
.mockup-card {
  height: 135px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(0, 245, 255, 0.42), rgba(155, 92, 255, 0.24));
  margin-bottom: 1rem;
}

.mockup-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.mockup-grid span {
  height: 78px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.mockup-lines span {
  display: block;
  height: 12px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.15);
  margin: 0.7rem 0;
}

.mockup-lines span:nth-child(2) {
  width: 76%;
}

.mockup-lines span:nth-child(3) {
  width: 54%;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) 0.75fr;
  gap: 1.4rem;
  align-items: start;
}

.contact-form {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.08);
  border-radius: 34px;
  padding: 1.5rem;
  backdrop-filter: blur(18px);
}

.form-row {
  display: grid;
  gap: 0.55rem;
  margin-bottom: 1rem;
}

label {
  font-weight: 800;
  color: white;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 18px;
  padding: 1rem;
  background: rgba(3, 4, 16, 0.72);
  color: white;
  font: inherit;
  outline: none;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(0, 245, 255, 0.7);
  box-shadow: 0 0 0 4px rgba(0, 245, 255, 0.10);
}

option {
  background: #080915;
  color: white;
}

.form-button {
  width: 100%;
}

.button-loader {
  display: none;
  width: 18px;
  height: 18px;
  margin-left: 0.65rem;
  border: 2px solid rgba(0, 0, 0, 0.28);
  border-top-color: #05050b;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.form-button.loading .button-loader {
  display: inline-block;
}

.form-status {
  margin: 1rem 0 0;
  font-weight: 800;
}

.contact-panel ul {
  padding-left: 1.1rem;
  color: var(--muted);
  line-height: 1.9;
}

.cta {
  text-align: center;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(0, 245, 255, 0.12), rgba(155, 92, 255, 0.12));
  border-radius: 38px;
  margin-bottom: 4rem;
}

.cta p {
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

footer {
  text-align: center;
  padding: 2rem 1rem 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

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

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

.delay {
  transition-delay: 0.14s;
}

@media (max-width: 950px) {
  .hero,
  .split,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .card-grid,
  .service-grid,
  .showcase,
  .feature-strip {
    grid-template-columns: 1fr 1fr;
  }

  .hero-visual {
    min-height: 440px;
  }
}

@media (max-width: 680px) {
  .section {
    padding: 4rem 1rem;
  }

  .hero {
    padding-top: 4rem;
  }

  .card-grid,
  .service-grid,
  .showcase,
  .feature-strip {
    grid-template-columns: 1fr;
  }

  .timeline-card {
    grid-template-columns: 1fr;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 70px;
    left: 1rem;
    right: 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(6, 7, 22, 0.96);
  }

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

  .nav-links a {
    padding: 0.7rem;
  }

  h1 {
    font-size: 3.1rem;
  }

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

  .btn {
    width: 100%;
  }
}
