@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800;900&display=swap');

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

:root {
  --primary: #0A59FC;
  --primary-dark: #0043d4;
  --primary-light: #e8f0ff;
  --navy: #0f172a;
  --slate: #334155;
  --gray: #64748b;
  --light: #f8fafc;
  --border: #e2e8f0;
  --white: #ffffff;
  --gradient: linear-gradient(135deg, #0A59FC 0%, #6366f1 100%);
  --shadow: 0 4px 6px -1px rgba(0,0,0,.1), 0 2px 4px -2px rgba(0,0,0,.1);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -4px rgba(0,0,0,.1);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,.1), 0 8px 10px -6px rgba(0,0,0,.1);
  --radius: 12px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--navy);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; }

/* ====== NAVBAR ====== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 0 1.5rem;
  height: 70px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}
.navbar.scrolled { box-shadow: var(--shadow); }

.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 1.25rem; font-weight: 800; color: var(--navy);
}
.nav-logo-icon {
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--gradient);
  display: flex; align-items: center; justify-content: center;
  color: white; font-weight: 900; font-size: 1.1rem;
  box-shadow: 0 4px 12px rgba(10,89,252,0.35);
}

.nav-links {
  display: flex; align-items: center; gap: 2rem;
}
.nav-links a {
  font-size: 0.9rem; font-weight: 600; color: var(--slate);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--primary); }

.nav-actions { display: flex; align-items: center; gap: 0.75rem; }

.btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.5rem 1.25rem; border-radius: 8px; font-weight: 600; font-size: 0.9rem; transition: all 0.2s; }
.btn-primary { background: var(--primary); color: white; box-shadow: 0 4px 12px rgba(10,89,252,0.3); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); box-shadow: 0 6px 16px rgba(10,89,252,0.4); }
.btn-outline { background: transparent; color: var(--navy); border: 1.5px solid var(--border); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-ghost { background: transparent; color: var(--slate); }
.btn-ghost:hover { color: var(--primary); }
.btn-lg { padding: 0.85rem 2rem; font-size: 1rem; border-radius: 10px; }
.btn-xl { padding: 1rem 2.5rem; font-size: 1.05rem; border-radius: 12px; }

.cart-btn {
  position: relative; width: 40px; height: 40px;
  border-radius: 8px; border: 1.5px solid var(--border);
  background: transparent; display: flex; align-items: center; justify-content: center;
  color: var(--navy); transition: all 0.2s;
}
.cart-btn:hover { border-color: var(--primary); color: var(--primary); }
.cart-badge {
  position: absolute; top: -6px; right: -6px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--primary); color: white;
  font-size: 0.65rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}

.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--navy); border-radius: 2px; transition: all 0.3s; }

.mobile-menu {
  display: none; position: fixed; top: 70px; left: 0; right: 0;
  background: white; border-bottom: 1px solid var(--border);
  padding: 1.5rem; box-shadow: var(--shadow-lg); z-index: 999;
}
.mobile-menu.open { display: block; }
.mobile-menu a { display: block; padding: 0.75rem 0; font-weight: 600; color: var(--slate); border-bottom: 1px solid var(--border); }
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu .mobile-actions { margin-top: 1rem; display: flex; gap: 0.75rem; }

/* ====== HERO SLIDER ====== */
.hero {
  min-height: 100vh; padding-top: 70px;
  background: linear-gradient(150deg, #f0f4ff 0%, #fafbff 40%, #eef2ff 100%);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  overflow: hidden;
}

.hero-slider-wrapper {
  width: 100%;
  overflow: hidden;
  padding: 3rem 0 2rem;
}

.hero-slider-track {
  display: flex;
  gap: 1.5rem;
  animation: slideLeft 30s linear infinite;
  width: max-content;
  padding: 0 1.5rem;
}

.hero-slider-track:hover {
  animation-play-state: paused;
}

@keyframes slideLeft {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.hero-slide-card {
  width: 280px;
  height: 200px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  flex-shrink: 0;
  position: relative;
  border: 1px solid rgba(255,255,255,0.7);
  display: flex; align-items: center; justify-content: center;
  font-size: 3.5rem;
  transition: transform 0.3s;
  cursor: pointer;
}

.hero-slide-card:hover { transform: scale(1.04); }

.hero-slide-label {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 1rem;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  color: white;
  font-size: 0.8rem;
  font-weight: 700;
}

.hero-bottom {
  padding: 2rem 1.5rem 3rem;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.hero-bottom-btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.9rem 2rem; border-radius: 12px;
  background: var(--primary); color: white;
  font-weight: 700; font-size: 1rem;
  box-shadow: 0 6px 20px rgba(10,89,252,0.35);
  margin-bottom: 1.75rem;
  transition: all 0.2s;
}
.hero-bottom-btn:hover { background: var(--primary-dark); transform: translateY(-2px); }

.hero-trust { display: flex; align-items: center; justify-content: center; gap: 2rem; flex-wrap: wrap; font-size: 0.9rem; color: var(--slate); font-weight: 600; }
.hero-trust span { display: flex; align-items: center; gap: 8px; }
.hero-trust .trust-check {
  width: 22px; height: 22px; border-radius: 50%;
  background: #dcfce7; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.hero-trust .trust-check svg { color: #16a34a; }

/* ====== SECTIONS ====== */
.section { padding: 80px 1.5rem; }
.section-alt { background: var(--light); }
.container { max-width: 1200px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-header .tag {
  display: inline-block; padding: 4px 14px; border-radius: 50px;
  background: var(--primary-light); color: var(--primary);
  font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;
  margin-bottom: 1rem;
}
.section-header h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); font-weight: 800; color: var(--navy); margin-bottom: 1rem; }
.section-header p { color: var(--gray); font-size: 1.05rem; max-width: 560px; margin: auto; }

/* ====== TEMPLATE CATEGORIES TABS ====== */
.template-tabs {
  display: flex; align-items: center; gap: 0.5rem;
  justify-content: center; flex-wrap: wrap; margin-bottom: 2.5rem;
}
.template-tab-btn {
  padding: 0.5rem 1.25rem; border-radius: 50px;
  border: 1.5px solid var(--border); background: white;
  font-size: 0.875rem; font-weight: 600; color: var(--slate);
  cursor: pointer; transition: all 0.2s;
}
.template-tab-btn:hover { border-color: var(--primary); color: var(--primary); }
.template-tab-btn.active { background: var(--primary); color: white; border-color: var(--primary); box-shadow: 0 4px 12px rgba(10,89,252,0.3); }

.template-section { display: none; }
.template-section.active { display: block; }

/* ====== CATEGORIES ====== */
.categories-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 1rem; }
.category-card {
  background: white; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.5rem 1rem; text-align: center; cursor: pointer;
  transition: all 0.25s; text-decoration: none; color: inherit;
}
.category-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--primary); }
.category-icon {
  width: 56px; height: 56px; border-radius: 14px; margin: 0 auto 0.75rem;
  display: flex; align-items: center; justify-content: center; font-size: 1.5rem;
}
.category-card h3 { font-size: 0.875rem; font-weight: 700; color: var(--navy); margin-bottom: 0.25rem; }
.category-card p { font-size: 0.75rem; color: var(--gray); }

/* ====== PRODUCT CARDS ====== */
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; }
.product-card {
  background: white; border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; transition: all 0.25s; text-decoration: none; color: inherit;
  display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-xl); border-color: transparent; }
.product-thumb {
  height: 180px; display: flex; align-items: center; justify-content: center;
  font-size: 2.5rem; position: relative; overflow: hidden;
}
.product-badge {
  position: absolute; top: 12px; left: 12px;
  padding: 3px 10px; border-radius: 50px; font-size: 0.72rem; font-weight: 700;
  background: rgba(255,255,255,0.95); color: var(--primary); border: 1px solid rgba(10,89,252,0.2);
}
.product-trending {
  position: absolute; top: 12px; right: 12px;
  padding: 3px 10px; border-radius: 50px; font-size: 0.72rem; font-weight: 700;
  background: #fef3c7; color: #d97706;
}
.product-body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; }
.product-meta { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.5rem; }
.stars { display: flex; align-items: center; gap: 4px; font-size: 0.8rem; color: var(--gray); }
.stars svg { color: #f59e0b; }
.product-sold { font-size: 0.75rem; color: var(--gray); }
.product-body h3 { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 0.75rem; line-height: 1.4; flex: 1; }
.product-footer { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.75rem; }
.product-seller { font-size: 0.8rem; color: var(--gray); }
.product-seller strong { color: var(--slate); font-weight: 600; }
.product-price { font-size: 1.1rem; font-weight: 800; color: var(--primary); }
.product-actions { display: flex; gap: 0.5rem; }
.product-actions .btn-buy { flex: 1; background: var(--primary); color: white; border-radius: 8px; padding: 0.55rem 1rem; font-size: 0.85rem; font-weight: 700; display: flex; align-items: center; justify-content: center; gap: 0.4rem; transition: all 0.2s; }
.product-actions .btn-buy:hover { background: var(--primary-dark); }
.product-actions .btn-demo { background: transparent; border: 1.5px solid var(--border); border-radius: 8px; padding: 0.55rem 0.75rem; color: var(--slate); font-size: 0.85rem; font-weight: 600; display: flex; align-items: center; gap: 0.4rem; transition: all 0.2s; white-space: nowrap; }
.product-actions .btn-demo:hover { border-color: var(--primary); color: var(--primary); }

/* ====== STATS ====== */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; }
.stat-card { text-align: center; }
.stat-card .number { font-size: 2.5rem; font-weight: 900; color: var(--primary); margin-bottom: 0.25rem; }
.stat-card p { font-size: 0.9rem; color: var(--gray); font-weight: 500; }

/* ====== WHY SECTION ====== */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 2rem; }
.feature-card { padding: 2rem; background: white; border: 1px solid var(--border); border-radius: var(--radius); }
.feature-icon { width: 52px; height: 52px; border-radius: 12px; background: var(--primary-light); display: flex; align-items: center; justify-content: center; margin-bottom: 1.25rem; color: var(--primary); }
.feature-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--navy); margin-bottom: 0.5rem; }
.feature-card p { font-size: 0.9rem; color: var(--gray); line-height: 1.6; }

/* ====== TESTIMONIALS ====== */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; }
.testimonial-card {
  background: white; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 2rem;
}
.testimonial-stars { display: flex; gap: 3px; margin-bottom: 1rem; color: #f59e0b; }
.testimonial-text { font-size: 0.95rem; color: var(--slate); line-height: 1.7; margin-bottom: 1.5rem; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 0.75rem; }
.author-avatar { width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1rem; color: white; flex-shrink: 0; }
.author-name { font-weight: 700; font-size: 0.9rem; color: var(--navy); }
.author-role { font-size: 0.8rem; color: var(--gray); }

/* ====== VENDOR CTA ====== */
.vendor-cta {
  background: var(--gradient); border-radius: 20px; padding: 4rem 2rem;
  text-align: center; color: white;
}
.vendor-cta h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 900; margin-bottom: 1rem; }
.vendor-cta p { font-size: 1.05rem; opacity: 0.85; max-width: 500px; margin: 0 auto 2rem; }
.btn-white { background: white; color: var(--primary); font-weight: 700; }
.btn-white:hover { background: var(--primary-light); }
.btn-outline-white { border: 2px solid rgba(255,255,255,0.5); color: white; background: transparent; }
.btn-outline-white:hover { background: rgba(255,255,255,0.15); }

/* ====== NEWSLETTER ====== */
.newsletter { background: var(--navy); color: white; padding: 60px 1.5rem; text-align: center; }
.newsletter h2 { font-size: 1.75rem; font-weight: 800; margin-bottom: 0.5rem; }
.newsletter p { color: #94a3b8; margin-bottom: 2rem; }
.newsletter-form { display: flex; max-width: 460px; margin: auto; gap: 0; background: rgba(255,255,255,0.1); border-radius: 10px; overflow: hidden; border: 1px solid rgba(255,255,255,0.15); }
.newsletter-form input { flex: 1; padding: 0.9rem 1.25rem; background: transparent; border: none; outline: none; color: white; font-family: inherit; font-size: 0.9rem; }
.newsletter-form input::placeholder { color: #64748b; }
.newsletter-form button { padding: 0.9rem 1.5rem; background: var(--primary); color: white; border: none; font-weight: 700; font-size: 0.9rem; cursor: pointer; white-space: nowrap; }

/* ====== FOOTER ====== */
footer {
  background: #0a0f1e; color: #94a3b8;
  padding: 60px 1.5rem 30px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand p { font-size: 0.875rem; line-height: 1.7; margin: 1rem 0 1.5rem; color: #64748b; max-width: 280px; }
.footer-col h4 { font-size: 0.8rem; font-weight: 700; color: white; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 1.25rem; }
.footer-col a { display: block; font-size: 0.875rem; color: #64748b; margin-bottom: 0.6rem; transition: color 0.2s; }
.footer-col a:hover { color: white; }
.footer-bottom { border-top: 1px solid #1e293b; padding-top: 1.5rem; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-size: 0.8rem; color: #475569; }
.footer-bottom a { color: #64748b; transition: color 0.2s; }
.footer-bottom a:hover { color: white; }
.social-links { display: flex; gap: 0.75rem; margin-bottom: 1rem; }
.social-link { width: 38px; height: 38px; border-radius: 8px; background: #1e293b; display: flex; align-items: center; justify-content: center; color: #94a3b8; transition: all 0.2s; font-size: 0.9rem; }
.social-link:hover { background: var(--primary); color: white; }
.social-link svg { width: 16px; height: 16px; fill: currentColor; }

.footer-logo-img { height: 40px; margin-bottom: 0.75rem; }

.techspire-credit { font-size: 0.8rem; }
.techspire-credit a { color: var(--primary); font-weight: 600; transition: opacity 0.2s; }
.techspire-credit a:hover { opacity: 0.8; }

/* ====== WHATSAPP FLOAT ====== */
.whatsapp-float {
  position: fixed; bottom: 2rem; right: 2rem;
  width: 60px; height: 60px; border-radius: 50%;
  background: #25d366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(37,211,102,0.5);
  z-index: 999;
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 8px 30px rgba(37,211,102,0.6); }
.whatsapp-float svg { width: 32px; height: 32px; fill: white; }

/* ====== SHOP PAGE ====== */
.page-header { background: linear-gradient(135deg, #f0f4ff 0%, #fafbff 100%); padding: 100px 1.5rem 60px; }
.page-header h1 { font-size: 2.5rem; font-weight: 900; color: var(--navy); margin-bottom: 0.5rem; }
.page-header p { color: var(--gray); font-size: 1.05rem; }

.shop-layout { display: grid; grid-template-columns: 260px 1fr; gap: 2rem; align-items: start; }
.sidebar { background: white; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; position: sticky; top: 90px; }
.sidebar h3 { font-size: 0.9rem; font-weight: 700; color: var(--navy); margin-bottom: 1rem; padding-bottom: 0.75rem; border-bottom: 1px solid var(--border); }
.filter-group { margin-bottom: 1.5rem; }
.filter-group label { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; color: var(--slate); cursor: pointer; padding: 0.4rem 0; }
.filter-group input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--primary); }
.filter-group input[type="range"] { width: 100%; accent-color: var(--primary); }
.shop-search { display: flex; gap: 1rem; margin-bottom: 2rem; align-items: center; }
.shop-search input { flex: 1; padding: 0.75rem 1rem; border: 1.5px solid var(--border); border-radius: 8px; outline: none; font-family: inherit; font-size: 0.9rem; color: var(--navy); transition: border-color 0.2s; }
.shop-search input:focus { border-color: var(--primary); }
.select-box { padding: 0.75rem 1rem; border: 1.5px solid var(--border); border-radius: 8px; outline: none; font-family: inherit; font-size: 0.875rem; color: var(--navy); background: white; cursor: pointer; }
.shop-meta { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; font-size: 0.875rem; color: var(--gray); }

/* ====== PRODUCT PAGE ====== */
.product-page { padding: 100px 1.5rem 80px; }
.product-layout { display: grid; grid-template-columns: 1fr 400px; gap: 3rem; }
.product-gallery { position: sticky; top: 90px; }
.product-main-img { border-radius: var(--radius); overflow: hidden; background: #f0f4ff; aspect-ratio: 16/9; display: flex; align-items: center; justify-content: center; font-size: 4rem; margin-bottom: 1rem; border: 1px solid var(--border); }
.product-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.5rem; }
.product-thumb-item { border-radius: 8px; overflow: hidden; aspect-ratio: 16/10; cursor: pointer; border: 2px solid transparent; transition: border-color 0.2s; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; }
.product-thumb-item.active { border-color: var(--primary); }
.product-info h1 { font-size: 1.75rem; font-weight: 900; color: var(--navy); margin-bottom: 0.75rem; }
.product-info .meta-row { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.5rem; font-size: 0.875rem; color: var(--gray); }
.rating-pill { display: flex; align-items: center; gap: 4px; background: #fef3c7; color: #92400e; padding: 3px 10px; border-radius: 50px; font-weight: 600; }
.price-box { background: var(--primary-light); border-radius: var(--radius); padding: 1.5rem; margin-bottom: 1.5rem; }
.price-box .price { font-size: 2.5rem; font-weight: 900; color: var(--primary); }
.price-box .orig-price { text-decoration: line-through; color: var(--gray); font-size: 1rem; }
.action-buttons { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 1.5rem; }
.action-buttons .btn { justify-content: center; width: 100%; padding: 0.9rem; }
.product-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tag-pill { display: inline-flex; align-items: center; gap: 4px; padding: 4px 12px; border-radius: 50px; background: var(--light); border: 1px solid var(--border); font-size: 0.8rem; font-weight: 600; color: var(--slate); }

.tabs { border-bottom: 2px solid var(--border); display: flex; gap: 0; margin-bottom: 2rem; }
.tab-btn { padding: 0.75rem 1.5rem; font-weight: 600; font-size: 0.9rem; color: var(--gray); background: none; border: none; border-bottom: 2px solid transparent; margin-bottom: -2px; cursor: pointer; transition: all 0.2s; }
.tab-btn.active { color: var(--primary); border-bottom-color: var(--primary); }
.tab-content { display: none; }
.tab-content.active { display: block; }

/* ====== MEMBERSHIP PAGE ====== */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.pricing-card { background: white; border: 2px solid var(--border); border-radius: 16px; padding: 2.5rem 2rem; text-align: center; position: relative; transition: all 0.3s; }
.pricing-card:hover { border-color: var(--primary); box-shadow: var(--shadow-xl); }
.pricing-card.popular { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(10,89,252,0.1); }
.popular-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--gradient); color: white; padding: 4px 20px; border-radius: 50px; font-size: 0.75rem; font-weight: 700; white-space: nowrap; }
.pricing-card h3 { font-size: 1rem; font-weight: 700; color: var(--gray); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 1.5rem; }
.pricing-card .price { font-size: 3rem; font-weight: 900; color: var(--navy); line-height: 1; }
.pricing-card .price sup { font-size: 1.5rem; }
.pricing-card .period { color: var(--gray); font-size: 0.875rem; margin-bottom: 2rem; }
.feature-list { text-align: left; margin-bottom: 2rem; }
.feature-list li { display: flex; align-items: center; gap: 10px; padding: 0.5rem 0; font-size: 0.9rem; color: var(--slate); border-bottom: 1px solid var(--border); }
.feature-list li:last-child { border-bottom: none; }
.feature-list .check { color: #22c55e; flex-shrink: 0; }
.feature-list .cross { color: #ef4444; flex-shrink: 0; }

.faq { max-width: 720px; margin: 0 auto; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 1rem; overflow: hidden; }
.faq-question { width: 100%; text-align: left; padding: 1.25rem 1.5rem; background: white; font-weight: 600; font-size: 0.95rem; color: var(--navy); border: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.faq-question:hover { background: var(--light); }
.faq-answer { padding: 0 1.5rem 1.25rem; font-size: 0.9rem; color: var(--gray); line-height: 1.7; display: none; }
.faq-item.open .faq-answer { display: block; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-icon { font-size: 1.5rem; color: var(--gray); transition: transform 0.3s; flex-shrink: 0; }

/* ====== VENDOR PAGE ====== */
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2rem; }
.step-card { text-align: center; padding: 2rem 1.5rem; }
.step-number { width: 52px; height: 52px; border-radius: 50%; background: var(--gradient); color: white; display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 1.2rem; margin: 0 auto 1rem; }
.step-card h3 { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 0.5rem; }
.step-card p { font-size: 0.875rem; color: var(--gray); }

.vendor-form { background: white; border: 1px solid var(--border); border-radius: 16px; padding: 2.5rem; max-width: 600px; margin: auto; }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-weight: 600; font-size: 0.875rem; color: var(--navy); margin-bottom: 0.5rem; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 0.75rem 1rem; border: 1.5px solid var(--border); border-radius: 8px; font-family: inherit; font-size: 0.9rem; color: var(--navy); outline: none; transition: border-color 0.2s; background: white; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--primary); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* ====== AUTH PAGES ====== */
.auth-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #f0f4ff 0%, #fafbff 100%); padding: 5rem 1.5rem 2rem; }
.auth-card { background: white; border: 1px solid var(--border); border-radius: 20px; padding: 2.5rem; width: 100%; max-width: 420px; box-shadow: var(--shadow-xl); }
.auth-card .logo { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 2rem; }
.auth-card h1 { font-size: 1.5rem; font-weight: 800; color: var(--navy); text-align: center; margin-bottom: 0.5rem; }
.auth-card .subtitle { text-align: center; color: var(--gray); font-size: 0.9rem; margin-bottom: 2rem; }
.divider { display: flex; align-items: center; gap: 1rem; margin: 1.5rem 0; color: var(--gray); font-size: 0.8rem; }
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.auth-link { text-align: center; margin-top: 1.5rem; font-size: 0.875rem; color: var(--gray); }
.auth-link a { color: var(--primary); font-weight: 600; }

/* ====== CART PAGE ====== */
.cart-layout { display: grid; grid-template-columns: 1fr 380px; gap: 2rem; align-items: start; }
.cart-item { display: flex; gap: 1.25rem; padding: 1.5rem; background: white; border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 1rem; }
.cart-item-thumb { width: 80px; height: 70px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 1.75rem; flex-shrink: 0; }
.cart-item-info { flex: 1; }
.cart-item-info h3 { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 0.25rem; }
.cart-item-info p { font-size: 0.8rem; color: var(--gray); }
.cart-item-price { font-size: 1.1rem; font-weight: 800; color: var(--primary); }
.cart-remove { background: none; border: none; color: #ef4444; cursor: pointer; font-size: 0.8rem; font-weight: 600; margin-top: 0.25rem; }

.order-summary { background: white; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.75rem; position: sticky; top: 90px; }
.order-summary h3 { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 1.5rem; padding-bottom: 1rem; border-bottom: 1px solid var(--border); }
.summary-row { display: flex; justify-content: space-between; font-size: 0.9rem; color: var(--slate); margin-bottom: 0.75rem; }
.summary-row.total { font-size: 1.1rem; font-weight: 800; color: var(--navy); padding-top: 1rem; border-top: 1px solid var(--border); margin-top: 0.75rem; }
.guarantee { display: flex; align-items: flex-start; gap: 0.75rem; margin-top: 1.5rem; padding: 1rem; background: #f0fdf4; border-radius: 10px; border: 1px solid #bbf7d0; }
.guarantee svg { color: #22c55e; flex-shrink: 0; margin-top: 2px; }
.guarantee p { font-size: 0.8rem; color: #166534; line-height: 1.5; }

/* ====== BREADCRUMB ====== */
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 0.82rem; color: var(--gray); margin-bottom: 1.5rem; flex-wrap: wrap; }
.breadcrumb a { color: var(--primary); }

/* ====== BADGE ====== */
.badge { display: inline-block; padding: 3px 12px; border-radius: 50px; font-size: 0.78rem; font-weight: 700; }
.badge-primary { background: var(--primary-light); color: var(--primary); }
.badge-green { background: #dcfce7; color: #15803d; }
.badge-yellow { background: #fef3c7; color: #b45309; }

/* ====== REFUND PAGE ====== */
.refund-page { padding: 100px 1.5rem 80px; }
.refund-content { max-width: 800px; margin: 0 auto; }
.refund-content h1 { font-size: 2.5rem; font-weight: 900; color: var(--navy); margin-bottom: 1rem; }
.refund-content .subtitle { color: var(--gray); font-size: 1.05rem; margin-bottom: 3rem; border-bottom: 1px solid var(--border); padding-bottom: 2rem; }
.refund-content h2 { font-size: 1.3rem; font-weight: 800; color: var(--navy); margin: 2rem 0 0.75rem; }
.refund-content p { color: var(--slate); line-height: 1.8; margin-bottom: 1rem; }
.refund-content ul { padding-left: 1.5rem; list-style: disc; color: var(--slate); }
.refund-content ul li { margin-bottom: 0.5rem; line-height: 1.7; }
.refund-highlight { background: var(--primary-light); border-left: 4px solid var(--primary); border-radius: 0 10px 10px 0; padding: 1rem 1.5rem; margin: 1.5rem 0; }
.refund-highlight p { margin: 0; color: var(--primary-dark); font-weight: 600; }

/* ====== DEMO PAGE ====== */
.demo-page { padding: 70px 0 0; min-height: 100vh; display: flex; flex-direction: column; }
.demo-topbar {
  background: var(--navy); color: white; padding: 0.75rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  flex-shrink: 0; flex-wrap: wrap;
}
.demo-topbar h2 { font-size: 0.95rem; font-weight: 700; }
.demo-topbar .demo-actions { display: flex; gap: 0.75rem; }
.demo-topbar a { font-size: 0.85rem; color: #94a3b8; font-weight: 600; transition: color 0.2s; }
.demo-topbar a:hover { color: white; }
.demo-iframe-wrap { flex: 1; position: relative; min-height: calc(100vh - 120px); }
.demo-iframe-wrap iframe { width: 100%; height: 100%; min-height: calc(100vh - 120px); border: none; display: block; }
.demo-placeholder {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: calc(100vh - 120px); background: var(--light);
  text-align: center; padding: 3rem;
}
.demo-placeholder .icon { font-size: 4rem; margin-bottom: 1.5rem; }
.demo-placeholder h2 { font-size: 1.5rem; font-weight: 800; color: var(--navy); margin-bottom: 0.75rem; }
.demo-placeholder p { color: var(--gray); max-width: 440px; line-height: 1.7; }

/* ====== TEXT UTILS ====== */
.text-center { text-align: center; }
.mt-4 { margin-top: 2.5rem; }
.w-full { width: 100%; }

/* ====== RESPONSIVE ====== */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .shop-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .product-layout { grid-template-columns: 1fr; }
  .cart-layout { grid-template-columns: 1fr; }
  .product-gallery { position: static; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero-slide-card { width: 220px; height: 160px; }
  .whatsapp-float { width: 52px; height: 52px; bottom: 1.25rem; right: 1.25rem; }
  .whatsapp-float svg { width: 26px; height: 26px; }
}

@media (max-width: 480px) {
  .form-row { grid-template-columns: 1fr; }
  .hero-bottom-btn { width: 100%; justify-content: center; }
  .hero-trust { gap: 1rem; }
  .demo-topbar { flex-direction: column; align-items: flex-start; }
}

/* Product thumb link wrapper */
a.product-thumb-link { display:block; text-decoration:none; color:inherit; }
a.product-thumb-link .product-thumb { transition: transform 0.2s, box-shadow 0.2s; }
a.product-thumb-link:hover .product-thumb { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.13); }

/* ====== TEMPLATE PREVIEW ====== */
.template-preview { margin: 2rem 0; }
.preview-container {
  position: relative;
  width: 100%;
  height: 400px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--light);
  box-shadow: var(--shadow);
}
.preview-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  pointer-events: none;
  transform: scale(0.75);
  transform-origin: top left;
  width: 133.33%;
  height: 133.33%;
}
.preview-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0);
  opacity: 0;
  transition: all 0.3s;
  pointer-events: none;
}
.preview-container:hover .preview-overlay {
  opacity: 1;
  background: rgba(0, 0, 0, 0.4);
  pointer-events: all;
}
.preview-overlay-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: white;
  color: var(--navy);
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: var(--shadow-xl);
  transition: all 0.2s;
  transform: translateY(10px);
}
.preview-container:hover .preview-overlay-btn {
  transform: translateY(0);
}
.preview-overlay-btn:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px) !important;
  box-shadow: 0 12px 24px rgba(10, 89, 252, 0.4);
}

/* Django layout fixes */
body { padding-top: 0; }
.page-header { padding-top: 120px; }
main > section:first-child { margin-top: 70px; }