:root {
  --etp-primary: #8242ba;
  --etp-primary-dark: #542078;
  --etp-purple-deep: #2e123f;
  --etp-soft: #f5ebfb;
  --etp-ink: #21172b;
  --etp-muted: #74677d;
  --etp-line: #eadcf2;
  --etp-success: #18835c;
}

.gp-et-plans-page {
  position: relative;
  min-height: 100vh;
  padding: clamp(18px, 3vw, 42px) 0 70px !important;
  overflow: hidden;
  color: var(--etp-ink);
  background:
    radial-gradient(circle at 94% 3%, rgba(180, 111, 226, .2), transparent 28%),
    radial-gradient(circle at 2% 42%, rgba(130, 66, 186, .1), transparent 25%),
    linear-gradient(145deg, #fdfbff 0%, #f7effc 48%, #fff 100%);
}

.gp-et-plans-page::before,
.gp-et-plans-page::after {
  position: absolute;
  border: 1px solid rgba(130, 66, 186, .12);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.gp-et-plans-page::before { top: 120px; right: -170px; width: 330px; height: 330px; }
.gp-et-plans-page::after { top: 620px; left: -180px; width: 280px; height: 280px; }
.gp-et-plans-page > .gp-v2-shell { position: relative; z-index: 1; }

.gp-et-plans-page .gp-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(310px, .75fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  min-height: 390px;
  margin: 0 0 28px;
  padding: clamp(34px, 5vw, 66px);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 32px;
  background: linear-gradient(135deg, var(--etp-purple-deep) 0%, #542073 52%, #8540b8 100%);
  box-shadow: 0 28px 70px rgba(65, 25, 89, .21);
}

.gp-et-plans-page .gp-hero::before {
  position: absolute;
  right: -100px;
  bottom: -220px;
  width: 480px;
  height: 480px;
  border: 75px solid rgba(255,255,255,.055);
  border-radius: 50%;
  content: "";
}

.gp-et-plans-page .gp-hero > div { position: relative; z-index: 1; }
.gp-et-plans-page .gp-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
  padding: 7px 12px;
  color: #f0dafa;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.gp-et-plans-page .gp-kicker::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #dc9bff;
  box-shadow: 0 0 0 5px rgba(220,155,255,.14);
  content: "";
}

.gp-et-plans-page .gp-hero h1 {
  max-width: 760px;
  margin: 0 0 18px;
  color: #fff;
  font-size: clamp(35px, 4.2vw, 58px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -.045em;
}

.gp-et-plans-page .gp-hero > div:first-child > p {
  max-width: 700px;
  margin: 0;
  color: #e3d3eb;
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.75;
}

.gp-et-plans-page .gp-hero > .gp-card {
  padding: 28px;
  color: var(--etp-ink);
  border: 1px solid rgba(255,255,255,.42);
  border-radius: 23px;
  background: rgba(255,255,255,.95);
  box-shadow: 0 24px 54px rgba(22, 6, 31, .25);
  backdrop-filter: blur(12px);
}

.gp-et-plans-page .gp-hero > .gp-card::before {
  display: grid;
  width: 46px;
  height: 46px;
  margin-bottom: 17px;
  place-items: center;
  color: #fff;
  border-radius: 14px;
  background: linear-gradient(135deg, #6d2f9c, #aa63d5);
  box-shadow: 0 9px 20px rgba(109,47,156,.24);
  content: "✓";
  font-size: 19px;
  font-weight: 900;
}

.gp-et-plans-page .gp-hero > .gp-card h3 { margin: 0 0 9px; color: var(--etp-ink); font-size: 21px; font-weight: 850; }
.gp-et-plans-page .gp-hero > .gp-card p { min-height: 48px; margin: 0 0 20px; color: var(--etp-muted); line-height: 1.65; word-break: break-word; }

.gp-et-plans-page .gp-alert {
  margin: 18px 0;
  padding: 16px 18px;
  border: 1px solid #d9c0e8;
  border-radius: 15px;
  color: #542274;
  background: rgba(249,243,252,.96);
  box-shadow: 0 9px 24px rgba(76,35,99,.07);
  font-weight: 700;
}

.gp-et-plans-page .gp-alert-success { color: #126647; border-color: #b9e2d1; background: #edfaf4; }

.gp-et-plans-page .gp-section {
  margin: 24px 0;
  padding: clamp(24px, 3.5vw, 40px);
  border: 1px solid var(--etp-line);
  border-radius: 27px;
  background: rgba(255,255,255,.9);
  box-shadow: 0 18px 48px rgba(71,29,96,.08);
}

.gp-et-plans-page .gp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(275px, 1fr));
  grid-auto-rows: 1fr;
  gap: 20px;
  align-items: stretch;
}

.gp-et-plans-page .gp-plan {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 510px;
  padding: 28px;
  overflow: hidden;
  border: 1px solid var(--etp-line);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(72,30,98,.075);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.gp-et-plans-page .gp-plan:hover {
  transform: translateY(-6px);
  border-color: #cba7df;
  box-shadow: 0 21px 45px rgba(72,30,98,.13);
}

.gp-et-plans-page .gp-plan.featured {
  border: 2px solid var(--etp-primary);
  background: linear-gradient(180deg, #fff 0%, #faf4fe 100%);
  box-shadow: 0 22px 48px rgba(130,66,186,.18);
}

.gp-et-plans-page .gp-plan.featured::before {
  position: absolute;
  top: 18px;
  right: -40px;
  width: 145px;
  padding: 7px 0;
  transform: rotate(38deg);
  color: #fff;
  background: linear-gradient(135deg, #6c2d9b, #a75dd2);
  content: "POPULAR";
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .12em;
  text-align: center;
}

.gp-et-plans-page .gp-badge {
  align-self: flex-start;
  margin-bottom: 16px;
  padding: 7px 11px;
  color: #62278b;
  border-radius: 999px;
  background: #f0e0f8;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.gp-et-plans-page .gp-plan h3 { min-height: 54px; margin: 0 0 7px; color: var(--etp-ink); font-size: 23px; font-weight: 900; line-height: 1.18; }
.gp-et-plans-page .gp-price { min-height: 57px; margin: 7px 0 13px; color: var(--etp-primary-dark); font-size: clamp(29px, 3vw, 38px); font-weight: 950; letter-spacing: -.045em; }
.gp-et-plans-page .gp-price small { display: inline-block; margin-left: 5px; color: #8a7d91; font-size: 12px; font-weight: 700; letter-spacing: 0; }
.gp-et-plans-page .gp-plan > p { min-height: 72px; margin: 0 0 12px; color: var(--etp-muted); line-height: 1.65; }
.gp-et-plans-page .gp-list { flex: 1; margin: 4px 0 23px; padding: 0; list-style: none; }
.gp-et-plans-page .gp-list li { position: relative; margin: 12px 0; padding-left: 28px; color: #5e5266; line-height: 1.45; }
.gp-et-plans-page .gp-list li::before {
  position: absolute;
  top: 1px;
  left: 0;
  width: 19px;
  height: 19px;
  color: var(--etp-success);
  border-radius: 50%;
  background: #e8f7f1;
  content: "✓";
  font-size: 11px;
  font-weight: 900;
  line-height: 19px;
  text-align: center;
}

.gp-et-plans-page .gp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 49px;
  padding: 13px 20px;
  border-radius: 13px;
  font-size: 14px;
  font-weight: 850;
  line-height: 1.2;
  text-decoration: none;
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}

.gp-et-plans-page .gp-btn:hover { transform: translateY(-2px); }
.gp-et-plans-page .gp-btn-primary,
.gp-et-plans-page .gp-btn-primary:visited {
  color: #fff !important;
  border-color: var(--etp-primary) !important;
  background: linear-gradient(135deg, #68309a, #9e54cf) !important;
  box-shadow: 0 10px 23px rgba(104,48,154,.22);
}

.gp-et-plans-page .gp-btn-outline,
.gp-et-plans-page .gp-btn-outline:visited {
  color: var(--etp-primary-dark) !important;
  border: 1px solid #d4b4e5 !important;
  background: #f8f0fc !important;
}

.gp-et-plans-page .gp-plan > .gp-btn { width: 100%; margin-top: auto; }

.gp-et-plans-page > .gp-v2-shell > .gp-card:last-child {
  position: relative;
  margin-top: 26px;
  padding: clamp(38px, 5vw, 60px);
  overflow: hidden;
  color: #fff;
  border: 0;
  border-radius: 27px;
  background: linear-gradient(135deg, #321345, #7e39ac);
  box-shadow: 0 24px 56px rgba(62,24,85,.2);
}

.gp-et-plans-page > .gp-v2-shell > .gp-card:last-child::after {
  position: absolute;
  right: -90px;
  bottom: -160px;
  width: 320px;
  height: 320px;
  border: 55px solid rgba(255,255,255,.055);
  border-radius: 50%;
  content: "";
}

.gp-et-plans-page > .gp-v2-shell > .gp-card:last-child h2 { position: relative; z-index: 1; margin: 0 0 10px; color: #fff; font-size: clamp(28px, 3.4vw, 40px); font-weight: 900; }
.gp-et-plans-page > .gp-v2-shell > .gp-card:last-child p { position: relative; z-index: 1; max-width: 680px; margin: 0 auto 23px; color: #e5d4ec; font-size: 16px; line-height: 1.7; }
.gp-et-plans-page > .gp-v2-shell > .gp-card:last-child .gp-btn { position: relative; z-index: 1; color: var(--etp-primary-dark) !important; border-color: #fff !important; background: #fff !important; }

@media (max-width: 900px) {
  .gp-et-plans-page .gp-hero { grid-template-columns: 1fr; min-height: auto; }
  .gp-et-plans-page .gp-hero > .gp-card { max-width: 620px; }
}

@media (max-width: 600px) {
  .gp-et-plans-page { padding-top: 8px !important; }
  .gp-et-plans-page .gp-hero { padding: 28px 20px; border-radius: 22px; }
  .gp-et-plans-page .gp-hero h1 { font-size: 34px; }
  .gp-et-plans-page .gp-hero > .gp-card { padding: 21px; border-radius: 18px; }
  .gp-et-plans-page .gp-section { padding: 18px; border-radius: 21px; }
  .gp-et-plans-page .gp-grid { grid-template-columns: 1fr; }
  .gp-et-plans-page .gp-plan { min-height: 480px; padding: 24px; }
}

@media (prefers-reduced-motion: no-preference) {
  .gp-et-plans-page .gp-hero { animation: etpReveal .55s ease both; }
  .gp-et-plans-page .gp-section { animation: etpReveal .55s ease both; animation-delay: .07s; }
  @keyframes etpReveal { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
}
