:root {
  --green: #0f9a68;
  --green-2: #14b57e;
  --blue: #3578e5;
  --purple: #8b57d8;
  --ink: #17201c;
  --muted: #728079;
  --line: #e9efec;
  --soft: #f4fbf8;
  --surface: #fff;
  --shadow: 0 18px 48px rgba(35, 64, 53, .08);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  color: var(--ink);
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", sans-serif;
  letter-spacing: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 8% 18%, rgba(15, 154, 104, .08), transparent 25%),
    linear-gradient(135deg, #fbfffd 0%, #ffffff 42%, #f8fffb 100%);
}

button { font-family: inherit; }

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
}

.brand img {
  width: 28px;
  height: 28px;
  display: block;
}

.topbar {
  border-bottom: 1px solid #edf1ef;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: blur(14px);
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
}

.plan.recommended {
  border: 2px solid #4cbd93;
  box-shadow: inset 0 0 0 1px rgba(76, 189, 147, .08);
}

.plan.dark {
  color: #fff;
  background: linear-gradient(160deg, #203848 0%, #0e202a 100%);
  border-color: #203848;
  box-shadow: 0 16px 34px rgba(18, 37, 48, .18);
}

.tag {
  position: absolute;
  top: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  height: 25px;
  min-width: 86px;
  padding: 0 12px;
  border-radius: 0 0 10px 10px;
  color: #fff;
  background: linear-gradient(135deg, var(--green), #20c189);
  font-size: 12px;
  font-weight: 900;
}

.tag.purple { background: linear-gradient(135deg, #8153d4, #b46ae7); }

.plan h2 {
  margin: 0 0 8px;
  font-size: 19px;
  line-height: 1.25;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.sub {
  color: #7e8a84;
  font-size: 13px;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.dark .sub { color: rgba(255, 255, 255, .72); }

.price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 0;
  color: var(--green);
}

.price .currency {
  font-size: 17px;
  font-weight: 900;
}

.price strong {
  font-size: 34px;
  line-height: 1;
  font-weight: 900;
}

.price span {
  color: #7a8580;
  font-size: 15px;
  font-weight: 800;
  white-space: nowrap;
}

.price small {
  color: inherit;
  opacity: .82;
  font-size: 12px;
  font-weight: 800;
}

.blue .price { color: var(--blue); }
.purple-plan .price { color: var(--purple); }
.dark .price { color: #b17cff; }
.dark .price span { color: rgba(255, 255, 255, .76); }

.features {
  list-style: none;
  margin: 0;
  border-top: 1px solid #edf1ee;
  color: #4e5c55;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 700;
}

.dark .features {
  color: rgba(255, 255, 255, .9);
  border-color: rgba(255, 255, 255, .18);
}

.features li {
  display: grid;
  grid-template-columns: 16px 1fr;
  gap: 8px;
  min-width: 0;
  overflow-wrap: anywhere;
}

.features li::before {
  content: "âœ?;
  color: var(--green);
  font-weight: 900;
}

.blue .features li::before { color: var(--blue); }
.purple-plan .features li::before { color: var(--purple); }
.dark .features li::before { color: #fff; }

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid currentColor;
  background: #fff;
  color: var(--green);
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

.recommended .cta {
  color: #fff;
  border-color: var(--green);
  background: linear-gradient(135deg, #10a36d, #079260);
  box-shadow: 0 10px 22px rgba(15, 154, 104, .18);
}

.blue .cta { color: var(--blue); }
.purple-plan .cta { color: var(--purple); }
.dark .cta {
  color: #fff;
  border-color: #9a66dc;
  background: linear-gradient(135deg, #9366d8, #a65ee0);
}

.mini-note {
  margin-top: 9px;
  text-align: center;
  color: #71a18b;
  font-size: 12px;
  font-weight: 800;
}

.dark .mini-note { color: rgba(255, 255, 255, .78); }

.section-icon {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
}

.panel {
  border: 1px solid #edf1ee;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 10px 34px rgba(26, 52, 42, .04);
}

.panel h3 {
  margin: 0;
  font-weight: 900;
}

.service-note {
  width: fit-content;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #2e956f;
  background: #f4fbf8;
  font-size: 12px;
  font-weight: 900;
}

.service-note svg {
  width: 15px;
  height: 15px;
  margin-right: 8px;
}

.guide {
  border: 1px solid #edf1ee;
  background: linear-gradient(135deg, #fbfffd, #f5fbf8);
  position: relative;
}

.guide:nth-child(2) { background: linear-gradient(135deg, #f6fffb, #effaf6); }
.guide:nth-child(3) { background: linear-gradient(135deg, #fffafb, #f8f2ff); }

.guide svg {
  position: absolute;
  width: 30px;
  height: 30px;
}

.guide span {
  display: block;
  margin-bottom: 7px;
  color: #7d8983;
  font-size: 12px;
  font-weight: 700;
}

.guide strong {
  display: block;
  color: var(--green);
  font-size: 18px;
  line-height: 1.25;
  font-weight: 900;
}

.guide:nth-child(3) strong { color: #151c19; }

.guide p {
  margin: 10px 0 0;
  color: #8a958f;
  font-size: 12px;
  line-height: 1.4;
  font-weight: 700;
}

.qa strong {
  display: block;
  font-weight: 900;
}

.qa p {
  margin: 0;
  color: #7d8983;
  line-height: 1.6;
  font-weight: 650;
}

/* Desktop version */
.desktop {
  min-width: 0;
  --desktop-width: min(94vw, 1680px);
  --desktop-gap: clamp(24px, 2.1vw, 40px);
  --desktop-card-gap: clamp(18px, 1.55vw, 28px);
  --desktop-group-pad: clamp(22px, 1.75vw, 32px);
  --desktop-panel-pad: clamp(22px, 1.9vw, 34px);
}

.desktop .topbar {
  height: 50px;
}

.desktop .topbar-inner,
.desktop .main {
  width: var(--desktop-width);
  margin: 0 auto;
}

.desktop .topbar-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.desktop .brand { font-size: 17px; }

.desktop .nav {
  display: flex;
  gap: 42px;
  color: #4c5852;
  font-size: 14px;
  font-weight: 700;
}

.desktop .main {
  position: relative;
  padding-bottom: clamp(40px, 5vw, 86px);
}

.desktop .main::before {
  content: "";
  position: absolute;
  right: -80px;
  top: 0;
  width: 560px;
  height: 220px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(31, 167, 133, .11), rgba(245, 168, 164, .08));
  transform: rotate(-12deg);
  z-index: -1;
}

.desktop .hero {
  height: clamp(210px, 16vw, 280px);
  display: grid;
  place-items: center;
  position: relative;
}

.desktop .hero h1 {
  margin: clamp(16px, 1.6vw, 26px) 0 12px;
  text-align: center;
  font-size: clamp(42px, 3.3vw, 60px);
  line-height: 1.1;
  font-weight: 900;
  color: #07110d;
}

.desktop .hero-title {
  margin: clamp(16px, 1.6vw, 26px) 0 12px;
  display: block;
  max-width: 100%;
}

.desktop .hero-title h1 {
  margin: 0;
}

.desktop .hero p {
  margin: 0;
  text-align: center;
  font-size: clamp(16px, 1.1vw, 18px);
  color: #6b7772;
  font-weight: 600;
}

.desktop .badges {
  margin-top: clamp(18px, 1.5vw, 26px);
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: clamp(14px, 1.2vw, 22px);
}

.desktop .badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 30px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid #e4f1eb;
  background: #f6fbf8;
  color: #45665a;
  font-size: 13px;
  font-weight: 800;
}

.desktop .badge::before {
  content: "âœ?;
  color: var(--green);
}

.desktop .help-card {
  position: absolute;
  left: clamp(24px, 6.2vw, 110px);
  top: clamp(92px, 7.4vw, 132px);
  width: clamp(248px, 18vw, 306px);
  height: clamp(78px, 5.8vw, 94px);
  border: 1px solid #e8f0ec;
  border-radius: 22px;
  background: rgba(255, 255, 255, .92);
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 70px 1fr;
  align-items: center;
  padding: 8px 16px 8px 10px;
}

.desktop .help-card img {
  width: 60px;
  height: 60px;
}

.desktop .help-card strong {
  display: block;
  margin-bottom: 7px;
  font-size: 14px;
  font-weight: 900;
}

.desktop .help-card span {
  color: var(--green);
  font-size: 15px;
  font-weight: 900;
}

.desktop .hero-art {
  position: absolute;
  right: clamp(-120px, -5vw, -52px);
  top: clamp(0px, .6vw, 12px);
  width: clamp(380px, 30vw, 540px);
  height: clamp(240px, 20vw, 320px);
  pointer-events: none;
}

.desktop .flowers {
  position: absolute;
  right: -48px;
  top: -26px;
  width: clamp(380px, 30vw, 520px);
  height: auto;
  opacity: .78;
}

.desktop .hero-mascot {
  position: absolute;
  right: clamp(10px, 2vw, 50px);
  top: clamp(0px, .5vw, 10px);
  width: clamp(260px, 21vw, 380px);
  height: auto;
  object-fit: contain;
}

.desktop .plans {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--desktop-gap);
  align-items: start;
}

.desktop .group {
  min-height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.desktop .group.personal {
  grid-column: 1 / -1;
}

.desktop .group.pro {
  grid-column: 1 / -1;
}

.desktop .group-title {
  min-height: 28px;
  margin-bottom: clamp(18px, 1.5vw, 26px);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 11px;
}

.desktop .group-title strong {
  font-size: clamp(18px, 1.35vw, 22px);
  font-weight: 900;
  min-width: 0;
  white-space: nowrap;
}

.desktop .group-title span {
  margin-left: 6px;
  color: #8a958f;
  font-size: clamp(12px, .85vw, 14px);
  font-weight: 700;
  min-width: 0;
  overflow-wrap: anywhere;
}

.desktop .plan-grid {
  height: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: var(--desktop-card-gap);
  align-items: stretch;
}

.desktop .group.personal .plan-grid {
  grid-template-columns: repeat(2, minmax(min(100%, 320px), 420px));
  justify-content: center;
}

.desktop .group.pro .plan-grid {
  grid-template-columns: repeat(2, minmax(min(100%, 320px), 420px));
  justify-content: center;
}

.desktop .plan {
  min-height: clamp(338px, 24vw, 410px);
  border-radius: 14px;
  padding: clamp(24px, 1.7vw, 32px) clamp(20px, 1.45vw, 28px) clamp(18px, 1.25vw, 24px);
}

.desktop .plan h2 {
  font-size: clamp(20px, 1.42vw, 24px);
}

.desktop .sub {
  font-size: clamp(13px, .95vw, 15px);
}

.desktop .tag {
  left: 50%;
  transform: translateX(-50%);
}

.desktop .card-mascot {
  position: absolute;
  right: 10px;
  top: -39px;
  width: 70px;
  height: 70px;
  filter: drop-shadow(0 10px 18px rgba(22, 116, 84, .18));
}

.desktop .price {
  margin: clamp(30px, 2.4vw, 44px) 0 clamp(18px, 1.45vw, 26px);
  flex-wrap: nowrap;
}

.desktop .price strong {
  font-size: clamp(36px, 2.55vw, 48px);
}

.desktop .price span {
  font-size: clamp(14px, .92vw, 16px);
}

.desktop .price small {
  display: block;
  margin-top: 3px;
}

.desktop .features {
  padding: clamp(16px, 1.35vw, 24px) 0 0;
  display: grid;
  gap: clamp(10px, .85vw, 15px);
  font-size: clamp(13px, .95vw, 15px);
}

.desktop .cta {
  margin-top: auto;
  height: clamp(40px, 3.1vw, 52px);
  border-radius: 8px;
  font-size: clamp(14px, .98vw, 16px);
}

.desktop .lower {
  display: block;
  margin-top: var(--desktop-gap);
}

.desktop .panel {
  border-radius: 18px;
  padding: var(--desktop-panel-pad);
}

.desktop .panel h3 {
  margin-bottom: clamp(16px, 1.4vw, 24px);
  font-size: clamp(21px, 1.5vw, 26px);
}

.desktop .steps {
  display: grid;
  grid-template-columns: 1fr clamp(24px, 2vw, 36px) 1fr clamp(24px, 2vw, 36px) 1fr;
  align-items: center;
  gap: clamp(10px, 1vw, 18px);
}

.desktop .step {
  min-height: clamp(108px, 8.5vw, 142px);
  border: 1px solid #edf1ee;
  border-radius: 13px;
  background: #fff;
  padding: clamp(12px, 1vw, 18px) clamp(14px, 1.2vw, 22px) clamp(12px, 1vw, 18px) clamp(78px, 5.5vw, 100px);
  position: relative;
}

.desktop .step img {
  position: absolute;
  left: 12px;
  bottom: 12px;
  width: clamp(58px, 4.1vw, 72px);
  height: clamp(58px, 4.1vw, 72px);
}

.desktop .num {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 23px;
  height: 23px;
  border: 2px solid #73c9aa;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
  background: #fff;
}

.desktop .step strong {
  display: block;
  margin: clamp(14px, 1.1vw, 20px) 0 8px;
  font-size: clamp(13px, .95vw, 15px);
  font-weight: 900;
}

.desktop .step span {
  color: #78857f;
  font-size: clamp(11px, .82vw, 13px);
  line-height: 1.45;
  font-weight: 700;
}

.desktop .arrow {
  color: #9ca8a2;
  font-size: 24px;
  text-align: center;
  font-weight: 900;
}

.desktop .service-note {
  min-height: 28px;
  margin: clamp(14px, 1.2vw, 22px) auto 0;
  padding: 6px 16px;
}

.desktop .guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--desktop-card-gap);
}

.desktop .guide {
  min-height: clamp(124px, 9.5vw, 166px);
  border-radius: 13px;
  padding: clamp(20px, 1.5vw, 28px) clamp(16px, 1.3vw, 24px) clamp(16px, 1.3vw, 24px) clamp(66px, 5.1vw, 88px);
}

.desktop .guide svg {
  left: clamp(20px, 1.55vw, 30px);
  top: clamp(24px, 1.9vw, 34px);
}

.desktop .guide span {
  margin-bottom: 8px;
  font-size: clamp(12px, .85vw, 14px);
}

.desktop .guide strong {
  font-size: clamp(18px, 1.35vw, 23px);
  line-height: 1.25;
}

.desktop .guide p {
  margin-top: clamp(12px, 1vw, 18px);
  font-size: clamp(12px, .85vw, 14px);
}

.desktop .faq {
  margin-top: var(--desktop-gap);
  padding: var(--desktop-panel-pad);
  border-radius: 18px;
  position: relative;
}

.desktop .faq-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.desktop .faq h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 900;
}

.desktop .faq-head a {
  color: #8b9791;
  text-decoration: none;
  font-size: 12px;
  font-weight: 800;
}

.desktop .faq-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 34px;
  padding-right: 152px;
}

.desktop .qa strong {
  margin-bottom: 12px;
  font-size: 13px;
}

.desktop .qa p {
  font-size: 12px;
}

.desktop .support {
  position: absolute;
  right: 26px;
  bottom: 19px;
  width: 138px;
  height: 64px;
  border: 1px solid #b9e9d5;
  border-radius: 14px;
  display: grid;
  grid-template-columns: 48px 1fr;
  align-items: center;
  gap: 8px;
  padding: 8px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(20, 112, 77, .1);
}

.desktop .support img {
  width: 48px;
  height: 48px;
}

.desktop .support strong {
  color: var(--green);
  font-size: 13px;
  line-height: 1.15;
}

.desktop .support span {
  display: block;
  margin-top: 4px;
  color: var(--green);
  font-size: 11px;
  font-weight: 800;
}

@media (max-width: 1390px) {
  .desktop {
    --desktop-width: calc(100vw - 48px);
    --desktop-gap: 24px;
  }

  .desktop .plans {
    grid-template-columns: 1fr;
  }

  .desktop .group {
    min-height: auto;
  }

  .desktop .group.personal .plan-grid {
    height: auto;
    grid-template-columns: repeat(2, minmax(min(100%, 320px), 420px));
    justify-content: center;
  }

  .desktop .group.pro .plan-grid {
    grid-template-columns: repeat(2, minmax(min(100%, 320px), 420px));
    justify-content: center;
  }

  .desktop .lower {
    grid-template-columns: 1fr;
  }

  .desktop .faq-grid {
    grid-template-columns: repeat(2, 1fr);
    padding-right: 0;
  }

  .desktop .support {
    position: static;
    width: 260px;
    height: 72px;
    margin-top: 20px;
    margin-left: auto;
  }
}

@media (max-width: 1080px) {
  .desktop .hero {
    height: auto;
    min-height: 240px;
    padding: 34px 0 30px;
  }
}

@media (max-width: 920px) {
  .desktop {
    --desktop-width: calc(100vw - 32px);
    --desktop-gap: 18px;
  }

  .desktop .topbar {
    height: auto;
  }

  .desktop .topbar-inner {
    min-height: 58px;
    gap: 16px;
    flex-wrap: wrap;
    padding: 10px 0;
  }

  .desktop .nav {
    width: 100%;
    justify-content: space-between;
    gap: 12px;
    font-size: 13px;
  }

  .desktop .hero {
    height: auto;
    min-height: 240px;
    padding: 26px 0 28px;
  }

  .desktop .hero-title {
    margin-bottom: 8px;
  }

  .desktop .hero-art {
    opacity: .4;
    right: -70px;
  }

  .desktop .help-card {
    position: relative;
    left: auto;
    top: auto;
    margin: 20px auto 0;
  }

  .desktop .plans {
    grid-template-columns: 1fr;
  }

  .desktop .group.personal,
  .desktop .group.pro {
    grid-column: auto;
  }

  .desktop .plan-grid,
  .desktop .group.personal .plan-grid,
  .desktop .group.pro .plan-grid,
  .desktop .guide-grid,
  .desktop .faq-grid {
    grid-template-columns: 1fr;
    justify-content: stretch;
  }

  .desktop .steps {
    grid-template-columns: 1fr;
  }

  .desktop .arrow {
    display: none;
  }

  .desktop .support {
    width: 100%;
  }
}

/* Mobile version */
html.mobile-html { background: #edf5f1; }

.mobile {
  overflow-x: hidden;
  background:
    radial-gradient(circle at 20% 6%, rgba(15, 154, 104, .1), transparent 28%),
    linear-gradient(180deg, #fbfffd 0%, #f6fbf8 100%);
}

.mobile .mobile-page {
  width: 390px;
  max-width: 100vw;
  min-height: 100vh;
  margin: 0;
  padding-bottom: 92px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 92% 4%, rgba(245, 168, 164, .2), transparent 22%),
    linear-gradient(180deg, #fff 0%, #f7fbf9 100%);
  box-shadow: 0 0 50px rgba(23, 62, 48, .12);
}

.mobile .topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
}

.mobile .brand {
  font-size: 16px;
  min-width: 0;
}

.mobile .brand span {
  white-space: nowrap;
}

.mobile .menu {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border: 1px solid #e3eee8;
  border-radius: 10px;
  background: #fff;
  display: grid;
  gap: 4px;
  place-content: center;
}

.mobile .menu i {
  width: 15px;
  height: 2px;
  border-radius: 2px;
  background: #53615a;
  display: block;
}

.mobile .hero {
  padding: 22px 18px 16px;
  text-align: center;
  position: relative;
}



.mobile .hero-mascot {
  width: 160px;
  height: 123px;
  object-fit: contain;
  position: relative;
  z-index: 1;
  margin: 0 auto -4px;
  display: block;
}

.mobile .hero h1 {
  margin: 0 auto 8px;
  max-width: 330px;
  font-size: 29px;
  line-height: 1.16;
  font-weight: 900;
}

.mobile .hero p {
  margin: 0 auto;
  max-width: 330px;
  color: #6b7772;
  font-size: 13px;
  line-height: 1.55;
  font-weight: 700;
}

.mobile .chips {
  margin: 15px auto 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}

.mobile .chip {
  height: 28px;
  padding: 0 11px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #e1f0e8;
  border-radius: 999px;
  background: #f7fcf9;
  color: #45665a;
  font-size: 12px;
  font-weight: 800;
}

.mobile .chip::before {
  content: "âœ?;
  color: var(--green);
}

.mobile .helper {
  margin: 4px 18px 14px;
  min-height: 76px;
  border: 1px solid #e4f1eb;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(20, 112, 77, .08);
  display: grid;
  grid-template-columns: 66px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 10px 14px 10px 10px;
}

.mobile .helper img {
  width: 58px;
  height: 58px;
}

.mobile .helper strong {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 900;
}

.mobile .helper span {
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
}

.mobile .helper b {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #effaf5;
  color: var(--green);
  font-size: 18px;
}

.mobile .section,
.mobile .steps-panel,
.mobile .guide-panel,
.mobile .faq-panel {
  margin: 12px 14px 0;
  border: 1px solid #edf1ee;
  border-radius: 18px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 10px 30px rgba(26, 52, 42, .05);
  overflow: hidden;
}

.mobile .section-head {
  height: 50px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 16px;
  border-bottom: 1px solid #eef3f0;
}

.mobile .section-head strong {
  font-size: 16px;
  font-weight: 900;
  flex: 0 0 auto;
  white-space: nowrap;
}

.mobile .section-head span {
  color: #87928c;
  font-size: 11px;
  font-weight: 800;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mobile .cards {
  display: grid;
  gap: 12px;
  padding: 12px;
}

.mobile .plan {
  min-height: 238px;
  border-radius: 14px;
  padding: 18px 16px 14px;
}

.mobile .tag {
  right: 14px;
}

.mobile .plan-top {
  display: block;
}

.mobile .price {
  margin-top: 16px;
  white-space: nowrap;
  flex-wrap: nowrap;
}

.mobile .features {
  margin: 15px 0 14px;
  padding: 14px 0 0;
  display: grid;
  gap: 9px;
}

.mobile .cta {
  height: 40px;
  width: 100%;
  border-radius: 10px;
}

.mobile .steps-panel,
.mobile .guide-panel,
.mobile .faq-panel {
  padding: 16px 14px;
}

.mobile .steps-panel h3,
.mobile .guide-panel h3,
.mobile .faq-panel h3 {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 900;
}

.mobile .step-list,
.mobile .guide-list,
.mobile .faq-list {
  display: grid;
  gap: 10px;
}

.mobile .step {
  min-height: 76px;
  border: 1px solid #edf1ee;
  border-radius: 13px;
  background: #fff;
  display: grid;
  grid-template-columns: 34px 56px 1fr;
  align-items: center;
  gap: 9px;
  padding: 10px;
}

.mobile .num {
  width: 28px;
  height: 28px;
  border: 2px solid #73c9aa;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
}

.mobile .step img {
  width: 54px;
  height: 54px;
}

.mobile .step strong {
  display: block;
  margin-bottom: 5px;
  font-size: 14px;
  font-weight: 900;
}

.mobile .step span {
  color: #78857f;
  font-size: 12px;
  line-height: 1.4;
  font-weight: 700;
}

.mobile .service-note {
  min-height: 30px;
  margin: 12px auto 0;
  padding: 7px 11px;
  text-align: center;
}

.mobile .guide {
  min-height: 82px;
  border-radius: 13px;
  padding: 14px 14px 12px 56px;
}

.mobile .guide svg {
  left: 15px;
  top: 18px;
}

.mobile .qa {
  padding: 13px 0;
  border-bottom: 1px solid #edf1ee;
}

.mobile .qa:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.mobile .qa strong {
  margin-bottom: 7px;
  font-size: 14px;
}

.mobile .qa p {
  font-size: 12px;
}

.mobile .contact-bar {
  position: fixed;
  left: 14px;
  bottom: 14px;
  transform: none;
  width: 362px;
  max-width: calc(100vw - 28px);
  min-height: 62px;
  border: 1px solid #b8ead5;
  border-radius: 16px;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(16px);
  box-shadow: 0 20px 45px rgba(20, 112, 77, .18);
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr) 92px;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  z-index: 30;
}

.mobile .contact-bar img {
  width: 48px;
  height: 48px;
}

.mobile .contact-bar strong {
  display: block;
  margin-bottom: 4px;
  color: var(--green);
  font-size: 14px;
  font-weight: 900;
}

.mobile .contact-bar span {
  color: #698078;
  font-size: 11px;
  font-weight: 800;
}

.mobile .contact-bar button {
  height: 40px;
  border: 0;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(135deg, #10a36d, #079260);
  font-size: 12px;
  font-weight: 900;
}

@media (max-width: 360px) {
  .mobile .hero h1 { font-size: 26px; }
  .mobile .section-head span { display: none; }
  .mobile .contact-bar { grid-template-columns: 44px 1fr 84px; }
  .mobile .contact-bar button { font-size: 12px; }
}

@media (min-width: 600px) {
  .mobile .mobile-page {
    width: 430px;
    margin: 0 auto;
  }

  .mobile .contact-bar {
    left: 50%;
    transform: translateX(-50%);
    width: 402px;
  }
}

/* =========================================
   DYNAMIC EFFECTS & ANIMATIONS
   ========================================= */

/* 1. Base Transitions */
.plan, .cta, .step, .guide, .qa, .help-card, .support, .contact-bar, .group {
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.brand img {
  transition: transform 0.4s ease;
}
.desktop .nav span {
  cursor: pointer;
  transition: color 0.3s ease;
}

/* 2. Hover Interactions */
.brand:hover img {
  transform: rotate(-10deg) scale(1.1);
}
.desktop .nav span:hover {
  color: var(--green);
}

.plan:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 48px rgba(26, 52, 42, 0.12);
}
.plan.recommended:hover {
  box-shadow: 0 22px 48px rgba(15, 154, 104, 0.2), inset 0 0 0 1px rgba(76, 189, 147, 0.2);
}
.plan.dark:hover {
  box-shadow: 0 22px 48px rgba(18, 37, 48, 0.3);
}

.cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}
.recommended .cta:hover {
  box-shadow: 0 12px 28px rgba(15, 154, 104, 0.3);
  filter: brightness(1.05);
}
.dark .cta:hover {
  box-shadow: 0 12px 28px rgba(154, 102, 220, 0.3);
  filter: brightness(1.05);
}

.desktop .step:hover, .desktop .guide:hover, .mobile .step:hover, .mobile .guide:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(26, 52, 42, 0.08);
}

.qa {
  cursor: pointer;
  transition: background-color 0.3s ease, padding-left 0.3s ease;
}
.desktop .qa:hover {
  padding-left: 8px;
}
.mobile .qa:hover {
  background-color: #f9fdfb;
}

.help-card:hover, .support:hover, .contact-bar:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(20, 112, 77, 0.15);
}

/* Mascot pop-out on hover */
.help-card img, .support img, .card-mascot, .contact-bar img {
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.help-card:hover img, .support:hover img, .plan:hover .card-mascot, .contact-bar:hover img {
  transform: scale(1.15) rotate(5deg);
}

/* 3. Load Keyframe Animations */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes floatMascot {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
  100% { transform: translateY(0px); }
}

@keyframes floatFlowers {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-6px) rotate(2deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

/* 4. Apply Entry Animations */
.hero h1, .hero p, .badges, .mobile .chips {
  animation: fadeInUp 0.8s ease-out backwards;
}
.hero p { animation-delay: 0.1s; }
.badges, .mobile .chips { animation-delay: 0.2s; }

.desktop .group {
  animation: fadeInUp 0.8s ease-out backwards;
}
.desktop .group.personal { animation-delay: 0.2s; }
.desktop .group.pro { animation-delay: 0.3s; }

.mobile section.section {
  animation: fadeInUp 0.8s ease-out backwards;
}
.mobile section.section:nth-of-type(2) { animation-delay: 0.2s; }
.mobile section.section:nth-of-type(3) { animation-delay: 0.3s; }
.mobile section.section:nth-of-type(4) { animation-delay: 0.4s; }

.desktop .lower .panel:nth-child(1), .mobile .steps-panel {
  animation: fadeInUp 0.8s ease-out 0.5s backwards;
}
.desktop .lower .panel:nth-child(2), .mobile .guide-panel {
  animation: fadeInUp 0.8s ease-out 0.6s backwards;
}
.desktop .faq, .mobile .faq-panel {
  animation: fadeInUp 0.8s ease-out 0.7s backwards;
}

/* 5. Apply Floating Animations */
.hero-mascot {
  animation: floatMascot 4s ease-in-out infinite;
}
.flowers {
  animation: floatFlowers 6s ease-in-out infinite;
}

/* 6. Tag Shine Effect */
@keyframes shine {
  0% { left: -100%; }
  20% { left: 200%; }
  100% { left: 200%; }
}
.tag {
  overflow: hidden;
}
.tag::after {
  content: "";
  position: absolute;
  top: 0; left: -100%;
  width: 50%; height: 100%;
  background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.4) 50%, rgba(255,255,255,0) 100%);
  transform: skewX(-20deg);
  animation: shine 4s infinite;
}

/* 7. Top Navigation Buttons */
.nav-buttons {
  display: flex;
  justify-content: center;
  gap: clamp(10px, 1.2vw, 16px);
  margin: 10px auto 30px;
  flex-wrap: wrap;
  max-width: min(100%, 860px);
}
.mobile .nav-buttons {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0 14px 20px;
  max-width: none;
}
.nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: clamp(128px, 12vw, 172px);
  padding: 0 clamp(18px, 2.2vw, 42px);
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, #fff, #f4fbf8);
  border: 1px solid #d1e8df;
  color: #14b57e;
  font-size: 18px;
  font-weight: 900;
  text-decoration: none;
  text-align: center;
  white-space: nowrap;
  box-shadow: 0 10px 24px rgba(15, 154, 104, 0.08);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.mobile .nav-btn {
  width: 100%;
  min-width: 0;
  padding: 0 8px;
  height: 44px;
  font-size: 15px;
  border-radius: 10px;
}
.nav-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(15, 154, 104, 0.15);
  background: linear-gradient(135deg, #10a36d, #079260);
  color: #fff;
  border-color: transparent;
}

/* Tabs & Multi-platform Styles */
.platform-tabs {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 30px;
}
.tab-btn {
  padding: 10px 24px;
  border-radius: 999px;
  border: 1px solid #d1e8df;
  background: #fff;
  font-size: 16px;
  font-weight: 800;
  color: #45665a;
  cursor: pointer;
  transition: all 0.3s;
}
.tab-btn.active {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
  box-shadow: 0 4px 12px rgba(15, 154, 104, 0.2);
}
.tab-btn[data-target="claude"].active {
  background: #e67e22;
  border-color: #e67e22;
  box-shadow: 0 4px 12px rgba(230, 126, 34, 0.2);
}
.tab-btn[data-target="gemini"].active {
  background: #4b6cb7;
  border-color: #4b6cb7;
  box-shadow: 0 4px 12px rgba(75, 108, 183, 0.2);
}

.mobile .platform-tabs { margin: 10px 14px 20px; gap: 8px; }
.mobile .tab-btn { flex: 1; padding: 10px 0; font-size: 14px; text-align: center; }

/* Colors for Claude */
.tag.orange { background: linear-gradient(135deg, #f29c43, #e67e22); }
.orange-plan .price { color: #e67e22; }
.orange-plan .features li::before { color: #e67e22; }
.orange-plan .cta { color: #e67e22; }
.recommended-orange { border: 2px solid #e67e22; box-shadow: inset 0 0 0 1px rgba(230, 126, 34, .08); }
.recommended-orange .cta { background: linear-gradient(135deg, #f29c43, #e67e22); color: #fff; border-color: #e67e22; }

/* Colors for Gemini */
.tag.blue { background: linear-gradient(135deg, #4b6cb7, #182848); }
.blue-plan .price { color: #4b6cb7; }
.blue-plan .features li::before { color: #4b6cb7; }
.blue-plan .cta { color: #4b6cb7; }
.recommended-blue { border: 2px solid #4b6cb7; box-shadow: inset 0 0 0 1px rgba(75, 108, 183, .08); }
.recommended-blue .cta { background: linear-gradient(135deg, #6a82fb, #4b6cb7); color: #fff; border-color: #4b6cb7; }

/* Primary Button Modifier */
.nav-btn.primary-btn {
  background: linear-gradient(135deg, #10a36d, #079260);
  color: #fff;
  border-color: transparent;
}

/* Mobile Redesign Overrides */
.mobile .plan { min-height: auto; padding: 14px 14px 12px; }
.mobile .plan-header h2 { font-size: 17px; margin: 0 0 4px; }
.mobile .plan-header .sub { font-size: 12px; }
.mobile .features.mobile-features { margin: 10px 0; padding: 10px 0 0; gap: 6px; font-size: 12px; border-top: 1px dashed #edf1ee; }
.mobile .plan-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; }
.mobile .price { margin-top: 0; }
.mobile .price strong { font-size: 24px; }
.mobile .cta { height: 34px; width: auto; min-width: 86px; padding: 0 16px; border-radius: 8px; font-size: 13px; }
.mobile .mobile-page { background: radial-gradient(circle at 0% 0%, rgba(15, 154, 104, 0.12) 0%, transparent 40%), radial-gradient(circle at 100% 100%, rgba(53, 120, 229, 0.08) 0%, transparent 40%), radial-gradient(circle at 100% 0%, rgba(229, 107, 32, 0.06) 0%, transparent 30%), linear-gradient(135deg, #f7fbf9 0%, #ffffff 100%) !important; }

/* Mobile Expansion */
.collapsed-plan { display: none !important; }
.is-expanded .collapsed-plan { display: flex !important; }
.expand-btn { width: 100%; padding: 14px 0; margin-top: 10px; background: transparent; border: none; border-top: 1px dashed #e8eee4; color: #6b7772; font-size: 13px; font-weight: bold; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 6px; }
.expand-btn span { font-size: 10px; }
/* Mobile Hero Decoration */
.mobile-hero { position: relative; padding: 32px 20px 24px; margin-bottom: 8px; background: linear-gradient(145deg, #ffffff 0%, #f4fbf8 100%); border-bottom: 1px solid #eaf3ee; }
.hero-bg-decoration { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background-image: radial-gradient(circle at 100% 0%, rgba(15, 154, 104, 0.08) 0%, transparent 50%), radial-gradient(circle at 0% 100%, rgba(53, 120, 229, 0.05) 0%, transparent 50%); pointer-events: none; }
.hero-content { position: relative; z-index: 1; }
.hero-icon { font-size: 32px; margin-bottom: 8px; display: inline-block; }
.mobile-hero h1 { font-size: 28px; font-weight: 900; color: #17201c; margin: 0 0 8px; line-height: 1.2; }
/* --- Desktop Redesign Updates --- */
body.desktop { background: #fdfdfd; }
body.desktop .hero-bg-blobs { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background-image: radial-gradient(circle at 10% 20%, rgba(15, 154, 104, 0.05) 0%, transparent 40%), radial-gradient(circle at 90% 80%, rgba(15, 154, 104, 0.05) 0%, transparent 40%); z-index: -1; }
body.desktop .hero { position: relative; z-index: 1; margin-bottom: 20px; }
body.desktop .hero-title h1 { font-size: 44px; font-weight: 900; color: #1f2937; letter-spacing: -0.5px; }
body.desktop .hero p { color: #6b7280; font-size: 16px; margin-top: 12px; }
body.desktop .badges { display: flex; justify-content: center; gap: 12px; margin-top: 24px; }
body.desktop .badge { display: flex; align-items: center; gap: 6px; background: #ecfdf5; color: #059669; padding: 6px 16px; border-radius: 24px; font-size: 13px; font-weight: bold; }
body.desktop .nav-buttons { display: flex; justify-content: center; gap: 16px; margin: 0 0 50px; }
body.desktop .nav-btn { display: flex; align-items: center; gap: 8px; padding: 12px 28px; border-radius: 8px; font-weight: bold; text-decoration: none; font-size: 15px; box-shadow: 0 2px 4px rgba(0,0,0,0.02); }
body.desktop .primary-btn { background: #10b981; color: #fff; border: 1px solid #10b981; }
body.desktop .outline-btn { background: #fff; color: #10b981; border: 1px solid #e5e7eb; }
body.desktop .plans { padding: 0 20px; max-width: 1200px; margin: 0 auto; }
body.desktop .group { margin-bottom: 40px; padding: 32px; background: #fff; border-radius: 16px; box-shadow: 0 4px 20px rgba(0,0,0,0.03); border: 1px solid #f3f4f6; }
body.desktop .group-title { display: flex; align-items: center; gap: 12px; margin-bottom: 32px; padding-bottom: 16px; border-bottom: 1px solid #f3f4f6; }
body.desktop .group-title strong { font-size: 20px; color: #111827; font-weight: 800; }
body.desktop .group-title span { font-size: 14px; color: #6b7280; }
body.desktop .plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
body.desktop .plan { background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; padding: 32px 24px 24px; position: relative; display: flex; flex-direction: column; text-align: left; min-height: auto; box-shadow: 0 2px 8px rgba(0,0,0,0.02); }
body.desktop .plan.recommended { border: 2px solid #10b981; box-shadow: 0 8px 24px rgba(16,185,129,0.1); }
body.desktop .ribbon { position: absolute; top: -2px; left: -2px; background: #10b981; color: #fff; font-size: 12px; font-weight: bold; padding: 6px 14px; border-radius: 12px 0 12px 0; }
body.desktop .tag { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); display: inline-flex; align-items: center; justify-content: center; padding: 0 16px; height: 28px; border-radius: 14px; font-size: 13px; font-weight: bold; margin: 0; z-index: 2; white-space: nowrap; }
body.desktop .plan.card-green .tag.solid { background: #10b981; color: #fff; }
body.desktop .plan.card-green .tag.soft { background: #ecfdf5; color: #059669; }
body.desktop .plan.card-orange .tag.solid { background: #f97316; color: #fff; }
body.desktop .plan.card-orange .tag.soft { background: #fff7ed; color: #c2410c; }
body.desktop .plan.card-blue .tag.solid { background: #3b82f6; color: #fff; }
body.desktop .plan.card-blue .tag.soft { background: #eff6ff; color: #1d4ed8; }
body.desktop .plan h2 { font-size: 22px; margin: 0 0 6px; color: #111827; text-align: left; }
body.desktop .sub { font-size: 13px; color: #6b7280; margin-bottom: 20px; min-height: 20px; font-weight: normal; }
body.desktop .price { display: flex; align-items: baseline; gap: 4px; margin-bottom: 24px; margin-top: 0; flex-wrap: nowrap; text-align: left; justify-content: flex-start; }
body.desktop .plan.card-green .price strong { font-size: 38px; color: #10b981; }
body.desktop .plan.card-green .price .currency { color: #10b981; font-weight: bold; font-size: 20px; }
body.desktop .plan.card-orange .price strong { font-size: 38px; color: #f97316; }
body.desktop .plan.card-orange .price .currency { color: #f97316; font-weight: bold; font-size: 20px; }
body.desktop .plan.card-blue .price strong { font-size: 38px; color: #3b82f6; }
body.desktop .plan.card-blue .price .currency { color: #3b82f6; font-weight: bold; font-size: 20px; }
body.desktop .price .unit { font-size: 14px; color: #6b7280; font-weight: normal; }
body.desktop .features { list-style: none; padding: 0; margin: 0 0 32px; flex: 1; border-top: 1px solid #f3f4f6; padding-top: 24px; }
body.desktop .features li { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: #4b5563; margin-bottom: 12px; text-align: left; grid-template-columns: none; font-weight: normal; }
body.desktop .features li::before { content: ""; display: inline-block; width: 16px; height: 16px; min-width: 16px; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='%2310b981' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E"); background-size: cover; margin-top: 2px; }
body.desktop .plan.card-orange .features li::before { background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='%23f97316' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E"); }
body.desktop .plan.card-blue .features li::before { background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='%233b82f6' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E"); }
body.desktop .cta { display: block; text-align: center; padding: 12px 0; border-radius: 8px; font-size: 15px; font-weight: bold; text-decoration: none; width: 100%; border-width: 1px; border-style: solid; }
body.desktop .plan.card-green .btn-solid { background: #10b981; color: #fff; border-color: #10b981; }
body.desktop .plan.card-green .btn-outline { background: #fff; color: #10b981; border-color: #10b981; }
body.desktop .plan.card-orange .btn-solid { background: #f97316; color: #fff; border-color: #f97316; }
body.desktop .plan.card-orange .btn-outline { background: #fff; color: #f97316; border-color: #f97316; }
body.desktop .plan.card-blue .btn-solid { background: #3b82f6; color: #fff; border-color: #3b82f6; }
body.desktop .plan.card-blue .btn-outline { background: #fff; color: #3b82f6; border-color: #3b82f6; }
body.desktop .hero-copy { max-width: 1200px; margin: 0 auto; text-align: center; display: flex; flex-direction: column; align-items: center; }
body.desktop .nav-buttons { width: 100%; max-width: 1200px; margin: 0 auto 50px; display: flex; justify-content: center; align-items: center; }
body.desktop * { box-sizing: border-box; }

/* Additional Mobile and Desktop Layout Fixes */
body.desktop .plan { overflow: visible !important; }
body.mobile .plan { overflow: visible !important; position: relative; }
body.mobile .features { display: flex !important; flex-direction: column !important; align-items: flex-start; width: 100%; }
body.mobile .features li { display: flex !important; align-items: flex-start; gap: 8px; text-align: left; word-break: normal; white-space: normal; width: 100%; }
body.mobile .plan-header { width: 100%; text-align: left; margin-bottom: 8px; }
body.mobile .plan-footer { width: 100%; }

img.section-icon { width: 24px; height: 24px; object-fit: contain; border-radius: 4px; }


/* Responsive Desktop Fixes */
body.desktop .plan-grid {
    display: flex !important;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
}
body.desktop .plan {
    flex: 1 1 320px !important;
    max-width: 380px !important;
    width: 100%;
}
@media (max-width: 768px) {
    body.desktop .badges { flex-wrap: wrap; }
    body.desktop .nav-buttons { flex-wrap: wrap; gap: 12px; }
    body.desktop .hero-title h1 { font-size: 32px; }
}

body.desktop { overflow-x: hidden; }


/* Background Adaptivity & Group Spacing Fixes */
body.desktop .hero {
    height: auto !important;
    min-height: auto !important;
    padding: 6vw 20px !important;
    background-size: 100% 100% !important; /* Forces the background image to dynamically stretch and fit without cropping */
    background-position: center !important;
}

body.desktop .group {
    margin-top: 20px !important;
    margin-bottom: 20px !important;
}

body.mobile .group {
    margin-top: 16px !important;
    margin-bottom: 16px !important;
}

body.mobile .hero {
    background-size: 100% 100% !important;
}

/* --- Unified Dynamic Background Redesign --- */

/* 1. Global Animated Gradient Background */
body.desktop {
    background: linear-gradient(-45deg, #e8f5e9, #fdfdfd, #e3f2fd, #fdfdfd) !important;
    background-size: 400% 400% !important;
    animation: gradientShift 15s ease infinite !important;
    position: relative;
    overflow-x: hidden;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* 2. Add floating dynamic light spots (Blobs) globally */
body.desktop::before,
body.desktop::after {
    content: '';
    position: fixed;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
    animation: floatBlobs 20s infinite ease-in-out alternate;
}

body.desktop::before {
    width: 600px;
    height: 600px;
    background: rgba(16, 185, 129, 0.12); /* Soft green */
    top: -100px;
    left: -100px;
}

body.desktop::after {
    width: 500px;
    height: 500px;
    background: rgba(59, 130, 246, 0.1); /* Soft blue */
    bottom: -100px;
    right: -100px;
    animation-delay: -10s;
}

@keyframes floatBlobs {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(100px, 50px) scale(1.2); }
}

/* 3. Remove the old clunky hero background image */
body.desktop .hero {
    background: transparent !important;
    padding: 60px 20px 20px !important; /* Fixed padding since no image needs to scale */
}

/* Hide the old localized hero blobs */
body.desktop .hero-bg-blobs {
    display: none !important;
}

/* 4. Glassmorphism for the Groups to blend with the unified background */
body.desktop .group {
    background: rgba(255, 255, 255, 0.65) !important;
    backdrop-filter: blur(24px) !important;
    -webkit-backdrop-filter: blur(24px) !important;
    border: 1px solid rgba(255, 255, 255, 0.8) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.03) !important;
}

/* 5. Slight transparency to the cards to make them pop out of the glass */
body.desktop .plan {
    background: rgba(255, 255, 255, 0.9) !important;
}

/* 6. Custom Hero Title Styles */
body.desktop .hero-subtitle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(8px);
  padding: 6px 18px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 800;
  color: #9ca3af;
  letter-spacing: 1.5px;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
  border: 1px solid rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
}

body.desktop .hero-title h1 {
  font-size: 56px;
  font-weight: 900;
  color: #1f2937;
  letter-spacing: -1px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0;
}

body.desktop .gradient-text {
  background: linear-gradient(90deg, #059669 0%, #34d399 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  display: inline-block;
  padding-right: 8px;
}

body.desktop .sparkle {
  position: absolute;
  top: -8px;
  right: -10px;
  animation: sparklePulse 2s infinite ease-in-out;
}

@keyframes sparklePulse {
  0%, 100% { opacity: 0.8; transform: scale(1); }
  50% { opacity: 0.3; transform: scale(0.6); }
}

/* --- Mobile Unified Background & Hero Title Sync --- */

/* 1. Global Animated Gradient Background for Mobile */
body.mobile {
    background: linear-gradient(-45deg, #e8f5e9, #fdfdfd, #e3f2fd, #fdfdfd) !important;
    background-size: 400% 400% !important;
    animation: gradientShift 15s ease infinite !important;
    position: relative;
    overflow-x: hidden;
}

/* 2. Floating dynamic light spots (Blobs) for Mobile */
body.mobile::before,
body.mobile::after {
    content: '';
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    animation: floatBlobs 20s infinite ease-in-out alternate;
}

body.mobile::before {
    width: 300px;
    height: 300px;
    background: rgba(16, 185, 129, 0.15); /* Soft green */
    top: -50px;
    left: -50px;
}

body.mobile::after {
    width: 300px;
    height: 300px;
    background: rgba(59, 130, 246, 0.12); /* Soft blue */
    bottom: -50px;
    right: -50px;
    animation-delay: -10s;
}

/* 3. Hide old mobile hero background decorations */
body.mobile .hero-bg-decoration {
    display: none !important;
}

body.mobile .mobile-hero {
    background: transparent !important;
    border-bottom: none !important;
}

/* 4. Glassmorphism for Groups in Mobile */
body.mobile .group {
    background: rgba(255, 255, 255, 0.65) !important;
    backdrop-filter: blur(24px) !important;
    -webkit-backdrop-filter: blur(24px) !important;
    border: 1px solid rgba(255, 255, 255, 0.8) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04) !important;
}

body.mobile .plan {
    background: rgba(255, 255, 255, 0.95) !important;
}

/* 5. Mobile Hero Title Styles Sync */
body.mobile .hero-subtitle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(8px);
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 800;
  color: #9ca3af;
  letter-spacing: 1px;
  margin-bottom: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
  border: 1px solid rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
}

body.mobile .hero-title h1 {
  font-size: 34px;
  font-weight: 900;
  color: #1f2937;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 0 0 12px;
}

body.mobile .gradient-text {
  background: linear-gradient(90deg, #059669 0%, #34d399 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  display: inline-block;
  padding-right: 6px;
}

body.mobile .sparkle {
  position: absolute;
  top: -6px;
  right: -8px;
  animation: sparklePulse 2s infinite ease-in-out;
}

/* Ensure mobile hero content is completely centered */
body.mobile .hero-content {
    text-align: center !important;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* --- Mobile Card Expand Animation --- */
body.mobile .collapsed-plan {
    display: flex !important;
    max-height: 0;
    opacity: 0;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    border-width: 0 !important;
    transform: translateY(-10px);
    clip-path: inset(0 0 100% 0);
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s ease, margin 0.4s ease, padding 0.4s ease, border-width 0.4s ease, transform 0.4s ease, clip-path 0.4s ease !important;
}

body.mobile .section.is-expanded .collapsed-plan {
    max-height: 800px;
    opacity: 1;
    margin-top: 16px !important;
    padding-top: 18px !important;
    padding-bottom: 14px !important;
    border-width: 1px !important;
    transform: translateY(0);
    clip-path: inset(-30px -20px -20px -20px);
    transition: max-height 0.6s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.5s ease 0.1s, margin 0.5s cubic-bezier(0.4, 0, 0.2, 1), padding 0.5s cubic-bezier(0.4, 0, 0.2, 1), border-width 0.5s ease, transform 0.5s ease, clip-path 0.6s ease !important;
}

/* Ensure CTA buttons text is perfectly centered */
body.desktop .cta,
body.mobile .cta,
.cta {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
}

/* --- Mobile Expand Performance Optimization --- */
/* Force GPU acceleration on the glassmorphism container to prevent repaint lag */
body.mobile .group {
    will-change: transform;
    transform: translateZ(0) !important;
}

/* Remove heavy clip-path and transforms, use ultra-fast standard transitions */
body.mobile .collapsed-plan {
    clip-path: none !important;
    transform: translateZ(0) !important; 
    will-change: max-height, opacity;
    
    display: flex !important;
    max-height: 0;
    opacity: 0;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    border-width: 0 !important;
    overflow: hidden !important;
    
    /* 0.2s ultra-fast collapse */
    transition: max-height 0.2s ease-out, opacity 0.15s ease-out, margin 0.2s ease-out, padding 0.2s ease-out, overflow 0s !important;
}

body.mobile .section.is-expanded .collapsed-plan {
    max-height: 600px !important;
    opacity: 1 !important;
    margin-top: 16px !important;
    padding-top: 18px !important;
    padding-bottom: 14px !important;
    border-width: 1px !important;
    overflow: visible !important;
    
    /* 0.3s snappy expand, step-end delays overflow:visible until the end to prevent bleeding */
    transition: max-height 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.25s ease-out 0.05s, margin 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), padding 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), overflow 0.3s step-end !important;
}
