:root {
  --primary: #00d2ff;
  --secondary: #9d50bb;
  --bg: #0a0e14;
  --card-bg: rgba(255, 255, 255, 0.05);
  --text: #e0e0e0;
  --text-dim: #99aab5;
  --accent: #ff007a;
  --transition: 0.3s ease;
}

html {
  scroll-behavior: smooth;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Background Animation */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 20% 30%, rgba(0, 210, 255, 0.05) 0%, transparent 50%),
              radial-gradient(circle at 80% 70%, rgba(157, 80, 187, 0.05) 0%, transparent 50%);
  z-index: -1;
}

header {
  padding: 1.5rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  background: linear-gradient(45deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.5px;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

nav a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  font-size: 0.9rem;
  transition: var(--transition);
  opacity: 0.7;
}

nav a:hover {
  opacity: 1;
  color: var(--primary);
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 4rem 5%;
}

.hero {
  text-align: center;
  padding: 6rem 5%;
}

h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  line-height: 1.1;
  background: linear-gradient(to right, #fff, #aaa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-dim);
  max-width: 600px;
  margin: 0 auto 2rem;
}

.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  background: linear-gradient(45deg, var(--primary), var(--secondary));
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(0, 210, 255, 0.3);
  transition: var(--transition);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 210, 255, 0.5);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.card {
  background: var(--card-bg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2rem;
  border-radius: 20px;
  transition: var(--transition);
  cursor: pointer;
}

.card:hover {
  border-color: var(--primary);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-5px);
}

.card h3 {
  margin-bottom: 1rem;
  color: var(--primary);
}

footer {
  text-align: center;
  padding: 4rem 5%;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-dim);
  font-size: 0.85rem;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate {
  animation: fadeIn 0.8s ease forwards;
}

@media (max-width: 768px) {
  h1 { font-size: 2.5rem; }
  nav ul { display: none; } /* Simplified for mobile */
}
