:root {
  color-scheme: light;
  --ink: #1d1f25;
  --muted: #6b7280;
  --soft: #f3f5f8;
  --line: rgba(21, 24, 33, 0.1);
  --accent: #0a84ff;
  --orange: #ff6a2a;
  --shadow: 0 28px 90px rgba(22, 29, 47, 0.16);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 16% 8%, rgba(255, 106, 42, 0.12), transparent 30%),
    radial-gradient(circle at 86% 3%, rgba(10, 132, 255, 0.12), transparent 28%),
    linear-gradient(180deg, #fbfcfe 0%, #eef2f6 56%, #f8fafc 100%);
}

a { color: inherit; text-decoration: none; }

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(18px, 5vw, 72px);
  background: rgba(248, 250, 252, 0.78);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.72);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #20232a;
  font-size: 18px;
  font-weight: 900;
}

.brand span {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  color: white;
  background: #ff6534;
  box-shadow: 0 10px 24px rgba(255, 101, 52, 0.26);
}

.nav nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: #4b5563;
  font-size: 14px;
  font-weight: 650;
}

.nav .buy {
  color: #fff;
  background: #1f2937;
  padding: 8px 13px;
  border-radius: 10px;
}

.hero {
  min-height: min(760px, calc(100vh - 64px));
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(360px, 0.96fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  padding: 46px clamp(18px, 6vw, 88px) 78px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--orange);
  font-size: 13px;
  font-weight: 850;
}

h1, h2, h3, p { letter-spacing: 0; }
h1 {
  margin: 0;
  font-size: clamp(64px, 11vw, 128px);
  line-height: 0.9;
  font-weight: 950;
}

.lead {
  max-width: 600px;
  margin: 26px 0 0;
  color: #374151;
  font-size: 20px;
  line-height: 1.72;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.primary, .secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 12px;
  font: inherit;
  font-weight: 850;
}

.primary {
  position: relative;
  color: white;
  background: #0a84ff;
  box-shadow: 0 16px 34px rgba(10, 132, 255, 0.25);
}

.trial-badge {
  position: absolute;
  top: -10px;
  right: -12px;
  min-width: 36px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
  border-radius: 999px;
  color: #7a3100;
  background: linear-gradient(180deg, #ffe08a, #ffb02e);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: 0 10px 24px rgba(255, 142, 35, 0.28);
  font-size: 11px;
  font-weight: 950;
}

.secondary {
  color: #344054;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid var(--line);
  cursor: pointer;
}

.real-shot {
  margin: 0;
  justify-self: center;
  width: min(420px, 100%);
  padding: 10px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.real-shot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 21px;
}

.pricing-band, .features {
  padding: 76px clamp(18px, 6vw, 88px);
}

.section-title {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-title p {
  margin: 0 0 10px;
  color: var(--orange);
  font-size: 13px;
  font-weight: 850;
}

h2 {
  margin: 0;
  font-size: clamp(34px, 5.5vw, 60px);
  line-height: 1.06;
  font-weight: 900;
}

.plans {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 18px;
}

.plan {
  min-height: 430px;
  padding: 26px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 54px rgba(17, 24, 39, 0.08);
}

.pro-plan {
  color: white;
  background: #111827;
  border-color: rgba(255, 255, 255, 0.08);
}

.plan-head {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 18px;
  margin-bottom: 24px;
}

.plan-head span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

.pro-plan .plan-head span,
.pro-plan .module-open li {
  color: rgba(255, 255, 255, 0.72);
}

.plan-head strong {
  font-size: 52px;
  line-height: 1;
}

.module-open {
  padding: 18px;
  border-radius: 18px;
  background: rgba(20, 24, 33, 0.045);
}

.pro-plan .module-open {
  background: rgba(255, 255, 255, 0.08);
}

.module-open b {
  display: block;
  margin-bottom: 12px;
  font-size: 17px;
}

.module-open ul {
  margin: 0;
  padding-left: 18px;
  line-height: 1.9;
}

.module-open li {
  color: #4b5563;
}

.limit-list {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.limit-list span {
  color: #667085;
  font-size: 13px;
}

.full {
  width: 100%;
  margin-top: 20px;
  background: #fff;
  color: #111827;
  box-shadow: none;
}

.feature-slider {
  position: relative;
  min-height: 540px;
}

.slides {
  position: relative;
  min-height: 520px;
}

.showcase-card {
  position: relative;
  overflow: visible;
  min-height: 500px;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 20px;
  padding: 26px;
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.64)),
    #f8fafc;
  border: 1px solid rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 62px rgba(17, 24, 39, 0.09);
}

.showcase-card.wide {
  min-height: 500px;
  grid-template-columns: minmax(300px, 0.95fr) minmax(0, 1.05fr);
  grid-template-rows: 1fr;
  align-items: center;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px) scale(0.985);
  transition: opacity 0.58s ease, transform 0.58s ease;
}

.slide.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.slide.exiting {
  opacity: 0;
  transform: translateY(-12px) scale(0.99);
}

.slider-dots {
  position: absolute;
  left: 50%;
  bottom: -8px;
  z-index: 6;
  display: flex;
  gap: 8px;
  transform: translateX(-50%);
}

.slider-dots button {
  position: relative;
  width: 34px;
  height: 4px;
  overflow: hidden;
  border-radius: 999px;
  border: none;
  padding: 0;
  background: rgba(17, 24, 39, 0.12);
  cursor: pointer;
}

.slider-dots button::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: scaleX(0);
  transform-origin: left;
  border-radius: inherit;
  background: #111827;
}

.slider-dots button.active::after {
  animation: dotFill 6s linear both;
}

.feature-slider.paused .slider-dots button.active::after {
  animation-play-state: paused;
}

@keyframes dotFill {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

.showcase-card.reverse {
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
}

.showcase-card.reverse .shot { order: 2; }
.showcase-card.reverse .copy { order: 1; }

.dark-card {
  color: white;
  background:
    radial-gradient(circle at 85% 12%, rgba(35, 211, 180, 0.28), transparent 28%),
    #111827;
  border-color: rgba(255, 255, 255, 0.08);
}

.copy {
  position: relative;
  z-index: 2;
  align-self: start;
}

.tag {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  color: white;
  font-size: 12px;
  font-weight: 850;
}

.tag.red { background: #ff3b30; }
.tag.blue { background: #0a84ff; }
.tag.cyan { background: #00b3a6; }
.tag.orange { background: #ff7a1a; }
.tag.gray { background: #6b7280; }
.tag.purple { background: #7c3aed; }

.copy h3 {
  max-width: 520px;
  margin: 16px 0 10px;
  font-size: clamp(24px, 2.45vw, 34px);
  line-height: 1.12;
}

.copy p {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
  font-size: 15px;
}

.dark-card .copy p { color: rgba(255, 255, 255, 0.68); }

.shot {
  position: relative;
  align-self: end;
  width: 100%;
  border-radius: 24px;
  overflow: hidden;
  background: rgba(240, 243, 247, 0.82);
}

.shot img {
  display: block;
  width: 100%;
  height: auto;
}

.fade-shot::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(248, 250, 252, 0.34), transparent 12%, transparent 88%, rgba(248, 250, 252, 0.34)),
    linear-gradient(180deg, rgba(248, 250, 252, 0.28), transparent 16%, transparent 86%, rgba(248, 250, 252, 0.48));
}

.almanac-shot {
  max-width: 430px;
  justify-self: center;
  box-shadow: 0 24px 74px rgba(17, 24, 39, 0.16);
}

.almanac-shot img {
  transform: scale(1.02);
  transform-origin: center;
}

.ports-shot {
  width: min(410px, 100%);
  justify-self: center;
  align-self: center;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.75);
}

.ports-shot img {
  width: auto;
  max-width: 100%;
  max-height: 442px;
  object-fit: contain;
  margin: 0 auto;
}

.share-shot {
  margin-top: auto;
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.28);
}

.screenshot-shot {
  max-width: 520px;
  justify-self: center;
  background: #f7ede9;
  box-shadow: 0 22px 70px rgba(110, 72, 52, 0.14);
}

.screenshot-shot img {
  transform: scale(1.01);
}

.clipboard-shot {
  max-width: 560px;
  justify-self: center;
  align-self: center;
  background: rgba(246, 248, 251, 0.92);
  box-shadow: 0 26px 76px rgba(20, 24, 33, 0.14);
}

.clipboard-shot img {
  width: 100%;
  object-fit: contain;
}

.shelf-card {
  min-height: 500px;
}

.shelf-shot {
  width: min(280px, 86%);
  justify-self: center;
  background:
    radial-gradient(circle at 50% 42%, rgba(10, 132, 255, 0.12), transparent 42%),
    linear-gradient(180deg, #f5f7fb, #e9edf3);
  border: 1px solid rgba(120, 128, 140, 0.18);
  box-shadow:
    0 28px 80px rgba(17, 24, 39, 0.22),
    0 1px 0 rgba(255, 255, 255, 0.82) inset;
}

.buy-page { min-height: calc(100vh - 64px); }
.pricing {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) 420px;
  gap: 42px;
  align-items: center;
  min-height: calc(100vh - 64px);
  padding: 76px clamp(18px, 6vw, 88px);
}
.price-copy h1 { font-size: clamp(42px, 7vw, 82px); line-height: 1; }
.price-copy p { color: #344054; font-size: 18px; line-height: 1.8; max-width: 620px; }
.price-card {
  border-radius: 28px;
  padding: 30px;
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(255,255,255,.9);
  box-shadow: var(--shadow);
}
.badge { display: inline-flex; padding: 6px 10px; border-radius: 999px; color: #9a5b00; background: rgba(255,183,0,.18); font-weight: 900; font-size: 12px; }
.price-card strong { display: block; margin: 14px 0 0; font-size: 70px; line-height: 1; }
.price-card small { color: var(--muted); }
.price-card ul { padding-left: 18px; color: #344054; line-height: 2; }
form { display: grid; gap: 10px; margin-top: 20px; }
input {
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
  padding: 0 14px;
  font: inherit;
  background: rgba(255,255,255,.72);
}
button.primary { border: none; cursor: pointer; font: inherit; }
.result { min-height: 22px; color: var(--accent); font-size: 13px; line-height: 1.6; }

.sponsor-modal[hidden], .purchase-modal[hidden] { display: none; }
.sponsor-modal, .purchase-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 24px;
}

.sponsor-backdrop, .purchase-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 24, 33, 0.28);
  backdrop-filter: blur(12px);
}

.sponsor-dialog, .purchase-dialog {
  position: relative;
  width: min(360px, calc(100vw - 40px));
  padding: 24px 24px 22px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.92);
  box-shadow: 0 30px 90px rgba(17, 24, 39, 0.24);
}

.sponsor-dialog img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
}

.sponsor-dialog p {
  margin: 14px 0 0;
  color: #344054;
  text-align: center;
  font-size: 15px;
  font-weight: 800;
}

.purchase-dialog { text-align: center; }
.purchase-dialog span {
  display: inline-flex;
  height: 24px;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  color: #8a4b00;
  background: rgba(255, 183, 0, 0.18);
  font-size: 12px;
  font-weight: 900;
}
.purchase-dialog h3 { margin: 14px 0 8px; font-size: 24px; }
.purchase-dialog p {
  margin: 0 0 18px;
  color: #344054;
  font-size: 15px;
  line-height: 1.7;
}

.sponsor-close, .purchase-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  padding: 0;
  border: none;
  border-radius: 50%;
  color: #475467;
  background: rgba(245, 247, 251, 0.86);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

@media (max-width: 960px) {
  .hero, .plans, .pricing { grid-template-columns: 1fr; }
  .real-shot { width: min(440px, 100%); }
  .feature-slider { min-height: 680px; }
  .slides { min-height: 640px; }
  .showcase-card,
  .showcase-card.wide,
  .showcase-card.reverse {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    min-height: 0;
  }
  .showcase-card.reverse .shot,
  .showcase-card.reverse .copy { order: initial; }
}

@media (max-width: 680px) {
  .nav nav { gap: 12px; font-size: 13px; }
  .nav .buy { padding: 7px 9px; }
  .hero { padding-top: 32px; }
  .pricing-band, .features, .pricing { padding-left: 18px; padding-right: 18px; }
  .showcase-card { padding: 18px; border-radius: 22px; }
  .copy h3 { font-size: 25px; }
  .ports-shot { width: min(330px, 100%); }
  .ports-shot img { max-height: 420px; }
  .clipboard-shot { max-width: 100%; }
  .shelf-shot { width: min(230px, 90%); }
}
