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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 4.5rem;
}

body {
  background-color: #05050a;
  background-image:
    radial-gradient(40rem 30rem at 85% -10%, rgba(139, 92, 246, 0.18), transparent 60%),
    radial-gradient(40rem 30rem at -10% 30%, rgba(79, 140, 255, 0.12), transparent 60%);
  background-attachment: fixed;
  color: #ecebf5;
  font-family: system-ui, sans-serif;
  line-height: 1.6;
}

/* Navigation */
header {
  position: sticky;
  top: 0;
  z-index: 10;
  background-color: rgba(5, 5, 10, 0.75);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  max-width: 60rem;
  margin: 0 auto;
  padding: 0.8rem 1rem;
}

.brand {
  font-weight: 700;
  letter-spacing: 0.15em;
  color: #ecebf5;
  text-decoration: none;
}

nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.2rem;
  list-style: none;
}

nav ul a {
  color: #a3a2b8;
  text-decoration: none;
  transition: color 0.2s;
}

nav ul a:hover {
  color: #4f8cff;
}

/* Layout */
main {
  max-width: 60rem;
  margin: 0 auto;
  padding: 2rem 1rem;
}

section {
  margin-top: 4rem;
}

h2 {
  font-size: 1.9rem;
  margin-bottom: 0.8rem;
}

section p {
  max-width: 60ch;
  margin-bottom: 0.8rem;
  color: #c9c8da;
}

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  margin-top: 1rem;
}

h1 {
  font-size: clamp(2.2rem, 7vw, 3.4rem);
  line-height: 1.2;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #4f8cff, #8b5cf6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.logo {
  width: 100%;
  height: auto;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 40%, transparent 72%);
  mask-image: radial-gradient(ellipse at center, #000 40%, transparent 72%);
}

@media (min-width: 800px) {
  .hero {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.8rem 1.4rem;
  border: 1px solid #8b5cf6;
  border-radius: 999px;
  color: #ecebf5;
  text-decoration: none;
  margin-top: 1rem;
  margin-right: 0.5rem;
  transition: background-color 0.2s, transform 0.2s;
}

.btn:hover {
  background-color: #8b5cf6;
  transform: translateY(-2px);
}

.btn.primary {
  background: linear-gradient(135deg, #4f8cff, #8b5cf6);
  border-color: transparent;
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.card {
  padding: 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  background-color: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  transition: transform 0.2s, border-color 0.2s;
}

.card:hover {
  transform: translateY(-4px);
  border-color: #4f8cff;
}

.card svg {
  width: 3rem;
  height: 3rem;
  margin-bottom: 0.8rem;
}

.card p {
  margin-bottom: 0;
  color: #a3a2b8;
}

a.card {
  display: block;
  color: inherit;
  text-decoration: none;
}

/* Projects placeholder */
.placeholder {
  padding: 2.5rem 1.5rem;
  text-align: center;
  border: 1px dashed rgba(255, 255, 255, 0.2);
  border-radius: 1rem;
}

.placeholder p {
  margin: 0 auto;
  color: #ecebf5;
}

/* Timeline */
.timeline {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0 0.5rem;
  border-left: 2px solid rgba(255, 255, 255, 0.1);
}

.timeline li {
  position: relative;
  padding: 0 0 1.5rem 1.5rem;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: -0.6rem;
  top: 0.4rem;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background-color: #05050a;
  border: 2px solid #8b5cf6;
}

.timeline li.done::before {
  background-color: #4f8cff;
  border-color: #4f8cff;
}

.timeline p {
  color: #a3a2b8;
}

/* Support section */
.support {
  padding: 2.5rem 1.5rem;
  border: 1px solid rgba(139, 92, 246, 0.4);
  border-radius: 1.25rem;
  background: linear-gradient(135deg, rgba(79, 140, 255, 0.14), rgba(139, 92, 246, 0.16));
}

.support h2 {
  font-size: 2.2rem;
}

/* Footer */
footer {
  margin-top: 4rem;
  padding: 2rem 1rem;
  text-align: center;
  color: #a3a2b8;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.partner {
  margin-top: 1.5rem;
}