/* Shopitricks - QR Mini Websites by Vedatricks Technologies */
/* Modern Mobile-First CSS */

:root {
  /* Shopitricks Brand Colors */
  --primary: #6366f1;
  --primary-light: #818cf8;
  --primary-dark: #4f46e5;
  --secondary: #f59e0b;
  --accent: #10b981;
  --bg-light: #f8fafc;
  --bg-dark: #0f172a;
  --text-dark: #1e293b;
  --text-muted: #64748b;
  --white: #ffffff;
  --shadow: 0 4px 15px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 40px rgba(99,102,241,0.15);
  --radius: 16px;
  --radius-sm: 8px;
  --radius-xl: 24px;
  --transition: all 0.3s ease;

  /* Gradient */
  --gradient-primary: linear-gradient(135deg, #6366f1, #8b5cf6);
  --gradient-accent: linear-gradient(135deg, #10b981, #34d399);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.6;
  min-height: 100vh;
}

/* ========== LANDING PAGE STYLES ========== */

.landing-header {
  background: var(--white);
  padding: 1rem 1.5rem;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: var(--gradient-primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.25rem;
  font-weight: 700;
}

.logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
}

.logo-text span {
  color: var(--primary);
}

.header-cta {
  background: var(--gradient-primary);
  color: white;
  padding: 0.6rem 1.25rem;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.85rem;
  transition: var(--transition);
}

.header-cta:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-lg);
}

/* Hero Section */
.hero {
  background: var(--gradient-primary);
  padding: 3rem 1.5rem;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
}

.hero h1 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  position: relative;
}

.hero .tagline {
  font-size: 1rem;
  opacity: 0.95;
  margin-bottom: 1.5rem;
  position: relative;
}

.hero-price {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(10px);
  padding: 0.75rem 1.5rem;
  border-radius: 30px;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.hero-price .from {
  font-size: 0.8rem;
  opacity: 0.8;
}

.hero-buttons {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

.btn-hero {
  padding: 0.875rem 1.5rem;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

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

.btn-hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.btn-hero-secondary {
  background: rgba(255,255,255,0.2);
  color: white;
  border: 2px solid rgba(255,255,255,0.3);
}

.btn-hero-secondary:hover {
  background: rgba(255,255,255,0.3);
}

/* Features Section */
.features {
  padding: 2.5rem 1.5rem;
  max-width: 500px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  margin-bottom: 1.5rem;
}

.section-title h2 {
  font-size: 1.5rem;
  color: var(--text-dark);
  margin-bottom: 0.25rem;
}

.section-title p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.feature-grid {
  display: grid;
  gap: 1rem;
}

.feature-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

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

.feature-content h3 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
  color: var(--text-dark);
}

.feature-content p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Pricing Section */
.pricing {
  padding: 2.5rem 1.5rem;
  background: var(--bg-light);
}

.pricing-grid {
  display: grid;
  gap: 1rem;
  max-width: 500px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.pricing-card.featured {
  border: 2px solid var(--primary);
}

.pricing-card.featured::before {
  content: 'POPULAR';
  position: absolute;
  top: 12px;
  right: -30px;
  background: var(--secondary);
  color: white;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.25rem 2rem;
  transform: rotate(45deg);
}

.pricing-header {
  text-align: center;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e2e8f0;
}

.pricing-header h3 {
  font-size: 1.1rem;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.pricing-header .price {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
}

.pricing-header .price span {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 400;
}

.pricing-features {
  list-style: none;
  margin-bottom: 1.25rem;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.pricing-features li .check {
  color: var(--accent);
  font-weight: bold;
}

.pricing-features li.disabled {
  opacity: 0.5;
  text-decoration: line-through;
}

.pricing-btn {
  display: block;
  width: 100%;
  padding: 0.875rem;
  text-align: center;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
}

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

.pricing-btn-secondary {
  background: var(--bg-light);
  color: var(--primary);
}

.pricing-btn:hover {
  transform: translateY(-2px);
}

/* Use Cases */
.use-cases {
  padding: 2.5rem 1.5rem;
  max-width: 500px;
  margin: 0 auto;
}

.use-case-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.use-case-tag {
  background: var(--white);
  padding: 0.5rem 1rem;
  border-radius: 30px;
  font-size: 0.85rem;
  color: var(--text-muted);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

/* CTA Section */
.cta-section {
  background: var(--bg-dark);
  padding: 2.5rem 1.5rem;
  text-align: center;
  color: white;
}

.cta-section h2 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.cta-section p {
  opacity: 0.8;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

.cta-buttons {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Footer */
.landing-footer {
  background: var(--bg-dark);
  color: white;
  padding: 1.5rem;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-brand {
  margin-bottom: 0.75rem;
}

.footer-brand img {
  height: 30px;
}

.footer-brand p {
  font-size: 0.8rem;
  opacity: 0.7;
  margin-top: 0.5rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin-bottom: 1rem;
}

.footer-links a {
  color: white;
  text-decoration: none;
  font-size: 0.85rem;
  opacity: 0.8;
}

.footer-links a:hover {
  opacity: 1;
}

.footer-copy {
  font-size: 0.75rem;
  opacity: 0.6;
}

/* ========== VENDOR PAGE STYLES ========== */

/* Header */
.header {
  background: var(--gradient-primary);
  color: var(--white);
  padding: 1.5rem 1rem;
  text-align: center;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow);
}

.header h1 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.header .subtitle {
  font-size: 0.85rem;
  opacity: 0.9;
}

.header .event-badge {
  display: inline-block;
  background: rgba(255,255,255,0.2);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-top: 0.5rem;
}

/* Container */
.container {
  max-width: 480px;
  margin: 0 auto;
  padding: 1rem;
}

/* Vendor Card Grid */
.vendor-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

/* Vendor Card */
.vendor-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  text-decoration: none;
  color: inherit;
  display: block;
}

.vendor-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.vendor-card-image {
  width: 100%;
  height: 140px;
  object-fit: cover;
  background: var(--gradient-primary);
}

.vendor-card-content {
  padding: 1rem;
}

.vendor-card-category {
  display: inline-block;
  background: var(--bg-light);
  color: var(--primary);
  padding: 0.2rem 0.6rem;
  border-radius: 12px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
}

.vendor-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
  color: var(--text-dark);
}

.vendor-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.vendor-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.75rem;
  border-top: 1px solid #f0f0f0;
  margin-top: 0.5rem;
}

.stall-number {
  background: var(--primary);
  color: var(--white);
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
}

.view-btn {
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

/* Vendor Profile Page */
.vendor-hero {
  background: var(--gradient-primary);
  color: var(--white);
  padding: 2rem 1rem;
  text-align: center;
  position: relative;
}

.vendor-hero::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: 0;
  right: 0;
  height: 40px;
  background: var(--bg-light);
  border-radius: 50% 50% 0 0;
}

.vendor-logo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 4px solid var(--white);
  object-fit: cover;
  margin-bottom: 1rem;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 2.5rem;
}

.vendor-hero h1 {
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
}

.vendor-hero .tagline {
  font-size: 0.9rem;
  opacity: 0.9;
}

.vendor-hero .stall-badge {
  display: inline-block;
  background: rgba(255,255,255,0.2);
  color: white;
  padding: 0.35rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 1rem;
}

/* Info Section */
.info-section {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.25rem;
  margin-bottom: 1rem;
  box-shadow: var(--shadow);
}

.info-section h2 {
  font-size: 1.1rem;
  color: var(--text-dark);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.info-section h2 .icon {
  font-size: 1.2rem;
}

/* Contact Info */
.contact-list {
  list-style: none;
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid #f0f0f0;
}

.contact-list li:last-child {
  border-bottom: none;
}

.contact-list .icon {
  width: 36px;
  height: 36px;
  background: var(--bg-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.contact-list a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
}

.contact-list span {
  font-size: 0.9rem;
  color: var(--text-dark);
}

/* Product Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.product-item {
  background: var(--bg-light);
  border-radius: var(--radius-sm);
  padding: 1rem;
  text-align: center;
  transition: var(--transition);
}

.product-item:hover {
  background: #e0e7ff;
}

.product-item .icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.product-item h4 {
  font-size: 0.85rem;
  color: var(--text-dark);
  margin-bottom: 0.25rem;
}

.product-item .price {
  font-size: 0.8rem;
  color: var(--primary);
  font-weight: 600;
}

/* Special Offers */
.offer-card {
  background: var(--gradient-primary);
  border-radius: var(--radius);
  padding: 1.25rem;
  color: white;
  position: relative;
  overflow: hidden;
}

.offer-card::before {
  content: '🎉';
  position: absolute;
  top: -10px;
  right: -10px;
  font-size: 4rem;
  opacity: 0.2;
}

.offer-card h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.offer-card p {
  font-size: 0.85rem;
  opacity: 0.9;
}

.offer-card .discount {
  display: inline-block;
  background: rgba(255,255,255,0.2);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-top: 0.75rem;
}

/* CTA Buttons */
.cta-buttons {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.btn {
  flex: 1;
  padding: 0.875rem 1rem;
  border-radius: var(--radius-sm);
  text-align: center;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: none;
  cursor: pointer;
}

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

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

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

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

.btn-whatsapp {
  background: #25D366;
  color: var(--white);
}

.btn-whatsapp:hover {
  background: #128C7E;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.gallery-item {
  aspect-ratio: 1;
  border-radius: var(--radius-sm);
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  overflow: hidden;
}

/* Timings */
.timing-row {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid #f0f0f0;
}

.timing-row:last-child {
  border-bottom: none;
}

.timing-row .day {
  font-weight: 500;
}

.timing-row .time {
  color: var(--primary);
  font-weight: 600;
}

/* QR Code Section */
.qr-section {
  text-align: center;
  padding: 1.5rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.qr-code {
  width: 150px;
  height: 150px;
  margin: 0 auto 1rem;
  background: var(--bg-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.qr-code img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.5rem;
}

.qr-section p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Footer */
.footer {
  background: var(--bg-dark);
  color: var(--white);
  text-align: center;
  padding: 1.5rem 1rem;
  margin-top: 2rem;
}

.footer p {
  font-size: 0.85rem;
  opacity: 0.9;
}

.footer .event-name {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

/* Back Button */
.back-btn {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-primary);
  color: var(--white);
  padding: 0.75rem 1.5rem;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  z-index: 100;
  transition: var(--transition);
}

.back-btn:hover {
  transform: translateX(-50%) translateY(-2px);
}

/* Stats */
.stats-row {
  display: flex;
  justify-content: space-around;
  padding: 1rem;
  background: var(--white);
  border-radius: var(--radius);
  margin-bottom: 1rem;
  box-shadow: var(--shadow);
}

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

.stat-item .number {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

.stat-item .label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ========== LEAD CAPTURE POPUP ========== */

.lead-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.lead-overlay.active {
  opacity: 1;
  visibility: visible;
}

.lead-popup {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 2rem 1.5rem;
  max-width: 360px;
  width: 100%;
  text-align: center;
  transform: scale(0.9) translateY(20px);
  transition: var(--transition);
  position: relative;
}

.lead-overlay.active .lead-popup {
  transform: scale(1) translateY(0);
}

.lead-popup-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-light);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--text-muted);
  transition: var(--transition);
}

.lead-popup-close:hover {
  background: #fee2e2;
  color: #ef4444;
}

.lead-icon {
  width: 70px;
  height: 70px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 2rem;
}

.lead-popup h3 {
  font-size: 1.25rem;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.lead-popup .lead-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.lead-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.lead-input {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 2px solid #e2e8f0;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  transition: var(--transition);
}

.lead-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.lead-submit {
  width: 100%;
  padding: 0.875rem;
  background: var(--gradient-primary);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  margin-top: 0.5rem;
}

.lead-submit:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.lead-privacy {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 1rem;
}

.lead-skip {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 0.85rem;
  cursor: pointer;
  margin-top: 0.75rem;
  text-decoration: underline;
}

/* Success State */
.lead-success {
  display: none;
}

.lead-success.active {
  display: block;
}

.lead-success .success-icon {
  width: 70px;
  height: 70px;
  background: var(--gradient-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 2rem;
}

/* ========== POWERED BY BADGE ========== */

.powered-by {
  text-align: center;
  padding: 1rem;
  background: var(--bg-light);
  border-radius: var(--radius);
  margin-top: 1rem;
}

.powered-by p {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.powered-by a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
}

.powered-by .shopitricks-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--white);
  padding: 0.35rem 0.75rem;
  border-radius: 20px;
  box-shadow: var(--shadow);
  margin-top: 0.5rem;
}

.powered-by .shopitricks-badge .logo-mini {
  width: 20px;
  height: 20px;
  background: var(--gradient-primary);
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
}

/* Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-in {
  animation: fadeInUp 0.5s ease forwards;
}

/* Responsive */
@media (min-width: 400px) {
  .vendor-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .vendor-card-image {
    height: 120px;
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 720px;
  }

  .vendor-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ========== STICKY WHATSAPP CTA BANNER ========== */

.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, #25D366, #128C7E);
  padding: 0.875rem 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  z-index: 999;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
}

.sticky-cta-text {
  color: white;
  font-size: 0.9rem;
  font-weight: 500;
}

.sticky-cta-btn {
  background: white;
  color: #128C7E;
  padding: 0.6rem 1.5rem;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
  transition: var(--transition);
}

.sticky-cta-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* Adjust footer for sticky CTA */
.footer {
  margin-bottom: 5rem !important;
}

.back-btn {
  bottom: 5rem !important;
}

/* ========== VENDOR LOGIN & DASHBOARD ========== */

.login-section {
  max-width: 400px;
  margin: 2rem auto;
  padding: 2rem 1.5rem;
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

.login-section h2 {
  text-align: center;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.login-input {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 2px solid #e2e8f0;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  transition: var(--transition);
}

.login-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.login-btn {
  width: 100%;
  padding: 0.875rem;
  background: var(--gradient-primary);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.login-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* Dashboard Styles */
.dashboard-header {
  background: var(--gradient-primary);
  padding: 1.5rem;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.dashboard-header h1 {
  font-size: 1.25rem;
}

.logout-btn {
  background: rgba(255,255,255,0.2);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
}

.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding: 1.5rem;
  background: var(--bg-light);
}

.dashboard-stat {
  background: white;
  padding: 1.25rem;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow);
}

.dashboard-stat .number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
}

.dashboard-stat .label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.leads-table {
  width: 100%;
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin: 1rem;
}

.leads-table th,
.leads-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid #e2e8f0;
}

.leads-table th {
  background: var(--bg-light);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.leads-table td {
  font-size: 0.9rem;
}

.export-btn {
  background: var(--accent);
  color: white;
  padding: 0.6rem 1.25rem;
  border-radius: 20px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 1rem;
}

/* Mobile Leads List */
.leads-list {
  padding: 1rem;
}

.lead-card {
  background: white;
  border-radius: var(--radius);
  padding: 1rem;
  margin-bottom: 0.75rem;
  box-shadow: var(--shadow);
}

.lead-card h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.lead-card .phone {
  color: var(--primary);
  font-weight: 500;
}

.lead-card .time {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

/* Hero Video Background */
.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
  z-index: 0;
}

/* Image Cards */
.image-card {
  border-radius: var(--radius);
  overflow: hidden;
  height: 180px;
}

.image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ========== ORDER FORM STYLES ========== */

.order-container {
  max-width: 560px;
  margin: 0 auto;
  padding: 1rem;
}

.order-header {
  text-align: center;
  padding: 2rem 1rem;
  margin-bottom: 1rem;
}

.order-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 2.5rem;
}

.order-header h1 {
  font-size: 1.5rem;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.order-header p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.order-form {
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.form-section {
  padding: 1.5rem;
  border-bottom: 1px solid #e2e8f0;
}

.form-section:last-of-type {
  border-bottom: none;
}

.form-section-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.1rem;
  color: var(--text-dark);
  margin-bottom: 1.25rem;
}

.form-section-title span {
  width: 28px;
  height: 28px;
  background: var(--gradient-primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group:last-child {
  margin-bottom: 0;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.form-input {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 2px solid #e2e8f0;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-family: inherit;
  transition: var(--transition);
  background: var(--white);
}

.form-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-textarea {
  min-height: 100px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 480px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

/* Plan Selection */
.plan-options {
  display: grid;
  gap: 1rem;
}

.plan-card {
  position: relative;
  display: block;
  cursor: pointer;
}

.plan-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.plan-content {
  border: 2px solid #e2e8f0;
  border-radius: var(--radius);
  padding: 1.25rem;
  transition: var(--transition);
}

.plan-card input:checked + .plan-content {
  border-color: var(--primary);
  background: rgba(99, 102, 241, 0.05);
}

.plan-card.featured .plan-content {
  border-color: var(--primary-light);
}

.popular-tag {
  position: absolute;
  top: -10px;
  right: 1rem;
  background: var(--secondary);
  color: white;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 10px;
}

.plan-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.plan-name {
  font-weight: 600;
  color: var(--text-dark);
}

.plan-price {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
}

.plan-price small {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--text-muted);
}

.plan-features {
  list-style: none;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.plan-features li {
  padding: 0.2rem 0;
}

/* Days Selector */
.days-selector {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  max-width: 200px;
}

.days-btn {
  width: 44px;
  height: 44px;
  background: var(--bg-light);
  border: 2px solid #e2e8f0;
  border-radius: var(--radius-sm);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary);
  cursor: pointer;
  transition: var(--transition);
}

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

.days-input {
  width: 80px;
  height: 44px;
  text-align: center;
  font-size: 1.25rem;
  font-weight: 600;
  border: 2px solid #e2e8f0;
  border-radius: var(--radius-sm);
}

.days-input:focus {
  outline: none;
  border-color: var(--primary);
}

.days-hint {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

/* Order Summary */
.order-summary {
  background: var(--bg-light);
  padding: 1.5rem;
  border-top: 1px solid #e2e8f0;
}

.order-summary h3 {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.summary-row span:last-child {
  color: var(--text-dark);
  font-weight: 500;
}

.discount-row span {
  color: var(--accent) !important;
}

.summary-divider {
  height: 1px;
  background: #e2e8f0;
  margin: 0.75rem 0;
}

.total-row {
  font-size: 1.1rem;
}

.total-row strong {
  color: var(--primary);
  font-size: 1.5rem;
}

/* Submit Button */
.order-submit-btn {
  width: 100%;
  padding: 1.25rem;
  background: var(--gradient-primary);
  color: white;
  border: none;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.order-submit-btn:hover {
  opacity: 0.95;
  transform: translateY(-2px);
}

.order-help {
  text-align: center;
  padding: 1.25rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  background: var(--white);
}

.order-help a {
  color: var(--primary);
  font-weight: 500;
}

/* Discount Banner */
.discount-banner {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: white;
  text-align: center;
  padding: 0.875rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.discount-badge {
  background: rgba(255,255,255,0.2);
  padding: 0.2rem 0.75rem;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.discount-banner strong {
  font-size: 1.1rem;
}

.discount-subtext {
  font-size: 0.8rem;
  opacity: 0.9;
}

@media (min-width: 480px) {
  .discount-banner {
    flex-direction: row;
    gap: 1rem;
  }
}
