:root {
  --bg: #0b0d10;
  --surface: #11141a;
  --text: #f4f5f7;
  --muted: #9aa3b2;
  --border: #232733;
  --accent: #6ee7b7;
  --accent-2: #93c5fd;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(0,0,0,0.35);
  --font-body: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, sans-serif;
  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  background:
    radial-gradient(1200px 800px at 10% -10%, rgba(110,231,183,0.07), transparent 60%),
    radial-gradient(1000px 700px at 110% 10%, rgba(147,197,253,0.07), transparent 60%),
    var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent-2); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { width: min(1200px, calc(100% - 32px)); margin-inline: auto; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(17,20,26,0.7);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding-block: 14px;
}
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: 0.2px; color: var(--text); text-decoration: none; }
.logo-mark { color: var(--accent); }

.nav { display: flex; gap: 18px; }
.nav a { color: var(--muted); font-weight: 600; font-size: 14px; }
.nav a:hover { color: var(--text); text-decoration: none; }

.header-actions { display: inline-flex; align-items: center; gap: 10px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 14px;
  border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: 14px; cursor: pointer; transition: transform .05s ease, background .2s;
  background: transparent; color: var(--text);
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #06211a; border-color: transparent; }
.btn-outline { border-color: var(--border); color: var(--text); }
.btn-ghost { border-color: transparent; color: var(--muted); }

.hero { padding: 90px 0 60px; }
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.1;
  margin: 0 0 14px;
  letter-spacing: -0.02em;
}
.hero p { color: var(--muted); font-size: 18px; max-width: 720px; margin: 0 0 22px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.products { padding: 60px 0; }
.products h2 { font-family: var(--font-display); margin: 0 0 18px; }
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}
.product-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
  transition: transform .15s ease, box-shadow .2s;
}
.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.product-card img {
  width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: 10px; background: #0f1218;
  display: block;
}
.product-card h3 { margin: 12px 0 6px; font-size: 16px; }
.product-card .price { color: var(--muted); font-weight: 600; margin: 0 0 10px; }

.features { padding: 60px 0; }
.features h2 { font-family: var(--font-display); margin: 0 0 18px; }
.feature-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px;
}
.feature {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
}
.feature h4 { margin: 0 0 8px; font-size: 16px; }
.feature p { color: var(--muted); margin: 0; font-size: 14px; }

.contact { padding: 60px 0 90px; }
.contact h2 { font-family: var(--font-display); margin: 0 0 14px; }
#contactForm { display: grid; gap: 10px; max-width: 560px; }
#contactForm input, #contactForm textarea {
  width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--border);
  background: #0f1218; color: var(--text);
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 24px 0;
  color: var(--muted);
  font-size: 13px;
}

.cart-count { font-variant-numeric: tabular-nums; }

/* Cart Drawer */
.cart-drawer { position: fixed; inset: 0; z-index: 100; pointer-events: none; }
.cart-drawer[aria-hidden="false"] { pointer-events: auto; }
.cart-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.45); opacity: 0; transition: opacity .2s; }
.cart-drawer[aria-hidden="false"] .cart-backdrop { opacity: 1; }
.cart-panel {
  position: absolute; right: 0; top: 0; bottom: 0; width: min(380px, 100%);
  background: #0e1117; border-left: 1px solid var(--border);
  transform: translateX(100%); transition: transform .25s ease;
  display: flex; flex-direction: column;
}
.cart-drawer[aria-hidden="false"] .cart-panel { transform: translateX(0); }
.cart-header { display: flex; align-items: center; justify-content: space-between; padding: 14px; border-bottom: 1px solid var(--border); }
.cart-items { flex: 1; overflow: auto; padding: 14px; list-style: none; margin: 0; }
.cart-footer { padding: 14px; border-top: 1px solid var(--border); }
.cart-total { display: flex; justify-content: space-between; margin-bottom: 10px; font-weight: 700; }
