/* BASIC RESET */
html {
  scroll-behavior: smooth;
}
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --accent-cyan: #22d3ee;      /* основен неонов циан */
  --accent-cyan-soft: #0ea5e9; /* по-мек циан за бордери/hover */
}

body {
  font-family: "Inter", sans-serif;
  background: #000000; /* истинско matte black */
  color: #f9fafb;
  overflow-x: hidden;
}

/* HERO SECTION MAIN */
.hero {
  background: #000000; /* абсолютно плоско черно */
  padding: 80px 20px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
}

/* Container */
.hero-inner {
  max-width: 1040px;      /* по-тясно от 1200 -> визуално по-централно */
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
  align-items: center;
}

/* HERO VISUAL AREA */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 260px;

  /* Перспектива за 3D ефекта */
  perspective: 1200px;
}

/* Language Switch – премиум chip стил */
.lang-switch {
  position: absolute;
  top: 20px;
  right: 20px;
  display: flex;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(15,23,42,0.85);         /* тъмен „бар“ */
  border: 1px solid #020617;
  box-shadow: 0 18px 30px rgba(0,0,0,0.7);
}

.lang-btn {
  background: transparent;
  color: #9ca3af;
  border: 0;
  padding: 6px 12px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

/* лек hover за неактивния бутон */
.lang-btn:hover:not(.active) {
  color: var(--accent-cyan-soft);
}

/* активен език – неонова рамка */
.lang-btn.active {
  background: #020617;
  color: #e0f2fe;
  box-shadow:
    0 0 0 1px rgba(15,23,42,0.9),
    0 0 14px rgba(34,211,238,0.5);
}


/* HERO BLOCKS */
.hero-text-block {
  display: none;        /* скрит по default */
  max-width: 620px;
}

.hero-text-block.active {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-title {
  font-size: 3rem;
  text-transform: uppercase;
  font-weight: 700;
}

.hero-subtitle {
  font-size: 1rem;
  letter-spacing: 0.1em;
  color: #9ca3af; /* по-светъл сив, не чисто син */
}

/* Подзаглавия, малки текстове */
.hero-note,
.author-meta,
.section-subtitle {
  color: #9ca3af;
}

/* Малко по-светъл текст за описания */
.hero-pitch,
.hero-tagline,
.author-bio,
.section-description {
  color: #e5e7eb;
}

/* Заглавията – леки cyan акценти */
.section-title {
  font-size: 2.2rem;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: 0.05em;
  color: #f9fafb;
}

.section-title::after {
  content: "";
  display: inline-block;
  margin-left: 8px;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--accent-cyan);
}

/* Подчертаване на важните думи */
strong {
  color: #e5f9ff;
}

/* CTA */
.btn {
  padding: 12px 22px;
  border-radius: 30px;
  font-size: 14px;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
}

/* Primary бутон – тъмен с неонов кант */
.btn-primary {
  background: #020617;
  color: #e0f2fe;
  border: 1px solid var(--accent-cyan-soft);
  box-shadow: 0 0 0 1px rgba(15,23,42,0.7),
              0 18px 30px rgba(0,0,0,0.8);
}

.btn-primary:hover {
  background: #02111d;
  border-color: var(--accent-cyan);
  box-shadow: 0 0 20px rgba(34,211,238,0.4);
}

/* Outline бутон – графит + cyan при hover */
.btn-outline {
  border: 1px solid #4b5563;
  color: #e5e7eb;
  background: transparent;
}

.btn-outline:hover {
  border-color: var(--accent-cyan-soft);
  background: rgba(15,23,42,0.8);
}

/* BOOK MOCKUP – 3D hardcover */
.book-card {
  position: relative;
  width: min(280px, 80vw);
  aspect-ratio: 2 / 3;
  border-radius: 20px;
  overflow: hidden;
  background: #020617;
  box-shadow:
    0 40px 90px rgba(0,0,0,0.95),
    0 0 50px rgba(15,23,42,0.9);
  border: 1px solid rgba(148,163,184,0.4);

  /* 3D завъртане */
  transform: rotateY(-12deg) rotateX(4deg);
  transform-origin: center right;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

/* лек отблясък по ръба на корицата */
.book-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    135deg,
    rgba(248,250,252,0.18),
    transparent 40%
  );
  mix-blend-mode: screen;
  opacity: 0.18;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.book-card:hover {
  transform: rotateY(-8deg) rotateX(3deg);
  box-shadow: 0 32px 90px rgba(15,23,42,1);
}

.book-card:hover::after {
  opacity: 0.28;
}

.book-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;   /* ако още ти реже пламъците, смени на 'contain' */
  object-position: center;
  display: block;
}

/* ========================= */
/* RESPONSIVE — до 900px */
/* ========================= */
@media (max-width: 900px) {

  .hero {
    padding: 70px 16px 50px;
    min-height: auto;
  }

  .hero-inner {
    max-width: 100%;
    grid-template-columns: 1fr;   /* от 2 колони -> 1 колона */
    gap: 28px;
  }

  /* Първо да се вижда корицата, после текстът */
  .hero-visual {
    order: -1;
    margin-bottom: 4px;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-subtitle {
    font-size: 0.9rem;
    letter-spacing: 0.08em;
  }

  .hero-cta-row {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-cta-row .btn {
    width: 100%;
    text-align: center;
  }
}

/* WIP TAGLINE – simple crossfade */
.wip-tagline {
  position: absolute;
  top: 22px;
  left: 22px;
  font-size: 14px;
  color: rgba(248,250,252,0.8);
  letter-spacing: 0.04em;
  font-weight: 300;
  cursor: default;
  display: inline-block;
}

/* нормален текст */
.wip-default {
  display: inline-block;
  opacity: 1;
  transition: opacity 0.3s ease;
  font-weight: 500;
}

/* текст при hover */
.wip-hover {
  color: #c9d7f1;   /* светъл студен тон */
  position: absolute;
  top: 0;
  left: 0;            /* същата позиция -> няма прескачане */
  opacity: 0;
  white-space: nowrap;
  transition: opacity 0.3s ease;
  font-weight: 400;
  pointer-events: none;
}

/* при hover просто кръстосваме прозрачността */
.wip-tagline:hover .wip-default {
  opacity: 0;
}

.wip-tagline:hover .wip-hover {
  opacity: 1;
}








/* ========================= */
/* SECTION 2 — FOR WHOM */
/* ========================= */
.section-for-whom {
  padding: 100px 20px;
  max-width: 1100px;
  margin: auto;
  text-align: center;
}

.section-title {
  font-size: 2.2rem;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: 0.05em;
}

.section-subtitle {
  font-size: 1.05rem;
  color: #94a3b8;
  max-width: 760px;
  margin: 0 auto 40px;
}

.for-whom-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.fw-item {
  background: #0f172a;
  border: 1px solid #1e293b;
  padding: 18px 24px;
  font-size: 1rem;
  border-radius: 12px;
  text-align: left;
  color: #e2e8f0;
  transition: 0.2s ease;
}

.fw-item:hover {
  background: #1e293b;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

/* Language toggle support */
.for-whom-block { display: none; }
.for-whom-block.active { display: block; }

/* ========================= */
/* SECTION 3 — PROBLEMS */
/* ========================= */
.section-problems {
  padding: 90px 20px 110px;
  max-width: 1100px;
  margin: 0 auto;
}

.section-problems .section-title {
  font-size: 2.1rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-align: center;
  margin-bottom: 10px;
}

.section-problems .section-subtitle {
  font-size: 1.02rem;
  color: #94a3b8;
  max-width: 820px;
  margin: 0 auto 40px;
  text-align: center;
}

.problems-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}

.prob-card {
  background: radial-gradient(circle at top left, rgba(34,211,238,0.20), #020617);
  border-radius: 16px;
  border: 1px solid #1f2937;
  padding: 20px 22px 22px;
  box-shadow: 0 18px 40px rgba(15,23,42,0.75);
  position: relative;
  overflow: hidden;
  transition: transform 0.18s ease-out, box-shadow 0.18s ease-out, border-color 0.18s ease-out;
}

.prob-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 0 0, rgba(34,211,238,0.28), transparent 55%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease-out;
}

.prob-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(15,23,42,0.9);
   border-color: var(--accent-cyan);
}

.prob-card:hover::before {
  opacity: 1;
}

.prob-title {
  font-size: 1.02rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: #e5e7eb;
}

.prob-text {
  font-size: 0.94rem;
  color: #cbd5e1;
  line-height: 1.6;
}

/* Language toggle */
.problems-block { display: none; }
.problems-block.active { display: block; }

/* ========================= */
/* SECTION 4 — WHAT YOU WILL LEARN */
/* ========================= */
.section-learn {
  padding: 95px 20px 110px;
  max-width: 1100px;
  margin: 0 auto;
}

.section-learn .section-title {
  font-size: 2.1rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-align: center;
  margin-bottom: 10px;
}

.section-learn .section-subtitle {
  font-size: 1.02rem;
  color: #94a3b8;
  max-width: 820px;
  margin: 0 auto 40px;
  text-align: center;
}

.learn-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}

.learn-item {
  position: relative;
  padding: 20px 22px 22px;
  border-radius: 16px;
  background: #020617;
  border: 1px solid #1f2937;
  box-shadow: 0 20px 44px rgba(15,23,42,0.85);
  overflow: hidden;
  transition: transform 0.2s ease-out, box-shadow 0.2s ease-out, border-color 0.2s ease-out;
}

.learn-item::before {
  content: "";
  position: absolute;
  inset: -30%;
  background:
    radial-gradient(circle at 0 0, rgba(34,211,238,0.30), transparent 55%),
    radial-gradient(circle at 100% 100%, rgba(56,189,248,0.20), transparent 60%);
  opacity: 0;
  mix-blend-mode: screen;
  pointer-events: none;
  transition: opacity 0.2s ease-out;
}

.learn-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 70px rgba(15,23,42,0.95);
  border-color: var(--accent-cyan);
}

.learn-item:hover::before {
  opacity: 1;
}

.learn-heading {
  font-size: 1.02rem;
  font-weight: 600;
  color: #e5e7eb;
  margin-bottom: 8px;
}

.learn-text {
  font-size: 0.94rem;
  color: #cbd5e1;
  line-height: 1.6;
}

/* Language toggle */
.learn-block { display: none; }
.learn-block.active { display: block; }


/* ========================= */
/* SECTION 5 — AUTHOR */
/* ========================= */
.section-author {
  padding: 90px 20px 110px;
  max-width: 1100px;
  margin: 0 auto;
}

.author-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.6fr);
  gap: 30px;
  align-items: center;
  background: radial-gradient(circle at top left, rgba(34,211,238,0.18), #020617);
  border-radius: 20px;
  border: 1px solid #1f2937;
  padding: 26px 28px;
  box-shadow: 0 26px 60px rgba(15,23,42,0.9);
}

.author-photo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.author-img {
  width: 140px;
  height: 140px;
  border-radius: 999px;
  object-position: 60% 50%;
  object-fit: cover;
  border: 0;
  box-shadow: 0 0 22px rgba(34,211,238,0.16);
}



.author-initials {
  width: 120px;
  height: 120px;
  border-radius: 999px;
  background: radial-gradient(circle at 0 0, #22d3ee, #0ea5e9);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
  font-weight: 700;
  color: #f9fafb;
  box-shadow: 0 20px 40px rgba(34,211,238,0.6);
}

.author-text .section-title {
  text-align: left;
  margin-bottom: 6px;
}

.author-name {
  font-size: 1.2rem;
  font-weight: 600;
  color: #e5e7eb;
}

.author-meta {
  font-size: 0.9rem;
  color: #9ca3af;
  margin-bottom: 14px;
}

.author-bio {
  font-size: 0.95rem;
  color: #cbd5e1;
  line-height: 1.6;
  margin-bottom: 10px;
}

.author-block { display: none; }
.author-block.active { display: block; }

@media (max-width: 820px) {
  .author-inner {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .author-photo {
    justify-content: flex-start;
  }
}


/* ========================= */
/* SECTION 6 — BONUS / LEAD */
/* ========================= */
.section-bonus {
  padding: 90px 20px 110px;
  max-width: 1100px;
  margin: 0 auto;
}

.bonus-card {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.2fr);
  gap: 28px;
  align-items: center;
  background: #020617;
  border-radius: 20px;
  border: 1px solid #1f2937;
  box-shadow: 0 24px 60px rgba(15,23,42,0.95);
  padding: 26px 28px;
  position: relative;
  overflow: hidden;
}

.bonus-card::before {
  content: "";
  position: absolute;
  inset: -35%;
  background:
    radial-gradient(circle at 0 0, rgba(56,189,248,0.4), transparent 55%),
    radial-gradient(circle at 100% 100%, rgba(129,140,248,0.22), transparent 60%);
  opacity: 0.4;
  mix-blend-mode: screen;
  pointer-events: none;
}

.bonus-text {
  position: relative;
  z-index: 1;
}

.bonus-text .section-title {
  text-align: left;
}

.bonus-description {
  font-size: 0.95rem;
  color: #cbd5e1;
  line-height: 1.6;
}

.bonus-form-wrapper {
  position: relative;
  z-index: 1;
}

.lead-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: rgba(15,23,42,0.96);
  border-radius: 16px;
  border: 1px solid #1f2937;
  padding: 16px 16px 18px;
}

.lead-label {
  font-size: 0.86rem;
  color: #cbd5e1;
}

.lead-input-row {
  display: flex;
  gap: 10px;
}

.lead-input {
  flex: 1;
  border-radius: 999px;
  border: 1px solid #334155;
  background: #020617;
  padding: 10px 14px;
  color: #e5e7eb;
  font-size: 0.95rem;
  outline: none;
}

.lead-input:focus {
  border-color: var(--accent-cyan-soft);
  box-shadow: 0 0 0 1px rgba(14,165,233,0.6);
}

.lead-submit {
  white-space: nowrap;
}

.lead-note {
  font-size: 0.8rem;
  color: #9ca3af;
}

.lead-block { display: none; }
.lead-block.active { display: block; }

@media (max-width: 900px) {
  .bonus-card {
    grid-template-columns: 1fr;
  }
  .bonus-text .section-title,
  .section-bonus .section-subtitle {
    text-align: left;
  }
  .lead-input-row {
    flex-direction: column;
  }
}

/* ========================= */
/* SECTION 7 — FINAL CTA */
/* ========================= */
.section-final-cta {
  padding: 90px 20px 120px;
  max-width: 900px;
  margin: 0 auto;
}

.final-cta-card {
  text-align: center;
  background: radial-gradient(circle at top, rgba(34,211,238,0.22), #020617);
  border-radius: 22px;
  border: 1px solid #1f2937;
  padding: 32px 24px 30px;
  box-shadow: 0 30px 80px rgba(15,23,42,0.95);
}

.final-cta-title {
  font-size: 2rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  margin-bottom: 14px;
}

.final-cta-text {
  font-size: 1rem;
  color: #e5e7eb;
  max-width: 640px;
  margin: 0 auto 22px;
  line-height: 1.6;
}

.final-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 16px;
}

.final-btn-main {
  font-weight: 600;
}

.final-btn-secondary {
  font-size: 0.9rem;
}

.final-cta-note {
  font-size: 0.86rem;
  color: #9ca3af;
  max-width: 640px;
  margin: 0 auto;
}

/* ВАЖНОТО: тези два реда */
.final-cta-block {
  display: none;
}
.final-cta-block.active {
  display: block;
}

@media (max-width: 640px) {
  .final-cta-title {
    font-size: 1.6rem;
  }
}

/* ========================= */
/* RESPONSIVE — до 640px */
/* ========================= */
@media (max-width: 640px) {

  .section-for-whom,
  .section-problems,
  .section-learn,
  .section-author,
  .section-bonus,
  .section-final-cta {
    padding: 70px 16px 80px;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .section-subtitle {
    font-size: 0.96rem;
  }

  .author-inner {
    padding: 20px 18px;
  }

  .bonus-card {
    padding: 20px 18px;
  }

  .final-cta-card {
    padding: 26px 18px 26px;
  }
   /* 🔽 добави това тук */
  .wip-tagline {
    display: none;
  }

}




/* REMOVE cyan dot from section titles */
.section-title::after {
    display: none !important;
    content: none !important;
}


.site-footer {
  margin-top: 80px;
  padding: 40px 0;
  text-align: center;
  color: #9ca3af;
  font-size: 14px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.site-footer a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
}

.site-footer a:hover {
  opacity: 0.7;
}

.footer-copy {
  margin-top: 6px;
  font-size: 13px;
  opacity: 0.6;
}

