
:root {
  --ink: #0f172a;
  --cream: #f8fafc;
  --surface: #ffffff;
  --primary: #dc2626;
  --primary-dark: #b91c1c;
  --accent: #f59e0b;
  --accent-hover: #d97706;
  --text: #1e293b;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --success: #10b981;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.05);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 16px 40px rgba(0,0,0,0.12);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

/* ── HEADER ── */
.top-bar {
  background: var(--accent);
  color: white;
  text-align: center;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

header {
  background: var(--surface);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

header.scrolled { box-shadow: var(--shadow-md); backdrop-filter: blur(10px); background: rgba(255,255,255,0.95); }

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 24px;
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 900;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.5px;
}
.logo span { color: var(--primary); }

.nav-links { display: flex; gap: 28px; }
.nav-links a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  position: relative;
  transition: var(--transition);
}
.nav-links a:hover { color: var(--primary); }
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
}
.nav-links a:hover::after { width: 100%; }

.nav-actions { display: flex; gap: 16px; align-items: center; }
.nav-btn {
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  transition: var(--transition);
  position: relative;
}
.nav-btn:hover { background: #f1f5f9; transform: translateY(-2px); }

.badge {
  position: absolute;
  top: -2px;
  right: -2px;
  background: var(--accent);
  color: white;
  font-size: 10px;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-menu-btn { display: none; background: none; border: none; font-size: 24px; cursor: pointer; }
.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--surface);
  padding: 16px 24px;
  border-top: 1px solid var(--border);
  gap: 12px;
}
.mobile-menu a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}

/* ── HERO ── */
.hero {
  background: linear-gradient(135deg, rgba(15,23,42,0.85) 0%, rgba(127,29,29,0.7) 50%, rgba(220,38,38,0.6) 100%),
              url('https://images.unsplash.com/photo-1523240795612-9a054b0db644?q=80&w=2070&auto=format&fit=crop');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: 80px 0 100px;
  position: relative;
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero-content { color: white; z-index: 2; }
.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  color: var(--accent);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
  border: 1px solid rgba(255,255,255,0.2);
}
.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.1;
  margin-bottom: 20px;
  font-weight: 900;
}
.hero p {
  font-size: 18px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 32px;
  max-width: 540px;
  line-height: 1.7;
}
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }

.btn-primary, .btn-outline {
  padding: 14px 28px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  border: none;
}
.btn-primary { background: var(--accent); color: white; }
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-3px); box-shadow: 0 8px 20px rgba(245,158,11,0.3); }
.btn-outline { background: transparent; color: white; border: 2px solid rgba(255,255,255,0.4); }
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: white; }

.hero-visual { position: relative; display: flex; justify-content: center; align-items: center; }
.hero-blob {
  position: absolute;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(245,158,11,0.2) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(40px);
  animation: pulse 4s infinite alternate;
}
@keyframes pulse { 0% { transform: scale(0.9); } 100% { transform: scale(1.1); } }

.hero-card {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  color: white;
  box-shadow: var(--shadow-lg);
  transform: translateY(20px);
  animation: float 6s ease-in-out infinite;
}
@keyframes float { 0%, 100% { transform: translateY(20px); } 50% { transform: translateY(-10px); } }
.hero-emoji { font-size: 64px; }
.hero-card-info { display: flex; flex-direction: column; }
.hero-card-info strong { font-size: 20px; margin-bottom: 4px; }
.hero-card-info span { font-size: 14px; opacity: 0.8; }

/* ── LOGOS BAR ── */
.logos-bar { padding: 40px 0; background: #f8fafc; border-bottom: 1px solid var(--border); }
.logos-bar p { text-align: center; color: var(--text-muted); font-size: 14px; margin-bottom: 20px; font-weight: 500; text-transform: uppercase; letter-spacing: 1px; }
.logo-strip { display: flex; justify-content: center; flex-wrap: wrap; gap: 32px; opacity: 0.6; }
.logo-strip span { font-weight: 700; font-size: 16px; color: var(--text); }

/* ── SECTIONS ── */
.section { padding: 80px 0; }
.section-alt { background: #f1f5f9; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 40px; flex-wrap: wrap; gap: 16px; }
.section-head h2 { font-family: 'Playfair Display', serif; font-size: 36px; color: var(--ink); }
.see-all { color: var(--primary); font-weight: 600; text-decoration: none; transition: var(--transition); }
.see-all:hover { color: var(--primary-dark); transform: translateX(4px); }

/* ── CATEGORIES ── */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 20px; }
.cat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 16px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
}
.cat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--primary); }
.cat-icon { font-size: 48px; margin-bottom: 12px; display: block; }
.cat-name { font-weight: 600; font-size: 16px; color: var(--ink); }

/* ── PRODUCTS ── */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.product-card {
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
}
.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.product-img {
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 80px;
  background: #f8fafc;
  position: relative;
}
.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--accent);
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
}
.product-info { padding: 20px; }
.product-cat { font-size: 12px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 6px; }
.product-name { font-size: 18px; font-weight: 600; margin-bottom: 8px; color: var(--ink); }
.product-rating { color: var(--accent); font-size: 14px; margin-bottom: 10px; }
.product-price { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.price-current { font-size: 22px; font-weight: 700; color: var(--primary); }
.price-old { font-size: 16px; color: var(--text-muted); text-decoration: line-through; }
.add-cart {
  width: 100%;
  padding: 12px;
  background: var(--ink);
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}
.add-cart:hover { background: var(--primary); transform: scale(1.02); }

/* ── FEATURES ── */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 24px; }
.feature-card {
  background: var(--surface);
  padding: 32px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.feature-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.feature-icon { font-size: 40px; margin-bottom: 16px; display: block; }
.feature-card h4 { font-size: 20px; margin-bottom: 10px; color: var(--ink); }
.feature-card p { color: var(--text-muted); line-height: 1.6; }

/* ── PROCESS ── */
.process-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.process-step { text-align: center; padding: 24px; }
.step-num {
  width: 50px;
  height: 50px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  margin: 0 auto 16px;
}
.process-step h4 { font-size: 18px; margin-bottom: 8px; color: var(--ink); }
.process-step p { color: var(--text-muted); font-size: 15px; }

/* ── STATS ── */
.stats-bar { background: var(--ink); padding: 60px 0; color: white; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 32px; text-align: center; }
.stat .num { font-family: 'Playfair Display', serif; font-size: 42px; font-weight: 900; display: block; margin-bottom: 8px; color: var(--accent); }
.stat .lbl { font-size: 15px; opacity: 0.85; }

/* ── TESTIMONIALS ── */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.testimonial-card {
  background: var(--surface);
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.stars { color: var(--accent); font-size: 18px; margin-bottom: 12px; }
.testimonial-card p { font-style: italic; color: var(--text); margin-bottom: 20px; line-height: 1.7; }
.author { display: flex; align-items: center; gap: 12px; }
.avatar { width: 44px; height: 44px; background: #e2e8f0; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 20px; }
.author strong { display: block; font-size: 15px; color: var(--ink); }
.author span { font-size: 13px; color: var(--text-muted); }

/* ── FAQ ── */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 0;
  text-align: left;
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}
.faq-question:hover { color: var(--primary); }
.faq-icon { font-size: 20px; transition: transform 0.3s ease; }
.faq-item.active .faq-icon { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.4s ease; }
.faq-item.active .faq-answer { max-height: 300px; padding-bottom: 20px; }
.faq-answer p { color: var(--text-muted); line-height: 1.7; }

/* ── CTA ── */
.cta-section { background: linear-gradient(135deg, #7f1d1d, #dc2626); padding: 80px 0; color: white; text-align: center; }
.cta-content { max-width: 700px; margin: 0 auto; }
.cta-section h2 { font-family: 'Playfair Display', serif; font-size: 40px; margin-bottom: 16px; }
.cta-section p { font-size: 18px; opacity: 0.9; margin-bottom: 32px; }
.newsletter-form { display: flex; gap: 12px; max-width: 500px; margin: 0 auto 16px; }
.newsletter-form input {
  flex: 1;
  padding: 14px 18px;
  border-radius: var(--radius);
  border: none;
  font-size: 15px;
  outline: none;
}
.cta-note { font-size: 13px; opacity: 0.7; }

/* ── FOOTER ── */
footer { background: #0b1120; color: #94a3b8; padding: 60px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.brand-col .logo { color: white; margin-bottom: 16px; display: inline-block; }
.brand-col p { margin-bottom: 20px; line-height: 1.7; }
.social-links { display: flex; gap: 12px; }
.social-links a { font-size: 20px; opacity: 0.7; transition: var(--transition); }
.social-links a:hover { opacity: 1; transform: translateY(-2px); }
.footer-col h5 { color: white; font-size: 15px; margin-bottom: 16px; font-weight: 600; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: #94a3b8; text-decoration: none; transition: var(--transition); }
.footer-col ul li a:hover { color: white; padding-left: 4px; }
.footer-bottom { border-top: 1px solid #1e293b; padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; font-size: 14px; }

/* ── MODALS & DRAWERS ── */
.modal-overlay, .cart-overlay {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}
.modal-overlay.active, .cart-overlay.active { opacity: 1; visibility: visible; }
.modal-content {
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  background: var(--surface);
  padding: 32px;
  border-radius: var(--radius-lg);
  width: 90%;
  max-width: 420px;
  z-index: 201;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}
.modal-overlay.active .modal-content { opacity: 1; visibility: visible; transform: translate(-50%, -50%) scale(1); }
.close-modal { position: absolute; top: 16px; right: 16px; font-size: 24px; cursor: pointer; color: var(--text-muted); }
.auth-tabs { display: flex; gap: 16px; margin-bottom: 24px; border-bottom: 1px solid var(--border); }
.tab-btn { background: none; border: none; padding: 10px 0; font-weight: 600; color: var(--text-muted); cursor: pointer; position: relative; }
.tab-btn.active { color: var(--primary); }
.tab-btn.active::after { content: ''; position: absolute; bottom: -1px; left: 0; width: 100%; height: 2px; background: var(--primary); }
.auth-form { display: none; flex-direction: column; gap: 16px; }
.auth-form.active { display: flex; }
.auth-form h3 { font-size: 22px; margin-bottom: 8px; }
.auth-form input { padding: 12px 16px; border: 1px solid var(--border); border-radius: 8px; font-size: 15px; outline: none; transition: var(--transition); }
.auth-form input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(37,99,235,0.1); }
.full-width { width: 100%; }
.form-footer { text-align: center; font-size: 14px; color: var(--text-muted); margin-top: 8px; }
.form-footer a { color: var(--primary); text-decoration: none; }

.cart-drawer {
  position: fixed;
  top: 0; right: -400px;
  width: 380px;
  max-width: 90%;
  height: 100%;
  background: var(--surface);
  z-index: 201;
  box-shadow: -10px 0 30px rgba(0,0,0,0.15);
  transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}
.cart-drawer.active { right: 0; }
.cart-header { padding: 20px; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; }
.cart-header h3 { font-size: 18px; }
#close-cart { background: none; border: none; font-size: 24px; cursor: pointer; }
.cart-items { flex: 1; padding: 20px; overflow-y: auto; }
.empty-cart-msg { text-align: center; color: var(--text-muted); margin-top: 40px; }
.cart-item { display: flex; gap: 12px; margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.cart-item-img { width: 60px; height: 60px; background: #f1f5f9; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 28px; }
.cart-item-info { flex: 1; }
.cart-item-name { font-weight: 600; font-size: 15px; margin-bottom: 4px; }
.cart-item-price { color: var(--primary); font-weight: 600; }
.cart-footer { padding: 20px; border-top: 1px solid var(--border); background: #f8fafc; }
.cart-total { font-size: 18px; font-weight: 700; margin-bottom: 16px; display: flex; justify-content: space-between; }

/* ── ANIMATIONS ── */
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-content { margin-bottom: 40px; }
  .hero p { margin: 0 auto 32px; }
  .hero-btns { justify-content: center; }
  .hero-visual { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .mobile-menu-btn { display: block; }
  .mobile-menu.active { display: flex; }
  .section { padding: 60px 0; }
  .section-head h2 { font-size: 28px; }
  .newsletter-form { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
