/* Плевен над всичко — професионална тъмна тема */
:root {
  --font: "Source Sans 3", "Segoe UI", system-ui, -apple-system, sans-serif;
  --bg-deep: #090b10;
  --bg: #0f1419;
  --bg-elevated: #151b24;
  --bg-card: rgba(255, 255, 255, 0.035);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.12);
  --text: #f1f5f9;
  --text-secondary: rgba(241, 245, 249, 0.78);
  --text-muted: rgba(241, 245, 249, 0.58);
  --text-faint: rgba(241, 245, 249, 0.42);
  --accent: #3b82f6;
  --accent-soft: rgba(59, 130, 246, 0.14);
  --accent-glow: rgba(59, 130, 246, 0.22);
  --gold: #d4a853;
  --gold-soft: rgba(212, 168, 83, 0.18);
  --danger: #dc2626;
  --danger-hover: #b91c1c;
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.45);
  --ring: 0 0 0 3px rgba(59, 130, 246, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg-deep);
  background-image: radial-gradient(ellipse 100% 80% at 50% -30%, rgba(30, 58, 138, 0.22), transparent 55%),
    linear-gradient(180deg, var(--bg-deep) 0%, var(--bg) 35%, #0c1018 100%);
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: rgba(59, 130, 246, 0.35);
  color: #fff;
}

a {
  color: #93c5fd;
  text-decoration: none;
  transition: color 0.15s ease;
}
a:hover {
  color: #bfdbfe;
}
a:focus {
  outline: none;
}
a:focus-visible {
  border-radius: 4px;
  box-shadow: var(--ring);
}

/* Фон — едва забележима текстура, без „светлинни лъчи“ */
.hero-beams {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.35;
  background-image: radial-gradient(circle at 20% 20%, rgba(59, 130, 246, 0.06) 0%, transparent 40%),
    radial-gradient(circle at 80% 10%, rgba(212, 168, 83, 0.04) 0%, transparent 35%);
}

.hero-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.45;
  background: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(59, 130, 246, 0.12), transparent 60%);
}

.wrap {
  max-width: 68rem;
  margin: 0 auto;
  padding: 0 1.25rem;
  position: relative;
}

@media (min-width: 768px) {
  .wrap {
    padding: 0 1.75rem;
  }
}

/* ——— Header ——— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--border);
  background: rgba(9, 11, 16, 0.82);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3.5rem;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.brand:hover {
  color: #fff;
}

.brand__mark {
  width: 2rem;
  height: 2rem;
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(59, 130, 246, 0.35), rgba(212, 168, 83, 0.25));
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-sm);
}

.site-tag {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
}

@media (max-width: 480px) {
  .site-tag {
    font-size: 0.65rem;
    letter-spacing: 0.05em;
  }
}

/* ——— Най-отгоре: слоган + hero (hero.jpg с приоритет) ——— */
.hero-top {
  position: relative;
  padding: 1.25rem 0 1.35rem;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, #0b1220 0%, var(--bg-deep) 100%);
}

@media (min-width: 768px) {
  .hero-top {
    padding: 1.5rem 0 1.65rem;
  }
}

.hero-top__glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.55;
  background: radial-gradient(ellipse 85% 70% at 50% 0%, rgba(59, 130, 246, 0.16), transparent 55%);
}

.hero-top__inner {
  position: relative;
  z-index: 1;
}

.hero-top__title {
  margin: 0 auto 1.1rem;
  font-family: var(--font);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  font-size: 1.7rem;
  max-width: 22ch;
  color: var(--text);
}

@media (min-width: 480px) {
  .hero-top__title {
    font-size: 1.95rem;
    max-width: none;
  }
}

@media (min-width: 768px) {
  .hero-top__title {
    font-size: 2.45rem;
    margin-bottom: 1.35rem;
  }
}

@media (min-width: 1024px) {
  .hero-top__title {
    font-size: 2.75rem;
  }
}

.hero-top__media {
  max-width: 58rem;
  margin: 0 auto;
}

.hero-top__missing {
  margin: 0;
  padding: 2.25rem 1.25rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.55;
  background: var(--bg-elevated);
}

.hero-top__missing code {
  padding: 0.12rem 0.4rem;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  font-size: 0.88em;
  color: var(--gold);
}

.hero-frame--top {
  margin-top: 0;
}

/* ——— Основно съдържание под header ——— */
.section {
  padding: 1.75rem 0 3.5rem;
}

@media (min-width: 768px) {
  .section {
    padding: 2.25rem 0 4.5rem;
  }
}

.eyebrow {
  display: inline-block;
  margin-top: 0.25rem;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.gold-line {
  display: block;
  margin-top: 0.4rem;
  color: var(--gold);
  font-weight: 800;
}

.lead {
  margin: 1.5rem auto 0;
  max-width: 40rem;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text-secondary);
}

@media (min-width: 768px) {
  .lead {
    font-size: 1.125rem;
  }
}

.lead strong {
  color: var(--text);
  font-weight: 700;
}

.promise-panel {
  margin: 1.75rem auto 0;
  max-width: 40rem;
  padding: 1.25rem 1.35rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  box-shadow: var(--shadow-md);
  text-align: left;
}

.promise-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.promise-list li {
  margin: 0 0 1rem;
  padding-left: 1rem;
  border-left: 2px solid var(--gold);
  font-size: 0.9875rem;
  line-height: 1.65;
  color: var(--text-secondary);
}

.promise-list li:last-child {
  margin-bottom: 0;
}

.promise-list strong {
  color: var(--text);
  font-weight: 700;
}

.muted {
  margin: 2rem auto 0;
  max-width: 40rem;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--text-muted);
}

@media (min-width: 768px) {
  .muted {
    font-size: 1.0625rem;
  }
}

.text-center {
  text-align: center;
}

/* ——— Hero image ——— */
.hero-card {
  margin: 2.25rem auto 0;
  max-width: 52rem;
  position: relative;
}

.hero-glow-box {
  position: absolute;
  inset: -1rem;
  border-radius: var(--radius-lg);
  opacity: 0.35;
  filter: blur(40px);
  background: radial-gradient(ellipse at 50% 40%, var(--accent-glow), transparent 65%);
  pointer-events: none;
}

.hero-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-strong);
  background: linear-gradient(180deg, var(--bg-elevated) 0%, var(--bg-deep) 100%);
  box-shadow: var(--shadow-lg);
}

.hero-frame-inner {
  position: relative;
  width: 100%;
  padding-bottom: 72%;
  height: 0;
}

.hero-frame-inner img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.hero-frame-inner--top {
  padding-bottom: 52%;
}

@media (min-width: 768px) {
  .hero-frame-inner--top {
    padding-bottom: 48%;
  }
}

.hero-fallback {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.5rem;
  background: var(--bg-elevated);
}

.hero-fallback h2 {
  margin: 0;
  font-family: var(--font);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.hero-fallback p {
  margin: 1rem 0 0;
  max-width: 24rem;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.hero-fallback code {
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  font-size: 0.85em;
  color: var(--gold);
}

/* ——— Form ——— */
.glass {
  margin: 2.75rem auto 0;
  max-width: 30rem;
  padding: 1.5rem 1.5rem 1.6rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-strong);
  background: var(--bg-elevated);
  box-shadow: var(--shadow-md);
}

@media (min-width: 768px) {
  .glass {
    padding: 1.75rem 1.85rem;
  }
}

.glass label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--text);
}

.row {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

@media (min-width: 560px) {
  .row {
    flex-direction: row;
    align-items: stretch;
  }
}

.glass input[type="email"] {
  flex: 1;
  min-height: 2.875rem;
  padding: 0 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: rgba(0, 0, 0, 0.35);
  color: var(--text);
  font-family: var(--font);
  font-size: 1rem;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.glass input[type="email"]::placeholder {
  color: var(--text-faint);
}

.glass input[type="email"]:hover {
  border-color: rgba(255, 255, 255, 0.18);
}

.glass input[type="email"]:focus {
  border-color: rgba(59, 130, 246, 0.55);
  box-shadow: var(--ring);
}

.glass input:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.btn {
  min-height: 2.875rem;
  padding: 0 1.35rem;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-family: var(--font);
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: none;
  color: #fff;
  background: var(--danger);
  box-shadow: var(--shadow-sm);
  transition: background 0.15s ease, transform 0.1s ease;
}

.btn:hover {
  background: var(--danger-hover);
}

.btn:active {
  transform: translateY(1px);
}

.btn:focus {
  outline: none;
}

.btn:focus-visible {
  box-shadow: var(--ring), var(--shadow-sm);
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.hp {
  position: absolute;
  left: -9999px;
  width: 0;
  height: 0;
  opacity: 0;
}

.hint {
  margin-top: 0.85rem;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.flash {
  margin-top: 1rem;
  padding: 0.65rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.45;
  text-align: left;
}

.flash.ok {
  color: #a7f3d0;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.flash.err {
  color: #fecaca;
  background: rgba(248, 113, 113, 0.1);
  border: 1px solid rgba(248, 113, 113, 0.22);
}

/* ——— Features ——— */
.section-2 {
  border-top: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.2);
  padding: 3.25rem 0 3.75rem;
}

@media (min-width: 768px) {
  .section-2 {
    padding: 4rem 0 4.5rem;
  }
}

.section-head {
  max-width: 42rem;
  margin: 0 auto;
}

.section-head .subh {
  margin-left: auto;
  margin-right: auto;
  max-width: 38rem;
}

.cta-inner__lead {
  margin-top: 0.85rem;
}

h2 {
  margin: 0;
  font-family: var(--font);
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--text);
}

@media (min-width: 768px) {
  h2 {
    font-size: 1.65rem;
  }
}

.subh {
  margin: 0.65rem 0 0;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.6;
}

.list-features {
  list-style: none;
  margin: 2.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .list-features {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
}

.card {
  height: 100%;
  padding: 1.35rem 1.35rem 1.45rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.card:hover {
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 10px;
  background: var(--accent-soft);
  border: 1px solid rgba(59, 130, 246, 0.2);
}

.card__icon--amber {
  background: var(--gold-soft);
  border-color: rgba(212, 168, 83, 0.28);
}

.card__icon--emerald {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.25);
}

.card__icon svg {
  width: 1.35rem;
  height: 1.35rem;
}

.card h3 {
  margin: 1rem 0 0;
  font-family: var(--font);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--text);
}

.card p {
  margin: 0.55rem 0 0;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

.card p strong {
  color: var(--text);
  font-weight: 700;
}

.icon-neon {
  stroke: #60a5fa;
}
.icon-gold {
  stroke: var(--gold);
}
.icon-green {
  stroke: #34d399;
}

/* ——— CTA band ——— */
.section-3 {
  padding: 3.25rem 0 3.75rem;
}

.cta-inner {
  max-width: 44rem;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  text-align: center;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, var(--bg-elevated), rgba(9, 11, 16, 0.6));
  box-shadow: var(--shadow-md);
}

@media (min-width: 768px) {
  .cta-inner {
    padding: 2.5rem 2.25rem;
  }
}

.btn-blue {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.875rem;
  margin-top: 1.5rem;
  padding: 0 1.5rem;
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 0.9375rem;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0.01em;
  color: #fff;
  background: var(--accent);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-sm);
  transition: background 0.15s ease, transform 0.1s ease;
}

.btn-blue:hover {
  background: #2563eb;
}

.btn-blue:active {
  transform: translateY(1px);
}

.btn-blue:focus {
  outline: none;
}

.btn-blue:focus-visible {
  box-shadow: var(--ring), var(--shadow-sm);
}

/* ——— Footer ——— */
.site-footer {
  border-top: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.25);
  padding: 2rem 0;
}

.site-footer .wrap {
  text-align: center;
}

.site-footer p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--text-faint);
}

.site-footer__note {
  margin-top: 0.5rem;
  font-size: 0.8125rem;
  color: var(--text-faint);
  opacity: 0.85;
}
