:root {
  --bg-dark: #0B1120;
  --text-light: #F8F9FC;
  --text-muted: #8B9BB4;
  --accent: #5B4DFF;
  --accent-hover: #4a3ee0;
  --surface: rgba(30, 42, 64, 0.6);
  --surface-solid: #1E2A40;
  --surface-hover: rgba(45, 62, 94, 0.7);
  --accent-gold: #C9A84C;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(91, 77, 255, 0.4);
  
  --font-heading: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;

  --container-max: 1200px;
}

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

body {
  background-color: var(--bg-dark);
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(91, 77, 255, 0.1) 0%, rgba(11, 17, 32, 0) 50%),
    radial-gradient(circle at 0% 100%, rgba(0, 128, 128, 0.05) 0%, rgba(11, 17, 32, 0) 50%);
  background-attachment: fixed;
  color: var(--text-light);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
}

h1, h2 {
  background: linear-gradient(135deg, #F8F9FC 0%, #8c82ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 0.01em;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

p {
  color: var(--text-muted);
}

a {
  color: var(--text-light);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--accent);
}

/* Layout */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  padding: 6rem 0;
}

/* Announcement Banner */
.announcement-banner {
  background: linear-gradient(90deg, #4a3ee0 0%, #8c82ff 100%);
  color: #fff;
  text-align: center;
  padding: 0.5rem 2rem;
  font-size: 0.85rem;
  font-weight: 600;
  position: relative;
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
}

.announcement-close {
  position: absolute;
  right: 1rem;
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 0.2s;
  display: flex;
  align-items: center;
}

.announcement-close:hover {
  opacity: 1;
}

/* Navbar & Mobile Menu */
nav {
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 999;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(11, 17, 32, 0.8);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-light);
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  -webkit-text-fill-color: var(--text-light); /* Override h1 gradient if applied */
}

.logo-accent {
  color: var(--accent);
  -webkit-text-fill-color: var(--accent);
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  font-weight: 500;
  font-size: 0.95rem;
}

.cart-icon {
  position: relative;
}

.hamburger-menu {
  display: none;
  cursor: pointer;
  color: var(--text-light);
  background: none;
  border: none;
  padding: 0.5rem;
}

.mobile-menu-overlay {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
}

.mobile-menu-overlay.open {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-content {
  position: fixed;
  top: 0; right: -300px; width: 280px; height: 100%;
  background: var(--surface-solid);
  border-left: 1px solid var(--border-subtle);
  z-index: 999;
  padding: 5rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  transition: right 0.3s ease;
}

.mobile-nav-content.open {
  right: 0;
}

.mobile-nav-content a {
  font-size: 1.2rem;
  font-weight: 500;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border-subtle);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  font-family: var(--font-body);
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.btn-primary {
  background-color: var(--accent);
  color: #fff;
  box-shadow: 0 4px 14px 0 rgba(91, 77, 255, 0.39);
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 20px rgba(91, 77, 255, 0.6), inset 0 0 10px rgba(255,255,255,0.2);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--text-light);
  border: 1px solid var(--border-subtle);
}

.btn-outline:hover {
  border-color: var(--accent);
  background: rgba(91, 77, 255, 0.1);
  transform: translateY(-2px) scale(1.03);
  box-shadow: inset 0 0 10px rgba(91, 77, 255, 0.2);
}

/* Glassmorphism Cards */
.glass-card {
  background: var(--surface);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.4s ease;
}

/* Product Cards Grid & Effects */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}

.product-card {
  display: flex;
  flex-direction: column;
  padding: 1.2rem;
}

.product-card:hover {
  border-color: var(--accent);
  transform: translateY(-6px);
  box-shadow: 0 10px 30px -10px rgba(91, 77, 255, 0.2), 0 0 24px rgba(91, 77, 255, 0.3);
}

.product-image-container {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 1.5rem;
  background: var(--surface-solid);
}

.product-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-image-container img {
  transform: scale(1.05);
}

.product-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.badge {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-light);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.product-price {
  color: var(--accent-gold);
  font-weight: 700;
  font-size: 1.25rem;
  font-family: var(--font-heading);
}

.product-title {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--text-light);
}

.product-desc {
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

/* Trust Section Grid */
.trust-grid-custom {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  text-align: center;
  padding: 4rem 2rem;
}

.trust-item-custom {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2.5rem;
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  transition: all 0.3s ease;
}

.trust-item-custom:hover {
  border-color: rgba(91, 77, 255, 0.5);
  box-shadow: 0 0 20px rgba(91, 77, 255, 0.15);
  transform: translateY(-4px);
}

.trust-item-custom i {
  color: var(--accent);
  margin-bottom: 1rem;
}

.trust-item-custom h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.trust-item-custom p {
  font-size: 0.95rem;
}

/* Reviews Section */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.review-card {
  padding: 2rem;
  display: flex;
  flex-direction: column;
}

.review-card:hover {
  border-color: rgba(91, 77, 255, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 10px 30px -10px rgba(91, 77, 255, 0.15);
}

.review-stars {
  color: var(--accent-gold);
  margin-bottom: 1rem;
  font-size: 1.2rem;
  letter-spacing: 2px;
}

.review-text {
  font-size: 0.95rem;
  color: var(--text-light);
  margin-bottom: 1.5rem;
  font-style: italic;
  flex-grow: 1;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  border-top: 1px solid var(--border-subtle);
  padding-top: 1rem;
}

.review-author img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border-subtle);
}

.review-author-info strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.95rem;
}

.review-author-info span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered Animations for Hero */
.stagger-1 { animation: fadeInUp 0.8s ease-out 0.15s both; }
.stagger-2 { animation: fadeInUp 0.8s ease-out 0.3s both; }
.stagger-3 { animation: fadeInUp 0.8s ease-out 0.45s both; }

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Hero Glow */
.hero-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, rgba(91,77,255,0.15) 0%, rgba(11,17,32,0) 70%);
  z-index: -1;
  animation: float-pulse-glow 6s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes float-pulse-glow {
  0% { transform: translate(-50%, -50%) scale(1); opacity: 0.7; }
  100% { transform: translate(-50%, -52%) scale(1.15); opacity: 1; }
}

/* Forms & Validation */
.form-group {
  margin-bottom: 1.5rem;
  position: relative;
}

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

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  color: var(--text-light);
  font-family: var(--font-body);
  transition: all 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.08);
}

.form-control.is-invalid {
  border-color: #FF4D4D;
  background: rgba(255, 77, 77, 0.05);
}

.error-message {
  color: #FF4D4D;
  font-size: 0.8rem;
  margin-top: 0.4rem;
  display: block;
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background-color: #25D366;
  color: #FFF;
  border-radius: 50px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 14px rgba(37, 211, 102, 0.4);
  color: #FFF;
}

.whatsapp-float::after {
  content: "Chat with us";
  position: absolute;
  right: 70px;
  background: var(--surface-solid);
  padding: 0.4rem 0.8rem;
  border-radius: 8px;
  font-size: 0.85rem;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
  border: 1px solid var(--border-subtle);
}

.whatsapp-float:hover::after {
  opacity: 1;
  visibility: visible;
}

/* Footer */
footer {
  border-top: 1px solid var(--border-subtle);
  padding: 4rem 0 2rem;
  margin-top: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  margin-top: 1rem;
  max-width: 300px;
}

.footer-links h4 {
  margin-bottom: 1.5rem;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.05);
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Admin Pending Badge */
.admin-badge {
  background: #FF4D4D;
  color: white;
  font-size: 0.7rem;
  font-weight: bold;
  padding: 2px 6px;
  border-radius: 12px;
  margin-left: auto;
  display: none;
}

.admin-badge.visible {
  display: inline-block;
}

/* Mobile Responsive Fixes */
@media (max-width: 992px) {
  .trust-grid-custom, .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none; /* Hide on mobile, handled by hamburger */
  }
  
  .hamburger-menu {
    display: block;
  }
  
  .cart-icon {
    display: none; /* Hide standard cart on mobile if using hamburger, or keep outside */
  }

  .nav-container {
    gap: 1rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  h1 { font-size: clamp(2rem, 8vw, 2.5rem); }
  
  .glass-card, .trust-item-custom, .review-card { padding: 1.5rem; }

  .trust-grid-custom, .reviews-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 2rem 0;
  }
  
  section {
    padding: 4rem 0;
  }
  
  .product-grid {
    grid-template-columns: 1fr;
  }
}
