:root {
  --bg: #0b0d12;
  --panel: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.14);
  --text: #edf2ff;
  --muted: #a6b0c6;
  --accent: #72f6c8;
  --accent2: #6aa8ff;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--text); font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; }
a { color: inherit; text-decoration: none; }
.container { width: min(1100px, 92vw); margin: 0 auto; }

.bg-grid {
  position: fixed; inset: 0; pointer-events: none;
  background:
    radial-gradient(800px 300px at 12% -10%, rgba(114,246,200,.18), transparent 70%),
    radial-gradient(700px 360px at 90% 0%, rgba(106,168,255,.18), transparent 70%),
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: auto, auto, 36px 36px, 36px 36px;
  opacity: .8;
}

.topbar { display: flex; justify-content: space-between; align-items: center; padding: 26px 0 8px; position: sticky; top: 0; backdrop-filter: blur(8px); z-index: 10; }
.brand { font-weight: 700; letter-spacing: .3px; }
.lang-toggle { border: 1px solid var(--line); background: var(--panel); color: var(--text); padding: 8px 14px; border-radius: 999px; cursor: pointer; }

.hero { margin-top: 38px; padding: 38px; }
.eyebrow { color: var(--accent); text-transform: uppercase; letter-spacing: .18em; font-size: .74rem; margin: 0 0 10px; }
h1 { margin: 0; font-size: clamp(2rem, 4.2vw, 3.6rem); line-height: 1.08; letter-spacing: -.02em; }
h1 .grad { background: linear-gradient(90deg, var(--accent), var(--accent2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.subtitle { color: var(--muted); max-width: 760px; font-size: 1.05rem; line-height: 1.7; }
.hero-actions { margin-top: 16px; }
.btn { display: inline-block; padding: 11px 16px; border: 1px solid var(--line); border-radius: 10px; background: rgba(255,255,255,.03); }

.projects { margin-top: 38px; }
.section-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; gap: 12px; flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.filters { display: inline-flex; gap: 8px; }
.filter-btn { border: 1px solid var(--line); background: rgba(255,255,255,.03); color: var(--muted); border-radius: 999px; padding: 7px 12px; cursor: pointer; }
.filter-btn.is-active { color: var(--text); border-color: rgba(114,246,200,.45); box-shadow: 0 0 0 1px rgba(114,246,200,.15) inset; }

.project-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.project { padding: 22px; cursor: pointer; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; position: relative; overflow: hidden; }
.project::before { content: ''; position: absolute; inset: -1px; background: radial-gradient(500px 200px at 0% 0%, rgba(149,79,255,.25), transparent 60%), radial-gradient(500px 200px at 100% 100%, rgba(45,185,255,.22), transparent 60%); opacity: .75; z-index: 0; }
.project > * { position: relative; z-index: 1; }
.project:hover { transform: translateY(-4px); border-color: rgba(114,246,200,.45); box-shadow: 0 16px 38px rgba(0,0,0,.35); }
.project-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.project h3 { margin: 0; font-size: 1.22rem; }
.project p { color: var(--muted); line-height: 1.6; min-height: 52px; }
.status { color: var(--accent); font-size: .82rem; border: 1px solid rgba(114,246,200,.35); border-radius: 999px; padding: 2px 8px; }
.status.inactive { color: #ffd27a; border-color: rgba(255, 210, 122, .45); }
.actions { display: flex; gap: 8px; margin-top: 10px; }
.action { border: 1px solid var(--line); border-radius: 10px; padding: 9px 12px; background: rgba(255,255,255,.02); display: inline-flex; align-items: center; gap: 8px; }
.action i { font-size: 1rem; }
.action.icon { width: 40px; text-align: center; justify-content: center; }

.card { border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.02); }
.glass { backdrop-filter: blur(12px); }
.footer { color: var(--muted); padding: 28px 0 48px; }

.reveal { opacity: 0; transform: translateY(20px); animation: reveal .7s ease forwards; }
.reveal:nth-of-type(2) { animation-delay: .12s; }
.reveal:nth-of-type(3) { animation-delay: .2s; }
@keyframes reveal { to { opacity: 1; transform: none; } }

@media (max-width: 700px) {
  .hero { padding: 24px; }
  .filters { width: 100%; }
  .filter-btn { flex: 1; }
}
