:root {
  --dark: #0f172a;
  --dark-2: #1e293b;
  --text: #0f172a;
  --muted: #64748b;
  --light: #f8fafc;
  --white: #ffffff;
  --border: #e2e8f0;
  --soft: #f1f5f9;
  --shadow: 0 24px 70px rgba(15, 23, 42, 0.14);
  --radius: 28px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

#top {
  scroll-margin-top: 100px;
}

body {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--light);
  color: var(--text);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #ffffff;
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo {
  width: auto;
  height: 60px;
  object-fit: contain;
}

.brand-title {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0em;
}

.brand-subtitle {
  font-size: 12px;
  color: var(--muted);
  font-weight: 700;
  margin-top: -2px;
}

.nav-links {
  display: flex;
  gap: 50px;
  color: #475569;
  font-size: 14px;
  font-weight: 800;
}

.nav-links a {
  padding: 8px 16px;
  border-radius: 999px;
  transition: all 0.2s ease;
}

.nav-links a:hover {
  color: var(--dark);
  background: var(--soft);
  transform: scale(1.05);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 900;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  cursor: pointer;
  font-size: 15px;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.18);
}

.btn-primary:hover {
  background: var(--soft);
  color: var(--dark);
}

.btn-secondary:hover {
  background: var(--soft);
}

.btn-primary {
  background: var(--dark);
  color: white;
}

.btn-secondary {
  background: white;
  color: var(--dark);
  border-color: var(--border);
}

.btn-accent {
  background: #f59e0b;
  color: white;
}

.btn-accent:hover {
  background: #d97706;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 56px 0 96px;
  background:
    radial-gradient(circle at 10% 10%, rgba(15, 23, 42, 0.14), transparent 32%),
    radial-gradient(circle at 90% 70%, rgba(100, 116, 139, 0.18), transparent 34%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 64px;
  align-items: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--border);
  color: #334155;
  font-size: 14px;
  font-weight: 900;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

h1 {
  margin-top: 28px;
  font-size: clamp(36px, 5vw, 54px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  font-weight: 700;
  max-width: 760px;
}

.lead {
  margin-top: 28px;
  max-width: 660px;
  font-size: 19px;
  color: var(--muted);
  line-height: 1.75;
}

.hero-actions {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.form-actions {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.form-actions .btn {
  min-width: 280px;
  padding: 16px 24px;
  font-size: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.form-label {
  font-size: 18px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.dashboard {
  background: white;
  border: 1px solid var(--border);
  border-radius: 36px;
  padding: 20px;
  box-shadow: var(--shadow);
  transform: rotate(1deg);
}

.dashboard-inner .stat span {
  color: white;
}

.dashboard-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
}

.dashboard-label {
  color: #cbd5e1;
  font-size: 14px;
  font-weight: 800;
}

.dashboard h2 {
  margin-top: 8px;
  font-size: 31px;
  line-height: 1.12;
  letter-spacing: -0.01em;
}

.icon-circle {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.12);
  display: grid;
  place-items: center;
  flex: none;
}

.candidate-list {
  display: grid;
  gap: 14px;
  margin-top: 32px;
}

.candidate-card {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 16px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
}

.candidate-card strong {
  display: block;
  font-size: 16px;
}

.candidate-card span {
  color: #cbd5e1;
  font-size: 14px;
}

.tag {
  background: white;
  color: var(--dark);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  padding: 18px 8px 4px;
}

.stat {
  background: var(--dark-2);
  border-radius: 18px;
  padding: 18px;
  color: #cbd5e1;
  transition: background 0.3s ease, transform 0.3s ease;
}

.stat:hover {
  background: var(--dark);
  transform: translateY(-5px);
}

.stat strong {
  display: block;
  font-size: 27px;
  letter-spacing: -0.01em;
  color: #f1f5f9;
}

.stat span {
  color: #94a3b8;
  font-size: 13px;
  font-weight: 700;
}

section {
  padding: 88px 0;
}

.section-white {
  background: white;
}

.section-gray {
  background: var(--soft);
}

.section-dark {
  background: var(--dark);
  color: white;
}

.section-dark p,
.section-dark .muted {
  color: #cbd5e1;
}

.section-header {
  max-width: 760px;
  margin-bottom: 44px;
}

.section-header.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-tag {
  display: inline-flex;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--soft);
  color: #334155;
  font-size: 14px;
  font-weight: 900;
  margin-bottom: 18px;
}

.section-dark .section-tag {
  background: rgba(255, 255, 255, 0.1);
  color: #e2e8f0;
}

h2 {
  font-size: clamp(36px, 5vw, 54px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  font-weight: 700;
}

.section-header p,
.split p {
  margin-top: 20px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.cards-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.1);
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  background: var(--dark);
  color: white;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  font-size: 24px;
}

.card h3,
.step h3,
.dark-card h3 {
  font-size: 21px;
  letter-spacing: 0em;
  margin-bottom: 10px;
  font-weight: 700;
}

.card p,
.step p,
.dark-card p {
  color: var(--muted);
  line-height: 1.75;
}

.check-panel {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.05);
}

.check-panel h3 {
  font-size: 27px;
  letter-spacing: -0.01em;
  margin-bottom: 22px;
}

.check-list {
  display: grid;
  gap: 14px;
  list-style: none;
}

.check-list li {
  display: flex;
  gap: 12px;
  color: #334155;
  font-weight: 600;
  line-height: 1.65;
}

.check {
  color: var(--dark);
  font-weight: 700;
  flex: none;
}

.dark-grid {
  display: grid;
  gap: 18px;
}

.dark-card {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.dark-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.12);
  background: rgba(255, 255, 255, 0.24);
  border-color: rgba(255, 255, 255, 0.34);
}

.dark-card h3 {
  color: white;
}

.dark-card p {
  color: #dbeafe;
}

.step,
.card,
.form-card,
.about-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.step:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.1);
  background: var(--soft);
  border-color: var(--dark-2);
}

.about-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.1);
  background: var(--soft);
  border-color: var(--dark-2);
}

.step-number {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  background: var(--dark);
  color: white;
  display: grid;
  place-items: center;
  font-weight: 700;
  margin-bottom: 22px;
}

.why-grid {
  display: flex;
  flex-direction: column;
  gap: 44px;
  align-items: center;
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.contact-box {
  background: var(--dark);
  color: white;
  border-radius: 36px;
  overflow: hidden;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.contact-info,
.contact-form-wrap {
  padding: 54px;
}

.contact-info p {
  margin-top: 22px;
  color: #cbd5e1;
  font-size: 18px;
  line-height: 1.75;
}

.contact-lines {
  margin-top: 34px;
  display: grid;
  gap: 16px;
  color: #e2e8f0;
  font-weight: 700;
}

.contact-line {
  display: flex;
  align-items: center;
  gap: 12px;
}

.contact-form-wrap {
  background: white;
  color: var(--text);
}

.form-card {
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
}

.form-card h3 {
  font-size: 27px;
  letter-spacing: -0.01em;
}

.form-card p {
  color: var(--muted);
  margin-top: 10px;
  line-height: 1.7;
}

form {
  display: grid;
  gap: 14px;
  margin-top: 26px;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 16px 18px;
  font: inherit;
  background: white;
  color: var(--text);
  outline: none;
}

textarea {
  min-height: 125px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--dark);
  box-shadow: 0 0 0 4px rgba(15, 23, 42, 0.08);
}

footer {
  border-top: 1px solid var(--border);
  background: white;
  padding: 28px 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate {
  animation: fadeUp 0.7s ease both;
}

.delay-1 { animation-delay: 0.08s; }
.delay-2 { animation-delay: 0.16s; }
.delay-3 { animation-delay: 0.24s; }

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .hero-grid,
  .split,
  .why-grid,
  .contact-box {
    grid-template-columns: 1fr;
  }

  .cards-3,
  .cards-4,
  .mini-grid {
    grid-template-columns: 1fr;
  }

  .stats {
    grid-template-columns: 1fr;
  }

  .dashboard {
    transform: none;
  }

  .contact-info,
  .contact-form-wrap {
    padding: 34px;
  }

  .hero {
    padding-top: 68px;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .nav .btn {
    display: none;
  }

  h1 {
    font-size: 44px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  section {
    padding: 68px 0;
  }
}
