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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: #f5f7fa;
  color: #333;
  line-height: 1.6;
}

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

/* HEADER */
header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 20px 0;
}

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

.logo img {
  height: 50px;
}

nav {
  display: flex;
  gap: 30px;
  align-items: center;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.3s;
}

nav a:hover {
  opacity: 0.8;
}

.btn-login {
  background: white;
  color: #667eea;
  padding: 10px 25px;
  border-radius: 25px;
  font-weight: 600;
}

/* HERO */
.hero-content {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 100px 0;
  text-align: center;
}

.hero-content h1 {
  font-size: 48px;
  margin-bottom: 20px;
  font-weight: 700;
}

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

.btn-primary, .btn-secondary {
  display: inline-block;
  padding: 15px 40px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  margin: 0 10px;
  transition: transform 0.3s, box-shadow 0.3s;
  border: none;
  cursor: pointer;
  font-size: 16px;
}

.btn-primary {
  background: white;
  color: #667eea;
}

.btn-secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.btn-primary:hover, .btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* FEATURES */
.features {
  padding: 80px 0;
  background: white;
}

.features h2 {
  text-align: center;
  font-size: 36px;
  margin-bottom: 60px;
  color: #2c3e50;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.feature-card {
  background: #f8f9fa;
  padding: 40px;
  border-radius: 15px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

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

.feature-card h3 {
  font-size: 22px;
  margin-bottom: 15px;
  color: #2c3e50;
}

.feature-card p {
  color: #6c757d;
  line-height: 1.8;
}

/* PRICING */
.pricing {
  padding: 80px 0;
  background: #f5f7fa;
}

.pricing h2 {
  text-align: center;
  font-size: 36px;
  margin-bottom: 20px;
  color: #2c3e50;
}

.pricing-subtitle {
  text-align: center;
  font-size: 18px;
  color: #6c757d;
  margin-bottom: 60px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1400px;
  margin: 0 auto;
}

.pricing-card {
  background: white;
  border-radius: 20px;
  padding: 40px;
  position: relative;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  transition: transform 0.3s, box-shadow 0.3s;
}

.pricing-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.pricing-card.featured {
  border: 3px solid #667eea;
  transform: scale(1.05);
}

.badge {
  position: absolute;
  top: -15px;
  right: 30px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.plan-header h3 {
  font-size: 24px;
  margin-bottom: 20px;
  color: #2c3e50;
}

.price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  margin-bottom: 30px;
}

.currency {
  font-size: 24px;
  color: #6c757d;
  margin-right: 5px;
}

.amount {
  font-size: 48px;
  font-weight: 700;
  color: #2c3e50;
}

.period {
  font-size: 16px;
  color: #6c757d;
  margin-left: 5px;
}

.features-list {
  list-style: none;
  margin-bottom: 30px;
  text-align: left;
}

.features-list li {
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
  color: #495057;
}

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

.btn-plan {
  width: 100%;
  padding: 15px;
  border-radius: 10px;
  border: 2px solid #667eea;
  background: white;
  color: #667eea;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 16px;
}

.btn-plan.primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
}

.btn-plan:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

/* AI PRICING */
.ai-pricing {
  padding: 80px 0;
  background: white;
}

.ai-pricing h2 {
  text-align: center;
  font-size: 36px;
  margin-bottom: 20px;
  color: #2c3e50;
}

.ai-subtitle {
  text-align: center;
  font-size: 18px;
  color: #6c757d;
  margin-bottom: 60px;
}

.ai-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.ai-card {
  background: linear-gradient(135deg, #f5f7fa 0%, #e9ecef 100%);
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  border: 2px solid transparent;
  transition: all 0.3s;
}

.ai-card:hover {
  border-color: #667eea;
  transform: translateY(-5px);
}

.ai-card h3 {
  font-size: 20px;
  margin-bottom: 15px;
  color: #2c3e50;
}

.ai-card p {
  color: #6c757d;
  margin-bottom: 20px;
  min-height: 50px;
}

.ai-price {
  font-size: 28px;
  font-weight: 700;
  color: #667eea;
  margin-bottom: 20px;
}

.btn-ai {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  border: 2px solid #667eea;
  background: white;
  color: #667eea;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-ai:hover {
  background: #667eea;
  color: white;
}

/* AI NOTE */
.ai-note {
  margin-top: 40px;
  padding: 20px;
  background: linear-gradient(135deg, #fff3cd 0%, #fff8e1 100%);
  border-left: 4px solid #ffc107;
  border-radius: 8px;
  text-align: center;
}

.ai-note p {
  color: #856404;
  font-size: 16px;
  margin: 0;
}

.ai-note strong {
  color: #533f03;
}

/* FOOTER */
footer {
  background: #2c3e50;
  color: white;
  padding: 40px 0;
  text-align: center;
}

.footer-links {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 30px;
}

.footer-links a {
  color: white;
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.3s;
}

.footer-links a:hover {
  opacity: 1;
}

/* MODAL */
.modal {
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background: white;
  padding: 40px;
  border-radius: 20px;
  max-width: 500px;
  width: 90%;
  position: relative;
  animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.close {
  position: absolute;
  right: 20px;
  top: 20px;
  font-size: 30px;
  cursor: pointer;
  color: #6c757d;
}

.close:hover {
  color: #2c3e50;
}

.modal-content h2 {
  margin-bottom: 30px;
  color: #2c3e50;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #2c3e50;
}

.form-group input {
  width: 100%;
  padding: 12px;
  border: 2px solid #e9ecef;
  border-radius: 8px;
  font-size: 16px;
  transition: border-color 0.3s;
}

.form-group input:focus {
  outline: none;
  border-color: #667eea;
}

.form-group small {
  display: block;
  margin-top: 5px;
  color: #6c757d;
  font-size: 12px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 32px;
  }

  .pricing-grid, .ai-grid {
    grid-template-columns: 1fr;
  }

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

  nav {
    flex-direction: column;
    gap: 15px;
  }
}

/* PAYMENT INFO */
.payment-info {
  background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
  padding: 20px;
  border-radius: 12px;
  margin: 20px 0;
  border-left: 4px solid #2196f3;
}

.payment-info p {
  margin: 8px 0;
  color: #1565c0;
  font-size: 14px;
  line-height: 1.6;
}

.payment-info strong {
  color: #0d47a1;
  font-size: 16px;
}
