:root {
  --bg: #0f1419;
  --panel: #1a222c;
  --text: #e8eef5;
  --muted: #8b9aab;
  --accent: #3dd6c6;
  --accent-2: #f0b429;
  --line: #2a3542;
  --danger: #ff6b6b;
  --radius: 14px;
  --font: "Sora", "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: var(--font);
  background:
    radial-gradient(1200px 500px at 10% -10%, #1d3a3a 0%, transparent 55%),
    radial-gradient(900px 400px at 100% 0%, #3a2e14 0%, transparent 50%),
    var(--bg);
  color: var(--text);
  min-height: 100vh;
}
a { color: var(--accent); text-decoration: none; }
.top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  background: rgba(15, 20, 25, 0.8);
}
.brand { font-weight: 700; letter-spacing: 0.02em; color: var(--text); }
.wrap { width: min(980px, 100%); margin: 0 auto; padding: 2rem 1.25rem 4rem; }
.hero { margin-bottom: 2rem; animation: rise 0.5s ease both; }
.hero h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0 0 0.5rem; }
.hero p, .muted, .lead { color: var(--muted); }
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
  margin-bottom: 2.5rem;
}
.card {
  display: block;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem;
  color: inherit;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  animation: rise 0.55s ease both;
}
.card:nth-child(2) { animation-delay: 0.05s; }
.card:nth-child(3) { animation-delay: 0.1s; }
.card:nth-child(4) { animation-delay: 0.15s; }
.card:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}
.card h3 { margin: 0.4rem 0; }
.card p { color: var(--muted); min-height: 2.8em; }
.badge {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  padding: 0.2rem 0.45rem;
  border-radius: 999px;
  background: #243038;
  color: var(--accent-2);
}
.product {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  padding: 1.5rem;
  animation: rise 0.45s ease both;
}
.price { font-size: 1.8rem; font-weight: 700; margin: 0.8rem 0 1.2rem; }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 1rem; }
.btn {
  appearance: none;
  border: 0;
  border-radius: 999px;
  padding: 0.75rem 1.2rem;
  font-weight: 600;
  cursor: pointer;
  background: var(--accent);
  color: #04201c;
  transition: transform 0.15s ease, filter 0.15s ease;
}
.btn:hover:not(:disabled) { transform: translateY(-1px); filter: brightness(1.05); }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
}
.alert {
  background: #3a1d1d;
  color: #ffd7d7;
  border: 1px solid var(--danger);
  padding: 0.9rem 1rem;
  border-radius: var(--radius);
  margin-bottom: 1rem;
}
.lines { list-style: none; padding: 0; margin: 1rem 0; }
.lines li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--line);
}
.intent-box {
  margin-top: 1rem;
  padding: 1rem;
  background: #12181f;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}
code { color: var(--accent-2); }
h2 { margin-top: 0.5rem; }

@keyframes rise {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
