:root {
  /* Light and dark theme variables */
  --navbar-bg-light: #dfdac4;
  --navbar-bg-dark: #948363;
  --page-bg-light: #ffffff;
  --page-bg-dark: #000000;
  --text-light: #111;
  --text-dark: #fff;
  --primary-light: #000000;
  --primary-dark: #ffffff;
  --navbar-height: 64px;
}

html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: "Poppins", Arial, sans-serif;
  background: var(--page-bg-light);
  color: var(--text-light);
  transition: background 0.3s, color 0.3s;
}

@media (prefers-color-scheme: dark) {

  html,
  body {
    background: var(--page-bg-dark);
    color: var(--text-dark);
  }
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--page-bg-light);
  color: var(--text-light);
  transition: background 0.2s, color 0.2s;
}

@media (prefers-color-scheme: dark) {
  body {
    background: var(--page-bg-dark);
    color: var(--text-dark);
  }
}

.main-content {
  flex: 1;
}

.container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

/* Hero container override - no margin needed since hero-section handles centering */
.hero-section .container {
  margin-top: 0;
  min-height: auto;
}

/* Navbar styles */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--navbar-height);
  background: var(--navbar-bg-light);
  color: var(--text-light);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
  /* Enhanced shadow for navbar */
  z-index: 1000;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (prefers-color-scheme: dark) {
  .navbar {
    background: var(--navbar-bg-dark);
    color: var(--text-dark);
    box-shadow: 0 4px 32px rgba(0, 0, 0, 0.32);
    /* Stronger shadow in dark mode */
  }
}

.navbar-content {
  width: 100%;
  max-width: 1250px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  padding: 0 2rem;
  box-sizing: border-box;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-right: 2rem;
  /* Reduced margin between logo and menu */
}

.navbar-icon {
  width: 32px;
  height: 32px;
  margin-right: 0.75rem;
}

.navbar-title {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 1.25rem;
}

.navbar-links {
  list-style: none;
  display: flex;
  gap: 0.5rem;
  /* Reduced gap for closer menu items */
  margin: 0;
  padding: 0;
}

.navbar-links li a {
  text-decoration: none;
  color: var(--text-light);
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.2s, background 0.2s, box-shadow 0.2s;
  padding: 0.5rem 1.2rem;
  border-radius: 24px;
}

@media (prefers-color-scheme: dark) {
  .navbar-links li a {
    color: var(--text-dark);
  }
}

.navbar-links li a[href*="apps.apple.com"] {
  background: var(--page-bg-light);
  color: var(--text-light);
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--text-light);
}

@media (prefers-color-scheme: dark) {
  .navbar-links li a[href*="apps.apple.com"] {
    background: var(--page-bg-dark);
    color: var(--text-dark);
    border: 1px solid var(--text-dark);
  }
}

.navbar-links li a[href*="apps.apple.com"]:hover {
  background: #e5e5e5;
  color: var(--text-light);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
}

@media (prefers-color-scheme: dark) {
  .navbar-links li a[href*="apps.apple.com"]:hover {
    background: #222;
    color: var(--text-dark);
  }
}

/* Hamburger menu */
.navbar-toggle {
  display: none;
}

.navbar-hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  width: 32px;
  height: 32px;
  justify-content: center;
  align-items: center;
}

.navbar-hamburger span {
  height: 3px;
  width: 24px;
  background: var(--text-light);
  margin: 4px 0;
  border-radius: 2px;
  transition: all 0.3s ease-in-out;
  transform-origin: center;
}

@media (prefers-color-scheme: dark) {
  .navbar-hamburger span {
    background: var(--text-dark);
  }
}

/* Hamburger animation when menu is open */
.navbar-toggle:checked+.navbar-hamburger span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.navbar-toggle:checked+.navbar-hamburger span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.navbar-toggle:checked+.navbar-hamburger span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

@media (max-width: 768px) {
  .navbar-content {
    justify-content: space-between;
    gap: 1rem;
  }

  .navbar-hamburger {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    width: 32px;
    height: 32px;
    justify-content: center;
    align-items: center;
    margin-left: auto;
  }

  .navbar-toggle {
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 32px;
    height: 32px;
    opacity: 0;
    z-index: 1100;
  }

  .navbar-links {
    position: absolute;
    top: var(--navbar-height);
    left: 0;
    width: 100%;
    background: var(--page-bg-light);
    flex-direction: column;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    padding: 0;
    transition: all 0.4s ease-in-out;
    opacity: 0;
    transform: translateY(-10px);
  }

  @media (prefers-color-scheme: dark) {
    .navbar-links {
      background: var(--page-bg-dark);
    }
  }

  .navbar-toggle:checked~.navbar-links {
    max-height: 400px;
    padding: 0.5rem 0;
    opacity: 1;
    transform: translateY(0);
  }

  .navbar-links li {
    border-bottom: 1px solid #eee;
    text-align: left;
    padding: 0;
    opacity: 0;
    transform: translateX(-20px);
    animation: fadeInSlide 0.3s ease-in-out forwards;
  }

  .navbar-toggle:checked~.navbar-links li:nth-child(1) {
    animation-delay: 0.1s;
  }

  .navbar-toggle:checked~.navbar-links li:nth-child(2) {
    animation-delay: 0.2s;
  }

  .navbar-toggle:checked~.navbar-links li:nth-child(3) {
    animation-delay: 0.3s;
  }

  .navbar-toggle:checked~.navbar-links li:nth-child(4) {
    animation-delay: 0.4s;
  }

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

  .navbar-links li a {
    display: block;
    width: calc(100% - 2rem);
    text-align: left;
    padding: 0.8rem 1rem;
    border-radius: 18px;
    box-sizing: border-box;
    margin: 0 auto;
    transition: all 0.2s ease-in-out;
  }

  .navbar-links li a:hover {
    background: rgba(0, 0, 0, 0.05);
    transform: translateX(5px);
  }

  @media (prefers-color-scheme: dark) {
    .navbar-links li a:hover {
      background: rgba(255, 255, 255, 0.05);
    }
  }

  .navbar-links li:last-child a {
    text-align: center;
    background: var(--page-bg-light);
    color: var(--text-light);
    width: calc(100% - 2rem);
    margin: 0.5rem auto;
    padding: 0.8rem 1rem;
    border-radius: 24px;
    border: 1px solid var(--text-light);
    transition: all 0.2s ease-in-out;
  }

  .navbar-links li:last-child a:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }

  @media (prefers-color-scheme: dark) {
    .navbar-links li:last-child a {
      background: var(--page-bg-dark);
      color: var(--text-dark);
      border: 1px solid var(--text-dark);
    }

    .navbar-links li:last-child a:hover {
      box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1);
    }
  }
}

.icon {
  width: 250px;
  height: 250px;
  border-radius: 24px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  transition: transform 0.25s, box-shadow 0.25s;
}

.icon:hover {
  transform: scale(1.06);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
  cursor: pointer;
}

h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 0;
  letter-spacing: -1px;
  color: var(--text-light);
}

@media (prefers-color-scheme: dark) {
  h1 {
    color: var(--text-dark);
  }
}

.appstore-btn img {
  width: 180px;
  height: auto;
  display: block;
  transition: transform 0.2s;
}

/* Show light version by default and hide dark version */
.appstore-btn .appstore-light {
  display: block;
}

.appstore-btn .appstore-dark {
  display: none;
}

/* In dark mode, hide light version and show dark version */
@media (prefers-color-scheme: dark) {
  .appstore-btn .appstore-light {
    display: none;
  }

  .appstore-btn .appstore-dark {
    display: block;
  }
}

.appstore-btn:hover img {
  transform: scale(1.05);
}

.subtitle {
  font-size: 1.13rem;
  font-weight: 600;
  margin-top: -0.7rem;
  margin-bottom: 0.2rem;
  color: var(--text-light);
  letter-spacing: 0.02em;
  text-align: center;
  text-shadow: 0 1px 8px rgba(148, 131, 99, 0.08);
}

@media (prefers-color-scheme: dark) {
  .subtitle {
    color: var(--text-dark);
    text-shadow: 0 1px 8px rgba(223, 218, 196, 0.08);
  }
}

@media (max-width: 600px) {
  .subtitle {
    margin-left: 1.2rem;
    margin-right: 1.2rem;
  }
}

.section {
  padding: 96px 0 48px 0;
  max-width: 1250px;
  margin: 0 auto;
}

.section h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.section h3 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 2rem;
  text-align: center;
  color: var(--text-light);
}

@media (prefers-color-scheme: dark) {
  .section h3 {
    color: var(--text-dark);
  }
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 2rem;
  box-sizing: border-box;
}

/* Features Section */
.features-section {
  padding: 4rem 0;
  background: var(--page-bg-light);
}

@media (prefers-color-scheme: dark) {
  .features-section {
    background: var(--page-bg-dark);
  }
}

.features-container {
  max-width: 1250px;
  margin: 0 auto;
  padding: 0 2rem;
}

.features-intro {
  text-align: center;
  margin-bottom: 4rem;
}

.features-intro h3 {
  font-size: 2rem;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 1.5rem;
  text-align: center !important;
}

@media (prefers-color-scheme: dark) {
  .features-intro h3 {
    color: var(--text-dark);
  }
}

.features-description {
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--text-light);
  max-width: 800px;
  margin: 0 auto;
  opacity: 0.8;
  text-align: left;
}

@media (prefers-color-scheme: dark) {
  .features-description {
    color: var(--text-dark);
  }
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

@media (max-width: 768px) {
  .features-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.feature-card {
  background: var(--page-bg-light);
  border: 1px solid #e0e0e0;
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

@media (prefers-color-scheme: dark) {
  .feature-card {
    background: var(--page-bg-dark);
    border: 1px solid #333;
    box-shadow: 0 2px 8px rgba(255, 255, 255, 0.05);
  }
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

@media (prefers-color-scheme: dark) {
  .feature-card:hover {
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.1);
  }
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: var(--navbar-bg-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 1.5rem;
  color: var(--text-light);
}

@media (prefers-color-scheme: dark) {
  .feature-icon {
    background: var(--navbar-bg-dark);
    color: var(--text-dark);
  }
}

.feature-card h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-light);
}

@media (prefers-color-scheme: dark) {
  .feature-card h3 {
    color: var(--text-dark);
  }
}

.feature-card p {
  color: var(--text-light);
  line-height: 1.6;
  opacity: 0.8;
}

@media (prefers-color-scheme: dark) {
  .feature-card p {
    color: var(--text-dark);
  }
}

.how-it-works {
  text-align: center;
  margin-bottom: 4rem;
}

.how-it-works h3 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 2rem;
  color: var(--text-light);
}

@media (prefers-color-scheme: dark) {
  .how-it-works h3 {
    color: var(--text-dark);
  }
}

.steps-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 600px;
  margin: 0 auto;
}

.step {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  text-align: left;
}

.step-number {
  width: 50px;
  height: 50px;
  background: var(--navbar-bg-light);
  color: var(--text-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 600;
  flex-shrink: 0;
}

@media (prefers-color-scheme: dark) {
  .step-number {
    background: var(--navbar-bg-dark);
    color: var(--text-dark);
  }
}

.step-content {
  flex: 1;
}

.step h4 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-light);
}

@media (prefers-color-scheme: dark) {
  .step h4 {
    color: var(--text-dark);
  }
}

.step p {
  color: var(--text-light);
  opacity: 0.8;
}

@media (prefers-color-scheme: dark) {
  .step p {
    color: var(--text-dark);
  }
}

.target-audience {
  text-align: center;
  margin-bottom: 4rem;
}

.target-audience h3 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 2rem;
  color: var(--text-light);
}

@media (prefers-color-scheme: dark) {
  .target-audience h3 {
    color: var(--text-dark);
  }
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
  max-width: 1250px;
  margin: 0 auto;
}

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

.audience-card {
  text-align: center;
  padding: 1.5rem;
}

.audience-card i {
  font-size: 2.5rem;
  color: var(--navbar-bg-light);
  margin-bottom: 1rem;
}

@media (prefers-color-scheme: dark) {
  .audience-card i {
    color: var(--navbar-bg-dark);
  }
}

.audience-card h4 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-light);
}

@media (prefers-color-scheme: dark) {
  .audience-card h4 {
    color: var(--text-dark);
  }
}

.audience-card p {
  color: var(--text-light);
  opacity: 0.8;
}

@media (prefers-color-scheme: dark) {
  .audience-card p {
    color: var(--text-dark);
  }
}

.privacy-section {
  text-align: center;
  margin-bottom: 4rem;
  padding: 2rem;
  background: var(--navbar-bg-light);
  border-radius: 16px;
}

@media (prefers-color-scheme: dark) {
  .privacy-section {
    background: var(--navbar-bg-dark);
  }
}

.privacy-section h3 {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-light);
}

@media (prefers-color-scheme: dark) {
  .privacy-section h3 {
    color: var(--text-dark);
  }
}

.privacy-section p {
  color: var(--text-light);
  line-height: 1.6;
  opacity: 0.9;
}

@media (prefers-color-scheme: dark) {
  .privacy-section p {
    color: var(--text-dark);
  }
}

.why-choose {
  text-align: center;
  margin-bottom: 4rem;
}

.why-choose h3 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 2rem;
  color: var(--text-light);
}

@media (prefers-color-scheme: dark) {
  .why-choose h3 {
    color: var(--text-dark);
  }
}

.benefits-list {
  list-style: none;
  padding: 0;
  max-width: 600px;
  margin: 0 auto;
}

.benefits-list li {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--text-light);
  font-size: 1.1rem;
}

@media (prefers-color-scheme: dark) {
  .benefits-list li {
    color: var(--text-dark);
  }
}

.benefits-list i {
  color: #22c55e;
  margin-right: 0.75rem;
  font-size: 1.2rem;
}

.cta-section {
  text-align: center;
  padding: 3rem 2rem;
  background: var(--navbar-bg-light);
  border-radius: 20px;
}

@media (prefers-color-scheme: dark) {
  .cta-section {
    background: var(--navbar-bg-dark);
  }
}

.cta-section h3 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-light);
}

@media (prefers-color-scheme: dark) {
  .cta-section h3 {
    color: var(--text-dark);
  }
}

.cta-section p {
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  opacity: 0.9;
}

@media (prefers-color-scheme: dark) {
  .cta-section p {
    color: var(--text-dark);
  }
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--text-light);
  color: var(--page-bg-light);
  padding: 1rem 2rem;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

@media (prefers-color-scheme: dark) {
  .cta-button {
    background: var(--text-dark);
    color: var(--page-bg-dark);
  }
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
  .features-intro h2 {
    font-size: 2rem;
  }

  .features-description {
    font-size: 1.1rem;
  }

  .how-it-works h3,
  .target-audience h3,
  .why-choose h3 {
    font-size: 1.8rem;
  }

  .cta-section h3 {
    font-size: 1.8rem;
  }

  .cta-section p {
    font-size: 1.1rem;
  }
}

/* Reviews Section */
.reviews-container {
  max-width: 1250px;
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
}

.reviews-container h2 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 3rem;
  color: var(--text-light);
}

@media (prefers-color-scheme: dark) {
  .reviews-container h2 {
    color: var(--text-dark);
  }
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 4rem;
}

@media (max-width: 992px) {
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .reviews-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.review-card {
  background: var(--page-bg-light);
  border: 1px solid #e0e0e0;
  border-radius: 16px;
  padding: 2rem;
  text-align: left;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (prefers-color-scheme: dark) {
  .review-card {
    background: var(--page-bg-dark);
    border: 1px solid #333;
    box-shadow: 0 2px 8px rgba(255, 255, 255, 0.05);
  }
}

.review-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

@media (prefers-color-scheme: dark) {
  .review-card:hover {
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.1);
  }
}

.review-stars {
  display: flex;
  gap: 0.25rem;
}

.review-stars i {
  color: #fbbf24;
  font-size: 1.2rem;
}

.review-text {
  color: var(--text-light);
  line-height: 1.6;
  font-size: 1rem;
  opacity: 0.9;
  flex: 1;
}

@media (prefers-color-scheme: dark) {
  .review-text {
    color: var(--text-dark);
  }
}

.review-author {
  border-top: 1px solid #e0e0e0;
  padding-top: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

@media (prefers-color-scheme: dark) {
  .review-author {
    border-top: 1px solid #333;
  }
}

.review-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  flex-shrink: 0;
  border: 2px solid #e0e0e0;
}

@media (prefers-color-scheme: dark) {
  .review-avatar {
    border: 2px solid #333;
  }
}

.review-author-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.review-author strong {
  color: var(--text-light);
  font-weight: 600;
  font-size: 1rem;
}

@media (prefers-color-scheme: dark) {
  .review-author strong {
    color: var(--text-dark);
  }
}

.review-author span {
  color: var(--text-light);
  font-size: 0.9rem;
  opacity: 0.7;
}

@media (prefers-color-scheme: dark) {
  .review-author span {
    color: var(--text-dark);
  }
}

/* Screenshots Section */
.screenshots-container {
  max-width: 1250px;
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
}

.screenshots-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  justify-items: center;
  margin-bottom: 4rem;
}

@media (max-width: 768px) {
  .screenshots-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

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

.screenshot-img {
  width: 100%;
  max-width: 250px;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Show light mode screenshots by default */
.screenshot-light {
  display: block;
}

.screenshot-dark {
  display: none;
}

/* Show dark mode screenshots in dark mode */
@media (prefers-color-scheme: dark) {
  .screenshot-light {
    display: none;
  }

  .screenshot-dark {
    display: block;
  }

  .screenshot-img {
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.1);
  }
}

.screenshot-img:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

@media (prefers-color-scheme: dark) {
  .screenshot-img:hover {
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.15);
  }
}

@media (max-width: 768px) {
  .screenshot-img {
    max-width: 180px;
    border-radius: 15px;
  }
}

@media (max-width: 480px) {
  .screenshot-img {
    max-width: 150px;
    border-radius: 12px;
  }
}

/* Footer separator */
.footer-separator {
  border: none;
  border-top: 1.5px solid #e0e0e0;
  margin: 48px 0 0 0;
  width: 100%;
}

@media (prefers-color-scheme: dark) {
  .footer-separator {
    border-top: 1.5px solid #333;
  }
}

.footer {
  width: 100%;
  max-width: 1250px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 32px 2rem 24px 2rem;
  font-size: 1rem;
  color: var(--text-light);
  background: var(--page-bg-light);
  gap: 2rem;
}

@media (prefers-color-scheme: dark) {
  .footer {
    color: var(--text-dark);
    background: var(--page-bg-dark);
  }
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-right {
  display: flex;
  gap: 1.2rem;
}

.footer-btn {
  background: var(--page-bg-light);
  color: var(--text-light);
  border: 1px solid #e0e0e0;
  border-radius: 18px;
  padding: 0.5rem 1.3rem;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

.footer-btn:hover {
  background: #e5e5e5;
  color: var(--text-light);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

@media (prefers-color-scheme: dark) {
  .footer-btn {
    background: var(--page-bg-dark);
    color: var(--text-dark);
    border: 1px solid #333;
  }

  .footer-btn:hover {
    background: #222;
    color: var(--text-dark);
  }
}

@media (max-width: 700px) {
  .footer {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding: 32px 1.5rem 24px 1.5rem;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
    width: 100%;
  }

  .footer-left {
    align-items: center;
    text-align: center;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
    padding-left: 0;
    padding-right: 0;
  }

  .footer-left>div {
    width: 100%;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    box-sizing: border-box;
  }

  .footer-right {
    justify-content: center;
    gap: 1.2rem;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }

  .footer-btn {
    margin-left: 0;
    margin-right: 0;
    display: inline-block;
  }
}

/* Terms and Privacy Policy pages styles */
.main-content {
  max-width: 1250px;
  margin: 0 auto;
  padding: 2rem;
  line-height: 1.6;
}

.main-content header {
  text-align: center;
  margin-bottom: 2rem;
  margin-top: calc(var(--navbar-height) + 2rem);
}

.main-content header h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-light);
  margin: 0;
}

@media (prefers-color-scheme: dark) {
  .main-content header h1 {
    color: var(--text-dark);
  }
}

.main-content section {
  margin-bottom: 2rem;
  text-align: justify;
}

.main-content section h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary-light);
  margin-bottom: 1rem;
  margin-top: 2rem;
  text-align: left;
}

@media (prefers-color-scheme: dark) {
  .main-content section h2 {
    color: var(--primary-dark);
  }
}

.main-content section p {
  margin-bottom: 1rem;
  font-size: 1rem;
  color: var(--text-light);
}

@media (prefers-color-scheme: dark) {
  .main-content section p {
    color: var(--text-dark);
  }
}

.main-content section ul {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.main-content section li {
  margin-bottom: 0.5rem;
  font-size: 1rem;
  color: var(--text-light);
}

@media (prefers-color-scheme: dark) {
  .main-content section li {
    color: var(--text-dark);
  }
}

.main-content section a {
  color: var(--primary-light);
  text-decoration: none;
}

@media (prefers-color-scheme: dark) {
  .main-content section a {
    color: var(--primary-dark);
  }
}

.main-content section a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .main-content {
    padding: 1rem;
  }

  .main-content header h1 {
    font-size: 2rem;
  }

  .main-content section h2 {
    font-size: 1.3rem;
  }
}