:root {
  --bg: #05060a;
  --bg-elevated: #0a0c12;
  --surface: #0f1219;
  --surface-2: #151a24;
  --border: #252d3d;
  --text: #eef1f8;
  --muted: #8b95ab;
  --accent: #5eead4;
  --accent-dim: rgba(94, 234, 212, 0.15);
  --accent-glow: rgba(94, 234, 212, 0.45);
  --danger: #f87171;
  --container: min(1160px, calc(100% - 2rem));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: system-ui, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  background:
    radial-gradient(ellipse 100% 80% at 50% -30%, rgba(94, 234, 212, 0.08), transparent 55%),
    radial-gradient(900px 500px at 12% 0%, #1a2438 0%, var(--bg) 50%),
    var(--bg);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
body.nav-open { overflow: hidden; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ——— Header ——— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border);
  background: rgba(5, 6, 10, 0.88);
  backdrop-filter: blur(12px);
}
.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0.65rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.logo {
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  color: var(--text);
  text-decoration: none;
}
.logo:hover { opacity: 0.92; text-decoration: none; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  background: var(--surface);
  cursor: pointer;
}
.nav-toggle-bar {
  display: block;
  width: 1.25rem;
  height: 2px;
  margin: 0 auto;
  background: var(--text);
  border-radius: 1px;
  transition: transform 0.2s, opacity 0.2s;
}

.header-nav-wrap {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex: 1;
  justify-content: flex-end;
}
.nav-anchor {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 1.25rem;
}
.nav-anchor a {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
}
.nav-anchor a:hover { color: var(--text); }
.nav-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
}
.nav-text {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
}
.nav-text:hover { color: var(--text); text-decoration: none; }
.nav-user {
  color: var(--text);
  font-size: 0.85rem;
  font-weight: 600;
}
.btn-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent) 0%, #2dd4bf 100%);
  color: #04120f !important;
  padding: 0.5rem 1.15rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.875rem;
  text-decoration: none !important;
  box-shadow: 0 0 20px var(--accent-dim);
  transition: transform 0.15s, box-shadow 0.2s;
}
.btn-nav:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 28px var(--accent-glow);
  text-decoration: none !important;
}

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .header-nav-wrap {
    position: fixed;
    inset: 0 0 0 0;
    top: 3.6rem;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 1.25rem 1.5rem 2rem;
    background: rgba(5, 6, 10, 0.97);
    border-bottom: 1px solid var(--border);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s ease, opacity 0.2s ease;
    overflow-y: auto;
  }
  .header-nav-wrap.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-anchor {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
  }
  .nav-anchor a { font-size: 1.05rem; }
  .nav-actions {
    flex-direction: column;
    align-items: stretch;
    padding-top: 1rem;
    gap: 0.75rem;
  }
  .btn-nav { justify-content: center; }
}

/* ——— Main layout (inner pages) ——— */
.site-main {
  flex: 1;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 2rem 1rem 3rem;
}

.landing { width: 100%; }
.inner {
  width: var(--container);
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}
.landing .container {
  width: var(--container);
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}
.container--narrow { max-width: 640px; margin-left: auto; margin-right: auto; }

/* ——— Hero ——— */
.hero-landing {
  padding: clamp(2.5rem, 6vw, 5rem) 1rem clamp(3rem, 8vw, 6rem);
  position: relative;
  overflow: hidden;
}
.hero-landing::before {
  content: "";
  position: absolute;
  inset: -20% 20% auto -20%;
  height: 70%;
  background: radial-gradient(ellipse at center, rgba(94, 234, 212, 0.12), transparent 70%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; gap: 3rem; }
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent);
  margin: 0 0 0.75rem;
}
.hero-copy h1 {
  font-size: clamp(1.85rem, 4.5vw, 2.85rem);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 0.4rem;
}
.hero-deck {
  font-size: clamp(1rem, 2.4vw, 1.35rem);
  font-weight: 600;
  line-height: 1.35;
  color: var(--accent);
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}
.hero-sub {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--muted);
  margin: 0 0 1.75rem;
  max-width: 34rem;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  margin-bottom: 1rem;
}
.hero-note {
  font-size: 0.8rem;
  color: var(--muted);
  margin: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  text-decoration: none !important;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
}
.btn-lg { padding: 0.95rem 2rem; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-primary-glow {
  background: linear-gradient(135deg, var(--accent) 0%, #2dd4bf 100%);
  color: #04120f;
  box-shadow: 0 0 24px var(--accent-dim), 0 4px 20px rgba(0, 0, 0, 0.35);
}
.btn-primary-glow:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 36px var(--accent-glow), 0 8px 28px rgba(0, 0, 0, 0.4);
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-dim);
}
.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 1px solid rgba(94, 234, 212, 0.45);
}
.btn-outline:hover {
  background: var(--accent-dim);
  border-color: var(--accent);
}

/* Pen visual */
.hero-visual { display: flex; justify-content: center; }
.pen-card {
  position: relative;
  width: min(100%, 320px);
  aspect-ratio: 3 / 4;
  border-radius: 1.25rem;
  background: linear-gradient(165deg, var(--surface-2) 0%, var(--bg) 100%);
  border: 1px solid var(--border);
  box-shadow:
    0 0 0 1px rgba(94, 234, 212, 0.06),
    0 24px 60px rgba(0, 0, 0, 0.5),
    0 0 80px rgba(94, 234, 212, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}
.pen-glow {
  position: absolute;
  inset: 15%;
  background: radial-gradient(circle, rgba(94, 234, 212, 0.2), transparent 65%);
  filter: blur(20px);
  pointer-events: none;
}
.pen-body {
  position: relative;
  width: 56px;
  height: 200px;
  background: linear-gradient(90deg, #1e2433 0%, #2a3145 40%, #1a1f2e 100%);
  border-radius: 4px 4px 10px 10px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.pen-body--large {
  width: 72px;
  height: 240px;
}
.pen-tip {
  width: 10px;
  height: 22px;
  margin-top: -10px;
  background: linear-gradient(180deg, #c0c8d8, #6b7280);
  border-radius: 2px 2px 0 0;
}
.pen-grip {
  width: 100%;
  height: 48px;
  margin-top: 8px;
  background: repeating-linear-gradient(
    180deg,
    transparent,
    transparent 3px,
    rgba(255, 255, 255, 0.04) 3px,
    rgba(255, 255, 255, 0.04) 5px
  );
}
.pen-display {
  width: 42px;
  height: 72px;
  margin: 10px 0;
  background: linear-gradient(180deg, #0d1118 0%, #151b26 100%);
  border-radius: 4px;
  border: 1px solid rgba(94, 234, 212, 0.25);
  box-shadow: 0 0 20px rgba(94, 234, 212, 0.12) inset;
}
.pen-body--large .pen-display { width: 52px; height: 88px; }
.pen-label {
  position: absolute;
  bottom: 14px;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--accent);
  opacity: 0.9;
}

.pen-photo {
  position: relative;
  z-index: 1;
  display: block;
  width: auto;
  max-width: min(88%, 240px);
  height: auto;
  max-height: min(52vw, 240px);
  object-fit: contain;
  filter: drop-shadow(0 18px 36px rgba(0, 0, 0, 0.55));
}
.pen-photo--showcase {
  max-width: min(100%, 280px);
  max-height: min(48vh, 300px);
}

/* Trust */
.trust-strip {
  border-block: 1px solid var(--border);
  background: rgba(15, 18, 25, 0.6);
  padding: 1.25rem 1rem;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem 1rem;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
}
@media (min-width: 640px) {
  .trust-grid { grid-template-columns: repeat(4, 1fr); }
}
.trust-item {
  padding: 0.5rem;
  border-radius: 0.5rem;
}
.trust-icon { color: var(--accent); margin-right: 0.25rem; }

/* Sections */
.section-block {
  padding: clamp(3rem, 6vw, 5rem) 1rem;
}
.section-alt {
  background: rgba(15, 18, 25, 0.45);
  border-block: 1px solid var(--border);
}
.section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
}
.section-title.center { text-align: center; }
.section-lead {
  color: var(--muted);
  line-height: 1.65;
  margin: 0 0 2rem;
  max-width: 42rem;
}
.section-lead.center { text-align: center; margin-left: auto; margin-right: auto; }
.center { text-align: center; }

/* Showcase */
.showcase {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}
@media (min-width: 880px) {
  .showcase { grid-template-columns: 1fr 1fr; align-items: center; }
}
.showcase-frame {
  border-radius: 1.25rem;
  padding: 1px;
  background: linear-gradient(145deg, rgba(94, 234, 212, 0.35), transparent 40%, var(--border));
}
.showcase-placeholder {
  border-radius: 1.2rem;
  background: var(--surface);
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.price-block {
  margin: 1.25rem 0 1.5rem;
}
.price-tag {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text);
}
.price-hint {
  display: block;
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 0.35rem;
}
.showcase-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.qty-label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.85rem;
  color: var(--muted);
}
.qty-input {
  max-width: 120px;
  padding: 0.65rem 0.85rem;
  border-radius: 0.5rem;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font: inherit;
}
.chat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* Features */
.feature-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 600px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .feature-grid { grid-template-columns: repeat(3, 1fr); }
}
.feature-card {
  padding: 1.35rem 1.25rem;
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: var(--surface);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.feature-card:hover {
  border-color: rgba(94, 234, 212, 0.35);
  box-shadow: 0 0 28px rgba(94, 234, 212, 0.08);
  transform: translateY(-2px);
}
.feature-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 700;
}
.feature-grid--checks .feature-card h3:only-child {
  margin-bottom: 0;
}
.feature-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.55;
}
.feature-grid--checks .feature-card--wide {
  grid-column: 1 / -1;
}
@media (min-width: 960px) {
  .feature-grid--checks .feature-card--wide {
    max-width: 33.333%;
    margin-inline: auto;
  }
}

.product-bullets {
  margin: 0.5rem 0 0;
  padding-left: 1.25rem;
  color: var(--muted);
  line-height: 1.65;
  font-size: 0.95rem;
}
.product-bullets li + li {
  margin-top: 0.35rem;
}
.product-bullets--center {
  list-style-position: inside;
  padding-left: 0;
  text-align: center;
  max-width: 28rem;
  margin-left: auto;
  margin-right: auto;
}
.product-bullets--center li {
  text-align: center;
}

.section-rule {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2rem auto 1.25rem;
  max-width: 12rem;
}
.premium-footer-line {
  margin: 0;
  font-size: 1.1rem;
}
.premium-footer-tag {
  margin: 0.35rem 0 0;
  font-size: 0.95rem;
}

/* How it works (product doc) */
.section-how {
  background: linear-gradient(180deg, rgba(10, 14, 22, 0.5) 0%, rgba(5, 6, 10, 0.35) 100%);
  border-block: 1px solid var(--border);
}
.how-doc {
  max-width: 46rem;
  margin-left: auto;
  margin-right: auto;
}
.how-doc-intro {
  margin-bottom: 2.25rem;
}
.how-doc-intro .section-title {
  margin-bottom: 0.5rem;
}
.how-doc-title {
  font-size: clamp(1.05rem, 2.4vw, 1.35rem);
  font-weight: 700;
  color: var(--text);
  margin: 0.35rem 0 1.25rem;
  letter-spacing: -0.02em;
}
.how-doc-intro .section-lead {
  margin-bottom: 1rem;
  max-width: 40rem;
}
.how-doc-intro .section-lead:last-child {
  margin-bottom: 0;
}
  margin-bottom: 1.35rem;
  padding: 1.35rem 1.35rem 1.45rem;
  border-radius: 1.05rem;
  border: 1px solid var(--border);
  background: linear-gradient(165deg, var(--surface) 0%, rgba(12, 15, 22, 0.92) 100%);
  text-align: left;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.28);
}
.how-doc-panel--features {
  padding-bottom: 1.35rem;
}
.how-doc-panel--features .feature-grid--how-premium {
  margin-top: 0.25rem;
}
.how-doc-panel--features .feature-card {
  padding: 1rem 0.95rem;
}
.how-doc-panel--features .feature-card h3 {
  font-size: 0.92rem;
  line-height: 1.35;
}

.how-doc-h2 {
  font-size: 1.15rem;
  font-weight: 800;
  margin: 0 0 0.85rem;
  color: var(--text);
  letter-spacing: -0.02em;
}
.how-doc-h2--bar {
  text-align: center;
  padding-bottom: 0.85rem;
  margin-bottom: 1.1rem;
  border-bottom: 1px solid rgba(94, 234, 212, 0.2);
  position: relative;
}
.how-doc-h2--bar::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -1px;
  transform: translateX(-50%);
  width: 3.5rem;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.how-doc-subpanel {
  padding: 1.05rem 1.15rem 1.1rem;
  border-radius: 0.75rem;
  background: var(--bg-elevated);
  border: 1px solid rgba(37, 45, 61, 0.9);
}
.how-doc-divider + .how-doc-subpanel {
  margin-top: 0;
}
.how-doc-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 1.15rem 0;
  opacity: 0.85;
}

.how-doc-h3 {
  font-size: 0.98rem;
  font-weight: 700;
  margin: 0 0 0.55rem;
  color: var(--accent);
  letter-spacing: -0.01em;
}
.how-doc-subpanel .how-doc-h3 {
  margin-top: 0;
}
.how-doc-h3 + .how-doc-p {
  margin-top: 0;
}

.how-doc-p {
  margin: 0 0 0.65rem;
  color: var(--muted);
  line-height: 1.72;
  font-size: 0.97rem;
}
.how-doc-p--tight {
  margin-bottom: 0;
  margin-top: 0.5rem;
  font-size: 0.92rem;
  line-height: 1.68;
}
.how-doc-p--solo {
  margin-bottom: 0;
}
.how-doc-label {
  color: var(--text);
  font-weight: 600;
}

.how-doc-bullets {
  margin: 0.2rem 0 0.15rem;
  padding: 0.15rem 0 0.15rem 1.2rem;
  color: var(--muted);
  line-height: 1.72;
  font-size: 0.95rem;
}
.how-doc-bullets li {
  padding-left: 0.15rem;
}
.how-doc-bullets li + li {
  margin-top: 0.45rem;
}

.how-doc-outro {
  margin-top: 2rem;
  padding-top: 0.25rem;
}
.how-doc-outro .section-rule {
  margin-top: 0;
  margin-bottom: 1.35rem;
}

/* Steps */
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1rem;
  counter-reset: step;
}
@media (min-width: 800px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
}
.step-card {
  position: relative;
  padding: 1.5rem 1.25rem 1.25rem;
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: linear-gradient(160deg, var(--surface) 0%, var(--bg-elevated) 100%);
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--accent-dim);
  color: var(--accent);
  font-weight: 800;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
  border: 1px solid rgba(94, 234, 212, 0.35);
}
.step-card h3 { margin: 0 0 0.5rem; font-size: 1.1rem; }
.step-card p { margin: 0; color: var(--muted); font-size: 0.9rem; line-height: 1.55; }

/* Gallery — компактни миниатюри; пълен файл се отваря с клик (нов раздел) */
.gallery-grid {
  display: grid;
  gap: 0.65rem;
  justify-content: center;
  grid-template-columns: repeat(2, minmax(0, min(44vw, 168px)));
}
@media (min-width: 640px) {
  .gallery-grid {
    grid-template-columns: repeat(4, minmax(0, 148px));
  }
}
@media (min-width: 900px) {
  .gallery-grid {
    grid-template-columns: repeat(4, minmax(0, 158px));
  }
}
.gallery-card {
  aspect-ratio: 1 / 1;
  width: 100%;
  max-width: 168px;
  margin-left: auto;
  margin-right: auto;
  border-radius: 0.75rem;
  border: 1px solid rgba(94, 234, 212, 0.25);
  background:
    linear-gradient(145deg, rgba(94, 234, 212, 0.06), transparent),
    var(--surface);
  box-shadow: 0 0 20px rgba(94, 234, 212, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 600;
  transition: transform 0.2s, box-shadow 0.2s;
}
.gallery-card:hover {
  transform: scale(1.03);
  box-shadow: 0 0 28px rgba(94, 234, 212, 0.14);
}
a.gallery-card--photo {
  text-decoration: none;
  color: inherit;
  padding: 0;
  overflow: hidden;
  cursor: zoom-in;
}
a.gallery-card--photo:hover {
  text-decoration: none;
}
.gallery-card--photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Reviews */
.reviews-grid {
  display: grid;
  gap: 1rem;
}
@media (min-width: 800px) {
  .reviews-grid { grid-template-columns: repeat(3, 1fr); }
}
.review-card {
  margin: 0;
  padding: 1.35rem;
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: var(--surface);
}
.review-card p {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text);
  font-style: normal;
}
.review-card footer {
  font-size: 0.8rem;
  color: var(--muted);
}

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 0.5rem; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  background: var(--surface);
  padding: 0 1rem;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  padding: 1rem 0;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  float: right;
  color: var(--accent);
  font-weight: 800;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item p {
  margin: 0 0 1rem;
  padding-top: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Final CTA */
.final-cta {
  padding: clamp(3rem, 8vw, 5rem) 1rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 100%, rgba(94, 234, 212, 0.14), transparent 55%);
  pointer-events: none;
}
.final-cta-inner {
  position: relative;
}
.final-cta h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.25rem);
  font-weight: 800;
  margin: 0 0 0.75rem;
}
.final-cta p {
  color: var(--muted);
  max-width: 28rem;
  margin: 0 auto 1.5rem;
  line-height: 1.6;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  background: rgba(8, 10, 15, 0.95);
  padding: 2.5rem 0 1rem;
  margin-top: auto;
}
.footer-grid {
  display: grid;
  gap: 2rem;
}
@media (min-width: 640px) {
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; }
}
.footer-brand { font-size: 1.1rem; }
.footer-heading {
  margin: 0 0 0.5rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li { margin-bottom: 0.4rem; }
.footer-links a { color: var(--text); font-size: 0.9rem; }
.footer-links a:hover { color: var(--accent); }
.copy {
  text-align: center;
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

/* Legal stub */
.legal-page { padding-bottom: 3rem; }
.legal-page h1 { margin-top: 0; }

/* Общи условия / правни страници — спокойна типография */
.legal-doc__header {
  margin-bottom: 2.25rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}
.legal-doc__header h1 {
  font-size: clamp(1.65rem, 3.5vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin: 0 0 0.65rem;
}
.legal-doc__lead {
  margin: 0;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--muted);
  max-width: 36rem;
}
.legal-doc__lead a {
  color: var(--accent);
  font-weight: 500;
}
.legal-doc__article {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.legal-section {
  padding: 1.35rem 0 1.35rem 1rem;
  margin-left: 0;
  border-left: 2px solid rgba(94, 234, 212, 0.2);
}
@media (min-width: 520px) {
  .legal-section {
    padding-left: 1.25rem;
  }
}
.legal-section__h {
  display: flex;
  align-items: baseline;
  gap: 0.65rem;
  margin: 0 0 0.85rem;
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1.35;
}
.legal-section__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.85rem;
  height: 1.85rem;
  padding: 0 0.35rem;
  border-radius: 0.45rem;
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(94, 234, 212, 0.22);
  flex-shrink: 0;
}
.legal-section__body {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.72;
}
.legal-section__body p {
  margin: 0 0 0.85rem;
}
.legal-section__body p:last-child {
  margin-bottom: 0;
}
.legal-section__body a {
  color: var(--accent);
  font-weight: 500;
}
.legal-list {
  margin: 0.35rem 0 0;
  padding-left: 1.15rem;
  color: var(--muted);
}
.legal-list li {
  margin-bottom: 0.4rem;
  padding-left: 0.25rem;
}
.legal-list li:last-child {
  margin-bottom: 0;
}
.legal-contact-line {
  margin: 0.5rem 0 0;
  line-height: 1.65;
}
.legal-doc__back {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.95rem;
}

/* Inner pages: cards, forms */
.muted { color: var(--muted); font-size: 0.9rem; margin: 0.35rem 0 0; }
.btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent) 0%, #2dd4bf 100%);
  color: #04120f;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  text-decoration: none !important;
  box-shadow: 0 0 20px var(--accent-dim);
}
.btn-primary:hover { filter: brightness(1.08); text-decoration: none !important; }

.card {
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.5rem;
  background: rgba(15, 18, 25, 0.6);
  margin-top: 1.5rem;
}
.card h2 { margin-top: 0; font-size: 1.1rem; }

ul.features { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.75rem; }
ul.features li {
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  color: var(--muted);
  font-size: 0.95rem;
}
ul.features li::before { content: "✓ "; color: var(--accent); }

form.order-form label { display: block; margin-bottom: 1rem; font-size: 0.9rem; }
form.order-form span.label { display: block; color: var(--muted); margin-bottom: 0.35rem; }
form.order-form input[type="text"],
form.order-form input[type="email"],
form.order-form input[type="tel"],
form.order-form input[type="number"],
form.order-form textarea,
form.order-form select {
  width: 100%;
  max-width: 100%;
  padding: 0.65rem 0.85rem;
  border-radius: 0.5rem;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font: inherit;
}
form.order-form fieldset { border: 1px solid var(--border); border-radius: 0.75rem; padding: 1rem; margin: 0 0 1rem; }
form.order-form legend { padding: 0 0.5rem; color: var(--muted); font-size: 0.85rem; }
.row { display: grid; gap: 1rem; }
@media (min-width: 640px) {
  .row.cols-2 { grid-template-columns: 1fr 1fr; }
}

.alert { padding: 0.75rem 1rem; border-radius: 0.5rem; margin-bottom: 1rem; }
.alert-error { background: rgba(248, 113, 113, 0.12); border: 1px solid rgba(248, 113, 113, 0.35); color: #fecaca; }
.alert-ok { background: rgba(94, 234, 212, 0.1); border: 1px solid rgba(94, 234, 212, 0.3); }

/* Checkout — Stripe embed */
.checkout-stripe-title { font-size: 1.25rem; letter-spacing: -0.02em; }
.checkout-stripe-lead {
  margin: 0 0 0.35rem;
  color: var(--text);
  line-height: 1.6;
  font-size: 0.98rem;
}
.checkout-stripe-note {
  margin: 0 0 1.1rem;
  font-size: 0.88rem;
}
/* Stripe Embedded Checkout: mount target must have zero children — loading is sibling overlay */
.checkout-embed-shell {
  position: relative;
  margin-top: 0.25rem;
  min-height: 420px;
  border-radius: 0.75rem;
  border: 1px dashed rgba(94, 234, 212, 0.22);
  background: rgba(5, 8, 14, 0.35);
}
.checkout-embed-mount {
  min-height: 420px;
}
.checkout-embed-loading {
  position: absolute;
  inset: 0;
  z-index: 1;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem;
  pointer-events: none;
  animation: checkout-pulse 1.1s ease-in-out infinite;
}
@keyframes checkout-pulse {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 1; }
}
.checkout-stripe-help {
  margin-top: 1.1rem;
  margin-bottom: 0;
  font-size: 0.82rem;
  line-height: 1.5;
}

.success-box { text-align: center; padding: 3rem 1rem; }
.success-box code { display: inline-block; margin-top: 1rem; padding: 0.5rem 1rem; background: var(--surface); border-radius: 0.5rem; border: 1px solid var(--border); color: var(--accent); }

.table-wrap { overflow-x: auto; margin-top: 0.5rem; }
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}
.data-table th,
.data-table td {
  border: 1px solid var(--border);
  padding: 0.5rem 0.65rem;
  text-align: left;
}
.data-table th {
  background: var(--surface-2);
  color: var(--muted);
  font-weight: 600;
}
.data-table tbody tr:nth-child(even) { background: rgba(16, 19, 28, 0.35); }

/* Landing: full-width feel — main without max constraint when landing only */
body:has(.landing) .site-main {
  max-width: none;
  padding-left: 0;
  padding-right: 0;
  margin: 0;
}

/* Статуси на поръчки */
.status-pill {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--muted);
}
.status-pill--received { border-color: rgba(94, 234, 212, 0.35); color: var(--accent); }
.status-pill--processing { border-color: rgba(250, 204, 21, 0.4); color: #fcd34d; }
.status-pill--shipped { border-color: rgba(96, 165, 250, 0.45); color: #93c5fd; }
.status-pill--delivered { border-color: rgba(52, 211, 153, 0.45); color: #6ee7b7; }

.admin-status-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
}
.admin-status-form select {
  padding: 0.35rem 0.5rem;
  border-radius: 0.4rem;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font: inherit;
  max-width: 11rem;
}
.btn-sm {
  font-size: 0.8rem;
  padding: 0.35rem 0.65rem;
  border-radius: 0.45rem;
}

.track-card { max-width: 560px; }
.track-steps-title { font-size: 1rem; margin: 1.5rem 0 0.75rem; }
.track-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.track-step {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.5rem 0.65rem;
  border-radius: 0.5rem;
  border: 1px solid var(--border);
  color: var(--muted);
}
.track-step.is-done { border-color: rgba(94, 234, 212, 0.25); color: var(--text); }
.track-step.is-current {
  border-color: rgba(94, 234, 212, 0.55);
  box-shadow: 0 0 0 1px rgba(94, 234, 212, 0.12);
}
.track-step-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
  flex-shrink: 0;
}
.track-step.is-done .track-step-dot { background: var(--accent); }
.track-step.is-current .track-step-dot {
  box-shadow: 0 0 0 3px rgba(94, 234, 212, 0.25);
}
.track-token-form input[type="text"] {
  width: 100%;
  max-width: 100%;
  font-family: ui-monospace, monospace;
  font-size: 0.8rem;
}

/* YouTube embed */
.video-embed-wrap {
  position: relative;
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
  border-radius: 1.15rem;
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 16 / 9;
  background: #0a0a0c;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}
.video-embed-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
