:root {
  --bg: #050814;
  --surface: rgba(10, 16, 30, 0.86);
  --surface-soft: rgba(14, 22, 40, 0.94);
  --text: #f4f7fb;
  --muted: #99a5bf;
  --line: rgba(160, 176, 209, 0.16);
  --accent: #7c8cff;
  --accent-2: #2fe5c6;
  --success: #3ddc97;
  --radius: 1.15rem;
  --shadow-lg: 0 32px 70px -28px rgba(0, 0, 0, 0.75);
  --shadow-md: 0 16px 34px -20px rgba(0, 0, 0, 0.58);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.1;
  font-family: "Syne", sans-serif;
  letter-spacing: -0.02em;
}

p {
  margin: 0;
}

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

ul {
  margin: 0;
  padding-left: 1.2rem;
}

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

.site-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(circle at 12% 12%, rgba(47, 229, 198, 0.14), transparent 32%),
    radial-gradient(circle at 82% 14%, rgba(124, 140, 255, 0.18), transparent 34%),
    radial-gradient(circle at 50% 82%, rgba(61, 220, 151, 0.08), transparent 28%),
    linear-gradient(180deg, #060916 0%, #04050b 100%);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(5, 8, 20, 0.68);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.topbar.scrolled {
  border-color: var(--line);
  box-shadow: 0 8px 24px -22px rgba(0, 0, 0, 0.85);
}

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

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 800;
  font-family: "Syne", sans-serif;
  font-size: 1.15rem;
}

.logo-dot {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 0 0.32rem rgba(124, 140, 255, 0.16);
}

.nav-links {
  display: flex;
  list-style: none;
  padding: 0;
  gap: 1.3rem;
}

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

.nav-links a:hover {
  color: #d8ddff;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 999px;
  padding: 0.82rem 1.4rem;
  font-weight: 700;
  cursor: pointer;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: var(--shadow-md);
  transition: transform 0.24s ease, box-shadow 0.24s ease, filter 0.24s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  filter: brightness(1.03);
}

.btn:active {
  transform: translateY(0);
}

.btn-small {
  padding: 0.66rem 1.1rem;
  font-size: 0.95rem;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  border: 1px solid var(--line);
  box-shadow: none;
  backdrop-filter: blur(12px);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(47, 229, 198, 0.09);
  color: #8be8d5;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 0.38rem 0.72rem;
}

.hero {
  padding: 5rem 0 2.4rem;
}

.hero h1 {
  margin-top: 1.2rem;
  font-size: clamp(2rem, 5.8vw, 4.25rem);
  max-width: 15ch;
}

.hero h1 span {
  color: #8be8d5;
}

.hero-copy {
  margin-top: 1.25rem;
  color: var(--muted);
  max-width: 62ch;
  font-size: 1.08rem;
}

.hero-cta {
  margin-top: 1.7rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.stats-grid {
  margin-top: 2.4rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.stat-card {
  background: var(--surface);
  border: 1px solid var(--line);
  backdrop-filter: blur(18px);
  border-radius: var(--radius);
  padding: 1.15rem;
  box-shadow: var(--shadow-md);
}

.stat-card strong {
  display: block;
  font-family: "Syne", sans-serif;
  font-size: 1.9rem;
  color: #8be8d5;
}

.stat-card span {
  color: var(--muted);
  font-weight: 600;
}

.section {
  padding: 2.8rem 0;
}

.section-head {
  margin-bottom: 1.35rem;
  display: grid;
  gap: 0.85rem;
}

.section-head h2 {
  max-width: 19ch;
  font-size: clamp(1.5rem, 3.6vw, 2.7rem);
}

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

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

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

.feature-card,
.project-card,
.example-card,
.price-card,
.quote-card,
.timeline-item,
.contact-form,
.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(18px);
}

.feature-card,
.project-card,
.example-card,
.price-card,
.quote-card,
.timeline-item {
  padding: 1.2rem;
}

.feature-card p,
.project-card p,
.example-card p,
.price-card p,
.quote-card p {
  color: var(--muted);
  margin-top: 0.6rem;
}

.feature-card ul,
.example-card ul,
.price-card ul {
  margin-top: 0.8rem;
  color: var(--text);
  font-weight: 600;
  display: grid;
  gap: 0.3rem;
}

.service-check {
  margin-top: 0.3rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: start;
  padding: 0.9rem 1rem;
  border-radius: 0.9rem;
  border: 1px solid rgba(47, 229, 198, 0.16);
  background: rgba(47, 229, 198, 0.05);
  color: var(--muted);
  font-size: 0.94rem;
  cursor: pointer;
}

.service-check input {
  appearance: none;
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.2rem;
  border-radius: 0.3rem;
  border: 1px solid rgba(160, 176, 209, 0.42);
  background: rgba(255, 255, 255, 0.04);
  display: grid;
  place-items: center;
}

.service-check input:checked {
  border-color: rgba(47, 229, 198, 0.9);
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2.2' d='M3.5 8.5 6.8 11.5 12.5 4.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 0.8rem 0.8rem;
}

.service-check strong {
  color: #f4f7fb;
}

.service-check em {
  display: block;
  margin-top: 0.18rem;
  font-style: normal;
  color: var(--muted);
}

.contact-check {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 600;
}

.contact-check input {
  width: 1rem;
  height: 1rem;
  accent-color: var(--accent-2);
}

.process-wrap {
  background:
    linear-gradient(180deg, rgba(124, 140, 255, 0.08), rgba(47, 229, 198, 0.03)),
    rgba(255, 255, 255, 0.01);
}

.timeline {
  display: grid;
  gap: 0.95rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.timeline-item span {
  display: inline-flex;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 0.87rem;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}

.timeline-item h3 {
  margin-top: 0.85rem;
}

.timeline-item p {
  margin-top: 0.45rem;
  color: var(--muted);
}

.project-tag {
  display: inline-flex;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #8be8d5;
  font-weight: 800;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  background: rgba(47, 229, 198, 0.09);
}

.price {
  font-family: "Syne", sans-serif;
  font-size: 2rem;
  color: #8be8d5;
  margin-top: 0.6rem;
}

.price-card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.price-card .btn {
  margin-top: auto;
}

.price-card.featured {
  position: relative;
  border-color: rgba(124, 140, 255, 0.55);
  transform: translateY(-7px);
  background:
    linear-gradient(180deg, rgba(124, 140, 255, 0.08), rgba(255, 255, 255, 0.02)),
    var(--surface);
}

.popular {
  margin: 0;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #8be8d5;
}

.faq {
  display: grid;
  gap: 0.75rem;
}

.faq details {
  padding: 0.9rem 1rem;
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
}

.faq details p {
  margin-top: 0.6rem;
  color: var(--muted);
}

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

.contact > div {
  display: grid;
  gap: 0.8rem;
}

.contact > div p:last-child {
  color: var(--muted);
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.4rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.72rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font-weight: 700;
  transition: transform 0.24s ease, border-color 0.24s ease, background 0.24s ease;
}

.social-link:hover {
  transform: translateY(-1px);
  border-color: rgba(47, 229, 198, 0.35);
  background: rgba(47, 229, 198, 0.06);
}

.contact-form {
  padding: 1rem;
  display: grid;
  gap: 0.85rem;
}

.contact-form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.92rem;
  font-weight: 700;
}

#formStatus {
  min-height: 1.2rem;
  font-size: 0.88rem;
  color: var(--muted);
}

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

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #6f7894;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(124, 140, 255, 0.14);
}

.footer {
  padding: 1.45rem 0 2rem;
}

.footer-wrap {
  border-top: 1px solid var(--line);
  padding-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
}

.reveal {
  opacity: 0;
  transform: translateY(24px) scale(0.99);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

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

@media (max-width: 980px) {
  .card-grid-3,
  .timeline,
  .contact {
    grid-template-columns: 1fr 1fr;
  }

  .price-card.featured {
    transform: none;
  }

  .nav-links {
    display: none;
  }
}

@media (max-width: 700px) {
  .hero {
    padding-top: 4rem;
  }

  .card-grid-2,
  .card-grid-3,
  .stats-grid,
  .timeline,
  .contact {
    grid-template-columns: 1fr;
  }

  .topbar .btn-small {
    display: none;
  }

  .section {
    padding: 2.2rem 0;
  }

  .footer-wrap {
    flex-direction: column;
    align-items: flex-start;
  }
}
