:root {
  --bg-dark: #090a0f;
  --bg-panel: rgba(20, 24, 39, 0.4);
  --border-glass: rgba(255, 255, 255, 0.06);
  --text-main: #f0f4f8;
  --text-muted: #9aa5b1;
  --accent-blue: #3a8bfd;
  --accent-purple: #8b5cf6;
  --accent-gradient: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-purple) 100%);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Inter', Arial, sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-main);
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
}

h1, h2, h3, h4, h5, h6, .logo {
  font-family: 'Outfit', sans-serif;
}

/* Background Animated Blobs */
.blob {
  position: absolute;
  filter: blur(90px);
  z-index: -2;
  border-radius: 50%;
  animation: float 12s infinite ease-in-out alternate;
  opacity: 0.6;
}

.blob-1 {
  width: 600px;
  height: 600px;
  background: rgba(58, 139, 253, 0.15);
  top: -150px;
  left: -200px;
}

.blob-2 {
  width: 500px;
  height: 500px;
  background: rgba(139, 92, 246, 0.15);
  bottom: -100px;
  right: -150px;
  animation-delay: -6s;
}

@keyframes float {
  0% { transform: translateY(0) scale(1); }
  100% { transform: translateY(40px) scale(1.1); }
}

.glass-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at center, transparent 0%, rgba(9, 10, 15, 0.8) 100%);
  z-index: -1;
  pointer-events: none;
}

/* Header & Nav */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(9, 10, 15, 0.5);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-glass);
  padding: 1rem 0;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.logo {
  font-size: 1.8rem;
  font-weight: 800;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.5px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2.5rem;
  margin: 0;
  padding: 0;
  align-items: center;
}

nav a {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.3s ease, transform 0.2s ease;
  position: relative;
}

nav a:hover {
  color: var(--text-main);
  transform: translateY(-1px);
}

nav ul li:last-child a {
  background: var(--bg-panel);
  border: 1px solid var(--border-glass);
  padding: 0.6rem 1.4rem;
  border-radius: 8px;
  color: var(--text-main);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

nav ul li:last-child a:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 8rem 2rem 5rem 2rem;
  max-width: 800px;
  margin: 0 auto;
  animation: fadeIn 1s ease-out forwards;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); filter: blur(10px); }
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}

.hero h1 {
  font-size: 4.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  letter-spacing: -1.5px;
  background: linear-gradient(135deg, #ffffff 30%, #a5b4fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 3rem;
  line-height: 1.7;
}

#getStartedBtn {
  background: var(--accent-gradient);
  color: #fff;
  border: none;
  padding: 1.1rem 2.8rem;
  border-radius: 50px;
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

#getStartedBtn::after {
  content: '';
  position: absolute;
  top: 0; left: -100%; width: 50%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
  transition: left 0.6s ease;
}

#getStartedBtn:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 30px rgba(139, 92, 246, 0.6);
}

#getStartedBtn:hover::after {
  left: 100%;
}

/* Features Section */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
  max-width: 1150px;
  margin: 4rem auto;
  padding: 0 2rem;
}

.feature-card {
  background: var(--bg-panel);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  border-radius: 24px;
  padding: 3rem 2rem;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.feature-card:hover {
  transform: translateY(-12px);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
  background: rgba(255, 255, 255, 0.03);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-card h2 {
  color: var(--text-main);
  font-size: 1.6rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.feature-card p {
  color: var(--text-muted);
  line-height: 1.6;
  font-size: 1.05rem;
}

/* Footer */
footer {
  text-align: center;
  padding: 3rem 2rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  border-top: 1px solid var(--border-glass);
  margin-top: 8rem;
  background: rgba(9, 10, 15, 0.8);
}

@media (max-width: 768px) {
  .hero h1 { font-size: 3rem; }
  .hero p { font-size: 1.1rem; }
  nav ul { display: none; }
}
