/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-family: system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #2d3748;
  background: #ffffff;
  scroll-behavior: smooth;
}

body { min-height: 100vh; }

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

/* ===== HEADER ===== */
.header {
  position: sticky;
  top: 0;
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  z-index: 100;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

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

.logo {
  font-size: 20px;
  font-weight: 700;
  color: #8b7fc7;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav {
  display: flex;
  gap: 24px;
}

.nav a {
  color: #718096;
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  transition: color 0.2s;
}

.nav a:hover {
  color: #8b7fc7;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
}

.btn-primary {
  background: #8b7fc7;
  color: #ffffff;
}

.btn-primary:hover {
  background: #7a6db8;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(139, 127, 199, 0.3);
}

.btn-secondary {
  background: #e8e4f0;
  color: #4a5568;
}

.btn-secondary:hover {
  background: #d6d0e8;
}

.btn-lg {
  padding: 14px 28px;
  font-size: 16px;
}

.btn-block {
  display: block;
  width: 100%;
}

/* ===== HERO ===== */
.hero {
  padding: 80px 0;
  background: linear-gradient(135deg, #f7f5fb 0%, #ffffff 100%);
  border-bottom: 1px solid #e8e4f0;
}

.hero-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #2d3748;
}

.highlight {
  color: #8b7fc7;
  display: block;
}

.hero-subtitle {
  font-size: 20px;
  color: #718096;
  margin-bottom: 32px;
  line-height: 1.6;
}

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

.hero-stats {
  display: flex;
  gap: 48px;
  justify-content: center;
  padding: 32px 0;
  border-top: 1px solid #e8e4f0;
}

.stat {
  text-align: center;
}

.stat-value {
  font-size: 36px;
  font-weight: 700;
  color: #8b7fc7;
  display: block;
}

.stat-label {
  font-size: 13px;
  color: #a0aec0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 4px;
}

/* ===== SECTIONS ===== */
.section {
  padding: 80px 0;
}

.section-alt {
  background: #fafafa;
}

.section-title {
  font-size: 36px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 48px;
  color: #2d3748;
}

/* ===== PROBLEMS ===== */
.problems {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.problem-card {
  background: #ffffff;
  padding: 32px;
  border-radius: 12px;
  border: 2px solid #e8e4f0;
  text-align: center;
}

.problem-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.problem-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #2d3748;
}

.problem-card p {
  color: #718096;
  font-size: 15px;
}

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

.feature {
  background: #ffffff;
  padding: 32px;
  border-radius: 12px;
  border: 2px solid #e8e4f0;
  transition: all 0.3s;
}

.feature:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(139, 127, 199, 0.15);
  border-color: #8b7fc7;
}

.feature-icon {
  font-size: 40px;
  margin-bottom: 16px;
}

.feature h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #2d3748;
}

.feature p {
  color: #718096;
  font-size: 15px;
  line-height: 1.6;
}

.feature-badge {
  display: inline-block;
  margin-top: 12px;
  padding: 4px 12px;
  background: #c6f6d5;
  color: #276749;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 600;
}

/* ===== COMPARISON ===== */
.comparison {
  overflow-x: auto;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.comparison-table th {
  background: #f7f5fb;
  padding: 16px;
  text-align: left;
  font-weight: 700;
  color: #2d3748;
  border-bottom: 2px solid #e8e4f0;
}

.comparison-table td {
  padding: 16px;
  border-bottom: 1px solid #f0edf5;
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.comparison-table .good {
  color: #276749;
  font-weight: 600;
}

.comparison-table .bad {
  color: #c53030;
}

.comparison-table .neutral {
  color: #718096;
}

.comparison-note {
  margin-top: 24px;
  text-align: center;
  font-size: 16px;
  color: #718096;
}

/* ===== PRICING ===== */
.pricing-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.pricing-card {
  background: #ffffff;
  padding: 40px 32px;
  border-radius: 12px;
  border: 2px solid #e8e4f0;
  position: relative;
}

.pricing-card-featured {
  border-color: #8b7fc7;
  box-shadow: 0 8px 24px rgba(139, 127, 199, 0.2);
  transform: scale(1.05);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #8b7fc7;
  color: #ffffff;
  padding: 4px 16px;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.pricing-card h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 16px;
  text-align: center;
  color: #2d3748;
}

.price {
  font-size: 48px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 24px;
  color: #8b7fc7;
}

.price span {
  font-size: 18px;
  font-weight: 600;
  color: #a0aec0;
}

.pricing-features {
  list-style: none;
  margin-bottom: 32px;
}

.pricing-features li {
  padding: 8px 0;
  color: #4a5568;
  font-size: 15px;
}

.pricing-note {
  text-align: center;
  margin-top: 32px;
  font-size: 16px;
  color: #718096;
}

/* ===== TESTIMONIALS ===== */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial {
  background: #ffffff;
  padding: 24px;
  border-radius: 12px;
  border: 2px solid #e8e4f0;
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #8b7fc7;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
}

.testimonial-info h4 {
  font-size: 16px;
  font-weight: 700;
  color: #2d3748;
}

.testimonial-info p {
  font-size: 13px;
  color: #a0aec0;
}

.testimonial-text {
  color: #4a5568;
  font-size: 15px;
  line-height: 1.6;
}

/* Skeleton loader */
.testimonial-skeleton {
  background: #ffffff;
  padding: 24px;
  border-radius: 12px;
  border: 2px solid #e8e4f0;
}

.skeleton-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #e8e4f0;
  margin-bottom: 16px;
  animation: pulse 1.5s infinite;
}

.skeleton-text {
  height: 16px;
  background: #e8e4f0;
  border-radius: 4px;
  margin-bottom: 8px;
  animation: pulse 1.5s infinite;
}

.skeleton-text.short {
  width: 60%;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* ===== CTA ===== */
.cta-section {
  background: linear-gradient(135deg, #8b7fc7 0%, #7a6db8 100%);
  color: #ffffff;
  text-align: center;
}

.cta-section h2 {
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 16px;
  color: #ffffff;
}

.cta-section p {
  font-size: 18px;
  margin-bottom: 32px;
  color: rgba(255,255,255,0.9);
}

.cta-form {
  display: flex;
  gap: 12px;
  max-width: 600px;
  margin: 0 auto 24px;
}

.cta-form input {
  flex: 1;
  padding: 14px 20px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
}

.cta-note {
  font-size: 14px;
  color: rgba(255,255,255,0.8);
}

/* ===== FOOTER ===== */
.footer {
  background: #2d3748;
  color: #cbd5e0;
  padding: 48px 0 24px;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 32px;
}

.footer-brand .logo {
  color: #8b7fc7;
  margin-bottom: 12px;
}

.footer-brand p {
  color: #a0aec0;
}

.footer-links h4 {
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 12px;
}

.footer-links a {
  display: block;
  color: #cbd5e0;
  text-decoration: none;
  margin-bottom: 8px;
  font-size: 14px;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #8b7fc7;
}

.footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid #4a5568;
  color: #a0aec0;
  font-size: 14px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero h1 { font-size: 32px; }
  .hero-subtitle { font-size: 16px; }
  .hero-cta { flex-direction: column; }
  .hero-stats { flex-direction: column; gap: 24px; }
  
  .problems,
  .features,
  .pricing-cards,
  .testimonials {
    grid-template-columns: 1fr;
  }
  
  .pricing-card-featured {
    transform: none;
  }
  
  .nav { display: none; }
  
  .cta-form { flex-direction: column; }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}