:root {
  /* Color Palette - Dark Bluish Theme */
  --bg-color: #050a14;
  --surface: #0a1122;
  --surface-light: #151e32;
  --surface-glass: rgba(21, 30, 50, 0.6);
  --border-color: rgba(60, 130, 246, 0.2);
  --border-highlight: rgba(60, 130, 246, 0.5);
  --accent: #3b82f6; /* Cyan/Blue */
  --accent-hover: #60a5fa;
  
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  /* Typography */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  
  /* Geometry */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
}

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

body {
  font-family: var(--font-family);
  background-color: var(--bg-color);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  padding-top: 100px; /* Prevent fixed navbar from overlapping content */
}

/* Glassmorphism Utilities */
.glass {
  background: var(--surface-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.glass-card {
  background: var(--surface-glass);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2rem;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.glass-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-highlight);
}

/* Typography Utilities */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 { font-size: 3.5rem; letter-spacing: -0.05em; }
h2 { font-size: 2.5rem; letter-spacing: -0.03em; }
h3 { font-size: 1.5rem; }

p { margin-bottom: 1rem; color: var(--text-secondary); }

.text-gradient {
  background: linear-gradient(135deg, #fff, #94a3b8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-accent { color: var(--accent); }

/* Layout Utilities */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
}

.section { padding: 6rem 0; }
.text-center { text-align: center; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
  gap: 0.5rem;
  font-size: 1rem;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 14px rgba(59, 130, 246, 0.4);
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(96, 165, 250, 0.5);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

.btn-outline:hover {
  border-color: var(--border-highlight);
  background: rgba(255, 255, 255, 0.05);
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem 0;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 2rem;
  border-radius: 100px; /* Pill shape */
}

.logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

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

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

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

/* Footer */
footer {
  margin-top: auto;
  padding: 0.75rem 0;
  text-align: center;
}

footer p {
  font-size: 0.85rem;
  margin: 0;
}

footer a {
  color: var(--accent);
  text-decoration: none;
}
footer a:hover { text-decoration: underline; }

/* Grid */
.grid {
  display: grid;
  gap: 2rem;
}

.grid-3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

/* Feature Icon */
.feature-icon {
  width: 48px;
  height: 48px;
  background: rgba(59, 130, 246, 0.1);
  color: var(--accent);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.feature-icon svg {
  width: 24px;
  height: 24px;
}

/* Ambient Background Animation */
.ambient-ball {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 40vw;
  height: 40vw;
  background: radial-gradient(circle, rgba(59,130,246,0.15) 0%, rgba(59,130,246,0) 70%);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
  pointer-events: none;
  filter: blur(80px);
  animation: ambientFloat 15s ease-in-out infinite alternate;
}

@keyframes ambientFloat {
  0% { transform: translate(-50%, -50%) scale(1); background: radial-gradient(circle, rgba(59,130,246,0.15) 0%, rgba(59,130,246,0) 70%); }
  50% { transform: translate(-30%, -60%) scale(1.2); background: radial-gradient(circle, rgba(6,182,212,0.15) 0%, rgba(6,182,212,0) 70%); }
  100% { transform: translate(-70%, -40%) scale(0.9); background: radial-gradient(circle, rgba(99,102,241,0.15) 0%, rgba(99,102,241,0) 70%); }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  .section { padding: 4rem 0; }
  .btn { width: 100%; }
}

/* Mobile Navigation */
.hamburger {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
  color: var(--text-primary);
  padding: 0.5rem;
}

@media (max-width: 768px) {
  .hamburger {
    display: block;
  }
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--surface);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 1rem;
    gap: 1rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    z-index: 50;
  }
  .nav-links.active {
    display: flex;
  }
  .nav-container {
    position: relative;
  }
}
