:root {
  --bg-main: #ffffff;
  --bg-surface: #ffffff;
  --bg-muted: #f9fafb;
  --text-primary: #111111;
  --text-secondary: #374151;
  --text-tertiary: #6b7280;
  --text-inverse: #ffffff;
  --border-subtle: #e5e7eb;
  --border-strong: #d1d5db;
  --accent-primary: #6366f1;
  --accent-primary-hover: #4f46e5;
  --accent-soft-bg: #f5f5ff;
  --accent-soft-border: #e0e0ff;
  --hero-card-bg: #5b8def;
  --overlay-dark: rgba(0, 0, 0, 0.7);
  --glass-white: rgba(255, 255, 255, 0.95);
  --grid-line: rgba(255, 255, 255, 0.08);
  --blob-fill: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] {
  --bg-main: #0b1020;
  --bg-surface: #0f172a;
  --bg-muted: #131d35;
  --text-primary: #f3f4f6;
  --text-secondary: #d1d5db;
  --text-tertiary: #9ca3af;
  --text-inverse: #ffffff;
  --border-subtle: #25304a;
  --border-strong: #334155;
  --accent-primary: #818cf8;
  --accent-primary-hover: #6366f1;
  --accent-soft-bg: #1e293b;
  --accent-soft-border: #334155;
  --hero-card-bg: #37579a;
  --overlay-dark: rgba(0, 0, 0, 0.75);
  --glass-white: rgba(15, 23, 42, 0.94);
  --grid-line: rgba(255, 255, 255, 0.07);
  --blob-fill: rgba(255, 255, 255, 0.08);
}

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

html,
body {
  background: var(--bg-main);
  color: var(--text-primary);
  font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  transition:
    background-color 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease;
}

a,
button,
select,
span,
p,
h1,
h2,
div {
  transition:
    background-color 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease;
}

.theme-toggle {
  position: fixed;
  top: 14px;
  right: 24px;
  z-index: 1200;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: var(--bg-surface);
  color: var(--text-primary);
  cursor: pointer;
  display: grid;
  place-items: center;
}

.theme-toggle:hover {
  border-color: var(--accent-primary);
}

.theme-toggle__icon {
  font-size: 18px;
  line-height: 1;
}

.topbar {
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
  padding: 8px 0;
  font-size: 13px;
  color: var(--text-tertiary);
}

.topbar-inner,
.navbar-inner {
  max-width: 1204px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
}

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

.topbar select {
  border: none;
  background: none;
  color: var(--text-tertiary);
  cursor: pointer;
}

.topbar a,
.topbar-right a {
  color: var(--text-tertiary);
  text-decoration: none;
}

.navbar {
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
  position: sticky;
  top: 0;
  z-index: 100;
}

.navbar-inner {
  height: 64px;
}

.logo {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: none;
}

.logo-plus {
  color: var(--accent-primary);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2px;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 6px;
}

.nav-links a:hover {
  background: var(--bg-muted);
}

.chevron {
  font-size: 10px;
  color: var(--text-tertiary);
}

.btn-demo,
.btn-trial {
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 14px;
  text-decoration: none;
  cursor: pointer;
}

.btn-demo {
  border: 1.5px solid var(--border-strong);
  color: var(--text-secondary);
  background: var(--bg-surface);
}

.btn-trial {
  background: var(--accent-primary);
  color: var(--text-inverse);
  border: none;
  font-weight: 600;
}

.btn-demo:hover {
  border-color: var(--accent-primary);
  color: var(--accent-primary);
}

.btn-trial:hover {
  background: var(--accent-primary-hover);
}

.hero {
  background: var(--bg-main);
  padding: 80px 0 0;
  text-align: center;
}

.hero-inner {
  max-width: 1204px;
  margin: 0 auto;
  padding: 0 24px;
}

.hero-badge,
.value-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-soft-bg);
  border: 1px solid var(--accent-soft-border);
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 13px;
  color: var(--accent-primary);
}

.hero-badge {
  margin-bottom: 24px;
}

h1 {
  font-size: 52px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero p {
  font-size: 16px;
  color: var(--text-tertiary);
  max-width: 520px;
  margin: 0 auto 32px;
  line-height: 1.6;
}

.hero-actions,
.value-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.hero-actions {
  margin-bottom: 48px;
}

.btn-watch {
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  border: 1.5px solid var(--border-strong);
  color: var(--text-secondary);
  background: var(--bg-surface);
  text-decoration: none;
}

.btn-watch:hover {
  border-color: var(--accent-primary);
  color: var(--accent-primary);
}

.video-card {
  background: var(--hero-card-bg);
  border-radius: 16px;
  height: 480px;
  width: 100%;
  max-width: 1204px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.video-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 60px 60px;
}

.video-card::after {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  background: var(--grid-line);
  border-radius: 50%;
  top: -80px;
  left: -80px;
}

.blob {
  position: absolute;
  border-radius: 50%;
  background: var(--blob-fill);
}

.blob-1 {
  width: 250px;
  height: 250px;
  top: -60px;
  left: -60px;
}

.blob-2 {
  width: 150px;
  height: 150px;
  bottom: -40px;
  right: 60px;
}

.blob-3 {
  width: 80px;
  height: 80px;
  top: 60px;
  right: 200px;
}

.video-play {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--glass-white);
  border-radius: 999px;
  padding: 12px 24px;
  position: relative;
  z-index: 1;
  border: 0;
  cursor: pointer;
}

.play-btn {
  width: 36px;
  height: 36px;
  background: var(--accent-primary);
  color: var(--text-inverse);
  border-radius: 50%;
  font-size: 12px;
  display: grid;
  place-items: center;
}

.video-info {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.video-info span:first-child {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}

.video-info span:last-child {
  font-size: 12px;
  color: var(--text-tertiary);
}

.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  align-items: center;
  justify-content: center;
}

.modal.active {
  display: flex;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background: var(--overlay-dark);
}

.modal-content {
  position: relative;
  z-index: 1;
  width: 90%;
  max-width: 800px;
  border-radius: 12px;
  overflow: hidden;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--bg-surface);
  color: var(--text-primary);
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  cursor: pointer;
  font-size: 14px;
  z-index: 2;
}

.video-card video {
  display: none;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
  z-index: 2;
}

.partners {
  padding: 60px 0;
}

.partners-inner,
.value-inner,
.testimonial-head,
.trial-inner {
  max-width: 1204px;
  margin: 0 auto;
  padding: 0 24px;
}

.partners-inner img,
.value-img img,
.trial-inner img {
  width: 100%;
  height: auto;
  display: block;
}

.value {
  padding: 80px 0;
}

.value-inner {
  text-align: center;
}

.value-badge {
  margin-bottom: 20px;
}

.value-inner h2,
.testimonial-head h2 {
  font-size: 40px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
  margin-bottom: 16px;
}

.value-inner > .value-head > p,
.testimonial-head p {
  font-size: 15px;
  color: var(--text-tertiary);
  line-height: 1.6;
}

.value-inner > .value-head > p {
  max-width: 480px;
  margin: 0 auto 28px;
}

.value-actions {
  margin-bottom: 40px;
}

.value-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 32px;
  text-align: left;
}

.value-card {
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 24px;
  background: var(--bg-surface);
}

.value-card img {
  width: 32px;
  height: 32px;
  margin-bottom: 12px;
}

.value-card span {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.value-card p {
  font-size: 14px;
  color: var(--text-tertiary);
  line-height: 1.6;
}

.value-img {
  border-radius: 16px;
  overflow: hidden;
}

.testimonial {
  padding: 80px 0;
  overflow: hidden;
}

.testimonial-head {
  text-align: center;
  margin-bottom: 48px;
}

.testimonial-head p {
  max-width: 520px;
  margin: 0 auto;
}

.testimonial-track-wrapper {
  overflow: hidden;
  width: 100%;
}

.testimonial-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: scroll-left 20s linear infinite;
}

.testimonial-track:hover {
  animation-play-state: paused;
}

@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.testimonial-card {
  width: 400px;
  min-height: 524px;
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: var(--bg-surface);
  text-align: center;
}

.testimonial-card p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  text-align: center;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin-top: 32px;
}

.testimonial-author img {
  width: 60px;
  height: auto;
  margin-bottom: 8px;
}

.testimonial-author span:first-of-type {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}

.testimonial-author span:last-of-type {
  font-size: 13px;
  color: var(--text-tertiary);
}

.trial {
  padding: 60px 0;
}

.trial-inner img {
  border-radius: 16px;
}

@media (max-width: 1024px) {
  .nav-links {
    display: none;
  }

  h1 {
    font-size: 40px;
  }

  .value-cards {
    grid-template-columns: 1fr;
  }

  .testimonial-card {
    width: 320px;
    min-height: 420px;
  }
}

@media (max-width: 768px) {
  .topbar-right,
  .topbar-left span,
  .btn-demo {
    display: none;
  }

  .topbar-inner,
  .navbar-inner,
  .hero-inner,
  .partners-inner,
  .value-inner,
  .testimonial-head,
  .trial-inner {
    padding: 0 16px;
  }

  .nav-actions .btn-trial {
    padding: 8px 12px;
    font-size: 13px;
  }

  h1 {
    font-size: 30px;
  }

  .hero p {
    font-size: 15px;
  }

  .video-card {
    height: 320px;
  }

  .video-play {
    padding: 10px 14px;
    gap: 10px;
  }

  .play-btn {
    width: 32px;
    height: 32px;
  }

  .value-inner h2,
  .testimonial-head h2 {
    font-size: 30px;
  }
}
.solution {
  padding: 80px 0;
}

.solution-inner {
  max-width: 1204px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}

.solution-head {
  margin-bottom: 48px;
}

.solution-head h2 {
  font-size: 40px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.solution-head p {
  font-size: 15px;
  color: var(--text-tertiary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
  text-align: left;
}

.solution-card {
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: opacity 0.3s;
  background: var(--bg-surface);
}

.solution-card img {
  width: 36px;
  height: 36px;
}

.solution-card > span {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
}

.solution-card p {
  font-size: 14px;
  color: var(--text-tertiary);
  line-height: 1.6;
}

.solution-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
}

.solution-tags span {
  font-size: 12px;
  color: var(--accent-primary);
  background: var(--accent-soft-bg);
  border-radius: 999px;
  padding: 4px 10px;
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s;
}

.solution-tags span:hover {
  background: var(--accent-primary);
  color: var(--text-inverse);
}

.solution-card--dimmed {
  opacity: 0.4;
}

.solution-card--hidden-extra {
  display: none;
}

.btn-explore {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 8px;
  border: 1.5px solid var(--border-strong);
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition:
    border-color 0.2s,
    color 0.2s;
}

.btn-explore:hover {
  border-color: var(--accent-primary);
  color: var(--accent-primary);
}

.figma-faqblock {
  background: var(--bg-muted);
  padding: 88px 0 64px;
}

.figma-faqblock__inner {
  max-width: 1204px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
  gap: 56px;
}

.figma-faqblock__pill {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  background: var(--bg-surface);
  color: var(--text-secondary);
  font-size: 12px;
  line-height: 1;
  padding: 8px 12px;
  margin-bottom: 18px;
}

.figma-faqblock__title {
  font-size: 42px;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin: 0 0 14px;
}

.figma-faqblock__copy {
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-tertiary);
  max-width: 310px;
  margin: 0;
}

.figma-faqblock__accordion {
  border-top: 1px solid var(--border-subtle);
}

.figma-faqblock__item {
  border-bottom: 1px solid var(--border-subtle);
}

.figma-faqblock__question {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--text-primary);
  font-size: 24px;
  line-height: 1.3;
  letter-spacing: -0.01em;
  text-align: left;
  padding: 22px 0;
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.figma-faqblock__icon {
  color: var(--text-tertiary);
  font-size: 18px;
  line-height: 1;
  margin-top: 8px;
  flex: 0 0 auto;
}

.figma-faqblock__answer {
  color: var(--text-tertiary);
  font-size: 14px;
  line-height: 1.8;
  max-width: 760px;
  padding: 0 0 20px;
}

.figma-footblock {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  padding: 52px 0 28px;
}

.figma-footblock__inner {
  max-width: 1204px;
  margin: 0 auto;
  padding: 0 24px;
}

.figma-footblock__brand {
  display: inline-block;
  text-decoration: none;
  font-size: 31px;
  font-weight: 700;
  line-height: 1;
  color: var(--text-primary);
  margin-bottom: 34px;
}

.figma-footblock__brand span {
  color: var(--accent-primary);
  font-size: 24px;
  vertical-align: super;
}

.figma-footblock__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(140px, 1fr));
  gap: 28px;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--border-subtle);
}

.figma-footblock__col h3 {
  margin: 0 0 12px;
  font-size: 13px;
  color: var(--text-primary);
  font-weight: 600;
}

.figma-footblock__col a {
  display: block;
  text-decoration: none;
  color: var(--text-tertiary);
  font-size: 13px;
  line-height: 1.9;
}

.figma-footblock__col a:hover {
  color: var(--text-primary);
}

.figma-footblock__meta {
  padding-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--text-tertiary);
  font-size: 12px;
}

.figma-footblock__legal {
  display: flex;
  align-items: center;
  gap: 20px;
}

.figma-footblock__legal a {
  text-decoration: none;
  color: var(--text-tertiary);
  font-size: 12px;
}

.figma-footblock__legal a:hover {
  color: var(--text-primary);
}

@media (max-width: 1024px) {
  .solution-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .figma-faqblock__inner {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .figma-faqblock__title {
    font-size: 34px;
  }

  .figma-faqblock__question {
    font-size: 20px;
  }

  .figma-footblock__grid {
    grid-template-columns: repeat(2, minmax(180px, 1fr));
  }
}

@media (max-width: 768px) {
  .solution-inner {
    padding: 0 16px;
  }

  .solution-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .solution-head h2 {
    font-size: 30px;
  }

  .figma-faqblock {
    padding: 64px 0 52px;
  }

  .figma-faqblock__inner,
  .figma-footblock__inner {
    padding: 0 16px;
  }

  .figma-faqblock__title {
    font-size: 30px;
  }

  .figma-faqblock__question {
    font-size: 18px;
    padding: 16px 0;
  }

  .figma-footblock__grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .figma-footblock__meta {
    flex-direction: column;
    align-items: flex-start;
  }
}
