/* Font */
@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');

/* General Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
  font-family: "Lato", sans-serif;
}

/* Base Layout */
body {
  font-family: system-ui, sans-serif;
  margin: 0;
  background-color: #f9fafb;
  color: #1f2937;
}

img {
  display: block;
  margin: auto;
  width: 60%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.5rem;
  font-weight: bold;
}

.logo img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.countdown {
  font-weight: bold;
  font-size: 1.2em;
}

/* Optional */
#lang-options button {
  font-size: 14px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

ul.green-tick-list {
  list-style: none;
  padding-left: 0;
}

ul.green-tick-list li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 10px;
  font-size: 16px;
}

ul.green-tick-list li::before {
  content: "\f00c"; /* Font Awesome check icon */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: #34b233;
  position: absolute;
  left: 0;
  top: 0;
}

.ml-embedded form {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

    @media (min-width: 640px) {
      .ml-embedded form {
        flex-direction: row;
        align-items: center;
      }
    }

    .ml-embedded input[type="email"] {
      padding: 0.5rem 1rem;
      border-radius: 0.375rem;
      border: 1px solid #d1d5db;
      width: 100%;
    }

    .ml-embedded button {
      background-color: #2563eb;
      color: white;
      padding: 0.5rem 1.5rem;
      border-radius: 0.375rem;
      transition: background-color 0.2s;
    }

    .ml-embedded button:hover {
      background-color: #1d4ed8;
    }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: white;
  padding: 0.1rem 0.1rem;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}


/* Navigation */
.navbar {
  background: white;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  padding: 1rem 0;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.nav-menu {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin-bottom: 0.5rem;
}

.nav-menu li a {
  text-decoration: none;
  color: #1f2937;
  font-weight: 500;
}

.nav-menu li a:hover {
  color: #2563eb;
}

@media (min-width: 768px) {
  .nav-container {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .logo {
    margin-bottom: 0;
  }
}

/* Hamburger Button */
.hamburger {
  font-size: 1.8rem;
  background: none;
  border: none;
  cursor: pointer;
  display: none; /* hidden on desktop */
}

/* Mobile Navigation */
.nav-menu {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

@media (max-width: 768px) {
  .nav-container {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0 1rem;
  }

  .logo {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0.2rem;
  }

  .logo span {
    font-size: 0.8rem;
  }

  .hamburger {
    display: block;
    font-size: 1.8rem;
    background: none;
    border: none;
    cursor: pointer;
  }

  .nav-menu {
    display: none;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin-top: 1rem;
  }

  .nav-menu.show {
    display: flex;
  }

  #lang-dropdown {
    width: 35%;
    text-align: center;
    position: relative;
  }

  #lang-dropdown button {
    margin: 0 auto;
  }

  #lang-options {
    right: auto;
    left: 50%;
    transform: translateX(-50%);
  }
}

@media (min-width: 769px) {
  .nav-container {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .nav-menu {
    display: flex !important;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 0;
  }

  .hamburger {
    display: none;
  }

  #lang-dropdown {
    position: relative;
    text-align: right;
    margin-top: 0;
    width: auto;
  }

  #lang-options {
    right: 0;
    left: auto;
    transform: none;
  }
}

/* Language Dropdown */
.language-dropdown {
  display: flex;
  gap: 0.5rem;
}

.lang-options {
  list-style: none;
  display: flex;
  gap: 0.5rem;
}

.lang-options button {
  background: transparent;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
}

.lang-options button:hover {
  transform: scale(1.1);
}

/* Fade In & Fade Out Effect */
.fade-section {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  will-change: opacity, transform;
}

.fade-section.visible {
  opacity: 1;
  transform: translateY(0);
}


/* Hero Section */
.hero {
  text-align: center;
  background: linear-gradient(to bottom right, #dbeafe, #f0f9ff);
  padding: 4rem 1rem;
}
.hero-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.hero-content p {
  font-size: 1.125rem;
  margin-bottom: 2rem;
}
.cta-button {
  display: inline-block;
  background: #2563eb;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s;
}
.cta-button:hover {
  background: #1e40af;
}

/* Features */
.features {
  padding: 4rem 1rem;
}
.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 768px) {
  .grid {
    grid-template-columns: 1fr 1fr;
  }
}
.ebook-cover {
  width: 100%;
  border-radius: 0.5rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

/* Pricing */
.pricing {
  background: #fff;
  padding: 4rem 1rem;
  text-align: center;
}
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 768px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.price-card {
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  padding: 2rem;
  background: #f9fafb;
}
.price {
  font-size: 2rem;
  margin: 1rem 0;
  font-weight: bold;
}
.btn-download,
.btn-buy {
  display: inline-block;
  padding: 0.75rem 1.25rem;
  border-radius: 0.5rem;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s;
}
.btn-download {
  background: #10b981;
  color: white;
}
.btn-download:hover {
  background: #059669;
}
.btn-buy {
  background: #fbbf24;
  color: white;
}
.btn-buy:hover {
  background: #f59e0b;
}

/* Testimonials */
.testimonials {
  background: #f3f4f6;
  padding: 4rem 1rem;
}
.testimonial-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .testimonial-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .testimonial-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
blockquote {
  background: #fff;
  padding: 1.5rem;
  border-radius: 0.5rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}
blockquote footer {
  margin-top: 1rem;
  font-weight: 600;
  color: #4b5563;
}

/* Scroll to Top Button */
.scroll-top {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  background-color: #fff; /* dark gray */
  color: #1f2937;
  border: 1px solid grey;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 1.25rem;
  cursor: pointer;
  display: none; /* Hidden by default */
  z-index: 1000;
  transition: background-color 0.3s ease;
}

.scroll-top:hover {
  background-color: #2563eb; /* blue on hover */
  color: #fff;
  border: none;
}


/* Footer */
.footer {
  text-align: center;
  padding: 2rem 1rem;
  background: #fff;
  color: #6b7280;
  font-size: 0.875rem;
}
.footer a {
  color: #2563eb;
}