
:root {
  --primary: #8a63ff;
  --primary-light: #a07eff;
  --primary-dark: #7049e6;
  --text: #f0f0f0;
  --text-light: #c9c9c9;
  --background: #0a0a0a;
  --surface: #121212;
  --border: #242424;
--shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --rounded-sm: 0.25rem;
  --rounded-md: 0.5rem;
  --rounded-lg: 0.75rem;
  --rounded-xl: 1rem;
  --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

* {
  box-sizing: border-box;
}
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.5;
  color: var(--text);
  background-color: var(--background);
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Force dark background on all sections */
section {
  background-color: var(--background) !important;
  color: var(--text) !important;
}

/* Ensure all text sections use the correct colors */
h1, h2, h3, h4, h5, h6 {
  color: var(--text) !important;
}

p {
  color: var(--text-light) !important;
}

.card {
  background-color: var(--surface) !important;
  color: var(--text) !important;
}

.card p {
  color: var(--text-light) !important;
}

/* Fix Articles section background and text */
.articles-section {
  background-color: var(--surface) !important;
  color: var(--text) !important;
}

.magic-card {
  background-color: var(--surface) !important;
  border: 1px solid var(--border) !important;
}

.performance-section {
  background-color: transparent !important;
}
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.25;
  margin-top: 0;
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  color: var(--text-light);
  margin-top: 0;
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-dark);
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 6rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: var(--rounded-md);
  font-weight: 500;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}
.btn-primary {
  background-color: var(--primary);
  color: white;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(138, 99, 255, 0.3);
}
.btn-primary:hover {
  background-color: var(--primary-dark);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary);
  border: 1px solid var(--primary);
}

.btn-outline:hover {
  background-color: rgba(37, 99, 235, 0.05);
}

.card {
  background-color: var(--surface);
  border-radius: var(--rounded-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: var(--transition);
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
/* Navigation styles are now in the web component */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(rgba(10, 10, 10, 0.9), rgba(18, 18, 18, 0.7)), 
              url('https://images.unsplash.com/photo-1531058020387-3be344556be6?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
background-size: cover;
  background-position: center;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, transparent 60%, rgba(15, 15, 26, 0.9) 100%);
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

.magic-float {
  animation: float 6s ease-in-out infinite;
}

.magic-glow {
  text-shadow: 0 0 10px rgba(155, 123, 251, 0.5);
}

.magic-transition {
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.magic-card {
  background: rgba(18, 18, 18, 0.9);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(138, 99, 255, 0.2) !important;
  color: var(--text) !important;
}
.magic-card h3,
.magic-card p {
  color: var(--text-light) !important;
}

.magic-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(155, 123, 251, 0.2);
  border-color: var(--primary);
}

/* Ensure smooth scrolling */
html {
  scroll-behavior: smooth;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

@media (max-width: 768px) {
  .section {
    padding: 4rem 0;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
}