:root {
  --bg-obsidian: #090a0f;
  --bg-sandstone: #ece7df;
  --bg-card: rgba(18, 20, 29, 0.75);
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-gold-glow: rgba(212, 175, 55, 0.3);
  
  --primary-gold: #d4af37;
  --gold-gradient: linear-gradient(135deg, #ffffff 0%, #d4af37 50%, #aa841f 100%);
  
  --text-main: #f2efe9;
  --text-muted: #94a3b8;
  --text-bright: #ffffff;
  
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--bg-obsidian);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Luxury Glassmorphism Container */
.glass-panel {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
}

.glass-panel-cyan {
  border: 1px solid var(--border-cyan-glow);
  box-shadow: 0 0 20px rgba(0, 242, 254, 0.08);
}

/* Typography Helpers */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--text-bright);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.text-gradient {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Buttons */
.btn-primary {
  background: var(--primary-gradient);
  color: #000;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 30px;
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.3);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 1rem;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 25px rgba(0, 242, 254, 0.6);
}

/* Badges */
.badge-scarcity {
  background: rgba(255, 77, 77, 0.15);
  border: 1px solid rgba(255, 77, 77, 0.4);
  color: #ff4d4d;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.badge-scarcity::before {
  content: '';
  width: 8px;
  height: 8px;
  background-color: #ff4d4d;
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.3); }
  100% { opacity: 1; transform: scale(1); }
}

/* Header & Urgency Bar */
.urgency-bar {
  background: rgba(0, 242, 254, 0.08);
  border-bottom: 1px solid var(--border-cyan-glow);
  text-align: center;
  padding: 8px 16px;
  font-size: 0.88rem;
  color: var(--primary-cyan);
  font-weight: 600;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 8%;
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 9, 13, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-glass);
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.logo span {
  color: var(--primary-cyan);
}

.nav-links {
  display: flex;
  gap: 30px;
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--primary-cyan);
}

/* Hero Section */
.hero-section {
  padding: 80px 8% 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  min-height: 85vh;
}

.hero-content h1 {
  font-size: 3.5rem;
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 30px;
}

.hero-price-box {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 35px;
  background: rgba(255, 255, 255, 0.03);
  padding: 15px 25px;
  border-radius: 12px;
  width: fit-content;
  border: 1px solid var(--border-glass);
}

.price-current {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-bright);
}

.price-compare {
  text-decoration: line-through;
  color: var(--text-muted);
  font-size: 1.1rem;
}

.price-saving {
  background: rgba(0, 242, 254, 0.15);
  color: var(--primary-cyan);
  padding: 4px 10px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.85rem;
}

/* Interactive Ring Viewer */
.ring-viewer-container {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.ring-display {
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 242, 254, 0.15) 0%, rgba(8, 9, 13, 0) 70%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.ring-img {
  width: 240px;
  height: 240px;
  object-fit: contain;
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.8));
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.ring-display:hover .ring-img {
  transform: scale(1.08) rotate(10deg);
}

.color-selector {
  display: flex;
  gap: 15px;
  margin-top: 25px;
}

.color-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s;
}

.color-btn.active {
  border-color: var(--primary-cyan);
  transform: scale(1.15);
}

.color-black { background: #1a1a1a; }
.color-silver { background: linear-gradient(135deg, #e0e0e0, #888888); }
.color-gold { background: linear-gradient(135deg, #ffe082, #c5a059); }

/* Comparison Matrix */
.matrix-section {
  padding: 80px 8%;
  background: rgba(12, 14, 21, 0.8);
}

.matrix-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 40px;
}

.matrix-table th, .matrix-table td {
  padding: 20px;
  text-align: center;
  border-bottom: 1px solid var(--border-glass);
}

.matrix-table th:first-child, .matrix-table td:first-child {
  text-align: left;
  font-weight: 600;
}

.highlight-col {
  background: rgba(0, 242, 254, 0.05);
  border-left: 1px solid var(--border-cyan-glow);
  border-right: 1px solid var(--border-cyan-glow);
  font-weight: 700;
  color: var(--text-bright);
}

/* Slide-out Cart Drawer */
.cart-drawer {
  position: fixed;
  top: 0;
  right: -450px;
  width: 420px;
  height: 100vh;
  background: var(--bg-obsidian);
  border-left: 1px solid var(--border-glass);
  box-shadow: -10px 0 40px rgba(0,0,0,0.8);
  z-index: 1000;
  transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 30px;
  display: flex;
  flex-direction: column;
}

.cart-drawer.open {
  right: 0;
}

.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-glass);
}

.close-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
}

.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px 0;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 8px;
  color: var(--text-muted);
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  border-radius: 8px;
  color: #fff;
  font-size: 1rem;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-cyan);
}

/* Responsive */
@media (max-width: 900px) {
  .hero-section {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-price-box {
    margin: 0 auto 35px;
  }
  
  .cart-drawer {
    width: 100%;
    right: -100%;
  }
}
