:root {
  --bg: #eef3ff;
  --text: #0f172a;
  --muted: #475569;
  --primary: #3b82f6;
  --primary-dark: #1d4ed8;
  --accent: #8b5cf6;
  --accent-soft: #e9ddff;
  --card: #ffffff;
  --border: #d7e1f0;
  --shadow-soft: 0 10px 30px rgba(15, 23, 42, 0.08);
  --shadow-hover: 0 18px 38px rgba(30, 64, 175, 0.2);
}

* {
  box-sizing: border-box;
}

body {
  font-family: Inter, Segoe UI, Arial, sans-serif;
  margin: 0;
  background:
    radial-gradient(circle at 10% 0%, rgba(59, 130, 246, 0.18), transparent 38%),
    radial-gradient(circle at 95% 8%, rgba(139, 92, 246, 0.2), transparent 30%),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px 28px;
}

p {
  margin: 0 0 12px;
  line-height: 1.7;
}

h1,
h2,
h3 {
  line-height: 1.3;
  letter-spacing: 0.01em;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(238, 243, 255, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 12px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}

.brand {
  font-weight: 700;
  font-size: 18px;
  color: var(--text);
  text-decoration: none;
}

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

.menu {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.menu a {
  color: #334155;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s ease;
}

.menu a:hover {
  color: var(--primary);
}

.lang-switch {
  display: flex;
  gap: 6px;
}

.lang-btn {
  padding: 7px 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  font-size: 12px;
  color: #0f172a;
  transition: all 0.2s ease;
}

.lang-btn:hover {
  border-color: #b7c7e3;
  transform: translateY(-1px);
}

.lang-btn[aria-pressed="true"] {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.hero {
  margin-top: 18px;
  border-radius: 22px;
  min-height: 360px;
  background:
    linear-gradient(105deg, rgba(15, 23, 42, 0.88), rgba(37, 99, 235, 0.7)),
    url("https://images.unsplash.com/photo-1551434678-e076c223a692?auto=format&fit=crop&w=1400&q=80")
      center / cover;
  color: #fff;
  padding: 38px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -80px -120px auto;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.24), transparent 70%);
  pointer-events: none;
}

.hero h1 {
  margin: 0 0 8px;
  font-size: 40px;
}

.hero .hero-lead {
  margin: 0 0 10px;
  max-width: 640px;
  color: #e2e8f0;
  line-height: 1.55;
  font-size: 1.05rem;
}

.hero .hero-sub {
  margin: 0 0 18px;
  max-width: 620px;
  color: #cbd5f5;
  font-size: 0.95rem;
  line-height: 1.5;
}

.trust-strip {
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  margin: 18px 0 6px;
  letter-spacing: 0.03em;
  font-weight: 500;
}

.faq {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 8px;
}

.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px 14px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
}

.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--text);
}

.faq-item p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.55;
  font-size: 14px;
}

.about-block p {
  margin: 0;
  line-height: 1.6;
  color: var(--muted);
}

.buttons a,
button {
  display: inline-block;
  border: 0;
  border-radius: 12px;
  padding: 10px 16px;
  text-decoration: none;
  margin-right: 8px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), #2563eb);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.25s ease, background 0.2s ease;
}

.buttons a:hover,
button:hover {
  background: linear-gradient(135deg, #2563eb, var(--primary-dark));
  transform: translateY(-1px);
  box-shadow: 0 12px 22px rgba(29, 78, 216, 0.28);
}

.buttons a.secondary,
button.secondary {
  background: linear-gradient(135deg, #334155, #1e293b);
}

.section-title {
  margin: 28px 0 10px;
  font-size: 24px;
}

.section-subtitle {
  color: var(--muted);
  margin: 0 0 12px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.pricing-grid .plan-card {
  position: relative;
}

.plan-badge {
  display: inline-block;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
  color: #1d4ed8;
  background: #dbeafe;
  margin-bottom: 10px;
}

.featured-plan {
  border-color: #93c5fd;
  background: linear-gradient(180deg, #f8fbff, #ffffff);
}

.featured-plan .plan-badge {
  color: #5b21b6;
  background: #ede9fe;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.25s ease, border-color 0.2s ease;
}

.card p {
  color: #334155;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: #bfd0ec;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.step-no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
  color: #1d4ed8;
  background: #dbeafe;
  margin-bottom: 8px;
}

.contact {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 14px;
}

.cta {
  margin-top: 20px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.98), rgba(240, 245, 255, 0.96)),
    var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px;
}

input,
select {
  width: 100%;
  margin-bottom: 10px;
  padding: 10px 12px;
  border: 1px solid #c2cfe3;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.92);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

input:focus,
select:focus {
  outline: none;
  border-color: #7aa6f8;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.16);
  background: #fff;
}

.result {
  margin-top: 10px;
  font-size: 14px;
}

footer {
  margin: 28px 0 8px;
  color: #64748b;
  font-size: 13px;
  text-align: center;
}

.footer-links {
  display: inline-flex;
  gap: 10px;
  margin-left: 8px;
}

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

.footer-links a:hover {
  color: var(--primary);
  text-decoration: underline;
}

.legal-doc {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  padding: 26px;
}

.legal-doc h1 {
  margin: 0 0 14px;
}

.legal-doc h2 {
  margin-top: 20px;
  margin-bottom: 8px;
  font-size: 20px;
}

.legal-doc p {
  text-align: left;
}

@media (prefers-reduced-motion: no-preference) {
  .hero,
  .card,
  .faq-item {
    animation: riseIn 0.5s ease both;
  }
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .nav-inner {
    flex-wrap: wrap;
  }

  .lang-switch {
    width: 100%;
    justify-content: flex-end;
  }

  .grid,
  .steps,
  .contact,
  .features-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 280px;
    padding: 22px;
    border-radius: 18px;
  }

  .hero h1 {
    font-size: 32px;
  }
}
