:root {
  --bg-dark: #000000;
  --bg-zinc: #09090b;
  --accent-purple: #a855f7;
  --text-main: #ffffff;
  --text-dim: #a1a1aa;
  --border-color: rgba(255, 255, 255, 0.08);
  --selection: rgba(168, 85, 247, 0.3);
}

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

::selection {
  background: var(--selection);
  color: #fff;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: 'Inter', -apple-system, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* -------------------
   HEADER
------------------- */
.header {
  height: 80px;
  display: flex;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

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

.logo {
  width: 32px;
  height: 32px;
  border-radius: 6px;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-text .main {
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: 1.1rem;
  color: #fff;
}

.brand-text .sub {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  color: var(--accent-purple);
  font-weight: 600;
  letter-spacing: 0.1em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: #fff;
}

.nav-link-btn {
  background: #fff;
  color: #000;
  padding: 8px 20px;
  border-radius: 100px;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  transition: transform 0.2s ease;
}

.nav-link-btn:hover {
  transform: scale(1.05);
}

/* -------------------
   HERO
------------------- */
.hero {
  padding: 200px 0 100px;
  text-align: center;
  position: relative;
}

.hero::after {
  content: '';
  position: absolute;
  top: 100px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.1) 0%, transparent 70%);
  z-index: -1;
}

.badge {
  display: inline-block;
  background: rgba(168, 85, 247, 0.1);
  border: 1px solid rgba(168, 85, 247, 0.2);
  color: var(--accent-purple);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
  margin-bottom: 24px;
}

.gradient {
  background: linear-gradient(180deg, #fff 0%, #a1a1aa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-dim);
  max-width: 700px;
  margin: 0 auto 48px;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.btn {
  padding: 14px 32px;
  border-radius: 100px;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.2s ease;
}

.btn-ai {
  background: var(--accent-purple);
  color: #fff;
}

.btn-ai:hover {
  box-shadow: 0 0 30px rgba(168, 85, 247, 0.4);
  transform: translateY(-2px);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  color: #fff;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* -------------------
   PROJECTS
------------------- */
.section {
  padding: 120px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 80px;
}

.section-title {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: 16px;
}

.section-desc {
  color: var(--text-dim);
  font-size: 1.1rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 32px;
}

.project-card {
  background: var(--bg-zinc);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 48px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.project-card:hover {
  border-color: var(--accent-purple);
  transform: translateY(-8px);
}

.project-card h3 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.project-card p {
  color: var(--text-dim);
  margin-bottom: 32px;
  font-size: 1rem;
  line-height: 1.6;
}

.card-features {
  list-style: none;
}

.card-features li {
  font-size: 0.9rem;
  color: var(--text-dim);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.card-features li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--accent-purple);
  border-radius: 50%;
}

/* -------------------
   MISSION
------------------- */
.glass-box {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.05) 0%, rgba(9, 9, 11, 0.8) 100%);
  border: 1px solid var(--border-color);
  padding: 80px;
  border-radius: 40px;
  text-align: center;
}

.glass-box h2 {
  font-size: 2.5rem;
  margin-bottom: 24px;
}

.glass-box p {
  max-width: 800px;
  margin: 0 auto;
  color: var(--text-dim);
  font-size: 1.25rem;
}

/* -------------------
   FOOTER
------------------- */
.footer {
  padding: 80px 0 40px;
  border-top: 1px solid var(--border-color);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-logo {
  width: 24px;
  height: 24px;
  margin-bottom: 16px;
}

.footer-brand p {
  color: var(--text-dim);
  font-size: 0.9rem;
}

.footer-info p {
  color: var(--text-muted);
  font-size: 0.85rem;
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .section-title { font-size: 2.5rem; }
  .project-card { padding: 32px; }
  .footer-grid { flex-direction: column; text-align: center; gap: 32px; }
}
