:root {
  color-scheme: dark;
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
}

body {
  font-family: "Google Sans", "DM Sans", "Product Sans", Arial, ui-sans-serif, system-ui, sans-serif;
}

.site-shell {
  position: relative;
  min-height: 100vh;
  background: #080c17;
}

.site-shell::before,
.site-shell::after {
  content: "";
  position: fixed;
  z-index: 0;
  pointer-events: none;
}

.site-shell::before {
  top: 4rem;
  left: -8rem;
  width: 34rem;
  height: 34rem;
  background: radial-gradient(circle, rgba(47, 107, 255, 0.24) 0%, rgba(47, 107, 255, 0.1) 34%, transparent 68%);
  filter: blur(18px);
}

.site-shell::after {
  right: -10rem;
  bottom: 8rem;
  width: 38rem;
  height: 38rem;
  background: radial-gradient(circle, rgba(95, 141, 255, 0.18) 0%, rgba(47, 107, 255, 0.08) 36%, transparent 70%);
  filter: blur(22px);
}

.site-shell > * {
  position: relative;
  z-index: 1;
}

.brand-name {
  color: #f8fafc;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1;
}

.shadow-brand {
  box-shadow: 0 14px 35px rgba(47, 107, 255, 0.24);
}

.nav-link {
  transition: color 180ms ease;
}

.nav-link:hover {
  color: #5f8dff;
}

.go-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 60;
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  place-items: center;
  border: 1px solid rgba(47, 107, 255, 0.7);
  border-radius: 0.25rem;
  background: #2f6bff;
  color: #fff;
  box-shadow: 0 18px 44px rgba(47, 107, 255, 0.24);
  opacity: 0;
  pointer-events: none;
  transform: translateY(0.75rem);
  transition:
    opacity 180ms ease,
    transform 180ms ease,
    background 180ms ease;
}

.go-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.go-top:hover {
  background: #255fe8;
}

.primary-button,
.secondary-button,
.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.4rem;
  border-radius: 0.25rem;
  font-size: 0.92rem;
  font-weight: 700;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.primary-button {
  border: 1px solid rgba(47, 107, 255, 0.78);
  background: #2f6bff;
  color: #fff;
  padding: 0.56rem 0.9rem;
  box-shadow: 0 18px 44px rgba(47, 107, 255, 0.24);
}

.secondary-button {
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.06);
  color: #f8fafc;
  padding: 0.56rem 0.9rem;
}

.icon-button {
  width: 2.4rem;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.06);
  color: #f8fafc;
}

.large {
  min-height: 2.8rem;
  padding-inline: 1rem;
}

.primary-button:hover,
.secondary-button:hover,
.icon-button:hover {
  transform: translateY(-1px);
}

.hero-tag {
  border: 1px solid rgba(255, 255, 255, 0.9);
  background: #fff;
  color: #2f6bff;
}

.support-note {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #9fb6ff;
  font-size: 0.92rem;
  font-weight: 700;
}

.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 5rem;
  padding-bottom: 3rem;
}

.page-hero {
  padding-top: 9rem;
  padding-bottom: 4rem;
}

.secondary-button:hover,
.icon-button:hover {
  border-color: rgba(47, 107, 255, 0.48);
  background: rgba(47, 107, 255, 0.11);
}

.primary-button:hover {
  background: #255fe8;
  border-color: #5f8dff;
}

.metric {
  min-height: 5.25rem;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 0.25rem;
  background: rgba(255, 255, 255, 0.055);
  padding: 1rem;
}

.metric-value {
  display: block;
  color: #fff;
  font-size: clamp(1.12rem, 2vw, 1.6rem);
  font-weight: 900;
  line-height: 1.1;
}

.hero-screenshot-frame {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.25rem;
  background: rgba(255, 255, 255, 0.055);
  box-shadow:
    0 34px 80px rgba(0, 0, 0, 0.38),
    0 0 80px rgba(47, 107, 255, 0.12);
  overflow: hidden;
}

.hero-screenshot {
  display: block;
  width: 100%;
  height: auto;
}

.preview-label {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border: 1px solid rgba(95, 141, 255, 0.32);
  border-radius: 0.25rem;
  background: rgba(8, 12, 23, 0.78);
  color: #dbe6ff;
  padding: 0.45rem 0.6rem;
  font-size: 0.78rem;
  font-weight: 800;
  backdrop-filter: blur(12px);
}

.preview-label i {
  color: #5f8dff;
}

.hero-device {
  position: relative;
  isolation: isolate;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.25rem;
  background: rgba(255, 255, 255, 0.055);
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.38);
  overflow: hidden;
}

.hero-device::before {
  content: none;
}

.device-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  min-height: 3.2rem;
  background: rgba(255, 255, 255, 0.045);
  padding: 0 0.45rem 0 1rem;
}

.window-title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-width: 0;
  color: #dbe6ff;
  font-size: 0.86rem;
  font-weight: 700;
}

.window-title img {
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 0.25rem;
}

.window-title span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.window-controls {
  display: grid;
  grid-template-columns: repeat(3, 2.8rem);
  align-self: stretch;
}

.window-controls span {
  display: grid;
  place-items: center;
  color: #cbd5e1;
  font-size: 0.82rem;
}

.window-controls i {
  display: block;
  width: 1rem;
  height: 1rem;
  line-height: 1;
  text-align: center;
}

.window-controls .bi-square {
  font-size: 0.72rem;
}

.window-controls span:hover {
  background: rgba(255, 255, 255, 0.08);
}

.window-controls .close:hover {
  background: #c42b1c;
  color: #fff;
}

.device-body {
  display: grid;
  grid-template-columns: 9rem 1fr;
  min-height: 31rem;
}

.device-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(8, 12, 23, 0.42);
  padding: 1.35rem;
}

.sidebar-line {
  height: 0.7rem;
  border-radius: 0.25rem;
  background: rgba(255, 255, 255, 0.14);
}

.sidebar-pill {
  height: 2.4rem;
  border-radius: 0.25rem;
  background: rgba(255, 255, 255, 0.08);
}

.sidebar-pill.active {
  background: rgba(47, 107, 255, 0.18);
  outline: 1px solid rgba(47, 107, 255, 0.42);
}

.device-content {
  padding: clamp(1.15rem, 3vw, 2rem);
}

.status-dot {
  display: grid;
  width: 2.6rem;
  height: 2.6rem;
  place-items: center;
  border-radius: 0.25rem;
  background: rgba(47, 107, 255, 0.16);
  color: #5f8dff;
}

.file-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.75rem;
  min-height: 3.4rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.25rem;
  background: rgba(255, 255, 255, 0.06);
  padding: 0.85rem;
  color: #cbd5e1;
}

.file-row span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.file-row strong {
  color: #fff;
  font-size: 0.78rem;
}

.progress-card,
.download-panel,
.bento-card,
.slide-card {
  border: 1px solid rgba(255, 255, 255, 0.11);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(24px);
}

.progress-card {
  margin-top: 1.35rem;
  border-radius: 0.25rem;
  padding: 1.1rem;
}

.section-kicker {
  color: #5f8dff;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.section-title {
  margin-top: 0.7rem;
  color: #fff;
  font-size: clamp(1.8rem, 4vw, 3.25rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.04;
}

.bento-card {
  min-height: 15rem;
  border-radius: 0.25rem;
  padding: clamp(1.25rem, 2.4vw, 1.8rem);
}

.bento-card h3,
.slide-card h3 {
  margin-top: 1rem;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 800;
}

.bento-card p,
.slide-card p {
  margin-top: 0.7rem;
  color: #cbd5e1;
  line-height: 1.7;
}

.feature-icon,
.slide-icon {
  width: 2rem;
  height: 2rem;
}

.workflow-slider {
  overflow: visible;
  padding-bottom: 3rem;
}

.slide-card {
  min-height: 19rem;
  border-radius: 0.25rem;
  padding: 1.7rem;
}

.slide-card span {
  color: rgba(255, 255, 255, 0.34);
  font-size: 0.9rem;
  font-weight: 900;
}

.slide-icon {
  display: block;
  margin-top: 3.4rem;
}

.swiper-pagination-bullet {
  background: rgba(255, 255, 255, 0.7);
  opacity: 1;
}

.swiper-pagination-bullet-active {
  background: #2f6bff;
}

.download-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  border-radius: 0.25rem;
  padding: clamp(1.25rem, 3vw, 2rem);
}

.download-title {
  margin-top: 0.55rem;
  max-width: 42rem;
  color: #fff;
  font-size: clamp(1.8rem, 3vw, 3rem);
  font-weight: 800;
  line-height: 1.08;
}

.download-copy {
  margin-top: 1rem;
  max-width: 50rem;
  color: #cbd5e1;
  font-size: 1rem;
  line-height: 1.75;
}

.highlight-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(47, 107, 255, 0.28);
  border-radius: 0.25rem;
  background:
    radial-gradient(circle at top right, rgba(47, 107, 255, 0.18), transparent 28rem),
    rgba(255, 255, 255, 0.055);
  padding: clamp(1.4rem, 4vw, 3rem);
}

.highlight-panel::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 0.35rem;
  background: #2f6bff;
}

.highlight-ribbon {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.4rem;
  border: 1px solid rgba(47, 107, 255, 0.42);
  border-radius: 0.25rem;
  background: rgba(47, 107, 255, 0.16);
  color: #dbe6ff;
  padding: 0.65rem 0.85rem;
  font-size: 0.92rem;
  font-weight: 800;
}

.highlight-ribbon i {
  color: #5f8dff;
}

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

.highlight-card {
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 0.25rem;
  background: rgba(8, 12, 23, 0.5);
  padding: 1.35rem;
}

.highlight-card > i {
  display: grid;
  width: 2.6rem;
  height: 2.6rem;
  place-items: center;
  border-radius: 0.25rem;
  background: rgba(47, 107, 255, 0.14);
  color: #5f8dff;
  font-size: 1.2rem;
}

.highlight-card h3 {
  margin-top: 1.1rem;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 800;
}

.highlight-card p {
  margin-top: 0.75rem;
  color: #cbd5e1;
  line-height: 1.7;
}

.github-card {
  border-color: rgba(95, 141, 255, 0.38);
}

.github-card .secondary-button {
  margin-top: 1.2rem;
}

.decision-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 0.25rem;
  background: rgba(8, 12, 23, 0.64);
  padding: 1rem;
}

.decision-strip div {
  flex: 1;
  border-left: 2px solid #2f6bff;
  padding-left: 0.9rem;
}

.decision-strip span {
  display: block;
  color: #94a3b8;
  font-size: 0.86rem;
  font-weight: 700;
}

.decision-strip strong {
  display: block;
  margin-top: 0.25rem;
  color: #fff;
  font-size: 1rem;
}

.decision-strip > i {
  color: #5f8dff;
  font-size: 1.2rem;
}

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

.faq-column {
  display: grid;
  align-content: start;
  gap: 0.85rem;
}

.faq-item {
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 0.25rem;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  list-style: none;
  padding: 1.15rem 1.35rem;
  color: #fff;
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1.25;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary i {
  color: #5f8dff;
  transition: transform 180ms ease;
}

.faq-item[open] {
  border-color: rgba(47, 107, 255, 0.42);
  background: rgba(47, 107, 255, 0.08);
}

.faq-item[open] summary i {
  transform: rotate(180deg);
}

.faq-item p {
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  margin: 0;
  padding: 1rem 1.35rem 1.25rem;
  color: #cbd5e1;
  line-height: 1.7;
}

.blog-card {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 0.25rem;
  background: rgba(255, 255, 255, 0.06);
  padding: 1rem;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.blog-card:hover {
  border-color: rgba(47, 107, 255, 0.46);
  background: rgba(47, 107, 255, 0.08);
  transform: translateY(-2px);
}

.blog-thumb {
  display: grid;
  min-height: 20rem;
  place-items: center;
  border-radius: 0.25rem;
  background:
    linear-gradient(135deg, #12307d 0%, #2f6bff 52%, #86a6ff 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
}

.blog-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1rem, 3vw, 2rem);
}

.blog-content h2 {
  margin-top: 0.8rem;
  color: #fff;
  font-size: clamp(1.65rem, 3vw, 2.5rem);
  font-weight: 800;
  line-height: 1.12;
}

.blog-content p {
  margin-top: 1rem;
  color: #cbd5e1;
  line-height: 1.75;
}

.read-link,
.back-link {
  color: #5f8dff;
  font-weight: 700;
}

.article-wrap {
  padding-top: 9rem;
  padding-bottom: 5rem;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.article-thumb {
  min-height: 24rem;
}

.article-body {
  margin-top: 3rem;
  color: #d6deea;
  font-size: 1.08rem;
  line-height: 1.85;
}

.article-body h2 {
  margin-top: 2.2rem;
  margin-bottom: 0.8rem;
  color: #fff;
  font-size: 1.55rem;
  font-weight: 800;
  line-height: 1.2;
}

.article-body p + p {
  margin-top: 1.2rem;
}

.article-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: 3rem;
  border: 1px solid rgba(47, 107, 255, 0.34);
  border-radius: 0.25rem;
  background: rgba(47, 107, 255, 0.1);
  padding: 1.4rem;
}

.article-cta h2 {
  margin: 0;
  font-size: 1.25rem;
}

.article-cta p {
  margin-top: 0.35rem;
  color: #cbd5e1;
  font-size: 0.98rem;
  line-height: 1.6;
}

@media (max-width: 760px) {
  .brand-name {
    font-size: 1rem;
  }

  .device-body {
    grid-template-columns: 1fr;
  }

  .device-sidebar {
    display: none;
  }

  .file-row {
    grid-template-columns: auto 1fr;
  }

  .file-row strong {
    grid-column: 2;
  }

  .download-panel {
    align-items: stretch;
    flex-direction: column;
  }

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

  .decision-strip {
    align-items: stretch;
    flex-direction: column;
  }

  .decision-strip > i {
    transform: rotate(90deg);
  }

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

  .page-hero,
  .article-wrap {
    padding-top: 7rem;
  }

  .blog-card {
    grid-template-columns: 1fr;
  }

  .blog-thumb,
  .article-thumb {
    min-height: 14rem;
  }

  .article-cta {
    align-items: stretch;
    flex-direction: column;
  }
}

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