@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Outfit:wght@400;600;700&display=swap');

:root {
  --bg-dark: #0A0A0E;
  --bg-surface: #14141C;
  --bg-glass: rgba(20, 20, 28, 0.6);
  --primary: #2A5FFF;
  --accent: #00F0FF;
  --text-main: #FFFFFF;
  --text-muted: #A0A0B0;
  --border-color: rgba(255, 255, 255, 0.08);

  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
}

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

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

/* Typography elements */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.1;
  color: var(--text-main);
}

h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1.5rem; letter-spacing: -0.02em; }
p { color: var(--text-muted); font-size: 1.125rem; }

/* Micro-animations */
@keyframes fadeUp {
  0% { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes glowPulse {
  0% { box-shadow: 0 0 15px rgba(42, 95, 255, 0.2); }
  50% { box-shadow: 0 0 30px rgba(42, 95, 255, 0.5); }
  100% { box-shadow: 0 0 15px rgba(42, 95, 255, 0.2); }
}

/* Layout & Sections */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 5%;
}

section {
  padding: 120px 0;
}

/* Header */
header {
  position: fixed;
  top: 0; width: 100%;
  padding: 20px 0;
  background: rgba(10, 10, 14, 0.8);
  backdrop-filter: blur(12px);
  z-index: 1000;
  border-bottom: 1px solid var(--border-color);
  transition: background 0.3s ease;
}
.nav-container {
  max-width: 1280px; margin: 0 auto; padding: 0 5%;
  display: flex; justify-content: space-between; align-items: center;
}
.logo { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 700; letter-spacing: -0.02em; }
.logo span { color: var(--primary); }

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
  animation: glowPulse 3s infinite;
}
.btn-primary:hover {
  background: #1C4DDE;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(42, 95, 255, 0.4);
}
.btn-outline {
  background: transparent;
  color: var(--text-main);
  border: 1px solid var(--border-color);
}
.btn-outline:hover {
  background: var(--bg-surface);
  border-color: var(--text-muted);
}

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
}
.hero::before {
  content: '';
  position: absolute;
  top: 30%; left: 50%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(42,95,255,0.15) 0%, transparent 60%);
  transform: translate(-50%, -50%);
  z-index: -1;
  pointer-events: none;
}
.hero-content {
  max-width: 800px;
  animation: fadeUp 1s ease-out forwards;
}
.hero-content h1 { margin-bottom: 24px; }
.hero-content p { font-size: 1.25rem; margin-bottom: 40px; max-width: 600px; }
.hero-actions { display: flex; gap: 16px; }

/* Bento Grid Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 60px;
}
.card {
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 40px;
  transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}
.card:hover {
  transform: translateY(-5px);
  background: var(--bg-surface);
  border-color: rgba(255,255,255, 0.15);
}
.card-icon {
  width: 48px; height: 48px;
  background: rgba(42, 95, 255, 0.1);
  color: var(--primary);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
}
.card h3 { margin-bottom: 16px; font-size: 1.5rem; }

/* CTA Section */
.cta-section {
  text-align: center;
  background: linear-gradient(180deg, transparent 0%, rgba(42, 95, 255, 0.05) 100%);
  border-top: 1px solid var(--border-color);
  padding: 100px 5%;
}
.cta-section h2 { margin-bottom: 20px;}
.cta-section p { margin: 0 auto 40px; max-width: 600px;}

/* Responsive */
@media (max-width: 768px) {
  section { padding: 80px 0; }
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; text-align: center; }
}
