:root {
  /* Brand Colors */
  --brand-primary: #EE1D23; /* Yellow Diamond Red */
  --brand-secondary: #FFD200; /* Yellow Diamond Yellow */
  --brand-accent: #662D91; /* Purple from packaging */
  --brand-dark: #1A1A1B;
  --brand-light: #FFFFFF;
  --brand-bg: #F9F9F9;
  
  /* UI Colors */
  --text-main: #2D2D2D;
  --text-muted: #666666;
  --border-color: #E0E0E0;
  
  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 8rem;
  
  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 20px 40px rgba(0,0,0,0.15);
}

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

body {
  margin: 0;
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--brand-bg);
  color: var(--text-main);
  line-height: 1.5;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

p {
  margin: 0;
}

/* Layout */
.container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

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

/* Navbar */
.navbar {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--space-md);
  background: var(--brand-light);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo-wrapper {
  height: 50px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-circle {
  width: 40px;
  height: 40px;
  background: var(--brand-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 900;
  font-size: 1.2rem;
}

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

.nav-link {
  text-decoration: none;
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
}

/* Hero Section */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - 80px);
  background: var(--brand-light);
}

.hero-content {
  padding: var(--space-xl) var(--space-md);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.hero-visual {
  background: var(--brand-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero-visual::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(circle at 2px 2px, rgba(255,255,255,0.1) 1px, transparent 0);
  background-size: 24px 24px;
}

.product-image-container {
  position: relative;
  z-index: 2;
  width: 80%;
  transform: rotate(-5deg);
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.product-image-container:hover {
  transform: rotate(0deg) scale(1.05);
}

.product-main-img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
}

.badge-new {
  position: absolute;
  top: -20px;
  right: -20px;
  background: var(--brand-secondary);
  color: var(--brand-dark);
  padding: 1rem 2rem;
  font-weight: 900;
  transform: rotate(15deg);
  box-shadow: var(--shadow-md);
  font-size: 1.2rem;
}

/* Typography Helpers */
.eyebrow {
  color: var(--brand-primary);
  font-weight: 800;
  letter-spacing: 0.2em;
  font-size: 0.9rem;
  margin-bottom: var(--space-sm);
}

.title-xl {
  font-size: clamp(3rem, 8vw, 6rem);
  line-height: 0.9;
  margin-bottom: var(--space-md);
}

.description {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 500px;
  margin-bottom: var(--space-md);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  padding: 1.25rem 2.5rem;
  border-radius: 100px;
  font-weight: 800;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

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

.btn-primary:hover {
  background: var(--brand-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* Featured Grids */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.feature-card {
  background: var(--brand-light);
  padding: var(--space-md);
  border-radius: 24px;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.feature-card:hover {
  border-color: var(--brand-primary);
  transform: translateY(-5px);
}

.icon-box {
  width: 48px;
  height: 48px;
  background: #FFF5F5;
  color: var(--brand-primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-sm);
}

/* Product Options */
.options-tabs {
  display: flex;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.tab {
  padding: 0.75rem 1.5rem;
  border-radius: 100px;
  background: white;
  border: 1px solid var(--border-color);
  font-weight: 700;
  cursor: pointer;
}

.tab.active {
  background: var(--brand-accent);
  color: white;
  border-color: var(--brand-accent);
}

/* Nutrition Panel */
.nutrition-card {
  background: #fdfdfd;
  border: 1px solid #eee;
  padding: var(--space-md);
  border-radius: 12px;
}

.nutrition-table {
  width: 100%;
  border-collapse: collapse;
}

.nutrition-table td {
  padding: 0.5rem 0;
  border-bottom: 1px solid #f0f0f0;
}

.nutrition-table tr:last-child td {
  border-bottom: none;
}

.nutrition-label {
  font-weight: 700;
  font-size: 0.85rem;
}

.nutrition-value {
  text-align: right;
  font-size: 0.85rem;
}

/* Floating Elements */
.float-pattern {
  position: absolute;
  width: 100px;
  height: 100px;
  opacity: 0.5;
  pointer-events: none;
}

.float-1 { top: 10%; left: 5%; }
.float-2 { bottom: 15%; right: 10%; }

/* Responsive */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
  }
  .hero-visual {
    height: 400px;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
}
