:root {
  --bg: #0b1020;
  --panel: rgba(255, 255, 255, 0.06);
  --panel2: rgba(255, 255, 255, 0.09);
  --text: rgba(255, 255, 255, 0.92);
  --muted: rgba(255, 255, 255, 0.68);
  --border: rgba(255, 255, 255, 0.12);
  --accent: #7c5cff;
  --accent2: #22c55e;

  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  --radius: 16px;
}

:root[data-theme="light"] {
  --bg: #f7f7fb;
  --panel: rgba(0, 0, 0, 0.04);
  --panel2: rgba(0, 0, 0, 0.06);
  --text: rgba(0, 0, 0, 0.88);
  --muted: rgba(0, 0, 0, 0.62);
  --border: rgba(0, 0, 0, 0.12);
  --accent: #4f46e5;
  --accent2: #16a34a;

  --shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

* { box-sizing: border-box; }
html, body { height: 100%; }

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text);
  background:
    radial-gradient(800px 500px at 20% -10%, rgba(124, 92, 255, 0.35), transparent 60%),
    radial-gradient(700px 400px at 110% 0%, rgba(34, 197, 94, 0.25), transparent 60%),
    var(--bg);
  line-height: 1.5;
}

.container {
  width: min(1050px, calc(100% - 40px));
  margin: 0 auto;
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
  gap: 18px;
}

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

.logo {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  display: grid;
  place-items: center;
  font-weight: 800;
  color: white;
  box-shadow: var(--shadow);
}

.name { font-weight: 700; }
.tagline { font-size: 0.92rem; color: var(--muted); margin-top: 2px; }

.nav {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 10px;
}
.nav a:hover {
  color: var(--text);
  background: var(--panel);
}

.hero { padding: 26px 0 10px; }
.hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 10px 0 10px;
  letter-spacing: -0.02em;
}
.accent { color: var(--accent); }

.muted { color: var(--muted); }

.heroActions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 18px 0 16px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, var(--panel2), var(--panel));
  color: var(--text);
  text-decoration: none;
  box-shadow: var(--shadow);
  cursor: pointer;
}
.button:hover { border-color: rgba(255,255,255,0.22); }
.button.secondary {
  background: transparent;
  box-shadow: none;
}
.button.small { padding: 8px 10px; box-shadow: none; }

.section { padding: 22px 0; }
.section h2 { margin: 0 0 12px; letter-spacing: -0.01em; }

.card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--panel2), var(--panel));
  padding: 16px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}
.statNumber { font-size: 1.4rem; font-weight: 750; }
.statLabel { font-size: 0.9rem; color: var(--muted); margin-top: 4px; }

.chips { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.chip {
  border: 1px solid var(--border);
  color: var(--muted);
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.9rem;
  background: rgba(0,0,0,0.05);
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.project h3 { margin: 0 0 6px; }
.row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 10px; }

.link {
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.3);
}
.link:hover { color: var(--accent); border-bottom-color: var(--accent); }

.form { display: grid; gap: 12px; margin-top: 10px; }
label { display: grid; gap: 6px; color: var(--muted); font-size: 0.92rem; }
input, textarea {
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(0,0,0,0.08);
  color: var(--text);
  outline: none;
}
:root[data-theme="light"] input,
:root[data-theme="light"] textarea { background: rgba(255,255,255,0.8); }

.footer {
  padding: 18px 0 32px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.dot { opacity: 0.5; }

@media (max-width: 900px) {
  .grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .header { flex-direction: column; align-items: flex-start; }
  .nav { justify-content: flex-start; }
}
