/* ═══════════════════════════════════════
   LANDING PAGE — page-specific styles
   Requires: shared.css
═══════════════════════════════════════ */


/* ═══════════════════════════════════════
   HERO
═══════════════════════════════════════ */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 80px 48px 60px;
  padding-top: max(80px, calc(56px + 40px));
  position: relative;
}

.hero-inner {
  max-width: 820px;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(60px, 8vw, 110px);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -2px;
  color: var(--text);
  margin-bottom: 40px;
}

.hero-accent {
  color: var(--gold);
}

.hero-sub {
  font-size: 19px;
  line-height: 1.7;
  color: var(--text-2);
  max-width: 560px;
  margin: 0 auto 56px;
}

/* Stat pull-quote */
.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 36px 64px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  margin: 0 auto;
}
.stat-row {
  display: flex;
  align-items: baseline;
  gap: 0;
  white-space: nowrap;
}

.stat-from {
  font-family: var(--font-display);
  font-size: 72px;
  color: var(--muted);
  letter-spacing: -2px;
  line-height: 1;
}
.stat-arrow {
  font-size: 36px;
  color: var(--muted);
  margin: 0 20px;
}
.stat-to {
  font-family: var(--font-display);
  font-size: 72px;
  color: var(--gold-bright);
  letter-spacing: -2px;
  line-height: 1;
}
.stat-label {
  width: 100%;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.5px;
  margin-top: 12px;
}
.stat-ats {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-2);
  letter-spacing: 1.5px;
}

/* Self-aware proof */
.hero-proof {
  margin-top: 48px;
  max-width: 480px;
  text-align: center;
}
.hero-proof p {
  font-size: 14px;
  font-style: italic;
  color: var(--muted);
  line-height: 1.7;
  border-left: 2px solid var(--border);
  padding-left: 16px;
  text-align: left;
}

/* Inline CTAs (hero + after comparison) */
.hero-cta {
  margin-top: 36px;
}
.comparison-cta {
  text-align: center;
  margin-top: 48px;
}


/* ═══════════════════════════════════════
   BEFORE / AFTER COMPARISON
═══════════════════════════════════════ */
.comparison {
  padding: 80px 48px 100px;
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
}

.comparison-header {
  text-align: center;
  margin-bottom: 56px;
}
.comparison-header h2 {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 400;
  color: var(--text);
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}
.comparison-header em {
  color: var(--gold);
}
.comparison-sub {
  font-size: 16px;
  color: var(--text-2);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.6;
}

.comparison-grid {
  display: flex;
  justify-content: center;
  gap: 32px;
  align-items: start;
  flex-wrap: wrap;
}

/* CV panels */
.cv-panel {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  width: 500px;
  max-width: 100%;
  user-select: none;
  -webkit-user-select: none;
}
.cv-after {
  width: 540px;
  max-width: 100%;
}

/* After card — resting tilt + float + gold shadow */
.cv-after {
  transform: perspective(800px) rotateX(-2deg) rotateY(3deg);
  animation: cvFloat 6s ease-in-out infinite;
  box-shadow: 0 20px 60px rgba(212, 165, 116, 0.12), 0 4px 16px rgba(0,0,0,0.15);
  transition: transform 0.15s ease-out;
}

@keyframes cvFloat {
  0%, 100% { translate: 0 0; }
  50%      { translate: 0 -8px; }
}

.cv-badge {
  display: inline-block;
  padding: 6px 16px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: 8px 0 8px 0;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
}
.badge-before {
  background: rgba(148, 163, 184, 0.08);
  color: var(--text-2);
  border: 1px solid rgba(148, 163, 184, 0.15);
}
.badge-after {
  background: var(--gold-dim);
  color: var(--gold);
  border: 1px solid rgba(212, 165, 116, 0.2);
}

/* CV document styling */
.cv-doc {
  background: #FAFAF8;
  color: #1a1a1a;
  padding: 32px 28px 24px;
  font-size: 12.5px;
  line-height: 1.55;
  border: 1px solid rgba(255,255,255,0.06);
}

.cv-before .cv-doc {
  opacity: 0.75;
  filter: saturate(0.4);
}

.cv-header-block {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 2px solid #1a1a1a;
}
.cv-photo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}
.cv-name {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #1a1a1a;
}
.cv-contact {
  font-size: 11px;
  color: #666;
  margin-top: 2px;
}

.cv-section {
  margin-bottom: 14px;
}
.cv-sec-title {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #1a1a1a;
  border-bottom: 1px solid #ddd;
  padding-bottom: 4px;
  margin-bottom: 8px;
}
.cv-summary {
  font-size: 12px;
  line-height: 1.6;
  color: #333;
}

.cv-entry { margin-bottom: 12px; }
.cv-entry-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.cv-entry-title {
  font-weight: 600;
  font-size: 13px;
  color: #1a1a1a;
}
.cv-entry-date {
  font-size: 11px;
  color: #888;
}
.cv-entry-sub {
  font-size: 11px;
  color: #666;
  margin-bottom: 6px;
}

.cv-doc ul {
  padding-left: 16px;
  margin: 0;
}
.cv-doc li {
  font-size: 12px;
  color: #444;
  margin-bottom: 3px;
  line-height: 1.5;
  position: relative;
}

/* After CV: highlight strong numbers */
.cv-after .cv-doc {
  opacity: 1;
  filter: none;
}
.cv-after .cv-doc strong {
  color: var(--gold-on-light);
  background: rgba(212, 165, 116, 0.08);
  padding: 1px 4px;
  border-radius: 3px;
  font-weight: 600;
}
.cv-after .cv-sec-title {
  color: var(--gold-on-light);
  border-bottom-color: var(--gold);
}

/* Skills */
.cv-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.cv-skills span {
  font-size: 11px;
  padding: 3px 8px;
  background: #f0f0f0;
  border-radius: 4px;
  color: #555;
}
.cv-skills-after span {
  background: rgba(212, 165, 116, 0.08);
  color: var(--gold-on-light);
  border: 1px solid rgba(212, 165, 116, 0.15);
}
.skill-weak {
  text-decoration: line-through;
  opacity: 0.5;
}

/* Annotations (editorial red-pen marks) */
.annotated-block {
  position: relative;
  border-left: 2px solid var(--muted);
  padding-left: 10px;
}
.annotated-line {
  position: relative;
}
.annotation {
  display: inline-block;
  font-size: 10px;
  font-style: italic;
  color: var(--muted);
  margin-left: 8px;
  white-space: nowrap;
  opacity: 0.9;
}
.annotation::before {
  content: '← ';
}

/* Verdict labels */
.cv-verdict {
  text-align: center;
  padding: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
}
.verdict-before {
  background: rgba(148, 163, 184, 0.06);
  color: var(--text-2);
}
.verdict-after {
  background: var(--gold-dim);
  color: var(--gold);
}


/* ═══════════════════════════════════════
   HOW IT WORKS (STEPS)
═══════════════════════════════════════ */
.steps {
  padding: 100px 48px;
  background: #F5F2EB;
  position: relative;
}

/* Diagonal top edge */
.steps::before {
  content: '';
  position: absolute;
  top: -60px;
  left: 0;
  right: 0;
  height: 60px;
  background: #F5F2EB;
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
}

.steps-inner {
  max-width: 960px;
  margin: 0 auto;
  position: relative;
}

.steps-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 400;
  color: #1a1a1a;
  text-align: center;
  letter-spacing: -0.5px;
  margin-bottom: 64px;
}

/* Horizontal connecting line */
.steps-line {
  position: absolute;
  top: 168px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: rgba(0,0,0,0.12);
}

.steps-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 48px;
  text-align: center;
}

.step-col {
  position: relative;
}

.step-num {
  font-family: var(--font-display);
  font-size: 64px;
  color: rgba(0,0,0,0.06);
  line-height: 1;
  margin-bottom: 16px;
  transition: color 0.4s ease;
}
.step-col:hover .step-num {
  color: rgba(212, 165, 116, 0.15);
}

.step-name {
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 10px;
}

.step-desc {
  font-size: 15px;
  color: #666;
  line-height: 1.65;
  max-width: 260px;
  margin: 0 auto;
}


/* ═══════════════════════════════════════
   INTERVIEW PREVIEW
═══════════════════════════════════════ */
.interview-preview {
  padding: 100px 48px;
  background: var(--bg);
  position: relative;
}

/* Diagonal top edge (dark over cream) */
.interview-preview::before {
  content: '';
  position: absolute;
  top: -60px;
  left: 0;
  right: 0;
  height: 60px;
  background: var(--bg);
  clip-path: polygon(0 0, 0 100%, 100% 100%);
}

.interview-inner {
  max-width: 560px;
  margin: 0 auto;
}

.interview-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 3.5vw, 44px);
  font-weight: 400;
  color: var(--text);
  text-align: center;
  letter-spacing: -0.3px;
  margin-bottom: 48px;
}

.interview-flow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.interview-card {
  width: 100%;
  padding: 24px 28px;
  border-radius: var(--radius);
  position: relative;
}
.interview-card p {
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
}
.interview-card em {
  color: var(--text-2);
  font-style: italic;
}
.interview-card strong {
  color: var(--gold);
}

.interview-card-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.interview-question {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
}
.interview-question .interview-card-label { color: var(--gold); }

.interview-answer {
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text-2);
}
.interview-answer .interview-card-label { color: var(--gold-muted); }
.interview-answer p {
  font-style: italic;
}

.interview-result {
  background: var(--gold-dim);
  border: 1px solid rgba(212, 165, 116, 0.2);
  color: var(--text);
}
.interview-result .interview-card-label { color: var(--gold); }

.interview-arrow {
  font-size: 20px;
  color: var(--muted);
  padding: 12px 0;
  user-select: none;
}


/* ═══════════════════════════════════════
   PORTFOLIO CAROUSEL
═══════════════════════════════════════ */
.portfolio {
  padding: 80px 0 100px;
}

.portfolio-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 3.5vw, 44px);
  font-weight: 400;
  font-style: italic;
  color: var(--text);
  text-align: center;
  letter-spacing: -0.3px;
  margin-bottom: 48px;
}

.carousel-container {
  position: relative;
  overflow: hidden;
  padding: 20px 0;
}

.carousel-fade {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.carousel-fade-left {
  left: 0;
  background: linear-gradient(90deg, var(--bg) 0%, transparent 100%);
}
.carousel-fade-right {
  right: 0;
  background: linear-gradient(-90deg, var(--bg) 0%, transparent 100%);
}

.carousel-track {
  display: flex;
  gap: 28px;
  will-change: transform;
}

.carousel-card {
  flex-shrink: 0;
  width: 320px;
  transition: transform 0.35s ease;
}
.carousel-card:hover {
  transform: scale(1.04) translateY(-4px);
}

.carousel-iframe-wrap {
  width: 320px;
  height: 420px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: white;
  position: relative;
}
.carousel-iframe-wrap iframe {
  width: 800px;
  height: 1060px;
  border: none;
  transform: scale(0.4);
  transform-origin: top left;
  pointer-events: none;
}

.carousel-label {
  text-align: center;
  font-size: 13px;
  color: var(--text-2);
  margin-top: 12px;
  letter-spacing: 0.3px;
}


/* ═══════════════════════════════════════
   FINAL CTA
═══════════════════════════════════════ */
.cta-final {
  padding: 140px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Subtle radial glow instead of gradient */
.cta-final::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(212, 165, 116, 0.06) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.cta-inner {
  position: relative;
  z-index: 1;
}

.cta-headline {
  font-family: var(--font-display);
  font-size: clamp(44px, 5vw, 72px);
  font-weight: 400;
  color: var(--text);
  letter-spacing: -1px;
  line-height: 1.05;
  margin-bottom: 20px;
}

.cta-sub {
  font-size: 18px;
  color: var(--text-2);
  margin-bottom: 16px;
  line-height: 1.6;
}
.cta-price {
  font-size: 16px;
  color: var(--muted);
  margin-bottom: 36px;
  letter-spacing: 0.5px;
}


/* ═══════════════════════════════════════
   LANDING RESPONSIVE
═══════════════════════════════════════ */

/* Disable tilt when cards stack */
@media (max-width: 1020px) {
  .cv-after {
    transform: none;
    animation: none;
    box-shadow: 0 12px 40px rgba(212, 165, 116, 0.10), 0 4px 12px rgba(0,0,0,0.12);
  }
}

@media (max-width: 900px) {
  .hero { padding: 80px 24px 40px; }
  .hero-headline { letter-spacing: -1px; }
  .hero-stat { padding: 24px 32px; }
  .stat-from, .stat-to { font-size: 56px; }
  .stat-arrow { font-size: 28px; }

  .comparison { padding: 60px 24px; }

  .steps { padding: 80px 24px; }
  .steps::before { height: 40px; top: -40px; }
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: left;
  }
  .step-desc { margin: 0; }
  .steps-line { display: none; }

  .interview-preview { padding: 80px 24px; }
  .interview-preview::before { height: 40px; top: -40px; }

  .cta-final { padding: 100px 24px; }
}

@media (max-width: 600px) {
  .hero-headline { font-size: 48px; }
  .stat-from, .stat-to { font-size: 44px; }
  .stat-arrow { font-size: 22px; margin: 0 8px; }
  .cv-doc { padding: 16px 14px; font-size: 10px; }
  .cv-name { font-size: 15px; letter-spacing: 1.5px; }
  .cv-photo { width: 40px; height: 40px; }
  .cv-entry { margin-bottom: 8px; }
  .cv-section { margin-bottom: 10px; }
  .cv-entry-title { font-size: 11px; }
  .cv-entry-date { font-size: 9.5px; }
  .cv-entry-sub { font-size: 9.5px; }
  .cv-doc li { font-size: 10px; margin-bottom: 1px; }
  .cv-sec-title { font-size: 9px; }
  .cv-summary { font-size: 10px; }
  .cv-skills span { font-size: 9.5px; padding: 2px 6px; }
  .annotation { display: none; }
  .carousel-card { width: 260px; }
  .carousel-iframe-wrap { width: 260px; height: 340px; }
}
