/* =======================================
   E-COM FUNNEL KIT — Shopify Inspired UI
   Author: Bestpromptly.ai
   ======================================= */

/* ===== RESET & BASE ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", system-ui, sans-serif;
  background-color: #ffffff;
  color: #0f172a;
  line-height: 1.6;
  overflow-x: hidden;
  margin: 0;
  padding-top: 80px; /* ensures page content doesn't hide behind navbar */
}

/* ===== GLOBAL UTILITIES ===== */
.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
}

.section {
  padding: 80px 0;
}

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

.bg-light {
  background: #f8fafc;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1200;
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  backdrop-filter: blur(6px);
  transition: background 0.25s ease, transform 0.2s ease;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 5%;
}

.navbar .logo {
  font-size: 22px;
  font-weight: bold;
  color: #0ABAB5;
}

.logo span {
  color: #8A2BE2;
}


.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
}

.nav-links a {
  color: #0f172a;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 6px 8px;
  transition: color 0.18s ease, background 0.18s ease;
}

.nav-links a:hover {
  color: #2563eb;
}

/* CTA Button in Navbar */
.btn-small {
  background: #2563eb;
  color: #fff !important;
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.18);
}

.btn-small:hover {
  background: #1e40af;
}

/* ===== MOBILE NAV — SHOPIFY STYLE (DROPDOWN BELOW HEADER) ===== */
.menu-toggle {
  display: none;
  cursor: pointer;
  gap: 5px;
  flex-direction: column;
}

.menu-toggle span {
  width: 24px;
  height: 3px;
  background: #0f172a;
  border-radius: 3px;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  /* dropdown style (NOT covering hero) */
  .nav-links {
    position: absolute;
    top: 100%; /* sits below the navbar */
    left: 0;
    width: 100%;
    background: #ffffff;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    padding: 25px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.35s ease;
    z-index: 999;
  }

  .nav-links.show {
    max-height: 320px; /* adjustable depending on number of links */
    opacity: 1;
  }

  .nav-links a {
    color: #0f172a;
    font-size: 1rem;
    padding: 6px 10px;
  }

  .btn-small {
    background: #2563eb;
    color: #fff !important;
    padding: 8px 20px;
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.18);
  }

  .btn-small:hover {
    background: #1e40af;
  }
}


/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, #0a0a0a, #00118d);
  color: #fff;
  padding: 120px 0 80px;
  text-align: center;
  position: relative;
}

.hero h1 {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.hero .subtitle {
  font-size: 1.1rem;
  margin-bottom: 25px;
  color: #e0e0e0;
}

.btn-primary {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 8px;
  background: #fff;
  color: #0f172a;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: #0f172a;
  color: #fff;
  transform: translateY(-2px);
}

/* ===== TYPOGRAPHY ===== */
h2 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 20px;
  text-align: center;
  color: #111;
}

p {
  font-size: 1.05rem;
  color: #333;
  margin-bottom: 20px;
}

/* ===== PRICING ===== */
.pricing-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  margin-top: 40px;
}

.card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  padding: 35px 25px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
}

.card.featured {
  border: 2px solid #3b82f6;
  background: linear-gradient(180deg, #eff6ff, #fff);
  transform: scale(1.04);
}

/* ===== TESTIMONIALS ===== */
.testimonials {
  display: grid;
  gap: 24px;
  margin-top: 30px;
}

blockquote {
  background: #fff;
  padding: 25px 28px;
  border-left: 5px solid #3b82f6;
  border-radius: 8px;
  font-style: italic;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.05);
}

blockquote span {
  display: block;
  font-style: normal;
  margin-top: 12px;
  color: #555;
  font-weight: 600;
}

/* ===== CTA ===== */
.cta {
  background: linear-gradient(135deg, #06b6d4, #3b82f6);
  color: #fff;
  padding: 80px 20px;
  text-align: center;
}

.cta p {
  color: #f0f0f0;
  margin-bottom: 25px;
  font-size: 1.1rem;
}

/* ===== FOOTER ===== */
.footer {
  text-align: center;
  padding: 35px 0;
  background: #0f172a;
  color: #e2e8f0;
  font-size: 0.95rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.2rem;
  }

  .section {
    padding: 60px 0;
  }

  .btn-primary {
    padding: 12px 26px;
    font-size: 0.95rem;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 500px) {
  .hero {
    padding: 90px 0;
  }
}

/* ===== ANIMATION ===== */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(25px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.section, .card, .cta, .hero, .footer {
  animation: fadeInUp 0.7s ease forwards;
}
