@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap");

:root {
  --bg: #071226;
  --bg-soft: #0d1b34;
  --surface: #ffffff;
  --surface-soft: #f6f8fc;
  --primary: #2f6df6;
  --primary-dark: #1f4ed8;
  --secondary: #22d3ee;
  --accent: #f8b84e;
  --text: #0f172a;
  --text-muted: #64748b;
  --text-light: #f8fafc;
  --line: #dbe4f0;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.12);
  --shadow-blue: 0 18px 50px rgba(47, 109, 246, 0.32);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 12px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background: var(--surface);
  color: var(--text);
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
}
.language-wrapper{
  position: relative;
}

.language-btn{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: white;
  cursor: pointer;
  transition: all 0.25s ease;
  backdrop-filter: blur(12px);
}

.language-btn:hover{
  background: rgba(255,255,255,0.16);
  transform: translateY(-2px);
}

.language-menu{
  position: absolute;
  top: 55px;
  right: 0;
  width: 160px;
  overflow: hidden;
  border-radius: 16px;
  background: white;
  box-shadow: 0 18px 45px rgba(15,23,42,0.18);
  display: none;
  z-index: 999;
}

.language-menu.show{
  display: block;
}

.language-menu div{
  padding: 14px 16px;
  color: #111827;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
}

.language-menu div:hover{
  background: #f3f6fb;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  background: rgba(7, 18, 38, 0.86);
  color: var(--text-light);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: box-shadow 0.25s ease, background 0.25s ease;
}

.navbar.scrolled {
  background: rgba(7, 18, 38, 0.95);
  box-shadow: 0 12px 30px rgba(2, 6, 23, 0.24);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-light);
  font-size: 20px;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: 0;
}

.logo-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  box-shadow: 0 10px 24px rgba(34, 211, 238, 0.28);
}

.nav-center {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
}

.nav-center a {
  padding: 9px 14px;
  border-radius: 999px;
  color: #cbd5e1;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-center a:hover,
.nav-center .active {
  background: rgba(47, 109, 246, 0.24);
  color: #ffffff;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.guest-actions {
  display: flex;
  gap: 10px;
}

.user-menu {
  position: relative;
}

.user-menu-trigger {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 280px;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.09);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.user-menu-trigger [data-user-email] {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.user-icon {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
  background: linear-gradient(135deg, var(--secondary), var(--primary));
}

.user-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 230px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 24px 60px rgba(2, 6, 23, 0.22);
}

.user-dropdown a,
.user-dropdown button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 11px 12px;
  border: 0;
  border-radius: 12px;
  color: var(--text);
  background: transparent;
  font: inherit;
  font-weight: 800;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.user-dropdown a:hover,
.user-dropdown button:hover {
  background: #eef4ff;
  color: var(--primary-dark);
}

.btn,
.search-btn,
.btn-light,
.btn-browse {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 11px 18px;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover,
.search-btn:hover,
.btn-light:hover,
.btn-browse:hover {
  transform: translateY(-2px);
}

.btn-outline {
  color: #dbeafe;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
}

.btn-primary,
.search-btn,
.btn-light {
  color: #ffffff;
  background: linear-gradient(135deg, var(--primary), #65a8ff);
  box-shadow: var(--shadow-blue);
}

.btn-browse {
  color: var(--text);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 680px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  padding: clamp(56px, 8vw, 108px) clamp(20px, 6vw, 84px);
  color: var(--text-light);
  background:
    radial-gradient(circle at 82% 18%, rgba(34, 211, 238, 0.23), transparent 28%),
    radial-gradient(circle at 16% 18%, rgba(248, 184, 78, 0.17), transparent 24%),
    linear-gradient(135deg, #08142a 0%, #0d1a31 58%, #071226 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -8% -34% 42%;
  height: 360px;
  border-radius: 50%;
  background: rgba(47, 109, 246, 0.18);
  filter: blur(48px);
}

.hero-content,
.hero-visual {
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: #bfdbfe;
  background: rgba(255, 255, 255, 0.07);
  font-size: 14px;
  font-weight: 800;
}

.hero h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: 0;
}

.highlight {
  color: #ffffff;
  background: transparent;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
}

.hero p {
  max-width: 620px;
  color: #cbd5e1;
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
  color: #cbd5e1;
}

.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.07);
}

.hero-visual {
  min-height: 430px;
}

.candidate-card {
  position: absolute;
  inset: 48px 30px auto auto;
  width: min(400px, 90%);
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  background: rgba(15, 30, 58, 0.82);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
}

.candidate-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.avatar-stack {
  display: flex;
}

.avatar-stack span {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  margin-left: -10px;
  border: 3px solid #0f1e3a;
  border-radius: 50%;
  background: linear-gradient(135deg, #e0f2fe, #93c5fd);
  color: #0f172a;
  font-weight: 800;
}

.avatar-stack span:first-child {
  margin-left: 0;
}

.candidate-card h2 {
  font-size: 22px;
  line-height: 1.25;
}

.mini-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.mini-stats div {
  padding: 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
}

.mini-stats strong {
  display: block;
  color: #ffffff;
  font-size: 26px;
  line-height: 1;
}

.mini-stats span {
  color: #cbd5e1;
  font-size: 13px;
}

.floating-badge {
  position: absolute;
  left: 22px;
  bottom: 70px;
  max-width: 230px;
  padding: 18px;
  border-radius: 20px;
  color: var(--text);
  background: #ffffff;
  box-shadow: var(--shadow-blue);
}

.floating-badge strong {
  display: block;
  font-size: 30px;
  line-height: 1;
}

.why,
.steps,
.cta {
  padding: clamp(64px, 8vw, 104px) clamp(20px, 6vw, 84px);
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 38px;
  text-align: center;
}

.section-heading h2,
.why h2,
.steps h2,
.cta h2 {
  color: var(--text);
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: 0;
}

.section-heading p {
  margin-top: 12px;
  color: var(--text-muted);
  font-size: 17px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  max-width: 1120px;
  margin: 34px auto 0;
}

.card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 55px rgba(15, 23, 42, 0.16);
}

.icon {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 18px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  font-size: 22px;
}

.card h3,
.step h3 {
  margin-bottom: 10px;
  font-size: 21px;
  line-height: 1.25;
}

.card p,
.step p {
  color: var(--text-muted);
}

.steps {
  background: var(--surface-soft);
}

.steps > h2 {
  text-align: center;
}

.step-container {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  max-width: 1120px;
  margin: 38px auto 0;
}

.step {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
}

.circle {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 16px;
  background: #eaf1ff;
  color: var(--primary);
  font-weight: 800;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 880px;
  margin: 54px auto 0;
}

.stats div {
  padding: 24px;
  border-radius: var(--radius-md);
  background: #ffffff;
  text-align: center;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
}

.stats dt {
  color: var(--primary);
  font-size: 34px;
  font-weight: 800;
}

.stats dd {
  color: var(--text-muted);
  margin: 4px 0 0;
}

.cta {
  color: #ffffff;
  text-align: center;
  background:
    radial-gradient(circle at 18% 20%, rgba(34, 211, 238, 0.22), transparent 25%),
    linear-gradient(135deg, #0b1830, #122a55 58%, #071226);
}

.cta h2 {
  color: #ffffff;
}

.cta p {
  max-width: 640px;
  margin: 14px auto 0;
  color: #cbd5e1;
  font-size: 18px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.footer {
  padding: 56px clamp(20px, 6vw, 84px) 28px;
  background: #050c1a;
  color: #ffffff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 28px;
  max-width: 1120px;
  margin: 0 auto 34px;
}

.footer h2 {
  margin-bottom: 12px;
  font-size: 17px;
}

.footer p,
.footer a {
  display: block;
  color: #aebbd0;
  margin: 7px 0;
  text-decoration: none;
}

.footer a:hover {
  color: #ffffff;
}

.copyright {
  max-width: 1120px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  color: #94a3b8;
  text-align: center;
}

@media (max-width: 920px) {
  .navbar {
    flex-wrap: wrap;
  }

  .nav-center {
    order: 3;
    width: 100%;
    justify-content: center;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-visual {
    min-height: 380px;
  }

  .cards,
  .step-container,
  .stats,
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .navbar {
    padding: 16px 18px;
  }

  .nav-right {
    width: 100%;
  }

  .guest-actions {
    width: 100%;
  }

  .nav-right .btn,
  .user-menu,
  .user-menu-trigger {
    flex: 1;
    width: 100%;
  }

  .user-dropdown {
    left: 0;
    right: auto;
    width: 100%;
  }

  .hero,
  .why,
  .steps,
  .cta,
  .footer {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero-actions,
  .cta-buttons {
    flex-direction: column;
  }

  .candidate-card {
    inset: 20px auto auto 0;
    width: 100%;
  }

  .floating-badge {
    left: 0;
    bottom: 20px;
  }
}
