/* ============================================================
   CurriculoOnline – Landing Page Styles
   ============================================================ */

/* ── Background & Layout ─────────────────────────────────── */
.landing-body {
  background: var(--dark-800);
  position: relative;
}

/* Animated radial glow background */
.landing-body::before {
  content: '';
  position: fixed;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(ellipse at center,
    rgba(99,102,241,0.15) 0%,
    rgba(139,92,246,0.08) 40%,
    transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* ── Navbar ──────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-sticky);
  padding: var(--space-4) 0;
  transition: all var(--transition-normal);
}

.navbar.scrolled {
  background: rgba(10,10,30,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  padding: var(--space-3) 0;
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
}

.logo-icon {
  width: 36px;
  height: 36px;
  background: var(--gradient-brand);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: 0 4px 12px rgba(99,102,241,0.4);
}

.logo-text {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.03em;
}
.logo-text span { color: var(--brand-400); }

.navbar-links {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  list-style: none;
}

.navbar-links a {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--transition-fast);
  position: relative;
}

.navbar-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-brand);
  border-radius: var(--radius-full);
  transition: width var(--transition-normal);
}

.navbar-links a:hover { color: var(--text-primary); }
.navbar-links a:hover::after { width: 100%; }

.navbar-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

/* ── Hero ────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  z-index: 1;
  padding-top: 80px;
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(99,102,241,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99,102,241,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
  pointer-events: none;
}

.hero-orbs {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.25;
}
.orb-1 {
  width: 500px; height: 500px;
  background: var(--brand-600);
  top: -100px; right: -100px;
  animation: float 8s ease-in-out infinite;
}
.orb-2 {
  width: 400px; height: 400px;
  background: var(--accent-violet);
  bottom: -100px; left: -100px;
  animation: float 10s ease-in-out infinite reverse;
}
.orb-3 {
  width: 300px; height: 300px;
  background: var(--accent-cyan);
  top: 50%; left: 60%;
  animation: float 6s ease-in-out infinite 2s;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: rgba(99,102,241,0.1);
  border: 1px solid rgba(99,102,241,0.3);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--brand-300);
  margin-bottom: var(--space-8);
  animation: fadeIn 0.6s ease both;
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  background: var(--brand-400);
  border-radius: 50%;
  animation: pulse-glow 2s infinite;
}

.hero-title {
  margin-bottom: var(--space-6);
  animation: fadeIn 0.6s ease 0.1s both;
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.hero-subtitle {
  font-size: clamp(var(--text-lg), 2.5vw, var(--text-xl));
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto var(--space-10);
  line-height: 1.6;
  animation: fadeIn 0.6s ease 0.2s both;
}

.hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
  animation: fadeIn 0.6s ease 0.3s both;
  margin-bottom: var(--space-16);
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-10);
  flex-wrap: wrap;
  animation: fadeIn 0.6s ease 0.4s both;
}

.stat-item {
  text-align: center;
}
.stat-number {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 800;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: var(--space-1);
}
.stat-label {
  font-size: var(--text-sm);
  color: var(--text-muted);
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border-subtle);
}

/* ── Hero Preview ────────────────────────────────────────── */
.hero-preview {
  position: relative;
  margin-top: var(--space-20);
  z-index: 2;
  animation: fadeIn 0.8s ease 0.5s both;
}

.hero-preview-frame {
  background: var(--dark-700);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: 0 40px 120px rgba(0,0,0,0.7), 0 0 0 1px rgba(255,255,255,0.05) inset;
  position: relative;
}

.preview-topbar {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-5);
  background: rgba(0,0,0,0.2);
  border-bottom: 1px solid var(--border-subtle);
}

.preview-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.preview-dot:nth-child(1) { background: #ff5f57; }
.preview-dot:nth-child(2) { background: #ffbd2e; }
.preview-dot:nth-child(3) { background: #28ca41; }

.preview-url {
  margin-left: var(--space-3);
  flex: 1;
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius-sm);
  padding: 4px 12px;
  font-size: var(--text-xs);
  color: var(--text-muted);
  font-family: 'Courier New', monospace;
}

/* ── Section Styles ──────────────────────────────────────── */
.section {
  padding: var(--space-24) 0;
  position: relative;
  z-index: 1;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-400);
  margin-bottom: var(--space-4);
}
.section-label::before {
  content: '';
  width: 20px;
  height: 2px;
  background: var(--brand-400);
  border-radius: var(--radius-full);
}

.section-title { margin-bottom: var(--space-4); }
.section-subtitle {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  max-width: 560px;
  line-height: 1.6;
}

/* ── Features ────────────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-6);
}

.feature-card {
  padding: var(--space-8);
  background: var(--bg-glass);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-xl);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gradient-brand);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-brand);
  box-shadow: var(--shadow-brand);
  background: var(--bg-glass-hover);
}
.feature-card:hover::before { opacity: 1; }

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: var(--space-5);
  position: relative;
}
.feature-icon-1 { background: rgba(99,102,241,0.15); }
.feature-icon-2 { background: rgba(139,92,246,0.15); }
.feature-icon-3 { background: rgba(6,182,212,0.15); }
.feature-icon-4 { background: rgba(16,185,129,0.15); }
.feature-icon-5 { background: rgba(245,158,11,0.15); }
.feature-icon-6 { background: rgba(236,72,153,0.15); }

.feature-card h4 {
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: var(--space-3);
  color: var(--text-primary);
}
.feature-card p { font-size: var(--text-sm); line-height: 1.7; }

/* ── How it Works ────────────────────────────────────────── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-8);
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-medium), transparent);
}

.step-item { text-align: center; position: relative; }

.step-number {
  width: 80px;
  height: 80px;
  background: var(--gradient-brand);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 800;
  color: white;
  margin: 0 auto var(--space-5);
  box-shadow: 0 8px 24px rgba(99,102,241,0.4);
  position: relative;
  z-index: 1;
  background-size: 200% 200%;
  animation: gradient-shift 4s ease infinite;
}

.step-item h4 {
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--space-2);
}
.step-item p { font-size: var(--text-sm); }

/* ── Templates Preview ───────────────────────────────────── */
.templates-preview {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
  overflow: hidden;
}

.template-thumb {
  aspect-ratio: 3/4;
  border-radius: var(--radius-lg);
  border: 2px solid var(--border-subtle);
  overflow: hidden;
  transition: all var(--transition-normal);
  cursor: pointer;
  position: relative;
}

.template-thumb:hover {
  border-color: var(--brand-500);
  transform: scale(1.02);
  box-shadow: 0 12px 40px rgba(99,102,241,0.3);
  z-index: 2;
}

.template-thumb-inner {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-3xl);
  font-weight: 800;
}

/* ── Pricing ─────────────────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-6);
  max-width: 960px;
  margin: 0 auto;
}

.pricing-card {
  padding: var(--space-8);
  background: var(--bg-glass);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-2xl);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.pricing-card.popular {
  background: rgba(99,102,241,0.1);
  border-color: var(--brand-500);
  box-shadow: 0 0 60px rgba(99,102,241,0.2);
}

.popular-badge {
  position: absolute;
  top: var(--space-5);
  right: var(--space-5);
  background: var(--gradient-brand);
  color: white;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.pricing-name {
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--space-2);
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: var(--space-1);
  margin-bottom: var(--space-6);
}
.price-currency {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--text-secondary);
}
.price-amount {
  font-family: var(--font-display);
  font-size: var(--text-5xl);
  font-weight: 900;
  line-height: 1;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.price-period {
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.pricing-features {
  list-style: none;
  margin-bottom: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.pricing-features li {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--text-secondary);
}
.pricing-features li .check { color: var(--success); flex-shrink: 0; }
.pricing-features li .cross { color: var(--text-muted); flex-shrink: 0; }
.pricing-features li.disabled { color: var(--text-muted); }

/* ── FAQ ─────────────────────────────────────────────────── */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.faq-item {
  background: var(--bg-glass);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-normal);
}
.faq-item:hover { border-color: var(--border-medium); }

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-5) var(--space-6);
  cursor: pointer;
  font-weight: 600;
  font-size: var(--text-base);
  user-select: none;
  gap: var(--space-4);
}

.faq-chevron {
  color: var(--text-muted);
  transition: transform var(--transition-normal);
  flex-shrink: 0;
}
.faq-item.open .faq-chevron { transform: rotate(180deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow) ease;
}
.faq-item.open .faq-answer { max-height: 300px; }

.faq-answer-inner {
  padding: 0 var(--space-6) var(--space-5);
  color: var(--text-secondary);
  font-size: var(--text-sm);
  line-height: 1.7;
}

/* ── CTA Section ─────────────────────────────────────────── */
.cta-section {
  padding: var(--space-24) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-card {
  background: linear-gradient(135deg, rgba(99,102,241,0.15) 0%, rgba(139,92,246,0.1) 50%, rgba(236,72,153,0.08) 100%);
  border: 1px solid rgba(99,102,241,0.3);
  border-radius: var(--radius-2xl);
  padding: var(--space-20) var(--space-10);
  position: relative;
  overflow: hidden;
}

.cta-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(99,102,241,0.2) 0%, transparent 70%);
  pointer-events: none;
}

/* ── Footer ──────────────────────────────────────────────── */
.footer {
  padding: var(--space-16) 0 var(--space-8);
  border-top: 1px solid var(--border-subtle);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: var(--space-10);
  margin-bottom: var(--space-12);
}

.footer-brand p {
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-top: var(--space-4);
  max-width: 280px;
  line-height: 1.7;
}

.footer-col h6 {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-4);
  letter-spacing: 0.025em;
  text-transform: uppercase;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: var(--space-3); }
.footer-col li a {
  font-size: var(--text-sm);
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition-fast);
}
.footer-col li a:hover { color: var(--text-primary); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-8);
  border-top: 1px solid var(--border-subtle);
}
.footer-bottom p { font-size: var(--text-sm); color: var(--text-muted); }

/* ── Testimonials ────────────────────────────────────────── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-6);
}

.testimonial-card {
  padding: var(--space-6);
  background: var(--bg-glass);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-xl);
}

.testimonial-stars {
  color: var(--accent-amber);
  font-size: var(--text-lg);
  margin-bottom: var(--space-4);
  letter-spacing: 2px;
}

.testimonial-text {
  font-size: var(--text-sm);
  line-height: 1.7;
  margin-bottom: var(--space-5);
  font-style: italic;
}

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

.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gradient-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: var(--text-sm);
  flex-shrink: 0;
}

.author-name { font-weight: 600; font-size: var(--text-sm); }
.author-role { font-size: var(--text-xs); color: var(--text-muted); }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .templates-preview { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .navbar-links, .navbar-actions .btn-ghost { display: none; }
  .hero-stats { gap: var(--space-6); }
  .stat-divider { display: none; }
  .steps-grid::before { display: none; }
  .templates-preview { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: var(--space-8); }
  .footer-bottom { flex-direction: column; gap: var(--space-4); text-align: center; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; }
}
