/* Build Calculator Page */
.calculator-page {
  width: min(1500px, calc(100% - 48px));
  margin: 0 auto;
  padding: 48px 0 80px;
}

.calculator-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: 22px;
  align-items: start;
}

.calculator-main,
.summary-panel {
  border-radius: 30px;
  border: 1px solid rgba(192,132,252,.18);
  background:
    radial-gradient(circle at 76% 8%, rgba(139,44,255,.28), transparent 34%),
    linear-gradient(145deg, rgba(255,255,255,.045), rgba(255,255,255,.018));
  box-shadow: 0 34px 120px rgba(0,0,0,.34), inset 0 1px 0 rgba(255,255,255,.06);
  backdrop-filter: blur(20px);
}

.calculator-main {
  padding: 34px;
  overflow: hidden;
  position: relative;
}

.calculator-main::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 78px 78px;
  opacity: .25;
  mask-image: radial-gradient(circle at 65% 0%, #000 0%, transparent 68%);
  pointer-events: none;
}

.calc-hero {
  min-height: 250px;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 28px;
  align-items: center;
  position: relative;
  z-index: 2;
  margin-bottom: 34px;
}

.calc-hero-text h1 {
  margin-top: 20px;
  font: 700 clamp(3rem, 6vw, 5.8rem)/.92 "Space Grotesk", Inter, sans-serif;
  letter-spacing: -.075em;
}

.calc-hero-text h1 span {
  display: block;
  width: fit-content;
  background: linear-gradient(115deg, #8b2cff, #c084fc 42%, #f05cff 92%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.calc-hero-text p {
  margin-top: 22px;
  max-width: 640px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.75;
}

.page-badge {
  display: inline-flex;
  padding: 10px 16px;
  border-radius: 999px;
  color: #d8b4fe;
  background: rgba(139,44,255,.13);
  border: 1px solid rgba(192,132,252,.24);
  font-weight: 900;
  font-size: .78rem;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.calc-art {
  height: 250px;
  position: relative;
  display: grid;
  place-items: center;
}

.mini-calculator {
  width: 170px;
  height: 210px;
  padding: 16px;
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(139,44,255,.90), rgba(54,18,110,.82));
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 28px 90px rgba(139,44,255,.36), inset 0 1px 0 rgba(255,255,255,.18);
  transform: rotate(10deg);
  animation: calcFloat 4.5s ease-in-out infinite;
}

.calc-screen {
  height: 44px;
  border-radius: 14px;
  background: rgba(3,1,8,.70);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 12px;
  font-weight: 900;
  font-size: 1.1rem;
  color: white;
  margin-bottom: 14px;
}

.calc-keys {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 8px;
}

.calc-keys span {
  height: 30px;
  border-radius: 9px;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.12);
}

.floating-cube,
.floating-code,
.floating-discord {
  position: absolute;
  border-radius: 18px;
  display: grid;
  place-items: center;
  color: #d8b4fe;
  background: rgba(139,44,255,.14);
  border: 1px solid rgba(192,132,252,.26);
  box-shadow: 0 18px 55px rgba(139,44,255,.25);
  backdrop-filter: blur(14px);
}

.floating-cube {
  width: 56px;
  height: 56px;
  left: 42px;
  top: 34px;
  transform: rotate(18deg);
}
.floating-cube::before {
  content: "";
  width: 31px;
  height: 31px;
  border-radius: 8px;
  background: linear-gradient(135deg, #7c22ff, #c084fc);
  transform: rotate(45deg);
}
.floating-code {
  width: 58px;
  height: 58px;
  left: 10px;
  bottom: 40px;
  font-weight: 900;
  font-size: 1.1rem;
}
.floating-discord {
  width: 64px;
  height: 64px;
  right: 22px;
  bottom: 28px;
}
.floating-discord svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.calc-step {
  position: relative;
  z-index: 2;
  margin-top: 28px;
}

.calc-step h2 {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 18px;
  font-size: 1.28rem;
}

.calc-step h2 span {
  color: #c084fc;
}

.calc-step h2 small {
  color: var(--muted);
  font-size: 1rem;
  font-weight: 700;
}

.service-select {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 14px;
}

.service-card-option,
.package-option,
.addon-card {
  position: relative;
  cursor: pointer;
  border-radius: 18px;
  background: rgba(255,255,255,.035);
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.045);
  transition: transform .22s ease, border-color .22s ease, background .22s ease, box-shadow .22s ease;
}

.service-card-option:hover,
.package-option:hover,
.addon-card:hover {
  transform: translateY(-4px);
  border-color: rgba(192,132,252,.30);
}

.service-card-option.active,
.package-option.active,
.addon-card.active {
  border-color: rgba(192,132,252,.75);
  background:
    radial-gradient(circle at 12% 0%, rgba(192,132,252,.18), transparent 50%),
    rgba(139,44,255,.09);
  box-shadow: 0 0 40px rgba(139,44,255,.16), inset 0 1px 0 rgba(255,255,255,.07);
}

.service-card-option {
  min-height: 120px;
  padding: 18px 42px 18px 18px;
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 14px;
  align-items: center;
}

.option-icon {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: rgba(139,44,255,.14);
  border: 1px solid rgba(192,132,252,.18);
}

.option-icon img {
  width: 70px;
  height: 70px;
  object-fit: contain;
  transform: scale(1.45);
}
.service-card-option h3 {
  font-size: 1.02rem;
  line-height: 1.25;
  margin-bottom: 7px;
}

.service-card-option p,
.package-option p,
.addon-card p {
  color: var(--muted);
  font-size: .86rem;
  line-height: 1.4;
}

.service-card-option strong {
  display: block;
  margin-top: 8px;
  color: #e9d5ff;
}

.check-box {
  position: absolute;
  right: 14px;
  top: 14px;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  border: 1px solid rgba(192,132,252,.35);
  background: rgba(255,255,255,.035);
}

.active .check-box::after {
  content: "✓";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: white;
  font-size: .9rem;
  font-weight: 900;
  border-radius: inherit;
  background: linear-gradient(135deg, #7c22ff, #c084fc);
}

.package-select {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 14px;
}

.package-option {
  min-height: 112px;
  padding: 18px 42px 18px 18px;
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  align-items: center;
}

.package-option .option-icon {
  width: 48px;
  height: 48px;
}

.package-option h3 {
  font-size: .98rem;
  margin-bottom: 6px;
}

.package-option strong {
  display: block;
  margin-top: 8px;
  color: #e9d5ff;
  font-size: 1.15rem;
}

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

.addon-card {
  min-height: 98px;
  padding: 16px 34px 16px 16px;
}

.addon-card h3 {
  font-size: .92rem;
  margin-bottom: 8px;
}

.addon-card strong {
  display: block;
  margin-top: 8px;
  color: #e9d5ff;
}

.calc-benefits {
  position: relative;
  z-index: 2;
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3,1fr);
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.035);
  overflow: hidden;
}

.benefit {
  padding: 20px;
  display: flex;
  gap: 14px;
  align-items: center;
}

.benefit:not(:last-child) {
  border-right: 1px solid rgba(255,255,255,.08);
}

.benefit svg,
.summary-title svg,
.reset-btn svg,
.estimate-note svg,
.summary-cta svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.benefit svg {
  color: #c084fc;
}

.benefit span {
  display: block;
  color: var(--muted);
  margin-bottom: 5px;
  font-size: .9rem;
}

.benefit strong {
  color: white;
}

/* Summary */
.summary-panel {
  position: sticky;
  top: 108px;
  padding: 28px;
}

.summary-title {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255,255,255,.10);
}

.summary-title svg {
  color: #c084fc;
}

.summary-title h2 {
  font-size: 1.45rem;
  letter-spacing: -.03em;
}

.summary-block {
  padding: 22px 0;
  border-bottom: 1px solid rgba(255,255,255,.09);
}

.summary-block h3 {
  margin-bottom: 16px;
  font-size: .98rem;
  color: white;
}

.summary-service {
  display: grid;
  grid-template-columns: 54px 1fr auto;
  gap: 14px;
  align-items: center;
}

.summary-icon {
  width: 54px;
  height: 54px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  color: #d8b4fe;
  background: rgba(139,44,255,.14);
  border: 1px solid rgba(192,132,252,.18);
}

.summary-icon svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.summary-service span {
  display: block;
  color: var(--muted);
  margin-top: 5px;
  font-size: .88rem;
}

.summary-service b {
  color: white;
}

.summary-addons {
  display: grid;
  gap: 10px;
}

.empty {
  color: var(--muted);
  font-size: .92rem;
}

.summary-addon-row,
.price-lines div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
  font-size: .95rem;
}

.summary-addon-row b,
.price-lines b {
  color: white;
}

.price-lines {
  padding: 22px 0;
  display: grid;
  gap: 14px;
  border-bottom: 1px solid rgba(255,255,255,.09);
}

.total-box {
  padding: 24px 0 22px;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 18px;
}

.total-box span {
  color: white;
  font-size: 1.1rem;
  font-weight: 900;
}

.total-box strong {
  font: 700 clamp(2.4rem, 4vw, 3.6rem)/1 "Space Grotesk", Inter, sans-serif;
  letter-spacing: -.06em;
  color: #a855f7;
  text-shadow: 0 0 24px rgba(168,85,247,.36);
}

.summary-cta,
.reset-btn {
  width: 100%;
  min-height: 58px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

.summary-cta {
  color: white;
  background: linear-gradient(135deg, #c026d3, #7c22ff, #4f46e5);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 20px 60px rgba(139,44,255,.26);
}

.summary-cta svg {
  width: 24px;
  height: 24px;
}

.reset-btn {
  margin-top: 14px;
  color: #d8b4fe;
  background: rgba(255,255,255,.035);
  border: 1px solid rgba(255,255,255,.10);
}

.reset-btn svg {
  width: 24px;
  height: 24px;
}

.estimate-note {
  margin-top: 28px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px;
  border-radius: 18px;
  background: rgba(139,44,255,.12);
  border: 1px solid rgba(192,132,252,.18);
}

.estimate-note svg {
  color: #c084fc;
  flex: 0 0 auto;
}

.estimate-note p {
  color: var(--muted);
  line-height: 1.55;
}

@keyframes calcFloat {
  0%,100% { transform: rotate(10deg) translateY(0); }
  50% { transform: rotate(7deg) translateY(-14px); }
}

@media (max-width: 1180px) {
  .calculator-shell {
    grid-template-columns: 1fr;
  }

  .summary-panel {
    position: relative;
    top: 0;
  }

  .calc-hero {
    grid-template-columns: 1fr;
  }

  .calc-art {
    display: none;
  }
}

@media (max-width: 900px) {
  .service-select,
  .addon-grid {
    grid-template-columns: repeat(2,1fr);
  }

  .package-select,
  .calc-benefits {
    grid-template-columns: 1fr 1fr;
  }

  .benefit:not(:last-child) {
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.08);
  }
}

@media (max-width: 620px) {
  .calculator-page {
    width: min(100% - 28px, 1500px);
  }

  .calculator-main,
  .summary-panel {
    padding: 22px;
    border-radius: 24px;
  }

  .service-select,
  .package-select,
  .addon-grid,
  .calc-benefits {
    grid-template-columns: 1fr;
  }

  .service-card-option {
    grid-template-columns: 52px 1fr;
  }
}

/* Calculator hero image asset */
.calculator-hero-img {
  width: min(100%, 430px);
  object-fit: contain;
  filter: drop-shadow(0 0 40px rgba(168, 85, 247, .45));
  animation: calcImageFloat 4.5s ease-in-out infinite;
}

.service-card-option,
.package-option,
.addon-card {
  color: var(--text);
  font-family: Inter, system-ui, sans-serif;
}

.service-card-option h3,
.package-option h3,
.addon-card h3 {
  color: var(--text);
}

@keyframes calcImageFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-14px) rotate(-1deg); }
}


.image-icon {
  background: transparent !important;
  border: none !important;
  width: 58px !important;
  height: 58px !important;
  padding: 0 !important;
}

.image-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 18px rgba(168,85,247,.35));
}

.addon-top {
  display:flex;
  align-items:center;
  gap:12px;
  margin-bottom:8px;
}

.addon-img {
  width:42px;
  height:42px;
  object-fit:contain;
  filter: drop-shadow(0 0 14px rgba(168,85,247,.3));
}
.summary-icon img {
  width: 46px;
  height: 46px;
  object-fit: contain;
}