/* =====================================================================
   DailyKhata — public landing page theme (scoped to body.landing so the
   member/agent/admin panels keep their own themes untouched).
   Deep violet/indigo base with neon-green, cyan and gold accents.
   ===================================================================== */

html { scroll-behavior: smooth; scroll-padding-top: 92px; }

body.landing {
  background-color: #0a0518;
  background-image: linear-gradient(180deg, #0a0518 0%, #170b3f 34%, #251059 62%, #12082e 100%);
  background-attachment: fixed;
  overflow-x: hidden;
}

/* Ambient neon glows: green top-left, cyan top-right, violet mid, gold bottom */
.land-glow {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(700px 460px at 8% 2%, rgba(52, 211, 153, 0.14), transparent 60%),
    radial-gradient(760px 520px at 94% 10%, rgba(34, 211, 238, 0.14), transparent 60%),
    radial-gradient(640px 420px at 82% 66%, rgba(168, 85, 247, 0.13), transparent 60%),
    radial-gradient(820px 560px at 46% 112%, rgba(251, 191, 36, 0.11), transparent 62%);
}

/* ---- Header / nav ---------------------------------------------------- */
.land-nav {
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(10, 5, 24, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.logo-orb {
  animation: orb-pulse 3.2s ease-in-out infinite;
}
@keyframes orb-pulse {
  0%, 100% { box-shadow: 0 0 16px rgba(52, 211, 153, 0.55), 0 0 42px rgba(34, 211, 238, 0.28); }
  50%      { box-shadow: 0 0 26px rgba(52, 211, 153, 0.8),  0 0 62px rgba(34, 211, 238, 0.42); }
}

.nav-link { position: relative; color: #cbd5e1; transition: color 0.15s ease; }
.nav-link:hover { color: #ffffff; }
.nav-link::after {
  content: "";
  position: absolute;
  left: 12px; right: 12px; bottom: -6px;
  height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, #34d399, #22d3ee);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}
.nav-link:hover::after { transform: scaleX(1); }

.mobile-menu {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(10, 5, 24, 0.97);
}

/* ---- Buttons ---------------------------------------------------------- */
.btn-neon {
  background: linear-gradient(90deg, #34d399, #22d3ee);
  color: #04211a;
  box-shadow: 0 10px 28px -10px rgba(52, 211, 153, 0.6);
}
.btn-neon:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
  box-shadow: 0 16px 36px -10px rgba(34, 211, 238, 0.65);
}
.btn-gold {
  background: linear-gradient(90deg, #fbbf24, #f97316);
  color: #3a2003;
  box-shadow: 0 10px 28px -10px rgba(251, 191, 36, 0.5);
}
.btn-gold:hover { filter: brightness(1.07); transform: translateY(-1px); }
.btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
  color: #e2e8f0;
}
.btn-outline:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.3);
}

/* ---- Gradient text ---------------------------------------------------- */
.grad-neon {
  background: linear-gradient(90deg, #6ee7b7, #22d3ee);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.grad-gold {
  background: linear-gradient(90deg, #fde68a, #fbbf24, #fb923c);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---- Hero: entrance + floating cards ---------------------------------- */
.rise { opacity: 0; animation: rise 0.7s cubic-bezier(0.2, 0.7, 0.3, 1) forwards; }
.d1 { animation-delay: 0.05s; } .d2 { animation-delay: 0.12s; }
.d3 { animation-delay: 0.2s; }  .d4 { animation-delay: 0.3s; }
.d5 { animation-delay: 0.42s; } .d6 { animation-delay: 0.55s; }
@keyframes rise {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: none; }
}

.floaty      { animation: floaty 6s ease-in-out infinite; }
.floaty-slow { animation: floaty 8s ease-in-out infinite; }
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}

.float-card {
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(13, 8, 34, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 24px 50px -28px rgba(0, 0, 0, 0.85);
}

/* Quick login card tinted toward neon green */
.land-login {
  border: 1px solid rgba(52, 211, 153, 0.22) !important;
  background: linear-gradient(160deg, rgba(52, 211, 153, 0.08), rgba(255, 255, 255, 0.04) 55%) !important;
}

/* ---- Plan cards -------------------------------------------------------- */
.plan-card {
  --c1: rgba(148, 118, 255, 0.14);
  --cg: rgba(148, 118, 255, 0.55);
  position: relative;
  overflow: hidden;
  border-radius: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(165deg, var(--c1), rgba(255, 255, 255, 0.03) 70%);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.plan-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--cg), transparent);
  opacity: 0.9;
}
.plan-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 34px 64px -30px var(--cg);
}
.plan-starter { --c1: rgba(34, 211, 238, 0.13); --cg: rgba(34, 211, 238, 0.6); }
.plan-growth  { --c1: rgba(217, 70, 239, 0.15); --cg: rgba(217, 70, 239, 0.65); }
.plan-pro     { --c1: rgba(251, 191, 36, 0.12); --cg: rgba(251, 191, 36, 0.55); }

.plan-ribbon {
  position: absolute;
  top: 16px; right: -36px;
  transform: rotate(38deg);
  background: linear-gradient(90deg, #d946ef, #8b5cf6);
  color: #ffffff;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 0.3rem 2.8rem;
  box-shadow: 0 8px 18px -8px rgba(217, 70, 239, 0.7);
}

/* ---- Partners / trust --------------------------------------------------- */
.partner-card {
  position: relative;
  border-radius: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(165deg, var(--pc, rgba(148, 118, 255, 0.12)), rgba(255, 255, 255, 0.03) 70%);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.partner-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 30px 58px -30px var(--pg, rgba(148, 118, 255, 0.55));
}
.partner-ico { box-shadow: 0 0 22px -4px var(--pg, rgba(148, 118, 255, 0.6)); }

.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid rgba(52, 211, 153, 0.3);
  border-radius: 999px;
  background: rgba(52, 211, 153, 0.07);
  padding: 0.45rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #6ee7b7;
}

/* ---- Savings calculator -------------------------------------------------- */
input[type="range"].land-range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, #34d399 0%, #22d3ee var(--fill, 50%), rgba(255, 255, 255, 0.12) var(--fill, 50%));
  outline: none;
  cursor: pointer;
}
input[type="range"].land-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  height: 22px;
  width: 22px;
  border-radius: 50%;
  background: #0b0620;
  border: 3px solid #34d399;
  box-shadow: 0 0 14px rgba(52, 211, 153, 0.85);
  cursor: grab;
}
input[type="range"].land-range::-moz-range-thumb {
  height: 22px;
  width: 22px;
  border-radius: 50%;
  background: #0b0620;
  border: 3px solid #34d399;
  box-shadow: 0 0 14px rgba(52, 211, 153, 0.85);
  cursor: grab;
}

/* ---- FAQ ------------------------------------------------------------------ */
.faq-item {
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.035);
  transition: border-color 0.2s ease;
}
.faq-item[open] { border-color: rgba(52, 211, 153, 0.3); }
.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  font-weight: 700;
  color: #e2e8f0;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.35rem;
  line-height: 1;
  color: #34d399;
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-body {
  padding: 0 1.25rem 1.1rem;
  color: #94a3b8;
  font-size: 0.9rem;
  line-height: 1.65;
}

/* ---- Modals ----------------------------------------------------------------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(4, 2, 14, 0.72);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
}
.modal.open { display: flex; }
.modal-card {
  position: relative;
  width: 100%;
  animation: land-pop 0.22s ease;
}
@keyframes land-pop {
  from { opacity: 0; transform: translateY(14px) scale(0.96); }
  to   { opacity: 1; transform: none; }
}

/* ---- Reveal on scroll --------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.in { opacity: 1; transform: none; }

/* ---- Reduced motion ------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rise, .floaty, .floaty-slow, .logo-orb { animation: none; }
  .rise { opacity: 1; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
