:root {
  color-scheme: light;
  --bg: #f5f7fb;
  --surface: #ffffff;
  --text: #172033;
  --muted: #5c6782;
  --accent: #4361ee;
  --accent-2: #4cc9f0;
  --border: #e1e7f2;
  --shadow: 0 18px 45px rgba(23, 32, 51, 0.08);
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  background: linear-gradient(180deg, #f9fbff 0%, var(--bg) 100%);
  color: var(--text);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
.container { width: min(1120px, calc(100% - 2rem)); margin: 0 auto; }
.site-header {
  position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,0.9); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border);
}
.nav {
  display: flex; align-items: center; justify-content: space-between; padding: 1rem 0;
}
.brand { font-size: 1.2rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.site-nav { display: flex; gap: 1.2rem; color: var(--muted); }
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: white; padding: 0.8rem 1.2rem; border-radius: 999px; border: 0; font-weight: 700; cursor: pointer; box-shadow: var(--shadow);
}
.button.secondary { background: #eef2ff; color: var(--accent); box-shadow: none; }
.button.small { padding: 0.6rem 0.95rem; font-size: 0.95rem; }
.hero { padding: 4.5rem 0 2.5rem; }
.hero-grid, .detail-grid, .checkout-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 2rem; align-items: center; }
.eyebrow {
  display: inline-block; margin-bottom: 0.8rem; padding: 0.35rem 0.8rem; border-radius: 999px; background: #eef2ff; color: var(--accent); font-size: 0.9rem; font-weight: 700;
}
h1, h2, h3 { line-height: 1.2; margin: 0 0 0.75rem; }
.hero h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1rem; }
.hero p { font-size: 1.05rem; color: var(--muted); max-width: 600px; }
.hero-actions { display: flex; gap: 1rem; margin-top: 1.4rem; }
.hero-card, .product-card, .summary-card, .detail-visual {
  background: var(--surface); border: 1px solid var(--border); border-radius: 24px; box-shadow: var(--shadow);
}
.hero-card { padding: 1.5rem; min-height: 320px; display: grid; place-items: center; }
.visual-surface { width: 100%; height: 250px; border-radius: 20px; background: linear-gradient(135deg, #dbeafe, #c7f9cc); display: grid; place-items: center; font-size: 4rem; }
.section { padding: 2rem 0 3rem; }
.section-heading { display: flex; justify-content: space-between; align-items: end; margin-bottom: 1rem; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.product-card { padding: 1rem; }
.product-illustration { height: 170px; border-radius: 18px; background: linear-gradient(135deg, #ede9fe, #dbeafe); display: grid; place-items: center; font-size: 3rem; margin-bottom: 0.85rem; }
.price { font-size: 1.2rem; font-weight: 800; color: var(--accent); }
.meta-row { display: flex; justify-content: space-between; align-items: center; margin-top: 0.8rem; }
.detail-section { padding: 3rem 0; }
.detail-visual { padding: 1rem; }
.detail-copy .price { font-size: 1.6rem; display: block; margin: 0.7rem 0; }
.purchase-controls { display: flex; flex-wrap: wrap; gap: 0.8rem; align-items: center; margin: 1.2rem 0; }
.purchase-controls input {
  width: 80px; padding: 0.7rem; border-radius: 10px; border: 1px solid var(--border); font-size: 1rem;
}
.checkout-grid { align-items: start; }
.form-card, .summary-card { padding: 1.2rem; }
.form-row { display: grid; gap: 0.5rem; margin-bottom: 0.9rem; }
.form-row input, .form-row textarea { width: 100%; padding: 0.75rem; border: 1px solid var(--border); border-radius: 10px; font: inherit; }
.summary-list { display: grid; gap: 0.7rem; margin: 1rem 0; }
.summary-item { display: flex; justify-content: space-between; gap: 1rem; color: var(--muted); }
.summary-total { display: flex; justify-content: space-between; font-size: 1.05rem; font-weight: 800; padding-top: 0.8rem; border-top: 1px solid var(--border); }
.success-card { max-width: 640px; margin: 3rem auto; padding: 2rem; background: var(--surface); border: 1px solid var(--border); border-radius: 24px; box-shadow: var(--shadow); text-align: center; }
.badge { display: inline-block; padding: 0.35rem 0.7rem; border-radius: 999px; background: #ecfdf3; color: #0f7a3a; font-size: 0.9rem; font-weight: 700; }
.cart-pill { background: #eef2ff; color: var(--accent); padding: 0.35rem 0.7rem; border-radius: 999px; font-weight: 700; }
@media (max-width: 900px) {
  .product-grid { grid-template-columns: 1fr; }
  .hero-grid, .detail-grid, .checkout-grid { grid-template-columns: 1fr; }
}
