:root {
  color-scheme: dark;
  --bg: #090d16;
  --panel: #111827;
  --panel-2: #151d2b;
  --text: #f8fafc;
  --muted: #a7b1c2;
  --line: rgba(255,255,255,.12);
  --accent: #7c9cff;
  --accent-2: #5eead4;
  --shadow: 0 24px 80px rgba(0,0,0,.34);
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
a { color: inherit; }
.site-header {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; }
.brand img { border-radius: 9px; box-shadow: 0 10px 28px rgba(124,156,255,.28); }
nav { display: flex; align-items: center; justify-content: center; gap: 18px; flex: 1; }
nav a { color: var(--muted); font-size: 14px; text-decoration: none; }
nav a:hover { color: var(--text); }
.language-picker select {
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  color: var(--text);
  padding: 0 10px;
}
.hero {
  min-height: min(720px, calc(100vh - 76px));
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(360px, 1.1fr);
  gap: 38px;
  align-items: center;
  padding: 34px 0 44px;
}
.eyebrow { margin: 0 0 14px; color: var(--accent-2); font-weight: 700; letter-spacing: 0; }
h1 { margin: 0; font-size: clamp(40px, 5.4vw, 64px); line-height: 1.03; letter-spacing: 0; }
.lead { max-width: 670px; color: var(--muted); font-size: 19px; margin: 24px 0 0; }
.trust-line { color: var(--accent-2); font-size: 14px; font-weight: 700; margin: 14px 0 0; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.secondary-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 8px;
  padding: 0 18px;
  text-decoration: none;
  font-weight: 800;
  white-space: nowrap;
}
.button svg {
  width: 18px;
  height: 18px;
  margin-right: 8px;
  flex-shrink: 0;
}
.primary { background: var(--accent); color: #07101f; }
.secondary { background: var(--panel-2); border: 1px solid var(--line); }
.hero-media img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.carousel-container {
  position: relative;
  width: 100%;
  display: block;
}
.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  pointer-events: none;
  z-index: 1;
}
.carousel-slide.active {
  position: relative;
  opacity: 1;
  pointer-events: auto;
  z-index: 2;
}
.carousel-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}
.carousel-controls {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(9,13,22,.72);
  backdrop-filter: blur(8px);
}
.carousel-dots .dot {
  appearance: none;
  border: 0;
  padding: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: background 0.3s, transform 0.3s, width 0.3s;
}
.carousel-dots .dot:hover {
  background: rgba(255, 255, 255, 0.7);
  transform: scale(1.1);
}
.carousel-dots .dot.active {
  background: var(--accent);
  width: 18px;
  border-radius: 4px;
}
.carousel-toggle {
  appearance: none;
  width: 25px;
  height: 25px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 50%;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  font-size: 11px;
  line-height: 1;
}
.dot:focus-visible, .carousel-toggle:focus-visible, .button:focus-visible, summary:focus-visible, a:focus-visible, select:focus-visible {
  outline: 3px solid var(--accent-2);
  outline-offset: 3px;
}
.section { width: min(1180px, calc(100% - 32px)); margin: 0 auto; padding: 56px 0; }
.section-heading { max-width: 740px; margin-bottom: 24px; }
.section-heading p { margin-bottom: 0; font-size: 18px; }
h2 { margin: 0; font-size: clamp(30px, 4vw, 44px); line-height: 1.08; letter-spacing: 0; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.feature-grid article, .price-columns article, .workflow-grid li, .spec-grid div, .faq-list details {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
}
h3 { margin: 0 0 8px; font-size: 19px; }
p { color: var(--muted); }
.workflow-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; padding: 0; margin: 0; list-style: none; }
.workflow-grid li { display: flex; gap: 16px; }
.workflow-grid li > span {
  display: grid;
  place-items: center;
  flex: 0 0 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(124,156,255,.16);
  color: var(--accent);
  font-weight: 900;
}
.workflow-grid p, .feature-grid p { margin-bottom: 0; }
.spec-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 0; }
.spec-grid dt { color: var(--muted); font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.spec-grid dd { margin: 10px 0 0; color: var(--text); font-weight: 800; }
.faq-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.faq-list details { padding: 0; }
.faq-list summary { padding: 20px 22px; color: var(--text); font-weight: 800; cursor: pointer; }
.faq-list details p { margin: 0; padding: 0 22px 22px; }
.comparison { overflow-x: auto; border: 1px solid var(--line); border-radius: 8px; }
table { width: 100%; border-collapse: collapse; min-width: 720px; background: var(--panel); }
th, td { padding: 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--text); }
td { color: var(--muted); }
.pricing { display: grid; grid-template-columns: .8fr 1.2fr; gap: 24px; align-items: start; }
.price-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.price { color: var(--text); font-size: 40px; line-height: 1; margin: 16px 0; font-weight: 900; }
.price-label {
  display: inline-flex;
  margin: 14px 0 0;
  padding: 4px 8px;
  border-radius: 6px;
  background: rgba(94,234,212,.12);
  color: var(--accent-2);
  font-size: 13px;
  font-weight: 800;
}
.price-footnote { margin: 12px 0 0; color: var(--accent-2); font-size: 14px; font-weight: 700; }
.featured { border-color: rgba(94,234,212,.45) !important; }
footer {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}
.legal { width: min(860px, calc(100% - 32px)); margin: 0 auto; padding: 46px 0 72px; }
.legal article { background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: clamp(24px, 5vw, 44px); }
.legal h1 { font-size: clamp(34px, 5vw, 54px); }
.legal h2 { font-size: 22px; margin-top: 34px; }
.updated, .notice { color: var(--muted); }
.notice { border-left: 3px solid var(--accent); padding-left: 14px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media (max-width: 860px) {
  .site-header { align-items: flex-start; padding: 16px 0; flex-wrap: wrap; }
  nav { order: 3; flex-basis: 100%; justify-content: flex-start; overflow-x: auto; padding-bottom: 4px; }
  .hero { min-height: auto; grid-template-columns: 1fr; padding-top: 30px; }
  h1 { font-size: clamp(38px, 12vw, 58px); }
  .feature-grid, .pricing, .price-columns, .workflow-grid, .spec-grid, .faq-list { grid-template-columns: 1fr; }
  footer { align-items: flex-start; flex-direction: column; justify-content: center; padding: 24px 0; }
}
@media (max-width: 600px) {
  .site-header { min-height: 64px; gap: 12px; }
  nav { gap: 15px; }
  .hero { gap: 28px; padding: 20px 0 38px; }
  h1 { font-size: clamp(34px, 10.5vw, 42px); line-height: 1.06; }
  .lead { margin-top: 18px; font-size: 17px; line-height: 1.5; }
  .trust-line { margin-top: 10px; }
  .actions { align-items: stretch; margin-top: 22px; gap: 9px; }
  .actions > .primary { width: 100%; }
  .secondary-actions { width: 100%; gap: 8px; }
  .secondary-actions .button { flex: 1 1 150px; padding: 0 11px; font-size: 13px; }
  .section { padding: 42px 0; }
  .carousel-controls { bottom: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* AI Guide Markdown Page Styling */
.ai-guide {
  width: min(860px, calc(100% - 32px));
  margin: 0 auto;
  padding: 46px 0 72px;
}
.ai-guide article {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(24px, 5vw, 44px);
}
.ai-guide h1 {
  font-size: clamp(30px, 5vw, 44px);
  margin-top: 0;
  margin-bottom: 24px;
}
.ai-guide h2 {
  font-size: 22px;
  margin-top: 36px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 8px;
  color: var(--accent);
}
.ai-guide h3 {
  font-size: 18px;
  margin-top: 24px;
  margin-bottom: 12px;
  color: var(--accent-2);
}
.ai-guide hr {
  border: none;
  border-top: 1px solid var(--line);
  margin: 32px 0;
}
.ai-guide code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  background: rgba(255, 255, 255, 0.08);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.9em;
  color: var(--accent-2);
}
.ai-guide pre {
  background: #0d1117;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 16px;
  overflow-x: auto;
  margin: 18px 0;
}
.ai-guide pre code {
  background: none;
  padding: 0;
  border-radius: 0;
  color: #e6edf3;
  font-size: 14px;
}
.ai-guide table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0;
}
.ai-guide th, .ai-guide td {
  border: 1px solid var(--line);
  padding: 10px 14px;
  text-align: left;
}
.ai-guide th {
  background: rgba(255, 255, 255, 0.04);
}
.ai-guide ul, .ai-guide ol {
  padding-left: 24px;
  margin: 14px 0;
}
.ai-guide li {
  margin-bottom: 6px;
}
.ai-guide blockquote {
  margin: 20px 0;
  padding: 2px 18px;
  border-left: 4px solid var(--accent);
  background: rgba(124,156,255,.08);
}
.alert {
  padding: 14px 18px;
  border-radius: 6px;
  margin: 20px 0;
  border-left: 4px solid;
}
.alert-note {
  background: rgba(30, 41, 59, 0.5);
  border-color: #3b82f6;
  color: #93c5fd;
}
.alert-warning {
  background: rgba(69, 26, 3, 0.5);
  border-color: #ea580c;
  color: #fdba74;
}
.alert-tip {
  background: rgba(6, 78, 59, 0.5);
  border-color: #10b981;
  color: #6ee7b7;
}
.alert-important {
  background: rgba(88, 28, 135, 0.5);
  border-color: #a855f7;
  color: #d8b4fe;
}
.alert-caution {
  background: rgba(127, 29, 29, 0.5);
  border-color: #ef4444;
  color: #fca5a5;
}
.table-container {
  overflow-x: auto;
  width: 100%;
}
.guide-header-actions {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 20px;
}
.download-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--panel-2);
  border: 1px solid var(--line);
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  color: var(--text);
  transition: all 0.2s ease;
}
.download-badge:hover {
  background: var(--line);
  border-color: var(--accent);
  color: var(--accent);
}
.math {
  font-family: "Cambria Math", "Times New Roman", Times, serif;
  font-style: italic;
}
.math-display {
  font-family: "Cambria Math", "Times New Roman", Times, serif;
  font-style: italic;
  text-align: center;
  margin: 14px 0;
  font-size: 1.1em;
}
