/*
Theme Name: Xoryx
Author: Xoryx
Version: 1.0
*/

:root {
  color-scheme: dark;
  --bg: #0b0c0f;
  --bg-2: #11131a;
  --panel: #141722;
  --panel-2: #1b2030;
  --text: #e6e7eb;
  --muted: #9aa0ad;
  --accent: #9ca3af;
  --accent-2: #c0c7d2;
  --ring: rgba(255, 255, 255, 0.12);
  --shadow: rgba(0, 0, 0, 0.45);
  --glow: rgba(255, 255, 255, 0.08);
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: "Space Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--text);
  background: radial-gradient(1000px 600px at 15% 20%, #1a1d27 0%, transparent 60%),
    radial-gradient(900px 500px at 80% 10%, #171b24 0%, transparent 55%),
    linear-gradient(180deg, var(--bg), var(--bg-2));
  display: flex;
  align-items: stretch;
}

.noise {
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.08'/%3E%3C/svg%3E");
  pointer-events: none;
  mix-blend-mode: soft-light;
  opacity: 0.5;
}

.page {
  width: min(1100px, 92vw);
  margin: 0 auto;
  padding: 36px 0 64px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
}

.brand .logo {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, #2a2f3f 0%, #11131a 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  place-items: center;
  box-shadow: 0 10px 30px var(--shadow);
}

.brand .logo span {
  font-weight: 700;
  font-size: 14px;
  color: var(--accent-2);
}

.nav-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.btn {
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: transparent;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: all 0.25s ease;
  box-shadow: 0 10px 20px transparent;
}

.btn:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 12px 24px var(--shadow);
}

.btn.primary {
  background: linear-gradient(120deg, #212734, #0f1219);
  border-color: rgba(255, 255, 255, 0.2);
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  align-items: center;
}

.hero-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 36px;
  box-shadow: 0 30px 60px var(--shadow);
  backdrop-filter: blur(6px);
}

.hero h1 {
  font-size: clamp(2.2rem, 2.6vw + 1.4rem, 3.4rem);
  margin: 0 0 12px;
}

.hero p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.hero .cta {
  display: flex;
  gap: 14px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.trust {
  display: grid;
  gap: 16px;
}

.trust .pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  color: var(--accent-2);
  font-size: 0.95rem;
}

.grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.tile {
  background: var(--panel-2);
  border-radius: 18px;
  padding: 20px 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.tile h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
}

.tile p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
  font-size: 0.98rem;
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 18px;
}

.stat {
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.stat .value {
  font-size: 1.6rem;
  font-weight: 700;
}

.stat .label {
  color: var(--muted);
  font-size: 0.9rem;
}

footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 0.9rem;
}

.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  margin: 12px 0;
}

@media (max-width: 720px) {
  header {
    flex-direction: column;
    align-items: flex-start;
  }
  .nav-actions {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }
}
