:root {
  --primary-bg: #0a0a14;
  --secondary-bg: #12121c;
  --glossy-bg: rgba(255, 255, 255, 0.05);
  --glossy-bg-hover: rgba(255, 255, 255, 0.08);
  --royal-purple: #a855f7;
  --vibrant-orange: #f97316;
  --warm-amber: #f59e0b;
  --soft-lavender: #c084fc;
  --cream-orange: #fb923c;
  
  --gradient-main: linear-gradient(135deg, var(--royal-purple), var(--vibrant-orange));
  --gradient-soft: linear-gradient(135deg, var(--soft-lavender), var(--cream-orange));
  --gradient-glass: linear-gradient(135deg, rgba(168,85,247,0.2), rgba(249,115,22,0.2));
  
  --text-main: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.7);
  
  --max-width: 1320px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 20px;
  
  --space-desktop: 100px;
  --space-tablet: 70px;
  --space-mobile: 50px;
}

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

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--primary-bg);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.3s ease;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Layout Utilities */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: var(--space-desktop) 0;
}

.text-center { text-align: center; }
.text-gradient {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Typography */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.5rem; }

p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: var(--radius-md);
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 1rem;
}

.btn-primary {
  background: var(--gradient-main);
  color: #fff;
  box-shadow: 0 4px 15px rgba(168, 85, 247, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(249, 115, 22, 0.4);
  filter: brightness(1.1);
}

.btn-secondary {
  background: var(--glossy-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--royal-purple);
  color: #fff;
}

.btn-secondary:hover {
  transform: translateY(-2px);
  background: rgba(168, 85, 247, 0.2);
  box-shadow: 0 4px 15px rgba(168, 85, 247, 0.2);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(10, 10, 20, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(168, 85, 247, 0.2);
  clip-path: polygon(0% 0%, 100% 0%, 100% 85%, 95% 100%, 5% 100%, 0% 85%);
  transition: all 0.3s ease;
  padding-bottom: 15px;
}

.header.scrolled {
  background: rgba(18, 18, 28, 0.85);
  box-shadow: 0 10px 30px rgba(168, 85, 247, 0.1);
}

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

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  width: 32px;
  height: 32px;
  background: var(--gradient-main);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 15px rgba(168, 85, 247, 0.5);
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  font-weight: 500;
  position: relative;
  padding: 5px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-main);
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: var(--vibrant-orange);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.cart-icon {
  position: relative;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-main);
}

.cart-icon:hover {
  color: var(--soft-lavender);
}

.cart-count {
  position: absolute;
  top: -8px;
  right: -10px;
  background: var(--vibrant-orange);
  color: #fff;
  font-size: 0.75rem;
  font-weight: bold;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-menu-btn {
  display: none;
  font-size: 1.5rem;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
}

/* Hero Section */
.hero {
  padding-top: 150px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: var(--gradient-glass);
  border-radius: 50%;
  filter: blur(100px);
  z-index: -1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-content h1 {
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 1.125rem;
  margin-bottom: 30px;
  max-width: 500px;
}

.hero-tagline {
  display: inline-block;
  padding: 8px 16px;
  background: var(--glossy-bg);
  border: 1px solid rgba(249, 115, 22, 0.3);
  border-radius: 30px;
  font-size: 0.875rem;
  margin-bottom: 20px;
  color: var(--vibrant-orange);
}

.hero-buttons {
  display: flex;
  gap: 15px;
}

.hero-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.hero-image img {
  width: 100%;
  border-radius: var(--radius-lg);
  transition: transform 10s ease;
}

.hero-image:hover img {
  transform: scale(1.05);
}

.hero-image::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(168,85,247,0.2), rgba(249,115,22,0.1));
  pointer-events: none;
}

/* Shop / Product Grid */
.shop-filters {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.filter-btn {
  background: var(--glossy-bg);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 10px 20px;
  border-radius: 30px;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn:hover, .filter-btn.active {
  background: var(--gradient-main);
  color: #fff;
  border-color: transparent;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.product-card {
  background: var(--glossy-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(168, 85, 247, 0.3);
  border-radius: var(--radius-lg);
  padding: 20px;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(168, 85, 247, 0.15);
  border-color: var(--soft-lavender);
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.1), transparent);
  transform: skewX(-20deg);
  transition: left 0.7s ease;
  z-index: 1;
}

.product-card:hover::before {
  left: 150%;
}

.product-image {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--radius-md);
  object-fit: cover;
  margin-bottom: 20px;
  background: var(--secondary-bg);
}

.product-info {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.product-title {
  font-size: 1.25rem;
  margin-bottom: 5px;
}

.product-desc {
  font-size: 0.875rem;
  margin-bottom: 15px;
  flex-grow: 1;
}

.product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}

.product-price {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--vibrant-orange);
}

.btn-add-cart {
  background: rgba(255,255,255,0.1);
  border: 1px solid var(--royal-purple);
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 2;
}

.btn-add-cart:hover {
  background: var(--gradient-main);
  border-color: transparent;
  transform: scale(1.1);
}

/* Features / Why Us */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.feature-card {
  text-align: center;
  padding: 40px 20px;
  background: var(--glossy-bg);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.05);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Featured Collection */
.featured-collection {
  background: var(--secondary-bg);
  border-radius: var(--radius-lg);
  padding: 60px;
  display: flex;
  align-items: center;
  gap: 50px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(168,85,247,0.2);
}

.featured-collection::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 300px;
  height: 300px;
  background: var(--vibrant-orange);
  filter: blur(150px);
  opacity: 0.2;
  border-radius: 50%;
}

.fc-content {
  flex: 1;
  z-index: 2;
}

.fc-image {
  flex: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  z-index: 2;
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.testimonial-card {
  background: var(--glossy-bg);
  padding: 30px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.05);
}

.quote {
  font-size: 1.1rem;
  font-style: italic;
  margin-bottom: 20px;
  color: var(--text-main);
}

.author {
  color: var(--vibrant-orange);
  font-weight: 600;
}

/* Single Product Page */
.product-single {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-top: 120px;
}

.gallery-main {
  width: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(168,85,247,0.3);
  margin-bottom: 20px;
  background: var(--secondary-bg);
}

.gallery-thumbs {
  display: flex;
  gap: 15px;
}

.gallery-thumbs img {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.3s;
}

.gallery-thumbs img:hover, .gallery-thumbs img.active {
  border-color: var(--vibrant-orange);
}

.product-meta .price {
  font-size: 2rem;
  color: var(--vibrant-orange);
  font-weight: 700;
  margin: 20px 0;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  background: rgba(0,0,0,0.2);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  color: #fff;
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.3s;
}

.form-control:focus {
  outline: none;
  border-color: var(--royal-purple);
  box-shadow: 0 0 10px rgba(168,85,247,0.2);
}

select.form-control option {
  background: var(--secondary-bg);
  color: #fff;
}

.add-to-cart-wrapper {
  display: flex;
  gap: 15px;
  margin-top: 30px;
}

.quantity-selector {
  display: flex;
  align-items: center;
  background: rgba(0,0,0,0.2);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.qty-btn {
  background: none;
  border: none;
  color: #fff;
  padding: 10px 15px;
  cursor: pointer;
  font-size: 1.2rem;
}

.qty-btn:hover {
  background: rgba(255,255,255,0.1);
}

.qty-input {
  width: 50px;
  text-align: center;
  background: none;
  border: none;
  color: #fff;
  font-size: 1rem;
  -moz-appearance: textfield;
}

.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Cart Page */
.cart-page { margin-top: 120px; min-height: 60vh; }
.cart-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
}

.cart-items {
  background: var(--glossy-bg);
  border-radius: var(--radius-lg);
  padding: 30px;
  border: 1px solid rgba(255,255,255,0.05);
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.cart-item:last-child { border-bottom: none; }

.cart-item-img {
  width: 100px;
  height: 100px;
  border-radius: var(--radius-sm);
  object-fit: cover;
}

.cart-item-info { flex-grow: 1; }
.cart-item-title { font-size: 1.1rem; font-weight: 600; margin-bottom: 5px; }
.cart-item-price { color: var(--vibrant-orange); font-weight: 600; }

.remove-btn {
  background: none;
  border: none;
  color: #ff4757;
  cursor: pointer;
  font-size: 0.875rem;
  margin-top: 10px;
}

.remove-btn:hover { text-decoration: underline; }

.cart-summary {
  background: var(--secondary-bg);
  border-radius: var(--radius-lg);
  padding: 30px;
  border: 1px solid rgba(168,85,247,0.3);
  height: fit-content;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
  color: var(--text-muted);
}

.summary-total {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
}

.empty-cart-msg {
  text-align: center;
  padding: 50px 0;
}

/* Checkout Page */
.checkout-page { margin-top: 120px; }
.checkout-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 40px;
}

.checkout-form {
  background: var(--glossy-bg);
  padding: 40px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.05);
}

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

/* Order Success */
.success-page {
  margin-top: 120px;
  text-align: center;
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.success-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient-main);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 30px;
  box-shadow: 0 0 30px rgba(168,85,247,0.4);
}

/* Legal Pages */
.legal-content {
  margin-top: 120px;
  background: var(--glossy-bg);
  padding: 50px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.05);
}

.legal-content h2 {
  margin-top: 30px;
  color: var(--soft-lavender);
  font-size: 1.5rem;
}

.legal-content p { margin-bottom: 15px; }

/* Contact & About */
.about-hero, .contact-hero {
  text-align: center;
  margin-top: 120px;
  margin-bottom: 60px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-info-card {
  background: var(--secondary-bg);
  padding: 40px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(168,85,247,0.2);
}

.info-item {
  margin-bottom: 30px;
}

.info-item h4 { color: var(--vibrant-orange); margin-bottom: 5px; }

/* Footer */
.footer {
  background: var(--secondary-bg);
  padding: 80px 0 40px;
  margin-top: 100px;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-col h3 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: #fff;
}

.footer-links li { margin-bottom: 12px; }
.footer-links a { color: var(--text-muted); }
.footer-links a:hover { color: var(--vibrant-orange); }

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

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background: var(--glossy-bg);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid var(--royal-purple);
  padding: 15px 25px;
  border-radius: var(--radius-sm);
  color: #fff;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  animation: slideInRight 0.3s ease forwards;
  display: flex;
  align-items: center;
  gap: 10px;
}

.toast.fade-out {
  animation: fadeOut 0.3s ease forwards;
}

@keyframes slideInRight {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes fadeOut {
  from { opacity: 1; }
  to { opacity: 0; }
}

/* Responsive Design */
@media (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid, .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .featured-collection { flex-direction: column; text-align: center; }
  .cart-grid, .checkout-grid, .product-single { grid-template-columns: 1fr; }
  
  .section { padding: var(--space-tablet) 0; }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background: rgba(18, 18, 28, 0.95);
    backdrop-filter: blur(15px);
    flex-direction: column;
    padding: 30px;
    gap: 20px;
    text-align: center;
    transform: translateY(-150%);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 999;
    border-bottom: 1px solid var(--royal-purple);
  }

  .nav-links.active { transform: translateY(0); }
  .mobile-menu-btn { display: block; }
  
  .hero-grid, .contact-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-buttons { justify-content: center; }
  .hero::before { width: 300px; height: 300px; }
  
  .product-grid, .features-grid, .testimonials-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  
  .section { padding: var(--space-mobile) 0; }
  .form-row { grid-template-columns: 1fr; }
  .header { clip-path: polygon(0% 0%, 100% 0%, 100% 95%, 0% 95%); }
}