/* Anti-forced-dark protection (Brave, Samsung, etc.) */
html, body {
  background-color: #FBFBFD !important;
  color-scheme: light !important;
  forced-color-adjust: none !important;
  -webkit-color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  html, body { background-color: #FBFBFD !important; color: #1D1D1F !important; }
}

/* ================================================================
   ROBOX — Apple-style design system
   Off-white + soft sage green
   ================================================================ */

:root {
  color-scheme: light;
  /* Color */
  --bg: #FBFBFD;
  --bg-secondary: #F5F5F7;
  --bg-elevated: #FFFFFF;
  --bg-tinted: #F0F4F8;
  --bg-sage-soft: #E6F0FA;

  --text: #1D1D1F;
  --text-secondary: #6E6E73;
  --text-tertiary: #86868B;
  --text-inverse: #FFFFFF;

  --sage: #0071E3;
  --sage-deep: #0058B0;
  --sage-darker: #003D80;
  --sage-tint: #A5C8F0;

  /* Purple accent for gradient */
  --purple: #8B5CF6;
  --purple-deep: #7C3AED;
  --purple-tint: #DDD6FE;
  --gradient: linear-gradient(135deg, #0071E3 0%, #8B5CF6 100%);
  --gradient-soft: linear-gradient(135deg, #E6F0FA 0%, #EFEBFE 100%);
  --gradient-warm: linear-gradient(135deg, #DCEBFC 0%, #E9DEFE 100%);

  --border: rgba(0, 0, 0, 0.08);
  --border-strong: rgba(0, 0, 0, 0.14);

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 14px rgba(0, 0, 0, 0.06), 0 1px 4px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 24px 60px -20px rgba(20, 40, 25, 0.18), 0 4px 12px rgba(0, 0, 0, 0.04);

  /* Type scale */
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Helvetica Neue", Arial, sans-serif;
  --tracking-tight: -0.022em;
  --tracking-tighter: -0.03em;

  /* Layout */
  --radius-xs: 8px;
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-pill: 999px;

  --container: 1200px;
  --container-wide: 1320px;

  /* Motion */
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --duration: 0.4s;
}

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

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
}

body {
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.5;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  font-feature-settings: "kern" 1, "liga" 1;
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

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

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

/* ================================================================
   Typography
================================================================ */

.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--sage-deep);
}

h1, .h1 {
  font-size: clamp(40px, 6.5vw, 88px);
  line-height: 1.05;
  letter-spacing: var(--tracking-tighter);
  font-weight: 700;
  color: var(--text);
}

h2, .h2 {
  font-size: clamp(32px, 4.4vw, 56px);
  line-height: 1.08;
  letter-spacing: var(--tracking-tight);
  font-weight: 700;
}

h3, .h3 {
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.2;
  letter-spacing: var(--tracking-tight);
  font-weight: 600;
}

h4 {
  font-size: 20px;
  line-height: 1.3;
  letter-spacing: -0.014em;
  font-weight: 600;
}

p {
  font-size: 17px;
  line-height: 1.55;
  color: var(--text-secondary);
}

.lede {
  font-size: clamp(18px, 1.8vw, 22px);
  line-height: 1.5;
  color: var(--text-secondary);
  max-width: 720px;
}

.muted {
  color: var(--text-tertiary);
}

/* ================================================================
   Layout primitives
================================================================ */

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.container-wide {
  max-width: var(--container-wide);
}

section {
  padding: 96px 0;
  position: relative;
}

@media (max-width: 640px) {
  section { padding: 64px 0; }
}

.section-header {
  margin-bottom: 56px;
  max-width: 760px;
}

.section-header.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-header .eyebrow { margin-bottom: 16px; display: inline-block; }
.section-header h2 { margin-bottom: 16px; }

/* ================================================================
   Navigation (glass top bar)
================================================================ */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 56px;
  background: rgba(251, 251, 253, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s var(--ease);
}

.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  font-size: 14px;
}

.nav-logo {
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-logo .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sage);
  box-shadow: 0 0 0 4px var(--bg-sage-soft);
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: var(--text);
  font-weight: 400;
  opacity: 0.85;
  transition: opacity 0.2s var(--ease);
}

.nav-links a:hover { opacity: 1; }
.nav-links a.active { color: var(--sage-deep); font-weight: 500; opacity: 1; }

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

.nav-cart {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: var(--radius-pill);
  background: var(--bg-secondary);
  font-size: 13px;
  font-weight: 500;
  transition: all 0.2s var(--ease);
}

.nav-cart:hover { background: var(--bg-sage-soft); color: var(--sage-deep); }
.nav-cart .count {
  background: var(--sage-deep);
  color: white;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 600;
}

.nav-toggle {
  display: none;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
}

.nav-toggle span {
  width: 18px;
  height: 1.5px;
  background: var(--text);
  position: relative;
  transition: all 0.2s var(--ease);
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 1.5px;
  background: var(--text);
  transition: all 0.2s var(--ease);
}

.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

@media (max-width: 880px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
}

.nav-mobile {
  position: fixed;
  inset: 56px 0 0 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  z-index: 99;
  padding: 32px 24px;
  transform: translateY(-12px);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s var(--ease);
}

.nav-mobile.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.nav-mobile ul { list-style: none; }
.nav-mobile li {
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
}
.nav-mobile a {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

/* Banner */
.banner {
  background: var(--text);
  color: var(--text-inverse);
  font-size: 12px;
  letter-spacing: 0.02em;
  padding: 8px 24px;
  text-align: center;
  font-weight: 400;
}

.banner span {
  display: inline-block;
  margin: 0 12px;
  opacity: 0.9;
}

/* ================================================================
   Buttons
================================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: all 0.2s var(--ease);
  cursor: pointer;
  border: none;
  white-space: nowrap;
}

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

.btn-primary:hover {
  background: #2A2A2C;
  transform: translateY(-1px);
}

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

.btn-sage:hover {
  background: linear-gradient(135deg, var(--sage-darker) 0%, var(--purple-deep) 100%);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px -8px rgba(124, 58, 237, 0.4);
}

.btn-secondary {
  background: var(--bg-secondary);
  color: var(--text);
}

.btn-secondary:hover { background: var(--bg-tinted); }

.btn-ghost {
  background: transparent;
  color: var(--text);
}

.btn-ghost:hover { color: var(--sage-deep); }

.btn-link {
  color: var(--sage-deep);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 15px;
}

.btn-link::after {
  content: "→";
  transition: transform 0.2s var(--ease);
}

.btn-link:hover::after { transform: translateX(3px); }

.btn-lg {
  padding: 16px 30px;
  font-size: 17px;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 13px;
}

.btn-block { width: 100%; }

/* ================================================================
   Hero
================================================================ */

.hero {
  padding-top: 140px;
  padding-bottom: 96px;
  text-align: center;
  position: relative;
  background: linear-gradient(180deg, var(--bg) 0%, #E8EFFF 50%, #EEEAFE 100%);
  overflow: hidden;
}

.hero-grain::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 20%, rgba(0, 113, 227, 0.05) 0, transparent 40%),
                    radial-gradient(circle at 80% 70%, rgba(0, 113, 227, 0.04) 0, transparent 40%);
  pointer-events: none;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(139, 92, 246, 0.18);
  border-radius: var(--radius-pill);
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  background-image: linear-gradient(rgba(255,255,255,0.85), rgba(255,255,255,0.85));
  margin-bottom: 28px;
  position: relative;
}

.hero-eyebrow span:not(.dot) {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  font-weight: 600;
}

.hero-eyebrow .dot {
  background: var(--gradient) !important;
  background-size: 200% 200% !important;
  animation: pulse 2s var(--ease) infinite, gradShift 4s ease infinite !important;
}

@keyframes gradShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.hero-eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sage);
  animation: pulse 2s var(--ease) infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}

.hero h1 {
  margin-bottom: 24px;
  letter-spacing: var(--tracking-tighter);
  max-width: 14ch;
  margin-left: auto;
  margin-right: auto;
}

.hero h1 .accent {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hero p {
  max-width: 560px;
  margin: 0 auto 40px;
  font-size: clamp(17px, 1.5vw, 21px);
  color: var(--text-secondary);
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

.hero-stats {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin: 0 auto;
  padding-top: 24px;
  font-size: 14px;
  color: var(--text-tertiary);
}

.hero-stats .stat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-stats .stat strong {
  color: var(--text);
  font-weight: 600;
}

/* ================================================================
   Featured product showcase
================================================================ */

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 40px;
}

.feature-card {
  position: relative;
  background: var(--bg-elevated);
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  min-height: 520px;
  overflow: hidden;
  transition: transform 0.4s var(--ease);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.feature-card.dark {
  background: linear-gradient(180deg, #FFFFFF 0%, #F2F4F8 100%);
  color: var(--text);
  border: 1px solid var(--border);
}

.feature-card.dark p { color: var(--text-secondary); }
.feature-card.dark .price { color: var(--text); }
.feature-card.dark .feature-eyebrow { color: var(--sage-deep); opacity: 1; }

.feature-card.sage {
  background: linear-gradient(135deg, #DCEBFC 0%, #B5D3F5 100%);
}

.feature-card.tall {
  grid-row: span 2;
  min-height: 760px;
}

.feature-card:hover { transform: translateY(-2px); }

.feature-card .product-art {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin: 32px 0;
}

.feature-eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 12px;
  opacity: 0.6;
}

.feature-card h3 {
  font-size: clamp(28px, 2.6vw, 36px);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.feature-card .feature-desc {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 24px;
  max-width: 36ch;
}

.feature-card.dark .feature-desc { color: var(--text-secondary); }

.feature-card .price {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

@media (max-width: 880px) {
  .feature-row { grid-template-columns: 1fr; }
  .feature-card { padding: 40px 28px; min-height: 460px; }
  .feature-card.tall { min-height: 460px; grid-row: auto; }
}

/* ================================================================
   Categories grid
================================================================ */

.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

@media (max-width: 880px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .cat-grid { grid-template-columns: 1fr; } }

.cat-card {
  position: relative;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: all 0.3s var(--ease);
  overflow: hidden;
  min-height: 180px;
}

.cat-card:hover {
  border-color: var(--sage-tint);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.cat-card .cat-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--gradient-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sage-deep);
  position: relative;
  overflow: hidden;
}

.cat-card:nth-child(2) .cat-icon { background: linear-gradient(135deg, #DCEBFC 0%, #DDD6FE 100%); }
.cat-card:nth-child(3) .cat-icon { background: linear-gradient(135deg, #DDD6FE 0%, #FCE7F3 100%); color: var(--purple-deep); }
.cat-card:nth-child(4) .cat-icon { background: linear-gradient(135deg, #FCE7F3 0%, #DCEBFC 100%); color: var(--purple-deep); }
.cat-card:nth-child(5) .cat-icon { background: linear-gradient(135deg, #DCFCE7 0%, #DCEBFC 100%); color: #15803D; }
.cat-card:nth-child(6) .cat-icon { background: linear-gradient(135deg, #FEF3C7 0%, #DDD6FE 100%); color: #9A3412; }

.cat-card h3 {
  font-size: 20px;
  margin-bottom: 4px;
}

.cat-card p {
  font-size: 14px;
  color: var(--text-secondary);
}

.cat-card .arrow {
  position: absolute;
  top: 28px;
  right: 28px;
  color: var(--text-tertiary);
  transition: all 0.2s var(--ease);
}

.cat-card:hover .arrow {
  color: var(--sage-deep);
  transform: translate(2px, -2px);
}

/* ================================================================
   Product grid
================================================================ */

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

@media (max-width: 1024px) { .products-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px) { .products-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .products-grid { grid-template-columns: 1fr; gap: 16px; } }

.product-card {
  background: var(--bg-elevated);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.3s var(--ease);
  position: relative;
  text-decoration: none;
  color: inherit;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0, 113, 227, 0.4);
}

.product-card .image {
  aspect-ratio: 1 / 1;
  background: var(--bg-tinted);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-card .image .product-art {
  width: 70%;
  max-width: 220px;
  transition: transform 0.5s var(--ease);
}

.product-card:hover .image .product-art {
  transform: scale(1.05);
}

.product-card .badge-row {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.product-card .badge {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
}

.badge-bestseller { background: var(--text); color: white; }
.badge-new { background: var(--sage-deep); color: white; }
.badge-pro { background: #2A3F2C; color: white; }
.badge-eco { background: var(--bg-sage-soft); color: var(--sage-darker); }
.badge-stock { background: rgba(255,184,77,0.16); color: #B05900; }
.badge-popular { background: var(--bg-secondary); color: var(--text); }
.badge-part { background: var(--bg-secondary); color: var(--text-tertiary); }

.product-card .info {
  padding: 22px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.product-card .info .cat-tag {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}

.product-card .info h3 {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
  color: var(--text);
}

.product-card .info .rating {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-secondary);
}

.product-card .info .rating .stars { color: var(--sage-deep); letter-spacing: -0.5px; }

.product-card .info .short {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card .price-row {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
}

.product-card .price {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
}

.product-card .add {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  transition: all 0.2s var(--ease);
}

.product-card .add:hover {
  background: var(--gradient);
  color: white;
  transform: scale(1.05);
  box-shadow: 0 4px 12px -2px rgba(124, 58, 237, 0.4);
}

/* ================================================================
   Product art (SVG hero illustrations)
================================================================ */

.product-art {
  display: block;
  user-select: none;
}

/* ================================================================
   Filters / pills
================================================================ */

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
  padding-bottom: 24px;
}

.pill {
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  background: var(--bg-secondary);
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s var(--ease);
}

.pill:hover { background: var(--bg-tinted); }
.pill.active {
  background: var(--text);
  color: white;
}

/* ================================================================
   Values / benefits section
================================================================ */

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

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

.value {
  padding: 24px 0;
}

.value .icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--gradient-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sage-deep);
  margin-bottom: 16px;
}

.value h3 {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}

.value p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ================================================================
   Reviews
================================================================ */

.reviews {
  background: var(--bg-secondary);
  padding: 96px 0;
}

.reviews-summary {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 56px;
}

.reviews-summary .score {
  font-size: 88px;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--text);
}

.reviews-summary .stars {
  font-size: 24px;
  color: var(--sage-deep);
  letter-spacing: 4px;
  margin: 8px 0;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

@media (max-width: 880px) { .reviews-grid { grid-template-columns: 1fr; } }

.review-card {
  background: var(--bg-elevated);
  border-radius: var(--radius-md);
  padding: 28px;
  border: 1px solid var(--border);
}

.review-card .stars { color: var(--sage-deep); margin-bottom: 12px; }
.review-card h4 {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}
.review-card p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-secondary);
}
.review-card .reviewer {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 13px;
}
.review-card .reviewer .avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-sage-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 12px;
  color: var(--sage-deep);
}
.review-card .reviewer .verified {
  margin-left: auto;
  font-size: 11px;
  color: var(--sage-deep);
  font-weight: 500;
}

/* ================================================================
   Promise strip
================================================================ */

.promise-strip {
  background: var(--bg);
  padding: 48px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

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

@media (max-width: 880px) { .promise-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .promise-grid { grid-template-columns: 1fr; } }

.promise {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.promise .icon { color: var(--sage-deep); margin-bottom: 6px; }
.promise h4 { font-size: 15px; font-weight: 600; letter-spacing: -0.01em; }
.promise p { font-size: 13px; color: var(--text-secondary); }

/* ================================================================
   Newsletter
================================================================ */

.newsletter {
  background: linear-gradient(135deg, #DCEBFC 0%, #E9DEFE 60%, #FCE7F3 100%);
  color: var(--text);
  text-align: center;
  padding: 96px 24px;
  border-radius: var(--radius-xl);
  margin: 32px auto;
  max-width: 1240px;
}

.newsletter h2 {
  color: var(--text);
  margin-bottom: 12px;
  letter-spacing: var(--tracking-tighter);
}

.newsletter p {
  color: var(--text-secondary);
  max-width: 480px;
  margin: 0 auto 32px;
}

.newsletter form {
  display: flex;
  max-width: 460px;
  margin: 0 auto;
  background: rgba(255,255,255,0.7);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 6px;
  backdrop-filter: blur(10px);
}

.newsletter input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text);
  padding: 12px 18px;
  font-size: 15px;
}

.newsletter input::placeholder { color: var(--text-tertiary); }

.newsletter button {
  background: var(--sage-deep);
  color: white;
  border-radius: var(--radius-pill);
  padding: 12px 22px;
  font-size: 14px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: all 0.2s var(--ease);
}

.newsletter button:hover { background: var(--sage-darker); }

/* ================================================================
   Footer
================================================================ */

.footer {
  padding: 64px 0 32px;
  background: var(--bg-secondary);
  font-size: 14px;
  color: var(--text-secondary);
}

.footer .footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

@media (max-width: 880px) { .footer .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 540px) { .footer .footer-grid { grid-template-columns: 1fr; } }

.footer h4 {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 16px;
}

.footer ul { list-style: none; }
.footer li { margin-bottom: 8px; }
.footer a { color: var(--text-secondary); transition: color 0.2s var(--ease); }
.footer a:hover { color: var(--sage-deep); }

.footer .legal {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12px;
  color: var(--text-tertiary);
}

.footer .legal .pay {
  display: flex;
  gap: 8px;
  align-items: center;
}

.footer .legal .pay span {
  background: white;
  border: 1px solid var(--border);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 500;
  color: var(--text);
}

/* ================================================================
   Product detail page
================================================================ */

.product-page {
  padding-top: 96px;
}

.product-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  padding: 48px 0 80px;
}

@media (max-width: 880px) { .product-hero { grid-template-columns: 1fr; gap: 32px; } }

.product-hero .gallery {
  background: var(--bg-tinted);
  border-radius: var(--radius-lg);
  padding: 48px;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.product-hero .gallery .badge-row { position: absolute; top: 24px; left: 24px; }

.product-hero .gallery .product-art { width: 70%; max-width: 360px; }

.product-hero .info h1 {
  font-size: clamp(32px, 4vw, 48px);
  letter-spacing: var(--tracking-tighter);
  margin-bottom: 12px;
}

.product-hero .info .cat-tag {
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-tertiary);
  margin-bottom: 8px;
  display: block;
}

.product-hero .info .price-large {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 16px 0 8px;
}

.product-hero .info .price-meta {
  font-size: 13px;
  color: var(--text-tertiary);
  margin-bottom: 24px;
}

.product-hero .info .description {
  font-size: 16px;
  line-height: 1.55;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.product-hero .info .actions {
  display: flex;
  gap: 8px;
  margin-top: 24px;
}

.product-hero .features-list {
  list-style: none;
  margin-top: 24px;
  display: grid;
  gap: 8px;
}

.product-hero .features-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-secondary);
}

.product-hero .features-list li::before {
  content: "";
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--bg-sage-soft);
  flex-shrink: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='%235A8A6A' d='M6.7 11.3 3.5 8.1l1.3-1.3 1.9 1.9L11 4.4l1.3 1.3z'/></svg>");
  background-position: center;
  background-repeat: no-repeat;
}

.specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin: 32px 0;
}

@media (max-width: 540px) { .specs-grid { grid-template-columns: 1fr; } }

.specs-grid .spec {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  border-right: 1px solid var(--border);
}

@media (max-width: 540px) { .specs-grid .spec { border-right: none; } }

.specs-grid .spec:nth-child(2n) { border-right: none; }
.specs-grid .spec:nth-last-child(-n+2) { border-bottom: none; }

@media (max-width: 540px) {
  .specs-grid .spec:nth-last-child(-n+2) { border-bottom: 1px solid var(--border); }
  .specs-grid .spec:last-child { border-bottom: none; }
}

.specs-grid .spec .label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-bottom: 4px;
}

.specs-grid .spec .value {
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
  letter-spacing: -0.01em;
}

/* ================================================================
   Cart / Drawer
================================================================ */

.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s var(--ease);
}
.cart-overlay.open { opacity: 1; visibility: visible; }

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 420px;
  height: 100vh;
  background: var(--bg-elevated);
  z-index: 201;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease);
  display: flex;
  flex-direction: column;
}

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

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

.cart-drawer header h3 {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.cart-drawer .close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s var(--ease);
}
.cart-drawer .close:hover { background: var(--bg-tinted); }

.cart-drawer .items {
  flex: 1;
  overflow-y: auto;
  padding: 16px 24px;
}

.cart-item {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  align-items: center;
}

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

.cart-item .img {
  width: 64px;
  height: 64px;
  background: var(--bg-tinted);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.cart-item .img .product-art { width: 80%; }

.cart-item .name {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
  line-height: 1.3;
}

.cart-item .meta {
  font-size: 12px;
  color: var(--text-tertiary);
  display: flex;
  gap: 12px;
  align-items: center;
}

.cart-item .qty {
  display: inline-flex;
  align-items: center;
  background: var(--bg-secondary);
  border-radius: var(--radius-pill);
  padding: 2px;
}

.cart-item .qty button {
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 14px;
  color: var(--text);
}

.cart-item .qty span {
  min-width: 22px;
  text-align: center;
  font-weight: 600;
  font-size: 12px;
}

.cart-item .item-price {
  font-size: 14px;
  font-weight: 600;
}

.cart-item .remove {
  background: transparent;
  color: var(--text-tertiary);
  font-size: 12px;
  margin-top: 4px;
  padding: 0;
  cursor: pointer;
}

.cart-empty {
  text-align: center;
  padding: 80px 24px;
  color: var(--text-tertiary);
}

.cart-empty h4 {
  color: var(--text);
  font-weight: 600;
  margin-bottom: 8px;
}

.cart-drawer footer {
  padding: 24px;
  border-top: 1px solid var(--border);
  background: var(--bg-secondary);
}

.cart-drawer .totals {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 14px;
  margin-bottom: 8px;
  color: var(--text-secondary);
}

.cart-drawer .totals.grand {
  font-size: 19px;
  color: var(--text);
  font-weight: 600;
  margin: 16px 0;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

/* ================================================================
   Forms
================================================================ */

.form-grid {
  display: grid;
  gap: 16px;
}

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

@media (max-width: 540px) { .form-row { grid-template-columns: 1fr; } }

.field {
  position: relative;
  display: flex;
  flex-direction: column;
}

.field label {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
  color: var(--text);
}

.field input,
.field textarea,
.field select {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 15px;
  outline: none;
  transition: all 0.2s var(--ease);
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--sage);
  box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.12);
}

.field textarea { min-height: 120px; resize: vertical; }

.field .hint { font-size: 12px; color: var(--text-tertiary); margin-top: 4px; }

/* ================================================================
   Admin
================================================================ */

.admin-shell {
  min-height: 100vh;
  background: var(--bg-secondary);
  display: grid;
  grid-template-columns: 240px 1fr;
}

@media (max-width: 880px) { .admin-shell { grid-template-columns: 1fr; } }

.admin-sidebar {
  background: var(--bg-elevated);
  border-right: 1px solid var(--border);
  padding: 24px 16px;
  position: sticky;
  top: 0;
  height: 100vh;
}

@media (max-width: 880px) { .admin-sidebar { display: none; } }

.admin-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.01em;
  padding: 6px 12px;
  margin-bottom: 24px;
}

.admin-brand .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sage);
  box-shadow: 0 0 0 4px var(--bg-sage-soft);
}

.admin-nav { list-style: none; }
.admin-nav li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  font-size: 14px;
  border-radius: 8px;
  margin-bottom: 2px;
  cursor: pointer;
  color: var(--text-secondary);
  transition: all 0.2s var(--ease);
}
.admin-nav li:hover { background: var(--bg-secondary); color: var(--text); }
.admin-nav li.active { background: var(--bg-sage-soft); color: var(--sage-darker); font-weight: 500; }

.admin-main {
  padding: 32px 40px;
}

@media (max-width: 540px) { .admin-main { padding: 24px 20px; } }

.admin-main h1 {
  font-size: 28px;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.admin-main .subtitle {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

@media (max-width: 880px) { .admin-stats { grid-template-columns: repeat(2, 1fr); } }

.admin-stat {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
}

.admin-stat .label {
  font-size: 13px;
  color: var(--text-tertiary);
  margin-bottom: 4px;
}

.admin-stat .value {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.admin-stat .delta {
  font-size: 12px;
  color: var(--sage-deep);
  margin-top: 4px;
}

.admin-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 16px;
}

.admin-card .header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.admin-card h3 { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }

.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th {
  text-align: left;
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  font-weight: 600;
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
}
.admin-table td {
  padding: 14px 12px;
  font-size: 14px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
.admin-table tr:last-child td { border-bottom: none; }
.admin-table .img-cell {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--bg-tinted);
  display: flex;
  align-items: center;
  justify-content: center;
}

.admin-table .img-cell .product-art { width: 80%; }

.status-pill {
  font-size: 11px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-weight: 500;
}

.status-active { background: var(--bg-sage-soft); color: var(--sage-darker); }
.status-low { background: rgba(255,184,77,0.16); color: #B05900; }
.status-out { background: rgba(255, 99, 99, 0.12); color: #B83333; }

/* Login */
.login {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: var(--bg-secondary);
}

.login-card {
  background: var(--bg-elevated);
  border-radius: var(--radius-lg);
  padding: 40px;
  width: 100%;
  max-width: 400px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
}

.login-card .brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 24px;
  justify-content: center;
}

.login-card h2 {
  font-size: 24px;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  text-align: center;
}

.login-card p {
  font-size: 14px;
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 24px;
}

.login-card .err {
  background: rgba(255, 99, 99, 0.1);
  color: #B83333;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 13px;
  margin-bottom: 16px;
  display: none;
}

.login-card .err.show { display: block; }

/* ================================================================
   Animations
================================================================ */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

.reveal.delay-1 { transition-delay: 0.05s; }
.reveal.delay-2 { transition-delay: 0.1s; }
.reveal.delay-3 { transition-delay: 0.15s; }
.reveal.delay-4 { transition-delay: 0.2s; }

/* ================================================================
   Toast
================================================================ */

.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--text);
  color: white;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.01em;
  z-index: 300;
  opacity: 0;
  transition: all 0.3s var(--ease);
  display: flex;
  align-items: center;
  gap: 8px;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ================================================================
   Misc
================================================================ */

.kbd {
  font-family: ui-monospace, SFMono-Regular, monospace;
  font-size: 12px;
  background: var(--bg-secondary);
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid var(--border);
}

.divider {
  height: 1px;
  background: var(--border);
  margin: 32px 0;
}

.center { text-align: center; }
.flex { display: flex; }
.flex-col { display: flex; flex-direction: column; }
.gap-1 { gap: 4px; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }
.gap-6 { gap: 24px; }
.mt-2 { margin-top: 8px; }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.mt-8 { margin-top: 32px; }
.mb-2 { margin-bottom: 8px; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ================================================================
   Image gallery (product detail)
================================================================ */

.gallery-main {
  background: var(--bg-tinted);
  border-radius: var(--radius-lg);
  padding: 32px;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.gallery-main img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.4s var(--ease);
}

.gallery-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.gallery-thumbs .thumb {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  background: var(--bg-tinted);
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  padding: 4px;
  cursor: pointer;
  transition: all 0.2s var(--ease);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.gallery-thumbs .thumb img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.gallery-thumbs .thumb:hover { border-color: var(--sage-tint); }
.gallery-thumbs .thumb.active { border-color: var(--sage); background: var(--bg-elevated); }

/* Better fit for img inside product-card image area */
.product-card .image .product-art {
  width: auto !important;
  max-width: 90% !important;
  max-height: 80%;
  object-fit: contain;
}

.product-card .image {
  background: linear-gradient(135deg, var(--bg-tinted) 0%, var(--bg) 100%);
}

.feature-card .product-art {
  max-height: 280px;
  object-fit: contain;
  margin: 0 auto;
}

/* Logo SVG colors (so we can recolor brand mark via CSS filters when needed) */
.brand-logo {
  display: inline-flex;
  align-items: center;
  height: 24px;
}
.brand-logo svg, .brand-logo img {
  height: 100%;
  width: auto;
  display: block;
}

/* Hero category subnav (Apple-style top secondary nav) */
.subcat-nav {
  position: sticky;
  top: 56px;
  z-index: 90;
  background: rgba(251,251,253,0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
  font-size: 13px;
}

.subcat-nav-inner {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scrollbar-width: none;
}

.subcat-nav-inner::-webkit-scrollbar { display: none; }

.subcat-nav a {
  color: var(--text-secondary);
  white-space: nowrap;
  font-weight: 500;
  transition: color 0.2s var(--ease);
}

.subcat-nav a:hover, .subcat-nav a.active { color: var(--sage-deep); }



/* Purple gradient badge */
.badge-purple { background: var(--gradient); color: white; }
.badge-feature { background: var(--gradient); color: white; }

/* Lifestyle decorative gradient blob */
.blob {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}
.blob.b1 { background: radial-gradient(circle, rgba(0,113,227,0.4) 0%, transparent 70%); top: -100px; left: -100px; }
.blob.b2 { background: radial-gradient(circle, rgba(139,92,246,0.4) 0%, transparent 70%); bottom: -100px; right: -100px; }

/* Gradient line under hero stats */
.gradient-line {
  height: 2px;
  background: var(--gradient);
  border-radius: 2px;
  margin: 0 auto;
  max-width: 60px;
  opacity: 0.4;
}

/* Soft "story" cards for emotional copy */
.story-card {
  background: var(--bg-elevated);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.story-card::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(139,92,246,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.story-card.alt::before {
  background: radial-gradient(circle, rgba(0,113,227,0.12) 0%, transparent 70%);
}
.story-card .emoji-large {
  font-size: 48px;
  margin-bottom: 16px;
  display: block;
}
.story-card h3 {
  font-size: 24px;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.story-card p {
  font-size: 17px;
  line-height: 1.55;
  color: var(--text-secondary);
}

/* Blog */
.blog-hero {
  padding-top: 140px;
  padding-bottom: 80px;
  background: var(--gradient-warm);
  position: relative;
  overflow: hidden;
}
.blog-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
@media (max-width: 768px) { .blog-list { grid-template-columns: 1fr; } }
.blog-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.3s var(--ease);
  display: flex;
  flex-direction: column;
}
.blog-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(139, 92, 246, 0.4);
}
.blog-card .cover {
  aspect-ratio: 16 / 9;
  background: var(--gradient-soft);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.blog-card .cover.cat-1 { background: linear-gradient(135deg, #DCEBFC 0%, #DDD6FE 100%); }
.blog-card .cover.cat-2 { background: linear-gradient(135deg, #DCFCE7 0%, #DCEBFC 100%); }
.blog-card .cover.cat-3 { background: linear-gradient(135deg, #FCE7F3 0%, #DDD6FE 100%); }
.blog-card .cover.cat-4 { background: linear-gradient(135deg, #FEF3C7 0%, #DCFCE7 100%); }
.blog-card .cover.cat-5 { background: linear-gradient(135deg, #DDD6FE 0%, #FCE7F3 100%); }
.blog-card .cover .emoji {
  font-size: 64px;
  filter: drop-shadow(0 4px 16px rgba(0,0,0,0.1));
}
.blog-card .content {
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.blog-card .meta {
  font-size: 12px;
  color: var(--text-tertiary);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 8px;
}
.blog-card h3 {
  font-size: 22px;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 12px;
}
.blog-card .excerpt {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.5;
  flex: 1;
}
.blog-card .read {
  margin-top: 16px;
  color: var(--sage-deep);
  font-weight: 500;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.blog-card .read::after {
  content: "→";
  transition: transform 0.2s var(--ease);
}
.blog-card:hover .read::after { transform: translateX(3px); }

/* Article page */
.article-hero {
  padding-top: 120px;
  padding-bottom: 48px;
  background: var(--gradient-warm);
  position: relative;
  overflow: hidden;
}
.article-hero .container {
  position: relative;
  z-index: 2;
  max-width: 760px;
}
.article-hero .meta {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--sage-deep);
  margin-bottom: 16px;
}
.article-hero h1 {
  font-size: clamp(32px, 4.4vw, 56px);
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: 24px;
}
.article-hero .summary {
  font-size: 19px;
  line-height: 1.5;
  color: var(--text-secondary);
}
.article-cover {
  aspect-ratio: 21 / 9;
  border-radius: var(--radius-lg);
  margin: 0 auto 48px;
  max-width: 1100px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 80px;
  position: relative;
  overflow: hidden;
}

.article {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px 96px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
}
.article p { margin: 0 0 20px; color: var(--text); }
.article h2 {
  font-size: clamp(24px, 3vw, 32px);
  letter-spacing: -0.02em;
  margin: 48px 0 16px;
}
.article h3 {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 32px 0 12px;
}
.article ul, .article ol {
  margin: 0 0 20px 24px;
}
.article li { margin: 0 0 8px; line-height: 1.55; }
.article a { color: var(--sage-deep); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.article a:hover { color: var(--purple-deep); }
.article blockquote {
  border-left: 3px solid;
  border-image: var(--gradient) 1;
  padding: 4px 0 4px 24px;
  margin: 24px 0;
  font-style: italic;
  color: var(--text-secondary);
}
.article .callout {
  background: var(--gradient-soft);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  margin: 32px 0;
}
.article .callout h4 {
  font-size: 17px;
  margin-bottom: 8px;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.article .product-link {
  display: flex;
  gap: 16px;
  align-items: center;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px;
  margin: 24px 0;
  text-decoration: none;
  color: var(--text);
  transition: all 0.2s var(--ease);
}
.article .product-link:hover { border-color: rgba(139,92,246,0.4); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.article .product-link img { width: 80px; height: 80px; object-fit: contain; }
.article .product-link .name { font-weight: 600; font-size: 16px; margin-bottom: 4px; }
.article .product-link .price { font-size: 14px; color: var(--text-secondary); }
.article .product-link .arrow { margin-left: auto; color: var(--sage-deep); font-size: 18px; }
.article .toc {
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin: 24px 0 40px;
  font-size: 14px;
}
.article .toc strong { display: block; margin-bottom: 10px; font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--text-tertiary); }
.article .toc ol { margin: 0; padding-left: 20px; }
.article .toc li { margin-bottom: 4px; line-height: 1.4; }
.article .faq h3 { margin-top: 24px; }
