/* Recruiter Pro – Landing (Apple-inspired, minimal, futuristic) */
:root {
  --bg-primary: #05060c;
  --bg-secondary: #0a0c14;
  --bg-elevated: #0f121c;
  --bg-card: rgba(255, 255, 255, 0.02);
  --border-subtle: rgba(255, 255, 255, 0.06);
  --border-accent: rgba(0, 212, 255, 0.2);
  --accent-primary: #00d4ff;
  --accent-secondary: #7c3aed;
  --accent-muted: rgba(0, 212, 255, 0.7);
  --text-primary: #f5f6f8;
  --text-secondary: #9ca3b4;
  --text-tertiary: #6b7280;
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.06);
  --glow-cyan: rgba(0, 212, 255, 0.15);
  --glow-purple: rgba(124, 58, 237, 0.12);
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Syne', 'Inter', sans-serif;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 120px;
  --space-32: 160px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 400;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
}

/* Keep all page content above the animated background */
main {
  position: relative;
  z-index: 0;
}

/* Full-page moving gradient background (futuristic, visible) */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 100% 70% at 0% 0%, rgba(0, 212, 255, 0.18) 0%, transparent 55%),
    radial-gradient(ellipse 80% 80% at 100% 0%, rgba(124, 58, 237, 0.16) 0%, transparent 55%),
    radial-gradient(ellipse 90% 60% at 50% 100%, rgba(0, 212, 255, 0.12) 0%, transparent 55%),
    radial-gradient(ellipse 70% 70% at 100% 100%, rgba(124, 58, 237, 0.14) 0%, transparent 55%),
    radial-gradient(ellipse 60% 50% at 50% 50%, rgba(0, 212, 255, 0.06) 0%, transparent 60%);
  background-size: 200% 200%;
  background-position: 0% 0%;
  animation: site-bg-gradient 20s ease-in-out infinite;
  pointer-events: none;
}

@keyframes site-bg-gradient {
  0%, 100% { background-position: 0% 50%; opacity: 1; }
  25% { background-position: 100% 25%; opacity: 0.95; }
  50% { background-position: 100% 100%; opacity: 1; }
  75% { background-position: 0% 100%; opacity: 0.97; }
}

.container {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}

/* ----- Header ----- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(5, 6, 12, 0.72);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid var(--border-subtle);
  transition: background 0.3s var(--ease-out);
}

.header-inner {
  max-width: 980px;
  margin: 0 auto;
  padding: var(--space-4) var(--space-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-app-name {
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
}

.logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  text-decoration: none;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: opacity 0.2s;
}

.logo:hover {
  opacity: 0.9;
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: color 0.2s var(--ease-out);
}

.nav a:hover {
  color: var(--text-primary);
}

/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: 0.01em;
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: transform 0.2s var(--ease-out), box-shadow 0.25s var(--ease-out), opacity 0.2s;
  border: none;
  cursor: pointer;
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.8125rem;
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1.0625rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-primary), #0099cc);
  color: #fff;
  box-shadow: 0 4px 24px var(--glow-cyan);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 32px var(--glow-cyan), 0 0 0 1px rgba(0, 212, 255, 0.2);
}

.btn-primary:active {
  transform: translateY(0);
}

/* Header CTA: visible text + futuristic moving gradient */
.nav .btn-primary {
  color: #fff !important;
  -webkit-text-fill-color: #fff;
  background: linear-gradient(110deg, var(--accent-primary) 0%, var(--accent-secondary) 35%, var(--accent-primary) 70%, #00b8e6 100%);
  background-size: 200% 100%;
  animation: btn-gradient-shift 4s ease-in-out infinite;
  box-shadow: 0 4px 20px var(--glow-cyan);
}

.nav .btn-primary:hover {
  box-shadow: 0 6px 28px var(--glow-cyan), 0 0 0 1px rgba(0, 212, 255, 0.3);
}

@keyframes btn-gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* ----- Hero ----- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px var(--space-6) var(--space-24);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 60% at 50% -10%, var(--glow-cyan), transparent 55%),
    radial-gradient(ellipse 70% 50% at 85% 50%, var(--glow-purple), transparent 50%),
    radial-gradient(ellipse 50% 40% at 15% 90%, rgba(124, 58, 237, 0.08), transparent 45%);
  pointer-events: none;
  animation: hero-bg-drift 12s ease-in-out infinite;
}

@keyframes hero-bg-drift {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.85; }
}

.hero-inner {
  position: relative;
  text-align: center;
  max-width: 720px;
}

.hero-inner .hero-label,
.hero-inner .hero-title,
.hero-inner .hero-tagline,
.hero-inner .hero-cta {
  animation: hero-fade 0.9s var(--ease-out) backwards;
}

.hero-inner .hero-label { animation-delay: 0.1s; }
.hero-inner .hero-title { animation-delay: 0.2s; }
.hero-inner .hero-tagline { animation-delay: 0.35s; }
.hero-inner .hero-cta { animation-delay: 0.5s; }

@keyframes hero-fade {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-primary);
  margin: 0 0 var(--space-6);
  opacity: 0.95;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.75rem, 7vw, 4.5rem);
  letter-spacing: -0.04em;
  line-height: 1.08;
  margin: 0 0 var(--space-6);
  color: var(--text-primary);
}

.hero-tagline {
  font-size: clamp(1.0625rem, 2.2vw, 1.3125rem);
  font-weight: 400;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0 0 var(--space-8);
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta {
  margin-top: var(--space-8);
}

.hero-cta-note {
  font-size: 0.8125rem;
  color: var(--text-tertiary);
  margin-top: var(--space-4);
  font-weight: 400;
}

.hero-scroll {
  position: absolute;
  bottom: var(--space-8);
  left: 50%;
  transform: translateX(-50%);
}

/* ----- Section common ----- */
.section {
  padding: var(--space-32) 0;
}

.section-label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin: 0 0 var(--space-4);
  display: block;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4.5vw, 2.75rem);
  letter-spacing: -0.035em;
  line-height: 1.15;
  margin: 0 0 var(--space-4);
  color: var(--text-primary);
}

.section-sub {
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0 0 var(--space-16);
  max-width: 480px;
}

/* ----- Why we made this (storytelling) ----- */
.section-why {
  position: relative;
  overflow: visible;
}

.why-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 30% 50%, rgba(0, 212, 255, 0.04) 0%, transparent 55%),
    radial-gradient(ellipse 60% 40% at 70% 50%, rgba(124, 58, 237, 0.04) 0%, transparent 55%);
  pointer-events: none;
}

.section-why .section-title {
  margin-bottom: var(--space-12);
}

.why-story {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  padding: var(--space-12) var(--space-8) var(--space-8);
  border-left: 3px solid var(--accent-primary);
  background: var(--glass-bg);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  box-shadow: 0 0 0 1px var(--border-subtle);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
  overflow: visible;
}

.why-story.reveal {
  opacity: 0;
  transform: translateX(20px);
}

.why-story.reveal.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.why-story-byline {
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent-primary);
  margin: 0 0 var(--space-6);
}

.why-story-open {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.65;
  margin: 0 0 var(--space-6);
}

.why-story-open strong {
  color: var(--accent-primary);
  font-weight: 600;
}

.why-story-body {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0 0 var(--space-6);
}

.why-story-body:last-of-type {
  margin-bottom: var(--space-8);
}

.why-product-name {
  font-family: var(--font-display);
  font-size: 1.35em;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--accent-primary);
}

.why-story-quote {
  margin: 0;
  padding: var(--space-6) 0 var(--space-4);
  border-top: 1px solid var(--border-subtle);
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: -0.02em;
  color: var(--accent-primary);
}

/* ----- What you get (merits) ----- */
.section-value .section-title {
  margin-bottom: var(--space-12);
}

.merits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4) var(--space-12);
  max-width: 720px;
  margin: 0 auto;
}

.merit-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.55;
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}

.merit-item.reveal {
  opacity: 0;
  transform: translateY(16px);
}

.merit-item.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.merit-item.reveal.is-visible:nth-child(1) { transition-delay: 0.05s; }
.merit-item.reveal.is-visible:nth-child(2) { transition-delay: 0.1s; }
.merit-item.reveal.is-visible:nth-child(3) { transition-delay: 0.15s; }
.merit-item.reveal.is-visible:nth-child(4) { transition-delay: 0.2s; }
.merit-item.reveal.is-visible:nth-child(5) { transition-delay: 0.25s; }
.merit-item.reveal.is-visible:nth-child(6) { transition-delay: 0.3s; }

.merit-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  min-width: 24px;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.25), rgba(124, 58, 237, 0.2));
  border-radius: 50%;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* ----- Demo video ----- */
.section-demo .section-title {
  margin-bottom: var(--space-12);
}

.demo-video-wrap {
  max-width: 720px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: var(--bg-elevated);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.3);
}

.demo-video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--bg-secondary);
}

.demo-video--yt {
  border: none;
}

/* ----- Reviews marquee ----- */
.section-reviews .section-title {
  margin-bottom: var(--space-12);
}

.reviews-marquee {
  margin-top: var(--space-8);
  overflow: hidden;
  user-select: none;
}

.reviews-track {
  display: flex;
  gap: var(--space-6);
  width: max-content;
  padding: var(--space-4) 0;
}

.reviews-track--left {
  animation: marquee-left 45s linear infinite;
}

.reviews-track--right {
  animation: marquee-right 50s linear infinite;
}

@keyframes marquee-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes marquee-right {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

.reviews-marquee .review-card {
  flex-shrink: 0;
  width: 320px;
  min-height: 120px;
}

.review-card {
  padding: var(--space-6);
  background: var(--glass-bg);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
}

.review-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
}

.review-byline {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent-primary);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.review-stars {
  font-size: 0.75rem;
  color: #fbbf24;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}

.review-text {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin: 0;
}

.reviews-disclaimer {
  font-size: 0.75rem;
  color: var(--text-tertiary);
  text-align: center;
  margin-top: var(--space-8);
  margin-bottom: 0;
}

/* ----- CTA ----- */
.section-cta {
  padding: var(--space-32) 0;
  text-align: center;
}

.section-cta .container {
  max-width: 560px;
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.section-cta .container.reveal {
  opacity: 0;
  transform: translateY(24px);
}

.section-cta .container.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 var(--space-4);
  color: var(--text-primary);
}

.cta-sub {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  margin: 0 0 var(--space-8);
}

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

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
}

.footer-brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--text-tertiary);
  margin: 0;
}

.footer-links {
  display: flex;
  gap: var(--space-8);
}

.footer-links a {
  color: var(--text-tertiary);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s var(--ease-out);
}

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

.footer-copy {
  font-size: 0.8125rem;
  color: var(--text-tertiary);
  margin: 0;
}

/* ----- Responsive ----- */
@media (max-width: 900px) {
  .merits-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav a:not(.btn) {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 100px var(--space-4) var(--space-20);
  }

  .hero-title {
    font-size: clamp(2.25rem, 9vw, 3rem);
  }

  .hero-tagline {
    font-size: 1rem;
  }

  .reviews-marquee .review-card {
    width: 280px;
  }

  .section {
    padding: var(--space-24) 0;
  }

  .section-cta {
    padding: var(--space-24) 0;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 var(--space-4);
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}

/* ----- Privacy page overrides (keep compatibility) ----- */
.legal-page { max-width: 720px; margin: 0 auto; padding: 120px 24px 48px; }
.legal-page h1 { font-size: 1.75rem; margin-bottom: 8px; }
.legal-page .updated { color: var(--text-tertiary); font-size: 0.9rem; margin-bottom: 32px; }
.legal-page h2 { font-size: 1.15rem; margin-top: 28px; margin-bottom: 10px; color: var(--text-primary); }
.legal-page p, .legal-page ul { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.65; margin: 0 0 12px; }
.legal-page ul { padding-left: 1.25rem; }
.legal-page a { color: var(--accent-primary); }
.back { display: inline-block; margin-bottom: 24px; color: var(--text-secondary); text-decoration: none; font-size: 0.9rem; }
.back:hover { color: var(--accent-primary); }
