* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #f5f5f5;
  color: #111;
}
.topbar {
  height: 72px;
  background: #111;
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 36px;
  position: sticky;
  top: 0;
  z-index: 10;
}
.logo { font-weight: 800; letter-spacing: 1px; }
nav a {
  color: white;
  text-decoration: none;
  margin: 0 12px;
  opacity: .85;
}
.cart-btn, button, .primary, .secondary {
  border: none;
  border-radius: 10px;
  padding: 12px 16px;
  cursor: pointer;
  font-weight: 700;
}
.cart-btn { background: white; color: #111; }
.hero {
  min-height: 620px;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 34px;
  padding: 70px 7%;
  background: linear-gradient(120deg, #101010, #2d2d2d);
  color: white;
}
.eyebrow { color: #aaa; font-weight: 700; }
h1 { font-size: clamp(42px, 7vw, 82px); line-height: .95; margin: 12px 0; }
.hero-text { font-size: 20px; max-width: 650px; line-height: 1.5; color: #ddd; }
.hero-actions { margin-top: 28px; display: flex; gap: 12px; }
.primary { background: white; color: #111; text-decoration: none; }
.secondary { background: transparent; color: white; border: 1px solid #666; text-decoration: none; }
.ai-card {
  background: white;
  color: #111;
  border-radius: 24px;
  padding: 24px;
  align-self: center;
  box-shadow: 0 30px 60px rgba(0,0,0,.35);
}
.chat-header { font-weight: 800; margin-bottom: 18px; }
.message {
  padding: 14px;
  border-radius: 14px;
  margin: 12px 0;
}
.bot { background: #eee; }
.user { background: #111; color: white; margin-left: 30px; }
.section { padding: 60px 7%; }
.section h2 { font-size: 36px; margin-bottom: 22px; }
.products, .stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.product, .stats div, .flow div {
  background: white;
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 10px 28px rgba(0,0,0,.06);
}
.product-img {
  height: 180px;
  background: #eee;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 70px;
}
.product button, .ai-card button, .checkout {
  background: #111;
  color: white;
  margin-top: 14px;
  width: 100%;
}
.cart {
  position: fixed;
  right: -390px;
  top: 0;
  width: 370px;
  height: 100vh;
  background: white;
  z-index: 20;
  padding: 24px;
  box-shadow: -20px 0 40px rgba(0,0,0,.2);
  transition: right .25s ease;
}
.cart.open { right: 0; }
.close {
  float: right;
  background: #eee;
  color: #111;
}
.cart-item {
  border-bottom: 1px solid #ddd;
  padding: 12px 0;
}
.total {
  font-size: 22px;
  font-weight: 800;
  margin: 22px 0;
}
.success {
  color: #087b2f;
  background: #e9f8ee;
  padding: 12px;
  border-radius: 10px;
}
.flow {
  display: grid;
  grid-template-columns: repeat(7, minmax(140px, 1fr));
  gap: 14px;
}
.flow span {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  background: #111;
  color: white;
  border-radius: 50%;
  margin-bottom: 10px;
}
.dashboard .stats { grid-template-columns: repeat(4, 1fr); }
.stats h3 { font-size: 30px; margin: 8px 0 0; }
footer {
  background: #111;
  color: white;
  padding: 28px 7%;
}
@media (max-width: 900px) {
  .hero, .products, .stats, .dashboard .stats, .flow {
    grid-template-columns: 1fr;
  }
  nav { display: none; }
}
