:root {
  --bg: #100a24;
  --bg-deep: #0a0820;
  --ink: #fff8ff;
  --muted: rgba(255, 248, 255, 0.72);
  --card: rgba(255, 255, 255, 0.09);
  --line: rgba(255, 255, 255, 0.16);
  --pink: #ff4fd8;
  --cyan: #67e8ff;
  --lime: #cdfa4f;
  --orange: #ff8b36;
  --violet: #7b4dff;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.34);
  --radius: 30px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 90% 12%, rgba(255, 79, 216, 0.22), transparent 30rem),
    radial-gradient(circle at 12% 22%, rgba(103, 232, 255, 0.18), transparent 32rem),
    linear-gradient(180deg, #100a24 0%, #15113a 45%, #09071a 100%);
  line-height: 1.6;
}

body.menu-open,
body.lightbox-open {
  overflow: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 18px;
  left: 50%;
  width: min(1180px, calc(100% - 28px));
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 22px;
  align-items: center;
  padding: 12px 14px 12px 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(14, 9, 36, 0.58);
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(22px);
  transition: background 0.25s ease, border-color 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(14, 9, 36, 0.88);
  border-color: rgba(255, 255, 255, 0.24);
}

.logo {
  display: inline-flex;
  gap: 11px;
  align-items: center;
  font-weight: 900;
  letter-spacing: -0.04em;
  white-space: nowrap;
}

.logo-mark {
  width: 35px;
  height: 35px;
  border-radius: 12px 50% 50% 12px;
  background:
    radial-gradient(circle at 72% 28%, #fff 0 12%, transparent 13%),
    linear-gradient(135deg, var(--lime), var(--cyan) 48%, var(--pink));
  box-shadow: 0 0 28px rgba(103, 232, 255, 0.42);
}

.nav-panel {
  justify-self: center;
  display: flex;
  gap: 20px;
  align-items: center;
}

.nav-link {
  position: relative;
  font-size: 14px;
  font-weight: 800;
  color: rgba(255, 248, 255, 0.74);
  transition: color 0.2s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--lime);
  transition: width 0.22s ease;
}

.nav-link:hover {
  color: #fff;
}

.nav-link:hover::after {
  width: 100%;
}

.phone {
  font-weight: 900;
  white-space: nowrap;
}

.phone-desktop {
  padding: 11px 16px;
  border-radius: 999px;
  color: #0c0820;
  background: var(--lime);
  box-shadow: 0 0 32px rgba(205, 250, 79, 0.34);
}

.phone-mobile {
  display: none;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pink), var(--cyan));
  cursor: pointer;
  position: relative;
}

.nav-toggle span {
  position: absolute;
  left: 13px;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 27px; }

body.menu-open .nav-toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

body.menu-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

body.menu-open .nav-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.hero {
  min-height: 100vh;
  position: relative;
  display: grid;
  align-items: center;
  overflow: hidden;
  background-image: url("assets/img/hero-vivid.jpg");
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 4, 18, 0.92), rgba(5, 4, 18, 0.46) 54%, rgba(5, 4, 18, 0.78)),
    radial-gradient(circle at 70% 20%, rgba(255, 79, 216, 0.24), transparent 34rem);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 62px 62px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.85), transparent 82%);
}

.orb {
  position: absolute;
  z-index: 1;
  border-radius: 50%;
  filter: blur(2px);
  opacity: 0.78;
}

.orb-one {
  width: 210px;
  height: 210px;
  right: 16%;
  top: 18%;
  background: radial-gradient(circle, rgba(205, 250, 79, 0.8), rgba(205, 250, 79, 0));
}

.orb-two {
  width: 280px;
  height: 280px;
  left: 5%;
  bottom: 10%;
  background: radial-gradient(circle, rgba(255, 79, 216, 0.65), rgba(255, 79, 216, 0));
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 850px;
  padding-top: 92px;
}

.eyebrow,
.section-kicker,
.tag {
  margin: 0 0 16px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--lime);
}

.hero h1,
.section h2 {
  margin: 0;
  font-family: "Unbounded", "Inter", sans-serif;
  line-height: 0.98;
  letter-spacing: -0.065em;
}

.hero h1 {
  max-width: 940px;
  font-size: clamp(48px, 7vw, 104px);
}

.hero-text {
  max-width: 720px;
  margin: 26px 0 0;
  font-size: clamp(18px, 2vw, 23px);
  color: rgba(255, 248, 255, 0.78);
}

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

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 56px;
  padding: 15px 22px;
  border: 0;
  border-radius: 18px;
  font-weight: 900;
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
}

.btn:hover {
  transform: translateY(-3px) rotate(-0.5deg);
}

.btn-primary {
  color: #08061a;
  background: linear-gradient(135deg, var(--lime), var(--cyan));
  box-shadow: 0 0 38px rgba(103, 232, 255, 0.32);
}

.btn-secondary {
  color: #fff;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
}

.signal-card {
  position: absolute;
  right: max(28px, calc((100vw - 1180px) / 2));
  bottom: 38px;
  z-index: 3;
  width: min(360px, calc(100% - 56px));
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 30px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.06));
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.signal-card span {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 7px 10px;
  border-radius: 999px;
  color: #08061a;
  background: var(--lime);
  font-weight: 900;
}

.signal-card strong {
  display: block;
  font-family: "Unbounded", "Inter", sans-serif;
  font-size: 22px;
  line-height: 1.15;
}

.signal-card p {
  margin: 10px 0 0;
  color: var(--muted);
}

.section {
  padding: 112px 0;
  position: relative;
}

.section h2 {
  font-size: clamp(38px, 5vw, 70px);
}

.section-head {
  max-width: 840px;
  margin-bottom: 44px;
}

.section-head p:last-child,
.about-copy > p,
.faq-title p,
.contact-copy p {
  color: var(--muted);
  font-size: 18px;
}

.about-grid {
  display: grid;
  grid-template-columns: 430px minmax(0, 1fr);
  gap: 72px;
  align-items: center;
}

.about-photo {
  position: relative;
}

.about-photo img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 38px;
  box-shadow: var(--shadow);
}

.photo-badge {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  padding: 16px 18px;
  border-radius: 22px;
  color: #09071a;
  background: linear-gradient(135deg, var(--lime), var(--cyan));
  font-weight: 900;
}

.about-copy > p {
  max-width: 720px;
  margin: 26px 0 0;
}

.method-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 32px;
}

.method-list article,
.step,
.price-card,
.faq-list,
.lead-form {
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.method-list article {
  padding: 20px;
  border-radius: 24px;
}

.method-list span {
  color: var(--cyan);
  font-weight: 900;
}

.method-list h3,
.step h3,
.price-card h3 {
  margin: 18px 0 8px;
  font-size: 22px;
  letter-spacing: -0.04em;
}

.method-list p,
.step p,
.price-card p {
  margin: 0;
  color: var(--muted);
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}

.case-card {
  grid-column: span 2;
  position: relative;
  min-height: 390px;
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 34px;
  color: #fff;
  text-align: left;
  cursor: pointer;
  background: #111;
  box-shadow: var(--shadow);
}

.case-card:nth-child(1),
.case-card:nth-child(2) {
  grid-column: span 3;
}

.case-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease, filter 0.55s ease;
}

.case-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 5, 20, 0.05), rgba(6, 5, 20, 0.82)),
    radial-gradient(circle at 16% 18%, rgba(205, 250, 79, 0.2), transparent 16rem);
}

.case-card:hover img {
  transform: scale(1.1) rotate(1deg);
  filter: saturate(1.2) contrast(1.04);
}

.case-card > div {
  position: absolute;
  z-index: 2;
  left: 24px;
  right: 24px;
  bottom: 24px;
}

.case-card div span {
  color: var(--lime);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.case-card h3 {
  margin: 8px 0;
  font-family: "Unbounded", "Inter", sans-serif;
  font-size: 30px;
  letter-spacing: -0.05em;
}

.case-card p {
  margin: 0;
  color: rgba(255, 248, 255, 0.78);
}

.zoom-hint {
  position: absolute;
  z-index: 3;
  top: 18px;
  right: 18px;
  padding: 9px 13px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  color: #08061a;
  background: var(--lime);
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.case-card:hover .zoom-hint {
  opacity: 1;
  transform: translateY(0);
}

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 6%;
  right: 6%;
  top: 45px;
  height: 2px;
  background: linear-gradient(90deg, var(--pink), var(--cyan), var(--lime));
  opacity: 0.65;
}

.step {
  position: relative;
  padding: 28px;
  border-radius: var(--radius);
}

.step span {
  position: relative;
  z-index: 1;
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  color: #08061a;
  background: var(--lime);
  font-weight: 900;
  box-shadow: 0 0 26px rgba(205, 250, 79, 0.34);
}

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

.price-card {
  padding: 30px;
  border-radius: 34px;
}

.price-card.featured {
  background:
    linear-gradient(145deg, rgba(255, 79, 216, 0.36), rgba(103, 232, 255, 0.18)),
    rgba(255, 255, 255, 0.12);
  transform: translateY(-16px);
  border-color: rgba(205, 250, 79, 0.42);
}

.price-top {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 22px;
}

.price-card strong {
  font-family: "Unbounded", "Inter", sans-serif;
  font-size: 24px;
  letter-spacing: -0.05em;
  text-align: right;
}

.price-card .btn {
  width: 100%;
  margin-top: 26px;
}

.faq-grid {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 54px;
}

.faq-list {
  border-radius: 34px;
  overflow: hidden;
}

.faq-item + .faq-item {
  border-top: 1px solid var(--line);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 24px;
  border: 0;
  color: var(--ink);
  background: transparent;
  font-weight: 900;
  text-align: left;
  cursor: pointer;
}

.faq-question::after {
  content: "+";
  flex: 0 0 auto;
  color: var(--lime);
  font-size: 28px;
  line-height: 1;
}

.faq-item.is-open .faq-question::after {
  content: "−";
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.28s ease;
}

.faq-answer p {
  margin: 0;
  padding: 0 24px 24px;
  color: var(--muted);
}

.faq-item.is-open .faq-answer {
  max-height: 240px;
}

.contact {
  background:
    radial-gradient(circle at 18% 28%, rgba(255, 79, 216, 0.32), transparent 32rem),
    radial-gradient(circle at 82% 20%, rgba(205, 250, 79, 0.18), transparent 28rem),
    linear-gradient(145deg, #070516, #171145);
}

.contact-wrap {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: center;
}

.lead-form {
  display: grid;
  gap: 16px;
  padding: 30px;
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.1);
}

.lead-form label {
  display: grid;
  gap: 8px;
  font-weight: 900;
}

.lead-form input,
.lead-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 15px 16px;
  outline: 0;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.lead-form input::placeholder,
.lead-form textarea::placeholder {
  color: rgba(255, 248, 255, 0.48);
}

.lead-form input:focus,
.lead-form textarea:focus {
  border-color: var(--lime);
  box-shadow: 0 0 0 4px rgba(205, 250, 79, 0.1);
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--lime);
}

.site-footer {
  padding: 34px 0;
  background: #070516;
  color: rgba(255, 248, 255, 0.68);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 18px;
  align-items: center;
}

.policy,
.hosting a {
  color: var(--lime);
}

.hosting {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 14px;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 72px 80px;
  background: rgba(5, 4, 18, 0.88);
  backdrop-filter: blur(14px);
}

.lightbox.is-open {
  display: flex;
}

.lightbox figure {
  width: min(1000px, 100%);
  margin: 0;
}

.lightbox-image {
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  border-radius: 24px;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.5);
}

.lightbox-caption {
  margin-top: 14px;
  color: #fff;
  text-align: center;
  font-weight: 900;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  border: 0;
  border-radius: 50%;
  color: #08061a;
  background: var(--lime);
  cursor: pointer;
  box-shadow: 0 0 34px rgba(205, 250, 79, 0.25);
}

.lightbox-close {
  top: 28px;
  right: 28px;
  width: 48px;
  height: 48px;
  font-size: 32px;
}

.lightbox-prev,
.lightbox-next {
  top: 50%;
  width: 54px;
  height: 54px;
  font-size: 42px;
  transform: translateY(-50%);
}

.lightbox-prev { left: 28px; }
.lightbox-next { right: 28px; }

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

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

@media (max-width: 1120px) {
  .about-grid,
  .faq-grid,
  .contact-wrap {
    grid-template-columns: 1fr;
  }

  .about-photo {
    max-width: 620px;
  }

  .case-card,
  .case-card:nth-child(1),
  .case-card:nth-child(2) {
    grid-column: span 3;
  }

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

  .price-grid,
  .method-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 992px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
  }

  .nav-toggle {
    display: inline-block;
    justify-self: end;
    z-index: 52;
  }

  .phone-desktop {
    display: none;
  }

  .nav-panel {
    position: fixed;
    top: -18px;
    right: -14px;
    width: min(390px, 86vw);
    height: calc(100vh + 36px);
    padding: 110px 28px 34px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 22px;
    border-left: 1px solid var(--line);
    background: rgba(12, 8, 32, 0.96);
    box-shadow: -24px 0 80px rgba(0, 0, 0, 0.42);
    transform: translateX(110%);
    transition: transform 0.3s ease;
    z-index: 51;
  }

  body.menu-open .nav-panel {
    transform: translateX(0);
  }

  .nav-link {
    font-size: 20px;
  }

  .phone-mobile {
    display: inline-flex;
    margin-top: 16px;
    padding: 13px 18px;
    border-radius: 999px;
    color: #08061a;
    background: var(--lime);
  }

  .signal-card {
    position: relative;
    right: auto;
    bottom: auto;
    margin: -144px auto 34px;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 24px, 1180px);
  }

  .site-header {
    top: 10px;
    width: calc(100% - 20px);
    padding: 10px 11px 10px 14px;
  }

  .logo {
    font-size: 14px;
  }

  .hero {
    min-height: 100svh;
  }

  .hero-content {
    padding-top: 120px;
  }

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

  .section {
    padding: 78px 0;
  }

  .case-grid,
  .timeline,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .case-card,
  .case-card:nth-child(1),
  .case-card:nth-child(2) {
    grid-column: span 1;
    min-height: 340px;
  }

  .timeline::before {
    display: none;
  }

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

  .about-photo img {
    height: 430px;
  }

  .lightbox {
    padding: 70px 16px 92px;
  }

  .lightbox-prev,
  .lightbox-next {
    top: auto;
    bottom: 24px;
    transform: none;
  }

  .lightbox-prev { left: calc(50% - 68px); }
  .lightbox-next { right: calc(50% - 68px); }
}
