/* ==== Nebula — dark glassmorphism with aurora accents ==== */
.mode-light .theme-nebula { --slp-bg: #eef1fb; }
.theme-nebula {
  --slp-bg: #070b1c;
  --slp-bg-2: #0d1230;
  --slp-surface: rgba(255, 255, 255, 0.05);
  --slp-surface-solid: #0d1230;
  --slp-text: #eef1ff;
  --slp-muted: #9aa3c7;
  --slp-accent: #7c6cff;
  --slp-accent-2: #00e0c6;
  --slp-danger: #ff5d8f;
  --slp-border: rgba(255, 255, 255, 0.12);
  --slp-card-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  --slp-glow: rgba(124, 108, 255, 0.55);
  --slp-btn-text: #ffffff;
}

.theme-nebula {
  background:
    radial-gradient(1000px 600px at 85% -10%, rgba(124, 108, 255, 0.25), transparent 60%),
    radial-gradient(900px 500px at -10% 20%, rgba(0, 224, 198, 0.14), transparent 60%),
    var(--slp-bg);
  color: var(--slp-text);
  min-height: 100vh;
}

.theme-nebula .slp-nav {
  backdrop-filter: blur(18px);
  background: rgba(7, 11, 28, 0.6);
  border-bottom: 1px solid var(--slp-border);
}

.mode-light.theme-nebula .slp-nav { background: rgba(238, 241, 251, 0.7); }

.theme-nebula .slp-nav__brand {
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  color: var(--slp-text);
  text-decoration: none;
}

.theme-nebula .slp-nav__brand b {
  background: linear-gradient(120deg, var(--slp-accent), var(--slp-accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.theme-nebula .nav-link { color: var(--slp-muted); font-weight: 500; }
.theme-nebula .nav-link:hover, .theme-nebula .nav-link.active { color: var(--slp-text); }

.theme-nebula .btn { border-radius: 12px; font-weight: 600; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.theme-nebula .btn:hover { transform: translateY(-1px); }
.theme-nebula .btn-accent {
  background: linear-gradient(120deg, var(--slp-accent), var(--slp-accent-2));
  color: var(--slp-btn-text);
  border: none;
  box-shadow: 0 10px 30px rgba(124, 108, 255, 0.35);
}
.theme-nebula .btn-ghost {
  background: var(--slp-surface);
  color: var(--slp-text);
  border: 1px solid var(--slp-border);
}
.theme-nebula .btn-ghost:hover { border-color: var(--slp-accent); color: var(--slp-text); }

/* Hero */
.theme-nebula .hero { position: relative; padding: 7rem 0 4rem; overflow: hidden; }
.theme-nebula .hero-orb {
  position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.5; pointer-events: none;
}
.theme-nebula .hero-orb.orb-1 { width: 420px; height: 420px; background: #7c6cff; top: -120px; right: -80px; }
.theme-nebula .hero-orb.orb-2 { width: 340px; height: 340px; background: #00e0c6; bottom: -140px; left: -60px; opacity: 0.35; }

.theme-nebula .hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.45rem 1rem; border-radius: 999px;
  background: var(--slp-surface); border: 1px solid var(--slp-border);
  font-size: 0.82rem; color: var(--slp-muted);
}
.theme-nebula .hero-title { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.08; }
.theme-nebula .hero-sub { color: var(--slp-muted); font-size: 1.15rem; max-width: 640px; }

/* Shortener card */
.theme-nebula .shortener-card {
  background: var(--slp-surface);
  border: 1px solid var(--slp-border);
  border-radius: 20px;
  padding: 0.4rem;
  box-shadow: var(--slp-card-shadow);
  backdrop-filter: blur(20px);
  display: flex; flex-direction: column; gap: 0.4rem;
}
.theme-nebula .shortener-input-row { display: flex; gap: 0.4rem; flex-wrap: wrap; }
.theme-nebula .shortener-input {
  flex: 1 1 260px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--slp-border);
  color: var(--slp-text);
  border-radius: 14px;
  padding: 0.95rem 1.2rem;
}
.theme-nebula .shortener-input::placeholder { color: var(--slp-muted); }
.theme-nebula .shortener-input:focus { outline: none; border-color: var(--slp-accent); box-shadow: 0 0 0 3px rgba(124, 108, 255, 0.25); }

/* Sections */
.theme-nebula .section { padding: 5rem 0; }
.theme-nebula .section-eyebrow {
  text-transform: uppercase; letter-spacing: 0.18em; font-size: 0.75rem; font-weight: 700; color: var(--slp-accent-2);
}
.theme-nebula .section-title { font-size: clamp(1.7rem, 3.5vw, 2.6rem); font-weight: 800; letter-spacing: -0.02em; }
.theme-nebula .section-sub { color: var(--slp-muted); }

/* Feature cards */
.theme-nebula .feature-card {
  background: var(--slp-surface);
  border: 1px solid var(--slp-border);
  border-radius: 18px;
  padding: 1.6rem;
  height: 100%;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.theme-nebula .feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(124, 108, 255, 0.6);
  box-shadow: var(--slp-card-shadow);
}
.theme-nebula .feature-icon {
  width: 52px; height: 52px; display: grid; place-items: center; border-radius: 14px;
  background: linear-gradient(135deg, rgba(124, 108, 255, 0.35), rgba(0, 224, 198, 0.25));
  color: #fff; font-size: 1.4rem; margin-bottom: 1rem;
}
.theme-nebula .feature-card h5 { font-weight: 700; }
.theme-nebula .feature-card p { color: var(--slp-muted); font-size: 0.95rem; margin: 0; }

/* Stats strip */
.theme-nebula .stat-strip {
  border-radius: 22px; overflow: hidden;
  background: linear-gradient(120deg, rgba(124, 108, 255, 0.18), rgba(0, 224, 198, 0.12));
  border: 1px solid var(--slp-border);
}
.theme-nebula .stat-item { padding: 2rem; text-align: center; }
.theme-nebula .stat-item + .stat-item { border-left: 1px solid var(--slp-border); }
.theme-nebula .stat-num { font-size: 2.2rem; font-weight: 800; }
.theme-nebula .stat-label { color: var(--slp-muted); font-size: 0.9rem; }

/* Pricing */
.theme-nebula .plan-card {
  background: var(--slp-surface);
  border: 1px solid var(--slp-border);
  border-radius: 22px;
  padding: 2rem;
  height: 100%;
  position: relative;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.theme-nebula .plan-card:hover { transform: translateY(-6px); border-color: rgba(124, 108, 255, 0.6); }
.theme-nebula .plan-card.plan-popular {
  border: 1px solid var(--slp-accent);
  background: linear-gradient(160deg, rgba(124, 108, 255, 0.14), var(--slp-surface));
  box-shadow: 0 24px 70px rgba(124, 108, 255, 0.28);
}
.theme-nebula .popular-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(120deg, var(--slp-accent), var(--slp-accent-2));
  color: #fff; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em;
  padding: 0.35rem 0.9rem; border-radius: 999px; text-transform: uppercase;
}
.theme-nebula .plan-price { font-size: 2.4rem; font-weight: 800; }
.theme-nebula .plan-feature { color: var(--slp-muted); font-size: 0.92rem; display: flex; gap: 0.5rem; align-items: center; }
.theme-nebula .plan-feature i { color: var(--slp-accent-2); }

/* Testimonials */
.theme-nebula .testi-card {
  background: var(--slp-surface);
  border: 1px solid var(--slp-border);
  border-radius: 18px;
  padding: 1.6rem;
  height: 100%;
}
.theme-nebula .quote { color: var(--slp-muted); font-size: 0.95rem; }
.theme-nebula .avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--slp-accent), var(--slp-accent-2));
  color: #fff; display: grid; place-items: center; font-weight: 700;
}

/* FAQ */
.theme-nebula .accordion-item {
  background: var(--slp-surface);
  border: 1px solid var(--slp-border);
  border-radius: 14px !important;
  overflow: hidden;
}
.theme-nebula .accordion-button {
  background: transparent; color: var(--slp-text); font-weight: 600;
  box-shadow: none !important;
}
.theme-nebula .accordion-button:not(.collapsed) { color: var(--slp-accent); }
.theme-nebula .accordion-body { color: var(--slp-muted); }

/* CTA band */
.theme-nebula .cta-band {
  border-radius: 26px; padding: 3rem;
  background: linear-gradient(120deg, rgba(124, 108, 255, 0.28), rgba(0, 224, 198, 0.18));
  border: 1px solid var(--slp-border);
  position: relative; overflow: hidden;
}

/* Result / interstitial */
.theme-nebula .result-box, .theme-nebula .interstitial-card {
  background: var(--slp-surface);
  border: 1px solid var(--slp-border);
  border-radius: 22px;
  padding: 2.2rem;
  box-shadow: var(--slp-card-shadow);
  backdrop-filter: blur(18px);
}
.theme-nebula .result-url {
  background: rgba(0, 0, 0, 0.25); border: 1px dashed var(--slp-border);
  border-radius: 12px; padding: 0.9rem 1.1rem; font-family: monospace; font-size: 1.05rem; word-break: break-all;
}
.theme-nebula .ad-frame {
  border: 1px solid var(--slp-border); border-radius: 20px; overflow: hidden;
  min-height: 280px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(124, 108, 255, 0.15), rgba(0, 224, 198, 0.1));
}

/* Footer */
.theme-nebula .site-footer { border-top: 1px solid var(--slp-border); background: rgba(7, 11, 28, 0.6); }
.theme-nebula .site-footer a { color: var(--slp-muted); text-decoration: none; }
.theme-nebula .site-footer a:hover { color: var(--slp-text); }
.theme-nebula .footer-brand { font-weight: 800; font-size: 1.1rem; }

/* Page hero */
.theme-nebula .page-hero { padding: 6rem 0 2rem; }
.theme-nebula .page-content { background: var(--slp-surface); border: 1px solid var(--slp-border); border-radius: 24px; padding: 2.4rem; }

/* Form controls */
.theme-nebula .form-control, .theme-nebula .form-select {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--slp-border);
  color: var(--slp-text);
}
.theme-nebula .form-control:focus, .theme-nebula .form-select:focus {
  border-color: var(--slp-accent); box-shadow: 0 0 0 3px rgba(124, 108, 255, 0.2); color: var(--slp-text);
}
.theme-nebula .form-label { font-weight: 600; font-size: 0.9rem; }

/* Light overrides */
.mode-light.theme-nebula {
  --slp-bg: #eef1fb;
  --slp-bg-2: #f5f7ff;
  --slp-surface: #ffffff;
  --slp-surface-solid: #ffffff;
  --slp-text: #12163c;
  --slp-muted: #5a6287;
  --slp-accent: #5b4cff;
  --slp-accent-2: #00b8a0;
  --slp-danger: #e03e6a;
  --slp-border: rgba(18, 22, 60, 0.12);
  --slp-card-shadow: 0 20px 60px rgba(18, 22, 60, 0.12);
  --slp-glow: rgba(91, 76, 255, 0.35);
  --slp-btn-text: #ffffff;
  --slp-code-bg: #f0f2fa;
}
.mode-light.theme-nebula .slp-nav { background: rgba(255, 255, 255, 0.85); }
.mode-light.theme-nebula .shortener-input { background: #ffffff; color: #12163c; }
.mode-light.theme-nebula .result-url { background: rgba(0, 0, 0, 0.04); }
.mode-light.theme-nebula .feature-icon { color: #fff; }
.mode-light.theme-nebula .form-control, .mode-light.theme-nebula .form-select {
  background: #ffffff; color: #12163c;
}
.mode-light.theme-nebula .form-control:focus, .mode-light.theme-nebula .form-select:focus {
  border-color: var(--slp-accent); box-shadow: 0 0 0 3px rgba(91, 76, 255, 0.18); color: #12163c;
}
.mode-light.theme-nebula .hero-orb.orb-1 { background: #5b4cff; opacity: 0.15; }
.mode-light.theme-nebula .hero-orb.orb-2 { background: #00b8a0; opacity: 0.1; }
.mode-light.theme-nebula .hero-badge { background: rgba(255, 255, 255, 0.9); border-color: var(--slp-border); color: var(--slp-muted); }
.mode-light.theme-nebula .shortener-card { box-shadow: var(--slp-card-shadow); }
.mode-light.theme-nebula .plan-card { box-shadow: var(--slp-card-shadow); }
.mode-light.theme-nebula .cta-band { box-shadow: var(--slp-card-shadow); }
.mode-light.theme-nebula .site-footer { background: rgba(255, 255, 255, 0.8); }
.mode-light.theme-nebula .accordion-button { background: #f8f9fc; color: var(--slp-text); }
.mode-light.theme-nebula .accordion-button:not(.collapsed) { color: var(--slp-accent); }
.mode-light.theme-nebula .stat-strip { background: linear-gradient(120deg, rgba(91, 76, 255, 0.12), rgba(0, 184, 160, 0.1)); }
.mode-light.theme-nebula .feature-icon { color: #fff; }
.mode-light.theme-nebula .avatar { color: #fff; }
.mode-light.theme-nebula .btn-ghost { background: var(--slp-surface-solid); border-color: var(--slp-border); color: var(--slp-text); }
.mode-light.theme-nebula .btn-ghost:hover { border-color: var(--slp-accent); color: var(--slp-accent); }
.mode-light.theme-nebula .shortener-card { box-shadow: var(--slp-card-shadow); }

@media (max-width: 768px) {
  .theme-nebula .stat-item + .stat-item { border-left: none; border-top: 1px solid var(--slp-border); }
  .theme-nebula .hero { padding: 5rem 0 3rem; }
  .theme-nebula .cta-band { padding: 2rem; }
}