* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: #f5f7fa;
  color: #1f2937;
  line-height: 1.5;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* ======================
   BUTTONS
====================== */

.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 12px;
  font-weight: 700;
  transition: 0.25s ease;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: #68c148;
  color: white;
}

.btn-primary:hover {
  background: #57ad39;
}

.btn-dark {
  background: rgba(255,255,255,0.14);
  color: white;
  border: 1px solid rgba(255,255,255,0.2);
}

.btn-dark:hover {
  background: rgba(255,255,255,0.22);
}

/* ======================
   NAVBAR
====================== */

.navbar {
  background: #0f172a;
  color: white;
  padding: 20px 0;
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.8rem;
  font-weight: 800;
}

.logo span {
  color: #7ed957;
}

.logo small {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  color: #d1d5db;
  margin-top: 4px;
}

.nav-links {
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
}

.nav-links a {
  font-weight: 600;
}

/* ======================
   HOME HERO
====================== */

.home-hero {
  min-height: 100vh;
  background:
    linear-gradient(rgba(16, 33, 58, 0.72), rgba(16, 33, 58, 0.72)),
    url('https://images.unsplash.com/photo-1517935706615-2717063c2225?auto=format&fit=crop&w=1600&q=80')
    center/cover no-repeat;
  color: white;
  padding-bottom: 60px;
}

.home-navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
}

.home-nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
  font-weight: 600;
  flex-wrap: wrap;
}

.hero-content {
  padding-top: 70px;
  max-width: 760px;
}

.hero-content h1 {
  font-size: 3.7rem;
  line-height: 1.1;
  margin-bottom: 18px;
  font-weight: 800;
}

.hero-content p {
  font-size: 1.2rem;
  color: #e5e7eb;
  margin-bottom: 30px;
}

.hero-note {
  display: inline-block;
  background: rgba(255,255,255,0.12);
  padding: 12px 18px;
  border-radius: 12px;
  font-weight: 600;
  border: 1px solid rgba(255,255,255,0.14);
}

/* ======================
   STANDARD HERO
====================== */

.hero {
  padding: 60px 0 30px;
  text-align: center;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.hero p {
  color: #6b7280;
  max-width: 700px;
  margin: 0 auto 20px;
}

/* ======================
   SEARCH BOX
====================== */

.search-box {
  background: white;
  border-radius: 18px;
  padding: 14px;
  display: flex;
  gap: 14px;
  align-items: center;
  box-shadow: 0 12px 30px rgba(0,0,0,0.18);
  margin-bottom: 18px;
}

.search-box input,
.search-box select {
  flex: 1;
  border: none;
  outline: none;
  font-size: 1rem;
  padding: 14px 12px;
  background: #f8fafc;
  border-radius: 12px;
}

/* ======================
   SECTIONS
====================== */

section {
  padding: 70px 0;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 12px;
  font-weight: 800;
}

.section-subtitle {
  text-align: center;
  color: #6b7280;
  margin-bottom: 36px;
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
}

/* ======================
   GRIDS
====================== */

.categories-grid,
.deals-grid,
.steps-grid,
.benefits-grid {
  display: grid;
  gap: 22px;
}

.categories-grid {
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.deals-grid,
.benefits-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.steps-grid {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* ======================
   CARDS
====================== */

.card {
  background: white;
  border-radius: 22px;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

/* ======================
   CATEGORY PAGE
====================== */

.categories-section {
  padding: 30px 0 70px;
}

.category-card {
  text-align: center;
  font-weight: 700;
  font-size: 1.05rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(0,0,0,0.10);
}

.category-card .icon,
.icon {
  font-size: 2rem;
  margin-bottom: 12px;
  display: block;
}

.back-home {
  text-align: center;
  margin-top: 40px;
}

/* ======================
   DEALS PAGE
====================== */

.deals-section {
  padding: 30px 0 70px;
}

.filter-bar {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.filter-btn {
  padding: 10px 18px;
  border-radius: 12px;
  background: white;
  border: 1px solid #d1d5db;
  font-weight: 700;
  transition: 0.2s ease;
}

.filter-btn:hover,
.filter-btn.active {
  background: #68c148;
  color: white;
  border-color: #68c148;
}

.results-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 25px;
  color: #374151;
}

.deal-card {
  background: white;
  border-radius: 22px;
  padding: 24px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.deal-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(0,0,0,0.10);
}

.deal-card h3 {
  font-size: 2rem;
  color: #16a34a;
  margin-bottom: 8px;
}

.deal-card h4 {
  font-size: 1.15rem;
  margin-bottom: 6px;
}

.deal-card p {
  color: #6b7280;
  margin-bottom: 18px;
}

.deal-badge {
  display: inline-block;
  background: #dcfce7;
  color: #166534;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.deal-discount {
  font-size: 2rem;
  font-weight: 800;
  color: #16a34a;
  margin-bottom: 8px;
}

.deal-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.deal-location,
.deal-description {
  color: #6b7280;
  margin-bottom: 10px;
}

.deal-category {
  font-size: 0.9rem;
  font-weight: 700;
  color: #2563eb;
  margin-bottom: 18px;
}

.empty-state {
  text-align: center;
  background: white;
  padding: 40px 20px;
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.06);
}

/* ======================
   PREMIUM SECTION
====================== */

.premium {
  background: linear-gradient(135deg, #0f172a, #1e293b);
  color: white;
  border-radius: 28px;
  padding: 38px;
  margin-top: 24px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 30px;
  align-items: center;
}

.premium h2 {
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.premium ul {
  list-style: none;
  margin: 20px 0;
}

.premium li {
  margin-bottom: 12px;
  color: #e5e7eb;
  font-size: 1.05rem;
}

.premium-card {
  background: rgba(255,255,255,0.08);
  padding: 24px;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,0.12);
}

.premium-price {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: #7ed957;
}

/* ======================
   STEPS
====================== */

.step-number {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #68c148;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  margin-bottom: 16px;
  font-size: 1.2rem;
}

/* ======================
   BUSINESS CTA
====================== */

.business-cta {
  background: linear-gradient(120deg, #1d4ed8, #0f766e);
  color: white;
  text-align: center;
  border-radius: 28px;
  padding: 48px 28px;
}

.business-cta h2 {
  font-size: 2.1rem;
  margin-bottom: 12px;
}

.business-cta p {
  max-width: 700px;
  margin: 0 auto 22px;
  color: #dbeafe;
}

/* ======================
   FORMS
====================== */

form input,
form select,
form textarea {
  width: 100%;
  padding: 14px;
  border-radius: 12px;
  border: 1px solid #d1d5db;
  font-size: 1rem;
  font-family: inherit;
  background: white;
}

form textarea {
  resize: vertical;
}

form input:focus,
form select:focus,
form textarea:focus {
  outline: none;
  border-color: #68c148;
  box-shadow: 0 0 0 3px rgba(104, 193, 72, 0.15);
}

/* ======================
   FOOTER
====================== */

footer {
  background: #0f172a;
  color: #cbd5e1;
  padding: 24px 0;
  text-align: center;
  font-size: 0.95rem;
}

/* ======================
   RESPONSIVE
====================== */

@media (max-width: 900px) {
  .home-navbar {
    flex-direction: column;
    gap: 18px;
  }

  .home-nav-links {
    justify-content: center;
  }

  .hero-content h1 {
    font-size: 2.6rem;
  }

  .search-box {
    flex-direction: column;
  }

  .search-box input,
  .search-box select,
  .search-box .btn {
    width: 100%;
  }

  .premium {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .nav-inner {
    flex-direction: column;
    gap: 15px;
  }

  .nav-links {
    justify-content: center;
  }

  .hero h1 {
    font-size: 2rem;
  }
}

@media (max-width: 600px) {
  .hero-content h1 {
    font-size: 2.1rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .logo {
    font-size: 1.5rem;
  }

  .section-title {
    font-size: 1.6rem;
  }
}

/* ======================
   FLYERS PAGE
====================== */

.flyers-page-section {
  padding: 30px 0 70px;
}

.flyers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
}

.flyer-card {
  background: white;
  border-radius: 22px;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.flyer-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(0,0,0,0.10);
}

.flyer-logo {
  font-size: 2.2rem;
  margin-bottom: 14px;
}

.flyer-card h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.flyer-card p {
  color: #6b7280;
  margin-bottom: 18px;
}

/* ======================
   AUTH PAGES
====================== */

.auth-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
  margin-bottom: 30px;
}

.auth-card {
  text-align: center;
}

.auth-card h3 {
  margin-bottom: 12px;
}

.auth-card p {
  color: #6b7280;
  margin-bottom: 18px;
}

.login-box {
  max-width: 600px;
  margin: 0 auto;
}

/* ======================
   FORM CARD
====================== */

.form-card {
  max-width: 800px;
  margin: 0 auto;
}

.form-grid {
  display: grid;
  gap: 18px;
}

.signup-note {
  margin-top: 18px;
  text-align: center;
  color: #6b7280;
}

/* ======================
   DASHBOARD
====================== */

.dashboard-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 24px;
}

.update-item {
  padding: 16px 0;
  border-bottom: 1px solid #e5e7eb;
}

.update-item p {
  color: #6b7280;
  margin-top: 6px;
}

/* ======================
   COUPON PAGE
====================== */

.coupon-wrapper {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
}

.coupon-card-locked {
  position: relative;
  background: linear-gradient(135deg, #0f172a, #1e293b);
  border-radius: 26px;
  min-height: 360px;
  overflow: hidden;
  color: white;
}

.coupon-top {
  padding: 34px;
}

.coupon-discount {
  font-size: 3rem;
  font-weight: 800;
  color: #7ed957;
  margin-bottom: 12px;
}

.coupon-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.coupon-category {
  color: #cbd5e1;
}

.coupon-hash-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
}

.hash-pattern {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    45deg,
    rgba(255,255,255,0.07) 0,
    rgba(255,255,255,0.07) 8px,
    transparent 8px,
    transparent 16px
  );
}

.lock-message {
  position: relative;
  z-index: 2;
  max-width: 460px;
}

.lock-message h3 {
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.lock-message p {
  margin-bottom: 18px;
  color: #e5e7eb;
}

.premium-info-card p {
  color: #6b7280;
}

/* ======================
   RESPONSIVE ADDITIONS
====================== */

@media (max-width: 900px) {
  .dashboard-grid,
  .coupon-wrapper {
    grid-template-columns: 1fr;
  }
}