:root {
  --bg: #08050f;
  --bg-2: #0e0817;
  --panel: #130b20;
  --panel-2: #170d27;
  --purple: #9a5cff;
  --purple-2: #bd8cff;
  --purple-dark: #6f32d9;
  --text: #f8f4ff;
  --muted: #ab9dbd;
  --line: rgba(189, 140, 255, 0.17);
  --soft: rgba(154, 92, 255, 0.08);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(123, 60, 220, .16), transparent 30%),
    radial-gradient(circle at 85% 18%, rgba(177, 109, 255, .10), transparent 25%),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

button {
  border: 0;
}

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

.orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: -1;
}

.orb-one {
  width: 350px;
  height: 350px;
  background: rgba(123, 61, 221, .22);
  left: -100px;
  top: 100px;
}

.orb-two {
  width: 300px;
  height: 300px;
  background: rgba(187, 113, 255, .16);
  right: -100px;
  top: 400px;
}

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

.nav {
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 11px;
}

.logo-mark {
  width: 36px;
  height: 36px;
  display: block;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 0 30px rgba(154, 92, 255, .22);
}

.logo-mark img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.logo-text {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  letter-spacing: .8px;
  font-size: 14px;
}

.logo-text span {
  color: var(--purple-2);
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  color: var(--muted);
  font-size: 14px;
  transition: .2s ease;
}

.nav-links a:hover {
  color: white;
}

.nav-cta,
.primary-btn,
.secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 12px;
  font-weight: 700;
  transition: transform .2s ease, opacity .2s ease;
}

.nav-cta,
.primary-btn {
  background: linear-gradient(135deg, #a76cff, #7735df);
  color: white;
  box-shadow: 0 12px 30px rgba(110, 47, 207, .24);
}

.nav-cta {
  min-height: 41px;
  padding: 0 16px;
  font-size: 13px;
}

.secondary-btn {
  border: 1px solid var(--line);
  background: rgba(255,255,255,.02);
  color: var(--purple-2);
}

.nav-cta:hover,
.primary-btn:hover,
.secondary-btn:hover {
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
  background: transparent;
  color: white;
  font-size: 24px;
}

.hero {
  min-height: 650px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 70px;
  align-items: center;
  padding: 90px 0 80px;
}

.mini-label,
.section-kicker,
.summary-label {
  color: var(--purple-2);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.8px;
}

.hero h1 {
  font-family: "Space Grotesk", sans-serif;
  max-width: 680px;
  font-size: clamp(48px, 6.5vw, 82px);
  line-height: .98;
  letter-spacing: -4px;
  margin: 18px 0 24px;
}

.hero-copy > p {
  color: var(--muted);
  max-width: 580px;
  font-size: 18px;
}

.hero-actions {
  display: flex;
  gap: 13px;
  margin: 32px 0 38px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-points span {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.015);
  color: #cbbdde;
  font-size: 12px;
}

.hero-panel {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(160deg, rgba(27, 14, 47, .92), rgba(12, 7, 20, .96));
  padding: 24px;
  box-shadow: 0 35px 90px rgba(0,0,0,.32);
}

.panel-top {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #c8b8da;
  font-size: 12px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.online-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #b983ff;
  box-shadow: 0 0 14px #a25cff;
}

.panel-code {
  margin-left: auto;
  color: #766989;
}

.preview-card {
  margin: 22px 0;
  padding: 20px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(154,92,255,.16), rgba(154,92,255,.05));
  border: 1px solid rgba(189, 140, 255, .23);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 15px;
  align-items: center;
}

.preview-icon {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: #9a5cff;
  font-size: 21px;
}

.preview-card small {
  color: var(--muted);
}

.preview-card h3 {
  font-size: 17px;
}

.preview-card strong {
  font-size: 24px;
}

.preview-list {
  display: grid;
  gap: 10px;
}

.preview-list div {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 15px 16px;
  border-radius: 13px;
  background: rgba(255,255,255,.02);
  border: 1px solid rgba(255,255,255,.04);
}

.preview-list span {
  color: var(--purple-2);
  font-size: 12px;
  font-weight: 800;
}

.preview-list p {
  font-weight: 700;
}

.preview-list b {
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
}

.category-bar {
  border-top: 1px solid rgba(255,255,255,.04);
  border-bottom: 1px solid rgba(255,255,255,.04);
  background: rgba(255,255,255,.015);
}

.category-tabs {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.tab-btn {
  min-width: 150px;
  padding: 13px 22px;
  border-radius: 12px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-weight: 700;
  border: 1px solid transparent;
}

.tab-btn.active,
.tab-btn:hover {
  background: var(--soft);
  color: white;
  border-color: var(--line);
}

.service-section {
  padding: 105px 0;
}

.soft-bg {
  background: linear-gradient(180deg, rgba(17, 9, 28, .82), rgba(10, 6, 17, .92));
  border-top: 1px solid rgba(255,255,255,.04);
  border-bottom: 1px solid rgba(255,255,255,.04);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 45px;
}

.section-heading h2,
.order-copy h2 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(38px, 5vw, 58px);
  letter-spacing: -2px;
  line-height: 1;
  margin-top: 8px;
}

.section-heading > p {
  max-width: 470px;
  color: var(--muted);
}

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

.service-card {
  min-height: 400px;
  padding: 27px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: linear-gradient(150deg, rgba(24, 13, 40, .92), rgba(13, 8, 22, .96));
  display: flex;
  flex-direction: column;
}

.featured-card {
  border-color: rgba(190, 140, 255, .48);
  box-shadow: 0 24px 55px rgba(83, 29, 145, .16);
}

.card-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}

.card-topline span {
  color: var(--purple-2);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.4px;
}

.card-topline b {
  font-size: 22px;
}

.service-card h3 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 27px;
  margin-bottom: 10px;
}

.service-card > p {
  color: var(--muted);
  font-size: 14px;
}

.service-card ul {
  list-style: none;
  display: grid;
  gap: 10px;
  margin: 24px 0 30px;
  color: #d3c7df;
  font-size: 13px;
}

.service-card li::before {
  content: "•";
  color: var(--purple-2);
  margin-right: 10px;
}

.card-btn,
.small-select {
  margin-top: auto;
  min-height: 44px;
  border-radius: 11px;
  cursor: pointer;
  background: rgba(154,92,255,.10);
  color: var(--purple-2);
  font-weight: 700;
  border: 1px solid var(--line);
  transition: .2s ease;
}

.card-btn:hover,
.small-select:hover {
  background: var(--purple);
  color: white;
}

.operator-grid {
  display: grid;
  gap: 14px;
}

.operator-card {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 22px;
  border-radius: 17px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.015);
}

.operator-number {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: var(--purple-2);
  background: var(--soft);
  font-weight: 800;
}

.operator-card h3 {
  margin-bottom: 4px;
}

.operator-card p {
  color: var(--muted);
  font-size: 14px;
}

.small-select {
  margin: 0;
  padding: 0 18px;
}

.pricing-layout {
  display: grid;
  grid-template-columns: 1fr .92fr;
  gap: 22px;
}

.price-menu {
  display: grid;
  gap: 12px;
}

.price-row {
  width: 100%;
  min-height: 86px;
  padding: 18px 20px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  color: white;
  background: rgba(255,255,255,.015);
  border: 1px solid var(--line);
  cursor: pointer;
}

.price-row.active,
.price-row:hover {
  background: var(--soft);
  border-color: rgba(189,140,255,.34);
}

.price-row span {
  display: flex;
  flex-direction: column;
}

.price-row small {
  color: var(--muted);
}

.price-row strong {
  font-size: 17px;
}

.price-row b {
  color: var(--purple-2);
  font-size: 22px;
}

.price-summary {
  padding: 30px;
  border-radius: 20px;
  border: 1px solid rgba(189,140,255,.35);
  background: linear-gradient(150deg, rgba(32, 16, 53, .95), rgba(14, 8, 24, .96));
}

.price-summary h3 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 32px;
  margin: 10px 0;
}

.price-summary > p {
  color: var(--muted);
}

.summary-details {
  margin: 28px 0;
  display: grid;
  gap: 10px;
}

.summary-details div {
  display: flex;
  justify-content: space-between;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.summary-details span {
  color: var(--muted);
}

.full-btn {
  width: 100%;
}

.faq-list {
  display: grid;
  gap: 11px;
}

.faq-item {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  padding: 20px 22px;
  border-radius: 14px;
  background: rgba(255,255,255,.015);
  border: 1px solid var(--line);
  color: white;
  text-align: left;
  cursor: pointer;
}

.faq-item span {
  font-weight: 700;
}

.faq-item b {
  color: var(--purple-2);
  font-size: 22px;
  transition: transform .2s ease;
}

.faq-item p {
  grid-column: 1 / -1;
  color: var(--muted);
  max-height: 0;
  overflow: hidden;
  transition: .25s ease;
}

.faq-item.active p {
  max-height: 100px;
  padding-top: 12px;
}

.faq-item.active b {
  transform: rotate(45deg);
}

.order-section {
  padding: 110px 0;
  background:
    radial-gradient(circle at 70% 50%, rgba(138, 65, 235, .17), transparent 36%),
    #0a0611;
}

.order-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 70px;
  align-items: start;
}

.order-copy > p {
  color: var(--muted);
  margin: 22px 0;
  max-width: 470px;
}

.contact-box {
  margin-top: 30px;
  padding: 18px;
  border-left: 3px solid var(--purple);
  background: var(--soft);
  color: var(--muted);
}

.contact-box strong {
  display: block;
  color: white;
  margin-top: 4px;
}

.order-form {
  padding: 28px;
  border-radius: 20px;
  background: rgba(18, 10, 30, .91);
  border: 1px solid var(--line);
}

.order-form label {
  display: grid;
  gap: 8px;
  margin-bottom: 17px;
  color: #d7cbe3;
  font-size: 13px;
  font-weight: 600;
}

input, select, textarea {
  width: 100%;
  background: #0c0714;
  color: white;
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 13px 14px;
  outline: none;
}

input:focus, select:focus, textarea:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(154,92,255,.09);
}

textarea {
  resize: vertical;
}

.form-note {
  min-height: 20px;
  margin-top: 12px;
  text-align: center;
  color: var(--purple-2);
  font-size: 13px;
}

footer {
  padding: 26px 0;
  border-top: 1px solid rgba(255,255,255,.04);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.footer-inner p,
.footer-links {
  color: var(--muted);
  font-size: 12px;
}

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

@media (max-width: 900px) {
  .hero,
  .pricing-layout,
  .order-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 70px;
  }

  .hero-panel {
    max-width: 600px;
  }

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

  .section-heading {
    flex-direction: column;
    align-items: start;
  }
}

@media (max-width: 720px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 74px;
    left: 20px;
    right: 20px;
    padding: 18px;
    flex-direction: column;
    gap: 16px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #120a1e;
  }

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

  .nav-cta {
    display: none;
  }

  .category-tabs {
    overflow-x: auto;
    justify-content: flex-start;
  }

  .tab-btn {
    min-width: 130px;
  }

  .operator-card {
    grid-template-columns: 56px 1fr;
  }

  .operator-card .small-select {
    grid-column: 1 / -1;
    width: 100%;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container {
    width: min(100% - 26px, 1160px);
  }

  .hero h1 {
    font-size: 46px;
    letter-spacing: -2.4px;
  }

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

  .hero-actions a {
    width: 100%;
  }

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

  .preview-card strong {
    grid-column: 1 / -1;
  }

  .service-section,
  .order-section {
    padding: 80px 0;
  }
}

/* 1840 Services header refinements */
.nav {
  position: relative;
}

.nav-links {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  justify-content: center;
  white-space: nowrap;
}

.logo-stack {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-stack small {
  margin-top: 5px;
  color: #776a88;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 1.35px;
  text-transform: uppercase;
}

@media (max-width: 720px) {
  .nav-links {
    position: absolute;
    left: 20px;
    right: 20px;
    transform: none;
    white-space: normal;
  }
}


/* More handmade / less template-perfect */
.service-card,
.operator-card,
.price-summary,
.price-row,
.faq-item,
.hero-panel {
  border-radius: 16px;
}

.service-card:nth-child(2) {
  transform: translateY(4px);
}

.service-card:nth-child(3) {
  transform: translateY(-2px);
}

.operator-card:nth-child(2) {
  margin-left: 10px;
}

.operator-card:nth-child(3) {
  margin-right: 12px;
}

.price-row {
  transition: transform .16s ease, background .16s ease, border-color .16s ease;
}

.price-row:hover {
  transform: translateX(5px);
}

.price-row.active {
  box-shadow: inset 3px 0 0 #a76cff;
}

.price-summary {
  position: sticky;
  top: 100px;
}

@media (max-width: 900px) {
  .price-summary {
    position: static;
  }

  .operator-card:nth-child(2),
  .operator-card:nth-child(3) {
    margin-left: 0;
    margin-right: 0;
  }

  .service-card:nth-child(2),
  .service-card:nth-child(3) {
    transform: none;
  }
}

.form-note.error {
  color: #ff8da1;
}

.order-form button:disabled {
  opacity: .65;
  cursor: not-allowed;
  transform: none;
}
