:root {
  --primary: #6d28d9;
  --primary-dark: #4c1d95;
  --primary-soft: #ede9fe;
  --accent: #f59e0b;
  --green: #16a34a;
  --ink: #171226;
  --muted: #6f6880;
  --surface: #ffffff;
  --surface-alt: #f8f7fc;
  --line: #e8e5ef;
  --danger: #dc2626;
  --shadow: 0 22px 60px rgba(52, 32, 90, 0.12);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Tahoma, Arial, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 90% 8%, rgba(109, 40, 217, 0.10), transparent 24%),
    linear-gradient(180deg, #fbfaff 0%, #ffffff 45%, #f8f7fc 100%);
  overflow-x: hidden;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

img {
  max-width: 100%;
}

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

.page-glow {
  position: fixed;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.15;
  pointer-events: none;
  z-index: -1;
}

.glow-one {
  top: 120px;
  right: -120px;
  background: var(--primary);
}

.glow-two {
  bottom: 50px;
  left: -160px;
  background: var(--accent);
}

.topbar {
  width: min(1200px, calc(100% - 24px));
  margin: 14px auto 0;
  padding: 14px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(232, 229, 239, 0.9);
  border-radius: 20px;
  box-shadow: 0 12px 40px rgba(58, 40, 92, 0.08);
  backdrop-filter: blur(14px);
  position: sticky;
  top: 10px;
  z-index: 20;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: white;
  font-weight: 900;
  font-size: 20px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  box-shadow: 0 10px 24px rgba(109, 40, 217, 0.28);
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  margin-top: 4px;
}

.header-whatsapp {
  background: #e9f9ee;
  color: #087a34;
  border: 1px solid #c8efd5;
  padding: 11px 16px;
  border-radius: 999px;
  font-weight: 700;
  transition: 0.25s ease;
}

.header-whatsapp:hover {
  transform: translateY(-2px);
  background: #dcf7e5;
}

.hero {
  min-height: 640px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 54px;
  padding-block: 70px 54px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  background: var(--primary-soft);
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.2px;
}

.hero h1 {
  margin: 20px 0 18px;
  font-size: clamp(38px, 5vw, 68px);
  line-height: 1.15;
  letter-spacing: -1.8px;
}

.hero-copy > p {
  margin: 0;
  max-width: 670px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.95;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.btn {
  min-height: 52px;
  padding: 0 22px;
  border-radius: 14px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-weight: 800;
  transition: 0.25s ease;
}

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

.btn-primary {
  color: white;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  box-shadow: 0 16px 30px rgba(109, 40, 217, 0.24);
}

.btn-secondary {
  background: white;
  border: 1px solid var(--line);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 26px;
  color: #4f485d;
  font-size: 14px;
  font-weight: 700;
}

.trust-row span::first-letter {
  color: var(--green);
}

.hero-card {
  min-height: 430px;
  border-radius: 36px;
  position: relative;
  overflow: hidden;
  display: grid;
  align-content: center;
  gap: 16px;
  padding: 34px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.03)),
    linear-gradient(145deg, #6d28d9 0%, #311067 100%);
  box-shadow: 0 36px 80px rgba(74, 34, 136, 0.25);
  isolation: isolate;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 28px 28px;
  z-index: -2;
}

.mini-stat {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  color: white;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.mini-stat strong {
  font-size: 26px;
}

.mini-stat span {
  color: rgba(255, 255, 255, 0.75);
}

.hero-orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.15);
  z-index: -1;
}

.orbit-a {
  width: 270px;
  height: 270px;
  top: -110px;
  left: -90px;
}

.orbit-b {
  width: 190px;
  height: 190px;
  bottom: -70px;
  right: -40px;
}

.section-space {
  padding-block: 76px;
}

.section-heading {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 34px;
}

.section-heading h2 {
  margin: 16px 0 12px;
  font-size: clamp(30px, 4vw, 46px);
}

.section-heading p {
  margin: 0;
  color: var(--muted);
  line-height: 1.9;
}

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

.package-card {
  background: rgba(255,255,255,.92);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 25px;
  min-height: 330px;
  position: relative;
  box-shadow: 0 15px 45px rgba(61, 45, 90, 0.07);
  transition: 0.3s ease;
}

.package-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow);
}

.package-card.featured {
  border-color: #cfc1f8;
  background: linear-gradient(180deg, #fbf9ff, #ffffff);
}

.package-card.premium {
  color: white;
  border-color: transparent;
  background: linear-gradient(150deg, #271045, #6d28d9);
}

.package-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: var(--primary);
  font-weight: 900;
  background: var(--primary-soft);
}

.premium .package-icon {
  color: white;
  background: rgba(255,255,255,.14);
}

.package-card h3 {
  margin: 20px 0 10px;
  font-size: 22px;
}

.package-card > p {
  color: var(--muted);
  min-height: 72px;
  line-height: 1.75;
  font-size: 14px;
}

.premium > p {
  color: rgba(255,255,255,.72);
}

.price-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 12px 0;
  border-top: 1px dashed var(--line);
  font-size: 14px;
}

.premium .price-line {
  border-color: rgba(255,255,255,.18);
}

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

.price-line.single {
  margin-top: 20px;
}

.popular-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  padding: 7px 10px;
  border-radius: 999px;
  background: #fff4d6;
  color: #925c00;
  font-size: 11px;
  font-weight: 800;
}

.premium .popular-badge {
  background: rgba(255,255,255,.14);
  color: white;
}

.booking-section {
  background: linear-gradient(180deg, rgba(244, 241, 251, 0.74), rgba(255,255,255,.6));
  border-top: 1px solid #f0edf5;
}

.booking-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 28px;
  align-items: start;
}

.campaign-form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 32px;
}

.form-heading {
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.form-heading h2 {
  margin: 16px 0 8px;
  font-size: 34px;
}

.form-heading p {
  margin: 0;
  color: var(--muted);
}

.form-section {
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.form-section-title {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 22px;
}

.form-section-title > span {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: white;
  background: var(--primary);
  font-weight: 900;
}

.form-section-title h3 {
  margin: 0 0 5px;
  font-size: 20px;
}

.form-section-title p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.fields-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field-wide {
  grid-column: 1 / -1;
}

.field > span {
  color: #3b3448;
  font-size: 14px;
  font-weight: 800;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  color: var(--ink);
  background: #fbfafe;
  border: 1px solid #ded9e9;
  border-radius: 13px;
  padding: 13px 14px;
  outline: none;
  transition: 0.2s ease;
}

.field input,
.field select {
  min-height: 50px;
}

.field textarea {
  resize: vertical;
  min-height: 100px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(109, 40, 217, 0.09);
}

.field.invalid input,
.field.invalid select,
.field.invalid textarea {
  border-color: var(--danger);
}

.error-message {
  min-height: 17px;
  display: block;
  color: var(--danger);
  font-size: 12px;
}

.objective-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.objective-option {
  position: relative;
  cursor: pointer;
}

.objective-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.option-content {
  min-height: 90px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  transition: 0.2s ease;
}

.objective-option input:checked + .option-content {
  border-color: var(--primary);
  background: var(--primary-soft);
  box-shadow: 0 0 0 3px rgba(109, 40, 217, .08);
}

.option-content strong {
  font-size: 16px;
}

.option-content small {
  color: var(--muted);
}

.objective-error {
  margin-top: 8px;
}

.package-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.package-choice {
  position: relative;
  cursor: pointer;
}

.package-choice input {
  position: absolute;
  opacity: 0;
}

.package-choice span {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  min-height: 66px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #fff;
  transition: .2s ease;
}

.package-choice input:checked + span {
  border-color: var(--primary);
  background: var(--primary-soft);
}

.package-choice strong {
  color: var(--primary-dark);
}

.followers-wrap {
  margin-top: 18px;
  max-width: 340px;
}

.duration-note {
  margin-top: 18px;
  color: #5f4a1c;
  background: #fff8e8;
  border: 1px solid #f4e3b9;
  padding: 14px 16px;
  border-radius: 14px;
  line-height: 1.75;
  font-size: 13px;
}

.iban-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 18px;
  color: white;
  background: linear-gradient(135deg, #2e0f55, #6d28d9);
  border-radius: 18px;
  margin-bottom: 18px;
}

.iban-card span,
.iban-card strong {
  display: block;
}

.iban-card span {
  color: rgba(255,255,255,.7);
  font-size: 13px;
  margin-bottom: 7px;
}

.iban-card strong {
  font-size: clamp(14px, 2.2vw, 19px);
  letter-spacing: 1px;
  direction: ltr;
  text-align: right;
  word-break: break-all;
}

.copy-btn {
  flex: 0 0 auto;
  color: #2e0f55;
  background: white;
  border: 0;
  border-radius: 11px;
  padding: 10px 14px;
  font-weight: 800;
  cursor: pointer;
}

.upload-box {
  position: relative;
  min-height: 190px;
  border: 2px dashed #cec6dc;
  border-radius: 18px;
  background: #fbfafe;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 7px;
  text-align: center;
  cursor: pointer;
  overflow: hidden;
  transition: .2s ease;
}

.upload-box:hover,
.upload-box.dragover {
  border-color: var(--primary);
  background: var(--primary-soft);
}

.upload-box input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.upload-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--primary);
  background: var(--primary-soft);
  font-size: 26px;
  font-weight: 400;
}

.upload-box small {
  color: var(--muted);
}

.receipt-preview {
  position: absolute;
  inset: 8px;
  width: calc(100% - 16px);
  height: calc(100% - 16px);
  object-fit: contain;
  border-radius: 13px;
  background: white;
  z-index: 2;
}

.terms-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 16px;
  color: #4d4658;
  font-size: 14px;
  line-height: 1.7;
}

.terms-check input {
  margin-top: 5px;
  accent-color: var(--primary);
}

.submit-btn,
.share-receipt-btn {
  width: 100%;
  min-height: 56px;
  margin-top: 26px;
  border: 0;
  border-radius: 16px;
  font-weight: 900;
  cursor: pointer;
  transition: .25s ease;
}

.submit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: white;
  background: linear-gradient(135deg, #16a34a, #0e7b37);
  box-shadow: 0 18px 32px rgba(22, 163, 74, .22);
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 38px rgba(22, 163, 74, .28);
}

.whatsapp-note {
  color: var(--muted);
  text-align: center;
  line-height: 1.8;
  font-size: 12px;
  margin: 13px 0 0;
}

.share-receipt-btn {
  margin-top: 12px;
  color: var(--primary);
  background: var(--primary-soft);
  border: 1px solid #d8cff3;
}

.order-summary {
  position: sticky;
  top: 110px;
  display: grid;
  gap: 18px;
}

.summary-card,
.support-card {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: white;
  box-shadow: 0 16px 45px rgba(58, 43, 86, .08);
  padding: 24px;
}

.summary-card h3 {
  margin: 16px 0 24px;
  font-size: 24px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  color: var(--muted);
  border-bottom: 1px solid #f0edf5;
}

.summary-row strong {
  color: var(--ink);
  text-align: left;
}

.summary-divider {
  height: 1px;
  margin: 12px 0;
  background: var(--line);
}

.summary-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.summary-total strong {
  color: var(--primary);
  font-size: 28px;
}

.summary-tip {
  margin-top: 18px;
  color: #5f4a1c;
  background: #fff8e8;
  border-radius: 12px;
  padding: 12px;
  font-size: 12px;
  line-height: 1.7;
}

.support-card {
  color: white;
  background: linear-gradient(145deg, #1b1430, #37225f);
  border-color: transparent;
}

.support-card strong {
  font-size: 20px;
}

.support-card p {
  color: rgba(255,255,255,.7);
  line-height: 1.8;
}

.support-card a {
  display: inline-flex;
  direction: ltr;
  font-weight: 900;
  color: #b8f2cc;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translate(-50%, 120px);
  opacity: 0;
  pointer-events: none;
  color: white;
  background: #211631;
  border-radius: 12px;
  padding: 12px 18px;
  box-shadow: 0 18px 45px rgba(0,0,0,.22);
  z-index: 50;
  transition: .3s ease;
  text-align: center;
}

.toast.show {
  transform: translate(-50%, 0);
  opacity: 1;
}

footer {
  color: white;
  background: #171126;
  padding: 32px 0;
}

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

.footer-content p {
  color: rgba(255,255,255,.65);
  margin: 7px 0 0;
}

.footer-content > span {
  color: rgba(255,255,255,.65);
  font-size: 13px;
}

.hidden {
  display: none !important;
}

@media (max-width: 1050px) {
  .package-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .booking-layout {
    grid-template-columns: 1fr;
  }

  .order-summary {
    position: static;
    grid-template-columns: repeat(2, 1fr);
    order: -1;
  }
}

@media (max-width: 820px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 50px;
  }

  .hero-card {
    min-height: 330px;
  }

  .hero h1 {
    letter-spacing: -1px;
  }

  .header-whatsapp {
    font-size: 0;
    width: 44px;
    height: 44px;
    padding: 0;
    display: grid;
    place-items: center;
  }

  .header-whatsapp::before {
    content: "✆";
    font-size: 20px;
  }
}

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

  .topbar {
    width: calc(100% - 14px);
    top: 6px;
    margin-top: 7px;
    border-radius: 16px;
  }

  .brand small {
    display: none;
  }

  .brand strong {
    font-size: 14px;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .hero {
    padding-block: 42px 32px;
    gap: 28px;
  }

  .hero h1 {
    font-size: 38px;
  }

  .hero-copy > p {
    font-size: 16px;
  }

  .hero-card {
    min-height: 300px;
    padding: 20px;
    border-radius: 26px;
  }

  .mini-stat strong {
    font-size: 20px;
  }

  .section-space {
    padding-block: 54px;
  }

  .package-grid,
  .fields-grid,
  .objective-options,
  .package-options,
  .order-summary {
    grid-template-columns: 1fr;
  }

  .campaign-form {
    padding: 20px;
    border-radius: 22px;
  }

  .form-heading h2 {
    font-size: 27px;
  }

  .iban-card {
    align-items: stretch;
    flex-direction: column;
  }

  .copy-btn {
    width: 100%;
  }

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


/* Agartha branding and revised payment components */
.brand-logo {
  width: 58px;
  height: 46px;
  object-fit: cover;
  border-radius: 13px;
  box-shadow: 0 9px 22px rgba(76, 29, 149, 0.22);
  flex: 0 0 auto;
}

.hero-brand-logo {
  position: relative;
  z-index: 2;
  width: min(100%, 330px);
  max-height: 150px;
  object-fit: cover;
  object-position: center;
  margin: 0 auto 10px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,.22);
  box-shadow: 0 18px 40px rgba(0,0,0,.18);
}

.package-card.premium {
  color: white;
  border-color: transparent;
  background: linear-gradient(150deg, #271045, #6d28d9);
}

.package-card.premium > p {
  color: rgba(255,255,255,.72);
}

.package-card.premium .package-icon {
  color: white;
  background: rgba(255,255,255,.14);
}

.package-card.premium .price-line {
  border-color: rgba(255,255,255,.18);
}

.package-card.premium .popular-badge {
  background: rgba(255,255,255,.14);
  color: white;
}

.package-card.featured {
  color: var(--ink);
  border-color: #cfc1f8;
  background: linear-gradient(180deg, #fbf9ff, #ffffff);
}

.package-card.featured > p {
  color: var(--muted);
}

.package-card.featured .package-icon {
  color: var(--primary);
  background: var(--primary-soft);
}

.package-card.featured .price-line {
  border-color: var(--line);
}

.package-card.featured .popular-badge {
  background: #fff4d6;
  color: #925c00;
}

.lypay-logo-card {
  display: grid;
  place-items: center;
  min-height: 150px;
  margin-bottom: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}

.lypay-logo-card img {
  width: min(100%, 520px);
  max-height: 135px;
  object-fit: contain;
}

.payment-status-block {
  margin-top: 18px;
}

.payment-status-title {
  display: block;
  margin-bottom: 10px;
  color: #3b3448;
  font-size: 14px;
  font-weight: 800;
}

.payment-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.payment-option {
  position: relative;
  cursor: pointer;
}

.payment-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.payment-option span {
  min-height: 62px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  color: #494153;
  font-weight: 800;
  transition: .2s ease;
}

.payment-option input:checked + span {
  color: var(--primary-dark);
  border-color: var(--primary);
  background: var(--primary-soft);
  box-shadow: 0 0 0 3px rgba(109,40,217,.08);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 13px;
}

.footer-brand img {
  width: 64px;
  height: 45px;
  object-fit: cover;
  border-radius: 10px;
}

#duration:disabled {
  cursor: not-allowed;
  opacity: .72;
}

@media (max-width: 650px) {
  .brand-logo {
    width: 50px;
    height: 40px;
  }

  .payment-options {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    flex-direction: column;
  }
}
