:root {
  /* Colors - Premium Tech/Lifestyle Aesthetic */
  --primary: #000000;
  --primary-light: #1a1a1a;
  --accent: #3d5afe;
  --accent-hover: #536dfe;
  --bg: #ffffff;
  --bg-offset: #f8f9fa;
  --text: #121212;
  --text-muted: #666666;
  --border: #e0e0e0;
  --white: #ffffff;
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
  --shadow-md: 0 10px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 20px 40px rgba(0,0,0,0.12);
  --shadow-3d: 0 30px 60px -12px rgba(50, 50, 93, 0.25), 0 18px 36px -18px rgba(0, 0, 0, 0.3);

  /* Spacing */
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 48px;
  --space-xl: 80px;
  --space-2xl: 120px;

  /* Typography */
  --font-main: 'Outfit', system-ui, -apple-system, sans-serif;
  --font-display: 'Syncopate', sans-serif;
}

* {
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  font-family: var(--font-main);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.5;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 700;
  line-height: 1.1;
}

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

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 5vw, 5rem);
}

/* Navigation */
.nav-header {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  z-index: 1000;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -1px;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: var(--space-md);
}

.nav-links a {
  font-weight: 500;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  border: none;
  font-family: var(--font-main);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.85rem;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

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

.btn-outline:hover {
  background: var(--bg-offset);
}

/* Hero Section */
.hero {
  padding: var(--space-xl) 0;
  display: flex;
  align-items: center;
  min-height: calc(100vh - 80px);
  background: radial-gradient(circle at 80% 50%, #f0f3ff 0%, transparent 50%);
}

.hero-content {
  flex: 1;
  max-width: 600px;
}

.hero-title {
  font-size: clamp(3rem, 8vw, 5rem);
  margin-bottom: var(--space-sm);
  letter-spacing: -2px;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: var(--space-md);
  max-width: 480px;
}

.hero-visual {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1000px;
}

.floating-3d-object {
  width: 100%;
  max-width: 500px;
  aspect-ratio: 1;
  background: linear-gradient(135deg, #eee 0%, #ccc 100%);
  border-radius: 24px;
  transform: rotateY(-20deg) rotateX(10deg);
  box-shadow: var(--shadow-3d);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: rotateY(-20deg) rotateX(10deg) translateY(0); }
  50% { transform: rotateY(-15deg) rotateX(5deg) translateY(-20px); }
}

/* Sections */
section {
  margin-top: var(--space-xl);
  padding: var(--space-lg) 0;
}

main > :first-child {
  margin-top: 0;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: var(--space-xs);
}

/* Grid & Cards */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-md);
}

.product-card {
  background: var(--white);
  padding: var(--space-md);
  border-radius: 12px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  border: 1px solid transparent;
}

.product-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: var(--shadow-lg);
  border-color: var(--border);
}

.card-visual {
  width: 100%;
  aspect-ratio: 1;
  background: var(--bg-offset);
  border-radius: 8px;
  margin-bottom: var(--space-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 500px;
}

.card-object {
  width: 60%;
  height: 60%;
  background: #ddd;
  transform: rotateY(15deg) rotateX(10deg);
  box-shadow: 10px 10px 20px rgba(0,0,0,0.1);
  transition: transform 0.4s ease;
}

.product-card:hover .card-object {
  transform: rotateY(0deg) rotateX(0deg) scale(1.1);
}

/* Product Detail Layout */
.product-detail-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  min-height: 70vh;
  align-items: center;
}

.detail-viewer {
  background: var(--bg-offset);
  border-radius: 32px;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1200px;
  position: relative;
  overflow: hidden;
}

.viewer-object {
  width: 50%;
  height: 50%;
  background: var(--primary-light);
  transform: rotateY(45deg) rotateX(15deg);
  box-shadow: 20px 20px 60px rgba(0,0,0,0.2);
  transition: transform 0.1s linear;
  animation: rotate3d 10s infinite linear;
}

@keyframes rotate3d {
  from { transform: rotateY(0deg) rotateX(15deg); }
  to { transform: rotateY(360deg) rotateX(15deg); }
}

.detail-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.detail-badge {
  display: inline-block;
  padding: 4px 12px;
  background: var(--bg-offset);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  width: fit-content;
}

.detail-price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
}

.detail-description {
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1.6;
}

.selector-group {
  margin-top: var(--space-sm);
}

.selector-label {
  display: block;
  font-weight: 600;
  margin-bottom: 12px;
  font-size: 0.9rem;
  text-transform: uppercase;
}

.options-grid {
  display: flex;
  gap: 12px;
}

.option-pill {
  padding: 10px 20px;
  border: 1px solid var(--border);
  border-radius: 4px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.2s;
}

.option-pill:hover {
  border-color: var(--primary);
}

.option-pill.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.quantity-stepper {
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
  width: fit-content;
  border-radius: 4px;
}

.stepper-btn {
  padding: 12px 20px;
  cursor: pointer;
  background: none;
  border: none;
  font-size: 1.2rem;
}

.stepper-value {
  padding: 0 20px;
  font-weight: 600;
}

.action-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

/* Cart Page */
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: var(--space-xl);
}

.cart-items {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.cart-item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md);
  border-bottom: 1px solid var(--border);
}

.cart-item-visual {
  width: 120px;
  height: 120px;
  background: var(--bg-offset);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-item-info {
  flex: 1;
}

.cart-summary {
  background: var(--bg-offset);
  padding: var(--space-lg);
  border-radius: 24px;
  height: fit-content;
  position: sticky;
  top: 100px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: var(--space-sm);
}

.summary-total {
  margin-top: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid var(--border);
  font-weight: 700;
  font-size: 1.25rem;
}

/* Checkout & Auth */
.auth-container {
  max-width: 480px;
  margin: var(--space-xl) auto;
  padding: var(--space-lg);
  border: 1px solid var(--border);
  border-radius: 24px;
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-input {
  width: 100%;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-family: var(--font-main);
  font-size: 1rem;
}

.form-input:focus {
  outline: none;
  border-color: var(--accent);
}

.checkout-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: var(--space-xl);
}

.step-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: var(--space-md);
  margin-bottom: var(--space-md);
}

.step-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: var(--space-md);
}

.step-number {
  width: 28px;
  height: 28px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
}

.card-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.card-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.card-price {
  font-weight: 700;
  color: var(--accent);
}

/* Brand Values */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  background: var(--bg-offset);
  padding: var(--space-lg);
  border-radius: 24px;
}

.value-item {
  text-align: center;
}

.value-icon {
  width: 64px;
  height: 64px;
  background: var(--white);
  border-radius: 50%;
  margin: 0 auto var(--space-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}

/* Shop Page Layout */
.shop-layout {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: var(--space-lg);
}

.filters-sidebar {
  position: sticky;
  top: 100px;
  height: fit-content;
}

.filter-group {
  margin-bottom: var(--space-md);
}

.filter-title {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: var(--space-sm);
  border-bottom: 1px solid var(--border);
  padding-bottom: 8px;
}

.filter-options label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  font-size: 0.95rem;
  cursor: pointer;
}

/* Placeholders */
.placeholder-image {
  background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%);
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-weight: 500;
  position: relative;
  overflow: hidden;
}

.placeholder-image::after {
  content: attr(data-label);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Footer */
footer {
  margin-top: var(--space-2xl);
  padding: var(--space-xl) 0 var(--space-lg);
  background: var(--primary);
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin-bottom: var(--space-sm);
}

.footer-links h4 {
  margin-bottom: var(--space-sm);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.6;
}

.footer-links ul li {
  margin-bottom: 12px;
}

.footer-links ul li a:hover {
  color: var(--accent);
}

.footer-bottom {
  padding-top: var(--space-md);
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  opacity: 0.6;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero { flex-direction: column; text-align: center; gap: var(--space-lg); }
  .hero-content { max-width: 100%; }
  .hero-subtitle { margin-left: auto; margin-right: auto; }
  .shop-layout { grid-template-columns: 1fr; }
  .filters-sidebar { display: none; }
}

@media (max-width: 768px) {
  .values-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
