:root {
  --bg-deep: #041820;
  --bg-mid: #073138;
  --bg-card: rgba(12, 50, 54, 0.66);
  --bg-card-top: rgba(23, 73, 74, 0.45);
  --border: rgba(136, 195, 183, 0.38);
  --border-strong: rgba(157, 218, 205, 0.48);
  --cream: #f4eee3;
  --white: #fff8ec;
  --mint: #69b58c;
  --green: #68ae6f;
  --green-dark: #347e55;
  --orange: #ff790d;
  --orange-hot: #ff6e00;
  --gold: #f0ab00;
  --shadow: rgba(0, 0, 0, 0.42);
  --body-font: "Inter", "Arial", sans-serif;
  --title-font: "EB Garamond", Georgia, serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  width: 100%;
  min-height: 941px;
  overflow-x: hidden;
  color: var(--white);
  font-family: var(--body-font);
  background:
    radial-gradient(ellipse at 50% 15%, rgba(12, 68, 69, 0.82) 0%, rgba(8, 48, 55, 0.95) 34%, rgba(3, 22, 30, 1) 72%),
    linear-gradient(180deg, #06262e 0%, var(--bg-deep) 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 27% 53%, rgba(53, 105, 94, 0.13), transparent 23%),
    radial-gradient(ellipse at 75% 48%, rgba(36, 92, 91, 0.11), transparent 25%),
    radial-gradient(ellipse at 50% 83%, rgba(35, 83, 80, 0.11), transparent 31%);
  opacity: 0.95;
}

.premium-page {
  position: relative;
  z-index: 1;
  width: 1190px;
  margin: 0 auto;
  padding: 28px 0 31px;
}

.hero { text-align: center; }
.hero h1 {
  margin: 0;
  color: var(--cream);
  font-family: var(--title-font);
  font-size: 57px;
  line-height: 0.97;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-shadow: 0 2px 0 rgba(0,0,0,.3), 0 0 13px rgba(255, 240, 216, 0.16);
  transform: scaleX(0.93);
  transform-origin: center;
}

.hero-subtitle {
  margin: 7px 0 0;
  color: var(--mint);
  font-size: 24px;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -0.2px;
  text-shadow: 0 1px 1px rgba(0,0,0,.55);
}

.hero-copy {
  margin: 18px 0 0;
  color: #fff7ec;
  font-size: 18px;
  line-height: 1.38;
  font-weight: 500;
  letter-spacing: -0.1px;
  text-shadow: 0 1px 2px rgba(0,0,0,.62);
}

.protect-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  width: 354px;
  height: 50px;
  margin-top: 17px;
  border-radius: 7px;
  color: #fffaf1;
  text-decoration: none;
  font-size: 21px;
  font-weight: 900;
  letter-spacing: 0.2px;
  background: linear-gradient(180deg, #ff8420 0%, #ff760b 43%, #ff6d00 100%);
  box-shadow: 0 3px 10px rgba(255, 99, 0, 0.23), inset 0 1px 0 rgba(255,255,255,.2);
  text-shadow: 0 1px 1px rgba(114, 41, 0, 0.7);
}
.protect-button img { width: 25px; height: 28px; object-fit: contain; }

.section-title {
  margin: 12px auto 7px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 21px;
  color: var(--mint);
  font-family: var(--title-font);
  font-size: 27px;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-shadow: 0 1px 2px rgba(0,0,0,.6);
}
.section-title span {
  color: #f4eee3;
  font-family: Georgia, serif;
  font-size: 21px;
  transform: translateY(-1px);
}

.features { width: 1190px; margin: 0 auto; }
.feature-row { display: grid; gap: 12px; }
.feature-row-top {
  grid-template-columns: 222px 228px 244px 226px 220px;
}
.feature-row-bottom {
  grid-template-columns: 286px 292px 276px 300px;
  margin-top: 11px;
}

.feature-card {
  height: 154px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background:
    radial-gradient(ellipse at 50% 20%, rgba(78, 142, 130, 0.16), transparent 62%),
    linear-gradient(180deg, var(--bg-card-top), var(--bg-card));
  box-shadow: inset 0 0 21px rgba(127, 202, 187, 0.06), 0 1px 4px rgba(0,0,0,.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 16px 10px 12px;
}
.short-card { height: 135px; padding-top: 15px; }

.feature-icon { display: block; object-fit: contain; filter: drop-shadow(0 2px 1px rgba(0,0,0,.42)); }
.icon-save { width: 76px; height: 66px; margin-top: 1px; }
.icon-shield { width: 87px; height: 71px; margin-top: 3px; }
.icon-restore { width: 83px; height: 80px; margin-top: -2px; }
.icon-editor { width: 87px; height: 63px; margin-top: 5px; }
.icon-m15 { width: 66px; height: 63px; margin-top: 6px; }
.icon-symbols { width: 75px; height: 68px; margin-top: -1px; }
.icon-add { width: 102px; height: 73px; margin-top: -6px; }
.icon-ai { width: 83px; height: 79px; margin-top: -8px; }
.icon-early { width: 68px; height: 60px; margin-top: 2px; }

.feature-card h2 {
  margin: 12px 0 0;
  color: #fffaf2;
  font-size: 16px;
  line-height: 1.25;
  font-weight: 500;
  letter-spacing: -0.05px;
  text-align: center;
  text-transform: uppercase;
  text-shadow: 0 1px 2px rgba(0,0,0,.75);
}
.short-card h2 { margin-top: 9px; }
.feature-row-top .feature-card:nth-child(3) h2 { margin-top: 3px; font-size: 15px; }
.feature-row-top .feature-card:nth-child(5) h2 { margin-top: 10px; }
.feature-row-bottom .feature-card:nth-child(2) h2 { margin-top: 4px; }
.feature-row-bottom .feature-card:nth-child(3) h2 { margin-top: -1px; }
.feature-row-bottom .feature-card:nth-child(4) h2 { margin-top: 7px; }

.plans {
  width: 1190px;
  margin: 16px auto 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
.plan-card {
  position: relative;
  min-height: 278px;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  background:
    radial-gradient(ellipse at 42% 0%, rgba(80, 147, 135, 0.18), transparent 55%),
    linear-gradient(180deg, rgba(17, 58, 61, 0.74), rgba(8, 39, 45, 0.8));
  box-shadow: inset 0 0 26px rgba(129, 207, 190, 0.05), 0 2px 7px rgba(0,0,0,.19);
  padding: 20px 45px 17px 46px;
  overflow: visible;
}
.yearly-plan { border-color: var(--gold); }
.plan-icon {
  position: absolute;
  left: 30px;
  top: 13px;
  width: 74px;
  height: 74px;
  object-fit: contain;
  filter: drop-shadow(0 2px 1px rgba(0,0,0,.36));
}
.yearly-plan .plan-icon { left: 28px; top: 12px; width: 83px; height: 77px; }
.plan-content { margin-left: 120px; }
.plan-content h2 {
  margin: -2px 0 0;
  color: var(--cream);
  font-family: var(--title-font);
  font-size: 26px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0.7px;
  text-shadow: 0 1px 2px rgba(0,0,0,.65);
}
.price {
  height: 69px;
  display: flex;
  align-items: baseline;
  gap: 9px;
  border-bottom: 1px solid rgba(156, 205, 192, 0.13);
}
.amount {
  color: var(--orange);
  font-size: 64px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -2.6px;
  text-shadow: 0 2px 0 rgba(50, 30, 10, 0.42);
}
.cycle {
  color: #fffaf2;
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -0.6px;
}
ul {
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
}
li {
  position: relative;
  padding-left: 28px;
  color: #fffaf3;
  font-size: 16.5px;
  line-height: 1.6;
  font-weight: 500;
  text-shadow: 0 1px 1px rgba(0,0,0,.7);
}
li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #79ca65;
  font-size: 19px;
  font-weight: 900;
  line-height: 1.4;
}
.plan-button {
  position: absolute;
  left: 46px;
  right: 46px;
  bottom: 17px;
  height: 46px;
  border-radius: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fffaf0;
  text-decoration: none;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0.3px;
  text-shadow: 0 1px 1px rgba(0,0,0,.5);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 2px 7px rgba(0,0,0,.14);
}
.monthly-button { background: linear-gradient(180deg, #428c60, #357a53); }
.yearly-button { background: linear-gradient(180deg, #ff8120, #ff7000); }
.deal-badge {
  position: absolute;
  top: -10px;
  left: 156px;
  width: 262px;
  height: 26px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #ff8b23, #ff6f00);
  color: #fff3e6;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.2px;
  text-shadow: 0 1px 1px rgba(109, 40, 0, 0.55);
}
.free-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: -8px;
  height: 19px;
  padding: 0 9px;
  border-radius: 6px;
  background: rgba(65, 144, 91, 0.55);
  color: #91d6a6;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  text-shadow: 0 1px 1px rgba(0,0,0,.45);
}
.yearly-plan .price { height: 63px; border-bottom: none; }
.yearly-plan ul { margin-top: 3px; }
.yearly-plan .plan-content h2 { margin-left: 0; }

@media (max-width: 1240px) {
  body { min-height: auto; }
  .premium-page, .features, .plans { width: min(1190px, calc(100vw - 32px)); }
  .feature-row-top, .feature-row-bottom, .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-card, .short-card { height: 150px; }
  .hero h1 { font-size: clamp(34px, 5vw, 57px); }
  .hero-subtitle { font-size: clamp(18px, 2.5vw, 24px); }
  .plans { gap: 14px; }
}

@media (max-width: 760px) {
  .premium-page { padding-top: 18px; }
  .hero-copy { font-size: 15px; }
  .protect-button { width: min(354px, 100%); }
  .feature-row-top, .feature-row-bottom, .plans { grid-template-columns: 1fr; }
  .plan-card { padding-left: 24px; padding-right: 24px; }
  .plan-content { margin-left: 0; padding-top: 75px; }
  .plan-icon { left: 24px; }
  .plan-button { left: 24px; right: 24px; }
  .deal-badge { left: 50%; transform: translateX(-50%); }
}

/* === interactive: hover-darken on plan + CTA buttons, opens popup === */
.plan-button, .protect-button { cursor: pointer; transition: filter .15s ease, transform .06s ease; }
.plan-button:hover, .protect-button:hover { filter: brightness(0.82); }
.plan-button:active, .protect-button:active { transform: translateY(1px); }
