/* Base Styles */
:root {
  --background: #0a0a0c;
  --foreground: #f8f8f8;
  --card: #0a0a0c;
  --card-foreground: #f8f8f8;
  --popover: #0a0a0c;
  --popover-foreground: #f8f8f8;
  --primary: #7e3bce;
  --primary-foreground: #ffffff;
  --secondary: #1e1b29;
  --secondary-foreground: #f8f8f8;
  --muted: #27272a;
  --muted-foreground: #a1a1aa;
  --accent: #d23283;
  --accent-foreground: #ffffff;
  --destructive: #7f1d1d;
  --destructive-foreground: #f8f8f8;
  --border: #27272a;
  --input: #27272a;
  --ring: #7e3bce;
  --radius: 0.5rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.5;
  font-size: 16px;
}

.page-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

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

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

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
}

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

.btn-lg {
  height: 3rem;
  padding: 0 1.5rem;
  font-size: 1rem;
}

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

.btn-primary:hover {
  background-color: #6a32b0;
}

.btn-secondary {
  background-color: var(--secondary);
  color: var(--secondary-foreground);
}

.btn-secondary:hover {
  background-color: #2a2638;
}

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

.btn-accent:hover {
  background-color: #b82a70;
}

.btn-outline {
  background-color: transparent;
  border: 1px solid #ffffff;
  color: #ffffff;
}

.btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

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

.btn-outline-primary:hover {
  background-color: rgba(126, 59, 206, 0.1);
}

.btn-outline-light {
  background-color: transparent;
  border: 1px solid #ffffff;
  color: #ffffff;
}

.btn-outline-light:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* Badge */
.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.25rem 0.75rem;
  background-color: var(--primary);
  color: var(--primary-foreground);
}

/* Card */
.card {
  border-radius: var(--radius);
  background-color: var(--card);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  transition: all 0.3s ease;
}

.card:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.card-header {
  padding: 1.5rem 1.5rem 0.5rem;
}

.card-content {
  padding: 1.5rem;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 40;
  background-color: rgba(10, 10, 12, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

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

.logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  background-color: var(--primary);
  border-radius: 0.375rem;
  color: var(--primary-foreground);
}

.main-nav {
  display: none;
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-link {
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.contact-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.mobile-menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 1.5rem;
  height: 1.25rem;
  background: transparent;
  border: none;
  cursor: pointer;
}

.mobile-menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--foreground);
  transition: all 0.3s ease;
}

/* Hero Section */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(to bottom, var(--primary), var(--accent));
  padding: 5rem 0;
  color: white;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' width='32' height='32' fill='none' stroke='rgb(255 255 255 / 0.1)'%3e%3cpath d='M0 .5H31.5V32'/%3e%3c/svg%3e");
  background-size: 20px 20px;
  mask-image: radial-gradient(white, transparent 85%);
}

.hero-container {
  position: relative;
  display: grid;
  gap: 2rem;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: white;
}

.hero-description {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.hero-image {
  position: relative;
  display: none;
}

.image-container {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
}

.blur-circle {
  position: absolute;
  border-radius: 9999px;
  filter: blur(24px);
}

.blur-circle-1 {
  bottom: -1.5rem;
  left: -1.5rem;
  width: 6rem;
  height: 6rem;
  background-color: var(--accent);
  opacity: 0.5;
}

.blur-circle-2 {
  top: -1.5rem;
  right: -1.5rem;
  width: 8rem;
  height: 8rem;
  background-color: var(--primary);
  opacity: 0.3;
}

/* Stats Section */
.stats {
  padding: 3rem 0;
  background-color: var(--secondary);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--primary);
}

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

/* Section Styles */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 700;
}

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

/* Features Section */
.features {
  padding: 5rem 0 8rem;
}

.features-grid {
  display: grid;
  gap: 2rem;
}

.feature-card {
  background: linear-gradient(to bottom right, var(--background), rgba(30, 27, 41, 0.3));
  border: none;
}

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 0.5rem;
  margin-bottom: 0.5rem;
}

.primary-icon {
  background-color: rgba(126, 59, 206, 0.2);
  color: var(--primary);
}

.accent-icon {
  background-color: rgba(210, 50, 131, 0.2);
  color: var(--accent);
}

.card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

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

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

/* Testimonials Section */
.testimonials {
  padding: 5rem 0 8rem;
  background: linear-gradient(to bottom, rgba(30, 27, 41, 0.3), var(--background));
}

.testimonials-grid {
  display: grid;
  gap: 2rem;
}

.testimonial-card {
  background-color: rgba(10, 10, 12, 0.5);
  border: none;
  padding: 1.5rem;
}

.stars {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1rem;
  color: #f59e0b;
}

.testimonial-quote {
  border-left: 4px solid var(--primary);
  padding-left: 1rem;
  font-style: italic;
  margin-bottom: 1.5rem;
}

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

.author-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 9999px;
  background-color: rgba(126, 59, 206, 0.2);
  font-weight: 600;
  font-size: 1.125rem;
}

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

.author-role {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* Pricing Section */
.pricing {
  padding: 5rem 0 8rem;
}

.pricing-grid {
  display: grid;
  gap: 2rem;
}

.pricing-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
}

.premium-card {
  border: 2px solid var(--primary);
  transform: scale(1.05);
  z-index: 10;
}

.pricing-highlight {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background-color: rgba(126, 59, 206, 0.5);
}

.accent-highlight {
  background-color: var(--accent);
}

.pricing-badge {
  position: absolute;
  top: 1.75rem;
  right: -3rem;
  transform: rotate(45deg);
  background-color: var(--primary);
  color: var(--primary-foreground);
  padding: 0.25rem 2.5rem;
  font-size: 0.875rem;
  font-weight: 500;
}

.pricing-header {
  text-align: center;
}

.pricing-title {
  font-size: 1.5rem;
  font-weight: 700;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  margin-top: 1rem;
}

.basic-card .pricing-price,
.enterprise-card .pricing-price {
  color: var(--muted-foreground);
}

.premium-card .pricing-price {
  color: var(--primary);
}

.currency {
  font-size: 1.875rem;
  font-weight: 700;
}

.amount {
  font-size: 2.5rem;
  font-weight: 800;
}

.premium-card .amount {
  font-size: 3rem;
}

.decimals {
  font-size: 1.25rem;
  font-weight: 700;
}

.period {
  font-size: 0.875rem;
  margin-left: 0.25rem;
  align-self: flex-end;
  margin-bottom: 0.25rem;
}

.pricing-description {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-top: 0.5rem;
}

.premium-card .pricing-description {
  color: rgba(126, 59, 206, 0.8);
  font-weight: 500;
}

.pricing-promo {
  margin: -1.5rem -1.5rem 1.5rem;
  padding: 0.5rem 1.5rem;
  background-color: rgba(126, 59, 206, 0.1);
  border-top: 1px solid rgba(126, 59, 206, 0.2);
  border-bottom: 1px solid rgba(126, 59, 206, 0.2);
  text-align: center;
}

.pricing-promo p {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary);
}

.pricing-features {
  margin-bottom: 1.5rem;
}

.pricing-feature {
  display: flex;
  align-items: center;
  margin-bottom: 0.75rem;
}

.check-icon {
  color: #22c55e;
  margin-right: 0.5rem;
  flex-shrink: 0;
}

/* CTA Section */
.cta {
  padding: 5rem 0;
  background-color: var(--primary);
  color: white;
}

.cta .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.cta-content {
  text-align: center;
}

.cta-title {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.cta-description {
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

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

.footer-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

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

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

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-link {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: var(--foreground);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(161, 161, 170, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

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

.legal-links {
  display: flex;
  gap: 1rem;
}

.legal-link {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  transition: color 0.2s ease;
}

.legal-link:hover {
  color: var(--foreground);
}

/* Responsive Styles */
@media (min-width: 768px) {
  .main-nav {
    display: flex;
    gap: 1.5rem;
  }

  .mobile-menu-toggle {
    display: none;
  }

  .hero {
    padding: 8rem 0;
  }

  .hero-container {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }

  .hero-content {
    text-align: left;
    align-items: flex-start;
  }

  .hero-title {
    font-size: 3.75rem;
  }

  .hero-buttons {
    justify-content: flex-start;
  }

  .hero-image {
    display: block;
  }

  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .cta .container {
    flex-direction: row;
    justify-content: space-between;
  }

  .cta-content {
    text-align: left;
  }

  .cta-buttons {
    flex-direction: row;
  }

  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

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