  :root {
      --glass-bg: rgba(255,255,255,0.12);
      --glass-border: rgba(255,255,255,0.25);
      --accent: #2ef2e9;
      --text-main: #ffffff;
      --text-muted: rgba(255,255,255,0.75);
    }

    * { box-sizing: border-box; }

    body {
      margin: 0;
      font-family: 'Inter', system-ui, sans-serif;
      color: var(--text-main);
      background: radial-gradient(circle at top, #0b1a2a, #02040a 70%);
      overflow-x: hidden;
    }

    header {
      min-height: 100vh;
      display: flex;
      align-items: center;
      justify-content: center;
      position: relative;
    }

    .stars {
      position: absolute;
      inset: 0;
      background-image:
        radial-gradient(1px 1px at 20% 30%, #fff, transparent),
        radial-gradient(1px 1px at 80% 40%, #fff, transparent),
        radial-gradient(1px 1px at 60% 70%, #fff, transparent);
      animation: drift 60s linear infinite;
      opacity: 0.4;
    }

    @keyframes drift {
      from { background-position: 0 0; }
      to { background-position: 1000px 1000px; }
    }

    .hero {
      max-width: 1100px;
      width: 100%;
      background: var(--glass-bg);
      backdrop-filter: blur(16px) saturate(140%);
      -webkit-backdrop-filter: blur(16px) saturate(140%);
      border: 1px solid var(--glass-border);
      border-radius: 24px;
      padding: 3rem;
      box-shadow: 0 30px 80px rgba(0,0,0,0.45);
      display: grid;
      grid-template-columns: 1.1fr 0.9fr;
      gap: 2.5rem;
      position: relative;
      z-index: 2;
    }

    @media (max-width: 900px) {
      .hero {
        grid-template-columns: 1fr;
        padding: 2rem;
      }
    }

    h1 {
      font-size: clamp(2rem, 3.5vw, 3rem);
      margin: 0 0 1rem 0;
      letter-spacing: -0.02em;
    }

    h1 span {
      color: var(--accent);
    }

    p.lead {
      font-size: 1.05rem;
      line-height: 1.6;
      color: var(--text-muted);
      margin-bottom: 2rem;
    }

    .cta {
      display: flex;
      flex-wrap: wrap;
      gap: 1rem;
      margin-bottom: 2rem;
    }

    .btn {
      padding: 0.85rem 1.4rem;
      border-radius: 14px;
      border: 1px solid var(--glass-border);
      background: rgba(255,255,255,0.08);
      color: #fff;
      font-weight: 600;
      text-decoration: none;
      transition: all 0.25s ease;
      backdrop-filter: blur(8px);
    }

    .btn.primary {
      background: linear-gradient(135deg, #2ef2e9, #1fb9c4);
      color: #041418;
      border: none;
    }

    .btn:hover {
      transform: translateY(-2px);
      box-shadow: 0 10px 30px rgba(0,0,0,0.35);
    }

    .note {
      font-size: 0.85rem;
      color: var(--text-muted);
    }

    .features {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
      gap: 1.2rem;
      margin-top: 2.5rem;
    }

    .card {
      background: rgba(255,255,255,0.06);
      border: 1px solid var(--glass-border);
      border-radius: 18px;
      padding: 1.2rem 1.3rem;
      backdrop-filter: blur(10px);
      transition: transform 0.3s ease;
    }

    .card:hover { transform: translateY(-4px); }

    .card h3 {
      margin: 0 0 0.5rem 0;
      font-size: 1rem;
    }

    .card p {
      margin: 0;
      font-size: 0.9rem;
      color: var(--text-muted);
      line-height: 1.5;
    }

	.preview {
	  display: flex;
	  flex-direction: column;
	  justify-content: center;   /* vertical centering */
	  align-items: center;       /* horizontal centering */
	  height: 100%;
	  gap: 1.2rem;
	}

    .preview img {
      width: 100%;
      border-radius: 18px;
      border: 1px solid var(--glass-border);
      box-shadow: 0 20px 60px rgba(0,0,0,0.5);
      animation: float 8s ease-in-out infinite;
    }

    @keyframes float {
      0%,100% { transform: translateY(0); }
      50% { transform: translateY(-10px); }
    }

    section.donate {
      padding: 5rem 1.5rem;
      display: flex;
      justify-content: center;
    }

    .donate-box {
      max-width: 800px;
      width: 100%;
      background: var(--glass-bg);
      border: 1px solid var(--glass-border);
      border-radius: 24px;
      padding: 2.5rem;
      backdrop-filter: blur(16px);
      text-align: center;
    }

    .donate-box h2 {
      margin-top: 0;
    }

    footer {
      text-align: center;
      padding: 2rem 1rem 3rem;
      font-size: 0.8rem;
      color: var(--text-muted);
    }
	  /* ===== Donate Floating Overlay ===== */
.donate-overlay {
  position: fixed;
  inset: 0;
  background: radial-gradient(
    circle at center,
    rgba(20,40,60,0.55),
    rgba(0,0,0,0.75)
  );
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 555;
}

/* Floating glass card */
.donate-box {
  max-width: 560px;
  width: 92%;
  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.18),
    rgba(255,255,255,0.08)
  );
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 26px;
  padding: 2.6rem 2.4rem 2.8rem;
  backdrop-filter: blur(20px) saturate(160%);
  box-shadow:
    0 40px 120px rgba(0,0,0,0.7),
    inset 0 1px 0 rgba(255,255,255,0.25);
  text-align: center;
  animation: donateFloatIn 0.6s ease forwards;
  position: relative;
}

/* Subtle floating animation */
@keyframes donateFloatIn {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
.donate-box h2 {
  font-size: 1.6rem;
  margin-bottom: 0.8rem;
}

.donate-box .lead {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 1.2rem;
}

.donate-box::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(
    135deg,
    rgba(46,242,233,0.35),
    transparent 40%,
    transparent 60%,
    rgba(46,242,233,0.15)
  );
  pointer-events: none;
}
	.btn {
		cursor: pointer;
}
	  @media (prefers-reduced-motion: no-preference) {
  .donate-box {
    animation:
      donateFloatIn 0.6s ease forwards,
      slowFloat 12s ease-in-out infinite;
  }

  @keyframes slowFloat {
    0%,100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
  }
}
/* Hard anchor for PayPal */
.paypal-wrap {
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
  display: block;
}

/* Neutralize flex / transforms for PayPal */
#paypal-container-CBZ5VDMPB7MNW {
  width: 100%;
  display: block;
}

/* Force iframe to obey wrapper */
#paypal-container-CBZ5VDMPB7MNW iframe {
  width: 100% !important;
  min-width: 280px !important;
  max-width: 360px !important;
  display: block !important;
  margin: 0 auto !important;
}
.setup-btn {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  color: #fff;
  padding: 0.6rem 1.1rem;
  border-radius: 12px;
  cursor: pointer;
  backdrop-filter: blur(12px);
}

.setup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.setup-box {
  position: relative;
  width: min(420px, 92vw);
  background: rgba(20,22,30,0.85);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 22px;
  padding: 1.8rem;
  color: #fff;
  backdrop-filter: blur(18px);
}

.setup-options {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin: 1.2rem 0;
}

.setup-options label {
  display: flex;
  flex-direction: column;
  font-size: 0.9rem;
  gap: 0.3rem;
}

.primary-btn {
  width: 100%;
  padding: 0.7rem;
  border-radius: 14px;
  border: none;
  background: #6ea8ff;
  color: #000;
  font-weight: 600;
  cursor: pointer;
}
/* === Atmospire Input Fields === */

.setup-options input,
.setup-options select {
  width: 100%;
  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.12),
    rgba(255,255,255,0.04)
  );
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 14px;
  padding: 0.65rem 0.8rem;
  color: #ffffff;
  font-size: 0.92rem;
  outline: none;
  backdrop-filter: blur(14px) saturate(160%);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

/* Placeholder */
.setup-options input::placeholder {
  color: rgba(255,255,255,0.55);
}

/* Focus state */
.setup-options input:focus,
.setup-options select:focus {
  border-color: #7da6ff;
  background: linear-gradient(
    180deg,
    rgba(125,166,255,0.22),
    rgba(255,255,255,0.08)
  );
  box-shadow:
    0 0 0 1px rgba(125,166,255,0.4),
    0 10px 24px rgba(0,0,0,0.35);
}

/* Hover (desktop) */
.setup-options input:hover,
.setup-options select:hover {
  border-color: rgba(255,255,255,0.35);
}

/* Disabled (future use) */
.setup-options input:disabled,
.setup-options select:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.setup-options label {
  font-size: 0.82rem;
  letter-spacing: 0.3px;
  color: rgba(255,255,255,0.75);
}
/* === Compact vertical rhythm === */
.setup-step {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;          /* was too large */
}

/* Remove default margins that create hidden gaps */
.setup-step h2,
.setup-step p {
  margin: auto;
}
.preview img {
  cursor: zoom-in;
}


.hidden {
  display: none;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.3rem;
  cursor: pointer;
}

.link {
  font-size: 0.8rem;
  color: #7da6ff;
  text-decoration: none;
  text-align: center;
}
/* === Force Atmospire glass inputs === */
.setup-box input {
	margin: 10px auto;
  width: 100%;
  box-sizing: border-box;

  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.14),
    rgba(255,255,255,0.05)
  );
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 14px;

  padding: 0.6rem 0.75rem;
  color: #ffffff;
  font-size: 0.9rem;

  outline: none;
  backdrop-filter: blur(14px) saturate(160%);
  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease;
}
.platform-notes {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.platform-notes .note {
  font-size: 0.95rem;
  color: #ffffff;
}

.platform-notes .label {
  opacity: 0.7;
  margin-right: 0.35rem;
}

.platform-notes a {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.platform-notes .muted {
  opacity: 0.65;
}

/* Mobile: stack vertically */
@media (max-width: 640px) {
  .platform-notes {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
  }
}

	  .ui-alert {
  position: fixed;
  inset: 0;
  z-index: 11111;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(4px);
}

.ui-alert.hidden {
  display: none;
}

.ui-alert-box {
  background: rgba(20,20,20,0.95);
  color: #fff;
  padding: 1.5rem 1.75rem;
  border-radius: 14px;
  max-width: 320px;
  width: 90%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.ui-alert-box p {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  line-height: 1.4;
}

.ui-alert-box button {
  background: #fff;
  color: #000;
  border: none;
  border-radius: 999px;
  padding: 0.45rem 1.2rem;
  font-size: 0.9rem;
  cursor: pointer;
}
.image-viewer {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 4000;
}

.image-viewer.hidden {
  display: none;
}

.image-viewer img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 14px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.6);
}

.image-close {
  position: absolute;
  top: 18px;
  right: 20px;
  background: rgba(0,0,0,0.6);
  border: none;
  color: #fff;
  font-size: 1.6rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
}
.atmospire-loader {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at center, #0d1224 0%, #06080f 75%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 6000;
  transition: opacity 1s ease, visibility 1s ease;
}

.atmospire-loader.hidden {
  opacity: 0;
  visibility: hidden;
}

/* Core system */
.loader-center {
  position: relative;
  width: 120px;
  height: 120px;
}

/* Sun */
.sun-core {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 18px;
  height: 18px;
  background: #ffd27d;
  border-radius: 50%;
  box-shadow:
    0 0 18px rgba(255,210,125,0.9),
    0 0 50px rgba(255,210,125,0.35);
}

/* Orbits */
.orbit {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  animation: spin linear infinite;
}

.orbit.earth {
  border: 1px solid rgba(124,156,255,0.45);
  animation-duration: 6s;
}

.orbit.moon {
  inset: 18px;
  border: 1px solid rgba(255,255,255,0.25);
  animation-duration: 10s;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* Label */
.loader-label {
  margin-top: 34px;
  font-size: 0.9rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
}
.ui-alert-box {
  position: relative; /* REQUIRED for X button */
}
.alert-x {
  position: absolute;
  top: 12px;
  right: 14px;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.25rem;
  cursor: pointer;
  z-index: 1; /* ensure above content */
}
.code-input {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin: 1.2rem 0 1.4rem;
}

.code-input input {
  width: 46px;
  height: 56px;
  text-align: center;
  font-size: 1.4rem;
  font-weight: 600;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.25);
  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.16),
    rgba(255,255,255,0.06)
  );
  color: #fff;
  outline: none;
  caret-color: transparent;
  backdrop-filter: blur(14px) saturate(160%);
}

.code-input input:focus {
  border-color: #7da6ff;
  box-shadow:
    0 0 0 1px rgba(125,166,255,0.5),
    0 10px 26px rgba(0,0,0,0.4);
}

@media (max-width: 480px) {
  .code-input input {
    width: 40px;
    height: 52px;
    font-size: 1.25rem;
  }
}
button {
	cursor: pointer;
}




/* Overlay */
#plansModal {
  backdrop-filter: blur(18px) saturate(140%);
  background: rgba(10, 12, 16, 0.55);
}

/* Modal box */
#plansModal .donate-box {
  max-width: 720px;
  padding: 2rem;
  border-radius: 28px;
  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,0.12),
      rgba(255,255,255,0.04)
    );
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow:
    0 40px 120px rgba(0,0,0,0.55),
    inset 0 1px 0 rgba(255,255,255,0.12);
}

/* Title */
#plansModal h2 {
  font-size: 1.9rem;
  letter-spacing: 0.2px;
  margin-bottom: 0.4rem;
}

#plansModal .lead {
  color: rgba(255,255,255,0.75);
  margin-bottom: 1.8rem;
}

/* ================= PLANS GRID ================= */

.plans-grid {
  display: grid;
  gap: 1rem;
  width: 100%;
}

/* Mobile: 1 column */
@media (max-width: 767px) {
  .plans-grid {
    grid-template-columns: 1fr;
  }
}

/* Tablet / Desktop: 3 columns */
@media (min-width: 768px) {
  .plans-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}


/* Cards */
.plan-card {
  position: relative;
  padding: 1.8rem 1.6rem 2rem;
  border-radius: 22px;
  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,0.14),
      rgba(255,255,255,0.05)
    );
  border: 1px solid rgba(255,255,255,0.16);
  backdrop-filter: blur(14px);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.plan-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.45);
}

/* Highlighted plan */
.plan-card.highlight {
  border-color: rgba(255, 209, 64, 0.9);
  box-shadow:
    0 0 0 1px rgba(255,209,64,0.55),
    0 30px 90px rgba(255,209,64,0.18);
}

.plan-card.highlight::before {
  content: "Recommended";
  position: absolute;
  top: -12px;
  right: 18px;
  padding: 0.25rem 0.65rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.4px;
  border-radius: 999px;
  background: #FFD140;
  color: #000;
}

/* Headings */
.plan-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.4rem;
}

/* Price */
.price {
  font-size: 2.1rem;
  font-weight: 700;
  margin: 0.6rem 0 1rem;
}

.price span {
  font-size: 0.9rem;
  opacity: 0.65;
  font-weight: 400;
}

/* Features */
.plan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.4rem;
}

.plan-features li {
  font-size: 0.88rem;
  padding: 0.35rem 0;
  opacity: 0.85;
}

/* Buttons */
.plan-btn {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.plan-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.35);
}

.plan-btn.personal {
  background: rgba(255,255,255,0.22);
  color: #fff;
}

.plan-btn.professional {
  background: linear-gradient(180deg, #FFE08A, #FFD140);
  color: #000;
}

/* Close button */
#plansModal .modal-close {
  font-size: 1.2rem;
  opacity: 0.7;
}

#plansModal .modal-close:hover {
  opacity: 1;
}


/* Make overlay scrollable on small screens */
#plansModal {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 1.2rem;
}

/* Constrain modal height */
#plansModal .donate-box {
  max-height: calc(100vh - 2.4rem);
  overflow-y: auto;
  overflow-x: hidden;
}

/* Mobile-specific tightening */
@media (max-width: 480px) {
  #plansModal .donate-box {
    padding: 1.4rem 1.2rem 1.6rem;
  }

  .plans-grid {
    grid-template-columns: 1fr;
    gap: 1.1rem;
  }

  .plan-card {
    padding: 1.2rem 1.1rem 1.3rem;
  }

  .price {
    font-size: 1.7rem;
  }
}
@media (max-width: 480px) {
  #plansModal {
    padding: 0.5rem;
  }

  #plansModal .donate-box {
    max-width: calc(100vw - 1rem);
    width: 100%;
    box-sizing: border-box;
  }
}

/* Hide vertical scrollbar on desktop */
@media (min-width: 768px) {
  #plansModal .donate-box{
     overflow-y: hidden;/* Firefox */
  }
}

.loader-text {
	display:none;
}