:root {
  --bg: #0a0a12;
  --bg-soft: #10101c;
  --card: #131322;
  --border: rgba(255, 255, 255, 0.08);
  --text: #e8e8f0;
  --text-muted: #9a9ab0;
  --accent: #7c5cff;
  --accent-2: #22d3ee;
  --radius: 16px;
  --font-head: "Space Grotesk", sans-serif;
  --font-body: "Inter", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  background: rgba(10, 10, 18, 0.75);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.logo {
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.logo span {
  color: var(--accent);
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--text);
}

.lang-switch {
  display: flex;
  gap: 0.25rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.25rem;
}

.lang-switch button {
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s;
}

.lang-switch button.active {
  background: var(--accent);
  color: #fff;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 2rem 6rem;
}

.hero-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(600px 300px at 20% 20%, rgba(124, 92, 255, 0.18), transparent 70%),
    radial-gradient(500px 300px at 80% 70%, rgba(34, 211, 238, 0.12), transparent 70%);
}

.badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg-soft);
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-family: var(--font-head);
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  background: linear-gradient(120deg, #ffffff 30%, #b7a5ff 60%, var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.5rem;
}

.tagline {
  font-family: var(--font-head);
  font-size: clamp(1.2rem, 3vw, 1.6rem);
  color: var(--text);
  margin-bottom: 1rem;
}

.hero-sub {
  max-width: 560px;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.btn {
  display: inline-block;
  padding: 0.8rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s;
  font-family: var(--font-body);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 30px rgba(124, 92, 255, 0.35);
}

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

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

.btn-ghost:hover {
  border-color: var(--text-muted);
  background: var(--bg-soft);
}

section {
  padding: 6rem 2rem;
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  text-align: center;
  margin-bottom: 0.75rem;
}

.section-sub {
  text-align: center;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 3.5rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: transform 0.25s, border-color 0.25s;
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(124, 92, 255, 0.45);
}

.card-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(124, 92, 255, 0.14);
  color: var(--accent-2);
  margin-bottom: 1.25rem;
}

.card-icon svg {
  width: 26px;
  height: 26px;
}

.card h3 {
  font-family: var(--font-head);
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}

.card ul li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.5rem;
  color: var(--text);
  font-size: 0.9rem;
}

.card ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}

.about {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.about-content {
  max-width: 700px;
  margin: 0 auto 3.5rem;
  text-align: center;
}

.about-content p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.about-pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.pillar {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
}

.pillar-num {
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.1em;
}

.pillar h4 {
  font-family: var(--font-head);
  font-size: 1.1rem;
  margin: 0.5rem 0;
}

.pillar p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  max-width: 480px;
  margin: 0 auto;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 3rem 2rem;
}

.contact-email {
  font-family: var(--font-head);
  font-size: clamp(1.2rem, 4vw, 1.7rem);
  font-weight: 600;
  color: var(--accent-2);
  transition: opacity 0.2s;
}

.contact-email:hover {
  opacity: 0.8;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  padding: 2rem;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.85rem;
}

.legal {
  font-size: 0.8rem;
  opacity: 0.7;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 640px) {
  .nav {
    padding: 0.9rem 1.25rem;
  }

  .nav-links {
    gap: 1rem;
  }

  .footer {
    flex-direction: column;
    text-align: center;
  }
}
