:root {
  --primary: #4f46e5; /* Indigo 600 */
  --primary-dark: #4338ca; /* Indigo 700 */
  --secondary: #ec4899; /* Pink 500 */
  --text-main: #111827; /* Gray 900 */
  --text-muted: #4b5563; /* Gray 600 */
  --bg-light: #f3f4f6; /* Gray 100 */
  --white: #ffffff;
  --glass-bg: rgba(255, 255, 255, 0.8);
  --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);
  --radius-md: 0.5rem;
  --radius-lg: 1rem;
}

.App {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text-main);
  background-color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  background: var(--white);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 5%;
  z-index: 1000;
  box-sizing: border-box;
  transition: all 0.3s ease;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.logo img {
  height: 2rem;
  width: auto;
}

.logo span {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.github-link {
  color: var(--text-muted);
  text-decoration: none;
  margin-right: 1rem;
  transition: color 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.github-link svg {
  width: 24px;
  height: 24px;
}

.nav ul {
  list-style: none;
  display: flex;
  gap: 2.5rem;
  margin: 0;
  padding: 0;
}

.nav a {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

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

.nav .nav-cta {
  background: var(--primary);
  color: white;
  padding: 0.6rem 1.5rem;
  border-radius: 9999px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(79, 70, 229, 0.2);
}

.nav .nav-cta:hover {
  background: var(--primary-dark);
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 4px 6px rgba(79, 70, 229, 0.3);
}

/* Mobile Menu */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-main);
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav ul {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--white);
    padding: 2rem;
    gap: 1.5rem;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    box-shadow: var(--shadow-lg);
    transform: translateY(-150%);
    transition: transform 0.3s ease-in-out;
    z-index: -1;
    opacity: 0;
  }

  .nav ul.open {
    transform: translateY(0);
    opacity: 1;
  }
  
  .nav a {
    font-size: 1.1rem;
    display: block;
    text-align: center;
  }
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 1rem 4rem;
  background: linear-gradient(rgba(15, 23, 42, 0.6), rgba(15, 23, 42, 0.8)),
              url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?q=80&w=2072&auto=format&fit=crop');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  overflow: hidden;
  color: white;
}

.hero-content {
  max-width: 800px;
  z-index: 1;
  animation: fadeIn 1s ease-out;
}

.hero-content h1 {
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
  background: linear-gradient(to right, #ffffff, #e0e7ff);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: white;
  text-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.hero-content p {
  font-size: clamp(1.1rem, 4vw, 1.5rem);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero-badges {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.badge {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
  transition: all 0.3s ease;
}

.badge:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
}

.cta-button {
  background: var(--primary);
  color: white;
  border: none;
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 14px 0 rgba(79, 70, 229, 0.39);
}

.cta-button:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(79, 70, 229, 0.23);
}

.hero-actions {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin-top: 2.5rem;
}

.cta-button.outline {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(4px);
  box-shadow: none;
}

.cta-button.outline:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: white;
  transform: translateY(-2px);
}

/* Features Section */
.features {
  padding: 6rem 5%;
  background: var(--white);
}

.features h2 {
  font-size: 2.5rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 4rem;
  letter-spacing: -0.02em;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2.5rem;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1rem;
}

.feature-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(79, 70, 229, 0.2);
}

.feature-image {
  height: 220px;
  background-size: cover;
  background-position: center;
  width: 100%;
  position: relative;
}

.feature-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.1) 100%);
}

.feature-content {
  padding: 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.feature-content h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-main);
  line-height: 1.3;
}

.feature-content p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 0;
}

/* Pricing Section */
.pricing {
  padding: 6rem 5%;
  background: var(--bg-light);
  text-align: center;
}

.pricing h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 4rem;
  letter-spacing: -0.02em;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto 4rem auto;
}

.pricing-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  position: relative;
}

.pricing-card.featured {
  border: 2px solid var(--primary);
  transform: scale(1.05);
  z-index: 1;
  box-shadow: var(--shadow-lg);
}

.pricing-card.disabled {
  opacity: 0.7;
  background: #fafafa;
}

.pricing-header {
  margin-bottom: 2rem;
}

.pricing-header h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.pricing-header .price {
  font-size: 3rem;
  font-weight: 800;
  color: var(--text-main);
  margin: 1rem 0;
}

.pricing-header .price span {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 500;
}

.pricing-header p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
  text-align: left;
  flex: 1;
}

.pricing-features li {
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pricing-features li:last-child {
  border-bottom: none;
}

.cta-button.full-width {
  width: 100%;
}

.pricing-card.disabled .cta-button {
  cursor: not-allowed;
  background: var(--text-muted);
  border-color: transparent;
  color: white;
}

/* Pricing outline button */
.cta-button.pricing-outline {
  background: white;
  color: var(--primary);
  border: 2px solid var(--primary);
  box-shadow: none;
}

.cta-button.pricing-outline:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
}

/* Deployment Toggle */
.pricing-subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.deployment-toggle {
  display: flex;
  justify-content: center;
  margin-bottom: 4rem;
}

.deployment-options {
  display: flex;
  background: white;
  border-radius: 12px;
  padding: 4px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,0.05);
}

.deployment-option {
  padding: 1rem 2rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  min-width: 200px;
}

.deployment-option.active {
  background: var(--primary);
  color: white;
  box-shadow: var(--shadow-md);
}

.deployment-option h3 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
}

.deployment-option p {
  margin: 0.25rem 0 0 0;
  font-size: 0.9rem;
  opacity: 0.8;
}

.deployment-option:not(.active):hover {
  background: rgba(0,0,0,0.05);
  transform: translateY(-1px);
}

/* Self-Hosted Section */
.self-hosted-section {
  background: white;
  border-radius: var(--radius-lg);
  padding: 3rem;
  margin-top: 2rem;
  box-shadow: var(--shadow-md);
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.self-hosted-section h3 {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: var(--text-main);
}

.self-hosted-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.self-hosted-features h4 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-main);
}

.self-hosted-features ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.self-hosted-features li {
  padding: 0.5rem 0;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.open-source-note {
  margin-top: 2rem;
  padding: 1.5rem;
  background: var(--bg-light);
  border-radius: var(--radius-md);
  border-left: 4px solid var(--primary);
}

.open-source-note p {
  margin: 0;
  color: var(--text-main);
  font-size: 0.95rem;
  line-height: 1.5;
}

.open-source-note a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}

.open-source-note a:hover {
  text-decoration: underline;
}

.self-hosted-opensource {
  text-align: center;
  padding: 2rem;
  background: var(--bg-light);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.pricing-note {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 1rem 0 2rem 0;
}

.pricing-note p {
  margin: 0.5rem 0;
}

.pricing-note p:first-child {
  font-weight: 600;
  color: var(--text-main);
  font-size: 1rem;
}

@media (max-width: 768px) {
  .self-hosted-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .deployment-options {
    flex-direction: column;
    min-width: 280px;
  }
  
  .deployment-option {
    min-width: auto;
  }
}

/* CTA Section */
.cta-section {
  padding: 8rem 2rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: white;
  text-align: center;
}

.cta-content {
  max-width: 800px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
}

.cta-content p {
  font-size: 1.25rem;
  margin-bottom: 3rem;
  opacity: 0.9;
}

.cta-button.secondary {
  background: white;
  color: var(--primary);
  box-shadow: 0 4px 14px 0 rgba(0, 0, 0, 0.2);
}

.cta-button.secondary:hover {
  background: #f8fafc;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Contact Section */
.contact-section {
  padding: 4rem 2rem;
  background: var(--bg-light);
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Footer */
.footer {
  background: var(--white);
  color: var(--text-muted);
  text-align: center;
  padding: 4rem 2rem;
  border-top: 1px solid rgba(0,0,0,0.05);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto 2rem auto;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-logo span {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
}

.footer-logo p {
  margin: 0.5rem 0 0 0;
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

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

.footer p {
  margin: 0.5rem 0;
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-links {
    justify-content: center;
  }
  
  /* Pricing Mobile Styles */
  .pricing {
    padding: 4rem 1rem;
  }
  
  .pricing h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
  }
  
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 0;
  }
  
  .pricing-card {
    padding: 2rem;
  }
  
  .pricing-card.featured {
    transform: none;
    margin: 0 -0.25rem;
    border-width: 2px;
  }
  
  .pricing-header .price {
    font-size: 2.5rem;
  }
  
  .deployment-toggle {
    margin-bottom: 2rem;
  }
  
  .deployment-options {
    flex-direction: column;
    min-width: 280px;
  }
  
  .deployment-option {
    min-width: auto;
    padding: 0.75rem 1.5rem;
  }
  
  .self-hosted-section {
    padding: 2rem 1.5rem;
    margin: 1rem;
  }
  
  .self-hosted-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .github-link {
    margin-right: 0.5rem;
  }
  
  @media (max-width: 768px) {
    .github-link {
      display: none;
    }
  }
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
/* Contact Form Styles */
.contact-form-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 0;
  width: 100%;
}

.contact-form-section h3 {
  color: var(--text-main);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2rem;
  text-align: center;
}

.contact-form {
  background: white;
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--bg-light);
  width: 100%;
  box-sizing: border-box;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--text-main);
  font-size: 0.9rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid #e5e7eb;
  border-radius: var(--radius-md);
  font-size: 1rem;
  transition: border-color 0.2s ease;
  box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-group select {
  cursor: pointer;
}

.form-actions {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--bg-light);
}

.cancel-button {
  display: none; /* Hidden for inline form */
}

.success-message {
  padding: 3rem 1.5rem;
  text-align: center;
}

.success-message h4 {
  color: var(--primary);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.success-message p {
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.error-message {
  background: #fef2f2;
  color: #dc2626;
  padding: 0.75rem;
  border-radius: var(--radius-md);
  border: 1px solid #fecaca;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .contact-form-section {
    padding: 1rem 0;
  }

  .contact-form-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
  }

  .contact-form {
    padding: 2rem;
    margin: 0 1rem;
  }

  .form-actions {
    padding-top: 1rem;
  }
}body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

code {
  font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
    monospace;
}