/* ═══ ResumeForge AI — Landing Page Styles ═══ */
@import './variables.css';

/* ═══ Hero ═══ */
.hero {
  text-align: center;
  padding: 100px var(--space-lg) 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -60%;
  left: -60%;
  width: 220%;
  height: 220%;
  background: radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.12) 0%, transparent 55%);
  animation: heroPulse 10s ease-in-out infinite;
}

@keyframes heroPulse {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.08); opacity: 1; }
}

.hero-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.25);
  padding: 6px 18px;
  border-radius: var(--radius-full);
  font-size: 13px;
  color: var(--primary-light);
  margin-bottom: var(--space-lg);
}

.hero h1 {
  position: relative;
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: var(--space-md);
  color: var(--text-heading);
}

.hero-gradient {
  background: linear-gradient(135deg, #818cf8 0%, #c084fc 50%, #6366f1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  position: relative;
  font-size: 18px;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto var(--space-xl);
  line-height: 1.7;
}

.hero-actions {
  position: relative;
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--space-2xl);
}

.hero-stats {
  position: relative;
  display: flex;
  justify-content: center;
  gap: var(--space-2xl);
  flex-wrap: wrap;
}

.hero-stat {
  text-align: center;
  font-size: 13px;
  color: var(--text-dim);
}

.hero-stat strong {
  display: block;
  font-size: 18px;
  color: var(--text-muted);
}

/* ═══ Sections ═══ */
.section {
  padding: var(--space-3xl) var(--space-lg);
}

.section-alt {
  background: rgba(30, 41, 59, 0.3);
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.section-header h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: var(--space-md);
}

.section-header p {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto;
}

/* ═══ Features Grid ═══ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-lg);
  max-width: 960px;
  margin: 0 auto;
}

.feature-card {
  padding: var(--space-xl);
  transition: all var(--transition-base);
}

.feature-card:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-lg);
  background: rgba(99, 102, 241, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: var(--space-md);
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: var(--space-sm);
}

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

/* ═══ How It Works ═══ */
.steps {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 900px;
  margin: 0 auto;
  gap: 0;
}

.step {
  text-align: center;
  flex: 1;
  max-width: 260px;
}

.step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-md);
}

.step h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: var(--space-sm);
}

.step p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

.step-connector {
  width: 48px;
  height: 2px;
  background: var(--border);
  flex-shrink: 0;
  margin-top: -32px;
}

@media (max-width: 640px) {
  .steps { flex-direction: column; gap: var(--space-xl); }
  .step-connector { width: 2px; height: 24px; margin-top: 0; }
}

/* ═══ Testimonials ═══ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-lg);
  max-width: 960px;
  margin: 0 auto;
}

.testimonial {
  padding: var(--space-xl);
}

.testimonial-stars {
  color: #f59e0b;
  font-size: 14px;
  margin-bottom: var(--space-md);
}

.testimonial p {
  font-size: 15px;
  color: var(--text);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: var(--space-lg);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #fff;
  font-size: 16px;
  flex-shrink: 0;
}

.testimonial-author strong {
  display: block;
  font-size: 14px;
  color: var(--text);
}

.testimonial-author span {
  font-size: 13px;
  color: var(--text-muted);
}

/* ═══ Pricing Preview ═══ */
.pricing-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-lg);
  max-width: 900px;
  margin: 0 auto;
}

.pricing-preview {
  text-align: center;
  padding: var(--space-xl);
  position: relative;
}

.pricing-preview.popular {
  border-color: var(--primary);
  box-shadow: var(--shadow-glow);
}

.pricing-preview h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: var(--space-md);
  color: var(--text-heading);
}

.pricing-preview-price {
  font-size: 40px;
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: var(--space-xs);
}

.pricing-preview-price span {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-muted);
}

.pricing-preview-desc {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: var(--space-lg);
}

.pricing-preview ul {
  list-style: none;
  text-align: left;
  margin-bottom: var(--space-lg);
}

.pricing-preview ul li {
  padding: 6px 0;
  font-size: 14px;
  color: var(--text);
}

.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary), #a855f7);
  color: #fff;
  padding: 4px 16px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
}

/* ═══ FAQ ═══ */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-md);
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
}

.faq-item h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: var(--space-sm);
}

.faq-item p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ═══ CTA Section ═══ */
.cta-section {
  text-align: center;
  padding: var(--space-3xl) var(--space-lg);
  background: linear-gradient(180deg, transparent 0%, rgba(99, 102, 241, 0.08) 100%);
}

.cta-section h2 {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: var(--space-md);
}

.cta-section p {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: var(--space-xl);
}

/* ═══ Footer ═══ */
.footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: var(--space-2xl) var(--space-lg);
}

.footer-grid {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-xl);
}

.footer-brand p {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.6;
}

.footer-links h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: var(--space-md);
}

.footer-links a {
  display: block;
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: var(--space-sm);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--text);
}

.footer-bottom {
  max-width: 960px;
  margin: var(--space-xl) auto 0;
  padding-top: var(--space-lg);
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 13px;
  color: var(--text-dim);
}

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}
