* {
  box-sizing: border-box;
}

:root {
  color-scheme: light;
  --bg: #f5f7ff;
  --text: #0b1220;
  --muted: #5b6478;
  --border: #e2e8f0;
  --accent: #4d7dff;
  --accent-2: #7c5cff;
  --accent-3: #ffb44c;
  --surface: #ffffff;
  --surface-alt: #f8faff;
  --shadow-lg: 0 28px 70px rgba(12, 20, 38, 0.16);
  --shadow-md: 0 18px 40px rgba(12, 20, 38, 0.12);
  --shadow-sm: 0 10px 20px rgba(12, 20, 38, 0.08);
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1160px, 92%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  background: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--text);
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-weight: 700;
  color: #ffffff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: var(--shadow-sm);
}

.nav-links {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 14px;
  color: var(--muted);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mobile-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #ffffff;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-direction: column;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.mobile-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 999px;
}

.mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  padding: 16px 0 20px;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}

.mobile-menu .container {
  display: grid;
  gap: 16px;
}

.mobile-links {
  display: grid;
  gap: 10px;
  font-size: 15px;
  color: var(--muted);
}

.mobile-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.nav-links a:hover {
  color: var(--accent);
}

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

.btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.btn-primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}

.btn-ghost {
  background: transparent;
  border-color: rgba(77, 125, 255, 0.3);
  color: var(--accent);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 13px;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-sm);
}

.lang-link {
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}

.lang-link.active {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #ffffff;
}

.hero {
  position: relative;
  padding: 96px 0 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-bg-image {
  position: absolute;
  top: -10%;
  right: -8%;
  width: min(780px, 70vw);
  opacity: 0.32;
  filter: blur(0.5px);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(800px 400px at 12% 18%, rgba(77, 125, 255, 0.18), transparent 70%),
    radial-gradient(700px 360px at 88% 12%, rgba(124, 92, 255, 0.16), transparent 70%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px;
  align-items: center;
  z-index: 1;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: #2b3c85;
  background: rgba(77, 125, 255, 0.16);
}

.pill::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

h1 {
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.1;
  margin: 16px 0;
}

h2 {
  font-size: clamp(26px, 3vw, 36px);
  margin: 0 0 12px;
}

.lead {
  font-size: 18px;
  color: var(--muted);
  margin: 0 0 22px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.cta .cta-row {
  flex-wrap: nowrap;
  align-items: center;
}

.cta .cta-row .btn {
  white-space: nowrap;
  flex-shrink: 1;
  min-width: 0;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 28px 0 16px;
}

.proof-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.95));
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: 0 8px 24px rgba(12, 20, 38, 0.08);
  transition: all 0.25s ease;
}

.proof-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(12, 20, 38, 0.12);
  border-color: rgba(77, 125, 255, 0.3);
}

.proof-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(77, 125, 255, 0.18), rgba(124, 92, 255, 0.18));
  color: var(--accent);
  box-shadow: 0 4px 12px rgba(77, 125, 255, 0.15);
}

.proof-icon i {
  font-size: 20px;
}

.proof-content {
  flex: 1;
  min-width: 0;
}

.proof-value {
  font-size: 19px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}

.proof-label {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.4;
  font-weight: 500;
}

.hero-keywords {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

.hero-media {
  position: relative;
}

.hero-illustration {
  width: 100%;
  border-radius: 28px;
  box-shadow: var(--shadow-lg);
}

.hero-float {
  position: absolute;
  right: -6%;
  bottom: -8%;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 18px;
  padding: 16px 18px;
  width: min(260px, 60%);
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: var(--shadow-md);
  animation: float 6s ease-in-out infinite;
}

.hero-float h4 {
  margin: 0 0 8px;
  font-size: 15px;
}

.hero-float ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 13px;
}

.section {
  padding: 72px 0;
}

.section-alt {
  background: var(--surface-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 40px;
}

.spotlight-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 42px;
  align-items: center;
}

.image-frame {
  border-radius: 28px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(226, 232, 240, 0.9);
}

.tick-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 24px;
  display: grid;
  gap: 14px;
}

.tick-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  color: var(--muted);
  padding: 8px 0;
  line-height: 1.5;
}

.tick-list li i {
  width: 24px;
  height: 24px;
  min-width: 24px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(12, 20, 38, 0.1);
  color: var(--accent);
  font-size: 12px;
  flex-shrink: 0;
  margin-top: 2px;
}

.tick-list li span {
  flex: 1;
}

.spotlight-copy .cta-row {
  margin-top: 32px;
  margin-bottom: 0;
}

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

.feature-card {
  padding: 20px 22px;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: var(--shadow-sm);
}

.feature-card h3 {
  margin: 14px 0 6px;
}

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

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: var(--shadow-sm);
}

.feature-icon i {
  font-size: 20px;
}

.workflow-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 42px;
  align-items: center;
}

.step-list {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.step {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.step-number {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: rgba(124, 92, 255, 0.18);
  color: #3a2c82;
  display: grid;
  place-items: center;
  font-weight: 700;
}

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

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

.faq-card {
  padding: 20px 22px;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: var(--shadow-sm);
}

.cta {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  padding: 56px;
  background: linear-gradient(135deg, rgba(77, 125, 255, 0.16), rgba(124, 92, 255, 0.16));
  border: 1px solid rgba(77, 125, 255, 0.2);
  box-shadow: var(--shadow-md);
}

.cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(500px 240px at 10% 0%, rgba(77, 125, 255, 0.25), transparent 70%),
    radial-gradient(500px 240px at 90% 0%, rgba(124, 92, 255, 0.25), transparent 70%);
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  align-items: center;
}

footer {
  padding: 40px 0 60px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  background: #ffffff;
}

.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.footer-lang {
  margin-bottom: 12px;
}

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

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@media (max-width: 1024px) {
  .hero-grid,
  .spotlight-grid,
  .workflow-grid,
  .cta-content {
    grid-template-columns: 1fr;
  }

  .nav {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .nav-links {
    display: none;
  }

  .nav-actions {
    display: none;
  }

  .mobile-toggle {
    display: inline-flex;
  }

  body.menu-open .mobile-menu {
    display: block;
  }

  .hero-float {
    position: static;
    width: auto;
    margin-top: 16px;
  }

  .hero-bg-image {
    width: 90vw;
  }
}

@media (max-width: 720px) {
  .hero-proof {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .proof-card {
    padding: 12px 14px;
  }

  .proof-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
  }

  .proof-icon svg {
    width: 18px;
    height: 18px;
  }

  .proof-value {
    font-size: 16px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .faq-grid {
    grid-template-columns: 1fr;
  }

  .cta {
    padding: 36px;
  }

  .cta .cta-row {
    flex-wrap: wrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-float {
    animation: none;
  }

  .btn:hover {
    transform: none;
  }
}
