:root {
  --bg: #f6f5f2;
  --fg: #1f2430;
  --muted: #5d6575;
  --brand: #3b63f3;
  --brand-dark: #2b4ed1;
  --accent: #f6c343;
  --card: #ffffff;
  --line: rgba(31, 36, 48, 0.08);
  --shadow: 0 22px 45px rgba(31, 36, 48, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 16px/1.7 "Manrope", "Segoe UI", Roboto, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--brand);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
  opacity: 0.85;
}

main {
  display: grid;
  gap: 96px;
  padding-bottom: 120px;
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

header {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 5;
}

header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
}

.logo {
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.02em;
  color: var(--fg);
}

nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

nav a {
  color: var(--fg);
  font-weight: 500;
}

.lang {
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
}

.lang:hover {
  border-color: var(--brand);
  color: var(--brand);
}

header .cta {
  padding: 12px 20px;
  background: var(--brand);
  color: #fff;
  border-radius: 999px;
  font-weight: 600;
  box-shadow: 0 14px 28px rgba(59, 99, 243, 0.25);
}

header .cta:hover {
  background: var(--brand-dark);
}

.hero {
  background: linear-gradient(135deg, rgba(59, 99, 243, 0.08), rgba(246, 195, 67, 0.24));
  border-radius: 28px;
  padding: 72px 68px;
  display: grid;
  gap: 28px;
  box-shadow: var(--shadow);
}

.hero h1 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  line-height: 1.15;
  margin: 0;
  font-weight: 700;
}

.hero p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.hero .pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(59, 99, 243, 0.12);
  color: var(--brand-dark);
  padding: 8px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn.primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 18px 32px rgba(59, 99, 243, 0.25);
}

.btn.primary:hover {
  background: var(--brand-dark);
  transform: translateY(-2px);
}

.btn.ghost {
  background: transparent;
  border-color: rgba(59, 99, 243, 0.35);
  color: var(--brand-dark);
}

.btn.ghost:hover {
  border-color: var(--brand);
  transform: translateY(-2px);
}

.section-heading {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 680px;
}

.section-heading span {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted);
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
}

.section-heading p {
  margin: 0;
  color: var(--muted);
}

.grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.card {
  background: var(--card);
  padding: 28px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow);
  display: grid;
  gap: 14px;
}

.card h3 {
  margin: 0;
  font-size: 1.25rem;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.card .tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(246, 195, 67, 0.2);
  color: #8a6412;
  font-size: 0.82rem;
  font-weight: 600;
}

.profile {
  display: grid;
  grid-template-columns: minmax(220px, 260px) 1fr;
  gap: 40px;
  align-items: center;
}

.avatar {
  width: 220px;
  height: 220px;
  border-radius: 30px;
  background: linear-gradient(135deg, #ffffff, rgba(246, 195, 67, 0.35));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.2rem;
  font-weight: 700;
  color: var(--brand-dark);
  box-shadow: var(--shadow);
}

.profile article {
  display: grid;
  gap: 18px;
}

.profile article p {
  margin: 0;
  color: var(--muted);
}

.timeline {
  display: grid;
  gap: 20px;
}

.timeline li {
  list-style: none;
  padding: 22px 26px;
  background: var(--card);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow);
  position: relative;
}

.timeline li::before {
  content: attr(data-step);
  position: absolute;
  left: 24px;
  top: -14px;
  background: var(--brand);
  color: #fff;
  font-size: 0.82rem;
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 600;
}

.timeline h3 {
  margin-top: 0;
  margin-bottom: 10px;
}

.timeline p {
  margin: 0;
  color: var(--muted);
}

.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}

.quote {
  background: var(--card);
  border-radius: 22px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow);
  display: grid;
  gap: 16px;
}

.quote p {
  margin: 0;
  color: var(--muted);
}

.quote cite {
  font-style: normal;
  font-weight: 600;
  color: var(--fg);
}

form.card label {
  font-weight: 600;
  color: var(--fg);
  font-size: 0.95rem;
}

input,
textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
  font: inherit;
  color: var(--fg);
  box-shadow: inset 0 1px 2px rgba(31, 36, 48, 0.05);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus,
textarea:focus {
  border-color: var(--brand);
  outline: none;
  box-shadow: 0 0 0 3px rgba(59, 99, 243, 0.18);
}

textarea {
  min-height: 160px;
  resize: vertical;
}

button.btn {
  border: none;
}

form.card .btn {
  align-self: start;
}

.cta-block {
  background: var(--brand);
  color: #fff;
  padding: 48px;
  border-radius: 26px;
  display: grid;
  gap: 18px;
  align-items: center;
  justify-items: start;
  box-shadow: 0 28px 55px rgba(59, 99, 243, 0.35);
}

.cta-block h2 {
  margin: 0;
  font-size: clamp(1.9rem, 3vw, 2.6rem);
}

.cta-block p {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
}

.cta-block .btn {
  background: #fff;
  color: var(--brand-dark);
  box-shadow: none;
}

footer {
  border-top: 1px solid var(--line);
  padding: 36px 0 48px;
  color: var(--muted);
  font-size: 0.92rem;
}

footer .footer-grid {
  display: grid;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}

footer .footer-grid strong {
  color: var(--fg);
}

@media (max-width: 960px) {
  .hero {
    padding: 56px 38px;
  }

  .profile {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .avatar {
    margin: 0 auto;
  }

  nav {
    gap: 16px;
  }
}

@media (max-width: 760px) {
  header .inner {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
  }

  header .cta {
    width: 100%;
    justify-content: center;
  }

  nav {
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero {
    padding: 44px 28px;
  }

  .cta-block {
    padding: 38px;
  }
}

@media (max-width: 520px) {
  body {
    font-size: 15px;
  }

  .hero {
    padding: 36px 24px;
  }

  header {
    position: static;
  }

  main {
    gap: 68px;
    padding-bottom: 80px;
  }
}
