:root {
  --bg: #0b0f1e;
  --bg-alt: #0e1428;
  --panel: #131a33;
  --line: #232c4d;
  --text: #e8ecf8;
  --muted: #9aa5c8;
  --grad: linear-gradient(90deg, #6366f1, #38bdf8);
  --radius: 14px;
}

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

html { scroll-behavior: smooth; }

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

img { max-width: 100%; display: block; }

a { color: #7dd3fc; text-decoration: none; }
a:hover { text-decoration: underline; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px min(6vw, 48px);
  background: rgba(11, 15, 30, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--text);
}
.brand:hover { text-decoration: none; }
.brand img { width: 30px; height: 35px; object-fit: contain; }

.site-nav { display: flex; align-items: center; gap: 22px; font-size: 0.95rem; }
.site-nav a { color: var(--muted); font-weight: 500; }
.site-nav a:hover { color: var(--text); text-decoration: none; }
.nav-cta {
  color: var(--text) !important;
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 7px 16px;
  border-radius: 999px;
}

.hero {
  padding: min(14vh, 120px) 6vw 90px;
  text-align: center;
  background:
    radial-gradient(60% 50% at 50% 0%, rgba(99, 102, 241, 0.25), transparent),
    radial-gradient(40% 40% at 80% 10%, rgba(56, 189, 248, 0.12), transparent);
}

.hero-avatar {
  width: 150px;
  height: 150px;
  border-radius: 22px;
  margin: 0 auto 26px;
  border: 1px solid var(--line);
  box-shadow: 0 0 40px rgba(99, 102, 241, 0.35);
  object-fit: cover;
}

.hero h1 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 800; letter-spacing: -0.02em; }
.hero-inner { max-width: 820px; margin: 0 auto; }

.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lede { color: var(--muted); font-size: 1.1rem; max-width: 640px; margin: 18px auto 0; }

.hero-actions { display: flex; gap: 14px; justify-content: center; margin-top: 34px; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  border: 1px solid transparent;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }

.btn-primary {
  background: var(--grad);
  color: #0b1022;
}

.btn-ghost {
  border-color: var(--line);
  color: var(--text);
  background: var(--panel);
}

.btn-small {
  padding: 8px 18px;
  font-size: 0.88rem;
  border-color: var(--line);
  background: var(--bg-alt);
  color: var(--text);
}

.section { padding: 80px 6vw; }
.section-alt { background: var(--bg-alt); }
.page-top { padding-top: 64px; }

.section-title { font-size: clamp(1.5rem, 3.2vw, 2.2rem); font-weight: 800; letter-spacing: -0.01em; }
.section-sub { color: var(--muted); margin-top: 8px; max-width: 640px; }

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

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.card h3 { font-size: 1.06rem; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 0.94rem; }

.app-card { max-width: 560px; }
.card-actions { display: flex; gap: 10px; margin-top: 16px; }

.contact-row { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.fact-list { list-style: none; }
.fact-list li { padding: 8px 0; border-bottom: 1px dashed var(--line); color: var(--text); font-size: 0.94rem; }
.fact-list li:last-child { border-bottom: none; }
.fact-list li span { display: inline-block; min-width: 110px; color: var(--muted); font-weight: 600; }

.big-404 { font-size: 6rem; font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.notfound { text-align: center; }
.notfound .contact-row { justify-content: center; }

.site-footer { border-top: 1px solid var(--line); background: var(--bg-alt); padding: 46px 6vw; }
.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
}
.footer-logo { width: 38px; height: auto; object-fit: contain; margin-bottom: 12px; }
.footer-inner p { color: var(--muted); font-size: 0.9rem; }
.footer-meta p { margin-bottom: 6px; }

@media (max-width: 720px) {
  .site-header { flex-wrap: wrap; }
  .site-nav { gap: 14px; flex-wrap: wrap; }
  .footer-inner { grid-template-columns: 1fr; }
}
