/* Platform marketing site styles */

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Segoe UI", sans-serif;
  background: #ffffff;
  color: #0f172a;
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.platform-header {
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.platform-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 20px;
  font-weight: 700;
  color: #0f172a;
  text-decoration: none;
}

.platform-header nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.platform-header nav a {
  color: #64748b;
  text-decoration: none;
  font-weight: 500;
}

.platform-header nav a:hover {
  color: #0f172a;
}

.hero {
  padding: 80px 0;
  text-align: center;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #ffffff;
}

.hero h1 {
  font-size: 48px;
  font-weight: 700;
  margin: 0 0 16px;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 20px;
  margin: 0 0 32px;
  opacity: 0.95;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.button {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
  font-size: 16px;
}

.button-primary {
  background: #ffffff;
  color: #667eea;
}

.button-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.button-secondary:hover {
  background: rgba(255, 255, 255, 0.3);
}

.button-ghost {
  background: transparent;
  color: #0f172a;
  border: 1px solid #e2e8f0;
}

.button-ghost:hover {
  background: #f8fafc;
}

.features {
  padding: 80px 0;
  background: #f8fafc;
}

.features h2 {
  text-align: center;
  font-size: 36px;
  margin: 0 0 48px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.feature-card {
  background: #ffffff;
  padding: 32px;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.feature-card h3 {
  margin: 0 0 12px;
  font-size: 20px;
}

.feature-card p {
  margin: 0;
  color: #64748b;
}

.pricing {
  padding: 80px 0;
}

.pricing h2 {
  text-align: center;
  font-size: 36px;
  margin: 0 0 8px;
}

.section-subtitle {
  text-align: center;
  color: #64748b;
  font-size: 18px;
  margin: 0 0 48px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.pricing-card {
  background: #ffffff;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  padding: 32px;
  position: relative;
}

.pricing-card.featured {
  border-color: #667eea;
  transform: scale(1.05);
}

.badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #667eea;
  color: #ffffff;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
}

.pricing-card h3 {
  margin: 0 0 16px;
  font-size: 24px;
}

.price {
  font-size: 36px;
  font-weight: 700;
  margin: 0 0 24px;
}

.price span {
  font-size: 16px;
  font-weight: 400;
  color: #64748b;
}

.pricing-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}

.pricing-card li {
  padding: 8px 0;
  color: #475569;
}

.pricing-card li::before {
  content: "✓ ";
  color: #10b981;
  font-weight: 700;
  margin-right: 8px;
}

.cta {
  padding: 80px 0;
  background: #f8fafc;
  text-align: center;
}

.cta h2 {
  font-size: 36px;
  margin: 0 0 16px;
}

.cta p {
  font-size: 18px;
  color: #64748b;
  margin: 0 0 32px;
}

.platform-footer {
  background: #0f172a;
  color: #ffffff;
  padding: 32px 0;
  text-align: center;
}

.platform-footer p {
  margin: 0;
  color: #94a3b8;
}

/* Form styles for signup page */
.card {
  background: #ffffff;
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  max-width: 600px;
  margin: 0 auto;
}

.form label {
  display: block;
  margin-bottom: 16px;
  font-weight: 600;
}

.form input {
  width: 100%;
  margin-top: 8px;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  font-size: 16px;
}

.form input:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.helper {
  font-size: 13px;
  color: #64748b;
  margin-top: 4px;
}

.helper.error {
  color: #ef4444;
}

.helper.success {
  color: #10b981;
}

.spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid #e2e8f0;
  border-top-color: #667eea;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 32px;
  }
  
  .hero-subtitle {
    font-size: 18px;
  }
  
  .features-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  
  .pricing-card.featured {
    transform: none;
  }
}
