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

:root {
  --bg: #f6f8fc;
  --bg-warm: #f0f3fa;
  --surface: #ffffff;
  --surface-hover: #fafbff;
  --border: rgba(140, 160, 200, 0.2);
  --border-hover: rgba(89, 153, 255, 0.35);
  --text: #1a1e2e;
  --text-sub: #4a5570;
  --text-dim: #7b8aa6;
  --accent-blue: #4a9eff;
  --accent-purple: #9e78ff;
  --accent-green: #2ce5b5;
  --accent-red: #ff647f;
  --shadow-sm: 0 2px 12px rgba(100, 120, 180, 0.08);
  --shadow-md: 0 8px 30px rgba(100, 120, 180, 0.1);
  --shadow-lg: 0 16px 50px rgba(100, 120, 180, 0.12);
  --radius: 16px;
  --radius-sm: 12px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html, body { min-height: 100%; }

body {
  font-family: 'Manrope', sans-serif;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

/* --- Ambient glow --- */
.ambient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  animation: glow-drift 16s ease-in-out infinite;
}

.glow-1 {
  width: 500px; height: 500px;
  top: -100px; left: -80px;
  background: rgba(89, 193, 255, 0.4);
}

.glow-2 {
  width: 400px; height: 400px;
  top: 20%; right: -120px;
  background: rgba(158, 120, 255, 0.3);
  animation-delay: -5s;
}

.glow-3 {
  width: 500px; height: 500px;
  bottom: -200px; left: 40%;
  background: rgba(44, 229, 181, 0.25);
  animation-delay: -10s;
}

/* --- Layout --- */
.container {
  position: relative;
  z-index: 1;
  max-width: 960px;
  margin: 0 auto;
  padding: clamp(16px, 4vw, 32px) clamp(16px, 5vw, 40px);
}

/* --- Nav --- */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: clamp(32px, 6vw, 56px);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo {
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-name {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #4a9eff, #9e78ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

.lang-btn {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 2px solid transparent;
  background: rgba(0, 0, 0, 0.04);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.lang-btn:hover {
  background: rgba(0, 0, 0, 0.08);
  transform: scale(1.08);
}

.lang-btn.active {
  border-color: var(--accent-blue);
  background: rgba(74, 158, 255, 0.1);
}

/* --- Hero --- */
.hero {
  text-align: center;
  margin-bottom: clamp(40px, 8vw, 72px);
}

.hero-kicker {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 14px;
}

h1 {
  font-size: clamp(1.8rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}

.gradient-text {
  background: linear-gradient(135deg, #4a9eff 10%, #9e78ff 50%, #2ce5b5 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-desc {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  color: var(--text-sub);
  max-width: 52ch;
  margin: 0 auto;
  line-height: 1.7;
}

/* --- Section label --- */
.section-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 18px;
}

/* --- Features --- */
.features { margin-bottom: clamp(40px, 8vw, 64px); }

.feature-card-main {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  padding: clamp(28px, 5vw, 40px);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  font-size: 2.4rem;
  margin-bottom: 16px;
}

.feature-card-main h2 {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.feature-steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 28px;
}

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

.step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
  color: white;
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-step strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.feature-step p {
  font-size: 0.84rem;
  color: var(--text-sub);
  line-height: 1.6;
}

.btn-start {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
  color: white;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 4px 20px rgba(74, 158, 255, 0.3);
  width: 100%;
  text-align: center;
}

.btn-start:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(74, 158, 255, 0.4);
}

/* --- Use Cases --- */
.use-cases { margin-bottom: clamp(40px, 8vw, 56px); }

.use-cases-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.use-case-chip {
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-sub);
  box-shadow: var(--shadow-sm);
}

/* --- CTA Bottom --- */
.cta-bottom {
  text-align: center;
  margin-bottom: clamp(40px, 8vw, 56px);
}

.cta-bottom .btn-start {
  max-width: 360px;
  margin: 0 auto;
}

.cta-sub {
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-top: 10px;
}

/* --- Why section --- */
.why { margin-bottom: clamp(40px, 8vw, 56px); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.why-card {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.why-icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  background: linear-gradient(135deg, rgba(74, 158, 255, 0.12), rgba(158, 120, 255, 0.1));
  border: 1px solid rgba(74, 158, 255, 0.15);
  margin-bottom: 12px;
}

.why-card h3 {
  font-size: 0.92rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.why-card p {
  font-size: 0.8rem;
  color: var(--text-sub);
  line-height: 1.55;
}

/* --- Footer --- */
.footer {
  text-align: center;
  padding: 24px 0;
  border-top: 1px solid var(--border);
}

.footer-text {
  font-size: 0.78rem;
  color: var(--text-dim);
}

/* --- Animations --- */
@keyframes glow-drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(15px, -10px) scale(1.05); }
}

@keyframes pulse-dot {
  0% { box-shadow: 0 0 0 0 rgba(44, 229, 181, 0.4); }
  70% { box-shadow: 0 0 0 8px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}

/* --- Responsive --- */
@media (max-width: 720px) {
  .tools-grid {
    grid-template-columns: 1fr;
  }

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

  h1 { font-size: 1.7rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}
