/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* BASE */
body {
  font-family: -apple-system, BlinkMacSystemFont, sans-serif;
  /* background: url("images/flowers.webp") center / cover no-repeat fixed; */
  background:
    radial-gradient(circle at 30% 40%, #054435, transparent 60%),
    radial-gradient(circle at 70% 60%, #ff907c, transparent 60%), #280b0a;
  overflow-x: hidden;
  position: relative;
  z-index: 0;
}

/* HERO */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;

  position: relative;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  gap: 80px;
  position: relative;
  z-index: 1;
}

/* LEFT */
.hero-left {
  flex: 1;
  display: flex;
  justify-content: center;
}

.book {
  width: 400px;
  height: 540px;
  perspective: 1000px;
  position: relative;
}

.book-cover {
  width: 100%;
  height: 100%;
  background: none;
  color: #171717;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 28px;
  border-radius: 12px;
  transition: transform 0.2s ease;
}

.book-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6);
  display: block;
  filter: contrast(0.96);
}

/* RIGHT */
.hero-right {
  flex: 1;
  max-width: 400px;
  color: white;
}

h1 {
  font-size: 42px;
  line-height: 1.2;
  margin-bottom: 16px;
}

.subtitle {
  font-size: 18px;
  margin-bottom: 24px;
  opacity: 0.8;
}

/* PRICE */
.price {
  margin-bottom: 24px;
}

.price .new {
  font-size: 28px;
  font-weight: bold;
  margin-right: 10px;
}

.price .old {
  text-decoration: line-through;
  opacity: 0.5;
}

/* BUTTONS */
.buttons {
  display: flex;
  gap: 12px;
}

.btn {
  padding: 14px 22px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-size: 16px;
  transition: all 0.2s ease;
}
.btn.big {
  padding: 16px 28px;
  font-size: 17px;
}

/* PRIMARY */
.btn.primary {
  background: #f47c5c;
  color: white;
}

.btn.primary:hover {
  transform: scale(1.05);
}

/* SECONDARY */
.btn.secondary {
  color: white;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.8);
}

/* STICKY CTA */
.sticky-cta {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 14px 24px;
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.7);
  transform: translateY(-100%);
  transition: transform 0.3s ease;
  z-index: 9999;
}

.sticky-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sticky-text {
  font-size: 14px;
  opacity: 0.7;
}

.sticky-cta.show {
  transform: translateY(0);
}

.sticky-inner {
  width: 100%;
  max-width: 1200px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* TRANSFORMIRUYSA*/

.transform {
  padding: 140px 40px;
  color: #ffffff;

  background: rgba(15, 15, 15, 0.65);
  backdrop-filter: blur(6px);
}

.transform-container {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.transform h2 {
  font-size: 42px;
  margin-bottom: 24px;
  font-weight: 600;
}

.transform p {
  font-size: 19px;
  line-height: 1.65;
  opacity: 0.85;
}

.transform .accent {
  font-size: 20px;
  margin-top: 10px;
  opacity: 0.95;
}

/* ABOUT */
.about {
  padding: 140px 40px;
  position: relative;
  overflow: hidden;
}

.about::before {
  content: "";
  position: absolute;
  inset: 0;

  background: url("images/flowers.webp") center / cover no-repeat fixed;

  filter: blur(4px) brightness(0.6);
  transform: scale(1.05);

  z-index: 0;
}
.about::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 0;
}

.about-container {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.about-title {
  font-size: 36px;
  margin-bottom: 60px;
  text-align: center;
  color: #f5f5f5;
}

.about-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.about-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.about-item h3 {
  font-size: 20px;
  margin-bottom: 8px;
  color: #ffffff;
}

.about-item p {
  font-size: 16px;
  line-height: 1.6;
  opacity: 0.8;
  color: #e0e0e0;
}

/* кружки */

.num {
  min-width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #fff;
}

/* AUTHOR */

.author {
  padding: 140px 40px;
  background: rgba(15, 15, 15, 0.65);
  backdrop-filter: blur(6px);
}

.author-text {
  color: #f5f5f5;
}

.author-text p {
  opacity: 0.8;
}

.author-container {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.author-text h2 {
  font-size: 32px;
  margin-bottom: 20px;
}

.author-text p {
  line-height: 1.7;
  margin-bottom: 16px;
  opacity: 0.85;
}

.author-text .quote {
  margin-top: 20px;
  font-style: italic;
  opacity: 0.6;
}

.author-image img {
  width: 100%;
  border-radius: 12px;
  display: block;
}
