:root {
  --bg: #f5f8fc;
  --card: #ffffff;
  --ink: #13213a;
  --muted: #62738d;
  --line: #dfe7f1;
  --blue: #2764dc;
  --blue-dark: #164cb8;
  --blue-soft: #eaf1ff;
  --green: #14a77b;
  --navy: #0b1731;
  --shadow: 0 24px 70px rgba(29, 58, 105, 0.12);
  color-scheme: light;
  font-family: Inter, "SF Pro Display", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--ink); margin: 0; min-width: 320px; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.page-shell { margin: 0 auto; max-width: 1180px; padding-left: 28px; padding-right: 28px; width: 100%; }
.skip-link { background: #fff; left: 16px; padding: 10px 14px; position: fixed; top: -60px; z-index: 999; }
.skip-link:focus { top: 12px; }

.site-header { backdrop-filter: blur(18px); background: rgba(248, 251, 255, 0.86); border-bottom: 1px solid rgba(215, 225, 238, 0.8); position: sticky; top: 0; z-index: 50; }
.header-inner { align-items: center; display: flex; height: 76px; justify-content: space-between; }
.brand { align-items: center; display: flex; font-size: 20px; font-weight: 760; gap: 11px; letter-spacing: -0.02em; }
.brand img, .footer-brand img { border-radius: 12px; box-shadow: 0 8px 22px rgba(39, 100, 220, 0.18); }
.site-nav { align-items: center; display: flex; gap: 34px; }
.site-nav a { color: #40536d; font-size: 15px; font-weight: 600; transition: color .2s ease; }
.site-nav a:hover { color: var(--blue); }
.header-download { background: var(--navy); border-radius: 12px; color: #fff; font-size: 14px; font-weight: 650; padding: 11px 17px; }

.hero { background: linear-gradient(155deg, #f8fbff 0%, #eef4fc 70%, #eaf3ff 100%); min-height: 650px; overflow: hidden; padding: 62px 0 82px; position: relative; }
.hero::before { background-image: linear-gradient(rgba(50, 93, 160, .055) 1px, transparent 1px), linear-gradient(90deg, rgba(50, 93, 160, .055) 1px, transparent 1px); background-size: 40px 40px; content: ""; inset: 0; mask-image: linear-gradient(to bottom, black, transparent 78%); position: absolute; }
.hero-glow { border-radius: 50%; filter: blur(3px); opacity: .75; position: absolute; }
.hero-glow-one { background: rgba(73, 134, 255, .18); height: 460px; right: -150px; top: 10px; width: 460px; }
.hero-glow-two { background: rgba(42, 194, 160, .09); bottom: -220px; height: 420px; left: 38%; opacity: .48; width: 420px; }
.hero-grid { align-items: center; display: grid; gap: 52px; grid-template-columns: minmax(0, 1fr) minmax(470px, 1fr); position: relative; }
.eyebrow { align-items: center; background: rgba(255, 255, 255, .82); border: 1px solid #dbe6f4; border-radius: 999px; color: #4c607c; display: inline-flex; font-size: 13px; font-weight: 620; gap: 9px; padding: 8px 13px; }
.eyebrow-dot { background: var(--green); border-radius: 50%; box-shadow: 0 0 0 5px rgba(20, 167, 123, .11); height: 7px; width: 7px; }
.hero h1 { font-size: clamp(52px, 5.4vw, 76px); letter-spacing: -.055em; line-height: 1.12; margin: 25px 0 24px; }
.hero h1 span { background: linear-gradient(90deg, #2764dc, #0b9b85); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lead { color: var(--muted); font-size: 18px; line-height: 1.85; margin: 0; max-width: 570px; }
.hero-lead span { display: block; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.button { align-items: center; border-radius: 13px; display: inline-flex; font-size: 15px; font-weight: 680; justify-content: center; min-height: 50px; padding: 0 23px; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--blue); box-shadow: 0 13px 28px rgba(39, 100, 220, .24); color: #fff; }
.button-primary:hover { background: var(--blue-dark); }
.button-secondary { background: rgba(255,255,255,.75); border: 1px solid #d5e0ee; color: #34465f; }
.trust-row { color: #354b68; display: flex; flex-wrap: wrap; font-size: 14px; font-weight: 580; gap: 20px; margin-top: 28px; }
.trust-row span { align-items: center; display: flex; gap: 6px; }
.trust-icon { align-items: center; background: #dff5ed; border-radius: 50%; color: #07855f; display: inline-flex; font-size: 9px; font-style: normal; height: 18px; justify-content: center; width: 18px; }

.product-visual { min-height: 480px; position: relative; }
.terminal-card { background: #0d1930; border: 1px solid rgba(136, 168, 215, .22); border-radius: 19px; box-shadow: 0 34px 90px rgba(14, 35, 69, .27); color: #dce8fa; left: 0; overflow: hidden; position: absolute; top: 24px; transform: perspective(1200px) rotateY(-3deg) rotateX(1deg); width: 92%; }
.terminal-bar { align-items: center; background: #13213b; border-bottom: 1px solid rgba(163, 188, 225, .12); display: flex; height: 48px; justify-content: center; position: relative; }
.terminal-dots { display: flex; gap: 7px; left: 17px; position: absolute; }
.terminal-dots span { background: #43536d; border-radius: 50%; height: 9px; width: 9px; }
.terminal-dots span:first-child { background: #f06b6b; }
.terminal-dots span:nth-child(2) { background: #e9b94d; }
.terminal-dots span:nth-child(3) { background: #40bc87; }
.terminal-title { color: #899bb5; font-family: ui-monospace, monospace; font-size: 11px; }
.terminal-body { font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace; font-size: 13px; line-height: 1.7; min-height: 330px; padding: 25px 27px; }
.terminal-command { color: #fff; margin-bottom: 24px; }
.terminal-command span { color: #74a7ff; }
.terminal-line { color: #d8e3f2; margin: 17px 0; }
.terminal-bullet { color: #7fafff; }
.terminal-tool { border-left: 2px solid #405577; color: #8497b3; margin: 20px 0; padding-left: 15px; }
.terminal-auth { background: rgba(222, 161, 37, .13); border: 1px solid rgba(240, 189, 82, .34); border-radius: 9px; color: #ffe0a0; margin: 16px 0; padding: 10px 13px; }
.terminal-auth strong, .terminal-auth span { display: block; }
.terminal-auth strong { color: #fff0c8; font-size: 11px; font-weight: 650; }
.terminal-auth span { color: #d9b873; font-size: 10px; margin-top: 4px; }
.terminal-response { margin: 13px 0 15px; }
.terminal-final { color: #fff; }
.terminal-status { align-items: center; color: #55d2aa; display: flex; font-family: Inter, sans-serif; font-size: 11px; gap: 7px; margin-top: 23px; }
.terminal-status span { background: #40c79c; border-radius: 50%; box-shadow: 0 0 0 4px rgba(64,199,156,.12); height: 7px; width: 7px; }
.phone-card { background: #f8fbff; border: 7px solid #16223a; border-radius: 29px; bottom: 0; box-shadow: 0 28px 62px rgba(18, 43, 81, .26); min-height: 330px; padding: 31px 14px 15px; position: absolute; right: 0; transform: rotate(2deg); width: 210px; }
.phone-speaker { background: #16223a; border-radius: 0 0 9px 9px; height: 16px; left: 50%; position: absolute; top: -1px; transform: translateX(-50%); width: 72px; }
.phone-heading { align-items: center; color: #2a3951; display: flex; font-size: 10px; font-weight: 720; gap: 5px; justify-content: center; margin-bottom: 20px; }
.online-dot { background: #20ad7f; border-radius: 50%; height: 6px; width: 6px; }
.phone-chat { border-radius: 9px; font-size: 8.8px; line-height: 1.55; margin: 11px 0; max-width: 88%; padding: 8px 9px; }
.phone-chat-agent { background: #e8f0ff; color: #3f587d; }
.phone-chat-auth { background: #fff2cc; border: 1px solid #f0d890; color: #72561d; }
.phone-chat-auth span { display: block; font-size: 7px; margin-top: 4px; }
.phone-chat-user { background: #2864dc; color: #fff; margin-left: auto; }
.phone-chat-final { background: #fff; box-shadow: 0 3px 12px rgba(37, 65, 101, .1); color: #263750; }
.phone-input { align-items: center; background: #eef3fa; border-radius: 9px; bottom: 14px; color: #9aa8bb; display: flex; font-size: 7px; justify-content: space-between; left: 14px; padding: 9px; position: absolute; right: 14px; }
.phone-input span { align-items: center; background: var(--blue); border-radius: 50%; color: #fff; display: flex; height: 18px; justify-content: center; width: 18px; }

.section { padding: 100px 0; }
.work-section { padding-bottom: 86px; padding-top: 86px; }
.work-section .section-heading { margin-bottom: 42px; }
.work-section .section-kicker, .download-section .section-kicker { font-size: 15px; letter-spacing: .1em; }
.section-heading { margin: 0 auto 48px; max-width: 700px; text-align: center; }
.section-kicker { color: var(--blue); font-size: 12px; font-weight: 760; letter-spacing: .15em; text-transform: uppercase; }
.section-heading h2, .contact-card h2 { font-size: clamp(34px, 4vw, 48px); letter-spacing: -.04em; line-height: 1.15; margin: 14px 0 16px; }
.section-heading p, .contact-card p { color: var(--muted); font-size: 16px; line-height: 1.75; margin: 0; }
.feature-grid { display: grid; gap: 18px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.feature-card { background: rgba(255,255,255,.82); border: 1px solid #e0e7f0; border-radius: 20px; min-height: 240px; padding: 26px; position: relative; }
.feature-icon { align-items: center; background: var(--blue-soft); border-radius: 13px; color: var(--blue); display: flex; font-size: 21px; font-weight: 750; height: 48px; justify-content: center; margin-bottom: 27px; width: 48px; }
.feature-icon svg { fill: none; height: 25px; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; width: 25px; }
.feature-card h3 { font-size: 19px; letter-spacing: -.02em; margin: 0 0 12px; }
.feature-card p { color: #354a66; font-size: 16px; line-height: 1.72; margin: 0; }

.download-section { background: #fff; }
.download-heading { margin-bottom: 34px; }
.download-grid { align-items: start; display: grid; gap: 24px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.download-loading { color: var(--muted); grid-column: 1 / -1; padding: 60px; text-align: center; }
.platform-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; display: flex; flex-direction: column; overflow: hidden; transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.platform-card:hover { border-color: #c7d8ee; box-shadow: 0 18px 44px rgba(38, 70, 114, .09); transform: translateY(-3px); }
.platform-toggle { background: transparent; border: 0; color: inherit; cursor: pointer; padding: 0; text-align: left; width: 100%; }
.platform-header { align-items: center; display: flex; flex-direction: column; min-height: 300px; padding: 38px 24px 30px; text-align: center; }
.platform-symbol { align-items: center; display: flex; flex: 0 0 auto; height: 104px; justify-content: center; width: 104px; }
.platform-symbol img { display: block; height: 104px; object-fit: contain; transform-origin: center; width: 104px; }
.platform-windows .platform-symbol img { transform: scale(1.22); }
.platform-linux .platform-symbol img { transform: scale(1.12); }
.platform-macos .platform-symbol img { transform: scale(1); }
.platform-title { align-items: center; display: flex; flex-direction: column; min-width: 0; }
.platform-name { font-size: 23px; font-weight: 740; letter-spacing: -.025em; margin-top: 22px; }
.platform-support { color: #5c6f88; font-size: 14px; margin-top: 9px; }
.platform-version { color: #74849a; font-family: ui-monospace, monospace; font-size: 12px; margin-top: 8px; }
.platform-select { align-items: center; background: var(--blue); border-radius: 11px; color: #fff; display: inline-flex; font-size: 14px; font-weight: 680; gap: 7px; justify-content: center; margin-top: 24px; min-height: 46px; padding: 0 29px; }
.platform-chevron { color: inherit; font-size: 18px; line-height: 1; transform: rotate(0); transition: transform .2s ease; }
.platform-card.open .platform-chevron { transform: rotate(180deg); }
.package-panel { background: #f8faff; border: 1px solid #dce6f3; border-radius: 20px; margin-top: 24px; padding: 24px; }
.package-panel[hidden] { display: none; }
.package-panel-heading { align-items: center; display: flex; justify-content: space-between; margin-bottom: 18px; }
.package-panel-heading h3 { font-size: 19px; margin: 0; }
.package-panel-heading p { color: #78889d; font-size: 12px; margin: 5px 0 0; }
.package-panel-close { align-items: center; background: #eaf0f8; border: 0; border-radius: 50%; color: #63748b; cursor: pointer; display: flex; font-size: 21px; height: 34px; justify-content: center; width: 34px; }
.package-list { display: grid; gap: 12px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.package-item { background: #fff; border: 1px solid #e2e9f2; border-radius: 14px; padding: 17px; }
.package-topline { align-items: center; display: flex; gap: 10px; justify-content: space-between; }
.package-name { font-size: 14px; font-weight: 680; }
.package-arch { color: #8090a5; font-family: ui-monospace, monospace; font-size: 10px; margin-top: 4px; }
.package-meta { color: #75859a; display: flex; flex-wrap: wrap; font-size: 10px; gap: 8px 14px; margin-top: 11px; }
.download-action { align-items: center; background: #eff3f8; border: 0; border-radius: 10px; color: #64758c; cursor: pointer; display: flex; font-size: 12px; font-weight: 650; justify-content: center; margin-top: 13px; min-height: 39px; transition: background .2s ease, color .2s ease; width: 100%; }
.download-action:hover { background: #e4eaf2; color: #43566f; }
a.download-action { background: var(--blue); color: #fff; cursor: pointer; }
a.download-action:hover { background: var(--blue-dark); }

.contact-section { padding: 78px 0; }
.contact-card { align-items: center; background: linear-gradient(135deg, #10213f, #0b1731); border-radius: 25px; box-shadow: var(--shadow); color: #fff; display: grid; gap: 72px; grid-template-columns: 1.2fr .8fr; padding-bottom: 54px; padding-top: 54px; }
.contact-card .section-kicker { color: #79a9ff; font-size: 15px; letter-spacing: .1em; }
.contact-card h2 { font-size: 38px; margin-top: 11px; }
.contact-card p { color: #bdc9da; max-width: 620px; }
.contact-list { display: grid; gap: 11px; }
.contact-list a { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.11); border-radius: 14px; padding: 16px 18px; transition: background .2s ease, border-color .2s ease, transform .2s ease; }
.contact-list a:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.2); transform: translateY(-1px); }
.contact-list span { color: #a8b6ca; display: block; font-size: 12px; margin-bottom: 5px; }
.contact-list strong { font-size: 16px; font-weight: 620; }

.site-footer { background: #fff; border-top: 1px solid var(--line); padding: 28px 0; }
.footer-inner { align-items: center; display: grid; grid-template-columns: 1fr auto 1fr; }
.footer-brand { align-items: center; display: flex; gap: 11px; }
.footer-brand strong, .footer-brand span { display: block; }
.footer-brand strong { font-size: 15px; }
.footer-brand span { color: #596b83; font-size: 12px; margin-top: 3px; }
.footer-links { display: flex; gap: 20px; }
.footer-links button, .footer-links a { background: none; border: 0; color: #40536d; cursor: pointer; font-size: 12px; font-weight: 560; padding: 5px; transition: color .2s ease; }
.footer-links button:hover, .footer-links a:hover { color: var(--blue); }
.copyright { color: #596b83; font-size: 12px; text-align: right; }
.icp-link { color: inherit; display: block; margin-top: 5px; text-decoration: none; }
.icp-link:hover { color: var(--blue); text-decoration: underline; }

.info-dialog { border: 0; border-radius: 20px; box-shadow: 0 28px 100px rgba(10, 25, 50, .3); color: var(--ink); max-width: 500px; padding: 0; width: calc(100% - 40px); }
.info-dialog::backdrop { backdrop-filter: blur(4px); background: rgba(9, 21, 42, .56); }
.dialog-header { align-items: center; border-bottom: 1px solid #e7edf4; display: flex; justify-content: space-between; padding: 22px 24px; }
.dialog-header h2 { font-size: 19px; margin: 0; }
.dialog-close { align-items: center; background: #f1f4f8; border: 0; border-radius: 50%; color: #5e6d81; cursor: pointer; display: flex; font-size: 23px; height: 34px; justify-content: center; width: 34px; }
.dialog-content { color: var(--muted); font-size: 14px; line-height: 1.85; padding: 19px 24px 25px; }
.dialog-content p { margin: 0 0 12px; }
.dialog-content p:last-child { margin-bottom: 0; }

@media (max-width: 960px) {
  .hero-grid { gap: 38px; grid-template-columns: 1fr; }
  .hero-copy { max-width: 700px; }
  .product-visual { margin: 10px auto 0; max-width: 650px; width: 100%; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .download-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .package-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-card { min-height: auto; }
  .platform-card { min-height: 0; }
  .contact-card { gap: 35px; grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .page-shell { padding-left: 20px; padding-right: 20px; }
  .header-inner { height: 66px; }
  .brand { font-size: 17px; }
  .brand img { height: 36px; width: 36px; }
  .site-nav { display: none; }
  .header-download { font-size: 12px; padding: 10px 13px; }
  .hero { min-height: 0; padding: 66px 0 68px; }
  .hero h1 { font-size: 48px; }
  .hero-lead { font-size: 16px; line-height: 1.75; }
  .hero-actions .button { width: 100%; }
  .trust-row { gap: 11px 15px; }
  .product-visual { min-height: 390px; }
  .terminal-card { transform: none; width: 100%; }
  .terminal-body { font-size: 10px; min-height: 292px; padding: 20px; }
  .phone-card { border-width: 5px; min-height: 260px; padding-top: 27px; width: 165px; }
  .phone-chat { font-size: 7.5px; margin: 8px 0; padding: 6px 7px; }
  .feature-grid { grid-template-columns: 1fr; }
  .download-grid { grid-template-columns: 1fr; }
  .package-list { grid-template-columns: 1fr; }
  .section { padding: 76px 0; }
  .section-heading h2 { font-size: 34px; }
  .contact-section { padding: 56px 0; }
  .contact-card { border-radius: 0; padding-bottom: 42px; padding-top: 42px; }
  .contact-card h2 { font-size: 31px; }
  .footer-inner { gap: 22px; grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .footer-links { flex-wrap: wrap; gap: 9px 15px; justify-content: center; }
  .copyright { text-align: center; }
}

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