/* ============================================
   Home page · Glassmorphism Studio Layout
   ============================================ */

/* ===== HERO ===== */
.hero {
  padding-top: clamp(3rem, 6vw, 5rem);
  padding-bottom: clamp(3rem, 6vw, 6rem);
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
@media (max-width: 968px) {
  .hero-grid { grid-template-columns: 1fr; gap: 3rem; }
}
.hero-content h1 { letter-spacing: -0.035em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.875rem; }
.hero-meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-soft);
}
@media (max-width: 540px) { .hero-meta { grid-template-columns: repeat(2, 1fr); } }
.meta-item { display: flex; flex-direction: column; gap: 0.125rem; }
.meta-item strong {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.meta-item span { font-size: 0.8125rem; color: var(--text-tertiary); font-weight: 500; }

/* ===== Hero Visual / Resume Preview ===== */
.hero-visual {
  position: relative;
  height: clamp(420px, 50vw, 560px);
  display: flex;
  align-items: center;
  justify-content: center;
}
.resume-preview {
  width: clamp(280px, 90%, 380px);
  padding: 1.75rem;
  border-radius: var(--radius-xl);
  position: relative;
  z-index: 2;
  animation: float 7s ease-in-out infinite;
}
.rp-header {
  display: flex;
  gap: 1rem;
  align-items: center;
  padding-bottom: 1.25rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-soft);
}
.rp-avatar {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--grad-brand);
  flex-shrink: 0;
  position: relative;
}
.rp-avatar::after {
  content: 'AM';
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  color: white; font-weight: 700; font-size: 0.95rem; letter-spacing: -0.02em;
  font-family: var(--font-display);
}
.rp-name { font-family: var(--font-display); font-weight: 700; font-size: 1.0625rem; color: var(--text-primary); }
.rp-role { font-size: 0.8125rem; color: var(--text-tertiary); }

.rp-section { margin-bottom: 1.25rem; }
.rp-section:last-child { margin-bottom: 0; }
.rp-label {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--c-indigo);
  margin-bottom: 0.625rem;
}
.rp-bar {
  height: 8px;
  background: linear-gradient(90deg, rgba(99,102,241,0.25), rgba(99,102,241,0.08));
  border-radius: 999px;
  margin-bottom: 0.5rem;
}
.rp-bar:last-child { margin-bottom: 0; }
.rp-tags { display: flex; flex-wrap: wrap; gap: 0.375rem; }
.rp-tags span {
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.25rem 0.625rem;
  border-radius: 999px;
  background: var(--grad-brand-soft);
  color: var(--c-indigo);
  border: 1px solid rgba(99, 102, 241, 0.18);
}

/* Floating cards */
.hero-floating-card,
.hero-floating-card-2 {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1.125rem;
  border-radius: var(--radius-lg);
  z-index: 3;
  animation: float 5s ease-in-out infinite;
}
.hero-floating-card { top: 12%; right: -2%; animation-delay: 0.5s; }
.hero-floating-card-2 { bottom: 8%; left: -4%; animation-delay: 1.2s; }
@media (max-width: 968px) { .hero-floating-card, .hero-floating-card-2 { display: none; } }
.fc-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, #10b981, #06b6d4);
  display: flex; align-items: center; justify-content: center;
  color: white; font-weight: 700; font-size: 0.875rem;
  flex-shrink: 0;
}
.hero-floating-card strong, .hero-floating-card-2 strong {
  display: block; font-size: 0.875rem; font-weight: 700; line-height: 1.2;
}
.hero-floating-card span, .hero-floating-card-2 span {
  font-size: 0.75rem; color: var(--text-tertiary);
}

/* ===== Trust Strip ===== */
.trust-strip {
  padding-block: 2.5rem;
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  background: var(--bg-secondary);
}
.trust-label {
  text-align: center;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}
.trust-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--text-tertiary);
  letter-spacing: -0.01em;
}
.trust-logos span { opacity: 0.7; transition: opacity 0.2s; }
.trust-logos span:hover { opacity: 1; color: var(--text-primary); }

/* ===== Features ===== */
.features-grid { gap: 1.25rem; }
.feature-card { padding: 1.75rem; }
.feat-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
  box-shadow: 0 6px 18px rgba(99, 102, 241, 0.25);
}
.feature-card h3 { margin-bottom: 0.5rem; }
.feature-card p { color: var(--text-secondary); font-size: 0.9375rem; line-height: 1.6; }

/* ===== How it works ===== */
.steps { gap: 1.25rem; }
.step { padding: 2rem 1.75rem; position: relative; }
.step-num {
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 1rem;
}
.step h3 { margin-bottom: 0.5rem; }
.step p { color: var(--text-secondary); font-size: 0.9375rem; }

/* ===== Templates Preview ===== */
.template-preview-grid { gap: 1.25rem; }
.tp-card { padding: 0.75rem; cursor: pointer; }
.tp-thumb {
  width: 100%;
  aspect-ratio: 3/4;
  border-radius: var(--radius-lg);
  background: var(--bg-tertiary);
  position: relative;
  overflow: hidden;
  margin-bottom: 0.625rem;
  border: 1px solid var(--border-soft);
}
.tp-thumb::before, .tp-thumb::after {
  content: '';
  position: absolute;
  left: 12%; right: 12%;
  background: rgba(15, 23, 42, 0.10);
  border-radius: 4px;
}
.tp-thumb::before { top: 14%; height: 6px; }
.tp-thumb::after { top: 24%; height: 4px; right: 30%; }

.tp-1 { background: linear-gradient(180deg, #6366f1 0%, #6366f1 22%, #fff 22%); }
.tp-2 { background: #fff; }
.tp-2::before, .tp-2::after { background: rgba(15,23,42,0.18); }
.tp-3 { background: linear-gradient(180deg, #0f172a 0%, #0f172a 28%, #fff 28%); }
.tp-3::before { background: rgba(255,255,255,0.7); top: 8%; }
.tp-3::after { background: rgba(255,255,255,0.5); top: 16%; }
.tp-4 { background: linear-gradient(135deg, #ec4899, #7c3aed); }
.tp-4::before, .tp-4::after { background: rgba(255,255,255,0.4); }
.tp-5 { background: #fafafe; }
.tp-5::before, .tp-5::after { background: rgba(15,23,42,0.10); }
.tp-6 { background: linear-gradient(180deg, #06b6d4 0%, #06b6d4 18%, #fff 18%); }
.tp-7 { background: linear-gradient(90deg, #475569 0%, #475569 32%, #fff 32%); }
.tp-7::before { background: rgba(255,255,255,0.6); left: 5%; right: 70%; top: 14%; }
.tp-7::after { background: rgba(15,23,42,0.15); left: 38%; right: 12%; top: 14%; }
.tp-8 { background: linear-gradient(135deg, #10b981, #06b6d4); }
.tp-8::before, .tp-8::after { background: rgba(255,255,255,0.35); }

.tp-name {
  text-align: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--text-secondary);
  padding: 0.5rem 0 0.25rem;
}

/* ===== CTA Section ===== */
.cta-section { padding-bottom: 6rem; }
.cta-card {
  position: relative;
  padding: clamp(3rem, 8vw, 5rem) clamp(1.5rem, 6vw, 4rem);
  text-align: center;
  border-radius: var(--radius-3xl);
  overflow: hidden;
  background: var(--bg-glass-strong);
  border: 1px solid var(--border-glass);
}
.cta-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(124,58,237,0.18) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 100%, rgba(6,182,212,0.18) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 20% 100%, rgba(236,72,153,0.12) 0%, transparent 60%);
  pointer-events: none;
}
.cta-content { position: relative; z-index: 1; max-width: 720px; margin-inline: auto; }
.cta-content .hero-actions { justify-content: center; }
