:root {
            --primary: #673de6;
            --primary-dark: #5025d1;
            --secondary: #2d3748;
            --accent: #10b981;
            --light: #f8fafc;
            --gray: #94a3b8;
            --dark: #1e293b;
            --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
            --radius: 12px;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
        }

        body {
            background-color: #f8fafc;
            color: var(--dark);
            line-height: 1.6;
        }

        .container {
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        /* Header Styles */
        header {
            background: linear-gradient(135deg, var(--primary), var(--primary-dark));
            color: white;
            padding: 20px 0;
            box-shadow: var(--shadow);
        }

        .header-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo {
            font-size: 24px;
            font-weight: 700;
            display: flex;
            align-items: center;
        }

        .logo span {
            color: #ffd166;
        }

        .logo img {
            height: 40px;
            margin-right: 10px;
        }

        nav ul {
            display: flex;
            list-style: none;
        }

        nav ul li {
            margin-left: 30px;
        }

        nav ul li a {
            color: white;
            text-decoration: none;
            font-weight: 500;
            transition: opacity 0.3s;
        }

        nav ul li a:hover {
            opacity: 0.8;
        }

        /* Hero Section */
        .hero {
            padding: 80px 0;
            text-align: center;
            background: linear-gradient(135deg, #f0f4ff, #e6eeff);
            position: relative;
            overflow: hidden;
        }

        .hero::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" fill="%23673de6" opacity="0.05"><polygon points="0,0 1000,50 1000,100 0,100"></polygon></svg>');
            background-size: cover;
        }

        .hero h1 {
            font-size: 48px;
            margin-bottom: 20px;
            color: var(--secondary);
        }

        .hero p {
            font-size: 20px;
            max-width: 700px;
            margin: 0 auto 40px;
            color: var(--secondary);
        }

        /* Coupon Section */
        .coupon-section {
            padding: 60px 0;
        }

        .section-title {
            text-align: center;
            margin-bottom: 50px;
            position: relative;
        }

        .section-title h2 {
            font-size: 36px;
            color: var(--secondary);
            display: inline-block;
            padding-bottom: 15px;
        }

        .section-title h2::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 4px;
            background: var(--primary);
            border-radius: 2px;
        }

        .coupon-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
            gap: 30px;
        }

        .coupon-card {
            background: white;
            border-radius: var(--radius);
            box-shadow: var(--shadow);
            overflow: hidden;
            transition: transform 0.3s, box-shadow 0.3s;
            position: relative;
        }

        .coupon-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
        }

        .coupon-badge {
            position: absolute;
            top: 15px;
            right: 15px;
            background: var(--accent);
            color: white;
            padding: 5px 12px;
            border-radius: 20px;
            font-size: 12px;
            font-weight: 600;
        }

        .coupon-header {
            padding: 25px;
            background: linear-gradient(135deg, var(--primary), var(--primary-dark));
            color: white;
            text-align: center;
        }

        .coupon-code {
            font-size: 32px;
            font-weight: 700;
            letter-spacing: 2px;
            margin: 15px 0;
            font-family: 'Courier New', monospace;
        }

        .coupon-details {
            padding: 25px;
        }

        .coupon-details h3 {
            font-size: 20px;
            margin-bottom: 10px;
            color: var(--secondary);
        }

        .coupon-details p {
            color: var(--gray);
            margin-bottom: 20px;
        }

        .coupon-expiry {
            display: flex;
            align-items: center;
            color: var(--gray);
            font-size: 14px;
            margin-bottom: 20px;
        }

        .coupon-expiry svg {
            margin-right: 8px;
        }

        .copy-btn {
            display: block;
            width: 100%;
            padding: 12px;
            background: var(--primary);
            color: white;
            border: none;
            border-radius: var(--radius);
            font-weight: 600;
            cursor: pointer;
            transition: background 0.3s;
        }

        .copy-btn:hover {
            background: var(--primary-dark);
        }

        .copy-btn.copied {
            background: var(--accent);
        }

        /* Features Section */
        .features {
            padding: 80px 0;
            background: white;
        }

        .features-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 40px;
        }

        .feature-card {
            text-align: center;
            padding: 30px 20px;
        }

        .feature-icon {
            width: 70px;
            height: 70px;
            background: linear-gradient(135deg, var(--primary), var(--primary-dark));
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 20px;
            color: white;
        }

        .feature-card h3 {
            font-size: 20px;
            margin-bottom: 15px;
            color: var(--secondary);
        }

        .feature-card p {
            color: var(--gray);
        }

        /* How It Works */
        .how-it-works {
            padding: 80px 0;
            background: #f1f5f9;
        }

        .steps {
            display: flex;
            justify-content: space-between;
            max-width: 900px;
            margin: 0 auto;
            position: relative;
        }

        .steps::before {
            content: '';
            position: absolute;
            top: 40px;
            left: 0;
            width: 100%;
            height: 3px;
            background: var(--primary);
            z-index: 1;
        }

        .step {
            text-align: center;
            position: relative;
            z-index: 2;
            flex: 1;
        }

        .step-number {
            width: 80px;
            height: 80px;
            background: white;
            border: 3px solid var(--primary);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 20px;
            font-size: 24px;
            font-weight: 700;
            color: var(--primary);
        }

        .step h3 {
            margin-bottom: 10px;
            color: var(--secondary);
        }

        .step p {
            color: var(--gray);
            max-width: 200px;
            margin: 0 auto;
        }

        /* Footer */
        footer {
            background: var(--secondary);
            color: white;
            padding: 60px 0 30px;
        }

        .footer-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 40px;
            margin-bottom: 40px;
        }

        .footer-column h3 {
            font-size: 18px;
            margin-bottom: 20px;
            position: relative;
            padding-bottom: 10px;
        }

        .footer-column h3::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 40px;
            height: 2px;
            background: var(--primary);
        }

        .footer-column ul {
            list-style: none;
        }

        .footer-column ul li {
            margin-bottom: 10px;
        }

        .footer-column ul li a {
            color: #cbd5e1;
            text-decoration: none;
            transition: color 0.3s;
        }

        .footer-column ul li a:hover {
            color: white;
        }

        .copyright {
            text-align: center;
            padding-top: 30px;
            border-top: 1px solid #475569;
            color: #94a3b8;
            font-size: 14px;
        }

        /* Toast Notification */
        .toast {
            position: fixed;
            bottom: 20px;
            right: 20px;
            background: var(--accent);
            color: white;
            padding: 15px 25px;
            border-radius: var(--radius);
            box-shadow: var(--shadow);
            transform: translateY(100px);
            opacity: 0;
            transition: transform 0.3s, opacity 0.3s;
            z-index: 1000;
        }

        .toast.show {
            transform: translateY(0);
            opacity: 1;
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            .header-content {
                flex-direction: column;
                text-align: center;
            }

            nav ul {
                margin-top: 20px;
            }

            nav ul li {
                margin: 0 10px;
            }

            .hero h1 {
                font-size: 36px;
            }

            .hero p {
                font-size: 18px;
            }

            .steps {
                flex-direction: column;
                gap: 40px;
            }

            .steps::before {
                display: none;
            }
        }

          .content-section {
    background: #ffffff;
    padding: 80px 0;
  }

  .content-body {
    max-width: 850px;
    margin: 0 auto;
    color: var(--secondary);
    font-size: 17px;
    line-height: 1.8;
  }

  .content-body p {
    margin-bottom: 20px;
    color: var(--dark);
  }

  .content-body h3 {
    margin: 40px 0 15px;
    font-size: 22px;
    color: var(--primary-dark);
  }

  .benefits-list,
  .steps-list {
    margin-left: 20px;
    margin-bottom: 20px;
  }

  .benefits-list li,
  .steps-list li {
    margin-bottom: 10px;
    color: var(--gray);
  }

  .benefits-list li strong {
    color: var(--primary);
  }

  .steps-list li::marker {
    color: var(--accent);
    font-weight: bold;
  }
  h2 {
            font-size: 36px;
            color: var(--secondary);
            display: inline-block;
            padding-bottom: 15px;
        }

 .categories-section {
    background: #f1f5f9;
    padding: 80px 0;
  }

  .categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 30px;
  }

  .category-card {
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    padding: 20px 25px;
    transition: transform 0.3s, box-shadow 0.3s;
  }

  .category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.08);
  }

  .category-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
  }

  .category-card h3 {
    font-size: 16px;
    margin-bottom: 10px;
    color: var(--secondary);
  }



  .category-btn {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 10px 20px;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s;
  }

  .category-btn:hover {
    background: var(--primary-dark);
  }

  @media (max-width: 768px) {
    .categories-grid {
      grid-template-columns: 1fr 1fr;
    }

    .category-card {
      padding: 30px 20px;
    }
  }

@media (max-width: 768px) {
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .category-card {
    padding: 30px 20px;
  }
}

@media (max-width: 500px) {
  .categories-grid {
    grid-template-columns: repeat(2, 1fr); /* ✅ 2 cards per row on mobile */
  }
}
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); /* smaller cards */
  gap: 18px;
  text-align: center;
}

.category-card {
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 15px 10px; /* tighter padding */
  text-decoration: none;
  color: var(--secondary);
  transition: transform 0.3s, box-shadow 0.3s;
}

.category-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.category-icon {
  width: 45px;
  height: 45px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin: 0 auto 10px;
  color: white;
}

.category-card h3 {
  font-size: 13px;
  font-weight: 600;
  color: var(--secondary);
  line-height: 1.3;
}

@media (max-width: 768px) {
  .categories-grid {
    grid-template-columns: repeat(3, 1fr); /* 3 per row on tablet */
  }
}

@media (max-width: 500px) {
  .categories-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 per row on phone */
  }
}

.logo a {
  color: white; /* Keeps text white */
  text-decoration: none; /* Removes underline */
  display: flex;
  align-items: center;
}

.logo a:hover {
  opacity: 0.9; /* Subtle hover effect */
}

/* ----- MOBILE MENU ----- */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background: white;
  border-radius: 3px;
  transition: all 0.3s ease;
}

/* Show menu icon on mobile */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  nav ul {
    display: none;
    flex-direction: column;
    background: var(--primary);
    position: absolute;
    top: 70px;
    right: 20px;
    width: 220px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 15px 0;
    z-index: 99;
  }

  nav ul.show {
    display: flex;
  }

  nav ul li {
    margin: 10px 0;
    text-align: center;
  }

  nav ul li a {
    color: white;
    font-weight: 500;
    text-decoration: none;
  }



  /* Animate menu icon */
  .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translateY(8px);
  }
  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translateY(-8px);
  }
}

/* Keep logo & hamburger icon aligned */
.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

/* On mobile, don't let flex break into two lines */
@media (max-width: 768px) {
  .header-content {
    flex-wrap: nowrap;
  }

  .logo a {
    display: flex;
    align-items: center;
    font-size: 20px;
  }

  .logo svg {
    width: 26px;
    height: 26px;
    margin-right: 6px;
  }

  .menu-toggle {
    margin-left: auto; /* pushes it to the right */
  }
}
