:root {
  /* Black and white palette */
  --primary-gradient: linear-gradient(135deg, #111111 0%, #333333 50%, #555555 100%);
  --secondary-gradient: linear-gradient(135deg, #222222 0%, #444444 100%);
  --dark-gradient: linear-gradient(135deg, #111111 0%, #0a0a0a 100%);

  /* Core colors */
  --primary-color: #111111;
  --primary-dark: #000000;
  --primary-light: #333333;
  --secondary-color: #ffffff;
  --accent-color: #555555;

  /* Highlight color */
  --highlight-color: #7c3aed;
  --highlight-dark: #6d28d9;
  --highlight-light: #8b5cf6;
  --highlight-gradient: linear-gradient(135deg, #7c3aed 0%, #8b5cf6 50%, #a78bfa 100%);

  /* Text colors */
  --text-dark: #0a0a0a;
  --text-medium: #333333;
  --text-light: #666666;

  /* Background colors */
  --bg-white: #ffffff;
  --bg-light: #f5f5f5;
  --bg-cream: #fafafa;

  /* Glassmorphism */
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(0, 0, 0, 0.1);

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
  --shadow-glow: 0 0 40px rgba(0, 0, 0, 0.15);
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.08);
  --shadow-card-hover: 0 20px 40px rgba(0, 0, 0, 0.15);

  /* Border radius */
  --radius-sm: 0.5rem;
  --radius: 1rem;
  --radius-lg: 1.25rem;
  --radius-xl: 2rem;

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition: 0.3s ease;
  --transition-smooth: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

::selection {
  background: rgba(0, 0, 0, 0.15);
  color: var(--text-dark);
}

body {
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  line-height: 1.7;
  color: var(--text-dark);
  background-color: var(--bg-white);
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Space Grotesk', sans-serif;
  line-height: 1.2;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: var(--text-dark);
  letter-spacing: -0.03em;
}

h1 {
  font-size: 4.5rem;
  font-weight: 700;
}

h2 {
  font-size: 3rem;
}

h3 {
  font-size: 1.75rem;
}

p {
  margin-bottom: 1.25rem;
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--text-medium);
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: all var(--transition);
}

a:hover {
  color: var(--primary-dark);
}

ul {
  margin-bottom: 1rem;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2.5rem;
}

.lead {
  font-size: 1.5rem;
  color: var(--text-light);
  margin-bottom: 2.5rem;
  font-weight: 400;
}

/* Gradient text */
.gradient-text {
  background: var(--highlight-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Primary button */
.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background: var(--primary-gradient);
  color: white;
  padding: 1.125rem 2.75rem;
  border-radius: 100px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 1.125rem;
  letter-spacing: -0.01em;
  transition: all var(--transition-smooth);
  border: none;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  position: relative;
  overflow: hidden;
}

.cta-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}

.cta-button:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.35);
  color: white;
}

.cta-button:hover::before {
  left: 100%;
}

.cta-button span {
  position: relative;
  z-index: 1;
}

/* Secondary button */
.cta-button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--primary-color);
  padding: 1rem 2.5rem;
  border-radius: 100px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 1.125rem;
  transition: all var(--transition-smooth);
  border: 2px solid var(--primary-color);
  cursor: pointer;
}

.cta-button-secondary:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-3px);
}

/* Learn more link */
.learn-more {
  color: var(--highlight-color);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all var(--transition);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.learn-more::after {
  content: '\2192';
  font-size: 1.25rem;
  transition: transform var(--transition);
}

.learn-more:hover {
  color: var(--highlight-dark);
  gap: 0.75rem;
}

.learn-more:hover::after {
  transform: translateX(4px);
}

/* Animations */
@keyframes blob {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -50px) scale(1.1); }
  66% { transform: translate(-20px, 20px) scale(0.9); }
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(2deg); }
}

@keyframes pulse-glow {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 0.7; }
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* Section styling */
section {
  position: relative;
  overflow: hidden;
}

/* Decorative elements */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  animation: blob 12s ease-in-out infinite;
  pointer-events: none;
}

/* App layout */
.app {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.main-content {
  flex: 1;
  padding-top: 80px;
}

@media (max-width: 768px) {
  h1 {
    font-size: 2.75rem;
  }

  h2 {
    font-size: 2rem;
  }

  h3 {
    font-size: 1.5rem;
  }

  p {
    font-size: 1rem;
  }

  .container {
    padding: 0 1.5rem;
  }

  .cta-button {
    padding: 1rem 2rem;
    font-size: 1rem;
  }
}
