/* UnitedDev - rozcestník. Barvy a rádiusy podle UnitePilot (apps/panel/src/app/globals.css). */
:root {
  --purple-300: #c3a8c6;
  --purple-400: #ad8cb1;
  --purple-500: #98719c;
  --purple-600: #83608a;
  --purple-700: #6d4f73;
  --surface-0: #141217;
  --surface-1: #1b181f;
  --surface-2: #232028;
  --border: #36313d;
  --border-strong: #4a4452;
  --text: #ece9ef;
  --text-muted: #a69fae;
  --accent: var(--purple-600);
  --accent-hover: var(--purple-700);
  --accent-text: var(--purple-300);
  --accent-soft: rgba(152, 113, 156, 0.16);
  --ok: #3fb984;
  --ok-soft: rgba(63, 185, 132, 0.14);
  --warn: #e8973a;
  --warn-soft: rgba(232, 151, 58, 0.14);
  --focus: 0 0 0 2px var(--surface-0), 0 0 0 4px var(--purple-400);
  --radius-md: 10px;
  --radius-lg: 14px;
  --font-sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root {
    --surface-0: #f7f5f8;
    --surface-1: #ffffff;
    --surface-2: #f1eef3;
    --border: #ddd7e0;
    --border-strong: #c2bac7;
    --text: #1d1a21;
    --text-muted: #5f5866;
    --accent-text: var(--purple-700);
    --ok: #1f7a52;
    --warn: #9a5a12;
    color-scheme: light;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--surface-0);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
}
a {
  color: inherit;
}
:focus-visible {
  outline: none;
  box-shadow: var(--focus);
  border-radius: 6px;
}
.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: 16px;
  top: 16px;
  background: var(--surface-1);
  padding: 8px 12px;
  z-index: 10;
}
.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
}
header.top {
  border-bottom: 1px solid var(--border);
}
header.top .wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
}
.brand img {
  width: 28px;
  height: 28px;
}

.hero {
  position: relative;
  padding: 88px 0 64px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -40% -10% auto;
  height: 520px;
  background: radial-gradient(closest-side, var(--accent-soft), transparent);
  pointer-events: none;
}
.hero .wrap {
  position: relative;
}
.eyebrow {
  display: inline-block;
  color: var(--accent-text);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 12px;
}
.hero h1 {
  font-size: clamp(40px, 8vw, 72px);
  line-height: 1.05;
  margin: 0 0 20px;
  letter-spacing: -0.02em;
}
.hero h1 span {
  color: var(--accent-text);
}
.hero p.lead {
  max-width: 640px;
  margin: 0 0 32px;
  color: var(--text-muted);
  font-size: clamp(17px, 2.2vw, 20px);
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: var(--radius-md);
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover {
  background: var(--accent-hover);
}
.btn-ghost {
  border-color: var(--border-strong);
}
.btn-ghost:hover {
  background: var(--surface-2);
}
.btn[aria-disabled="true"] {
  color: var(--text-muted);
  border-color: var(--border);
  cursor: default;
}

section.products {
  padding: 24px 0 88px;
}
section.products h2 {
  font-size: 24px;
  margin: 0 0 20px;
}
.grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
}
.card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  height: 100%;
  padding: 24px;
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color 0.15s ease;
}
.card:hover {
  border-color: var(--border-strong);
}
.card-head {
  display: flex;
  align-items: center;
  gap: 14px;
}
.icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent-text);
}
.icon img {
  width: 36px;
  height: 36px;
}
.card h3 {
  margin: 0;
  font-size: 20px;
}
.kind {
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
}
.card p.desc {
  margin: 0;
  color: var(--text-muted);
  flex: 1;
}
.status {
  align-self: flex-start;
  font-size: 13px;
  font-weight: 600;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-text);
}
.status.live {
  background: var(--ok-soft);
  color: var(--ok);
}
.status.soon {
  background: var(--warn-soft);
  color: var(--warn);
}
.card .btn {
  align-self: flex-start;
}

footer {
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 14px;
}
footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: space-between;
  padding-top: 24px;
  padding-bottom: 32px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}
footer a {
  text-decoration: none;
}
footer a:hover {
  color: var(--text);
}
@media (prefers-reduced-motion: reduce) {
  .card {
    transition: none;
  }
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
