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

/* ═══ Breadcrumb (global) ═══ */
nav.breadcrumb,.breadcrumb{display:flex;gap:8px;font-size:.85rem;color:var(--text-muted);flex-wrap:wrap}
nav.breadcrumb a,.breadcrumb a{color:var(--primary);text-decoration:none}
nav.breadcrumb a:hover,.breadcrumb a:hover{text-decoration:underline}

/* ═══ 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 Carousel ═══ */
.carousel-wrap{position:relative;max-width:960px;margin:0 auto}
.carousel-viewport{overflow:hidden;border-radius:16px}
.carousel-track{display:flex;transition:transform .5s cubic-bezier(.25,.1,.25,1)}
.carousel-slide{flex:0 0 calc(100%/3);padding:0 12px;box-sizing:border-box}
.testimonial-card{background:var(--bg-card);border:1px solid var(--border);border-radius:14px;padding:28px;height:100%;display:flex;flex-direction:column}
.testimonial-card .stars{color:#f59e0b;font-size:1.1rem;margin-bottom:12px;letter-spacing:2px}
.testimonial-card blockquote{flex:1;margin:0 0 20px;font-size:.95rem;line-height:1.7;color:var(--text)}
.testimonial-card blockquote::before{content:'\201C';font-size:2.5rem;color:var(--primary);line-height:0;vertical-align:bottom;margin-right:4px;font-family:Georgia,serif}
.testimonial-author{display:flex;align-items:center;gap:12px;margin-top:auto}
.testimonial-author .avatar{width:44px;height:44px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#fff;font-weight:700;font-size:1.1rem;flex-shrink:0}
.testimonial-author strong{display:block;font-size:.9rem;color:var(--text)}
.testimonial-author span{display:block;font-size:.8rem;color:var(--text-muted)}
.carousel-arrow{position:absolute;top:50%;transform:translateY(-50%);width:42px;height:42px;border-radius:50%;background:var(--bg-card);border:1px solid var(--border);cursor:pointer;font-size:1.2rem;display:flex;align-items:center;justify-content:center;z-index:2;transition:all .2s;color:var(--text);box-shadow:0 2px 8px rgba(0,0,0,.08)}
.carousel-arrow:hover{background:var(--primary);color:#fff;border-color:var(--primary)}
.carousel-arrow.prev{left:-8px}
.carousel-arrow.next{right:-8px}
.carousel-dots{display:flex;justify-content:center;gap:8px;margin-top:20px}
.carousel-dots button{width:10px;height:10px;border-radius:50%;border:none;background:var(--border);cursor:pointer;padding:0;transition:all .3s}
.carousel-dots button.active{background:var(--primary);width:28px;border-radius:5px}
.testimonials-view-all{text-align:center;margin-top:32px}
.testimonials-view-all a{font-size:.95rem;color:var(--primary);text-decoration:none;font-weight:600}
.testimonials-view-all a:hover{text-decoration:underline}
@media(max-width:900px){.carousel-slide{flex:0 0 50%}}
@media(max-width:600px){.carousel-slide{flex:0 0 100%}.carousel-arrow{width:34px;height:34px;font-size:1rem}.carousel-arrow.prev{left:0}.carousel-arrow.next{right:0}}

/* ═══ 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; }
}

/* ═══ Trust Bar ═══ */
.trust-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 20px 24px;
  max-width: 960px;
  margin: 0 auto;
}

.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 16px;
}

/* ═══ Comparison Table ═══ */
.comparison-table-wrapper {
  max-width: 800px;
  margin: 0 auto;
  overflow-x: auto;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.comparison-table th,
.comparison-table td {
  padding: 14px 16px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.comparison-table th {
  font-weight: 600;
  color: var(--text);
  background: var(--card-bg);
  font-size: 13px;
}

.comparison-table th:first-child,
.comparison-table td:first-child {
  text-align: left;
  color: var(--text-muted);
  font-weight: 500;
}

.comparison-table td {
  color: var(--text-muted);
}

.cmp-highlight {
  color: var(--primary) !important;
  background: rgba(99, 102, 241, 0.04);
}

.cmp-highlight th {
  color: var(--primary) !important;
}

/* ═══ Sticky Mobile CTA ═══ */
.mobile-cta-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 16px;
  background: var(--bg);
  border-top: 1px solid var(--border);
  z-index: 1000;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
  .mobile-cta-bar {
    display: block;
  }
  body {
    padding-bottom: 72px;
  }
}
