/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Colors - HSL format */
  --background: 210 30% 8%;
  --foreground: 45 100% 95%;

  --card: 210 25% 12%;
  --card-foreground: 45 100% 95%;

  --popover: 210 30% 10%;
  --popover-foreground: 45 100% 95%;

  --primary: 210 60% 35%;
  --primary-foreground: 45 100% 95%;

  --secondary: 45 95% 55%;
  --secondary-foreground: 210 30% 8%;

  --muted: 210 20% 20%;
  --muted-foreground: 45 20% 70%;

  --accent: 45 95% 55%;
  --accent-foreground: 210 30% 8%;

  --destructive: 0 84.2% 60.2%;
  --destructive-foreground: 45 100% 95%;

  --border: 210 20% 25%;
  --input: 210 20% 20%;
  --ring: 45 95% 55%;

  --radius: 0.75rem;

  --gradient-poker: linear-gradient(135deg, hsl(210 60% 35%) 0%, hsl(210 50% 25%) 100%);
  --gradient-gold: linear-gradient(135deg, hsl(45 95% 55%) 0%, hsl(38 90% 50%) 100%);
  --gradient-hero: linear-gradient(180deg, hsl(210 30% 8%) 0%, hsl(210 35% 15%) 100%);
  
  --shadow-poker: 0 10px 40px -10px hsl(210 60% 35% / 0.4);
  --shadow-gold: 0 10px 40px -10px hsl(45 95% 55% / 0.5);
  --shadow-card: 0 8px 32px hsl(0 0% 0% / 0.3);
  
  --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Custom Scrollbar - Fundo invisível e thumb na cor do site */
/* Webkit browsers (Chrome, Safari, Edge) */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: hsl(var(--accent));
  border-radius: 10px;
  border: 2px solid transparent;
  background-clip: padding-box;
}

::-webkit-scrollbar-thumb:hover {
  background: hsl(var(--secondary));
  background-clip: padding-box;
}

/* Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: hsl(var(--accent)) transparent;
}

/* Container */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .container {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 2rem;
  }
}

/* Utility Classes */
.text-gradient-gold {
  background: linear-gradient(to right, hsl(var(--accent)), hsl(45 92% 47%));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-accent {
  color: hsl(var(--accent));
}

.font-semibold {
  font-weight: 600;
}

.inline-block {
  display: inline-block;
}

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

.pt-4 {
  padding-top: 1rem;
}

/* Animations */
@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

@keyframes glow {
  from {
    filter: drop-shadow(0 0 10px hsl(var(--accent) / 0.5));
  }
  to {
    filter: drop-shadow(0 0 30px hsl(var(--accent) / 0.8));
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

.animate-float {
  animation: float 6s ease-in-out infinite;
}

.animate-glow {
  animation: glow 2s ease-in-out infinite alternate;
}

.animate-slide-up {
  animation: slideUp 0.6s ease-out;
}

.animate-scale-in {
  animation: scaleIn 0.5s ease-out;
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

@media (max-width: 767px) {
  .hero-section {
    min-height: auto;
    padding-bottom: 2rem;
  }
}

.hero-background {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url('../img/poker-hero.jpg');
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, hsl(var(--background) / 0.95), hsl(var(--background) / 0.90), hsl(var(--background)));
}

.hero-section .container {
  position: relative;
  z-index: 10;
  padding-top: 0rem;
  padding-bottom: 8rem;
}

@media (max-width: 767px) {
  .hero-section .container {
    padding-top: 0;
    padding-bottom: 3rem;
  }
}

.hero-content {
  display: grid;
  gap: 3rem;
  grid-template-columns: 1fr;
  align-items: center;
  justify-items: end;
  min-height: 90vh;
}

@media (max-width: 767px) {
  .hero-content {
    min-height: auto;
    gap: 2rem;
    justify-items: center;
  }
}

@media (min-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    justify-items: end;
  }
}

.hero-text {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: flex-end;
  text-align: right;
  width: 100%;
  max-width: 100%;
}

.hero-text .inline-block {
  align-self: flex-end;
}

@media (max-width: 767px) {
  .hero-text {
    gap: 1.5rem;
    order: 1; /* Texto primeiro no mobile */
    align-items: center;
    text-align: center;
  }
  
  .hero-text .inline-block {
    align-self: center;
  }
  
  .hero-video {
    order: 2; /* Vídeo depois do texto no mobile */
  }
  
  .hero-buttons {
    align-items: center;
  }
  
  .stat-item {
    text-align: center;
    align-items: center;
  }
}

@media (max-width: 767px) and (min-width: 640px) {
  .hero-buttons {
    justify-content: center;
  }
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  background-color: hsl(var(--primary) / 0.2);
  color: hsl(var(--primary-foreground));
  font-size: 0.875rem;
  font-weight: 500;
  border: 1px solid hsl(var(--primary) / 0.3);
}

@media (max-width: 640px) {
  .badge-pill {
    font-size: 0.75rem;
    padding: 0.375rem 0.875rem;
  }
}

.hero-title {
  font-size: 2rem;
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

@media (min-width: 480px) {
  .hero-title {
    font-size: 2.5rem;
  }
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3.75rem;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 4.5rem;
  }
}

.hero-subtitle {
  font-size: 1rem;
  color: hsl(var(--muted-foreground));
  text-align: center;
}

@media (min-width: 480px) {
  .hero-subtitle {
    font-size: 1.125rem;
  }
}

@media (min-width: 768px) {
  .hero-subtitle {
    font-size: 1.1rem;
  }
}

@media (max-width: 767px) {
  .hero-subtitle {
    text-align: center;
  }
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-end;
}

@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
    justify-content: flex-end;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 500;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn-primary {
  background-color: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  box-shadow: 0 10px 40px -10px hsl(var(--accent) / 0.5);
}

.btn-primary:hover {
  box-shadow: 0 20px 60px -10px hsl(var(--accent) / 0.8);
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  color: hsl(var(--foreground));
  border: 1px solid hsl(var(--primary) / 0.3);
}

.btn-outline:hover {
  border-color: hsl(var(--primary));
  background-color: hsl(var(--primary) / 0.1);
}

.btn-lg {
  padding: 0.875rem 1.75rem;
  font-size: 1.125rem;
}

.btn-xl {
  padding: 1rem 2rem;
  font-size: 1.25rem;
}

.btn-icon {
  transition: transform 0.3s ease;
}

.btn:hover .btn-icon {
  transform: translateX(4px);
}

.icon-small {
  width: 1rem;
  height: 1rem;
}

.icon-medium {
  width: 1.25rem;
  height: 1.25rem;
}

/* Hero Stats */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding-top: 2rem;
}

@media (max-width: 640px) {
  .hero-stats {
    gap: 1rem;
    padding-top: 1.5rem;
  }
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  text-align: right;
  align-items: flex-end;
}

.stat-number {
  font-size: 1.875rem;
  font-weight: bold;
  color: hsl(var(--accent));
}

@media (max-width: 640px) {
  .stat-number {
    font-size: 1.5rem;
  }
}

.stat-label {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

@media (max-width: 640px) {
  .stat-label {
    font-size: 0.75rem;
  }
}

/* Hero Video VSL */
.hero-video {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

@media (min-width: 1024px) {
  .hero-video {
    justify-content: flex-start;
  }
}

.video-container {
  position: relative;
  width: 100%;
  max-width: 50rem;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 80px -20px hsl(var(--accent) / 0.6);
  border: 2px solid hsl(var(--primary) / 0.3);
  transition: all 0.3s ease;
}

@media (max-width: 640px) {
  .video-container {
    max-width: 100%;
    box-shadow: 0 10px 40px -10px hsl(var(--accent) / 0.6);
  }
}

.video-container:hover {
  transform: translateY(-4px);
  box-shadow: 0 25px 100px -20px hsl(var(--accent) / 0.8);
  border-color: hsl(var(--primary));
}

.video-player {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Gradient Orbs */
.gradient-orb {
  position: absolute;
  height: 24rem;
  width: 24rem;
  border-radius: 9999px;
  pointer-events: none;
}

.gradient-orb-1 {
  top: 25%;
  right: -8rem;
  background: hsl(var(--primary) / 0.2);
  filter: blur(100px);
}

.gradient-orb-2 {
  bottom: 25%;
  left: -8rem;
  background: hsl(var(--accent) / 0.2);
  filter: blur(100px);
}

.gradient-orb-3 {
  top: 25%;
  right: -8rem;
  background: hsl(var(--accent) / 0.2);
  filter: blur(120px);
}

.gradient-orb-4 {
  bottom: 25%;
  left: -8rem;
  background: hsl(var(--primary) / 0.2);
  filter: blur(120px);
}

/* Section Headers */
.section-header {
  max-width: 768px;
  margin: 0 auto 4rem;
  text-align: center;
}

@media (max-width: 767px) {
  .section-header {
    margin-bottom: 2rem;
  }
}

.section-title {
  font-size: 1.75rem;
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

@media (min-width: 480px) {
  .section-title {
    font-size: 2rem;
  }
}

@media (min-width: 768px) {
  .section-title {
    font-size: 3rem;
  }
}

.section-subtitle {
  font-size: 1rem;
  color: hsl(var(--muted-foreground));
}

@media (min-width: 768px) {
  .section-subtitle {
    font-size: 1.25rem;
  }
}

/* Benefits Section */
.benefits-section {
  position: relative;
  padding: 6rem 0;
  overflow: hidden;
}

@media (max-width: 767px) {
  .benefits-section {
    padding: 3rem 0;
  }
}

.benefits-background {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.1;
  background-image: url('../img/royal-flush.jpg');
  background-size: cover;
  background-position: center;
}

.benefits-section .container {
  position: relative;
  z-index: 10;
}

.benefits-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* Benefit Card */
.benefit-card {
  border-radius: var(--radius);
  border: 1px solid hsl(var(--border) / 0.5);
  background-color: hsl(var(--card) / 0.5);
  backdrop-filter: blur(8px);
  transition: all 0.3s ease;
}

@media (max-width: 767px) {
  .benefit-card:hover {
    transform: none;
  }
}

.benefit-card:hover {
  transform: scale(1.05);
  border-color: hsl(var(--primary) / 0.5);
  background-color: hsl(var(--card) / 0.8);
  box-shadow: 0 10px 40px -10px hsl(var(--primary) / 0.4);
}

.card-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (max-width: 640px) {
  .card-content {
    padding: 1.25rem;
    gap: 0.75rem;
  }
}

.benefit-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 0.5rem;
  background-color: hsl(var(--primary) / 0.2);
  color: hsl(var(--accent));
  transition: all 0.3s ease;
}

.benefit-card:hover .benefit-icon {
  background-color: hsl(var(--primary) / 0.3);
  transform: scale(1.1);
}

.benefit-icon i {
  width: 1.5rem;
  height: 1.5rem;
}

.benefit-title {
  font-size: 1.25rem;
  font-weight: 600;
}

.benefit-description {
  color: hsl(var(--muted-foreground));
}

/* Chapters Section */
.chapters-section {
  position: relative;
  padding: 6rem 0;
  background-color: hsl(var(--background));
  overflow: hidden;
}

.chapters-background {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.1;
  background-image: url('../img/poker-chips.jpg');
  background-size: cover;
  background-position: center;
}

.chapters-section .container {
  position: relative;
  z-index: 10;
}

@media (max-width: 767px) {
  .chapters-section {
    padding: 3rem 0;
  }
}

.chapters-section .section-header {
  margin-bottom: 4rem;
}

@media (max-width: 767px) {
  .chapters-section .section-header {
    margin-bottom: 2rem;
  }
}

.chapters-grid {
  display: grid;
  gap: 3rem;
  grid-template-columns: 1fr;
  align-items: start;
}

@media (min-width: 1024px) {
  .chapters-grid {
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: start;
  }
}

/* Left Column - Chapters List */
.chapters-list-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.chapters-list {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 1fr;
}

.chapter-item {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem 1.5rem;
  background-color: hsl(var(--card) / 0.6);
  border: 1px solid hsl(var(--border) / 0.5);
  border-radius: var(--radius);
  backdrop-filter: blur(8px);
  transition: all 0.3s ease;
  cursor: pointer;
}

@media (max-width: 767px) {
  .chapter-item:hover {
    transform: none;
  }
}

.chapter-item:hover {
  background-color: hsl(var(--card) / 0.9);
  border-color: hsl(var(--primary) / 0.6);
  transform: translateX(6px);
  box-shadow: 0 6px 20px hsl(var(--primary) / 0.3);
}

.chapter-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  min-width: 3rem;
  background: linear-gradient(135deg, hsl(var(--accent)), hsl(45 85% 50%));
  border-radius: 0.5rem;
  font-size: 1.125rem;
  font-weight: 700;
  color: #1a1a1a;
}

.chapter-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.chapter-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  margin: 0;
}

@media (max-width: 640px) {
  .chapter-title {
    font-size: 1rem;
  }
}

.chapter-subtitle {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  margin: 0;
}

@media (max-width: 640px) {
  .chapter-subtitle {
    font-size: 0.75rem;
  }
}

/* Right Column - Book Info */
.book-info-wrapper {
  display: flex;
  align-items: start;
  justify-content: center;
  position: sticky;
  top: 2rem;
}

.book-info-card {
  width: 100%;
  background: transparent;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

@media (min-width: 768px) {
  .book-info-card {
    padding: 3rem;
  }
}

@media (min-width: 1024px) {
  .book-info-card {
    padding: 4rem;
  }
}

.book-cover-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  position: relative;
}

.book-cover-image {
  width: 100%;
  max-width: 300px;
  height: auto;
}

@media (min-width: 640px) {
  .book-cover-image {
    max-width: 350px;
  }
}

@media (min-width: 1024px) {
  .book-cover-image {
    width: 130%;
    max-width: 500px;
  }
}

.book-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.book-stat-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
  padding: 1.5rem 1rem;
  background: linear-gradient(135deg, hsl(var(--accent) / 0.25), hsl(var(--accent) / 0.15));
  border: 1px solid hsl(var(--accent) / 0.3);
  border-radius: var(--radius);
  transition: all 0.3s ease;
}

.book-stat-box:hover {
  transform: translateY(-4px);
  background: linear-gradient(135deg, hsl(var(--accent) / 0.35), hsl(var(--accent) / 0.25));
  box-shadow: 0 10px 30px hsl(var(--accent) / 0.4);
  border-color: hsl(var(--accent) / 0.5);
}

.stat-icon {
  width: 3rem;
  height: 3rem;
  color: hsl(var(--accent));
  fill: hsl(var(--accent));
  flex-shrink: 0;
}

.stat-info {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 100%;
}

.stat-number-large {
  font-size: 2rem;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1;
}

.stat-text {
  font-size: 0.875rem;
  color: #4b5563;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

@media (max-width: 768px) {
  .chapter-item {
    padding: 1rem 1.25rem;
    gap: 1rem;
  }

  .chapter-number {
    width: 2.75rem;
    height: 2.75rem;
    min-width: 2.75rem;
    font-size: 1rem;
  }

  .book-info-wrapper {
    position: relative;
    top: 0;
  }

  .book-info-card {
    padding: 2rem;
  }
}

@media (max-width: 640px) {
  .chapter-item {
    padding: 0.875rem 1rem;
    gap: 0.875rem;
  }

  .chapter-number {
    width: 2.5rem;
    height: 2.5rem;
    min-width: 2.5rem;
    font-size: 0.875rem;
  }

  .book-info-card {
    padding: 1.5rem;
  }
}

/* About Ebook Section */
.about-ebook-section {
  position: relative;
  padding: 6rem 0;
  overflow: hidden;
}

.about-ebook-background {
  position: absolute;
  right: 0;
  top: 25%;
  height: 24rem;
  width: 24rem;
  opacity: 0.05;
  filter: blur(4px);
  background-image: url('../img/royal-flush.jpg');
  background-size: cover;
}

.about-ebook-section .container {
  position: relative;
  z-index: 10;
}

.about-ebook-grid {
  display: grid;
  gap: 3rem;
  grid-template-columns: 1fr;
  align-items: center;
}

@media (min-width: 1024px) {
  .about-ebook-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
  
  .about-ebook-image {
    order: 1;
  }
  
  .about-ebook-content {
    order: 2;
  }
}

.about-ebook-image {
  position: relative;
}

.about-ebook-glow {
  position: relative;
}

.about-ebook-glow::before {
  content: '';
  position: absolute;
  inset: -1rem;
  background: linear-gradient(to right, hsl(var(--primary) / 0.2), hsl(var(--accent) / 0.2));
  filter: blur(2rem);
  border-radius: 1rem;
  z-index: -1;
}

.about-ebook-img {
  position: relative;
  border-radius: 1rem;
  width: 100%;
  /* box-shadow: 0 20px 80px -20px hsl(var(--accent) / 0.4); */
  transition: transform 0.5s ease;
}

.about-ebook-img:hover {
  transform: scale(1.05);
}

.about-ebook-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.features-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.feature-icon {
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
  color: hsl(var(--accent));
  margin-top: 0.125rem;
}

.feature-text {
  font-size: 1.125rem;
  color: hsl(var(--foreground));
}

.guarantee-box {
  border-radius: 0.5rem;
  border: 1px solid hsl(var(--accent) / 0.3);
  background-color: hsl(var(--accent) / 0.1);
  padding: 1rem;
}

.guarantee-text {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

/* About Author Section */
.about-author-section {
  position: relative;
  padding: 6rem 0;
  background-color: hsl(var(--background));
  overflow: hidden;
}

.about-author-background {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.1;
  background-image: url('../img/poker-hands.jpg');
  background-size: cover;
  background-position: center;
}

.about-author-section .container {
  position: relative;
  z-index: 10;
}

@media (max-width: 767px) {
  .about-author-section {
    padding: 3rem 0;
  }
}

.about-author-header {
  text-align: center;
  margin-bottom: 3rem;
}

@media (max-width: 767px) {
  .about-author-header {
    margin-bottom: 2rem;
  }
}

.about-author-label {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: hsl(var(--primary));
  margin-bottom: 1rem;
}

.about-author-title {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
  color: hsl(var(--foreground));
}

.title-blue {
  color: hsl(var(--primary));
  background: linear-gradient(to right, hsl(var(--primary)), hsl(var(--accent)));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

@media (min-width: 480px) {
  .about-author-title {
    font-size: 2.25rem;
  }
}

@media (min-width: 768px) {
  .about-author-title {
    font-size: 3.5rem;
  }
}

.about-author-card {
  background: linear-gradient(to right, hsl(var(--accent) / 0.1), hsl(var(--card) / 0.8));
  border-radius: var(--radius);
  border: 1px solid hsl(var(--border) / 0.5);
  padding: 2rem;
  backdrop-filter: blur(8px);
  box-shadow: 0 20px 60px hsl(var(--primary) / 0.2);
}

@media (max-width: 640px) {
  .about-author-card {
    padding: 1.5rem;
  }
}

@media (min-width: 768px) {
  .about-author-card {
    padding: 3rem;
  }
}

.about-author-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}

@media (min-width: 1024px) {
  .about-author-grid {
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
  }
}

/* Left Column - Photo */
.about-author-photo-wrapper {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
}

.about-author-photo {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 1rem;
}

.about-author-stats-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, hsl(var(--primary) / 0.98), hsl(var(--primary) / 0.90));
  padding: 1.5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  border-radius: 0 0 1rem 1rem;
}

.stat-box {
  text-align: center;
  color: hsl(var(--primary-foreground));
}

.stat-number {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.75rem;
  opacity: 0.9;
}

/* Right Column - Content */
.about-author-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.professional-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background-color: hsl(var(--accent) / 0.2);
  border-radius: 9999px;
  width: fit-content;
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--accent-foreground));
  border: 1px solid hsl(var(--accent) / 0.3);
}

.badge-icon {
  width: 1rem;
  height: 1rem;
  color: hsl(var(--accent));
  fill: hsl(var(--accent));
}

.author-name {
  font-size: 1.75rem;
  font-weight: 700;
  color: hsl(var(--foreground));
  margin: 0;
}

@media (min-width: 480px) {
  .author-name {
    font-size: 2rem;
  }
}

.author-specialization {
  font-size: 1rem;
  color: hsl(var(--muted-foreground));
  margin: 0;
}

@media (min-width: 480px) {
  .author-specialization {
    font-size: 1.125rem;
  }
}

.achievements-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.achievement-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  background-color: hsl(var(--card) / 0.5);
  border: 1px solid hsl(var(--border) / 0.5);
  border-radius: var(--radius);
  font-size: 1rem;
  color: hsl(var(--foreground));
  backdrop-filter: blur(4px);
}

@media (max-width: 640px) {
  .achievement-item {
    padding: 0.875rem;
    font-size: 0.875rem;
    gap: 0.625rem;
  }
}

.achievement-icon {
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
  color: hsl(var(--accent));
  fill: hsl(var(--accent));
}

.author-quote {
  font-size: 1.125rem;
  line-height: 1.7;
  color: hsl(var(--foreground));
  margin: 0;
  font-style: italic;
}

@media (max-width: 640px) {
  .author-quote {
    font-size: 1rem;
  }
}

.quote-highlight {
  color: hsl(var(--accent));
  font-weight: 600;
}

@media (max-width: 768px) {
  .about-author-stats-overlay {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    padding: 1rem;
  }

  .stat-number {
    font-size: 1.25rem;
  }

  .stat-label {
    font-size: 0.7rem;
  }
}

/* Testimonials Section */
.testimonials-section {
  position: relative;
  padding: 6rem 0;
  overflow: hidden;
}

.testimonials-background {
  position: absolute;
  left: 0;
  top: 33%;
  height: 500px;
  width: 500px;
  opacity: 0.05;
  background-image: url('../img/poker-hands.jpg');
  background-size: cover;
}

.testimonials-section .container {
  position: relative;
  z-index: 10;
}

.testimonials-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
  max-width: 800px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

.testimonial-card {
  border-radius: var(--radius);
  border: 1px solid hsl(var(--primary) / 0.3);
  background-color: hsl(var(--card) / 0.8);
  backdrop-filter: blur(8px);
  transition: all 0.3s ease;
  box-shadow: 0 10px 40px -10px hsl(var(--primary) / 0.2);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  border-color: hsl(var(--primary) / 0.5);
  box-shadow: 0 15px 50px -10px hsl(var(--primary) / 0.4);
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.testimonial-avatar {
  flex-shrink: 0;
}

.testimonial-photo {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid hsl(var(--primary));
  box-shadow: 0 4px 12px hsl(var(--primary) / 0.3);
}

.testimonial-author-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.testimonial-name {
  font-weight: 600;
  color: hsl(var(--foreground));
  font-size: 1.125rem;
  margin: 0;
}

.stars {
  display: flex;
  gap: 0.25rem;
  margin: 0;
}

.star-filled {
  width: 1.125rem;
  height: 1.125rem;
  fill: #fbbf24;
  color: #fbbf24;
}

.testimonial-content {
  color: hsl(var(--muted-foreground));
  font-style: italic;
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
}

.testimonial-role {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

/* Final CTA Section */
.final-cta-section {
  position: relative;
  padding: 4rem 0;
  background-color: #ffffff;
  overflow: hidden;
}

@media (max-width: 767px) {
  .final-cta-section {
    padding: 2rem 0;
  }
}

.final-cta-section .container {
  position: relative;
  z-index: 10;
}

/* Blue box wrapper - contains ebook and price */
.final-cta-blue-box {
  /* background: linear-gradient(180deg, hsl(210 60% 35%) 0%, hsl(210 50% 30%) 100%); */
  background-color: #1a2849;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 0px 30px rgb(251, 255, 0);
  width: 100%;
  max-width: 500px;
  box-sizing: border-box;
}

@media (min-width: 480px) {
  .final-cta-blue-box {
    padding: 2.5rem;
  }
}

@media (min-width: 768px) {
  .final-cta-blue-box {
    padding: 4rem;
  }
}

.final-cta-grid {
  display: grid;
  gap: 3rem;
  grid-template-columns: 1fr;
  align-items: start;
}

@media (min-width: 1024px) {
  .final-cta-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

/* Left Side - Text Content */
.final-cta-left {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.final-cta-header {
  margin-bottom: 1rem;
}

.final-cta-title {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.3;
  color: #3b82f6;
  /* text-shadow: 0 0 3px rgba(0, 0, 0, 1); */
}

.final-cta-title span {
  text-shadow: 0 0 6px rgba(255, 238, 0, 0.5);
}

@media (min-width: 480px) {
  .final-cta-title {
    font-size: 1.75rem;
  }
}

@media (min-width: 768px) {
  .final-cta-title {
    font-size: 2.5rem;
  }
}

.final-cta-highlight {
  color: #fbbf24;
  display: block;
  font-size: 1.2em;
  margin-top: 0.5rem;
}

.final-cta-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-weight: 600;
}

.final-cta-feature-item-text {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 1rem;
  color: #3b82f6;
}

@media (min-width: 768px) {
  .final-cta-feature-item-text {
    font-size: 1.125rem;
  }
}

.feature-check-icon {
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
  color: #fbbf24;
  margin-top: 0.125rem;
}

/* Right Side - Ebook and Price */
.final-cta-right {
  display: flex;
  width: 100%;
  max-width: 400px;
  justify-content: center;
  align-items: start;
  margin: 0 auto;
}

@media (min-width: 1024px) {
  .final-cta-right {
    margin: 0;
  }
}

.final-cta-book-wrapper {
  width: 100%;
  max-width: 500px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 13px;
}

.final-cta-book-image {
  width: 100%;
  max-width: 280px;
  position: relative;
  transform-style: preserve-3d;
}

.ebook-cover-3d {
  width: 100%;
  height: auto;
  border-radius: 0.5rem;
  /* box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3); */
  transform: perspective(1000px) rotateY(-5deg);
  transition: transform 0.3s ease;
}

@media (max-width: 767px) {
  .ebook-cover-3d {
    transform: perspective(1000px) rotateY(0deg);
  }
}

.ebook-cover-3d:hover {
  transform: perspective(1000px) rotateY(0deg);
}

.best-seller-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  color: #1e3a5f;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.875rem;
  width: 100%;
  max-width: 280px;
}

.star-icon {
  width: 1rem;
  height: 1rem;
  fill: #1e3a5f;
  color: #1e3a5f;
}

.final-cta-price-box {
  text-align: center;
  width: 100%;
  padding: 1.5rem;
  /* background: linear-gradient(to bottom, #3b82f6, #1e40af); */
  border-radius: 0.75rem;
  color: white;
}

.price-from {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: #fbbf24;
}

.price-old-value {
  text-decoration: line-through;
  color: rgba(251, 191, 36, 0.7);
}

.price-new-box {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.25rem;
  margin: 1rem 0;
}

.price-currency {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fbbf24;
}

@media (min-width: 768px) {
  .price-currency {
    font-size: 2rem;
  }
}

.price-value {
  font-size: 3rem;
  font-weight: 700;
  color: #fbbf24;
  line-height: 1;
}

@media (min-width: 768px) {
  .price-value {
    font-size: 4rem;
  }
}

.price-discount {
  font-size: 1.125rem;
  color: #fbbf24;
  font-weight: 600;
  margin-top: 0.5rem;
}

.btn-buy-now {
  width: 100%;
  max-width: 240px;
  background-color: #fbbf24;
  color: #1e3a5f;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 1rem 1.5rem;
  border-radius: 0.5rem;
  box-shadow: 0 10px 30px rgba(251, 191, 36, 0.4);
  transition: all 0.3s ease;
  font-size: 14px;
}

@media (min-width: 480px) {
  .btn-buy-now {
    font-size: 15px;
    padding: 1.25rem 2rem;
  }
}

.btn-buy-now:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(251, 191, 36, 0.6);
  background-color: #f59e0b;
}

.trust-badges {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  width: 100%;
  max-width: 280px;
}

.trust-badge-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  text-align: center;
  font-size: 0.75rem;
  color: #fbbf24;
}

.trust-icon {
  width: 1.5rem;
  height: 1.5rem;
  color: #fbbf24;
}

/* Footer */
.footer {
  border-top: 1px solid hsl(var(--border) / 0.5);
  background-color: hsl(var(--card) / 0.3);
  backdrop-filter: blur(8px);
}

.footer .container {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}

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

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-title {
  font-size: 1.5rem;
  font-weight: bold;
  background: linear-gradient(to right, hsl(var(--accent)), hsl(45 92% 47%));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-text {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-heading {
  font-weight: 600;
}

.footer-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

.footer-list-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.3s ease;
  cursor: pointer;
}

.footer-list-item:hover {
  color: hsl(var(--accent));
}

.footer-list-item i {
  width: 1rem;
  height: 1rem;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

.footer-icon {
  width: 1rem;
  height: 1rem;
  color: hsl(var(--accent));
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid hsl(var(--border) / 0.5);
  text-align: center;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

.footer-disclaimer {
  margin-top: 0.5rem;
  font-size: 0.75rem;
}

/* Responsive adjustments */
@media (max-width: 640px) {
  .trust-badges {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .trust-badge-item {
    font-size: 0.7rem;
  }
}

