:root {
  --bg: #090119;
  --text: #f8f3ff;
  --muted: #d7c9f3;
  --line: rgba(255, 255, 255, 0.16);
  --glass: rgba(255, 255, 255, 0.08);
  --glass-2: rgba(255, 255, 255, 0.12);
  --pink: #ff56dd;
  --violet: #8c5bff;
  --cyan: #59d5ff;
  --shadow: 0 20px 60px rgba(5, 3, 20, 0.48);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI Variable Text", "Aptos", "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  overflow-x: hidden;
}

body::before,
body::after,
.page-shell::before,
.page-shell::after,
.page-bg,
.noise {
  content: none !important;
  display: none !important;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

img {
  max-width: 100%;
  display: block;
}

h1,
h2,
h3,
p,
ul,
dl {
  margin: 0;
}

.site-bg,
.site-overlay,
.stars {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.site-bg {
  background: url("./neopulse-pro/futuristic-bg.png") center top / cover no-repeat;
  z-index: -3;
}

.site-overlay {
  z-index: -2;
  background:
    radial-gradient(circle at 20% 15%, rgba(72, 212, 255, 0.14), transparent 28%),
    radial-gradient(circle at 78% 12%, rgba(255, 73, 220, 0.18), transparent 30%),
    linear-gradient(180deg, rgba(5, 0, 20, 0.28) 0%, rgba(5, 0, 20, 0.18) 30%, rgba(4, 2, 18, 0.42) 100%);
}

.stars {
  z-index: -1;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.75) 0 1px, transparent 1.6px),
    radial-gradient(circle at 65% 22%, rgba(255, 255, 255, 0.55) 0 1px, transparent 1.7px),
    radial-gradient(circle at 76% 56%, rgba(255, 255, 255, 0.42) 0 1px, transparent 1.8px),
    radial-gradient(circle at 12% 78%, rgba(255, 255, 255, 0.5) 0 1px, transparent 1.7px),
    radial-gradient(circle at 54% 84%, rgba(255, 255, 255, 0.48) 0 1px, transparent 1.7px);
  opacity: 0.45;
  animation: drift 18s linear infinite;
}

@keyframes drift {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }

  100% {
    transform: translateY(0);
  }
}

.page-shell {
  position: relative;
  z-index: 1;
}

.container,
.shell {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
}

.site-main {
  padding-bottom: 2rem;
}

.topbar-shell {
  position: sticky;
  top: 0;
  z-index: 20;
  padding-top: 12px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 22px;
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}

.brand-logo-image {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  box-shadow: 0 0 22px rgba(255, 86, 221, 0.3);
}

.brand-copy {
  display: grid;
  gap: 4px;
}

.brand-copy strong {
  font-size: 1.1rem;
  line-height: 1;
}

.brand-copy span {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.nav,
.home-site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: rgba(255, 255, 255, 0.84);
}

.nav a,
.home-site-nav a,
.footer-links a {
  position: relative;
  font-size: 0.98rem;
}

.nav a::after,
.home-site-nav a::after,
.footer-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--pink));
  transition: width 0.25s ease;
}

.nav a:hover::after,
.nav a.is-active::after,
.home-site-nav a:hover::after,
.home-site-nav a.is-active::after,
.footer-links a:hover::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 2px auto;
  background: currentColor;
}

.topbar-cta {
  white-space: nowrap;
}

.hero {
  min-height: 84vh;
  display: flex;
  align-items: flex-start;
  padding-top: 9vh;
}

.hero-copy {
  max-width: 680px;
  padding: 38px;
  margin-top: 10px;
}

.eyebrow {
  display: inline-block;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: #f7d9ff;
  opacity: 0.95;
  margin-bottom: 14px;
}

h1 {
  font-size: clamp(2.4rem, 5.4vw, 5.2rem);
  line-height: 0.96;
  letter-spacing: -0.04em;
  max-width: 13ch;
  text-shadow: 0 0 24px rgba(255, 118, 228, 0.12);
}

h1,
.section-head h2,
.subpage-panel-head h2,
.sub-article-section h2,
.subpage-card h3,
.subpage-price-row h3,
.contact-card h2,
.not-found-card h2 {
  background: linear-gradient(90deg, #ffffff 0%, #ffd0f7 34%, #9ddcff 72%, #ffffff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p,
.subpage-copy,
.subpage-card p,
.subpage-price-row,
.legal-copy,
.contact-card p,
.notice {
  color: var(--muted);
  line-height: 1.7;
}

.hero p {
  margin-top: 18px;
  max-width: 58ch;
  font-size: 1.03rem;
}

.hero-actions,
.hero-stats,
.service-grid,
.timeline,
.project-grid,
.form-row,
.subpage-card-grid,
.subpage-process-grid,
.subpage-contact-grid,
.field-grid {
  display: grid;
  gap: 18px;
}

.hero-actions {
  grid-template-columns: repeat(2, max-content);
  margin-top: 28px;
}

.hero-stats {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 28px;
  padding: 0;
}

.hero-stats li {
  list-style: none;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05);
}

.hero-stats strong {
  display: block;
  font-size: 1.4rem;
  margin-bottom: 4px;
  color: #fff;
}

.hero-stats span {
  color: var(--muted);
  font-size: 0.95rem;
}

section {
  padding: 72px 0;
}

.section-head,
.subpage-panel-head {
  margin-bottom: 28px;
}

.section-head-center {
  text-align: center;
}

.section-head h2,
.subpage-panel-head h2,
.contact-card h2,
.not-found-card h2 {
  font-size: clamp(1.9rem, 3vw, 3.2rem);
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.section-head p {
  color: var(--muted);
  max-width: 64ch;
  margin-inline: auto;
}

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

.service-card,
.timeline-item,
.project-card,
.contact-card,
.subpage-hero,
.subpage-panel,
.not-found-card {
  position: relative;
  overflow: hidden;
}

.service-card {
  padding: 28px;
  min-height: 330px;
}

.service-card h3,
.subpage-card h3 {
  font-size: 1.48rem;
  margin: 16px 0 14px;
}

.service-points,
.subpage-list,
.footer-links {
  padding: 0;
  margin: 16px 0 0;
  list-style: none;
}

.service-points li,
.subpage-list li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 10px;
  color: var(--muted);
}

.service-points li::before,
.subpage-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--pink));
  box-shadow: 0 0 12px rgba(89, 213, 255, 0.55);
}

.chip {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.82rem;
}

.inline-link,
.text-link {
  display: inline-block;
  margin-top: 18px;
  color: #fff;
  font-weight: 600;
}

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

.timeline-item {
  padding: 24px;
  min-height: 200px;
}

.timeline-item strong {
  display: block;
  font-size: 1.1rem;
  margin-bottom: 12px;
}

.contact-card {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 24px;
  padding: 32px;
}

.contact-card h2 {
  line-height: 1;
  margin-bottom: 14px;
}

.contact-cta-panel,
.subpage-note,
.subpage-card,
.subpage-price-row {
  padding: 22px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-shortcuts,
.contact-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 22px;
}

.subpage-hero {
  padding: 38px;
}

.subpage-hero h1 {
  max-width: 14ch;
}

.subpage-stack {
  display: grid;
  gap: 22px;
}

.subpage-panel {
  padding: 30px;
}

.subpage-copy p + p,
.legal-copy p + p {
  margin-top: 14px;
}

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

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

.subpage-process-grid {
  grid-template-columns: repeat(4, 1fr);
}

.subpage-contact-grid {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.subpage-card-price {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: baseline;
  margin-bottom: 14px;
}

.subpage-card-price strong,
.subpage-price-row strong {
  color: #fff;
}

.subpage-muted-tag {
  display: inline-flex;
  padding: 8px 12px;
  margin-top: 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 0.82rem;
}

.subpage-price-list {
  display: grid;
  gap: 14px;
}

.subpage-price-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
}

.article-intro {
  font-size: 1.06rem;
  margin-bottom: 24px;
}

.sub-article-section + .sub-article-section {
  margin-top: 24px;
}

.sub-article-section h2 {
  margin-bottom: 14px;
  font-size: 1.5rem;
}

.contact-form {
  display: grid;
  gap: 16px;
}

.field-grid,
.form-row {
  grid-template-columns: repeat(2, 1fr);
}

.contact-form label {
  display: grid;
  gap: 8px;
}

.contact-form span {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  outline: none;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.68);
}

.contact-form textarea {
  resize: vertical;
  min-height: 150px;
}

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

.notice {
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
}

.notice-success {
  box-shadow: 0 0 20px rgba(89, 213, 255, 0.12);
}

.notice-error {
  box-shadow: 0 0 20px rgba(255, 86, 221, 0.12);
}

.honey {
  position: absolute;
  left: -9999px;
}

.full {
  width: 100%;
}

.not-found-card {
  padding: 42px;
  max-width: 760px;
}

.footer {
  padding: 26px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 24px;
  padding: 26px 28px;
}

.footer-grid strong {
  display: block;
  margin-bottom: 10px;
  font-size: 1.15rem;
}

.footer-grid p {
  color: rgba(255, 255, 255, 0.72);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 24px;
  align-content: flex-start;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  color: #fff;
}

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

.btn-primary,
.btn-warm {
  background: linear-gradient(90deg, rgba(102, 216, 255, 0.18), rgba(255, 86, 221, 0.28));
  box-shadow: 0 0 24px rgba(255, 86, 221, 0.25), 0 0 30px rgba(89, 213, 255, 0.14);
}

.btn-outline,
.btn-ghost,
.btn-cool {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
}

.btn-sm {
  min-height: 44px;
  padding-inline: 18px;
}

.glass {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.05));
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(18px) saturate(120%);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  border-radius: 28px;
}

.strong-glow::before,
.service-card::before,
.subpage-hero::before,
.subpage-panel::before,
.contact-card::before,
.not-found-card::before {
  content: "";
  position: absolute;
  inset: auto -10% -20% auto;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(89, 213, 255, 0.25), rgba(255, 86, 221, 0.08) 42%, transparent 72%);
  filter: blur(16px);
  pointer-events: none;
}

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

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1080px) {
  .service-grid,
  .subpage-card-grid,
  .subpage-card-grid-tight {
    grid-template-columns: repeat(2, 1fr);
  }

  .timeline,
  .subpage-process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-card,
  .subpage-contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .topbar {
    flex-wrap: wrap;
    align-items: center;
  }

  .menu-toggle {
    display: inline-flex;
    order: 2;
    margin-left: auto;
  }

  .topbar-cta {
    display: none;
  }

  .nav,
  .home-site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding-top: 10px;
  }

  .nav.is-open,
  .home-site-nav.is-open {
    display: flex;
  }

  .hero {
    min-height: auto;
    padding-top: 4rem;
  }

  .hero-actions,
  .hero-stats,
  .field-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .hero-copy,
  .subpage-hero,
  .subpage-panel,
  .not-found-card {
    padding: 28px;
  }
}

@media (max-width: 640px) {
  .container,
  .shell {
    width: min(1200px, calc(100% - 18px));
  }

  .service-grid,
  .subpage-card-grid,
  .subpage-card-grid-tight,
  .timeline,
  .subpage-process-grid {
    grid-template-columns: 1fr;
  }

  .topbar {
    padding: 16px 18px;
  }

  .hero-copy {
    padding: 24px;
  }

  .btn,
  .hero-actions {
    width: 100%;
  }
}
