/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-black: #1a1a1a;
  --secondary-black: #2d2d2d;
  --brown-dark: #8b4513;
  --brown-medium: #a0522d;
  --brown-light: #d2b48c;
  --white: #ffffff;
  --off-white: #f8f8f8;
  --gray-light: #e5e5e5;
  --gray-medium: #999999;
  --accent-gold: #daa520;

  --font-primary: "Playfair Display", serif;
  --font-secondary: "Inter", sans-serif;

  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-light: 0 4px 20px rgba(0, 0, 0, 0.1);
  --shadow-medium: 0 8px 40px rgba(0, 0, 0, 0.15);
  --shadow-heavy: 0 20px 60px rgba(0, 0, 0, 0.3);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-secondary);
  line-height: 1.6;
  color: var(--primary-black);
  background-color: var(--white);
  overflow-x: hidden;
}

.container-fluid {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
}

/* Loading Screen */
#loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary-black) 0%, var(--secondary-black) 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader {
  text-align: center;
  color: var(--white);
}

.book-loader {
  margin-bottom: 2rem;
}

.book {
  position: relative;
  width: 60px;
  height: 80px;
  margin: 0 auto;
  transform-style: preserve-3d;
  animation: bookFlip 2s infinite ease-in-out;
}

.page {
  position: absolute;
  width: 100%;
  height: 100%;
  background: var(--brown-light);
  border: 2px solid var(--brown-dark);
  border-radius: 2px;
  transform-origin: left center;
}

.page:nth-child(1) {
  animation: pageFlip1 2s infinite ease-in-out;
}

.page:nth-child(2) {
  animation: pageFlip2 2s infinite ease-in-out 0.2s;
}

.page:nth-child(3) {
  animation: pageFlip3 2s infinite ease-in-out 0.4s;
}

@keyframes bookFlip {
  0%,
  100% {
    transform: rotateY(0deg);
  }
  50% {
    transform: rotateY(10deg);
  }
}

@keyframes pageFlip1 {
  0%,
  100% {
    transform: rotateY(0deg);
  }
  50% {
    transform: rotateY(-180deg);
  }
}

@keyframes pageFlip2 {
  0%,
  100% {
    transform: rotateY(0deg);
  }
  50% {
    transform: rotateY(-160deg);
  }
}

@keyframes pageFlip3 {
  0%,
  100% {
    transform: rotateY(0deg);
  }
  50% {
    transform: rotateY(-140deg);
  }
}

.loading-text {
  font-size: 1.2rem;
  font-weight: 300;
  letter-spacing: 2px;
  animation: pulse 1.5s infinite ease-in-out;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.6;
  }
  50% {
    opacity: 1;
  }
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(26, 26, 26, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 1000;
  transition: var(--transition);
}

.navbar .container-fluid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--brown-dark), var(--brown-medium));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.5rem;
}

.brand-text h3 {
  font-family: var(--font-primary);
  font-size: 1.3rem;
  color: var(--white);
  margin-bottom: 0.2rem;
}

.brand-text span {
  font-size: 0.9rem;
  color: var(--brown-light);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-link {
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  position: relative;
  transition: var(--transition);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--brown-medium);
  transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--white);
  transition: var(--transition);
}

/* Hero Section - Updated Black, Brown, White Theme */
.hero-section {
  min-height: 100vh;
  position: relative;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 25%, #8b4513 50%, #a0522d 75%, #d2b48c 100%);
  display: flex;
  align-items: center;
  overflow: hidden;
}

#three-scene {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.cityscape-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 20% 80%, rgba(139, 69, 19, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(210, 180, 140, 0.2) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(45, 45, 45, 0.4) 0%, transparent 50%);
  z-index: 2;
}

.ai-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.ai-node {
  position: absolute;
  width: 12px;
  height: 12px;
  background: radial-gradient(circle, #d2b48c, #8b4513);
  border-radius: 50%;
  box-shadow: 0 0 20px rgba(210, 180, 140, 0.6);
  animation: aiPulse 3s infinite ease-in-out;
}

.ai-node[data-node="1"] {
  top: 20%;
  left: 15%;
  animation-delay: 0s;
}

.ai-node[data-node="2"] {
  top: 30%;
  right: 20%;
  animation-delay: 0.8s;
}

.ai-node[data-node="3"] {
  bottom: 40%;
  left: 25%;
  animation-delay: 1.6s;
}

.ai-node[data-node="4"] {
  bottom: 25%;
  right: 15%;
  animation-delay: 2.4s;
}

@keyframes aiPulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.7;
    box-shadow: 0 0 20px rgba(210, 180, 140, 0.6);
  }
  50% {
    transform: scale(1.5);
    opacity: 1;
    box-shadow: 0 0 40px rgba(210, 180, 140, 0.9);
  }
}

.ai-connection {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, transparent 49%, rgba(210, 180, 140, 0.2) 50%, transparent 51%),
    linear-gradient(-45deg, transparent 49%, rgba(139, 69, 19, 0.1) 50%, transparent 51%);
  animation: connectionFlow 4s infinite linear;
}

@keyframes connectionFlow {
  0% {
    background-position: 0% 0%, 0% 0%;
  }
  100% {
    background-position: 100% 100%, -100% 100%;
  }
}

/* Update hero content colors to match book cover theme */
.hero-content {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 2rem 0;
}
.title-line{
    color: #ffffff !important;
}
.title-highlight{
    color: white !important;
}
.we{
  font-size: 50px !important;
}
.title-subtitle{
    color: white !important;
}
.hero-description{
    color: #ffffff !important;
}
.stat-number{
    color: #ffffff !important;
}
.stat-label{
    color: white !important;
}

.hero-badge {
  position: relative;
  display: inline-block;
  background: rgba(139, 69, 19, 0.2);
  border: 1px solid var(--brown-medium);
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  margin-bottom: 2rem;
  overflow: hidden;
}

.badge-text {
  position: relative;
  z-index: 2;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--brown-light);
}

.title-highlight {
  display: block;
  background: linear-gradient(135deg, var(--brown-light), var(--accent-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--brown-light);
  font-family: var(--font-primary);
}

.btn {
  position: relative;
  padding: 1rem 2rem;
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  /* transition: var(--transition); */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-decoration: none;
  overflow: hidden;
  min-width: 180px;
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, var(--brown-dark), var(--brown-medium));
  color: var(--white);
  box-shadow: var(--shadow-medium);
  border: 2px solid transparent;
}

.btn-primary:hover {
  /* transform: translateY(-2px); */
  box-shadow: var(--shadow-heavy);
  background: linear-gradient(135deg, var(--brown-medium), var(--brown-light));
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--brown-light);
}

.btn-secondary:hover {
  background: var(--brown-light);
  color: var(--primary-black);
  /* transform: translateY(-2px); */
}

.btn-glow {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  /* transition: var(--transition); */
}

.btn:hover .btn-glow {
  left: 100%;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  margin-top: 50px !important;
  flex-wrap: wrap;
  align-items: center;
}

.hero-right {
  display: flex;
  justify-content: center;
  align-items: center;
}

.book-showcase {
  position: relative;
}

.book-container {
  position: relative;
  perspective: 1000px;
}

.book-3d {
  position: relative;
  width: 300px;
  height: 400px;
  /* transform-style: preserve-3d;
  transition: var(--transition); */
}

.book-3d:hover {
  /* transform: rotateY(-15deg) rotateX(5deg); */
}

.book-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: var(--shadow-heavy);
}

.book-spine {
  position: absolute;
  top: 0;
  right: -20px;
  width: 20px;
  height: 100%;
  background: linear-gradient(180deg, var(--brown-dark), var(--secondary-black));
  transform: rotateY(90deg);
  transform-origin: left center;
  border-radius: 0 10px 10px 0;
}

.book-shadow {
  position: absolute;
  bottom: -20px;
  left: 20px;
  width: 100%;
  height: 20px;
  background: radial-gradient(ellipse, rgba(0, 0, 0, 0.3), transparent);
  transform: rotateX(90deg);
  transform-origin: center top;
}

.floating-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.float-element {
  position: absolute;
  width: 60px;
  height: 60px;
  background: rgba(139, 69, 19, 0.1);
  border: 1px solid var(--brown-medium);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brown-light);
  font-size: 1.5rem;
  animation: float 6s infinite ease-in-out;
  backdrop-filter: blur(10px);
}

.float-element:nth-child(1) {
  top: 10%;
  left: -10%;
  animation-delay: 0s;
}

.float-element:nth-child(2) {
  top: 20%;
  right: -15%;
  animation-delay: 1.5s;
}

.float-element:nth-child(3) {
  bottom: 30%;
  left: -20%;
  animation-delay: 3s;
}

.float-element:nth-child(4) {
  bottom: 10%;
  right: -10%;
  animation-delay: 4.5s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
    opacity: 0.7;
  }
  50% {
    transform: translateY(-20px) rotate(180deg);
    opacity: 1;
  }
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: var(--white);
  z-index: 3;
}

.scroll-arrow {
  width: 2px;
  height: 30px;
  background: var(--brown-light);
  margin: 0 auto 0.5rem;
  position: relative;
  animation: scrollBounce 2s infinite;
}

.scroll-arrow::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: -3px;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--brown-light);
  border-bottom: 2px solid var(--brown-light);
  transform: rotate(45deg);
}

@keyframes scrollBounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(10px);
  }
}

/* Section Styles */
section {
  padding: 6rem 0;
}

section .container-fluid,
header .container-fluid,
footer .container-fluid {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-subtitle {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--brown-medium);
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-primary);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--primary-black);
  margin-bottom: 1rem;
}

.section-description {
  font-size: 1.1rem;
  color: var(--gray-medium);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.8;
}

/* About Section */
.about-section {
  background: linear-gradient(135deg, var(--off-white) 0%, var(--white) 100%);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  align-items: start;
}

.author-image-container {
  position: relative;
}

.author-image {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-medium);
}

.author-image img {
  width: 100%;
  height: auto;
  display: block;
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(139, 69, 19, 0.1), rgba(26, 26, 26, 0.1));
}

.experience-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--primary-black);
  color: var(--white);
  padding: 1.5rem;
  border-radius: 15px;
  text-align: center;
  box-shadow: var(--shadow-medium);
}

.badge-number {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  font-family: var(--font-primary);
  color: var(--brown-light);
}

.badge-text {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.about-cards {
  display: grid;
  gap: 2rem;
  margin-bottom: 3rem;
}

.about-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 15px;
  box-shadow: var(--shadow-light);
  border-left: 4px solid var(--brown-medium);
  transition: var(--transition);
}

.about-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
}

.card-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--brown-light), var(--brown-medium));
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.about-card h3 {
  font-family: var(--font-primary);
  font-size: 1.3rem;
  color: var(--primary-black);
  margin-bottom: 1rem;
}

.about-card p {
  color: var(--gray-medium);
  line-height: 1.7;
}

.quote-container {
  background: linear-gradient(135deg, var(--primary-black), var(--secondary-black));
  padding: 3rem;
  border-radius: 20px;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.quote-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 80% 20%, rgba(139, 69, 19, 0.2), transparent);
}

.quote-icon {
  font-size: 3rem;
  color: var(--brown-light);
  margin-bottom: 1.5rem;
  opacity: 0.7;
}

.quote-container blockquote {
  font-family: var(--font-primary);
  font-size: 1.2rem;
  font-style: italic;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 2;
}

.quote-container cite {
  font-size: 1rem;
  color: var(--brown-light);
  font-weight: 600;
  position: relative;
  z-index: 2;
}

/* Book Section */
.book-section {
  background: var(--primary-black);
  color: var(--white);
}

.book-section .section-title {
  color: var(--white);
}

.book-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.book-display {
  position: relative;
  text-align: center;
}

.book-3d-large {
  position: relative;
  display: inline-block;
  perspective: 1000px;
}

.book-cover-large {
  width: 350px;
  height: 500px;
  object-fit: cover;
  border-radius: 15px;
  box-shadow: var(--shadow-heavy);
  transition: var(--transition);
}

.book-3d-large:hover .book-cover-large {
  transform: rotateY(-10deg) rotateX(5deg);
}

.book-glow {
  position: absolute;
  top: -20px;
  left: -20px;
  right: -20px;
  bottom: -20px;
  background: radial-gradient(ellipse, rgba(139, 69, 19, 0.3), transparent);
  border-radius: 25px;
  z-index: -1;
  animation: bookGlow 4s infinite ease-in-out;
}

@keyframes bookGlow {
  0%,
  100% {
    opacity: 0.5;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.05);
  }
}

.book-info-overlay {
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(26, 26, 26, 0.9);
  backdrop-filter: blur(10px);
  padding: 1.5rem;
  border-radius: 15px;
  text-align: center;
  min-width: 250px;
}

.rating {
  margin-bottom: 1rem;
}

.stars {
  color: var(--accent-gold);
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.rating span {
  font-size: 0.9rem;
  color: var(--gray-light);
}

.publisher span {
  display: block;
  font-size: 0.8rem;
  color: var(--gray-medium);
  margin-bottom: 0.2rem;
}

.publisher strong {
  color: var(--white);
}

.book-details h3 {
  font-family: var(--font-primary);
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--white);
}

.book-details p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--gray-light);
  margin-bottom: 2rem;
}

.book-features {
  margin-bottom: 2rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.feature-item i {
  color: var(--brown-light);
  font-size: 1.2rem;
}

.feature-item span {
  color: var(--gray-light);
}

.book-badges {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.badge {
  padding: 0.5rem 1rem;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 600;
}

.badge.available {
  background: rgba(34, 197, 94, 0.2);
  color: #22c55e;
  border: 1px solid #22c55e;
}

.badge.publisher {
  background: rgba(139, 69, 19, 0.2);
  color: var(--brown-light);
  border: 1px solid var(--brown-medium);
}

.book-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Sample Section */
.sample-section {
  position: relative;
  background: linear-gradient(135deg, #8b4513 0%, #a0522d 50%, #d2b48c 100%);
  color: var(--white);
  overflow: hidden;
  padding: 8rem 0;
}

.sample-section .container-fluid {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
}

.sample-content {
  position: relative;
  z-index: 2;
}

.sample-section .section-subtitle {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 1rem;
}

.sample-section .section-title {
  color: var(--white);
  font-family: var(--font-primary);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.sample-section .section-description {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.2rem;
  line-height: 1.8;
  max-width: 700px;
  margin: 0 auto 4rem;
}

.download-container {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.download-center {
  width: 100%;
  max-width: 800px;
  text-align: center;
}

.download-left {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.file-preview-card {
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 3rem;
  text-align: center;
  transition: var(--transition);
}

.file-preview-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.file-icon-large {
  font-size: 5rem;
  color: #d2b48c;
  margin-bottom: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.file-details h4 {
  font-family: var(--font-primary);
  font-size: 1.8rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.filename {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  margin-bottom: 1rem;
}

.file-size {
  display: inline-block;
  background: rgba(210, 180, 140, 0.2);
  color: #d2b48c;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
}

.download-features {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.download-features .feature-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--white);
}

.download-features .feature-item i {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #d2b48c;
  font-size: 1.2rem;
}

.download-features .feature-item span {
  font-size: 1.1rem;
  font-weight: 500;
}

/* Download Options Styles */
.download-options {
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 2rem;
  margin-top: 2rem;
  transition: opacity 0.3s ease;
}

.download-options.transparent {
  opacity: 0.3;
  pointer-events: none;
}

.download-options.transparent .download-option {
  cursor: not-allowed;
}

.options-title {
  font-family: var(--font-primary);
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 1.5rem;
  text-align: center;
}

.download-option {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 15px;
  padding: 1.5rem;
  margin-bottom: 1rem;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.download-option .btn-download-direct {
  pointer-events: auto;
}

.download-option:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(210, 180, 140, 0.5);
  transform: translateY(-2px);
}

.download-option.selected {
  background: rgba(210, 180, 140, 0.2);
  border-color: #d2b48c;
  box-shadow: 0 5px 20px rgba(210, 180, 140, 0.3);
}

/* Direct Download Button Styles */
.btn-download-direct {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: white;
  border: none;
  border-radius: 10px;
  padding: 0.8rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 120px;
  justify-content: center;
  pointer-events: auto;
  z-index: 10;
  position: relative;
}

.btn-download-direct:hover {
  background: linear-gradient(135deg, #16a34a, #15803d);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(34, 197, 94, 0.4);
}

.btn-download-direct:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.btn-download-direct.downloaded {
  background: linear-gradient(135deg, #059669, #047857);
}

.spinner-small {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top: 2px solid white;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.option-icon {
  width: 50px;
  height: 50px;
  background: rgba(210, 180, 140, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #d2b48c;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.option-icon .fa-file-pdf {
  color: #dc3545;
}

.option-details {
  flex: 1;
}

.option-details h5 {
  font-family: var(--font-primary);
  font-size: 1.2rem;
  color: var(--white);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.option-details p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  line-height: 1.4;
  margin: 0;
}

.option-radio {
  position: relative;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.option-radio input[type="radio"] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.option-radio label {
  position: absolute;
  top: 0;
  left: 0;
  width: 24px;
  height: 24px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition);
}

.option-radio input[type="radio"]:checked + label {
  border-color: #d2b48c;
  background: #d2b48c;
}

.option-radio input[type="radio"]:checked + label::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  background: var(--white);
  border-radius: 50%;
}

.download-right {
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 3rem;
}

.sample-form .form-group {
  position: relative;
  margin-bottom: 2.5rem;
}

.sample-form label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: #d2b48c;
  margin-bottom: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.sample-form input,
.sample-form textarea {
  width: 100%;
  padding: 1rem 0;
  background: transparent;
  border: none;
  border-bottom: 2px solid rgba(255, 255, 255, 0.3);
  color: var(--white);
  font-size: 1.1rem;
  transition: var(--transition);
  resize: vertical;
}

.sample-form input:focus,
.sample-form textarea:focus {
  outline: none;
  border-bottom-color: #d2b48c;
}

.sample-form input::placeholder,
.sample-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
  font-style: italic;
}

.input-underline {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #d2b48c, #daa520);
  transition: var(--transition);
}

.sample-form input:focus + .input-underline,
.sample-form textarea:focus + .input-underline {
  width: 100%;
}

.btn-download-sample {
  width: 100%;
  background: linear-gradient(135deg, #8b4513, #a0522d);
  color: var(--white);
  border: 2px solid transparent;
  padding: 1.2rem 2rem;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  position: relative;
  overflow: hidden;
  margin-bottom: 2rem;
}

.btn-download-sample:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  background: linear-gradient(135deg, #a0522d, #d2b48c);
}

.btn-download-sample:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.btn-download-sample .btn-loading {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: var(--transition);
}

.btn-download-sample.loading span {
  opacity: 0;
}

.btn-download-sample.loading .btn-loading {
  opacity: 1;
}

.spinner {
  width: 24px;
  height: 24px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top: 3px solid var(--white);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.privacy-disclaimer {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
  line-height: 1.6;
  font-style: italic;
}

/* Responsive Design for Sample Section */
@media (max-width: 1024px) {
  .download-container {
    padding: 0 1rem;
  }

  .download-center {
    max-width: 100%;
  }

  .sample-section {
    padding: 6rem 0;
  }
}

@media (max-width: 768px) {
  .file-preview-card {
    padding: 2rem;
  }

  .file-icon-large {
    font-size: 4rem;
  }

  .download-right {
    padding: 2rem;
  }

  .sample-section .section-title {
    font-size: 2.5rem;
  }

  .download-options {
    padding: 1.5rem;
  }

  .download-option {
    padding: 1rem;
    flex-direction: column;
    text-align: center;
    gap: 0.8rem;
    justify-content: center;
  }

  .btn-download-direct {
    min-width: 100px;
    padding: 0.6rem 1rem;
    font-size: 0.8rem;
  }

  .option-details {
    text-align: center;
  }

  .option-radio {
    align-self: center;
  }
}

@media (max-width: 480px) {
  .download-container {
    gap: 3rem;
  }

  .file-preview-card {
    padding: 1.5rem;
  }

  .file-icon-large {
    font-size: 3rem;
  }

  .sample-section {
    padding: 4rem 0;
  }

  .download-options {
    padding: 1rem;
  }

  .options-title {
    font-size: 1.3rem;
  }

  .download-option {
    padding: 1rem;
  }

  .option-details h5 {
    font-size: 1.1rem;
  }

  .option-details p {
    font-size: 0.8rem;
  }

  .option-icon {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  .btn-download-file {
    padding: 1rem 1.5rem;
    font-size: 0.9rem;
  }

  .download-features {
    gap: 1rem;
  }

  .feature-item {
    font-size: 0.85rem;
  }
}

@media (max-width: 320px) {
  .sample-section {
    padding: 3rem 0;
  }

  .download-container {
    gap: 2rem;
  }

  .download-options {
    padding: 0.8rem;
  }

  .download-option {
    padding: 0.8rem;
    gap: 0.6rem;
  }

  .option-details h5 {
    font-size: 1rem;
  }

  .option-details p {
    font-size: 0.75rem;
  }

  .btn-download-file {
    padding: 0.8rem 1.2rem;
    font-size: 0.85rem;
  }

  .sample-section .section-title {
    font-size: 2rem;
  }
}

/* Promotion Code Section */
.promo-section {
  position: relative;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #8b4513 100%);
  color: var(--white);
  overflow: hidden;
  padding: 8rem 0;
}

.promo-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 30% 50%, rgba(139, 69, 19, 0.2), transparent),
              radial-gradient(circle at 70% 50%, rgba(210, 180, 140, 0.1), transparent);
  pointer-events: none;
}

.promo-content {
  position: relative;
  z-index: 2;
}

.promo-section .section-subtitle {
  color: rgba(255, 255, 255, 0.8);
}

.promo-section .section-title {
  color: var(--white);
}

.promo-section .section-description {
  color: rgba(255, 255, 255, 0.9);
}

.promo-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto;
  align-items: start;
}

.promo-left {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.promo-code-card {
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 25px;
  padding: 3rem;
  text-align: center;
  transition: var(--transition);
}

.promo-code-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  border-color: rgba(210, 180, 140, 0.4);
}

.promo-icon-large {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, #d2b48c, #daa520);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  font-size: 3rem;
  color: var(--white);
  box-shadow: 0 10px 30px rgba(210, 180, 140, 0.3);
  animation: pulse-glow 2s infinite ease-in-out;
}

@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 10px 30px rgba(210, 180, 140, 0.3);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 15px 40px rgba(210, 180, 140, 0.5);
    transform: scale(1.05);
  }
}

.promo-code-card h3 {
  font-family: var(--font-primary);
  font-size: 2rem;
  color: var(--white);
  margin-bottom: 1rem;
}

.promo-instruction {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.promo-input-group {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

#promo-code-input {
  flex: 1;
  padding: 1.2rem 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50px;
  color: var(--white);
  font-size: 1.1rem;
  text-align: center;
  letter-spacing: 3px;
  font-weight: 600;
  transition: var(--transition);
  text-transform: uppercase;
}

#promo-code-input:focus {
  outline: none;
  border-color: #d2b48c;
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 20px rgba(210, 180, 140, 0.3);
}

#promo-code-input:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

#promo-code-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 1px;
  text-transform: none;
}

.btn-verify-promo {
  padding: 1.2rem 2.5rem;
  background: linear-gradient(135deg, #d2b48c, #daa520);
  color: var(--white);
  border: none;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  white-space: nowrap;
}

.btn-verify-promo:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(210, 180, 140, 0.4);
  background: linear-gradient(135deg, #daa520, #d2b48c);
}

.btn-verify-promo:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.btn-verify-promo.verified {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  cursor: default;
}

.btn-verify-promo.verified:hover {
  transform: none;
}

.promo-error,
.promo-success {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 500;
  text-align: center;
}

.promo-error {
  background: rgba(239, 68, 68, 0.2);
  border: 1px solid rgba(239, 68, 68, 0.5);
  color: #fca5a5;
}

.promo-success {
  background: rgba(34, 197, 94, 0.2);
  border: 1px solid rgba(34, 197, 94, 0.5);
  color: #86efac;
}

.promo-error.hidden,
.promo-success.hidden {
  display: none;
}

.shake {
  animation: shake 0.5s ease-in-out;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
  20%, 40%, 60%, 80% { transform: translateX(5px); }
}

.fade-in-msg {
  animation: fadeInUp 0.5s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.promo-features {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 2rem;
}

.promo-features .feature-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--white);
}

.promo-features .feature-item i {
  width: 50px;
  height: 50px;
  background: rgba(210, 180, 140, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #d2b48c;
  font-size: 1.3rem;
}

.promo-features .feature-item span {
  font-size: 1.1rem;
  font-weight: 500;
}

.promo-right {
  display: flex;
  flex-direction: column;
}

.promo-download-options {
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 25px;
  padding: 3rem;
  transition: var(--transition);
}

.promo-download-options.hidden {
  display: none;
}

.slide-in-up {
  animation: slideInUp 0.6s ease-out;
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.promo-options-title {
  font-family: var(--font-primary);
  font-size: 1.8rem;
  color: var(--white);
  margin-bottom: 2rem;
  text-align: center;
}

.promo-download-option {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 15px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  transition: var(--transition);
}

.promo-download-option:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(210, 180, 140, 0.5);
  transform: translateX(5px);
}

.promo-download-option .option-icon {
  width: 60px;
  height: 60px;
  background: rgba(210, 180, 140, 0.2);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  flex-shrink: 0;
}

.promo-download-option .option-icon .fa-file-pdf {
  color: #dc3545;
}

.promo-download-option .option-details {
  flex: 1;
}

.promo-download-option .option-details h5 {
  font-family: var(--font-primary);
  font-size: 1.2rem;
  color: var(--white);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.promo-download-option .option-details p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  line-height: 1.4;
  margin: 0;
}

.btn-download-promo-file {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  border: none;
  border-radius: 50%;
  color: var(--white);
  font-size: 1.3rem;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.btn-download-promo-file:hover {
  transform: scale(1.1) rotate(10deg);
  box-shadow: 0 5px 20px rgba(34, 197, 94, 0.4);
}

.btn-download-promo-file:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.btn-download-promo-file.downloaded {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.spinner-small {
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top: 3px solid var(--white);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.promo-download-note {
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  margin-top: 1rem;
  padding: 1rem;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: 10px;
}

.promo-download-note i {
  margin-right: 0.5rem;
  color: #22c55e;
}

/* Responsive Design for Promo Section */
@media (max-width: 1024px) {
  .promo-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .promo-section {
    padding: 6rem 0;
  }
}

@media (max-width: 768px) {
  .promo-code-card {
    padding: 2rem;
  }
  
  .promo-input-group {
    flex-direction: column;
  }
  
  .btn-verify-promo {
    width: 100%;
    justify-content: center;
  }
  
  .promo-download-options {
    padding: 2rem;
  }
  
  .promo-download-option {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  
  .promo-download-option .option-details {
    text-align: center;
  }
  
  .btn-download-promo-file {
    align-self: center;
  }
}

@media (max-width: 480px) {
  .promo-section {
    padding: 4rem 0;
  }
  
  .promo-code-card {
    padding: 1.5rem;
  }
  
  .promo-icon-large {
    width: 80px;
    height: 80px;
    font-size: 2.5rem;
  }
  
  .promo-code-card h3 {
    font-size: 1.5rem;
  }
  
  .promo-download-options {
    padding: 1.5rem;
  }
  
  .promo-options-title {
    font-size: 1.5rem;
  }
  
  .promo-download-option {
    padding: 1rem;
  }
  
  .promo-download-option .option-icon {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }
  
  .promo-download-option .option-details h5 {
    font-size: 1.1rem;
  }
}

/* Contact Section */
.contact-section {
  background: var(--off-white);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-info h3 {
  font-family: var(--font-primary);
  font-size: 2rem;
  color: var(--primary-black);
  margin-bottom: 1.5rem;
}

.contact-info p {
  font-size: 1.1rem;
  color: var(--gray-medium);
  line-height: 1.8;
  margin-bottom: 3rem;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.contact-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--brown-light), var(--brown-medium));
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.5rem;
}

.contact-text h4 {
  font-size: 1.2rem;
  color: var(--primary-black);
  margin-bottom: 0.5rem;
}

.contact-text p {
  color: var(--gray-medium);
  margin: 0;
}

.contact-form {
  background: var(--white);
  padding: 3rem;
  border-radius: 20px;
  box-shadow: var(--shadow-medium);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.contact-form .form-group {
  margin-bottom: 2rem;
}

.contact-form label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary-black);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 1rem 0;
  background: transparent;
  border: none;
  border-bottom: 2px solid var(--gray-light);
  color: var(--primary-black);
  font-size: 1rem;
  transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-bottom-color: var(--brown-medium);
}

.contact-form .input-line {
  background: var(--brown-medium);
}

/* Footer */
.footer {
  background: var(--primary-black);
  color: var(--white);
  padding: 4rem 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 3rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.footer-left p {
  color: var(--gray-light);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 45px;
  height: 45px;
  background: rgba(139, 69, 19, 0.2);
  border: 1px solid var(--brown-medium);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brown-light);
  text-decoration: none;
  transition: var(--transition);
}

.social-link:hover {
  background: var(--brown-medium);
  color: var(--white);
  transform: translateY(-2px);
}

.footer-center h4,
.footer-right h4 {
  font-family: var(--font-primary);
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  color: var(--brown-light);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: var(--gray-light);
  text-decoration: none;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--brown-light);
}

.book-info p {
  color: var(--gray-light);
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.book-info strong {
  color: var(--white);
}

.footer-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--brown-medium), transparent);
  margin-bottom: 2rem;
}

.footer-bottom {
  text-align: center;
}

.footer-bottom p {
  color: var(--gray-medium);
  font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .container-fluid {
    padding: 0 1.5rem;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .book-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .download-form-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .contact-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--primary-black);
    flex-direction: column;
    padding: 2rem;
    gap: 1rem;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
  }

  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .hamburger {
    display: flex;
  }

  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }

  .hero-stats {
    justify-content: center;
    gap: 2rem;
  }

  .hero-buttons {
    justify-content: center;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .book-3d {
    width: 250px;
    height: 350px;
  }

  .book-cover-large {
    width: 280px;
    height: 400px;
  }
}

@media (max-width: 480px) {
  .container-fluid {
    padding: 0 1rem;
  }

  section {
    padding: 4rem 0;
  }

  .hero-section {
    min-height: 90vh;
  }

  .hero-stats {
    gap: 1.5rem;
  }

  .stat-number {
    font-size: 2rem;
  }

  .book-3d {
    width: 200px;
    height: 280px;
  }

  .book-cover-large {
    width: 220px;
    height: 320px;
  }

  .download-form {
    padding: 2rem;
  }

  .contact-form {
    padding: 2rem;
  }
}

/* Animation Classes */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.slide-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.8s ease;
}

.slide-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.slide-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.8s ease;
}

.slide-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.scale-in {
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.8s ease;
}

.scale-in.visible {
  opacity: 1;
  transform: scale(1);
}

/* Utility Classes */
.text-gradient {
  background: linear-gradient(135deg, var(--brown-light), var(--accent-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.glass-effect {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hover-lift {
  transition: var(--transition);
}

.hover-lift:hover {
  transform: translateY(-5px);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--gray-light);
}

::-webkit-scrollbar-thumb {
  background: var(--brown-medium);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--brown-dark);
}

/* Download File Button Styles */
.btn-download-file {
  width: 100%;
  background: linear-gradient(135deg, #6b7280, #9ca3af);
  color: var(--white);
  border: 2px solid transparent;
  padding: 1.2rem 2rem;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: not-allowed;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  position: relative;
  overflow: hidden;
  margin-top: 2rem;
  opacity: 0.6;
}

.btn-download-file:enabled {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  cursor: pointer;
  opacity: 1;
}

.btn-download-file:enabled:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(34, 197, 94, 0.3);
  background: linear-gradient(135deg, #16a34a, #15803d);
}

.btn-download-file:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.btn-download-file.loading span {
  opacity: 0;
}

.btn-download-file.loading .btn-loading {
  opacity: 1;
}

.download-requirement {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
  margin-top: 0.5rem;
  font-style: italic;
}

.download-requirement.hidden {
  display: none;
}

/* Submit Info Button */
.btn-submit-info {
  width: 100%;
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: var(--white);
  border: 2px solid transparent;
  padding: 1.2rem 2rem;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  position: relative;
  overflow: hidden;
  margin-bottom: 2rem;
}

.btn-submit-info:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
}

.btn-submit-info:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.btn-submit-info.loading span {
  opacity: 0;
}

.btn-submit-info.loading .btn-loading {
  opacity: 1;
}

/* Success state for form */
.form-submitted {
  opacity: 0.7;
  pointer-events: none;
}

.form-submitted .btn-submit-info {
  background: linear-gradient(135deg, #22c55e, #16a34a);
}

.form-submitted .btn-submit-info span::before {
  content: "✓ Information Submitted - ";
}
