/* Reset y Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Cosmic theme colors - Matching React version exactly */
  --color-bg: oklch(0.12 0.03 280); /* Very dark indigo #1a0f2e equivalent */
  --color-fg: oklch(0.95 0.01 280); /* Light lavender-white */
  --color-primary: oklch(0.45 0.15 280); /* Deep indigo-purple */
  --color-accent: oklch(0.65 0.18 85); /* Gold accent */
  --color-card: oklch(0.18 0.04 280); /* Dark card with slight purple tint */
  --color-border: oklch(0.35 0.08 280 / 0.3); /* Purple border with transparency */
  --color-muted: oklch(0.70 0.02 280); /* Muted lavender */
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: var(--color-bg);
  color: var(--color-fg);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

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

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(26, 15, 46, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
}

.navbar-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.25rem;
  font-weight: 700;
  transition: opacity 0.3s;
}

.navbar-logo:hover {
  opacity: 0.8;
}

.navbar-logo svg {
  width: 24px;
  height: 24px;
  fill: var(--color-accent);
  color: var(--color-accent);
}

.navbar-menu {
  display: none;
  gap: 2rem;
}

.navbar-menu a {
  font-size: 0.875rem;
  transition: color 0.3s;
}

.navbar-menu a:hover {
  color: var(--color-accent);
}

.navbar-cta {
  display: none;
}

@media (min-width: 768px) {
  .navbar-menu,
  .navbar-cta {
    display: flex;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 2rem;
  border-radius: 0.5rem;
  font-weight: 600;
  transition: all 0.3s;
  cursor: pointer;
  border: none;
  font-size: 1rem;
}

.btn-primary {
  background: var(--color-accent);
  color: var(--color-bg);
}

.btn-primary:hover {
  background: #c49563;
  transform: translateY(-2px);
}

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

.btn-outline:hover {
  background: rgba(212, 165, 116, 0.1);
  border-color: var(--color-accent);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

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

/* Container */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .container {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 2rem;
  }
}

/* Hero Section */
.hero {
  position: relative;
  padding: 8rem 1rem 5rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.hero-blob-1 {
  position: absolute;
  top: 5rem;
  left: 2.5rem;
  width: 18rem;
  height: 18rem;
  background: rgba(91, 58, 158, 0.2);
  border-radius: 50%;
  filter: blur(80px);
  animation: pulse 3s ease-in-out infinite;
}

.hero-blob-2 {
  position: absolute;
  bottom: 5rem;
  right: 2.5rem;
  width: 24rem;
  height: 24rem;
  background: rgba(212, 165, 116, 0.1);
  border-radius: 50%;
  filter: blur(80px);
  animation: pulse 3s ease-in-out infinite 1s;
}

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

.hero-content {
  max-width: 72rem;
  margin: 0 auto;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  background: rgba(212, 165, 116, 0.1);
  border: 1px solid rgba(212, 165, 116, 0.2);
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
}

.hero-badge svg {
  width: 16px;
  height: 16px;
  color: var(--color-accent);
}

.hero-title {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.hero-title-gradient {
  display: block;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent), var(--color-primary));
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient 3s ease infinite;
}

@keyframes gradient {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 4.5rem;
  }
}

.hero-description {
  font-size: 1.125rem;
  color: var(--color-muted);
  max-width: 48rem;
  margin: 0 auto 2rem;
}

@media (min-width: 768px) {
  .hero-description {
    font-size: 1.25rem;
  }
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 3rem;
}

@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
  }
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 42rem;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(139, 92, 246, 0.3);
}

.hero-stat-number {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 0.25rem;
}

.hero-stat-label {
  font-size: 0.875rem;
  color: var(--color-muted);
}

/* Card */
.card {
  background: rgba(42, 31, 71, 0.5);
  border: 1px solid var(--color-border);
  border-radius: 1rem;
  backdrop-filter: blur(8px);
  transition: all 0.3s;
}

.card:hover {
  border-color: rgba(212, 165, 116, 0.5);
  transform: translateY(-4px);
}

.card-content {
  padding: 2rem;
}

/* Section */
.section {
  padding: 5rem 1rem;
}

.section-bg {
  background: rgba(42, 31, 71, 0.3);
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 3rem;
  }
}

.section-title .accent {
  color: var(--color-accent);
}

.section-description {
  font-size: 1.125rem;
  color: var(--color-muted);
  text-align: center;
  max-width: 48rem;
  margin: 0 auto 3rem;
}

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

.grid-2 {
  grid-template-columns: 1fr;
}

.grid-3 {
  grid-template-columns: 1fr;
}

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

/* Icon Box */
.icon-box {
  width: 3rem;
  height: 3rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  transition: transform 0.3s;
}

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

.icon-box-primary {
  background: rgba(91, 58, 158, 0.2);
}

.icon-box-accent {
  background: rgba(212, 165, 116, 0.2);
}

.icon-box svg {
  width: 1.5rem;
  height: 1.5rem;
}

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

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

/* Testimonial */
.testimonial-stars {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1rem;
}

.testimonial-stars svg {
  width: 1rem;
  height: 1rem;
  fill: var(--color-accent);
  color: var(--color-accent);
}

.testimonial-text {
  color: var(--color-muted);
  margin-bottom: 1rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial-avatar {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 600;
}

.testimonial-avatar-primary {
  background: rgba(91, 58, 158, 0.2);
}

.testimonial-avatar-accent {
  background: rgba(212, 165, 116, 0.2);
}

.testimonial-name {
  font-weight: 600;
}

.testimonial-sign {
  font-size: 0.75rem;
  color: var(--color-muted);
}

/* Footer */
.footer {
  border-top: 1px solid var(--color-border);
  padding: 3rem 1rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

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

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  font-size: 1.25rem;
  font-weight: 700;
}

.footer-brand svg {
  width: 24px;
  height: 24px;
  fill: var(--color-accent);
  color: var(--color-accent);
}

.footer-description {
  font-size: 0.875rem;
  color: var(--color-muted);
}

.footer-title {
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  font-size: 0.875rem;
  color: var(--color-muted);
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--color-accent);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
  text-align: center;
  font-size: 0.875rem;
  color: var(--color-muted);
}

/* Page Content */
.page-content {
  padding-top: 6rem;
  padding-bottom: 4rem;
}

.page-content h2 {
  font-size: 2rem;
  margin: 2rem 0 1.5rem;
  color: var(--color-fg);
}

.page-content h3 {
  font-size: 1.5rem;
  margin: 1.5rem 0 1rem;
  color: var(--color-fg);
}

.page-content p {
  margin-bottom: 1rem;
  color: var(--color-muted);
  line-height: 1.8;
}

.page-content ul {
  margin: 1rem 0 1rem 1.5rem;
  color: var(--color-muted);
}

.page-content ul li {
  margin-bottom: 0.5rem;
}

.page-content a {
  color: var(--color-accent);
  text-decoration: underline;
}

.page-content a:hover {
  opacity: 0.8;
}

.info-card {
  background: rgba(42, 31, 71, 0.3);
  padding: 1.5rem;
  border-radius: 0.5rem;
  border: 1px solid var(--color-border);
  margin: 1.5rem 0;
}

.info-card h3 {
  margin-top: 0;
}

.info-card strong {
  color: var(--color-fg);
}

/* Back Link */
.back-link {
  display: inline-block;
  margin-top: 2rem;
  color: var(--color-accent);
  transition: opacity 0.3s;
}

.back-link:hover {
  opacity: 0.8;
  text-decoration: underline;
}

/* Utility Classes */
.text-center {
  text-align: center;
}

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

.mb-4 {
  margin-bottom: 1rem;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.mt-4 {
  margin-top: 1rem;
}

.mt-8 {
  margin-top: 2rem;
}
