/* Ready AI - Professional Website Styles */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: #1a1a1a;
  background-color: #ffffff;
}

/* Navigation */
nav {
  background: #0f172a;
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

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

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  text-decoration: none;
  letter-spacing: -0.5px;
}

.logo span {
  color: #3b82f6;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  color: #e5e7eb;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #3b82f6;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
  padding: 5rem 2rem;
  text-align: center;
}

.hero-container {
  max-width: 900px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  font-weight: 700;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: #cbd5e1;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.cta-button {
  display: inline-block;
  background: #3b82f6;
  color: white;
  padding: 1rem 2.5rem;
  border-radius: 0.5rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: background 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
}

.cta-button:hover {
  background: #2563eb;
  transform: translateY(-2px);
}

.cta-button-secondary {
  display: inline-block;
  background: transparent;
  color: #3b82f6;
  padding: 1rem 2.5rem;
  border: 2px solid #3b82f6;
  border-radius: 0.5rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  margin-left: 1rem;
}

.cta-button-secondary:hover {
  background: #3b82f6;
  color: white;
}

/* Section Spacing */
section {
  padding: 4rem 2rem;
}

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

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  text-align: center;
  color: #0f172a;
}

.section-subtitle {
  font-size: 1.1rem;
  color: #64748b;
  text-align: center;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.feature-card {
  background: #f8fafc;
  padding: 2rem;
  border-radius: 0.75rem;
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  border-color: #3b82f6;
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: #0f172a;
}

.feature-card p {
  color: #64748b;
  line-height: 1.7;
}

/* Pricing Section */
.pricing-section {
  background: #f8fafc;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.pricing-card {
  background: white;
  padding: 2.5rem;
  border-radius: 0.75rem;
  border: 2px solid #e2e8f0;
  text-align: center;
  transition: all 0.3s ease;
}

.pricing-card.featured {
  border-color: #3b82f6;
  box-shadow: 0 10px 30px rgba(59, 130, 246, 0.2);
  transform: scale(1.05);
}

.pricing-card:hover {
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.price-tier {
  font-size: 1.25rem;
  color: #64748b;
  margin-bottom: 1rem;
  font-weight: 500;
}

.price {
  font-size: 2.5rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.5rem;
}

.price-note {
  font-size: 0.9rem;
  color: #94a3b8;
  margin-bottom: 1.5rem;
}

.features-list {
  text-align: left;
  margin: 2rem 0;
}

.features-list li {
  list-style: none;
  padding: 0.75rem 0;
  color: #475569;
  border-bottom: 1px solid #e2e8f0;
}

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

.features-list li:before {
  content: "✓ ";
  color: #3b82f6;
  font-weight: bold;
  margin-right: 0.5rem;
}

/* Footer */
footer {
  background: #0f172a;
  color: #cbd5e1;
  padding: 3rem 2rem;
  text-align: center;
  border-top: 1px solid #1e293b;
}

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

.footer-links {
  margin-bottom: 2rem;
}

.footer-links a {
  color: #cbd5e1;
  text-decoration: none;
  margin: 0 1rem;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #3b82f6;
}

footer p {
  margin-bottom: 0.5rem;
}

/* Payment Form */
.payment-container {
  max-width: 500px;
  margin: 3rem auto;
  background: #f8fafc;
  padding: 2.5rem;
  border-radius: 0.75rem;
  border: 1px solid #e2e8f0;
}

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

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: #0f172a;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #cbd5e1;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-family: inherit;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

#stripe-element {
  padding: 0.75rem;
  border: 1px solid #cbd5e1;
  border-radius: 0.5rem;
  margin-bottom: 1.5rem;
}

.submit-button {
  width: 100%;
  padding: 1rem;
  background: #3b82f6;
  color: white;
  border: none;
  border-radius: 0.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
}

.submit-button:hover {
  background: #2563eb;
}

.submit-button:disabled {
  background: #cbd5e1;
  cursor: not-allowed;
}

/* Error Messages */
.error-message {
  color: #dc2626;
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

.success-message {
  color: #16a34a;
  padding: 1rem;
  background: #f0fdf4;
  border-left: 4px solid #16a34a;
  border-radius: 0.25rem;
  margin-bottom: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .nav-links {
    gap: 1rem;
    font-size: 0.9rem;
  }

  .cta-button-secondary {
    display: block;
    margin-left: 0;
    margin-top: 1rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .pricing-card.featured {
    transform: scale(1);
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

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

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

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

.highlighted {
  color: #3b82f6;
  font-weight: 600;
}
