:root {
  --bg: #ffffff;
  --bg-alt: #f9fafb;
  --text: #111827;
  --muted: #6b7280;
  --border: #e5e7eb;
  --accent1: #f97316;
  --accent2: #ec4899;
  --accent3: #6366f1;
  --radius-lg: 18px;
  --radius-md: 12px;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.08);
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Segoe UI", sans-serif;
  color: var(--text);
  background: radial-gradient(circle at top left, #fef3c7, #f9fafb 45%, #eff6ff);
}

body {
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

/* Layout */

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.shell {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px);
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(229, 231, 235, 0.7);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 1rem;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: conic-gradient(
    from 210deg,
    #f97316,
    #ec4899,
    #6366f1,
    #22c55e,
    #f97316
  );
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(79, 70, 229, 0.4);
}

.logo-mark span {
  font-size: 18px;
  color: #fff;
  font-weight: 700;
}

.logo-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.logo-text-main {
  font-weight: 700;
  letter-spacing: 0.02em;
  font-size: 0.95rem;
}

.logo-text-sub {
  font-size: 0.75rem;
  color: var(--muted);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  justify-content: flex-end;
  flex: 1;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.9rem;
}

.nav-links a {
  color: #4b5563;
  font-weight: 500;
  cursor: pointer;
}

.nav-links a:hover {
  color: #111827;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn {
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 0.55rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: all 0.15s ease-out;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(120deg, #f97316, #ec4899, #6366f1);
  color: #f9fafb;
  box-shadow: 0 14px 30px rgba(79, 70, 229, 0.4);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 40px rgba(79, 70, 229, 0.45);
  filter: brightness(1.03);
}

.btn-outline {
  border-color: rgba(148, 163, 184, 0.7);
  background: rgba(255, 255, 255, 0.7);
  color: #111827;
}

.btn-outline:hover {
  border-color: #111827;
  background: #ffffff;
}

.pill {
  border-radius: 999px;
  padding: 0.15rem 0.7rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  border: 1px solid rgba(148, 163, 184, 0.7);
  color: #4b5563;
  background: rgba(255, 255, 255, 0.9);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.25);
}

/* LANGUAGE SELECTOR */

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: #6b7280;
}

.lang-switcher label {
  display: none;
}

.lang-select {
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: rgba(255, 255, 255, 0.8);
  padding: 0.3rem 0.8rem;
  font-size: 0.8rem;
  color: #374151;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #9ca3af 50%),
    linear-gradient(135deg, #9ca3af 50%, transparent 50%);
  background-position: calc(100% - 10px) 52%, calc(100% - 6px) 52%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 1.6rem;
}

/* Hero */

.hero {
  padding: 3rem 0 4rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
}

.hero-title {
  font-size: clamp(2.1rem, 3vw + 1.4rem, 3rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin: 1rem 0 0.75rem;
}

.hero-highlight {
  background: linear-gradient(120deg, #f97316, #ec4899, #6366f1);
  -webkit-background-clip: text;
  color: transparent;
}

.hero-sub {
  font-size: 0.98rem;
  color: #4b5563;
  max-width: 32rem;
  line-height: 1.6;
}

.hero-meta {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.hero-badges {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  font-size: 0.78rem;
  color: #6b7280;
}

.hero-kpis {
  display: flex;
  gap: 1.5rem;
  margin-top: 1.75rem;
  flex-wrap: wrap;
}

.hero-kpi {
  padding: 0.7rem 1rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(229, 231, 235, 0.95);
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.04);
  min-width: 140px;
}

.hero-kpi strong {
  display: block;
  font-size: 1.25rem;
}

.hero-kpi span {
  font-size: 0.75rem;
  color: var(--muted);
}

.hero-actions {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-aside {
  position: relative;
}

.hero-card {
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(229, 231, 235, 0.9);
  padding: 1.25rem;
  box-shadow: var(--shadow-soft);
  max-width: 380px;
  margin-left: auto;
  position: relative;
  overflow: hidden;
}

.hero-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.avatar {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: linear-gradient(135deg, #6366f1, #ec4899);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f9fafb;
  font-weight: 700;
  font-size: 0.9rem;
}

.hero-badge {
  font-size: 0.72rem;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: #eef2ff;
  color: #3730a3;
  font-weight: 600;
}

.chat-bubble {
  border-radius: 18px;
  padding: 0.6rem 0.8rem;
  font-size: 0.8rem;
  margin-bottom: 0.4rem;
  max-width: 260px;
}

.chat-bubble.user {
  margin-left: auto;
  background: #e5e7eb;
  border-bottom-right-radius: 4px;
}

.chat-bubble.bot {
  background: #eff6ff;
  border-bottom-left-radius: 4px;
}

.chat-meta {
  margin-top: 0.75rem;
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  color: var(--muted);
}

.hero-floating {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 120px;
  height: 120px;
  border-radius: 40px;
  background: radial-gradient(circle at 10% 10%, #f97316, #ec4899, #6366f1);
  opacity: 0.18;
  filter: blur(6px);
  pointer-events: none;
}

.hero-sticker {
  position: absolute;
  bottom: -16px;
  left: -4px;
  border-radius: 999px;
  background: #111827;
  color: #f9fafb;
  font-size: 0.7rem;
  padding: 0.55rem 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.4);
}

.hero-sticker span {
  font-weight: 600;
}

/* Sections */

section {
  padding: 3rem 0;
}

.section-header {
  text-align: center;
  max-width: 540px;
  margin: 0 auto 2rem;
}

.section-eyebrow {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #6b7280;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.section-title {
  font-size: 1.6rem;
  letter-spacing: -0.03em;
  margin-bottom: 0.5rem;
}

.section-desc {
  font-size: 0.95rem;
  color: #6b7280;
}

.pill-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1rem;
}

.pill-small {
  padding: 0.2rem 0.7rem;
  font-size: 0.75rem;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  background: rgba(255, 255, 255, 0.9);
  color: #4b5563;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.pill-emoji {
  font-size: 0.9rem;
}

/* How it works */

.hiw-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
}

.hiw-steps {
  display: grid;
  gap: 1rem;
}

.hiw-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem 1rem;
  padding: 0.9rem 1rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #e5e7eb;
  align-items: flex-start;
}

.hiw-step-number {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  border: 1px solid #c4b5fd;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 600;
  color: #4c1d95;
  background: #f5f3ff;
  margin-top: 2px;
}

.hiw-step-title {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.1rem;
}

.hiw-step-text {
  font-size: 0.86rem;
  color: #6b7280;
}

.hiw-note {
  margin-top: 1rem;
  font-size: 0.78rem;
  color: #6b7280;
}

.hiw-card {
  border-radius: var(--radius-lg);
  background: #0f172a;
  color: #e5e7eb;
  padding: 1.25rem;
  box-shadow: var(--shadow-soft);
}

.hiw-card-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #9ca3af;
  margin-bottom: 0.4rem;
}

.hiw-card-title {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.hiw-card-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  padding: 0.4rem 0;
  border-bottom: 1px dashed rgba(75, 85, 99, 0.6);
}

.hiw-card-item:last-child {
  border-bottom: none;
}

.hiw-card-tag {
  font-size: 0.7rem;
  padding: 0.2rem 0.4rem;
  border-radius: 999px;
  background: rgba(55, 65, 81, 0.8);
}

/* Features */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}

.feature-card {
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid #e5e7eb;
  padding: 1rem;
  font-size: 0.86rem;
  color: #4b5563;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.feature-icon {
  font-size: 1rem;
}

.feature-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: #111827;
}

.feature-tag {
  font-size: 0.7rem;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  background: #eff6ff;
  color: #1d4ed8;
  align-self: flex-start;
}

/* Use cases */

.usecase-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1.25rem;
}

.usecase-pill {
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  border: 1px dashed #e5e7eb;
  background: rgba(255, 255, 255, 0.9);
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #4b5563;
}

/* Pricing */

.pricing-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
}

.pricing-card {
  border-radius: 24px;
  background: #111827;
  color: #e5e7eb;
  padding: 1.6rem 1.6rem 1.4rem;
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.pricing-chip {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(156, 163, 175, 0.7);
  color: #d1d5db;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
  background: rgba(15, 23, 42, 0.9);
}

.pricing-main {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  margin-bottom: 0.15rem;
}

.pricing-amount {
  font-size: 2rem;
  font-weight: 700;
}

.pricing-period {
  font-size: 0.85rem;
  color: #9ca3af;
}

.pricing-desc {
  font-size: 0.85rem;
  color: #9ca3af;
  margin-bottom: 0.8rem;
}

.pricing-save {
  font-size: 0.8rem;
  color: #f97316;
  font-weight: 600;
  margin-bottom: 0.9rem;
}

.pricing-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.1rem;
  font-size: 0.85rem;
  display: grid;
  gap: 0.4rem;
}

.pricing-list li {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
}

.pricing-list span {
  margin-top: 0.12rem;
}

.pricing-cta-note {
  font-size: 0.78rem;
  color: #9ca3af;
  margin-top: 0.5rem;
}

.pricing-or {
  text-align: center;
  font-size: 0.8rem;
  color: #6b7280;
  margin: 0.6rem 0;
}

.pricing-fade {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(236, 72, 153, 0.5),
      transparent 55%);
  opacity: 0.45;
  pointer-events: none;
}

.pricing-inner {
  position: relative;
  z-index: 1;
}

/* FAQ */

.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 2rem;
}

.faq-list {
  display: grid;
  gap: 0.8rem;
}

.faq-item {
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid #e5e7eb;
  padding: 0.75rem 0.9rem;
  font-size: 0.9rem;
  cursor: pointer;
}

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.faq-q span {
  font-weight: 600;
}

.faq-toggle {
  font-size: 1.1rem;
  color: #9ca3af;
  flex-shrink: 0;
}

.faq-a {
  margin-top: 0.4rem;
  font-size: 0.85rem;
  color: #6b7280;
  display: none;
}

.faq-item.active .faq-a {
  display: block;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

/* Footer */

footer {
  border-top: 1px solid #e5e7eb;
  padding: 1.25rem 0 1.75rem;
  font-size: 0.8rem;
  color: #6b7280;
  background: rgba(248, 250, 252, 0.9);
  margin-top: 1rem;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: #6b7280;
}

.footer-links a:hover {
  color: #111827;
}

/* Responsive */

@media (max-width: 960px) {
  .nav-links {
    display: none;
  }

  .hero-grid,
  .hiw-grid,
  .pricing-wrap,
  .faq-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-card {
    margin: 2rem auto 0;
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  header {
    position: fixed;
  }

  .hero {
    padding-top: 5rem;
  }

  .shell {
    padding: 0 1.1rem;
  }

  .hero-grid {
    gap: 2.25rem;
  }

  .feature-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .pricing-card {
    padding: 1.3rem 1.3rem 1.1rem;
  }

  .hero-kpis {
    gap: 0.9rem;
  }

  .lang-switcher {
    display: none;
    /* Optional: hide lang selector on very small screens if it feels too tight */
  }
}
