/* CSS Styles */
:root {
  --primary-color: #4CAF50;
  --primary-text-color: #000;
  --secondary-color: #2196F3;
  --text-color: #333;
  --bg-color: #f9f9f9;
  --card-shadow: 0 4px 8px rgba(0,0,0,0.1);
  --gradient: linear-gradient(135deg, #4CAF50, #2196F3);
}

body {
  font-family: 'Noto Sans Bengali', sans-serif;
  margin: 0;
  padding: 0;
  color: var(--text-color);
  background: var(--bg-color);
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding: 60px 0;
  text-align: center;
}

h1, h2, h3 {
  margin-bottom: 20px;
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: var(--card-shadow);
}

.btn-primary {
  background: var(--primary-color);
  color: white;
}

.btn-primary:hover {
  transform: scale(1.05);
  background: darken(var(--primary-color), 10%);
}

.btn-secondary {
  background: white;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
  background: var(--primary-color);
  color: white;
}

/* ================= Header Styles ================= */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}

[data-theme="dark"] header {
  background: rgba(30, 30, 30, 0.95);
  box-shadow: 0 2px 12px rgba(0,0,0,0.5);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-img {
  height: 42px;
  width: auto;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  text-decoration: none;
}

/* ================= NAV BAR ================= */

nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

/* Menu list */
nav ul {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 32px;
}

/* Menu links */
nav a {
  position: relative;
  color: var(--primary-text-color);
  text-decoration: none;
  font-weight: 500;
  font-size: 1.05rem;
  padding: 6px 0;
  transition: color 0.25s ease;
}

/* Hover color */
nav a:hover {
  color: var(--primary-color);
}

/* Underline animation */
nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  border-radius: 2px;
  transition: width 0.3s ease;
}

nav a:hover::after {
  width: 100%;
}

/* ================= MOBILE ================= */

@media (max-width: 768px) {
  nav {
    width: 100%;
    justify-content: center;
  }

  nav ul {
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
  }

  nav a {
    font-size: 1rem;
  }
}


/* Make hero section start below header */
#hero {
  padding-top: 140px;   /* ← increased top padding */
  padding-bottom: 80px;
}

@media (max-width: 768px) {
  nav ul {
      display: none; /* you can add hamburger later */
  }

  .header-container {
      justify-content: space-between;
  }
}

#hero .logo {
  width: 100px;
  height: auto;
  margin-bottom: 20px;
}

#hero .mockup {
  max-width: 300px;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Highlights */
.highlights {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.highlight-card {
  background: white;
  padding: 20px;
  border-radius: 15px;
  box-shadow: var(--card-shadow);
  width: 200px;
  transition: transform 0.3s;
}

.highlight-card:hover {
  transform: translateY(-5px);
}

.highlight-card i {
  font-size: 40px;
  color: var(--primary-color);
  margin-bottom: 10px;
}

/* Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  text-align: left;
}

.feature-group {
  background: white;
  padding: 30px;
  border-radius: 15px;
  box-shadow: var(--card-shadow);
}

.feature-group ul {
  list-style: none;
  padding: 0;
}

.feature-group li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 20px;
}

.feature-group li:before {
  content: "\f058";
  font-family: "Font Awesome 6 Free";
  position: absolute;
  left: 0;
  color: var(--primary-color);
}

/* ================= SCREENSHOTS SECTION ================= */

#screenshots {
  padding: 80px 0;
  background: #f8fafc;
}

#screenshots h2 {
  text-align: center;
  margin-bottom: 32px;
  font-size: 2rem;
  color: var(--primary-text-color);
}

/* Horizontal scroll container */
.screenshots {
  display: flex;
  gap: 24px;
  padding: 20px 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

/* Hide scrollbar (clean UI) */
.screenshots::-webkit-scrollbar {
  height: 6px;
}

.screenshots::-webkit-scrollbar-thumb {
  background: #cbd5f5;
  border-radius: 10px;
}

/* Individual screenshot */
.screenshot {
  flex: 0 0 auto;

  width: 260px;
  height: 520px;

  object-fit: contain;      /* ✅ SHOW FULL IMAGE */
  object-position: center;

  background: #ffffff;     /* clean background */
  padding: 12px;           /* breathing space */
  border-radius: 22px;

  box-shadow: var(--card-shadow);
  scroll-snap-align: center;

  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover polish */
.screenshot:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.12);
}


/* ================= RESPONSIVE ================= */

/* Tablet */
  @media (max-width: 992px) {
    .screenshot {
      width: 230px;
      height: 460px;
    }
  }

  @media (max-width: 576px) {
    .screenshot {
      width: 200px;
      height: 400px;
      padding: 10px;
      border-radius: 18px;
    }
  }


  .screenshot {
    width: 200px;
    height: 400px;
    border-radius: 18px;
  }


/* How It Works */
.steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}

.step {
  width: 200px;
  text-align: center;
}

.step-number {
  background: var(--primary-color);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
  font-size: 20px;
}

/* Download */
#download .btn {
  margin: 10px;
}

.qr-code {
  width: 150px;
  height: 150px;
  background: #ddd; /* Placeholder */
  margin: 20px auto;
}

/* Why Choose */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.benefit-card {
  background: white;
  padding: 20px;
  border-radius: 15px;
  box-shadow: var(--card-shadow);
  transition: transform 0.3s;
}

.benefit-card:hover {
  transform: translateY(-5px);
}

/* FAQ */
.faq-item {
  background: white;
  margin-bottom: 10px;
  border-radius: 15px;
  box-shadow: var(--card-shadow);
  padding: 20px;
  text-align: left;
}

.faq-question {
  cursor: pointer;
  font-weight: 600;
}

.faq-answer {
  display: none;
}

/* ================= FOOTER ================= */

footer {
  background: var(--gradient);
  color: #ffffff;
  padding: 20px 0 40px;
  text-align: center;
}

footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

/* Logo */
footer .logo {
  width: 56px;
  height: auto;
  margin-bottom: 6px;
}

/* App name */
footer p:first-of-type {
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.4px;
}

/* Navigation */
footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  margin: 10px 0;
}

footer nav a {
  color: #ffffff;
  text-decoration: none;
  font-size: 0.95rem;
  opacity: 0.9;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

footer nav a:hover {
  opacity: 1;
  transform: translateY(-2px);
  color: var(--primary-text-color);
}

/* Support & copyright */
footer p {
  font-size: 0.9rem;
  opacity: 0.85;
  margin: 0;
}

/* ================= MOBILE OPTIMIZATION ================= */

@media (max-width: 576px) {
  footer {
    padding: 50px 0 32px;
  }

  footer p:first-of-type {
    font-size: 1.2rem;
  }

  footer nav {
    gap: 14px;
  }
}

.qr-code {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.qr-code img {
  width: 160px;
  height: 160px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}



/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s, transform 0.6s;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
  section {
      padding: 40px 0;
  }

  #hero {
      padding: 60px 0;
  }

  .highlights, .steps {
      flex-direction: column;
  }
}

/* Dark Mode (Optional) */
@media (prefers-color-scheme: dark) {
  body {
      --bg-color: #121212;
      --text-color: #ddd;
  }

  .highlight-card, .feature-group, .benefit-card, .faq-item {
      background: #1e1e1e;
  }
}