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

:root {
  color-scheme: dark;
  --bg: #050614;
  --card: rgba(255, 255, 255, 0.03);
  --border: rgba(255, 255, 255, 0.08);
  --text: #f5f8ff;
  --muted: rgba(245, 248, 255, 0.8);
  --accent: #5e63ff;
  --accent-alt: #4fb483;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: radial-gradient(circle at top, rgba(94, 99, 255, 0.2), transparent 60%),
    radial-gradient(circle at bottom, rgba(79, 180, 131, 0.2), transparent 50%), var(--bg);
  color: var(--text);
  line-height: 1.6;
}

main {
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(1.5rem, 5vw, 4rem);
}

section {
  margin-bottom: clamp(2.5rem, 6vw, 4.5rem);
}

h1,
 h2,
 h3,
 h4,
 p {
  margin: 0 0 0.75rem;
}

.hero__lang-wrap {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 1rem;
}

.lang-switcher__select {
  padding: 8px 32px 8px 12px;
  font-size: 0.9rem;
  font-family: inherit;
  color: var(--text);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 999px;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23f5f8ff' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
}

.lang-switcher__select:hover,
.lang-switcher__select:focus {
  border-color: var(--accent);
  outline: none;
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  align-items: center;
  padding: clamp(2rem, 5vw, 4rem);
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
}

.hero p.lead {
  font-size: 1.15rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn--primary {
  background: linear-gradient(135deg, #5e63ff, #7d4bff);
  color: white;
  box-shadow: 0 20px 45px rgba(94, 99, 255, 0.35);
}

.btn--ghost {
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: white;
}

.btn:hover {
  transform: translateY(-2px);
}

.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero__visual img {
  width: min(380px, 90%);
  border-radius: 30px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  box-shadow: 0 40px 90px rgba(12, 10, 30, 0.6);
}

.eyebrow {
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-size: 12px;
  color: rgba(245, 248, 255, 0.65);
  margin-bottom: 12px;
}

.section__header {
  max-width: 720px;
}

.section__header h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}

.section__header p {
  color: var(--muted);
}

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

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

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

.card,
.result-card,
.testimonial {
  padding: 24px;
  border-radius: 24px;
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
}

.card h3 {
  margin-bottom: 0.5rem;
}

.card--accent {
  border-color: rgba(79, 180, 131, 0.4);
}

.card ul {
  padding-left: 18px;
  margin: 0;
  color: var(--muted);
}

.result-card img {
  width: 100%;
  border-radius: 20px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  margin-bottom: 12px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  list-style: none;
  padding: 0;
}

.steps li {
  padding: 20px;
  border-radius: 20px;
  background: var(--card);
  border: 1px solid var(--border);
}

.steps span {
  display: inline-flex;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  font-weight: 600;
  background: rgba(94, 99, 255, 0.2);
}

.section--cta {
  text-align: center;
  background: linear-gradient(135deg, rgba(94, 99, 255, 0.2), rgba(79, 180, 131, 0.2));
  border-radius: 32px;
  padding: clamp(2rem, 5vw, 3rem);
}

.section--cta .hero__actions {
  justify-content: center;
}

.faq details {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 16px 20px;
  margin-bottom: 12px;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
}

footer {
  border-top: 1px solid var(--border);
  padding: 2rem clamp(1.5rem, 7vw, 6rem) 3rem;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  color: rgba(245, 248, 255, 0.75);
}

footer a {
  color: inherit;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

@media (max-width: 640px) {
  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }
}
