:root {
  --bg: #f3f7f7;
  --bg-soft: #ffffff;
  --ink: #0b1a1f;
  --ink-soft: #38515a;
  --line: #d4e2e6;
  --brand: #0f766e;
  --brand-2: #1d4ed8;
  --highlight: #f59e0b;
  --radius: 20px;
  --shadow: 0 20px 45px rgba(9, 26, 33, 0.12);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Manrope", sans-serif;
  background: radial-gradient(circle at 5% 5%, #e8f7f0 0, transparent 40%),
    radial-gradient(circle at 95% 0, #e7eefc 0, transparent 42%), var(--bg);
  color: var(--ink);
  line-height: 1.55;
  position: relative;
  overflow-x: hidden;
}

.bg-shape {
  position: fixed;
  width: 280px;
  height: 280px;
  border-radius: 40%;
  z-index: -1;
  opacity: 0.35;
  filter: blur(35px);
}

.bg-shape-a {
  top: -80px;
  left: -60px;
  background: #1d4ed8;
}

.bg-shape-b {
  right: -50px;
  bottom: -90px;
  background: #f59e0b;
}

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(8px);
  background: rgba(243, 247, 247, 0.86);
  border-bottom: 1px solid rgba(212, 226, 230, 0.7);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.brand {
  text-decoration: none;
  color: var(--ink);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
}

.header-cta {
  text-decoration: none;
  color: #fff;
  background: linear-gradient(120deg, var(--brand), #0ea5a0);
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 700;
  transition: transform 140ms ease, box-shadow 140ms ease;
  box-shadow: 0 10px 20px rgba(15, 118, 110, 0.25);
}

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

.hero {
  padding: 72px 0 36px;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(20px, 4vw, 44px);
  align-items: start;
}

.product-name {
  margin: 0 0 4px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: clamp(1.2rem, 2.2vw, 1.8rem);
}

.product-author {
  margin: 0 0 16px;
  color: var(--ink-soft);
  font-weight: 600;
}

.product-author a {
  color: var(--brand-2);
  text-decoration: none;
}

.product-author a:hover {
  text-decoration: underline;
}

.hero-demo-wrap {
  display: flex;
}

.demo-card {
  width: 100%;
  background: linear-gradient(175deg, rgba(255, 255, 255, 0.94), rgba(228, 238, 243, 0.88));
  border: 1px solid rgba(212, 226, 230, 0.95);
  border-radius: 28px;
  box-shadow: 0 24px 45px rgba(11, 26, 31, 0.14);
  padding: clamp(12px, 2vw, 18px);
}

.demo-frame-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  min-height: 300px;
  border-radius: 22px;
  background:
    radial-gradient(circle at 75% 25%, rgba(173, 196, 233, 0.35) 0, rgba(173, 196, 233, 0.02) 42%),
    radial-gradient(circle at 30% 78%, rgba(121, 199, 176, 0.28) 0, rgba(121, 199, 176, 0.01) 48%),
    #dfe8ee;
  overflow: hidden;
  border: 1px solid rgba(180, 197, 206, 0.7);
}

.live-demo-frame {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  background: #f5f8fb;
}

.demo-fullscreen-trigger {
  position: absolute;
  inset: 0;
  border: 0;
  cursor: pointer;
  color: #fff;
  background: linear-gradient(180deg, rgba(10, 31, 44, 0.2) 0%, rgba(10, 31, 44, 0.58) 100%);
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 16px;
}

.demo-fullscreen-trigger:hover {
  background: linear-gradient(180deg, rgba(10, 31, 44, 0.15) 0%, rgba(10, 31, 44, 0.46) 100%);
}

.demo-frame-wrap.is-fullscreen .demo-fullscreen-trigger {
  display: none;
}

.demo-frame-wrap:fullscreen {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  border-radius: 0;
  border: 0;
  padding: 18px;
  background: #09161e;
  display: flex;
  align-items: center;
  justify-content: center;
}

.demo-frame-wrap:fullscreen .live-demo-frame {
  border-radius: 14px;
}

.demo-title {
  margin: 10px 4px 2px;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: lowercase;
  color: var(--ink-soft);
}

.eyebrow {
  display: inline-flex;
  background: #e5f6f0;
  color: #0f5f57;
  border: 1px solid #b7e7da;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 6px 12px;
  letter-spacing: 0.02em;
}

h1,
h2,
h3 {
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
}

h1 {
  margin-top: 14px;
  font-size: clamp(2rem, 5vw, 3.6rem);
  line-height: 1.05;
  max-width: 760px;
}

.hero-copy {
  max-width: 720px;
  margin-top: 14px;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

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

.btn {
  text-decoration: none;
  border-radius: 12px;
  padding: 12px 18px;
  font-weight: 800;
  letter-spacing: 0.01em;
  transition: transform 140ms ease, box-shadow 140ms ease;
}

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

.btn-primary {
  color: #fff;
  background: linear-gradient(120deg, var(--brand), var(--brand-2));
  box-shadow: 0 14px 30px rgba(15, 118, 110, 0.28);
}

.btn-ghost {
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
}

.btn-large {
  padding: 14px 22px;
}

.hero-points {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
  color: var(--ink-soft);
}

.hero-points li {
  position: relative;
  padding-left: 22px;
}

.hero-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: linear-gradient(120deg, var(--brand), var(--highlight));
}

.features {
  padding: 30px 0 8px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.feature-card {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}

.feature-card p {
  margin: 0;
  color: var(--ink-soft);
}

.screenshots {
  padding: 54px 0 8px;
}

.section-head {
  margin-bottom: 18px;
}

.shots-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.shot-card {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

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

.gallery-image {
  cursor: zoom-in;
  transition: transform 160ms ease;
}

.gallery-image:hover {
  transform: scale(1.015);
}

.shot-copy {
  padding: 16px 16px 20px;
}

.shot-copy p {
  margin: 0;
  color: var(--ink-soft);
}

.pricing {
  padding: 54px 0 70px;
}

.pricing-box {
  background: linear-gradient(160deg, #0b1a1f 0%, #13252b 65%, #163238 100%);
  color: #e8f2f4;
  border-radius: 28px;
  border: 1px solid rgba(198, 218, 225, 0.18);
  padding: clamp(24px, 4vw, 42px);
  box-shadow: 0 24px 55px rgba(9, 26, 33, 0.35);
}

.pricing-box .eyebrow {
  background: rgba(229, 246, 240, 0.12);
  color: #b8efe1;
  border-color: rgba(183, 231, 218, 0.32);
}

.pricing-box p {
  color: #bdd5db;
  max-width: 700px;
}

.small-note {
  font-size: 0.9rem;
  margin-top: 10px;
}

.site-footer {
  border-top: 1px solid rgba(212, 226, 230, 0.8);
  padding: 18px 0 28px;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  color: var(--ink-soft);
  font-size: 0.94rem;
}

.footer-row a {
  color: var(--brand-2);
  font-weight: 700;
}

.lightbox-open {
  overflow: hidden;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(4, 14, 19, 0.92);
  padding: clamp(14px, 4vw, 28px);
}

.lightbox.is-open {
  display: flex;
}

.lightbox-figure {
  margin: 0;
  width: min(1200px, 100%);
}

.lightbox-image {
  width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 16px;
  border: 1px solid rgba(212, 226, 230, 0.28);
  background: #0b1a1f;
}

.lightbox-caption {
  color: #d8ecf0;
  margin-top: 10px;
  text-align: center;
  font-size: 0.95rem;
}

.lightbox-btn {
  position: absolute;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: rgba(7, 22, 30, 0.72);
  backdrop-filter: blur(4px);
  cursor: pointer;
}

.lightbox-btn:hover {
  background: rgba(18, 54, 70, 0.85);
}

.lightbox-close {
  top: 14px;
  right: 14px;
  padding: 10px 14px;
  font-weight: 700;
}

.lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  font-size: 1.9rem;
  line-height: 1;
}

.lightbox-prev {
  left: 14px;
}

.lightbox-next {
  right: 14px;
}

@media (max-width: 960px) {
  .hero-layout {
    grid-template-columns: 1fr;
  }

  .features {
    grid-template-columns: 1fr;
  }

  .shots-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 56px;
  }

  .demo-frame-wrap {
    min-height: 260px;
  }

  .lightbox-nav {
    width: 42px;
    height: 42px;
    font-size: 1.6rem;
  }
}
