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

:root {
  --primary-color: #1a1a2e;
  --secondary-color: #4a5fff;
  --accent-color: #ff6b6b;
  --text-color: #2c3e50;
  --light-bg: #fafafa;
  --white: #ffffff;
  --border-color: #e5e5e5;
  --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  line-height: 1.7;
  color: var(--text-color);
  background: linear-gradient(to bottom, #ffffff 0%, #fafafa 50%, #ffffff 100%);
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.container-narrow {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 40px;
}

.container-wide {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

/* Floating Navigation */
.floating-nav {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 50px;
  padding: 12px 24px;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.1),
    0 2px 8px rgba(0, 0, 0, 0.05);
  display: flex;
  gap: 15px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  animation: slideInRight 0.6s ease-out;
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.floating-nav a {
  color: var(--text-color);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 8px 15px;
  border-radius: 20px;
  transition: all 0.2s ease;
}

.floating-nav a:hover {
  background: var(--light-bg);
}

.cta-nav-button {
  background: var(--secondary-color);
  color: white !important;
  transition: all 0.3s ease;
}

.cta-nav-button:hover {
  background: white !important;
  color: var(--secondary-color) !important;
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(74, 95, 255, 0.3);
}

/* Header */
header {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  color: var(--white);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  min-height: 500px;
  display: flex;
  align-items: center;
}

header::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(102, 126, 234, 0.15) 0%,
    transparent 70%
  );
  border-radius: 50%;
  animation: pulse 4s ease-in-out infinite;
}

.header-content {
  position: relative;
  z-index: 2;
  animation: slideInUp 1s ease-out;
  display: flex;
  align-items: center;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.header-book-cover {
  flex: 0 0 auto;
}

.header-book-cover img {
  max-width: 280px;
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.4);
  transition: all 0.4s ease;
}

.header-book-cover img:hover {
  transform: scale(1.05) translateY(-5px);
  box-shadow: 0 20px 60px rgba(102, 126, 234, 0.5);
}

.header-text {
  flex: 1;
  text-align: left;
}

@media (max-width: 968px) {
  .header-content {
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }

  .header-text {
    text-align: center;
  }
}

/* Video Section */
.video-section {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
  width: 320px;
  transition: all 0.3s ease;
}

.video-section.minimized {
  width: auto;
}

.video-container {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  position: relative;
  background: var(--primary-color);
  transition: all 0.3s ease;
}

.video-section.minimized .video-container {
  border-radius: 50px;
}

.video-container video {
  width: 100%;
  height: auto;
  display: block;
  transition: all 0.3s ease;
}

.video-section.minimized .video-container video {
  display: none;
}

.video-header {
  background: var(--primary-color);
  color: white;
  padding: 8px 12px;
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.video-section.minimized .video-header {
  padding: 12px 20px;
  cursor: pointer;
}

.video-section.minimized .video-header:hover {
  background: var(--secondary-color);
}

.video-controls {
  display: flex;
  gap: 4px;
}

.video-minimize,
.video-close {
  background: none;
  border: none;
  color: white;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: background 0.2s ease;
}

.video-minimize:hover,
.video-close:hover {
  background: rgba(255, 255, 255, 0.1);
}

.video-section.minimized .video-minimize,
.video-section.minimized .video-close {
  display: none;
}

@media (max-width: 768px) {
  .video-section {
    width: 280px;
    bottom: 10px;
    right: 10px;
  }
}

.book-icon {
  font-size: 5rem;
  margin-bottom: 30px;
  display: inline-block;
  animation:
    float 3s ease-in-out infinite,
    pulse-glow 2s ease-in-out infinite alternate;
  filter: drop-shadow(0 15px 35px rgba(74, 95, 255, 0.5));
  position: relative;
}

.book-icon::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 120%;
  background: radial-gradient(
    circle,
    rgba(102, 126, 234, 0.2) 0%,
    transparent 70%
  );
  border-radius: 50%;
  animation: pulse-ring 3s ease-in-out infinite;
}

@keyframes pulse-ring {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.5;
  }

  50% {
    transform: translate(-50%, -50%) scale(1.2);
    opacity: 0.2;
  }
}

@keyframes pulse-glow {
  from {
    filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.3));
  }

  to {
    filter: drop-shadow(0 15px 35px rgba(74, 95, 255, 0.6));
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-15px);
  }
}

h1 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 4.5rem;
  font-weight: 700;
  margin-bottom: 35px;
  line-height: 1.15;
  color: white;
  text-shadow:
    0 2px 10px rgba(0, 0, 0, 0.3),
    0 8px 30px rgba(74, 95, 255, 0.4),
    0 -2px 10px rgba(102, 126, 234, 0.2);
  animation:
    fadeIn 1.2s ease-out 0.3s both,
    text-shimmer 3s ease-in-out infinite;
  letter-spacing: -0.02em;
  position: relative;
  display: inline-block;
}

@keyframes text-shimmer {
  0%,
  100% {
    text-shadow: 0 5px 30px rgba(0, 0, 0, 0.5);
  }

  50% {
    text-shadow:
      0 5px 30px rgba(0, 0, 0, 0.5),
      0 0 20px rgba(255, 255, 255, 0.3);
  }
}

h1::after {
  content: "";
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 3px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(102, 126, 234, 0.4) 20%,
    rgba(255, 255, 255, 0.9) 50%,
    rgba(118, 75, 162, 0.4) 80%,
    transparent 100%
  );
  border-radius: 2px;
  animation:
    expandLine 1s ease-out 0.8s both,
    line-glow 3s ease-in-out infinite;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

@keyframes line-glow {
  0%,
  100% {
    opacity: 0.8;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
  }

  50% {
    opacity: 1;
    box-shadow: 0 0 30px rgba(102, 126, 234, 0.6);
  }
}

@keyframes expandLine {
  from {
    width: 0;
    opacity: 0;
  }

  to {
    width: 150px;
    opacity: 1;
  }
}

.subtitle {
  font-size: 1.4rem;
  font-weight: 400;
  opacity: 0.95;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
  padding: 0 20px;
  animation: fadeIn 1.4s ease-out 0.6s both;
  text-shadow: 0 2px 15px rgba(0, 0, 0, 0.4);
  letter-spacing: 0.005em;
}

@keyframes subtle-bounce {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-5px);
  }
}

/* Section Styles */
section {
  padding: 100px 0;
  position: relative;
}

section:nth-child(even) {
  background-color: var(--light-bg);
}

section + section {
  margin-top: 0;
}

h2 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 2.8rem;
  margin-bottom: 20px;
  color: var(--primary-color);
  text-align: center;
  font-weight: 700;
  letter-spacing: -0.02em;
  position: relative;
  padding-bottom: 20px;
  display: inline;
}

h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

#for-reviewers h2::after {
  content: "";
  position: absolute;
  bottom: -14px;
  left: 75%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

.section-icon {
  font-size: 2.5rem;
  display: inline;
  margin-right: 10px;
  vertical-align: text-bottom;
  line-height: 1;
  animation: scaleIn 0.6s ease-out;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: #64748b;
  margin-top: 15px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: var(--white);
  text-align: center;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.15) 0%,
    transparent 70%
  );
  border-radius: 50%;
  animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.5;
  }

  50% {
    transform: scale(1.1);
    opacity: 0.3;
  }
}

.hero-section h2 {
  color: var(--white);
  font-size: 2.5rem;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero-section h2::after {
  background: rgba(255, 255, 255, 0.5);
}

.hero-section p {
  font-size: 1.15rem;
  max-width: 800px;
  margin: 20px auto 0;
  line-height: 1.8;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* Feature Grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 35px;
  margin-top: 50px;
}

@media (min-width: 1024px) {
  .feature-grid {
    gap: 40px;
  }
}

.feature-card {
  background: var(--white);
  padding: 40px;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  animation: slideInUp 0.6s ease-out backwards;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(74, 95, 255, 0.15);
  border-color: var(--secondary-color);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-card:nth-child(1) {
  animation-delay: 0.1s;
}

.feature-card:nth-child(2) {
  animation-delay: 0.2s;
}

.feature-card:nth-child(3) {
  animation-delay: 0.3s;
}

.feature-card h3 {
  font-size: 1.3rem;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.feature-list {
  list-style: none;
  padding: 0;
}

.feature-list li {
  padding: 10px 0 10px 30px;
  position: relative;
  line-height: 1.6;
}

.feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--secondary-color);
  font-weight: bold;
  font-size: 1.2rem;
}

/* Table of Contents */
.toc-container {
  max-width: 1200px;
  margin: 50px auto 0;
}

.toc-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px;
  font-size: 1.1rem;
  color: #64748b;
  line-height: 1.8;
}

.toc-section {
  margin-bottom: 40px;
}

.toc-section:last-child {
  margin-bottom: 0;
}

.toc-section-title {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 25px;
  padding: 15px 20px;
  background: linear-gradient(
    135deg,
    rgba(74, 95, 255, 0.05) 0%,
    rgba(102, 126, 234, 0.05) 100%
  );
  border-radius: 12px;
  border-left: 4px solid var(--secondary-color);
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  animation: slideInLeft 0.6s ease-out;
}

.toc-section-icon {
  font-size: 1.6rem;
}

.toc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 16px;
}

@media (min-width: 1200px) {
  .toc-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.toc-item {
  background: var(--white);
  padding: 18px 22px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  position: relative;
  animation: slideInLeft 0.5s ease-out backwards;
}

.toc-item::after {
  content: "";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%234a5fff" stroke-width="2"><path d="M9 18l6-6-6-6"/></svg>');
  opacity: 0;
  transition: all 0.3s ease;
}

.toc-item:hover {
  border-color: var(--secondary-color);
  box-shadow: 0 8px 24px rgba(74, 95, 255, 0.12);
  transform: translateY(-2px);
}

.toc-item:hover::after {
  opacity: 1;
  transform: translateY(-50%) translateX(5px);
}

.toc-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--secondary-color);
  color: white;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 8px;
  margin-right: 12px;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(74, 95, 255, 0.25);
  transition: all 0.3s ease;
}

.toc-item:hover .toc-number {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(74, 95, 255, 0.35);
}

.toc-item-content {
  display: flex;
  align-items: center;
}

.toc-item-title {
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-color);
  line-height: 1.5;
}

.toc-special {
  background: linear-gradient(
    135deg,
    rgba(74, 95, 255, 0.08) 0%,
    rgba(102, 126, 234, 0.08) 100%
  );
  border: 1.5px solid var(--secondary-color);
  box-shadow: 0 4px 16px rgba(74, 95, 255, 0.15);
  padding: 20px 22px;
}

.toc-special .toc-item-title {
  font-weight: 700;
  color: var(--secondary-color);
  font-size: 1.05rem;
}

.toc-special:hover {
  background: linear-gradient(
    135deg,
    rgba(74, 95, 255, 0.12) 0%,
    rgba(102, 126, 234, 0.12) 100%
  );
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(74, 95, 255, 0.2);
}

/* TOC Part Colors */
.toc-part-1 .toc-number {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.toc-part-1:hover {
  border-color: #667eea;
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.2);
}

.toc-part-2 .toc-number {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  box-shadow: 0 4px 12px rgba(240, 147, 251, 0.4);
}

.toc-part-2:hover {
  border-color: #f093fb;
  box-shadow: 0 6px 20px rgba(240, 147, 251, 0.2);
}

.toc-part-3 .toc-number {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  box-shadow: 0 4px 12px rgba(79, 172, 254, 0.4);
}

.toc-part-3:hover {
  border-color: #4facfe;
  box-shadow: 0 6px 20px rgba(79, 172, 254, 0.2);
}

.toc-part-4 .toc-number {
  background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
  box-shadow: 0 4px 12px rgba(67, 233, 123, 0.4);
}

.toc-part-4:hover {
  border-color: #43e97b;
  box-shadow: 0 6px 20px rgba(67, 233, 123, 0.2);
}

.toc-part-5 .toc-number {
  background: linear-gradient(135deg, #ffa502 0%, #ff6348 100%);
  box-shadow: 0 4px 12px rgba(255, 165, 2, 0.4);
}

.toc-part-5:hover {
  border-color: #ffa502;
  box-shadow: 0 6px 20px rgba(255, 165, 2, 0.2);
}

/* Testimonials */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 35px;
  margin-top: 50px;
}

.testimonial {
  background: var(--white);
  padding: 35px;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  animation: slideInUp 0.6s ease-out backwards;
}

.testimonial:nth-child(1) {
  animation-delay: 0.1s;
}

.testimonial:nth-child(2) {
  animation-delay: 0.2s;
}

.testimonial:nth-child(3) {
  animation-delay: 0.3s;
}

.testimonial:hover {
  box-shadow: 0 12px 32px rgba(74, 95, 255, 0.15);
  transform: translateY(-5px);
  border-color: var(--secondary-color);
}

.testimonial::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.testimonial:hover::before {
  transform: scaleX(1);
}

.testimonial::after {
  content: '"';
  font-size: 4rem;
  color: var(--secondary-color);
  opacity: 0.08;
  position: absolute;
  top: 10px;
  left: 20px;
  font-family: Georgia, serif;
  z-index: 0;
}

.testimonial-text {
  font-style: italic;
  font-size: 1.05rem;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
  line-height: 1.8;
  color: #475569;
}

.testimonial-author {
  font-weight: 600;
  color: var(--secondary-color);
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.testimonial-author::before {
  content: "";
  width: 30px;
  height: 2px;
  background: var(--gradient-primary);
}

/* Reviewers */

.reviewers-content {
  margin-top: 60px;
}

/* Author Section */
.author-section {
  background: linear-gradient(to bottom, var(--light-bg) 0%, #ffffff 100%);
  color: var(--text-color);
}

.author-section h2 {
  color: var(--primary-color);
}

/* Book Images */
.book-image-link {
  display: inline-block;
  transition: all 0.4s ease;
  position: relative;
}

.book-image-link img {
  transition: all 0.4s ease;
}

.book-image-link:hover img {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 15px 40px rgba(74, 95, 255, 0.25);
}

/* Bonus Section */
.bonus-section {
  background: linear-gradient(
    135deg,
    rgba(74, 95, 255, 0.08) 0%,
    rgba(102, 126, 234, 0.08) 100%
  );
  padding: 50px;
  border-radius: 20px;
  margin-top: 60px;
  border: 2px solid var(--secondary-color);
  box-shadow: 0 10px 40px rgba(74, 95, 255, 0.12);
  position: relative;
  overflow: hidden;
}

.bonus-section::before {
  content: "🎁";
  position: absolute;
  top: -20px;
  right: 30px;
  font-size: 8rem;
  opacity: 0.05;
  transform: rotate(15deg);
}

.bonus-badge {
  display: inline-block;
  background: var(--gradient-secondary);
  color: white;
  padding: 8px 20px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
  animation: pulse-badge 2s ease-in-out infinite;
}

@keyframes pulse-badge {
  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }
}

.author-container {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 60px;
  flex-wrap: wrap;
}

.author-image {
  flex: 0 0 300px;
  margin: 0 auto;
}

.author-image img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  transition: all 0.4s ease;
  animation: scaleIn 0.8s ease-out;
}

.author-image img:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
}

.author-content {
  flex: 1;
  min-width: 300px;
  text-align: left;
  font-size: 1.1rem;
  line-height: 1.8;
  animation: slideInUp 0.8s ease-out 0.2s backwards;
}

@media (max-width: 768px) {
  .author-container {
    flex-direction: column;
    gap: 40px;
  }

  .author-image {
    flex: 0 0 auto;
    max-width: 250px;
  }

  .author-content {
    text-align: center;
  }
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, #2d2d4a 100%);
  color: var(--white);
  text-align: center;
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></svg>');
  opacity: 0.3;
}

.cta-section h2 {
  color: var(--white);
  margin-bottom: 25px;
}

.format-list {
  list-style: none;
  padding: 0;
  margin: 25px 0 35px;
  font-size: 1.1rem;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.format-list li {
  padding: 10px 25px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  animation: slideInUp 0.6s ease-out backwards;
}

.format-list li:nth-child(1) {
  animation-delay: 0.1s;
}

.format-list li:nth-child(2) {
  animation-delay: 0.2s;
}

.format-list li:nth-child(3) {
  animation-delay: 0.3s;
}

.format-list li:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
}

/* Highlight Box */
.highlight-box {
  background: linear-gradient(
    135deg,
    rgba(74, 95, 255, 0.05) 0%,
    rgba(244, 63, 94, 0.05) 100%
  );
  color: var(--text-color);
  padding: 50px;
  border-radius: 20px;
  margin: 50px auto;
  border: 2px solid transparent;
  border-left: 6px solid var(--secondary-color);
  max-width: 1000px;
  box-shadow: 0 10px 40px rgba(74, 95, 255, 0.08);
  position: relative;
  overflow: hidden;
}

.highlight-box::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 200px;
  height: 200px;
  background: radial-gradient(
    circle,
    rgba(74, 95, 255, 0.1) 0%,
    transparent 70%
  );
  border-radius: 50%;
  transform: translate(50%, -50%);
}

.highlight-box p {
  font-size: 1.2rem;
  line-height: 1.8;
  margin: 0;
  position: relative;
  z-index: 1;
}

/* Footer */
footer {
  background: var(--primary-color);
  color: var(--white);
  text-align: center;
  padding: 30px 0;
  font-size: 0.9rem;
}

/* Badge Styles */
.badge {
  display: inline-block;
  padding: 8px 20px;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
  color: white;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  animation: slideInUp 0.6s ease-out;
}

/* Stats Section */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  margin: 50px 0;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.stat-card {
  text-align: center;
  padding: 35px 25px;
  background: white;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  animation: scaleIn 0.6s ease-out backwards;
}

.stat-card:nth-child(1) {
  animation-delay: 0.1s;
}

.stat-card:nth-child(2) {
  animation-delay: 0.2s;
}

.stat-card:nth-child(3) {
  animation-delay: 0.3s;
}

.stat-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 12px 32px rgba(74, 95, 255, 0.2);
  border-color: var(--secondary-color);
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  margin-bottom: 10px;
}

.stat-label {
  color: var(--text-color);
  font-weight: 600;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Responsive */
@media (max-width: 768px) {
  .floating-nav {
    display: none;
  }

  .container,
  .container-narrow,
  .container-wide {
    padding: 0 20px;
  }

  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2rem;
  }

  .subtitle {
    font-size: 1.1rem;
  }

  .section-icon {
    font-size: 2.5rem;
  }

  section {
    padding: 60px 0;
  }

  .hero-section {
    padding: 60px 0;
  }

  .feature-grid,
  .toc-grid,
  .testimonial-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .feature-card,
  .testimonial {
    padding: 25px;
  }

  .highlight-box {
    padding: 30px;
  }

  .stats-grid {
    gap: 20px;
  }

  .stat-card {
    padding: 25px 20px;
  }

  .toc-section-title {
    font-size: 1.3rem;
  }

  .section-header {
    margin-bottom: 40px;
  }
}

/* Smooth animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeInUp 0.8s ease-out;
}
