/*
Theme Name: ToDesk Remote Workbench 2026
Theme URI: https://todask.cn/
Author: ToDesk Product Desk
Description: A product-focused single-page theme for ToDesk remote control software.
Version: 1.0.2
Text Domain: td-workbench
*/

:root {
  --navy: #10243b;
  --navy-soft: #1b3553;
  --blue: #1769e0;
  --blue-soft: #eaf2ff;
  --yellow: #ffc53d;
  --coral: #ff7557;
  --white: #ffffff;
  --cloud: #f4f7fb;
  --text: #17283d;
  --muted: #59697c;
  --line: #dce4ee;
  --shadow: 0 24px 60px rgba(18, 48, 83, .12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--cloud);
  font-family: "Noto Sans SC", "Microsoft YaHei", "PingFang SC", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

.wrap {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.site-header {
  position: relative;
  z-index: 20;
  color: white;
  background: var(--navy);
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 850;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: var(--navy);
  background: var(--yellow);
  border-radius: 5px;
  font-family: Georgia, serif;
  font-size: 21px;
}

.brand-copy {
  display: grid;
  line-height: 1.15;
}

.brand-copy small {
  color: #9fb2c7;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  gap: 28px;
  color: #c3d0de;
  font-size: 14px;
  font-weight: 650;
}

.site-nav a:hover,
.site-nav a:focus {
  color: var(--yellow);
}

.header-cta {
  padding: 10px 17px;
  color: var(--navy);
  background: var(--yellow);
  border-radius: 5px;
  font-size: 13px;
  font-weight: 800;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 74px 0 86px;
  color: white;
  background:
    linear-gradient(90deg, rgba(16, 36, 59, .98) 0%, rgba(16, 36, 59, .92) 48%, rgba(16, 36, 59, .76) 100%),
    url("assets/images/background.webp") center / cover;
}

.hero::after {
  content: "";
  position: absolute;
  right: -150px;
  bottom: -230px;
  width: 530px;
  height: 530px;
  border: 90px solid rgba(23, 105, 224, .18);
  border-radius: 50%;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: .93fr 1.07fr;
  gap: 64px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 23px;
  color: var(--yellow);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--coral);
  border-radius: 50%;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 610px;
  margin-bottom: 24px;
  font-size: clamp(42px, 5vw, 70px);
  line-height: 1.08;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 570px;
  margin-bottom: 31px;
  color: #c9d5e2;
  font-size: 17px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border-radius: 5px;
  font-weight: 800;
  transition: transform .2s ease, background .2s ease;
}

.button:hover,
.button:focus {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--navy);
  background: var(--yellow);
}

.button-secondary {
  color: white;
  border: 1px solid rgba(255, 255, 255, .35);
  background: rgba(255, 255, 255, .07);
}

.hero-visual {
  position: relative;
  padding: 18px 18px 62px;
  background: #e9eef6;
  border-radius: 9px;
  box-shadow: 0 34px 80px rgba(0, 0, 0, .28);
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 7% 74% 8% -4%;
  z-index: -1;
  background: var(--blue);
  border-radius: 7px;
}

.hero-visual img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 5px;
}

.hero-visual-strip {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 0;
  height: 62px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  color: var(--navy);
  background: white;
  border-radius: 0 0 9px 9px;
}

.hero-visual-strip span {
  text-align: center;
  font-size: 12px;
  font-weight: 750;
}

.hero-visual-strip span + span {
  border-left: 1px solid var(--line);
}

.signal-bar {
  color: var(--navy);
  background: var(--yellow);
}

.signal-inner {
  min-height: 62px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
}

.signal-item {
  padding: 0 24px;
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

.signal-item + .signal-item {
  border-left: 1px solid rgba(16, 36, 59, .18);
}

.section {
  padding: 92px 0;
}

.white {
  background: white;
}

.section-intro {
  max-width: 810px;
  margin-bottom: 48px;
}

.kicker {
  display: block;
  margin-bottom: 13px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .13em;
  text-transform: uppercase;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(32px, 3.7vw, 50px);
  line-height: 1.2;
  letter-spacing: 0;
}

.section-intro p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 17px;
}

.product-layout {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 64px;
  align-items: center;
}

.product-copy h3 {
  margin: 28px 0 9px;
  font-size: 21px;
}

.product-copy p {
  color: var(--muted);
}

.product-copy .lead {
  color: var(--text);
  font-size: 18px;
}

.product-note {
  margin-top: 31px;
  padding: 20px 22px;
  background: var(--blue-soft);
  border-left: 5px solid var(--blue);
  border-radius: 0 6px 6px 0;
}

.product-note strong {
  display: block;
  margin-bottom: 5px;
}

.product-note span {
  color: var(--muted);
  font-size: 14px;
}

.product-image {
  position: relative;
}

.product-image img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.product-badge {
  position: absolute;
  right: -18px;
  top: 28px;
  padding: 13px 16px;
  color: var(--navy);
  background: var(--yellow);
  border-radius: 5px;
  font-size: 12px;
  font-weight: 850;
  box-shadow: 0 15px 35px rgba(16, 36, 59, .18);
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.capability {
  position: relative;
  min-height: 270px;
  padding: 30px;
  overflow: hidden;
  background: #f8faff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.capability::after {
  content: attr(data-number);
  position: absolute;
  right: 17px;
  bottom: -28px;
  color: rgba(23, 105, 224, .08);
  font-size: 96px;
  font-weight: 900;
  line-height: 1;
}

.capability-label {
  display: inline-block;
  margin-bottom: 29px;
  padding: 5px 9px;
  color: var(--blue);
  background: var(--blue-soft);
  border-radius: 4px;
  font-size: 11px;
  font-weight: 850;
}

.capability h3 {
  position: relative;
  z-index: 2;
  margin-bottom: 9px;
  font-size: 20px;
}

.capability p {
  position: relative;
  z-index: 2;
  max-width: 480px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.workflow {
  color: white;
  background: var(--navy);
}

.workflow .section-intro p {
  color: #b8c8d9;
}

.workflow-track {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, .13);
  border: 1px solid rgba(255, 255, 255, .13);
}

.workflow-step {
  min-height: 243px;
  padding: 27px 22px;
  background: var(--navy);
}

.workflow-step:hover {
  background: var(--navy-soft);
}

.workflow-step .num {
  display: block;
  margin-bottom: 48px;
  color: var(--yellow);
  font-size: 12px;
  font-weight: 900;
}

.workflow-step h3 {
  margin-bottom: 10px;
  font-size: 18px;
}

.workflow-step p {
  margin-bottom: 0;
  color: #aebfd1;
  font-size: 13px;
}

.comparison {
  display: grid;
  grid-template-columns: 1.06fr .94fr;
  gap: 60px;
  align-items: center;
}

.comparison-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
}

.comparison-list {
  margin-top: 28px;
  display: grid;
}

.comparison-row {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.comparison-row:first-child {
  border-top: 1px solid var(--line);
}

.comparison-row strong {
  color: var(--blue);
}

.comparison-row span {
  color: var(--muted);
  font-size: 14px;
}

.checklist {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 38px;
}

.check-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 7px;
}

.check-card strong {
  display: block;
  margin-bottom: 8px;
}

.check-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.check-bar {
  width: 46px;
  height: 5px;
  margin-bottom: 22px;
  background: var(--coral);
  border-radius: 99px;
}

.faq-wrap {
  display: grid;
  grid-template-columns: .65fr 1.35fr;
  gap: 72px;
}

.faq-list {
  border-top: 2px solid var(--navy);
}

.faq-item {
  padding: 23px 0;
  border-bottom: 1px solid var(--line);
}

.faq-item h3 {
  margin-bottom: 7px;
  font-size: 18px;
}

.faq-item p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.friend-links {
  padding: 18px 0;
  color: #64758a;
  background: #ebf0f6;
  border-top: 1px solid var(--line);
  font-size: 13px;
}

.friend-links-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
}

.friend-links strong {
  color: #405166;
}

.friend-links a:hover,
.friend-links a:focus {
  color: var(--blue);
  text-decoration: underline;
}

.site-footer {
  padding: 54px 0 28px;
  color: #b5c4d4;
  background: #091a2b;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 50px;
  padding-bottom: 31px;
}

.footer-brand {
  margin-bottom: 12px;
  color: white;
  font-size: 22px;
  font-weight: 850;
}

.site-footer p {
  max-width: 680px;
  margin-bottom: 0;
  font-size: 14px;
}

.footer-side {
  text-align: right;
  font-size: 13px;
}

.footer-bottom {
  padding-top: 23px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  color: #8195aa;
  font-size: 12px;
}

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

  .hero-grid,
  .product-layout,
  .comparison,
  .faq-wrap {
    grid-template-columns: 1fr;
  }

  .hero-grid,
  .product-layout,
  .comparison,
  .faq-wrap {
    gap: 42px;
  }

  .hero {
    padding-top: 54px;
  }

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

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

@media (max-width: 700px) {
  .wrap {
    width: min(100% - 28px, 1180px);
  }

  .header-inner {
    min-height: 66px;
  }

  .brand-copy small {
    display: none;
  }

  .header-cta {
    padding: 8px 12px;
    font-size: 11px;
  }

  h1 {
    font-size: 39px;
  }

  .hero {
    padding: 43px 0 56px;
  }

  .hero-actions .button {
    flex: 1 1 140px;
  }

  .hero-visual {
    padding: 10px 10px 58px;
  }

  .hero-visual::before {
    display: none;
  }

  .signal-inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .signal-item {
    min-height: 51px;
    display: grid;
    place-items: center;
  }

  .signal-item:nth-child(3) {
    border-left: 0;
    border-top: 1px solid rgba(16, 36, 59, .18);
  }

  .signal-item:nth-child(4) {
    border-top: 1px solid rgba(16, 36, 59, .18);
  }

  .section {
    padding: 65px 0;
  }

  .capability-grid,
  .workflow-track {
    grid-template-columns: 1fr;
  }

  .capability {
    min-height: auto;
  }

  .product-badge {
    right: 10px;
    top: 10px;
  }

  .comparison-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .footer-side {
    text-align: left;
  }
}
