﻿/* Qiaolabs-inspired landing style */

.landing {
  width: 100%;
}

.lr-container {
  width: min(1120px, 100% - 2rem);
  margin: 0 auto;
}

.hero-band {
  background: #eef3fb;
  border-bottom: 1px solid #e3e9f5;
  min-height: calc(100vh - var(--pub-header-h, 56px));
  display: flex;
  align-items: stretch;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(360px, 0.9fr);
  gap: 1.6rem;
  align-items: center;
  padding: clamp(2rem, 4.8vw, 3.35rem) 0 1.35rem;
  min-height: calc(100vh - var(--pub-header-h, 56px));
}

.hero-copy {
  display: flex;
  flex-direction: column;
  max-width: 600px;
}

.hero-chip {
  display: inline-flex;
  margin: 0 0 0.9rem;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: #e6edff;
  color: #355fc9;
  font-size: 0.72rem;
  font-weight: 600;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(2.15rem, 5.2vw, 3.7rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: #171f3a;
  max-width: 10.8ch;
}

.hero-title-main {
  display: block;
  color: #171f3a;
}

.hero-title-accent {
  display: block;
  margin-top: 0.12em;
  color: #355fc9;
}

.hero-lead {
  margin: 0.72rem 0 0.82rem;
  max-width: 53ch;
  color: #5a6680;
  line-height: 1.62;
  font-size: 0.98rem;
}

.hero-points {
  margin: 0 0 0.82rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.34rem;
}

.hero-points li {
  color: #4f5d78;
  font-size: 0.86rem;
  line-height: 1.48;
  padding-left: 1.1rem;
  position: relative;
}

.hero-points li::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: #355fc9;
  position: absolute;
  left: 0;
  top: 0.45rem;
}

.hero-actions {
  display: flex;
  gap: 0.62rem;
  flex-wrap: wrap;
}

.hero-note {
  margin-top: 0.5rem;
  font-size: 0.78rem;
  color: #7a849a;
}

.hero-procurement {
  margin-top: 0.62rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
  max-width: 470px;
}

.hero-procurement div {
  border: 1px solid #d7e1f4;
  background: rgba(255, 255, 255, 0.72);
  border-radius: 10px;
  padding: 0.5rem 0.6rem;
}

.hero-procurement span {
  display: block;
  color: #6d7690;
  font-size: 0.72rem;
}

.hero-procurement strong {
  color: #1c2542;
  font-size: 0.86rem;
}

.hero-device {
  display: flex;
  justify-content: center;
  align-self: center;
  padding-top: 0;
}

.device-screen {
  width: min(372px, 100%);
  border-radius: 24px;
  border: 4px solid #0f172a;
  background: linear-gradient(170deg, #3852b8, #2d7fde);
  color: #fff;
  padding: 1rem 1rem 1.05rem;
  box-shadow: 0 18px 34px rgba(30, 64, 175, 0.18);
}

.device-screen-inner {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
}

.device-screen h3 {
  margin: 0;
  font-size: 0.96rem;
}

.device-screen p {
  margin: 0.28rem 0 0.55rem;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.75rem;
}

.device-stats {
  display: grid;
  gap: 0.5rem;
  margin-top: 0.2rem;
}

.device-stats div {
  background: rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  padding: 0.54rem 0.65rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.device-stats span {
  font-size: 0.75rem;
}

.device-stats strong {
  font-size: 0.86rem;
}

.metrics-strip {
  border-bottom: 1px solid #e4eaf5;
  background: #fff;
}

#features.block-soft {
  margin-top: 0;
  padding-top: 3.8rem;
  background: linear-gradient(180deg, #edf1f8 0%, #f1f4fb 34%, #f1f4fb 100%);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.metrics-grid article {
  text-align: center;
  padding: 2.15rem 1rem 2.3rem;
  border-left: 1px solid #edf1f8;
}

.metrics-grid article:first-child {
  border-left: none;
}

.metrics-grid strong {
  display: block;
  color: #355fc9;
  font-size: 2.25rem;
  letter-spacing: -0.02em;
}

.metrics-grid p {
  margin: 0.45rem 0 0;
  color: #7a8396;
  font-size: 0.98rem;
}

.block {
  padding: 4rem 0 0;
}

.block-soft {
  background: #f1f4fb;
  margin-top: 3.4rem;
  padding: 4.2rem 0 4.2rem;
}

.section-kicker {
  margin: 0;
  text-align: center;
  color: #355fc9;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.block h2 {
  margin: 0.55rem 0 0.6rem;
  text-align: center;
  font-size: clamp(1.85rem, 3.3vw, 2.45rem);
  letter-spacing: -0.03em;
  color: #1a2340;
}

.section-sub {
  margin: 0 auto;
  max-width: 62ch;
  text-align: center;
  color: #6a748b;
  line-height: 1.65;
}

.card-grid,
.case-grid,
.price-grid {
  margin-top: 1.8rem;
  display: grid;
  gap: 0.85rem;
}

.three-col {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.two-col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feature-box,
.case-item,
.price-card {
  background: #fff;
  border: 1px solid #e3e9f5;
  border-radius: 12px;
  padding: 1rem 1.05rem;
}

.feature-box h3,
.case-item h3,
.price-card h3 {
  margin: 0;
  color: #1b2441;
  font-size: 1.02rem;
}

.feature-box p,
.case-item p,
.price-card li {
  margin: 0.5rem 0 0;
  color: #687389;
  line-height: 1.6;
  font-size: 0.88rem;
}

.outcome-grid {
  margin-top: 1.8rem;
}

.outcome-item {
  background: #fff;
  border: 1px solid #e3e9f5;
  border-radius: 12px;
  padding: 1.1rem;
}

.outcome-item strong {
  color: #2f57c4;
  font-size: 1.55rem;
  letter-spacing: -0.02em;
}

.outcome-item h3 {
  margin: 0.45rem 0 0;
  color: #1b2441;
  font-size: 1.02rem;
}

.outcome-item p {
  margin: 0.45rem 0 0;
  color: #687389;
  line-height: 1.6;
  font-size: 0.88rem;
}

.steps-row {
  margin-top: 1.8rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.steps-row article {
  position: relative;
  text-align: center;
  padding-top: 0.2rem;
}

.steps-row span {
  width: 44px;
  height: 44px;
  margin: 0 auto 0.55rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #2d7fde;
  color: #fff;
  font-weight: 700;
}

.steps-row h3 {
  margin: 0;
  color: #1b2441;
  font-size: 0.98rem;
}

.steps-row p {
  margin: 0.35rem 0 0;
  color: #6b758b;
  font-size: 0.84rem;
  line-height: 1.55;
}

.compare-wrap {
  margin-top: 1.6rem;
  overflow-x: auto;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid #e2e8f4;
  border-radius: 12px;
  overflow: hidden;
}

.compare-table th,
.compare-table td {
  border-bottom: 1px solid #edf1f8;
  padding: 0.72rem 0.85rem;
  text-align: center;
  font-size: 0.88rem;
}

.compare-table th:first-child,
.compare-table td:first-child {
  text-align: left;
}

.compare-table thead th {
  background: #f3f7ff;
  color: #344158;
}

.price-card .price {
  margin: 0.5rem 0 0.7rem;
  font-size: 1.35rem;
  color: #2f57c4;
  font-weight: 700;
}

.price-card ul {
  margin: 0 0 0.9rem;
  padding-left: 1rem;
}

.price-card.active {
  border-color: #2d7fde;
  box-shadow: 0 10px 24px rgba(45, 127, 222, 0.16);
}

.faq-list {
  margin: 1.75rem auto 0;
  max-width: 900px;
  display: grid;
  gap: 0.75rem;
}

.faq-list details {
  background: #fff;
  border: 1px solid #e3e9f5;
  border-radius: 12px;
  padding: 0.9rem 1rem;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 600;
  color: #1b2441;
}

.faq-list p {
  margin: 0.55rem 0 0;
  color: #687389;
  line-height: 1.6;
  font-size: 0.88rem;
}

.final-cta-band {
  margin-top: 3.2rem;
  background: linear-gradient(90deg, #3852b8 0%, #2d7fde 100%);
  color: #fff;
}

.final-cta-inner {
  padding: 3rem 0;
  text-align: center;
}

.final-cta-inner h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.35rem);
}

.final-cta-inner p {
  margin: 0.7rem auto 1.2rem;
  color: rgba(255, 255, 255, 0.9);
}

.site-footer {
  background: #0f1f47;
  color: rgba(255, 255, 255, 0.82);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 1rem;
  padding: 2.1rem 0 1.5rem;
}

.footer-grid h4 {
  margin: 0 0 0.6rem;
  color: #fff;
}

.footer-grid p {
  margin: 0;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.65;
  max-width: 42ch;
}

.footer-grid a {
  display: block;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 0.45rem;
  text-decoration: none;
}

.footer-grid a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-copy {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
  padding: 0.85rem 1rem;
  font-size: 0.82rem;
}

/* Keep inner pages usable */
.page {
  flex: 1;
  width: 100%;
  max-width: var(--ur-app-max-width, 1240px);
  margin: 0 auto;
  padding: clamp(1.5rem, 4vw, 2.25rem) clamp(1.25rem, 3vw, 2rem) 4rem;
}

.page h1 {
  font-size: clamp(1.65rem, 3.5vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 0.5rem;
  color: var(--pub-text);
}

.sub {
  color: var(--pub-text-secondary);
  margin: 0 0 1.5rem;
  font-size: 0.95rem;
  max-width: 62ch;
  line-height: 1.6;
}

.lang-switch {
  display: inline-flex;
  gap: 0.25rem;
  margin-left: 0.75rem;
}

.lang-switch button {
  padding: 0.2em 0.5em;
  font-size: 0.8rem;
  background: transparent;
  border: 1px solid var(--pub-border, #e5e7eb);
  border-radius: 4px;
  cursor: pointer;
  color: var(--pub-text-secondary, #6b7280);
}

.lang-switch button:hover {
  color: var(--pub-accent, #2563eb);
  border-color: var(--pub-accent, #2563eb);
}

@media (max-width: 980px) {
  .hero-grid,
  .three-col,
  .steps-row,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-copy {
    max-width: none;
  }

  .hero-copy h1 {
    max-width: none;
  }
}

@media (max-width: 720px) {
  .hero-band {
    min-height: auto;
  }

  .hero-grid {
    min-height: auto;
    padding: 1.8rem 0;
  }

  .hero-grid,
  .hero-procurement,
  .metrics-grid,
  .three-col,
  .two-col,
  .steps-row,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .metrics-grid article {
    border-left: none;
    border-top: 1px solid #edf1f8;
  }

  .metrics-grid article:first-child {
    border-top: none;
  }
}
