*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:           #06080c;
  --surface:      #0d1117;
  --card:         #111820;
  --border:       #1e2a38;
  --accent:       #1f6fff;
  --accent-hover: #4d8fff;
  --text:         #e8edf2;
  --muted:        #6b7a8d;
  --tag-bg:       #1a2a3a;
  --tag-color:    #5b9cf6;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }

/* Header */
.site-header {
  border-bottom: 1px solid var(--border);
  padding: 0 1.5rem;
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand strong { color: var(--text); }
.brand span   { color: var(--muted); margin-left: 0.15em; }

.header-badge {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.25rem 0.75rem;
}

/* Hero */
.hero {
  max-width: 680px;
  margin: 0 auto;
  padding: 5rem 1.5rem 3rem;
  text-align: center;
}

.eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 1.25rem;
}

.hero-sub {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
}

/* Demo grid */
.demos {
  padding: 2rem 1.5rem 5rem;
}

.demo-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.demo-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s;
}

.demo-card:not(.demo-card-soon):hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.demo-card-soon { opacity: 0.5; pointer-events: none; }

.demo-thumb {
  height: 176px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.demo-thumb-titos {
  background: linear-gradient(135deg, #0f0800 0%, #1e1000 60%, #0a0500 100%);
  border-bottom: 2px solid rgba(249,115,22,0.25);
}

.demo-thumb-soon { background: var(--surface); }

.thumb-logo {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(249,115,22,0.6);
}

.thumb-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
}

.demo-card-body {
  padding: 1.25rem 1.5rem 1.5rem;
}

.tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--tag-color);
  background: var(--tag-bg);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  margin-bottom: 0.75rem;
}

.demo-card-body h2 {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
}

.demo-card-body p {
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.btn-demo {
  display: inline-flex;
  align-items: center;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  transition: background 0.15s;
}

.btn-demo:hover { background: var(--accent-hover); }

.btn-soon {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--muted);
  border: 1px solid var(--border);
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding: 1.5rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
}

.footer a { color: var(--accent); }
.footer a:hover { color: var(--accent-hover); }
