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

:root {
  --background: hsl(0, 0%, 99%);
  --foreground: hsl(262, 40%, 15%);
  --card: hsl(0, 0%, 100%);
  --card-foreground: hsl(262, 40%, 15%);
  --primary: hsl(262, 83%, 58%);
  --primary-foreground: hsl(0, 0%, 100%);
  --secondary: hsl(262, 20%, 96%);
  --secondary-foreground: hsl(262, 40%, 15%);
  --muted: hsl(262, 15%, 94%);
  --muted-foreground: hsl(262, 10%, 45%);
  --accent: hsl(262, 70%, 50%);
  --accent-foreground: hsl(0, 0%, 100%);
  --border: hsl(262, 20%, 90%);
  --radius: 0.75rem;
  
  --gradient-primary: linear-gradient(135deg, hsl(262, 83%, 58%) 0%, hsl(280, 75%, 55%) 50%, hsl(262, 83%, 48%) 100%);
  --gradient-accent: linear-gradient(135deg, hsl(262, 70%, 50%) 0%, hsl(262, 83%, 58%) 100%);
  --gradient-hero: linear-gradient(180deg, hsl(262, 30%, 98%) 0%, hsl(262, 40%, 95%) 50%, hsl(0, 0%, 100%) 100%);
  --gradient-card: linear-gradient(145deg, hsl(0, 0%, 100%) 0%, hsl(262, 20%, 98%) 100%);
  
  --shadow-card: 0 4px 24px -1px hsla(262, 30%, 50%, 0.08), 0 2px 8px -1px hsla(262, 30%, 30%, 0.06);
  --shadow-elevated: 0 20px 50px -12px hsla(262, 30%, 30%, 0.15);
  
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

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

.text-gradient-accent {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.glass {
  background: hsla(0, 0%, 100%, 0.8);
  backdrop-filter: blur(12px);
  border: 1px solid hsla(262, 20%, 90%, 0.8);
}

/* Animations */
@keyframes fade-up {
  0% { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes pulse-slow {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.animate-fade-up {
  animation: fade-up 0.8s ease-out forwards;
}

.animate-pulse-slow {
  animation: pulse-slow 4s ease-in-out infinite;
}

.animate-pulse {
  animation: pulse 2s ease-in-out infinite;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: all 0.3s ease;
  padding: 1.25rem 0;
  background: transparent;
}

.navbar.scrolled {
  background: hsla(0, 0%, 100%, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid hsla(262, 20%, 90%, 0.8);
  padding: 0.75rem 0;
}

.navbar-content {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.navbar-logo img {
  height: 40px;
  width: auto;
}

.navbar-logo span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--foreground);
}

.navbar-logo .primary {
  color: var(--primary);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-hero);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(64px);
}

.hero-orb-1 {
  top: 25%;
  left: 25%;
  width: 24rem;
  height: 24rem;
  background: hsla(262, 83%, 58%, 0.15);
}

.hero-orb-2 {
  bottom: 25%;
  right: 25%;
  width: 20rem;
  height: 20rem;
  background: hsla(262, 70%, 50%, 0.1);
  animation-delay: 2s;
}

.hero-orb-3 {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: hsla(262, 83%, 58%, 0.05);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(139,92,246,0.06) 1px, transparent 1px),
              linear-gradient(90deg, rgba(139,92,246,0.06) 1px, transparent 1px);
  background-size: 100px 100px;
}

.hero-content {
  position: relative;
  z-index: 10;
  padding: 5rem 1rem;
}

.hero-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 64rem;
  margin: 0 auto;
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.hero-tagline {
  font-size: 1.25rem;
  color: var(--muted-foreground);
  margin-bottom: 1rem;
  font-weight: 300;
}

.hero-tagline .highlight {
  color: var(--foreground);
  font-weight: 500;
}

.hero-description {
  font-size: 1rem;
  color: var(--muted-foreground);
  max-width: 48rem;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  border-radius: var(--radius);
  font-weight: 500;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  text-decoration: none;
}

.btn-hero-outline {
  background: hsla(262, 83%, 58%, 0.1);
  color: var(--primary);
  border: 1px solid hsla(262, 83%, 58%, 0.3);
}

.btn-hero-outline:hover {
  background: hsla(262, 83%, 58%, 0.2);
  border-color: hsla(262, 83%, 58%, 0.5);
}

.btn-hero {
  background: var(--gradient-primary);
  color: var(--primary-foreground);
  box-shadow: 0 4px 20px hsla(262, 83%, 58%, 0.3);
}

.btn-hero:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px hsla(262, 83%, 58%, 0.4);
}

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

.btn-outline:hover {
  background: var(--secondary);
}

.btn svg {
  width: 20px;
  height: 20px;
}

.btn svg.mr {
  margin-right: 0.5rem;
}

.btn svg.ml {
  margin-left: 0.5rem;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 4rem;
}

@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.feature-card {
  padding: 1.5rem;
  border-radius: 1rem;
  background: hsla(0, 0%, 100%, 0.5);
  backdrop-filter: blur(8px);
  border: 1px solid hsla(262, 20%, 90%, 0.5);
  transition: all 0.3s ease;
}

.feature-card:hover {
  border-color: hsla(262, 83%, 58%, 0.3);
  background: hsla(0, 0%, 100%, 0.8);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 0.75rem;
  background: hsla(262, 83%, 58%, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  transition: background 0.3s ease;
}

.feature-card:hover .feature-icon {
  background: hsla(262, 83%, 58%, 0.2);
}

.feature-icon svg {
  width: 24px;
  height: 24px;
  color: var(--primary);
}

.feature-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.25rem;
}

.feature-subtitle {
  font-size: 0.875rem;
  font-weight: 500;
  color: hsla(262, 83%, 58%, 0.8);
  margin-bottom: 0.75rem;
}

.feature-description {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.6;
}

/* Sections */
.section {
  padding: 4rem 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.section-description {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  max-width: 42rem;
  margin: 0 auto;
}

/* About Section */
.about {
  background: var(--background);
}

.about-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, hsla(262, 83%, 58%, 0.05), transparent, transparent);
}

.about-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
  margin-bottom: 3rem;
}

@media (min-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.about-text p {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.about-text strong {
  color: var(--foreground);
}

.about-text .primary {
  color: var(--primary);
  font-weight: 500;
}

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

.about-card {
  background: var(--gradient-card);
  border-radius: 1rem;
  padding: 2rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  position: relative;
}

.about-card-glow {
  position: absolute;
  inset: -1rem;
  background: hsla(262, 83%, 58%, 0.1);
  border-radius: 1.5rem;
  filter: blur(48px);
  z-index: -1;
}

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  border-radius: 0.75rem;
  background: hsla(262, 20%, 96%, 0.5);
  margin-bottom: 1rem;
  transition: background 0.3s ease;
}

.about-feature:hover {
  background: var(--secondary);
}

.about-feature:last-child {
  margin-bottom: 0;
}

.about-feature-icon {
  padding: 0.75rem;
  border-radius: 0.5rem;
  flex-shrink: 0;
}

.about-feature-icon.primary {
  background: hsla(262, 83%, 58%, 0.2);
}

.about-feature-icon.accent {
  background: hsla(262, 70%, 50%, 0.2);
}

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

.about-feature-icon.primary svg {
  color: var(--primary);
}

.about-feature-icon.accent svg {
  color: var(--accent);
}

.about-feature-title {
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.25rem;
}

.about-feature-text {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.quote-block {
  max-width: 56rem;
  margin: 0 auto;
}

.quote-card {
  border-radius: 1rem;
  padding: 2rem 3rem;
  text-align: center;
}

.quote-card blockquote {
  font-size: 1.25rem;
  color: var(--foreground);
  font-weight: 300;
  font-style: italic;
  line-height: 1.7;
}

.quote-card .primary {
  color: var(--primary);
  font-weight: 500;
  font-style: normal;
}

/* How It Works Section */
.how-it-works {
  background: hsla(262, 20%, 96%, 0.3);
}

.how-it-works-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, hsla(262, 83%, 58%, 0.08), transparent 70%);
}

.steps-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.step-card {
  background: hsla(0, 0%, 100%, 0.5);
  border-radius: 1rem;
  padding: 1.5rem;
  border: 1px solid hsla(262, 20%, 90%, 0.5);
  transition: all 0.3s ease;
  text-align: center;
}

.step-card:hover {
  border-color: var(--border);
}

.step-number {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--muted-foreground);
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}

.step-icon {
  padding: 1rem;
  border-radius: 0.75rem;
  display: inline-flex;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.step-icon.primary {
  background: hsla(262, 83%, 58%, 0.2);
}

.step-icon.accent {
  background: hsla(262, 70%, 50%, 0.2);
}

.step-card:hover .step-icon {
  transform: scale(1.1);
}

.step-card:hover .step-icon.primary {
  background: hsla(262, 83%, 58%, 0.3);
}

.step-card:hover .step-icon.accent {
  background: hsla(262, 70%, 50%, 0.3);
}

.step-icon svg {
  width: 28px;
  height: 28px;
}

.step-icon.primary svg {
  color: var(--primary);
}

.step-icon.accent svg {
  color: var(--accent);
}

.step-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

.step-description {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.6;
}

.highlight-box {
  margin-top: 3rem;
  background: var(--gradient-card);
  border-radius: 1rem;
  padding: 1.5rem 2.5rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}

.highlight-content {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 768px) {
  .highlight-content {
    grid-template-columns: 1fr 1fr;
  }
}

.highlight-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 1rem;
}

.highlight-text {
  color: var(--muted-foreground);
  line-height: 1.7;
}

.highlight-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.highlight-stat {
  background: hsla(262, 20%, 96%, 0.5);
  border-radius: 0.75rem;
  padding: 1.25rem;
  text-align: center;
}

.highlight-stat-value {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.highlight-stat-label {
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

/* Agents Section */
.agents {
  background: var(--background);
}

.agents-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at bottom, hsla(180, 100%, 39%, 0.05), transparent 70%);
}

.agents-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .agents-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .agents-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.agent-card {
  background: var(--gradient-card);
  border-radius: 1rem;
  padding: 1.5rem;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.agent-card:hover {
  box-shadow: var(--shadow-card);
}

.agent-card.ai:hover {
  border-color: hsla(262, 83%, 58%, 0.5);
}

.agent-card.human {
  border-color: hsla(262, 70%, 50%, 0.5);
}

.agent-card.human:hover {
  border-color: var(--accent);
}

.agent-card-glow {
  position: absolute;
  inset: 0;
  border-radius: 1rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.agent-card:hover .agent-card-glow {
  opacity: 1;
}

.agent-card.ai .agent-card-glow {
  background: hsla(262, 83%, 58%, 0.05);
}

.agent-card.human .agent-card-glow {
  background: hsla(262, 70%, 50%, 0.05);
}

.agent-card-content {
  position: relative;
  z-index: 1;
}

.agent-icon {
  display: inline-flex;
  padding: 1rem;
  border-radius: 0.75rem;
  margin-bottom: 1.25rem;
  transition: background 0.3s ease;
}

.agent-card.ai .agent-icon {
  background: hsla(262, 83%, 58%, 0.1);
}

.agent-card.ai:hover .agent-icon {
  background: hsla(262, 83%, 58%, 0.2);
}

.agent-card.human .agent-icon {
  background: hsla(262, 70%, 50%, 0.1);
}

.agent-card.human:hover .agent-icon {
  background: hsla(262, 70%, 50%, 0.2);
}

.agent-icon svg {
  width: 28px;
  height: 28px;
}

.agent-card.ai .agent-icon svg {
  color: var(--primary);
}

.agent-card.human .agent-icon svg {
  color: var(--accent);
}

.agent-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 0.25rem;
}

.agent-role {
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.agent-card.ai .agent-role {
  color: var(--primary);
}

.agent-card.human .agent-role {
  color: var(--accent);
}

.agent-description {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.6;
}

.agents-note {
  margin-top: 4rem;
  text-align: center;
}

.agents-note p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  max-width: 42rem;
  margin: 0 auto;
}

/* CTA Section */
.cta {
  position: relative;
  overflow: hidden;
}

.cta-bg-1 {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, var(--background), hsla(262, 83%, 58%, 0.05), var(--background));
}

.cta-bg-2 {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, hsla(262, 83%, 58%, 0.15), transparent 60%);
}

.cta-content {
  position: relative;
  z-index: 10;
  max-width: 56rem;
  margin: 0 auto;
  text-align: center;
}

.cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  margin-bottom: 2rem;
}

.cta-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.cta-badge span {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.cta-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.cta-description {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  max-width: 42rem;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

/* Deep Reflection Section */
.deep-reflection {
  background: hsla(0, 0%, 100%, 0.5);
}

.deep-reflection-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at bottom, hsla(262, 83%, 58%, 0.08), transparent 70%);
}

.deep-reflection-content {
  max-width: 56rem;
  margin: 0 auto;
}

.deep-reflection-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
}

@media (min-width: 768px) {
  .deep-reflection-inner {
    flex-direction: row;
    align-items: center;
  }
}

.deep-reflection-icon-wrapper {
  flex-shrink: 0;
}

.deep-reflection-icon {
  width: 96px;
  height: 96px;
  border-radius: 1rem;
  background: linear-gradient(to bottom right, hsla(262, 83%, 58%, 0.2), hsla(262, 70%, 50%, 0.2));
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid hsla(262, 83%, 58%, 0.2);
}

.deep-reflection-icon svg {
  width: 48px;
  height: 48px;
  color: var(--primary);
}

.deep-reflection-text {
  flex: 1;
  text-align: center;
}

@media (min-width: 768px) {
  .deep-reflection-text {
    text-align: left;
  }
}

.deep-reflection-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.deep-reflection-label svg {
  width: 16px;
  height: 16px;
}

.deep-reflection-label span {
  font-weight: 500;
}

.deep-reflection-description {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.deep-reflection-description .highlight {
  color: var(--foreground);
  font-weight: 500;
}

.deep-reflection-description em {
  color: var(--primary);
  font-style: italic;
}

/* Footer */
.footer {
  padding: 2rem 0;
  background: var(--card);
  border-top: 1px solid var(--border);
}

.footer-content {
  text-align: center;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* Responsive */
@media (min-width: 768px) {
  .hero-title {
    font-size: 4.5rem;
  }
  
  .hero-tagline {
    font-size: 1.5rem;
  }
  
  .hero-description {
    font-size: 1.125rem;
  }
  
  .section-title {
    font-size: 3rem;
  }
  
  .quote-card blockquote {
    font-size: 1.5rem;
  }
  
  .cta-title {
    font-size: 3rem;
  }
  
  .highlight-title {
    font-size: 1.875rem;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 6rem;
  }
  
  .hero-tagline {
    font-size: 1.875rem;
  }
  
  .section-title {
    font-size: 3.75rem;
  }
  
  .cta-title {
    font-size: 3.75rem;
  }
}
