:root {
  --bg: #f8f8f8;
  --text: #1a1a1a;
  --primary: #007bff;
  --accent: #121212;         /* deeper charcoal for premium feel */
  --muted: #6c757d;
  --card: #ffffff;
  --soft: rgba(0,0,0,0.06);
  --soft-2: rgba(0,0,0,0.08);
}


/* Hide caret only on NON-editable elements */
body *:not(input):not(textarea):not(select):not([contenteditable="true"]) {
  caret-color: transparent;
}

/* Ensure real fields keep the normal caret */
input, textarea, select, [contenteditable="true"] { caret-color: auto; }

html, body {
  width: 100%;
  height: auto;
  min-height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, "Inter", sans-serif;
  background-color: var(--bg);
  color: var(--text);
  padding-top: env(safe-area-inset-top);
  padding-bottom: env(safe-area-inset-bottom);
}

/* ------- Navbar ------- */
.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

/* Hide hamburger on desktop */
.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  padding: 0;
  margin-left: auto;
  cursor: pointer;
}

/* Optional: remove its focus box too */
.nav-toggle:focus,
.nav-toggle:focus-visible {
  outline: none !important;
  box-shadow: none !important;
}
@media (max-width: 768px) {
  .nav-toggle {
    display: flex;      /* show only on mobile */
    flex-direction: column;
    gap: 4px;
  }
}

header.nav,
.navbar {
  display: flex;
  justify-content: space-between;
  padding: 0.9rem 2rem;
  background: #fff;
  box-shadow: 0 1px 5px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar a {
  color: #1a1a1a;
  font-weight: 500;
  text-decoration: none;
}


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

.logo {
  font-weight: 800;
  color: #1a1a1a;
  font-size: 1.25rem;
  text-decoration: none;
  letter-spacing: .2px;
  font-family: "Inter", "Segoe UI", system-ui, sans-serif;
}
.logo span { color: var(--primary); }

.nav a {
  margin-left: 1.5rem;
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
}

.nav-right{
  margin-left:auto;
  display:flex;
  align-items:center;
  gap:1.25rem;
  flex-wrap:nowrap;
  position:static;
}
.navbar .nav-right a{
  margin-left:0;
  white-space:nowrap;
  line-height:1;
}
.navbar .nav-right a:hover { color: var(--primary); }
.nav-cta {
  padding: .55rem .9rem;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 10px;
}

/* ------- Hero ------- */
.hero {
  text-align: center;
  padding: 5.2rem 2rem 3.2rem;
  background-color: #fff;
}
.hero h1 {
  font-family: "Inter", "Segoe UI", system-ui, sans-serif;
  font-weight: 800;
  letter-spacing: -0.01em;
  font-size: clamp(2rem, 2.8vw + 1rem, 3rem);
  margin: 0 0 0.75rem;
  color: var(--accent);
}
.hero p {
  font-size: clamp(1.05rem, 1.1vw + 0.85rem, 1.25rem);
  max-width: 720px;
  margin: 0 auto 1.75rem;
  color: #333;
}

/* Buttons */
.btn {
  background-color: var(--primary);
  color: white;
  padding: 0.75rem 1.4rem;
  text-decoration: none;
  border-radius: 10px;
  font-weight: 700;
  display: inline-block;
  box-shadow: 0 6px 16px rgba(0,123,255,0.2);
  transition: transform .12s ease, box-shadow .12s ease, background-color .2s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 22px rgba(0,123,255,0.25); }
.btn.large { font-size: 1.1rem; padding: 1rem 1.8rem; }

/* Mobile: stack CTAs with breathing room */
@media (max-width: 560px) {
  .hero .cta-group {
    flex-direction: column;
    align-items: center;
    gap: 18px;                 /* primary spacing */
  }
  .hero .cta-group .btn.large {
    width: 50%;
    max-width: 250px;          /* keeps a nice width */
  }
  /* Fallback for old browsers without flex gap */
  .hero .cta-group .btn.large + .btn.large {
    margin-top: 18px;
  }
}



/* ------- Trust strip ------- */
.trust-strip {
  background: linear-gradient(180deg, #fff 0%, #fafafa 100%);
  border-top: 1px solid rgba(0,0,0,.04);
  border-bottom: 1px solid rgba(0,0,0,.04);
  padding: 0.9rem 1rem;
  text-align: center;
  color: #2a2a2a;
  font-weight: 600;
}
/* ------- Features ------- */
.features {
  padding: 3rem 1.5rem; /* slightly less padding overall */
  background-color: #f4f5f6;
  text-align: center;
}
.features h2 {
  font-family: "Inter", "Segoe UI", system-ui, sans-serif;
  font-size: clamp(1.6rem, 1.4vw + 1rem, 2rem);
  margin-bottom: 2rem;
  color: var(--accent);
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem; /* tightened spacing */
  max-width: 1100px;
  margin: 0 auto;
  align-items: start; /* no forced stretch */
}
.feature {
  background: var(--card);
  padding: 1rem 1.25rem; /* smaller padding */
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  text-align: center;
  transition: transform .18s ease, box-shadow .18s ease;
  min-height: 160px; /* reduced */
}
.feature h3 { 
  font-size: 1.15rem; 
  margin: .25rem 0 .4rem; 
}
.feature p { 
  line-height: 1.45; 
  font-size: 0.95rem; 
  color:#2f2f2f; 
}

/* Hover Effect */
.feature:hover { 
  box-shadow: 0 10px 24px rgba(0,0,0,0.08); 
  transform: translateY(-4px) scale(1.02); 
}




/* Badge tweaks */
.badge {
  background-color: var(--primary);
  color: #fff;
  font-size: 0.75rem; /* slightly smaller */
  padding: 0.3rem 0.7rem;
  border-radius: 10px;
  margin-top: 0.6rem;
  display: inline-block;
  font-weight: 600;
  letter-spacing: 0.3px;
}


/* ------- How It Works ------- */
.how-it-works {
  padding: calc(3rem + env(safe-area-inset-top)) 1rem calc(3rem + env(safe-area-inset-bottom));
  background: #fff;
  text-align: center;
}
.how-it-works h2 {
  font-family: "Inter", "Segoe UI", system-ui, sans-serif;
  font-size: clamp(1.4rem, 2.5vw + 0.8rem, 2rem);
  margin: 0 0 .5rem;
  color: var(--accent);
}
.section-subhead {
  margin: 0 auto 1.2rem;
  color: var(--muted);
  font-size: .98rem;
}
.steps {
  --card-min: 260px;
  --gap: 1rem;
  max-width: min(1100px, 92vw);
  margin: 0 auto;
  display: grid;
  gap: var(--gap);
  grid-template-columns: repeat(auto-fit, minmax(var(--card-min), 1fr));
}
.step {
  background: #ffffff;
  border-radius: 12px;
  padding: 1.1rem 1rem 1.25rem;
  box-shadow: 0 4px 12px rgba(0,0,0,.06);
  transition: transform .18s ease, box-shadow .18s ease;
  text-align: center;
  min-height: 140px;
}
.step:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(0,0,0,.08); }
.step-num {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  margin: 0 auto .6rem;
  border-radius: 50%;
  background: var(--primary);
  color: #fff; font-weight: 800;
  font-size: clamp(0.95rem, 1.2vw + 0.7rem, 1.1rem);
}
.step h3 { margin: .2rem 0 .45rem; font-size: clamp(1rem, 1.2vw + 0.8rem, 1.2rem); }
.step p { margin: 0 auto; line-height: 1.55; font-size: clamp(0.95rem, 0.5vw + 0.85rem, 1.05rem); max-width: 48ch; }

/* ------- Demo video ------- */
.demo-video {
  text-align: center;
  padding: 4rem 2rem 3rem;
  background: #121212;
  color: #fff;
}
.demo-video h2 { margin: 0 0 .6rem; font-size: 2.2rem; font-family: "Inter", "Segoe UI", system-ui, sans-serif; }
.demo-video p { margin: 0 auto 2rem; max-width: 720px; color: #ccc; font-size: 1.15rem; }
.demo-video .video-container {
  position: relative;
  aspect-ratio: 9 / 16;
  max-width: 1200px;
  margin: 0 auto 1.75rem;
  background: #000;
  border-radius: 14px;
  overflow: hidden;
  max-height: 85vh;
  height: auto;
}
.demo-video .video-container.portrait {
  aspect-ratio: 5 / 4;
  max-width: clamp(480px, 45vw, 800px);
  max-height: 85vh;
  height: auto;
}
.demo-video .video-container iframe {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: 14px;
}
.demo-video .btn.large { font-size: 1.05rem; padding: 1rem 1.6rem; border-radius: 10px; }

.quote {
  margin: 0 auto 1.75rem;
  max-width: 780px;
  font-size: 1.05rem;
  line-height: 1.6;
  color: #e8e8e8;
  font-style: italic;
}
.quote cite { display: block; margin-top: .4rem; color: #bdbdbd; font-style: normal; }

/* Bigger quotes */
.founder-note blockquote,
.testimonials .testimonial blockquote {
  font-size: clamp(1.4rem, 1.8vw + 1rem, 2rem); /* bigger */
  line-height: 1.45;
  font-weight: 700;
  max-width: 900px;          /* keeps lines wide, not tall */
  margin-left: auto;
  margin-right: auto;
  text-wrap: balance;        /* prettier line breaks (modern browsers) */
}

/* Tiny disclaimer */
.testimonials .disclaimer {
  font-size: 0.72rem;        /* smaller text */
  line-height: 1.35;
  color: #8a9096;            /* lighter */
  margin-top: 10px;
  letter-spacing: 0.015em;
  opacity: 0.7;
}

/* Optional: a little bigger on large screens */
@media (min-width: 1024px) {
  .founder-note blockquote,
  .testimonials .testimonial blockquote {
    font-size: clamp(1.5rem, 1.3vw + 1.2rem, 2.1rem);
  }
}


/* ------- Pricing teaser ------- */
.pricing-teaser {
  background: linear-gradient(180deg, #111 0%, #151515 100%);
  padding: 2.2rem 1rem;
  color: #fff;
  text-align: center;
}

.teaser-card {
  max-width: 860px;
  margin: 0 auto;
  padding: 1.4rem 1.2rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  box-shadow: 0 10px 26px rgba(0,0,0,.25);
}
.teaser-card h3 { margin: 0 0 .8rem; font-family: "Inter", "Segoe UI", system-ui, sans-serif; }
.teaser-card p { margin: 0 0 1rem; color: #e5e5e5; }

/* ------- CTA ------- */
.cta {
  padding: 4rem 2rem;
  text-align: center;
  background-color: white;
}
.cta h2 { font-size: 2rem; margin-bottom: 1rem; font-family: "Inter", "Segoe UI", system-ui, sans-serif; }
.cta p { font-size: 1.15rem; margin-bottom: 1.4rem; max-width: 600px; margin-inline: auto; }
/* --- AI Interview Explainer --- */
/* AI Interview + FAQ two-column section */
.ai-faq-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

.ai-faq-section > div {
  background: var(--card);
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.05);
  padding: 2rem;
}

/* Headings inside both cards */
.ai-faq-section h2 {
  color: var(--accent);
  margin-bottom: 1rem;
  text-align: left; /* no center text inside grid */
}

@media (max-width: 900px) {
  .ai-faq-section {
    grid-template-columns: 1fr;
  }
}

/* FAQ accordion tweaks */
.faq-list details {
  margin-bottom: 0.6rem;
  background: #f7f7f7;
  border-radius: 10px;
  padding: .95rem 1rem;
  box-shadow: 0 2px 6px rgba(0,0,0,.04);
}

.faq-list summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  position: relative;
  padding-right: 1.2rem; /* space for chevron */
}
.faq-list summary::-webkit-details-marker { display: none; }

/* Chevron indicator */
.faq-list summary::after {
  content: "›";
  position: absolute;
  right: 0;
  top: 0;
  transform: rotate(90deg);
  transition: transform 0.2s ease;
}
.faq-list details[open] summary::after {
  transform: rotate(-90deg);
}

/* Smooth expand animation */
.faq-list details[open] p {
  animation: fadeIn 0.25s ease;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ------- Footer ------- */
footer {
  text-align: center;
  padding: 2rem 1rem;
  font-size: 0.9rem;
  background-color: #eaeaea;
}
.version-inline {
  font-size: 1.00rem;
  font-family: 'Courier New', monospace;
  color: #6c757d;
  text-align: center;
  margin-top: 0.5rem;
  letter-spacing: 0.3px;
  text-decoration: none;
}
.version-link:hover { color: #000; text-decoration: underline; }
.footer-links {
  display: flex; gap: 1rem; justify-content: center; margin-top: .5rem;
}
.footer-links a { color: #111; text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }

/* ------- Floating CTA (mobile) ------- */
.floating-cta {
  display: none;
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 16px;
  background: var(--primary);
  color: #fff;
  padding: .75rem 1.1rem;
  border-radius: 999px;
  font-weight: 800;
  box-shadow: 0 10px 28px rgba(0,123,255,0.3);
  z-index: 1001;
}
@media (max-width: 768px) {
  .floating-cta { display: inline-block; }
}

/* ------- Responsive tweaks ------- */
@media (max-width: 1100px) {
  .feature-grid { gap: 0.875rem; max-width: 960px; }
}
@media (max-width: 900px) {
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  .feature-grid { grid-template-columns: 1fr; gap: .9rem; }
  .feature { padding: 1rem; min-height: auto; }
  .feature h3 { font-size: 1.05rem; }
  .feature p { font-size: 0.98rem; line-height: 1.45; }

  .nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    margin-left: auto;
  }
  .nav-toggle .bar {
    width: 24px; height: 2px; background-color: #1a1a1a; border-radius: 1px;
  }

  .nav-right { display: none; }
  .nav-right.mobile-visible {
    display: flex; flex-direction: column; gap: 1rem; background: white;
    position: absolute; top: 100%; right: 0; width: 100%;
    padding: 1rem 2rem; box-shadow: 0 4px 10px rgba(0,0,0,0.1); z-index: 999;
  }
}

/* Motion preference — soften for reduced motion users */
@media (prefers-reduced-motion: reduce) {
  .feature, .step { transition: box-shadow .15s ease !important; }
  .feature:hover { transform: none !important; }
  .reveal { animation: none !important; opacity: 1 !important; transform: none !important; }
}

/* ------- Subtle reveal animation ------- */
.reveal {
  opacity: 0;
  transform: translateY(10px);
  animation: fadeUp .5s ease forwards;
}
.feature.reveal { animation-delay: .05s; }
.feature.reveal:nth-child(2) { animation-delay: .12s; }
.feature.reveal:nth-child(3) { animation-delay: .18s; }
.feature.reveal:nth-child(4) { animation-delay: .24s; }
.feature.reveal:nth-child(5) { animation-delay: .30s; }
.feature.reveal:nth-child(6) { animation-delay: .36s; }

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}
