:root {
  --bg: #070a14;
  --bg-2: #0d1324;
  --panel: rgba(255, 255, 255, 0.06);
  --panel-2: rgba(255, 255, 255, 0.04);
  --panel-border: rgba(255, 255, 255, 0.12);
  --text: #f4f6ff;
  --muted: #a8b0c8;
  --accent: #7950f2;
  --accent-2: #9d74ff;
  --accent-3: #71f0a6;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  --radius: 28px;
  --wrapper: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 85% 10%, rgba(121, 80, 242, 0.22), transparent 22%),
    radial-gradient(circle at 10% 75%, rgba(113, 240, 166, 0.18), transparent 26%),
    radial-gradient(circle at 70% 45%, rgba(98, 132, 255, 0.12), transparent 18%),
    linear-gradient(180deg, #070a14 0%, #09101b 55%, #070b14 100%);
  color: var(--text);
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.page-shell {
  max-width: 1440px;
  margin: 0 auto;
  min-height: 100vh;
  position: relative;
}

.wrapper {
  width: min(var(--wrapper), calc(100% - 48px));
  margin: 0 auto;
}

.section { padding: 72px 0; }
.section-large { padding: 96px 0; }

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 0 10px;
  position: sticky;
  top: 0;
  backdrop-filter: blur(14px);
  background: linear-gradient(180deg, rgba(7,10,20,0.88), rgba(7,10,20,0.55) 75%, rgba(7,10,20,0));
  z-index: 10;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 800;
  font-size: 1.6rem;
}

.brand img,
.footer-brand img {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
}

.site-nav a:not(.btn) { font-weight: 600; }
.site-nav a:not(.btn):hover { color: var(--text); }

.eyebrow,
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(121, 80, 242, 0.12);
  border: 1px solid rgba(157, 116, 255, 0.28);
  color: #c4b1ff;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  margin-bottom: 24px;
}

.kicker {
  padding: 0;
  background: transparent;
  border: 0;
  margin-bottom: 10px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.03fr 1fr;
  gap: 40px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(3.3rem, 7vw, 5.8rem);
  line-height: 0.96;
  margin: 0;
  letter-spacing: -0.04em;
}

.hero h1 span {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-weight: 400;
  color: var(--accent-2);
  letter-spacing: -0.03em;
  margin-top: 10px;
}

.lead,
.section-intro p,
.feature-copy p,
.pricing-copy,
.footer-brand p,
.footer-author p,
.hero-note,
.preset-card p,
.use-card p {
  color: var(--muted);
  font-size: 1.15rem;
  line-height: 1.65;
}

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

.hero-note {
  margin-top: 16px;
  font-size: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 0 28px;
  border-radius: 18px;
  font-weight: 800;
  font-size: 1.02rem;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: white;
  box-shadow: 0 14px 36px rgba(121, 80, 242, 0.28);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--text);
}

.btn-small {
  min-height: 46px;
  padding: 0 18px;
  border-radius: 14px;
  font-size: 0.92rem;
}

.card {
  border-radius: var(--radius);
  background: var(--panel);
  border: 1px solid var(--panel-border);
  box-shadow: var(--shadow);
}

.card-glass { backdrop-filter: blur(16px); }

.hero-visual,
.image-frame { padding: 18px; }

.hero-visual img,
.image-frame img {
  border-radius: 22px;
  width: 100%;
  height: auto;
}

.large-frame { padding: 20px; }

.section-intro { margin-bottom: 28px; }

.section-intro h2,
.feature-copy h2,
.pricing-card h2 {
  margin: 0 0 8px;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.narrow { max-width: 760px; }

.preset-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.preset-card,
.use-card { padding: 28px; }

.preset-card h3,
.use-card h3 {
  margin: 0 0 10px;
  font-size: 1.5rem;
}

.preset-card p,
.use-card p {
  margin: 0;
}

.feature-stack {
  display: grid;
  gap: 44px;
}

.feature-block {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 30px;
  align-items: center;
}

.feature-block.reverse {
  grid-template-columns: 1.08fr 0.92fr;
}

.feature-block.reverse .feature-copy { order: 2; }
.feature-block.reverse .image-frame { order: 1; }

.use-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.use-card {
  background: var(--panel-2);
}

.use-card.wide {
  grid-column: 1 / -1;
}

.pricing-card {
  padding: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.price-line {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin: 16px 0 8px;
}

.price {
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  font-weight: 900;
  letter-spacing: -0.04em;
}

.price-note {
  color: var(--muted);
  font-weight: 600;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.2fr 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 28px 0 56px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-brand,
.footer-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-brand strong,
.footer-author strong {
  display: block;
  font-size: 1.05rem;
}

.footer-brand p,
.footer-author p {
  margin: 4px 0 0;
  font-size: 0.96rem;
}

.footer-author img {
  width: 136px;
  height: auto;
  filter: drop-shadow(0 8px 22px rgba(0,0,0,0.18));
}

.footer-links {
  display: flex;
  gap: 20px;
  color: var(--muted);
  font-weight: 700;
  justify-self: end;
}

.footer-links a:hover { color: var(--text); }

@media (max-width: 1040px) {
  .hero-grid,
  .feature-block,
  .feature-block.reverse,
  .preset-grid,
  .pricing-card,
  .use-grid,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .feature-block.reverse .feature-copy,
  .feature-block.reverse .image-frame {
    order: initial;
  }

  .pricing-card {
    align-items: flex-start;
  }

  .footer-links { justify-self: start; }
}

@media (max-width: 760px) {
  .wrapper { width: min(var(--wrapper), calc(100% - 28px)); }
  .site-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .site-nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 6px;
  }
  .hero h1 { font-size: 3.3rem; }
  .btn { width: 100%; }
  .hero-actions { flex-direction: column; }
  .site-footer,
  .footer-brand,
  .footer-author {
    align-items: flex-start;
  }

  .footer-author img {
    width: 116px;
  }
}


/* v3 polish */
.footer-author img {
  background: transparent;
  width: 128px;
  max-height: 56px;
  object-fit: contain;
  filter: drop-shadow(0 10px 24px rgba(0,0,0,0.22));
}

.brand img,
.footer-brand img {
  background: transparent;
}

.price-line {
  flex-wrap: wrap;
}

@media (max-width: 760px) {
  .price-line {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
}
