/* ===================================
   RESET
=================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;

  background: #071b2e;

  color: #fff;

  line-height: 1.7;

  overflow-x: hidden;
}

img {
  max-width: 100%;

  display: block;
}

a {
  text-decoration: none;
}

ul {
  list-style: none;
}

.container {
  width: 90%;

  max-width: 1200px;

  margin: auto;
}

/* ===================================
HEADER
=================================== */

header {
  position: fixed;

  width: 100%;

  top: 0;

  left: 0;

  background: rgba(7, 27, 46, 0.96);

  backdrop-filter: blur(12px);

  z-index: 1000;

  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

nav {
  display: flex;

  justify-content: space-between;

  align-items: center;

  height: 80px;
}

.logo {
  font-size: 1.5rem;

  font-weight: 800;

  color: #16a34a;
}

nav ul {
  display: flex;

  gap: 35px;
}

nav ul li a {
  color: white;

  transition: 0.3s;

  font-weight: 500;
}

nav ul li a:hover {
  color: #16a34a;
}

/* ===================================
HERO
=================================== */

.hero {
  padding: 170px 0 100px;
}

.hero-grid {
  display: grid;

  grid-template-columns: 1fr 1fr;

  align-items: center;

  gap: 80px;
}

.hero-image {
  text-align: center;
}

.hero-image img {
  width: 420px;

  margin: auto;

  filter: drop-shadow(0 25px 40px rgba(0, 0, 0, 0.45));

  transition: 0.4s;
}

.hero-image img:hover {
  transform: translateY(-12px) rotate(-2deg);
}

.badge {
  display: inline-block;

  background: #16a34a;

  padding: 8px 20px;

  border-radius: 30px;

  font-size: 0.9rem;

  margin-bottom: 25px;
}

.hero h1 {
  font-size: 3.4rem;

  line-height: 1.2;

  margin-bottom: 20px;
}

.hero h2 {
  color: #60a5fa;

  font-size: 1.6rem;

  margin-bottom: 30px;
}

.hero p {
  color: #cbd5e1;

  margin-bottom: 35px;

  font-size: 1.05rem;
}

.rating {
  margin-bottom: 25px;

  font-size: 1.2rem;

  color: #ffd43b;
}

.rating span {
  color: white;

  margin-left: 10px;
}

.price {
  font-size: 3rem;

  font-weight: 800;

  color: #16a34a;

  margin-bottom: 30px;
}

.buttons {
  display: flex;

  gap: 20px;

  margin-bottom: 40px;
}

.btn-primary {
  background: #16a34a;

  color: white;

  padding: 16px 40px;

  border-radius: 8px;

  font-weight: 700;

  transition: 0.3s;
}

.btn-primary:hover {
  background: #15803d;

  transform: translateY(-4px);
}

.btn-secondary {
  border: 2px solid #2563eb;

  color: white;

  padding: 16px 35px;

  border-radius: 8px;

  transition: 0.3s;
}

.btn-secondary:hover {
  background: #2563eb;
}

.hero-features {
  display: grid;

  grid-template-columns: repeat(2, 1fr);

  gap: 15px;

  color: #cbd5e1;
}

/* ===================================
BOOK STATS
=================================== */

.stats {
  padding: 70px 0;
}

.stats-grid {
  display: grid;

  grid-template-columns: repeat(4, 1fr);

  gap: 30px;
}

.stat-box {
  background: #102a43;

  border-radius: 15px;

  padding: 40px;

  text-align: center;

  transition: 0.35s;
}

.stat-box:hover {
  transform: translateY(-8px);

  background: #163857;
}

.stat-box h3 {
  font-size: 3rem;

  color: #16a34a;

  margin-bottom: 10px;
}

.stat-box p {
  color: #cbd5e1;
}

/* ===================================
SECTION TITLE
=================================== */

.section-title {
  text-align: center;

  margin-bottom: 70px;
}

.section-title span {
  color: #16a34a;

  font-weight: 700;

  letter-spacing: 2px;

  text-transform: uppercase;
}

.section-title h2 {
  font-size: 2.5rem;

  margin: 20px 0;
}

.section-title p {
  max-width: 700px;

  margin: auto;

  color: #cbd5e1;
}

/* ===================================
ABOUT
=================================== */

.about {
  padding: 120px 0;
}

.about-grid {
  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 80px;

  align-items: center;
}

.about-grid img {
  border-radius: 18px;

  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
}

.about-grid h3 {
  font-size: 2rem;

  margin-bottom: 25px;
}

.about-grid p {
  color: #cbd5e1;

  margin-bottom: 30px;
}

.check-list {
  display: grid;

  grid-template-columns: repeat(2, 1fr);

  gap: 18px;
}

.check-list li {
  background: #102a43;

  padding: 15px;

  border-radius: 10px;

  transition: 0.3s;
}

.check-list li:hover {
  background: #16a34a;
}
/* ===================================
WHY CHOOSE
=================================== */
.why {
  padding: 120px 0;
  background: #0b2239;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.card {
  background: #102a43;
  padding: 40px 30px;
  border-radius: 18px;
  transition: 0.35s;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.card:hover {
  transform: translateY(-12px);

  border-color: #16a34a;

  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.35);
}

.card .icon {
  width: 70px;

  height: 70px;

  border-radius: 50%;

  background: #16a34a;

  display: flex;

  align-items: center;

  justify-content: center;

  font-size: 2rem;

  margin-bottom: 25px;
}

.card h3 {
  font-size: 1.4rem;

  margin-bottom: 18px;
}

.card p {
  color: #cbd5e1;
}

/* ===================================
WHAT YOU LEARN
=================================== */

.learn {
  padding: 120px 0;
}

.learn-grid {
  display: grid;

  grid-template-columns: repeat(2, 1fr);

  gap: 25px;
}

.learn-item {
  background: #102a43;

  padding: 22px 30px;

  border-radius: 12px;

  transition: 0.3s;

  border-left: 5px solid #16a34a;

  font-weight: 500;
}

.learn-item:hover {
  transform: translateX(8px);

  background: #163857;
}

/* ===================================
BOOK CONTENTS
=================================== */

.contents {
  padding: 120px 0;

  background: #0b2239;
}

.contents-grid {
  display: grid;

  grid-template-columns: repeat(2, 1fr);

  gap: 35px;
}

.chapter {
  background: #102a43;

  padding: 35px;

  border-radius: 15px;

  position: relative;

  transition: 0.35s;
}

.chapter:hover {
  transform: translateY(-8px);
}

.chapter span {
  position: absolute;

  right: 25px;

  top: 25px;

  font-size: 2.3rem;

  color: rgba(255, 255, 255, 0.08);

  font-weight: 800;
}

.chapter h3 {
  margin-bottom: 15px;

  font-size: 1.4rem;
}

.chapter p {
  color: #cbd5e1;
}

/* ===================================
AUDIENCE
=================================== */

.audience {
  padding: 120px 0;
}

.audience-grid {
  display: grid;

  grid-template-columns: repeat(4, 1fr);

  gap: 25px;
}

.audience-card {
  background: #102a43;

  padding: 35px;

  border-radius: 15px;

  text-align: center;

  transition: 0.35s;
}

.audience-card:hover {
  background: #16a34a;

  transform: translateY(-10px);
}

.audience-card h3 {
  margin-bottom: 15px;

  font-size: 1.2rem;
}

.audience-card p {
  color: #cbd5e1;
}

/* ===================================
PREVIEW
=================================== */

.preview {
  padding: 120px 0;

  background: #0b2239;
}

.preview-grid {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 30px;
}

.preview-card {
  overflow: hidden;

  border-radius: 15px;

  background: #102a43;
}

.preview-card img {
  transition: 0.5s;
}

.preview-card:hover img {
  transform: scale(1.08);
}

/* ===================================
BENEFITS
=================================== */

.benefits {
  padding: 120px 0;
}

.benefits-grid {
  display: grid;

  grid-template-columns: repeat(2, 1fr);

  gap: 35px;
}

.benefit {
  background: #102a43;

  padding: 40px;

  border-radius: 15px;

  transition: 0.3s;
}

.benefit:hover {
  transform: translateY(-8px);
}

.benefit h3 {
  margin-bottom: 18px;

  color: #16a34a;
}

.benefit p {
  color: #cbd5e1;
}

/* ===================================
TESTIMONIALS
=================================== */

.testimonials {
  padding: 120px 0;

  background: #0b2239;
}

.testimonial-grid {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 30px;
}

.testimonial {
  background: #102a43;

  border-radius: 18px;

  padding: 35px;

  transition: 0.35s;
}

.testimonial:hover {
  transform: translateY(-10px);
}

.stars {
  color: #ffd43b;

  font-size: 1.2rem;

  margin-bottom: 20px;
}

.testimonial p {
  color: #cbd5e1;

  margin-bottom: 25px;

  font-style: italic;
}

.testimonial h4 {
  color: #16a34a;
}
/*===================================
FAQ
===================================*/

.faq {
  padding: 120px 0;
}

.faq-box {
  max-width: 900px;

  margin: auto;
}

.faq-item {
  background: #102a43;

  margin-bottom: 20px;

  border-radius: 12px;

  overflow: hidden;

  border: 1px solid rgba(255, 255, 255, 0.06);

  transition: 0.3s;
}

.faq-item:hover {
  border-color: #16a34a;
}

.faq-question {
  width: 100%;

  background: none;

  border: none;

  color: #fff;

  padding: 25px 30px;

  cursor: pointer;

  font-size: 1.1rem;

  font-weight: 600;

  text-align: left;

  position: relative;
}

.faq-question::after {
  content: "+";

  position: absolute;

  right: 30px;

  font-size: 1.5rem;

  color: #16a34a;
}

.faq-item.active .faq-question::after {
  content: "−";
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease;
    padding: 0 15px;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 15px;
}

/*===================================
CTA
===================================*/

.cta {
  padding: 120px 0;

  background: linear-gradient(135deg, #0b2239, #102a43);
}

.cta-box {
  max-width: 900px;

  margin: auto;

  text-align: center;

  background: #102a43;

  border-radius: 20px;

  padding: 70px;

  border: 1px solid rgba(255, 255, 255, 0.06);
}

.cta-box h2 {
  font-size: 2.6rem;

  margin-bottom: 25px;
}

.cta-box p {
  color: #cbd5e1;

  max-width: 700px;

  margin: auto auto 35px;
}

.cta-price {
  font-size: 4rem;

  color: #16a34a;

  font-weight: 800;

  margin-bottom: 35px;
}

.buy-btn {
  display: inline-block;

  background: #16a34a;

  color: #fff;

  padding: 18px 55px;

  border-radius: 10px;

  font-size: 1.1rem;

  font-weight: 700;

  transition: 0.3s;
}

.buy-btn:hover {
  background: #15803d;

  transform: translateY(-6px);

  box-shadow: 0 15px 35px rgba(22, 163, 74, 0.35);
}

.secure {
  margin-top: 25px;

  color: #cbd5e1;
}

.feature-icon {
  width: 48px;
  height: 48px;
  color: #16a34a;
  margin-bottom: 20px;
  transition: 0.3s;
}

.card:hover .feature-icon {
  transform: scale(1.15);
  color: #22c55e;
}
/*===================================
FOOTER
===================================*/

footer {
  padding: 50px 0 30px;

  background: #240303;
}

.footer-grid {
  display: grid;

  grid-template-columns: 2fr 1fr 1fr;

  gap: 60px;

  margin-bottom: 50px;
}

.footer-grid h3,
.footer-grid h4 {
  margin-bottom: 20px;
}

.footer-grid p,
.footer-grid li {
  color: #cbd5e1;

  margin-bottom: 12px;
}

.footer-grid a {
  color: #cbd5e1;

  transition: 0.3s;
}

.footer-grid a:hover {
  color: #16a34a;
}

.copyright {
  text-align: center;

  padding-top: 25px;

  border-top: 1px solid rgba(255, 255, 255, 0.08);

  color: #94a3b8;
}

/*===================================
SCROLLBAR
===================================*/

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #071b2e;
}

::-webkit-scrollbar-thumb {
  background: #16a34a;

  border-radius: 20px;
}

::-webkit-scrollbar-thumb:hover {
  background: #22c55e;
}

/*===================================
TEXT SELECTION
===================================*/

::selection {
  background: #16a34a;

  color: #fff;
}

/*===================================
ANIMATIONS
===================================*/

@keyframes fadeUp {
  from {
    opacity: 0;

    transform: translateY(50px);
  }

  to {
    opacity: 1;

    transform: translateY(0);
  }
}

.hero-content {
  animation: fadeUp 0.8s ease;
}

.hero-image {
  animation: fadeUp 1s ease;
}

/*===================================
UTILITY
===================================*/

.shadow {
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.rounded {
  border-radius: 20px;
}

.text-center {
  text-align: center;
}

.mt-30 {
  margin-top: 30px;
}

.mt-50 {
  margin-top: 50px;
}

.mb-30 {
  margin-bottom: 30px;
}

.mb-50 {
  margin-bottom: 50px;
}

.w-100 {
  width: 100%;
}

/*===================================
BACK TO TOP
===================================*/

#backToTop {
  position: fixed;

  right: 25px;

  bottom: 25px;

  width: 55px;

  height: 55px;

  background: #16a34a;

  color: #fff;

  border-radius: 50%;

  display: flex;

  justify-content: center;

  align-items: center;

  cursor: pointer;

  opacity: 0;

  visibility: hidden;

  transition: 0.3s;

  z-index: 999;
}

#backToTop.show {
  opacity: 1;

  visibility: visible;
}

#backToTop:hover {
  transform: translateY(-5px);
}
/* ===========================================
RESPONSIVE
Large Desktop
=========================================== */

@media (max-width: 1200px) {
  .container {
    width: 92%;
  }

  .hero-grid {
    gap: 50px;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .hero-image img {
    width: 360px;
  }
}

/* ===========================================
Tablet
=========================================== */

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.4rem;
  }

  .hero h2 {
    font-size: 1.3rem;
  }

  .section-title h2 {
    font-size: 2rem;
  }

  .price {
    font-size: 2.5rem;
  }

  .cta-box h2 {
    font-size: 2rem;
  }

  .cta-price {
    font-size: 3rem;
  }

  .buttons {
    flex-direction: column;

    align-items: center;
  }

  .btn-primary,
  .btn-secondary {
    width: 260px;

    text-align: center;
  }

  .hero-features {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .check-list {
    grid-template-columns: 1fr;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .audience-grid {
    grid-template-columns: 1fr;
  }

  .preview-grid {
    grid-template-columns: 1fr;
  }

  .card,
  .chapter,
  .benefit,
  .testimonial,
  .audience-card {
    padding: 30px;
  }
}
/* ===========================================
Mobile
=========================================== */

@media (max-width: 540px) {
  body {
    font-size: 15px;
  }

  .logo {
    font-size: 1.2rem;
    text-align: center;
  }

  nav ul {
    flex-direction: column;
    align-items: center;

    gap: 15px;
  }

  .hero {
    padding-top: 270px;
  }

  .hero-image img {
    width: 240px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero h2 {
    font-size: 1.1rem;
  }

  .section-title h2 {
    font-size: 1.7rem;
  }

  .about,
  .why,
  .learn,
  .contents,
  .audience,
  .preview,
  .benefits,
  .testimonials,
  .faq,
  .cta {
    padding: 80px 0;
  }

  .cta-box {
    padding: 40px 20px;
  }

  .buy-btn {
    width: 100%;
  }

  .faq-question {
    padding: 20px;

    font-size: 1rem;
  }

  .faq-answer p {
    padding: 0 20px 20px;
  }

  #backToTop {
    width: 45px;

    height: 45px;

    right: 15px;

    bottom: 15px;
  }
}


/* Mobile Responsive */
@media screen and (max-width: 768px) {

    html{
        font-size: 50%;
    }

    .navbar{
        height: auto;
        padding: 1rem;
    }

    .nav-item{
        width: auto;
        margin: 0.5rem;
        padding: 1rem 2rem;
        font-size: 1.6rem;
    }

    .header,
    .imgr{
        height: auto;
        min-height: 50vh;
    }

    h1,
    h2{
        font-size: 3rem;
        text-align: center;
    }

    p{
        font-size: 1.6rem;
    }
