/* Styx Multi-Cart — product page styles */

:root {
  color-scheme: light;
  --navy-900: #0b121b;
  --navy-800: #101923;
  --navy-700: #17212d;
  --orange: #ff9900;
  --orange-light: #ffc34d;
  --blue-light: #6cc7ff;
  --blue-pale: #9bd9ff;
  --river: #5f7686;
  --ink: #1c2733;
  --muted: #5b6b7c;
  --paper: #f6f8fa;
  --border: #e3e8ed;
  --max: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

/* Keep each accented phrase in the hero headline on one line, so it never
   breaks as "later / checkout". The phrases still wrap as whole units. */
.hero-copy h1 .accent { white-space: nowrap; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

a { color: var(--orange); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; height: auto; display: block; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Top nav ---- */

.topnav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(11, 18, 27, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.topnav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
}

.brand img { width: 32px; height: 32px; border-radius: 7px; }

.topnav nav { display: flex; gap: 24px; }

.topnav nav a {
  color: #cfe3f5;
  font-size: 0.95rem;
  font-weight: 500;
}

.topnav nav a:hover { color: var(--orange-light); text-decoration: none; }

/* ---- Hero ---- */

.hero {
  position: relative;
  background:
    radial-gradient(ellipse 70% 90% at 78% 12%, rgba(255, 153, 0, 0.20), transparent 60%),
    radial-gradient(ellipse 60% 80% at 65% 0%, rgba(108, 199, 255, 0.10), transparent 55%),
    linear-gradient(160deg, var(--navy-700) 0%, var(--navy-800) 55%, var(--navy-900) 100%);
  color: #fff;
  overflow: hidden;
}

.hero .wrap {
  padding: 72px 24px 96px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange-light);
  background: rgba(255, 153, 0, 0.12);
  border: 1px solid rgba(255, 153, 0, 0.3);
  border-radius: 999px;
  padding: 5px 14px;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: 3rem;
  line-height: 1.1;
  margin: 0 0 16px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.hero h1 .accent { color: var(--orange); }

/* Three stacked promises, each led by an orange check badge so the hero reads
   as a scannable list of what the extension does. */
.hero-h1-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero-h1-list .h1-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.hero-h1-list .h1-item::before {
  content: "✓";
  flex: none;
  width: 1.15em;
  height: 1.15em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6em;
  font-weight: 900;
  color: var(--navy-900);
  background: var(--orange);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(255, 153, 0, 0.18);
}

.hero p.lead {
  font-size: 1.2rem;
  color: #c9d6e3;
  max-width: 46ch;
  margin: 0 0 32px;
}

/* The opening questions sit tighter together than the closing paragraph, so
   they read as a pair of jabs rather than three equal blocks. */
.hero p.lead-ask {
  margin-bottom: 14px;
  color: #dbe6f0;
}

/* Emphasis marker. A real text-decoration underline reads as a hyperlink on
   the web, so mid-sentence emphasis uses a drawn accent rule instead: it
   registers as highlighting without inviting a click that goes nowhere. */
.mark {
  font-style: normal;
  font-weight: 700;
  color: #ffffff;
  background-image: linear-gradient(var(--orange), var(--orange));
  background-repeat: no-repeat;
  background-size: 100% 2px;
  background-position: 0 calc(100% - 1px);
  padding-bottom: 2px;
}

.hero p.lead .mark { color: #ffffff; }

.cta-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.98rem;
  padding: 13px 26px;
  border-radius: 10px;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--orange-light), var(--orange));
  color: var(--navy-900);
  box-shadow: 0 8px 24px rgba(255, 153, 0, 0.25);
}

.btn-primary:hover { box-shadow: 0 10px 28px rgba(255, 153, 0, 0.35); }

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.18);
}

.btn-secondary:hover { background: rgba(255, 255, 255, 0.12); }

.btn-ghost {
  color: #cfe3f5;
  border-color: rgba(255, 255, 255, 0.18);
  background: transparent;
}

.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); }

.cta-note {
  margin: 14px 0 0;
  font-size: 0.85rem;
  color: #8fa3b8;
}

.hero-art {
  position: relative;
}

.hero-art img {
  border-radius: 8px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
}

/* ---- Sections ---- */

section { padding: 80px 0; }

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

.section-head .kicker {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 10px;
}

.section-head h2 {
  font-size: 2rem;
  margin: 0 0 12px;
  color: var(--navy-800);
}

.section-head p { color: var(--muted); margin: 0; }

/* ---- Feature grid ---- */

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

.feature-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px;
}

.feature-card .icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--orange-light), var(--orange));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 1.3rem;
}

.feature-card h3 {
  margin: 0 0 8px;
  font-size: 1.08rem;
  color: var(--navy-800);
}

.feature-card p { margin: 0; color: var(--muted); font-size: 0.95rem; }

/* ---- User guide ---- */

.guide {
  background: #f9fbfc;
  border-top: 1px solid var(--border);
}

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

.guide-step {
  position: relative;
  min-height: 220px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(11, 18, 27, 0.04);
}

.guide-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--navy-800);
  color: var(--orange-light);
  font-weight: 800;
}

.guide-step h3 {
  margin: 0 0 8px;
  color: var(--navy-800);
  font-size: 1.08rem;
  line-height: 1.25;
}

.guide-step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* ---- Showcase (alternating screenshots) ---- */

.showcase { background: #fff; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.showcase-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 56px 0;
}

.showcase-row:not(:last-child) { border-bottom: 1px solid var(--border); }

.showcase-row.reverse .showcase-text { order: 1; }
.showcase-row.reverse .showcase-img { order: 2; }

.showcase-img-button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: zoom-in;
}

.showcase-img-button:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 6px;
}

.showcase-img-button img {
  border-radius: 10px;
  border: 1px solid var(--border);
  box-shadow: 0 12px 32px rgba(11, 18, 27, 0.08);
}

/* Click-to-enlarge screenshot preview. The 70vw width keeps detail readable
   on desktop while the max-height prevents a tall image from overflowing. */
.image-lightbox {
  width: min(70vw, 1200px);
  max-width: calc(100vw - 32px);
  max-height: 82vh;
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 14px;
  overflow: hidden;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.42);
}

.image-lightbox::backdrop {
  background: rgba(11, 18, 27, 0.82);
  backdrop-filter: blur(4px);
}

.image-lightbox-inner {
  display: flex;
  flex-direction: column;
  max-height: 82vh;
  padding: 14px;
}

.image-lightbox-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 2px 10px;
}

.image-lightbox-header h2 {
  margin: 0;
  color: var(--navy-800);
  font-size: 0.95rem;
  font-weight: 700;
}

.image-lightbox-close {
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--navy-800);
  background: var(--paper);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.image-lightbox-close:hover,
.image-lightbox-close:focus-visible {
  color: var(--navy-900);
  background: var(--orange-light);
}

#image-lightbox-image {
  width: auto;
  max-width: 100%;
  max-height: calc(82vh - 64px);
  margin: 0 auto;
  border-radius: 8px;
  object-fit: contain;
}

.showcase-img-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.showcase-img-placeholder {
  border-radius: 10px;
  border: 2px dashed var(--border);
  aspect-ratio: 16 / 10;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 0.9rem;
  background: rgba(0,0,0,0.02);
}

.showcase-text .step {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 10px;
}

.showcase-text h3 {
  font-size: 1.5rem;
  margin: 0 0 12px;
  color: var(--navy-800);
}

.showcase-text p { color: var(--muted); margin: 0; }

/* ---- Video ---- */

.video-section { text-align: center; }

.video-frame {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(11, 18, 27, 0.18);
  border: 1px solid var(--border);
  background: var(--navy-900);
}

.video-frame iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  display: block;
}

/* ---- Final CTA ---- */

.cta-band {
  background:
    radial-gradient(ellipse 70% 90% at 22% 88%, rgba(255, 153, 0, 0.18), transparent 60%),
    linear-gradient(160deg, var(--navy-700) 0%, var(--navy-900) 100%);
  color: #fff;
  text-align: center;
}

.cta-band h2 { margin: 0 0 12px; font-size: 2rem; }
.cta-band p { color: #c9d6e3; margin: 0 0 32px; }
.cta-band .cta-row { justify-content: center; }

/* ---- Footer ---- */

footer {
  background: var(--navy-900);
  color: #8fa3b8;
  padding: 40px 0;
  font-size: 0.9rem;
}

footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}

footer a { color: #cfe3f5; }
footer a:hover { color: var(--orange-light); }

.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }

/* ---- Responsive ---- */

@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; padding-top: 48px; padding-bottom: 56px; }
  .hero h1 { font-size: 2.3rem; }
  .features { grid-template-columns: 1fr; }
  .guide-grid { grid-template-columns: 1fr 1fr; }
  .showcase-row, .showcase-row.reverse { grid-template-columns: 1fr; gap: 24px; padding: 36px 0; }
  .showcase-row.reverse .showcase-text,
  .showcase-row.reverse .showcase-img { order: initial; }
  .topnav nav { gap: 14px; }
  .topnav nav a { font-size: 0.85rem; }
  section { padding: 56px 0; }
}

@media (max-width: 520px) {
  .topnav nav .hide-mobile { display: none; }
  .hero h1 { font-size: 1.9rem; }
  .hero p.lead { font-size: 1.05rem; }
  .guide-grid { grid-template-columns: 1fr; }
  .guide-step { min-height: auto; }
  .image-lightbox {
    width: calc(100vw - 20px);
    max-width: calc(100vw - 20px);
  }
  .image-lightbox-inner { padding: 10px; }
  #image-lightbox-image { max-height: calc(82vh - 56px); }
}
