:root {
  --brand-yellow: #ffff00;
  --brand-orange: #ffaa00;
  --brand-peach: #ff8844;
  --brand-pink: #ff40c7;
  --brand-violet: #b030e8;
  --brand-gradient: linear-gradient(90deg, var(--brand-yellow) 0%, var(--brand-orange) 22%, var(--brand-peach) 50%, #ff6688 78%, var(--brand-pink) 100%);
  --brand-gradient-soft: linear-gradient(135deg, rgb(255 255 0 / 0.12) 0%, rgb(255 64 199 / 0.08) 100%);
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  min-height: 100%;
  overflow-x: hidden;
}
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: #0f172a;
  background: #fff;
  min-height: 100%;
}

.site-shell { position: relative; min-height: 100vh; }
.site-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #fff;
  background-image: var(--brand-gradient-soft);
}
.main, .footer, .navbar { position: relative; z-index: 2; }

.orb { position: absolute; border-radius: 999px; filter: blur(48px); pointer-events: none; }
.orb-a { left: 8%; top: 18%; width: 224px; height: 224px; background: rgb(255 255 0 / 0.20); animation: float-a 14s ease-in-out infinite; }
.orb-b { right: 10%; top: 32%; width: 256px; height: 256px; background: rgb(255 64 199 / 0.15); animation: float-b 18s ease-in-out infinite; }
.orb-c { left: 35%; bottom: 20%; width: 192px; height: 192px; background: rgb(255 255 0 / 0.25); animation: float-c 16s ease-in-out infinite; }

@keyframes float-a { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(12px,-18px) scale(1.04); } }
@keyframes float-b { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-16px,14px) scale(1.05); } }
@keyframes float-c { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(10px,12px) scale(1.03); } }

.container { width: min(1120px, calc(100% - 48px)); margin: 0 auto; }

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  backdrop-filter: blur(24px) saturate(160%);
  background-color: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(226, 232, 240, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75), 0 4px 24px rgba(15, 23, 42, 0.05);
  transition: background-color .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.navbar.scrolled {
  background-color: rgba(255, 255, 255, 0.99);
  border-bottom-color: rgba(226, 232, 240, 0.88);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 10px 40px rgba(15, 23, 42, 0.08);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; }
.brand {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  border: 0;
  font-size: 1.35rem;
  font-weight: 700;
  cursor: pointer;
}
.nav-links { display: flex; gap: 10px; }
.nav-links button {
  border: 0; background: transparent; color: #475569; cursor: pointer;
  padding: 8px 10px; font-size: 15px; font-weight: 500;
  transition: transform .25s ease, color .25s ease, text-shadow .25s ease;
}
.nav-links button:hover { color: #0f172a; transform: scale(1.04); }
.nav-links button.active {
  transform: scale(1.08);
  font-weight: 700;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 1px rgba(0,0,0,0.08);
}
.nav-links button.clicked {
  animation: nav-click 0.25s ease forwards;
}
@keyframes nav-click {
  0% { transform: scale(1); color: #475569; }
  50% { transform: scale(1.08); color: #111827; }
  100% { transform: scale(1); color: #0f172a; }
}

.nav-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
}
.mobile-menu {
  display: none;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  background: #fff;
  width: 44px;
  height: 44px;
  font-size: 1.15rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
}
.mobile-nav {
  display: none;
  padding: 0 24px 16px;
  background: rgba(255,255,255,0.98);
}
.mobile-nav button {
  display: block;
  width: 100%;
  border: 0;
  background: transparent;
  text-align: left;
  padding: 12px 0;
  color: #334155;
  cursor: pointer;
}
.mobile-nav .btn-gradient { margin-top: 14px; }

.btn-gradient {
  border: 0; color: #fff; cursor: pointer; border-radius: 999px;
  background: var(--brand-gradient); font-weight: 600; font-size: 15px;
  padding: 12px 20px; min-height: 48px;
  box-shadow: 0 16px 40px -12px rgb(255 200 0 / 0.38);
  transition: transform .25s ease, filter .25s ease, box-shadow .25s ease;
}
.btn-gradient:hover { transform: scale(1.02); filter: brightness(1.05); box-shadow: 0 20px 50px -18px rgb(255 64 199 / 0.42); }
.btn-sm { padding: 10px 16px; min-height: 42px; }
.btn-full { width: 100%; margin-top: 6px; text-align: center; }
.btn-ghost {
  border: 1px solid rgb(226 232 240 / 0.95);
  background: #fff;
  color: #0f172a;
  border-radius: 999px;
  padding: 12px 20px;
  min-height: 48px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease;
}
.btn-ghost:hover { transform: translateY(-1px); box-shadow: 0 14px 40px -12px rgb(255 64 199 / 0.22); }

.main { padding-top: 76px; }
.hero {
  min-height: calc(100vh - 76px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 28px 0 32px;
}
.hero-left {
  width: min(760px, 100%);
  margin: 0 auto;
}
.hero-left h1 { margin: 0; font-size: clamp(2rem, 6vw, 4.5rem); line-height: 1.18; letter-spacing: -0.015em; word-break: break-word; overflow-wrap: break-word; }
.hero-left h1 span { display: block; }
.text-gradient {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-left p { margin: 22px auto 0; color: #64748b; font-size: 18px; line-height: 1.7; max-width: 620px; }
.hero-cta { margin-top: 34px; display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.hero-cta.center { justify-content: center; }

.nav-links button.clicked {
  transform: scale(1.08);
  box-shadow: 0 10px 24px rgb(15 23 42 / 0.12);
}

.dashboard-card {
  background: rgb(255 255 255 / 0.52);
  border: 1px solid rgb(255 255 255 / 0.58);
  border-radius: 24px;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.78), 0 8px 32px rgb(15 23 42 / 0.06);
  backdrop-filter: blur(40px) saturate(180%);
  padding: 18px;
}
.dash-top { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.dash-top h3 { margin: 0; font-size: 18px; }
.live-dot { width: 8px; height: 8px; border-radius: 999px; background: #34d399; animation: pulse 1.4s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity: .6; transform: scale(1); } 50% { opacity: 1; transform: scale(1.2); } }

.stats-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
.stats-grid div { background: #fff; border: 1px solid #f1f5f9; border-radius: 14px; padding: 10px; }
.stats-grid small { display: block; color: #64748b; font-size: 11px; }
.stats-grid strong { display: block; margin-top: 4px; font-size: 18px; }
.stats-grid em { display: block; margin-top: 4px; color: #10b981; font-style: normal; font-size: 11px; }
.chart-bars { margin-top: 14px; height: 92px; display: grid; grid-template-columns: repeat(6, 1fr); align-items: end; gap: 7px; }
.chart-bars span { border-radius: 8px 8px 4px 4px; background: var(--brand-gradient); opacity: .85; }

.section { padding: 56px 0; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto; }
.badge {
  display: inline-block;
  margin: 0;
  border-radius: 999px;
  background: rgb(255 255 0 / 0.14);
  padding: 10px 20px;
  font-size: 15px;
  letter-spacing: .2em;
  font-weight: 700;
  color: #cc7700;
}
.section-head h2 { margin: 18px 0 0; font-size: clamp(1.8rem, 4vw, 3rem); line-height: 1.15; }
.section-head p { margin: 14px auto 0; color: #64748b; font-size: 18px; line-height: 1.75; max-width: 760px; }

.cards { margin-top: 34px; display: grid; gap: 20px; }
.cards.four { grid-template-columns: repeat(4, minmax(0,1fr)); }
.card {
  background: rgb(255 255 255 / 0.62);
  border: 1px solid rgb(255 255 255 / 0.72);
  border-radius: 18px;
  padding: 20px;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.88), 0 16px 48px rgb(15 23 42 / 0.08);
}
.card h3 { margin: 0; font-size: 18px; line-height: 1.35; }
.card p { margin: 10px 0 0; color: #64748b; line-height: 1.65; font-size: 15px; }
.step { display: inline-flex; background: #fef9c3; color: #a16207; border-radius: 999px; padding: 4px 10px; font-size: 12px; font-weight: 700; margin-bottom: 10px; }

.carousel-wrap {
  margin-top: 34px;
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  gap: 12px;
}
.carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 1fr);
  gap: 16px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-bottom: 8px;
  align-items: start;
  scroll-snap-type: x mandatory;
  touch-action: pan-x;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.carousel::-webkit-scrollbar { display: none; }
.carousel-nav {
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  width: 44px; height: 44px;
  background: #fff;
  color: #334155;
  cursor: pointer;
  font-size: 24px;
}
.pricing-card {
  background: rgb(255 255 255 / 0.92);
  border: 1px solid rgba(226, 232, 240, 0.88);
  border-radius: 22px;
  padding: 26px;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  box-shadow: 0 14px 40px rgb(15 23 42 / 0.06);
  scroll-snap-align: center;
}
.pricing-card h3 { margin: 0; font-size: 20px; line-height: 1.2; }
.pricing-card p { margin: 8px 0 0; color: #64748b; font-size: 14px; }
.pricing-card strong { display: block; margin: 18px 0 0; font-size: 34px; }
.pricing-card ul { margin: 20px 0 0; padding: 0 0 0 18px; color: #475569; line-height: 1.8; font-size: 14px; }
.pricing-card.featured {
  border-color: rgba(226, 232, 240, 0.94);
  box-shadow: 0 16px 48px rgb(15 23 42 / 0.08);
}

.custom-cta {
  margin-top: 44px;
  background: rgb(255 255 255 / 0.62);
  border: 1px solid rgb(255 255 255 / 0.72);
  border-radius: 18px;
  padding: 26px;
  text-align: center;
}
.custom-cta p { margin: 0 0 14px; color: #475569; line-height: 1.65; }

.contact { padding-top: 66px; }
.contact .section-head h2 { font-size: clamp(2rem, 5.3vw, 4.4rem); }

.footer { padding: 8px 0 20px; }
.footer-card {
  background: rgb(255 255 255 / 0.52);
  border: 1px solid rgb(255 255 255 / 0.58);
  border-radius: 18px;
  backdrop-filter: blur(40px) saturate(180%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.78), 0 8px 32px rgb(15 23 42 / 0.06);
  text-align: center;
  padding: 22px;
}
.brand-foot { margin: 0; font-weight: 700; color:rgb(0, 0, 0); }
.sub { margin: 8px auto 0; color: #64748b; max-width: 720px; font-size: 14px; }
.foot-links { margin-top: 12px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 20px; }
.foot-links a { color: rgb(0, 0, 0); text-decoration: none; font-size: 14px; }
.copy { margin: 14px 0 0; color: #64748b; font-size: 12px; }
.footer-card .btn-ghost {
  margin: 16px 10px 0;
  padding: 0;
  min-height: auto;
  background: transparent;
  border: none;
  border-radius: 0;
  color: rgb(0, 0, 0);
  font-size: 14px;
  font-weight: 600;
  box-shadow: none;
}
.footer-card .btn-ghost:hover {
  transform: none;
  box-shadow: none;
  text-decoration: underline;
}

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
.reveal.show { opacity: 1; transform: translateY(0); }

.modal-backdrop {
  position: fixed; inset: 0; z-index: 100;
  background: rgb(15 23 42 / 0.35);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-backdrop.open { display: flex; }
.modal-card {
  width: min(100%, 460px);
  background: #fff;
  border-radius: 18px;
  border: 1px solid rgb(255 255 255 / 0.58);
  box-shadow: 0 20px 60px rgb(15 23 42 / 0.24);
}
.modal-head { display: flex; justify-content: space-between; gap: 12px; padding: 16px 18px; border-bottom: 1px solid #f1f5f9; }
.modal-head h3 { margin: 8px 0 0; font-size: 26px; }
.close-modal { border: 0; background: transparent; font-size: 28px; color: #64748b; cursor: pointer; }
.modal-body { padding: 16px 18px 20px; display: grid; gap: 10px; }
.modal-option {
  display: block;
  text-decoration: none;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 14px 16px;
  color: #0f172a;
  background: #fff;
  font-weight: 600;
}
.modal-option:hover { border-color: #fb7185; box-shadow: 0 8px 24px rgb(255 64 199 / 0.18); }

.modal-backdrop {
  backdrop-filter: blur(10px);
}
#privacy-modal .modal-card,
#terms-modal .modal-card,
#refund-modal .modal-card {
  width: min(100%, 800px);
  max-height: calc(100vh - 80px);
}
.modal-body-policy {
  max-height: calc(100vh - 200px);
  overflow-y: auto;
  padding-right: 18px;
}
.modal-body-policy h4 { margin: 0; font-size: 1.1rem; color: #0f172a; }
.modal-body-policy h5 { margin: 0; font-size: 0.98rem; color: #475569; }
.modal-body-policy p, .modal-body-policy li { color: #475569; line-height: 1.75; font-size: 0.95rem; }
.modal-body-policy ul { margin: 0; padding-left: 20px; }
.modal-body-policy hr { border: none; border-top: 1px solid rgb(241 245 249); margin: 20px 0; }

@media (max-width: 1024px) {
  .hero { min-height: auto; align-items: flex-start; justify-content: center; padding: 90px 0 26px; }
  .hero-right { display: none; }
  .cards.four { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 860px) {
  .nav-inner { flex-wrap: wrap; justify-content: space-between; }
  .nav-links { display: none; }
  .mobile-menu { display: inline-flex; }
  .mobile-nav.open { display: block; }
  .carousel-wrap { grid-template-columns: 1fr; }
  .carousel-nav { display: none; }
  .carousel { grid-auto-columns: minmax(100%, 1fr); }
  .pricing-card { min-height: auto; }
  .hero { min-height: auto; align-items: flex-start; padding-top: 88px; }
  .hero-left { padding: 0 14px; width: 100%; }
  .hero-left p { max-width: 100%; margin-top: 18px; }
  .hero-left h1 { font-size: clamp(2.2rem, 8vw, 3.3rem); line-height: 1.22; }
  .hero-left h1 span { white-space: normal; }
  .hero-left { margin-bottom: 16px; }
  .hero-cta { flex-direction: column; gap: 14px; }
  .hero-cta .btn-gradient, .hero-cta .btn-ghost { width: 100%; }
  .nav-actions { width: auto; justify-content: flex-end; margin-top: 10px; }
  .nav-actions .btn-gradient { flex: 0 1 auto; min-width: 110px; }
  .hero-inner { gap: 18px; }
}
@media (max-width: 640px) {
  .container { width: calc(100% - 32px); }
  .hero-left h1 { font-size: clamp(2rem, 10vw, 2.8rem); line-height: 1.28; }
  .hero-left p { font-size: 0.96rem; max-width: 100%; }
  .hero-left { padding: 0 12px; }
  .cards.four { grid-template-columns: 1fr; }
  .hero-cta { flex-direction: column; gap: 12px; }
  .hero-cta .btn-gradient, .hero-cta .btn-ghost { width: 100%; }
  .footer-card { padding: 18px 14px; }
  .mobile-menu { display: inline-flex; }
}

@media (min-width: 861px) {
  .mobile-menu { display: none !important; }
}
