@import '/manage/css/general.css';

* {
  box-sizing: border-box;
}

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

body {
  background:
    radial-gradient(circle at 10% 0%, rgba(62, 166, 255, .13), transparent 34%),
    radial-gradient(circle at 88% 18%, rgba(124, 201, 255, .09), transparent 30%),
    linear-gradient(180deg, #0d1421 0%, #09101b 52%, #0b111b 100%);
  color: var(--text);
  font: 14px/1.65 var(--font-ui);
}

a {
  color: inherit;
}

/* ── Shell ── */
.solution-shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 22px 0 56px;
}

/* ── Header ── */
.solution-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0 34px;
}

.solution-logo,
.solution-header-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.solution-header-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.solution-logo {
  gap: 10px;
  color: #eef6ff;
  font-weight: 800;
  letter-spacing: .03em;
}

.solution-logo img {
  display: block;
}

.solution-header-link {
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 10px;
  background: rgba(255, 255, 255, .04);
  color: rgba(233, 240, 255, .86);
  font-size: 13px;
  font-weight: 600;
}

.solution-header-link:hover {
  border-color: rgba(124, 201, 255, .28);
  background: rgba(124, 201, 255, .08);
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid rgba(124, 201, 255, .22);
  border-radius: 10px;
  background: rgba(62, 166, 255, .08);
  color: #7cc9ff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: background .15s, border-color .15s;
}

.lang-switch:hover {
  border-color: rgba(124, 201, 255, .4);
  background: rgba(62, 166, 255, .16);
}

/* ── Hero ── */
.solution-hero {
  max-width: 860px;
  padding: 44px 0 34px;
}

.solution-kicker,
.solution-card-eyebrow {
  color: #7cc9ff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.solution-hero h1 {
  margin: 10px 0 14px;
  color: #f3f8ff;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.05;
}

.solution-hero p {
  max-width: 760px;
  margin: 0;
  color: rgba(221, 232, 248, .78);
  font-size: 17px;
}

.solution-hero-detail {
  padding-top: 32px;
}

/* ── Hero CTA button ── */
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  padding: 12px 28px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, #3ea6ff 0%, #7cc9ff 100%);
  color: #0b1220;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s, box-shadow .18s;
}

.hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(62, 166, 255, .35);
}

/* ── Breadcrumb ── */
.solution-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  color: rgba(221, 232, 248, .64);
  font-size: 13px;
}

.solution-breadcrumb a {
  color: #9bd8ff;
  text-decoration: none;
}

/* ── Showcase Grid (Hub) ── */
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 8px;
}

.showcase-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 14px;
  background: rgba(11, 18, 30, .72);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .22);
  overflow: hidden;
  text-decoration: none;
  transition: border-color .2s, transform .2s;
}

.showcase-card:hover {
  border-color: rgba(124, 201, 255, .3);
  transform: translateY(-4px);
}

.showcase-card-img {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.showcase-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s;
}

.showcase-card:hover .showcase-card-img img {
  transform: scale(1.04);
}

.showcase-card-body {
  padding: 18px 20px 20px;
}

.showcase-card-body h3 {
  margin: 0 0 6px;
  color: #f1f7ff;
  font-size: 18px;
  line-height: 1.3;
}

.showcase-card-body p {
  margin: 0;
  color: rgba(221, 232, 248, .7);
  font-size: 13px;
}

.showcase-card-cta {
  margin-top: 10px;
  color: #9bd8ff;
  font-size: 13px;
  font-weight: 700;
}

/* ── Why Section (Hub) ── */
.why-section {
  margin-top: 48px;
  padding: 0;
}

.why-section h2 {
  margin: 0 0 20px;
  color: #f1f7ff;
  font-size: 28px;
  line-height: 1.2;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.why-card {
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, .085);
  border-radius: 12px;
  background: rgba(9, 15, 25, .68);
}

.why-card-icon {
  width: 40px;
  height: 40px;
  display: inline-grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(62, 166, 255, .12);
  color: #7cc9ff;
  font-size: 18px;
  margin-bottom: 12px;
}

.why-card h3 {
  margin: 0 0 6px;
  color: #eef6ff;
  font-size: 16px;
  font-weight: 700;
}

.why-card p {
  margin: 0;
  color: rgba(221, 232, 248, .7);
  font-size: 13px;
}

/* ── CTA Section ── */
.cta-section {
  margin-top: 48px;
  padding: 40px 32px;
  border: 1px solid rgba(255, 255, 255, .085);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(62, 166, 255, .08), rgba(124, 201, 255, .04)),
    rgba(9, 15, 25, .72);
  text-align: center;
}

.cta-section h2 {
  margin: 0 0 10px;
  color: #f1f7ff;
  font-size: 26px;
}

.cta-section p {
  margin: 0 0 20px;
  color: rgba(221, 232, 248, .7);
  font-size: 15px;
}

/* ── Detail: Problem Section ── */
.problem-section {
  margin-top: 32px;
}

.problem-section h2 {
  margin: 0 0 16px;
  color: #f1f7ff;
  font-size: 24px;
}

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

.problem-card {
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 12px;
  background: rgba(239, 71, 111, .06);
}

.problem-card-icon {
  width: 36px;
  height: 36px;
  display: inline-grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(239, 71, 111, .15);
  color: #ef476f;
  font-size: 16px;
  margin-bottom: 10px;
}

.problem-card h3 {
  margin: 0 0 6px;
  color: #eef6ff;
  font-size: 15px;
  font-weight: 700;
}

.problem-card p {
  margin: 0;
  color: rgba(221, 232, 248, .68);
  font-size: 13px;
}

/* ── Detail: How It Works ── */
.steps-section {
  margin-top: 32px;
}

.steps-section h2 {
  margin: 0 0 18px;
  color: #f1f7ff;
  font-size: 24px;
}

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

.step-card {
  padding: 22px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, .085);
  border-radius: 12px;
  background: rgba(9, 15, 25, .68);
}

.step-number {
  width: 38px;
  height: 38px;
  margin: 0 auto 12px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #3ea6ff, #7cc9ff);
  color: #0b1220;
  font-size: 16px;
  font-weight: 800;
}

.step-card h3 {
  margin: 0 0 6px;
  color: #eef6ff;
  font-size: 15px;
  font-weight: 700;
}

.step-card p {
  margin: 0;
  color: rgba(221, 232, 248, .7);
  font-size: 13px;
}

/* ── Detail: Live Demo (iframe) ── */
.demo-section {
  margin-top: 36px;
}

.demo-section h2 {
  margin: 0 0 16px;
  color: #f1f7ff;
  font-size: 24px;
}

.demo-wrap {
  max-width: 100%;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 14px;
  overflow: hidden;
  background: #0a0f18;
}

.demo-wrap iframe {
  display: block;
  width: 100%;
  aspect-ratio: 8/4;
  border: none;
}

.demo-caption {
  padding: 10px 16px;
  color: rgba(221, 232, 248, .6);
  font-size: 12px;
  text-align: center;
}

/* ── Detail: Features ── */
.features-section {
  margin-top: 32px;
}

.features-section h2 {
  margin: 0 0 18px;
  color: #f1f7ff;
  font-size: 24px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.feature-item {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 10px;
  color: rgba(229, 238, 252, .82);
}

.feature-item i {
  width: 22px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(62, 166, 255, .12);
  color: #7cc9ff;
  font-size: 11px;
  margin-top: 2px;
}

/* ── Detail: Use Cases ── */
.use-cases-section {
  margin-top: 32px;
}

.use-cases-section h2 {
  margin: 0 0 14px;
  color: #f1f7ff;
  font-size: 24px;
}

.use-case-list {
  display: grid;
  gap: 10px;
}

.use-case-item {
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 10px;
  background: rgba(255, 255, 255, .035);
  color: rgba(229, 238, 252, .8);
}

/* ── Detail: Formats ── */
.formats-section {
  margin-top: 32px;
}

.formats-section h2 {
  margin: 0 0 14px;
  color: #f1f7ff;
  font-size: 24px;
}

.format-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.format-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 11px;
  border: 1px solid rgba(124, 201, 255, .22);
  border-radius: 999px;
  background: rgba(62, 166, 255, .08);
  color: #ccecff;
  font-size: 13px;
  font-weight: 700;
}

/* ── Detail: FAQ ── */
.faq-section {
  margin-top: 32px;
}

.faq-section h2 {
  margin: 0 0 16px;
  color: #f1f7ff;
  font-size: 24px;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-item {
  border: 1px solid rgba(255, 255, 255, .085);
  border-radius: 10px;
  overflow: hidden;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 14px 16px;
  border: none;
  background: rgba(9, 15, 25, .68);
  color: #eef6ff;
  font-size: 14px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: background .15s;
}

.faq-question:hover {
  background: rgba(62, 166, 255, .08);
}

.faq-question i {
  color: rgba(221, 232, 248, .5);
  font-size: 12px;
  transition: transform .2s;
}

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

.faq-answer {
  display: none;
  padding: 0 16px 14px;
  background: rgba(9, 15, 25, .68);
  color: rgba(221, 232, 248, .75);
  font-size: 13px;
  line-height: 1.7;
}

.faq-item.open .faq-answer {
  display: block;
}

/* ── Related ── */
.related-section {
  margin-top: 32px;
}

.related-section h2 {
  margin: 0 0 14px;
  color: #f1f7ff;
  font-size: 24px;
}

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

.related-grid a {
  min-height: 70px;
  display: flex;
  align-items: center;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 10px;
  background: rgba(255, 255, 255, .035);
  color: #dcecff;
  text-decoration: none;
  font-weight: 700;
  transition: border-color .15s, background .15s;
}

.related-grid a:hover {
  border-color: rgba(124, 201, 255, .28);
  background: rgba(124, 201, 255, .08);
}

/* ── Footer ── */
.solution-footer {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, .06);
  color: rgba(221, 232, 248, .4);
  font-size: 12px;
  text-align: center;
}

.solution-footer a {
  color: #9bd8ff;
  text-decoration: none;
}

.solution-footer i {
  font-size: 11px;
  margin-right: 2px;
}

/* ── Responsive ── */
/* ── Detail: Tech Stack ── */
.tech-section {
  margin-top: 32px;
}

.tech-section h2 {
  margin: 0 0 16px;
  color: #f1f7ff;
  font-size: 24px;
}

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

.tech-card {
  padding: 20px;
  border: 1px solid rgba(124, 201, 255, .15);
  border-radius: 12px;
  background: rgba(62, 166, 255, .05);
}

.tech-card h3 {
  margin: 0 0 6px;
  color: #7cc9ff;
  font-size: 15px;
  font-weight: 800;
}

.tech-card p {
  margin: 0;
  color: rgba(221, 232, 248, .72);
  font-size: 13px;
}

/* ── Detail: Experience ── */
.experience-section {
  margin-top: 32px;
}

.experience-section h2 {
  margin: 0 0 16px;
  color: #f1f7ff;
  font-size: 24px;
}

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

.experience-card {
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, .085);
  border-radius: 12px;
  background: rgba(9, 15, 25, .68);
}

.experience-card-icon {
  width: 36px;
  height: 36px;
  display: inline-grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(62, 166, 255, .12);
  color: #7cc9ff;
  font-size: 16px;
  margin-bottom: 10px;
}

.experience-card h3 {
  margin: 0 0 6px;
  color: #eef6ff;
  font-size: 15px;
  font-weight: 700;
}

.experience-card p {
  margin: 0;
  color: rgba(221, 232, 248, .7);
  font-size: 13px;
}

@media(max-width:760px) {
  .solution-shell {
    width: min(100% - 24px, 1120px);
    padding-top: 14px;
  }

  .solution-header {
    padding-bottom: 18px;
  }

  .solution-hero {
    padding: 28px 0 22px;
  }

  .solution-hero h1 {
    font-size: 34px;
  }

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

  .showcase-grid,
  .why-grid,
  .features-grid,
  .problem-grid,
  .steps-grid,
  .tech-grid,
  .experience-grid,
  .related-grid {
    grid-template-columns: 1fr;
  }

  .demo-split {
    grid-template-columns: 1fr !important;
    grid-template-rows: 350px auto;
    height: auto;
  }

  .demo-split-handle { display: none; }

  .usecases-formats-section .use-case-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Use Cases + Formats Combined ── */
.usecases-formats-section {
  margin-top: 48px;
  border: 1px solid rgba(124, 201, 255, .1);
  border-radius: 14px;
  overflow: hidden;
}

/* ── Tech Card Links ── */
.tech-card h3 a {
  color: #7cc9ff;
  text-decoration: none;
  transition: color .15s;
}

.tech-card h3 a:hover {
  color: #a8dcff;
  text-decoration: underline;
}

.tech-card h3 a::after {
  content: ' ↗';
  font-size: 0.75em;
  opacity: .4;
}

.uf-header {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px 24px;
  background: rgba(124, 201, 255, .04);
  border-bottom: 1px solid rgba(124, 201, 255, .08);
}

.uf-header h2 {
  font-size: 15px;
  font-weight: 600;
  color: rgba(255,255,255,.5);
  margin: 0;
  white-space: nowrap;
  letter-spacing: .3px;
}

.uf-header .format-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
}

.uf-body {
  padding: 24px;
}

.uf-body h3 {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 16px;
  color: rgba(255,255,255,.85);
}

.use-case-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.usecases-formats-section .use-case-item {
  padding: 12px 16px;
  border-radius: 8px;
  background: rgba(124, 201, 255, .04);
  border: 1px solid rgba(124, 201, 255, .06);
  font-size: 14px;
  color: rgba(255,255,255,.7);
  line-height: 1.5;
}

/* ── Split-Pane Demo ── */
.demo-split {
  display: grid;
  grid-template-columns: 55% 6px 1fr;
  height: 520px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(124, 201, 255, .12);
  position: relative;
}

.demo-split-pane {
  overflow: hidden;
  min-width: 0;
}

.demo-split-viewer {
  background: #0a0f1a;
}

.demo-split-viewer iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.demo-split-handle {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(124, 201, 255, .06);
  cursor: col-resize;
  transition: background .15s;
  z-index: 2;
}

.demo-split-handle:hover {
  background: rgba(124, 201, 255, .14);
}

.demo-split-grip {
  width: 4px;
  height: 32px;
  border-radius: 2px;
  background: rgba(124, 201, 255, .3);
  transition: background .15s;
}

.demo-split-handle:hover .demo-split-grip {
  background: rgba(124, 201, 255, .6);
}

.demo-split-overlay {
  display: none;
  position: absolute;
  inset: 0;
  z-index: 10;
  cursor: col-resize;
}

/* ── Code Pane ── */
.demo-split-code {
  display: flex;
  flex-direction: column;
  background: #0d1117;
}

.demo-code-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  background: rgba(124, 201, 255, .04);
  border-bottom: 1px solid rgba(124, 201, 255, .08);
  flex-shrink: 0;
}

.demo-code-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.demo-code-dot.red { background: #ff5f57; }
.demo-code-dot.yellow { background: #febc2e; }
.demo-code-dot.green { background: #28c840; }

.demo-code-filename {
  margin-left: 8px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,.45);
  letter-spacing: .3px;
}

.demo-code-pre {
  flex: 1;
  margin: 0;
  padding: 16px 20px;
  overflow: auto;
}

.demo-code-block {
  font-family: 'JetBrains Mono', 'Fira Code', 'Consolas', 'Monaco', monospace;
  font-size: 12.5px;
  line-height: 1.75;
  color: #c9d1d9;
  white-space: pre;
  tab-size: 2;
}