:root {
  --bg: #f6f7fb;
  --bg-alt: #ffffff;
  --bg-soft: #eef2ff;
  --text: #111827;
  --text-soft: #4b5563;
  --border-subtle: #e5e7eb;
  --primary: #2563eb;
  --primary-soft: rgba(37, 99, 235, 0.08);
  --primary-strong: #1d4ed8;
  --accent: #22c55e;
  --accent-soft: rgba(34, 197, 94, 0.07);
  --navy: #020617;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.08);
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-pill: 999px;
  --transition-fast: 0.18s ease-out;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: radial-gradient(circle at top left, #e0f2fe, #f6f7fb 45%, #eef2ff 100%);
}

/* Layout helpers */
.page-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(12px);
  background: linear-gradient(to bottom, rgba(246, 247, 251, 0.96), rgba(246, 247, 251, 0.85));
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.25rem;
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  gap: 0.75rem;
}

.brand-logo {
  width: 36px;
  height: 36px;
  border-radius: 14px;
  object-fit: contain;
  background: radial-gradient(circle at 30% 20%, #38bdf8, #0f172a);
  padding: 4px;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--navy);
}

.brand-tagline {
  font-size: 0.75rem;
  color: #6b7280;
}

/* Navigation */
.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.9rem;
}

.nav a {
  text-decoration: none;
  color: #374151;
  font-weight: 500;
  position: relative;
}

.nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.3rem;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 999px;
  transition: width var(--transition-fast);
}

.nav a:hover:not(.nav-cta)::after {
  width: 100%;
}

.nav-cta {
  padding: 0.5rem 1rem;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  color: #f9fafb;
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.25);
}

/* Nav toggle (mobile) */
.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  padding: 0.3rem;
  cursor: pointer;
}

.nav-toggle-line {
  display: block;
  width: 21px;
  height: 2px;
  border-radius: 999px;
  background: #111827;
  transition: transform var(--transition-fast), opacity var(--transition-fast), translate var(--transition-fast);
}

.nav-toggle-line + .nav-toggle-line {
  margin-top: 5px;
}

.nav-toggle-open .nav-toggle-line:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.nav-toggle-open .nav-toggle-line:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

/* Hero */
.hero {
  padding: 3.5rem 0 3.75rem;
}

.hero-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.hero-text h1 {
  font-size: clamp(2.05rem, 3vw, 2.8rem);
  line-height: 1.1;
  color: var(--navy);
  margin: 0.9rem 0;
}

.hero-subtitle {
  font-size: 0.98rem;
  color: var(--text-soft);
  max-width: 32rem;
}

.hero-actions {
  margin-top: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-meta {
  margin-top: 1.1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.82rem;
  color: #6b7280;
}

.hero-meta span {
  padding: 0.2rem 0.7rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(229, 231, 235, 0.8);
}

/* Pill */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  color: #0f172a;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(209, 213, 219, 0.9);
}

/* Hero visual cards */
.hero-visual {
  position: relative;
}

.hero-card {
  background: rgba(255, 255, 255, 0.96);
  border-radius: var(--radius-lg);
  padding: 1.2rem 1.2rem 1rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(226, 232, 240, 0.9);
}

.hero-card-main {
  position: relative;
  z-index: 2;
}

.hero-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.hero-bot-badge {
  font-size: 0.8rem;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-pill);
  background: var(--primary-soft);
  color: var(--primary-strong);
  font-weight: 600;
}

.hero-status {
  font-size: 0.78rem;
  color: #6b7280;
}

.hero-profile {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
}

.avatar-placeholder {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: linear-gradient(135deg, #38bdf8, #6366f1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f9fafb;
  font-weight: 600;
  font-size: 0.9rem;
}

.hero-profile-name {
  font-weight: 600;
}

.hero-profile-role {
  font-size: 0.85rem;
  color: #6b7280;
}

.hero-metrics {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
}

.metric {
  flex: 1;
  padding: 0.6rem 0.6rem 0.55rem;
  border-radius: var(--radius-md);
  background: #f9fafb;
}

.metric-label {
  font-size: 0.7rem;
  color: #6b7280;
}

.metric-value {
  display: block;
  margin-top: 0.2rem;
  font-weight: 600;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.9rem;
}

.hero-tags span {
  font-size: 0.75rem;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-pill);
  background: #eef2ff;
  color: #4f46e5;
}

.hero-card-footer {
  display: flex;
  gap: 0.5rem;
}

.hero-card-float {
  position: absolute;
  width: 230px;
  font-size: 0.8rem;
}

.hero-card-right {
  top: -14px;
  right: -8px;
  background: linear-gradient(135deg, #eff6ff, #fefce8);
}

.hero-card-left {
  bottom: -26px;
  left: -6px;
  background: linear-gradient(135deg, #ecfeff, #fef9c3);
}

.hero-float-label {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.hero-float-text {
  margin: 0;
}

/* Sections */
.section {
  padding: 3.2rem 0;
}

.section-alt {
  background: rgba(255, 255, 255, 0.92);
}

.section-header {
  max-width: 640px;
  margin: 0 auto 2rem;
  text-align: center;
}

.section-header h2 {
  margin: 0;
  font-size: 1.6rem;
  color: var(--navy);
}

.section-header p {
  margin-top: 0.6rem;
  color: var(--text-soft);
  font-size: 0.9rem;
}

/* Grid helpers */
.grid {
  display: grid;
  gap: 1.4rem;
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

/* Cards */
.card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 1.2rem 1.2rem 1.05rem;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.02);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 0.4rem;
  font-size: 1.02rem;
}

.card p {
  margin: 0.3rem 0 0.6rem;
  font-size: 0.9rem;
  color: var(--text-soft);
}

/* Lists inside cards */
.card ul {
  list-style: none;
  padding-left: 0;
  margin: 0.2rem 0 0;
  font-size: 0.84rem;
  color: #6b7280;
}

.card ul li {
  position: relative;
  padding-left: 1rem;
  margin-bottom: 0.3rem;
}

.card ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: #4f46e5;
}

/* Steps */
.step-card {
  position: relative;
  padding-top: 1.6rem;
}

.step-number {
  position: absolute;
  top: 0.75rem;
  left: 1rem;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: var(--radius-pill);
  background: var(--primary-soft);
  color: var(--primary-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  font-weight: 600;
}

/* Personas */
.persona-card ul li::before {
  color: var(--accent);
}

/* Why cards */
.feature-card {
  border-top: 3px solid #e5e7eb;
}

/* About */
.about-grid {
  display: grid;
  gap: 1.8rem;
}

.about-text p {
  font-size: 0.92rem;
  color: var(--text-soft);
}

.about-founder p {
  font-size: 0.9rem;
}

.founder-name {
  font-weight: 600;
  margin-top: 0.4rem;
}

/* CTA section */
.section-cta {
  background: radial-gradient(circle at top left, #e0f2fe, #eef2ff 45%, #fefce8);
}

.cta-card {
  border-radius: 1.5rem;
  padding: 1.5rem 1.8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-soft);
}

.cta-card h2 {
  margin: 0 0 0.4rem;
}

.cta-card p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.9rem;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

/* Contact */
.contact-grid {
  display: grid;
  gap: 1.8rem;
}

.contact-list {
  list-style: none;
  padding-left: 0;
  font-size: 0.9rem;
  color: var(--text-soft);
}

.contact-list li + li {
  margin-top: 0.35rem;
}

.contact-form .form-row {
  margin-bottom: 0.8rem;
}

.contact-form label {
  display: block;
  font-size: 0.8rem;
  margin-bottom: 0.2rem;
  color: #4b5563;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border-radius: 10px;
  border: 1px solid #d1d5db;
  padding: 0.5rem 0.6rem;
  font-family: inherit;
  font-size: 0.9rem;
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--primary-strong);
  box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.15);
  background: #f9fafb;
}

.btn-full {
  width: 100%;
  margin-top: 0.3rem;
}

.form-note {
  margin: 0.55rem 0 0;
  font-size: 0.75rem;
  color: #9ca3af;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius-pill);
  border: none;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  color: #f9fafb;
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.27);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(37, 99, 235, 0.32);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.9);
  color: #111827;
  border: 1px solid rgba(209, 213, 219, 0.9);
}

.btn-ghost:hover {
  background: #f9fafb;
}

.btn-outline {
  background: transparent;
  border: 1px solid #d1d5db;
  color: #111827;
}

.btn-sm {
  padding: 0.35rem 0.75rem;
  font-size: 0.78rem;
}

/* Footer */
.site-footer {
  margin-top: auto;
  background: #0b1220;
  color: #e5e7eb;
  font-size: 0.85rem;
}

.footer-grid {
  display: grid;
  gap: 1.5rem;
  padding: 1.6rem 1.5rem 1.2rem;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.5fr) minmax(0, 1.2fr);
}

.footer-title {
  font-weight: 600;
  font-size: 0.95rem;
}

.footer-brand p {
  margin-top: 0.4rem;
  color: #9ca3af;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.2rem;
}

.footer-links a {
  color: #e5e7eb;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-social span {
  display: block;
  margin-bottom: 0.3rem;
  color: #9ca3af;
}

.footer-social-links {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.footer-social-links a {
  color: #e5e7eb;
  text-decoration: none;
}

.footer-social-links a:hover {
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid #111827;
  padding: 0.7rem 0;
  font-size: 0.78rem;
  color: #9ca3af;
}

/* Responsive */
@media (min-width: 768px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.05fr);
  }
}

@media (max-width: 960px) {
  .cta-card {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .nav {
    position: absolute;
    inset: 4.25rem 1.5rem auto 1.5rem;
    flex-direction: column;
    align-items: flex-start;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-radius: 18px;
    padding: 0.8rem 1rem;
    border: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.16);
    transform-origin: top right;
    transform: scaleY(0.8);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-fast), transform var(--transition-fast);
  }

  .nav-open {
    opacity: 1;
    pointer-events: auto;
    transform: scaleY(1);
  }

  .nav a {
    padding: 0.25rem 0;
  }

  .hero {
    padding-top: 2.5rem;
  }

  .hero-card-right {
    display: none;
  }

  .hero-card-left {
    display: none;
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .hero-card-main {
    margin-top: 0.5rem;
  }

  .cta-card {
    padding: 1.2rem 1.2rem;
  }

  .site-header {
    backdrop-filter: blur(10px);
  }
}
.hero {
  background: url('assets/recruiterbot-hero-optimized.png') no-repeat right center / cover;
}