:root {
  --pure-black: #040404;
  --deep-charcoal: #0f172a;
  --glass-surface: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
  --luxury-gold: #d4af37;
  --ocean-blue: #3b82f6;
  --soft-cyan: #06b6d4;
  --elegant-gray: #9ca3af;
  --text-primary: #f9fafb;
  --text-secondary: #94a3b8;
  
  --gold-glow: linear-gradient(135deg, #d4af37, #3b82f6);
  --premium-flow: linear-gradient(135deg, #06b6d4, #0f172a);
  
  --font-primary: 'Inter', system-ui, -apple-system, sans-serif;
  
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --spacing-xl: 8rem;
  
  --border-radius-sm: 8px;
  --border-radius-md: 16px;
  --border-radius-lg: 24px;
  --border-radius-pill: 9999px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--pure-black);
  color: var(--text-primary);
  font-family: var(--font-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

ul {
  list-style: none;
}

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

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  color: inherit;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: var(--spacing-sm);
}

h1 { font-size: clamp(2.5rem, 5vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2.5rem); }
p { color: var(--text-secondary); margin-bottom: var(--spacing-md); }

/* Layout & Containers */
.container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 5%;
}

.section {
  padding: var(--spacing-xl) 0;
}

/* Glassmorphism Utilities */
.glass {
  background: var(--glass-surface);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
}

.glass-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.01) 100%);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: var(--border-radius-md);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.glass-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8), 0 0 20px rgba(212, 175, 55, 0.1);
  border-color: rgba(212, 175, 55, 0.3);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  border-radius: var(--border-radius-pill);
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  text-transform: uppercase;
  font-size: 0.875rem;
}

.btn-primary {
  background: var(--gold-glow);
  color: var(--pure-black);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2);
}

.btn-primary:hover {
  box-shadow: 0 6px 25px rgba(212, 175, 55, 0.4);
  transform: translateY(-2px);
}

.btn-outline {
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
  background: var(--glass-surface);
}

.btn-outline:hover {
  border-color: var(--luxury-gold);
  color: var(--luxury-gold);
}

/* Fluid Floating Header */
.header-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 5%;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.header {
  pointer-events: auto;
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  border-radius: var(--border-radius-pill);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.header.scrolled {
  padding: 10px 25px;
  background: rgba(4, 4, 4, 0.8);
  border-color: rgba(212, 175, 55, 0.2);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.header.hidden {
  transform: translateY(-150%);
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--text-primary);
}

.brand-logo i {
  color: var(--luxury-gold);
}

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

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  position: relative;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 1px;
  background: var(--luxury-gold);
  transition: width 0.3s ease;
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-link:hover, .nav-link.active {
  color: var(--luxury-gold);
  text-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.cart-toggle {
  position: relative;
  font-size: 1.25rem;
  transition: color 0.3s ease;
}

.cart-toggle:hover {
  color: var(--luxury-gold);
}

.cart-count {
  position: absolute;
  top: -8px;
  right: -8px;
  background: var(--luxury-gold);
  color: var(--pure-black);
  font-size: 0.65rem;
  font-weight: bold;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-menu-btn {
  display: none;
  font-size: 1.5rem;
}

/* Mobile Menu */
.mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--deep-charcoal);
  z-index: 999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  transform: translateY(-100%);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-nav.active {
  transform: translateY(0);
}

.mobile-nav .nav-link {
  font-size: 1.5rem;
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transform: scale(1.05);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(4,4,4,0.3) 0%, rgba(4,4,4,0.9) 100%);
  z-index: -1;
}

.hero-content {
  max-width: 800px;
  padding: 0 5%;
}

.hero-tagline {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--luxury-gold);
  margin-bottom: 1rem;
  display: block;
}

.hero-title {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  background: linear-gradient(180deg, #fff 0%, #aaa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.125rem;
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

/* Features Section */
.features {
  background: var(--pure-black);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.feature-card {
  text-align: center;
  padding: 2rem;
}

.feature-icon {
  font-size: 2.5rem;
  color: var(--luxury-gold);
  margin-bottom: 1rem;
}

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

.feature-desc {
  font-size: 0.875rem;
  margin: 0;
}

/* Showcase Section */
.showcase {
  background: var(--deep-charcoal);
  position: relative;
  overflow: hidden;
}

.showcase-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

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

.showcase-img::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.1);
  border-radius: var(--border-radius-lg);
  pointer-events: none;
}

/* Products Grid */
.products-header {
  text-align: center;
  margin-bottom: 4rem;
}

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

.product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1rem;
  position: relative;
  overflow: hidden;
}

.product-img-wrap {
  position: relative;
  border-radius: var(--border-radius-sm);
  overflow: hidden;
  margin-bottom: 1.5rem;
  aspect-ratio: 4/5;
  background: #111;
}

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

.product-card:hover .product-img {
  transform: scale(1.1);
}

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

.product-brand {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--luxury-gold);
  margin-bottom: 0.25rem;
}

.product-name {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.product-price {
  font-size: 1.125rem;
  color: var(--text-primary);
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.btn-add-cart {
  margin-top: auto;
  width: 100%;
}

/* Cart Drawer */
.cart-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(4px);
  z-index: 1001;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.cart-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 450px;
  height: 100vh;
  background: var(--pure-black);
  border-left: 1px solid var(--glass-border);
  z-index: 1002;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}

.cart-drawer.active {
  transform: translateX(0);
}

.cart-header {
  padding: 1.5rem;
  border-bottom: 1px solid var(--glass-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.close-cart {
  font-size: 1.5rem;
  transition: color 0.3s ease;
}

.close-cart:hover {
  color: var(--luxury-gold);
}

.cart-items {
  flex-grow: 1;
  overflow-y: auto;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.cart-item {
  display: flex;
  gap: 1rem;
  background: rgba(255,255,255,0.02);
  padding: 0.75rem;
  border-radius: var(--border-radius-sm);
  border: 1px solid var(--glass-border);
}

.cart-item-img {
  width: 80px;
  height: 100px;
  object-fit: cover;
  border-radius: 4px;
}

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

.cart-item-title {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.cart-item-price {
  color: var(--luxury-gold);
  font-size: 0.875rem;
  margin-bottom: auto;
}

.cart-item-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.5rem;
}

.qty-control {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.05);
  border-radius: 4px;
  padding: 0.25rem 0.5rem;
}

.qty-btn {
  font-size: 1rem;
  color: var(--text-secondary);
}

.qty-btn:hover {
  color: var(--text-primary);
}

.remove-item {
  color: #ef4444;
  font-size: 0.875rem;
}

.cart-footer {
  padding: 1.5rem;
  border-top: 1px solid var(--glass-border);
  background: var(--deep-charcoal);
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.cart-empty-msg {
  text-align: center;
  color: var(--text-secondary);
  margin-top: 2rem;
}

/* Forms & Checkout */
.page-header {
  padding-top: 150px;
  padding-bottom: 3rem;
  text-align: center;
  background: linear-gradient(180deg, var(--deep-charcoal) 0%, var(--pure-black) 100%);
}

.checkout-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 3rem;
}

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

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.form-control {
  width: 100%;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--glass-border);
  padding: 1rem;
  border-radius: var(--border-radius-sm);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

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

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

.summary-card {
  position: sticky;
  top: 120px;
  padding: 2rem;
}

.checkout-items {
  max-height: 300px;
  overflow-y: auto;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--glass-border);
  padding-bottom: 1.5rem;
}

.checkout-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
  font-size: 0.875rem;
}

/* Footer */
.footer {
  background: var(--deep-charcoal);
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--glass-border);
}

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

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

.footer-title {
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

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

.footer-links a:hover {
  color: var(--luxury-gold);
}

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

/* General Pages Content */
.content-section {
  max-width: 800px;
  margin: 0 auto;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .showcase-inner { grid-template-columns: 1fr; }
  .checkout-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .mobile-menu-btn { display: block; }
  .hero-ctas { flex-direction: column; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .product-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .header { padding: 10px 15px; }
  .cart-drawer { width: 100%; }
}