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

:root {
  --primary: #667eea;
  --primary-dark: #764ba2;
  --secondary: #4fd1c5;
  --text: #2d3748;
  --text-light: #718096;
  --bg: #ffffff;
  --bg-gray: #f7fafc;
  --border: #e2e8f0;
  --success: #48bb78;
  --warning: #ed8936;
  --gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid var(--border);
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
}

.logo-icon {
  font-size: 28px;
}

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}

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

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

.cta-button {
  background: var(--gradient);
  color: white !important;
  padding: 10px 24px;
  border-radius: 8px;
  transition: transform 0.3s;
}

.cta-button:hover {
  transform: translateY(-2px);
}

/* Hero Section */
.hero {
  position: relative;
  padding: 160px 0 100px;
  overflow: hidden;
  background: linear-gradient(135deg, #667eea10 0%, #764ba230 100%);
}

.hero-bg {
  position: absolute;
  top: -50%;
  right: -10%;
  width: 800px;
  height: 800px;
  background: var(--gradient);
  opacity: 0.1;
  border-radius: 50%;
  filter: blur(100px);
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.badge {
  display: inline-block;
  background: white;
  border: 1px solid var(--border);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.hero-title {
  font-size: 64px;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 24px;
}

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

.hero-subtitle {
  font-size: 20px;
  color: var(--text-light);
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 48px;
}

.btn {
  padding: 14px 32px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary {
  background: var(--gradient);
  color: white;
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
  background: white;
  color: var(--text);
  border: 2px solid var(--border);
}

.btn-secondary:hover {
  border-color: var(--primary);
}

.play-icon {
  font-size: 12px;
}

.hero-code {
  max-width: 600px;
  margin: 0 auto;
  background: #1a202c;
  border-radius: 16px;
  padding: 24px;
  text-align: left;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.hero-code pre {
  margin: 0;
}

.hero-code code {
  color: #e2e8f0;
  font-family: "Fira Code", "Courier New", monospace;
  font-size: 14px;
  line-height: 1.8;
}

.code-comment {
  color: #68d391;
}
.code-keyword {
  color: #f687b3;
}
.code-string {
  color: #fbd38d;
}

/* Stats Section */
.stats {
  padding: 80px 0;
  background: white;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
  text-align: center;
}

.stat-number {
  font-size: 48px;
  font-weight: 900;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 16px;
  color: var(--text-light);
  font-weight: 500;
}

/* Features Section */
.features {
  padding: 100px 0;
  background: var(--bg-gray);
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-title {
  font-size: 48px;
  font-weight: 900;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 18px;
  color: var(--text-light);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.feature-card {
  background: white;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.3s;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  font-size: 48px;
  margin-bottom: 24px;
}

.feature-card h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--text-light);
  line-height: 1.8;
}

/* Framework Support Section */
.frameworks {
  padding: 100px 0;
  background: white;
}

.frameworks-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}

.framework-card {
  background: var(--bg-gray);
  padding: 32px 20px;
  border-radius: 12px;
  text-align: center;
  transition: all 0.3s;
  border: 2px solid transparent;
}

.framework-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary);
  background: white;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.framework-logo {
  width: 60px;
  height: 60px;
  margin: 0 auto 16px;
  background: var(--gradient);
  color: white;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 18px;
}

.framework-card.vue .framework-logo {
  background: linear-gradient(135deg, #42b883 0%, #35495e 100%);
}

.framework-card.react .framework-logo {
  background: linear-gradient(135deg, #61dafb 0%, #21a0c6 100%);
}

.framework-card.angular .framework-logo {
  background: linear-gradient(135deg, #dd0031 0%, #c3002f 100%);
}

.framework-card.svelte .framework-logo {
  background: linear-gradient(135deg, #ff3e00 0%, #ff6347 100%);
}

.framework-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}

.framework-card p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.6;
}

.framework-note {
  text-align: center;
  padding: 24px;
  background: linear-gradient(135deg, #667eea15 0%, #764ba225 100%);
  border-radius: 12px;
}

.framework-note p {
  font-size: 16px;
  color: var(--text);
  margin: 0;
}

/* Benefits Section */
.benefits {
  padding: 100px 0;
  background: white;
}

.benefits-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.benefit-item {
  display: flex;
  gap: 24px;
  margin-bottom: 40px;
}

.benefit-icon {
  font-size: 48px;
  flex-shrink: 0;
}

.benefit-item h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
}

.benefit-item p {
  color: var(--text-light);
  line-height: 1.8;
}

.comparison-card {
  background: var(--bg-gray);
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.comparison-header {
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 24px;
  text-align: center;
}

.comparison-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 16px;
  padding: 16px;
  background: white;
  border-radius: 8px;
  margin-bottom: 12px;
  font-size: 14px;
}

.comparison-row span:first-child {
  font-weight: 600;
}

.bad {
  color: #e53e3e;
}
.good {
  color: #38a169;
}

/* Use Cases */
.use-cases {
  padding: 100px 0;
  background: var(--bg-gray);
}

.use-cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.use-case-card {
  background: white;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.use-case-icon {
  font-size: 48px;
  margin-bottom: 24px;
}

.use-case-card h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
}

.use-case-card p {
  color: var(--text-light);
  margin-bottom: 24px;
}

.use-case-code {
  background: #1a202c;
  border-radius: 8px;
  padding: 16px;
  overflow-x: auto;
}

.use-case-code code {
  color: #e2e8f0;
  font-family: "Fira Code", monospace;
  font-size: 13px;
  line-height: 1.6;
}

/* CTA Section */
.cta {
  padding: 100px 0;
  background: var(--gradient);
  color: white;
}

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

.cta-title {
  font-size: 48px;
  font-weight: 900;
  margin-bottom: 16px;
}

.cta-subtitle {
  font-size: 20px;
  margin-bottom: 40px;
  opacity: 0.9;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 32px;
}

.btn-large {
  padding: 18px 40px;
  font-size: 18px;
}

.btn-outline-large {
  padding: 18px 40px;
  background: transparent;
  border: 2px solid white;
  color: white;
}

.btn-outline-large:hover {
  background: white;
  color: var(--primary);
}

.github-icon {
  font-size: 20px;
}

.cta-features {
  display: flex;
  gap: 32px;
  justify-content: center;
}

.cta-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
}

.check {
  font-size: 20px;
  font-weight: 900;
}

/* Footer */
.footer {
  background: #1a202c;
  color: white;
  padding: 60px 0 24px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
  margin-bottom: 40px;
}

.footer-section h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-section a {
  display: block;
  color: #a0aec0;
  text-decoration: none;
  margin-bottom: 12px;
  transition: color 0.3s;
}

.footer-section a:hover {
  color: white;
}

.footer-section p {
  color: #a0aec0;
  line-height: 1.6;
}

.footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid #2d3748;
  color: #a0aec0;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .hero-title {
    font-size: 40px;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .frameworks-grid {
    grid-template-columns: 1fr;
  }
  .benefits-content {
    grid-template-columns: 1fr;
  }
  .use-cases-grid {
    grid-template-columns: 1fr;
  }
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-buttons {
    flex-direction: column;
  }
  .cta-features {
    flex-direction: column;
    align-items: center;
  }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-content > * {
  animation: fadeInUp 0.8s ease-out;
}

.hero-content > *:nth-child(2) {
  animation-delay: 0.1s;
}
.hero-content > *:nth-child(3) {
  animation-delay: 0.2s;
}
.hero-content > *:nth-child(4) {
  animation-delay: 0.3s;
}
.hero-content > *:nth-child(5) {
  animation-delay: 0.4s;
}

/* Contact Form Styles */
.contact-form {
    margin-top: 15px;
}

.contact-form .form-group {
    margin-bottom: 10px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: white;
    font-size: 14px;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.contact-form textarea {
    height: 80px;
    resize: vertical;
}

.contact-form .btn-submit {
    width: 100%;
    padding: 10px;
    background: white;
    color: #667eea;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.contact-form .btn-submit:hover {
    background: #f7fafc;
    transform: translateY(-2px);
}

.contact-form .btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}
