@font-face {
  font-family: Geist;
  src: url(/fonts/GeistVF.woff2) format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: Geist Mono;
  src: url(/fonts/GeistMonoVF.woff2) format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

html, body {
  margin: 0;
  padding: 0;
  background: #0a0a0a;
}

body {
  --bg: #0a0a0a;
  --fg: #ededed;
  --fg-body: #b4b4b4;
  --fg-muted: #888;
  --border: #222;
  --accent: #fff;
  color: var(--fg);
  font-family: Geist, Inter, -apple-system, BlinkMacSystemFont, sans-serif;
  min-height: 100vh;
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  color-scheme: dark;
}

a { color: inherit; }

.page { background: var(--bg); min-height: 100vh; }

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #0a0a0acc;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.navInner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.02em;
  color: var(--fg);
  text-decoration: none;
}

.logoText {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.logo img {
  width: 24px;
  height: 24px;
  border-radius: 5px;
}

.navLinks {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
}

.navLink {
  color: var(--fg-muted);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.15s;
}

.navLink:hover { color: var(--fg); }

.navCta {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  background: var(--accent);
  color: var(--bg);
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}

.navCta:hover { opacity: 0.9; }

.lang {
  position: relative;
  flex: none;
}

.langBtn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 6px 10px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--fg-muted);
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.01em;
  cursor: pointer;
}

.langBtn:hover,
.langBtn:focus-visible,
.langBtn[aria-expanded="true"] {
  color: var(--fg);
  background: #141414;
  border-color: var(--border);
}

.langBtn:focus-visible {
  outline: 2px solid var(--fg);
  outline-offset: 2px;
}

.langIcon { width: 16px; height: 16px; flex: none; }

.langMenu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 200;
  margin: 0;
  padding: 6px;
  min-width: 188px;
  max-width: min(240px, calc(100vw - 32px));
  list-style: none;
  background: #111;
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: 0 12px 32px #00000080;
}

.langMenu[hidden] { display: none; }

.langItem,
.langItemOn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 10px;
  border-radius: 6px;
  color: var(--fg-body);
  text-decoration: none;
  font-size: 14px;
  font-weight: 450;
  white-space: nowrap;
}

.langItem:hover,
.langItem:focus-visible,
.langItemOn:hover,
.langItemOn:focus-visible {
  background: #1c1c1c;
  color: var(--fg);
  outline: none;
}

.langItemOn { color: var(--fg); }
.langCheck { width: 14px; height: 14px; flex: none; }

.content { position: relative; z-index: 1; }

.hero {
  position: relative;
  padding: 80px 0 120px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(120, 119, 198, 0.15), transparent),
    linear-gradient(#222 1px, transparent 1px),
    linear-gradient(90deg, #222 1px, transparent 1px);
  background-size: 100% 100%, 64px 64px, 64px 64px;
  pointer-events: none;
  z-index: 0;
  mask-image: linear-gradient(to bottom, black 0%, black 55%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 0%, black 55%, transparent 100%);
}

.heroInner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.heroText { position: relative; z-index: 1; max-width: 560px; }

.badge {
  display: inline-block;
  padding: 4px 12px;
  background: #ffffff0f;
  border: 1px solid #222;
  border-radius: 100px;
  font-size: 13px;
  color: #888;
  margin-bottom: 24px;
  font-family: Geist Mono, ui-monospace, monospace;
}

.headline {
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0 0 24px;
  color: #ededed;
}

.subhead {
  font-size: 18px;
  color: #b4b4b4;
  margin: 0 0 32px;
  line-height: 1.6;
  max-width: 65ch;
}

.buttons { display: flex; gap: 12px; flex-wrap: wrap; }

.btnPrimary,
.btnSecondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
}

.btnPrimary { background: #fff; color: #0a0a0a; }
.btnPrimary:hover { opacity: 0.9; }

.btnSecondary {
  background: transparent;
  color: #ededed;
  border: 1px solid #222;
}

.btnSecondary:hover {
  border-color: #444;
  background: #ffffff08;
}

.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 96px 24px;
  scroll-margin-top: 80px;
}

.sectionHeader { text-align: center; margin-bottom: 56px; }

.sectionTitle {
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  color: #ededed;
}

.sectionSub {
  font-size: 17px;
  color: #b4b4b4;
  line-height: 1.6;
  max-width: 65ch;
  margin: 0 auto;
}

.steps,
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: #222;
  border: 1px solid #222;
  border-radius: 12px;
  overflow: hidden;
}

.step,
.feature {
  background: #0a0a0a;
  padding: 40px 32px;
}

.stepNum {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: #ffffff0f;
  border-radius: 8px;
  font-family: Geist Mono, ui-monospace, monospace;
  font-size: 14px;
  color: #888;
  margin-bottom: 20px;
}

.stepTitle,
.featureTitle {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 12px;
  color: #ededed;
}

.featureTitle { font-size: 17px; }

.stepDesc,
.featureDesc {
  font-size: 15px;
  color: #b4b4b4;
  margin: 0;
  line-height: 1.6;
}

.docsPreview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.shot {
  margin: 0;
  position: relative;
  z-index: 1;
}

.shotLabel {
  font-size: 12px;
  color: #888;
  font-family: Geist Mono, ui-monospace, monospace;
  margin: 0 0 10px;
  letter-spacing: 0.01em;
}

.mock {
  background: #fafafa;
  border-radius: 12px;
  box-shadow: 0 0 0 1px #ffffff0d, 0 24px 64px #0006;
  color: #1a1a1a;
  width: 100%;
}

.adminMock { overflow: hidden; font-size: 13px; }

.adminChrome {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: #f1f1f1;
  border-bottom: 1px solid #e5e5e5;
  color: #616161;
  font-size: 12px;
}

.adminDots { display: flex; gap: 5px; }
.adminDots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d4d4d4;
}

.adminBody { padding: 20px 20px 24px; }
.adminField { margin: 0 0 14px; }

.adminLabel {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #737373;
  margin-bottom: 6px;
}

.adminInput {
  width: 100%;
  border: 1px solid #d4d4d4;
  border-radius: 8px;
  padding: 8px 10px;
  font: inherit;
  background: #fff;
  color: #1a1a1a;
}

.adminTableWrap {
  overflow-x: auto;
  border: 1px solid #d4d4d4;
  border-radius: 10px;
  margin: 8px 0 14px;
}

.adminTable {
  width: 100%;
  border-collapse: collapse;
  min-width: 16rem;
}

.adminTable th,
.adminTable td {
  border: 1px solid #e3e3e3;
  padding: 8px 10px;
  text-align: left;
  color: #1a1a1a;
}

.adminTable th {
  background: #f6f6f6;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.adminTable tr.popular td { background: #fff6e8; }

.adminChips { display: flex; flex-wrap: wrap; gap: 6px; }

.adminChip {
  display: inline-flex;
  align-items: center;
  border: 1px solid #d4d4d4;
  border-radius: 999px;
  padding: 3px 10px;
  background: #f7f7f7;
  font-size: 12px;
}

.storefrontMock { padding: 28px 24px; }
.storefrontVendor {
  font-size: 12px;
  color: #666;
  margin: 0 0 4px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.storefrontMock h3 {
  margin: 0 0 6px;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: #1a1a1a;
}

.storefrontPrice {
  font-size: 16px;
  font-weight: 650;
  margin: 0 0 4px;
}

.storefrontSave {
  font-size: 13px;
  color: #0a7a3e;
  margin: 0 0 16px;
  font-weight: 550;
}

.qtyBtns {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 16px;
}

.qtyBtn {
  flex: 1 1 56px;
  min-width: 56px;
  padding: 8px 10px;
  border: 1px solid #d4d4d4;
  border-radius: 8px;
  background: #fff;
  color: #1a1a1a;
  font: inherit;
  font-size: 14px;
  text-align: center;
}

.qtyBtn strong { display: block; font-size: 15px; }
.qtyBtn span { display: block; font-size: 11px; color: #666; }

.qtyBtn.on {
  background: #1a1a1a;
  color: #fff;
  border-color: #1a1a1a;
}

.qtyBtn.on span { color: #f2a541; }

.storefrontCart {
  display: block;
  width: 100%;
  padding: 10px 16px;
  background: #1a1a1a;
  color: #fff;
  border: 0;
  border-radius: 8px;
  font: inherit;
  font-weight: 500;
}

.tierTable {
  width: 100%;
  border-collapse: collapse;
  margin: 8px 0 0;
}

.tierTable th,
.tierTable td {
  border: 1px solid #d4d4d4;
  padding: 8px 10px;
  text-align: left;
  font-size: 13px;
  color: #1a1a1a;
}

.tierTable th {
  background: #f6f6f6;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.tierTable tr.popular td { background: #fff6e8; font-weight: 600; }

.popTag {
  display: inline-block;
  margin-left: 8px;
  padding: 1px 7px;
  border-radius: 999px;
  background: #f2a541;
  color: #1f3a5f;
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.cartMock { padding: 24px; }

.cartLine {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
  font-size: 14px;
}

.cartMsg {
  margin: 16px 0 0;
  padding: 12px 14px;
  background: #eef7f1;
  border: 1px solid #c6e4d2;
  border-radius: 8px;
  color: #0a5c30;
  font-size: 14px;
  font-weight: 550;
}

.statsMock { padding: 20px 20px 24px; }

.statsGrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 12px;
}

.stat {
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  padding: 12px;
  background: #fff;
}

.stat dt {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #737373;
  margin: 0 0 6px;
}

.stat dd {
  margin: 0;
  font-size: 22px;
  font-weight: 650;
  letter-spacing: -0.02em;
  color: #1a1a1a;
}

.note {
  max-width: 680px;
  margin: 0 auto;
  color: #b4b4b4;
  font-size: 17px;
  line-height: 1.6;
}

.note strong { color: #ededed; font-weight: 600; }

.pricingCard {
  max-width: 420px;
  margin: 0 auto;
  background: #0a0a0a;
  border: 1px solid #222;
  border-radius: 12px;
  padding: 48px 40px;
}

.pricingBadge {
  display: inline-block;
  padding: 4px 12px;
  background: #22c55e1a;
  border: 1px solid rgba(34, 197, 94, 0.2);
  border-radius: 100px;
  font-size: 13px;
  color: #22c55e;
  margin-bottom: 24px;
}

.pricingAmount {
  font-size: 48px;
  font-weight: 600;
  letter-spacing: -0.03em;
  margin: 0;
  color: #ededed;
}

.pricingPeriod {
  font-size: 17px;
  color: #b4b4b4;
  margin: 0 0 32px;
}

.pricingFeatures {
  list-style: none;
  padding: 0;
  margin: 0 0 36px;
}

.pricingFeatures li {
  padding: 10px 0;
  font-size: 15px;
  color: #b4b4b4;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  line-height: 1.5;
}

.pricingFeatures li::before {
  content: "✓";
  color: #22c55e;
  flex-shrink: 0;
}

.pricingCta {
  width: 100%;
  padding: 14px 24px;
  background: #fff;
  color: #0a0a0a;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  display: block;
  text-align: center;
}

.pricingCta:hover { opacity: 0.9; }

.faq { max-width: 680px; margin: 0 auto; }

.faqItem { border-bottom: 1px solid #222; }
.faqItem:first-child { border-top: 1px solid #222; }

.faqSummary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  font-size: 16px;
  font-weight: 500;
  color: #ededed;
  cursor: pointer;
  list-style: none;
  line-height: 1.4;
}

.faqSummary::-webkit-details-marker { display: none; }

.faqSummary::after {
  content: "+";
  font-size: 20px;
  color: #888;
  flex-shrink: 0;
  margin-left: 16px;
}

.faqItem[open] .faqSummary::after { content: "−"; }

.faqA {
  font-size: 15px;
  color: #b4b4b4;
  margin: 0;
  padding: 0 0 24px;
  line-height: 1.6;
}

.footer {
  border-top: 1px solid var(--border);
  padding: 48px 24px;
  text-align: center;
}

.footerLinks {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 16px;
}

.footerLink {
  color: var(--fg-muted);
  text-decoration: none;
  font-size: 14px;
}

.footerLink:hover { color: var(--fg); }

.footerCopy {
  font-size: 13px;
  color: var(--fg-muted);
  margin: 0;
}

.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: 40px 24px 64px;
}

.legal h1 {
  font-size: 28px;
  line-height: 1.25;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #ededed;
  margin: 0 0 8px;
}

.legal .updated {
  color: #888;
  font-size: 14px;
  margin: 0 0 24px;
}

.legal h2 {
  font-size: 20px;
  margin-top: 32px;
  font-weight: 600;
  color: #ededed;
}

.legal a { color: #60a5fa; }

.legal p,
.legal li { color: #b4b4b4; line-height: 1.6; }

.legal strong { color: #ededed; }

.legal code {
  background: #ffffff0f;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 14px;
  font-family: Geist Mono, ui-monospace, monospace;
}

.legal table {
  border-collapse: collapse;
  width: 100%;
  font-size: 14px;
  display: block;
  overflow-x: auto;
}

.legal th,
.legal td {
  border: 1px solid #222;
  padding: 8px 10px;
  text-align: left;
  vertical-align: top;
}

.legal th { background: #ffffff08; color: #ededed; }
.legal td { color: #b4b4b4; }
.legal ul, .legal ol { padding-left: 24px; }

.notfound {
  max-width: 640px;
  margin: 0 auto;
  padding: 96px 24px;
  text-align: center;
}

.notfound h1 { font-size: 32px; letter-spacing: -0.02em; }
.notfound p { color: #b4b4b4; }
.notfound ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}
.notfound a { color: #ededed; }

@media (max-width: 900px) {
  .navLinks { display: none; }
  .langBtn { min-height: 40px; padding: 8px 12px; }
  .hero { padding: 48px 0 80px; }
  .heroInner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .steps,
  .features,
  .docsPreview,
  .statsGrid { grid-template-columns: 1fr; }
  .section { padding: 72px 24px; }
}

@media (max-width: 480px) {
  .headline { font-size: 32px; }
  .logo { font-size: 15px; }
  .buttons { flex-direction: column; }
  .btnPrimary,
  .btnSecondary { justify-content: center; }
  .step,
  .feature,
  .pricingCard { padding: 32px 24px; }
  .storefrontMock,
  .cartMock,
  .adminBody,
  .statsMock { padding: 20px; }
}

/* Gift Options: text-only hero until real screenshots from the installed app are added */
.heroInner { grid-template-columns: 1fr; text-align: center; }
.heroText { max-width: 760px; margin: 0 auto; }
.heroText .buttons { justify-content: center; }

.realShots { max-width: 1200px; margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.realShot { margin: 0; border: 1px solid #2a2a30; border-radius: 10px; overflow: hidden; background: #111; }
.realShot img { display: block; width: 100%; height: auto; }
.realShot figcaption { padding: 10px 14px; font-size: 14px; color: #a1a1aa; border-top: 1px solid #2a2a30; }
@media (max-width: 860px) { .realShots { grid-template-columns: 1fr; } }
