/* RemoteDesk public site and sign-in page */
@font-face { font-family: "Plus Jakarta Sans"; font-weight: 400; font-display: swap; src: url("../fonts/plus-jakarta-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-weight: 500; font-display: swap; src: url("../fonts/plus-jakarta-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-weight: 600; font-display: swap; src: url("../fonts/plus-jakarta-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-weight: 700; font-display: swap; src: url("../fonts/plus-jakarta-sans-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-weight: 800; font-display: swap; src: url("../fonts/plus-jakarta-sans-latin-800-normal.woff2") format("woff2"); }

:root {
  --brand: #1f4d81;
  --brand-600: #193f6b;
  --brand-700: #12304f;
  --brand-50: #eef4fb;
  --brand-100: #dbe7f6;
  --sky: #4f9ee8;
  --mint: #16a06c;
  --mint-50: #e6f6ef;
  --amber: #f0a030;
  --amber-50: #fdf3e2;
  --rose: #e0574f;
  --rose-50: #fdecea;
  --violet: #7a5cd6;
  --violet-50: #f1edfc;
  --ink: #0f1f33;
  --text: #34465e;
  --muted: #6b7a90;
  --line: #e3e9f1;
  --soft: #f5f8fc;
  --radius: 16px;
  --shadow-sm: 0 1px 2px rgba(15, 31, 51, .06), 0 2px 8px rgba(15, 31, 51, .05);
  --shadow: 0 10px 30px rgba(15, 31, 51, .08), 0 2px 6px rgba(15, 31, 51, .05);
  --shadow-lg: 0 24px 60px rgba(18, 48, 79, .18);
  --font: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font: 16px/1.6 var(--font); color: var(--text); background: #fff; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { color: var(--ink); margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
img, svg { display: block; }
:focus-visible { outline: 3px solid rgba(79, 158, 232, .55); outline-offset: 2px; border-radius: 8px; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.num { font-variant-numeric: tabular-nums; }

/* ---------------------------------------------------------------- buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 48px; padding: 0 24px;
  border-radius: 12px; font: 600 15px/1 var(--font); border: 1.5px solid transparent; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s; white-space: nowrap; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn svg { width: 20px; height: 20px; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 20px rgba(31, 77, 129, .28); }
.btn-primary:hover { background: var(--brand-600); box-shadow: 0 12px 26px rgba(31, 77, 129, .34); }
.btn-outline { background: #fff; color: var(--brand); border-color: var(--brand-100); }
.btn-outline:hover { border-color: var(--brand); }
.btn-light { background: #fff; color: var(--brand); }
.btn-ghost-light { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.35); }
.btn-sm { height: 40px; padding: 0 16px; font-size: 14px; border-radius: 10px; }
.btn-lg { height: 54px; padding: 0 28px; font-size: 16px; }

/* ---------------------------------------------------------------- navbar */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.88); backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.nav.scrolled { border-bottom-color: var(--line); box-shadow: 0 4px 20px rgba(15,31,51,.05); }
.nav-inner { display: flex; align-items: center; gap: 32px; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; color: var(--ink); letter-spacing: -0.02em; }
.logo:hover { text-decoration: none; }
.logo svg { width: 36px; height: 36px; }
.nav-links { display: flex; gap: 26px; }
.nav-links a { color: var(--text); font-weight: 500; font-size: 15px; }
.nav-links a:hover { color: var(--brand); text-decoration: none; }
.nav-actions { margin-left: auto; display: flex; gap: 10px; align-items: center; }

/* ---------------------------------------------------------------- hero */
.hero { position: relative; overflow: hidden; padding: 64px 0 88px;
  background: radial-gradient(1100px 520px at 85% 10%, #e3eefb 0%, rgba(227,238,251,0) 60%),
              radial-gradient(800px 420px at 0% 100%, #eef6ff 0%, rgba(238,246,255,0) 60%), #fff; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: #fff;
  border: 1px solid var(--brand-100); font-size: 13px; font-weight: 600; color: var(--brand); box-shadow: var(--shadow-sm); }
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: #9aa7b8; }
.pill .dot.on { background: var(--mint); box-shadow: 0 0 0 4px rgba(22,160,108,.18); }
.hero h1 { font-size: 56px; line-height: 1.08; font-weight: 800; margin: 22px 0 20px; letter-spacing: -0.035em; }
.hero h1 .hl { color: var(--brand); position: relative; z-index: 0; white-space: nowrap; }
.hero h1 .hl::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 12px; background: rgba(79,158,232,.22); border-radius: 6px; z-index: -1; }
.lead { font-size: 18px; line-height: 1.7; color: var(--text); max-width: 560px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-note { margin-top: 14px; font-size: 14px; color: var(--muted); }
.hero-stats { display: flex; gap: 40px; margin-top: 38px; padding-top: 26px; border-top: 1px solid var(--line); }
.hero-stats strong { display: block; font-size: 30px; font-weight: 800; color: var(--ink); line-height: 1.1; font-variant-numeric: tabular-nums; }
.hero-stats span { font-size: 14px; color: var(--muted); }

/* hero illustration: app window + floating cards */
.art { position: relative; padding: 30px 24px; }
.window { position: relative; background: #fff; border-radius: 18px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); overflow: hidden; }
.window-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--soft); font-size: 13px; font-weight: 600; color: var(--muted); }
.window-bar svg { width: 18px; height: 18px; }
.window-bar .ctrls { margin-left: auto; display: flex; gap: 14px; color: #9aa7b8; }
.window-body { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: 18px; background: #f6f8fb; }
.mini-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px; }
.mini-card h4 { font-size: 14px; display: flex; align-items: center; gap: 8px; }
.mini-card h4 i { width: 28px; height: 28px; border-radius: 50%; background: var(--brand-50); display: grid; place-items: center; color: var(--brand); }
.mini-card h4 i svg { width: 15px; height: 15px; }
.mini-label { font-size: 11px; color: var(--muted); margin-top: 14px; }
.mini-value { font-size: 20px; font-weight: 800; color: var(--ink); letter-spacing: .03em; font-variant-numeric: tabular-nums; }
.mini-input { height: 30px; border: 1.5px solid var(--line); border-radius: 8px; margin-top: 4px; font-size: 12px; color: #9aa7b8; padding: 6px 10px; }
.mini-input.focus { border-color: var(--brand); color: var(--ink); }
.mini-btn { margin-top: 12px; height: 32px; border-radius: 8px; background: var(--brand); color: #fff; font-size: 12px; font-weight: 700; display: grid; place-items: center; }
.float { position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: #fff; border-radius: 14px;
  box-shadow: var(--shadow); border: 1px solid var(--line); font-size: 13px; font-weight: 600; color: var(--ink); animation: bob 6s ease-in-out infinite; white-space: nowrap; }
.float small { display: block; font-size: 11px; font-weight: 500; color: var(--muted); }
.float .ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; }
.float .ic svg { width: 18px; height: 18px; }
.f1 { bottom: 10px; left: -26px; animation-delay: 0s; }
.f2 { top: 42%; right: -18px; animation-delay: -2s; }
.f3 { bottom: -4px; left: 46%; animation-delay: -4s; }
.f4 { top: -6px; right: 10%; animation-delay: -1s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .float { animation: none; } }
.t-mint { background: var(--mint-50); color: var(--mint); }
.t-brand { background: var(--brand-50); color: var(--brand); }
.t-amber { background: var(--amber-50); color: #c27a10; }
.t-violet { background: var(--violet-50); color: var(--violet); }
.t-rose { background: var(--rose-50); color: var(--rose); }
.t-sky { background: #e8f3fd; color: #2a7fcc; }

/* ---------------------------------------------------------------- sections */
.section { padding: 96px 0; }
.section.soft { background: var(--soft); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 52px; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand);
  background: var(--brand-50); padding: 6px 12px; border-radius: 999px; margin-bottom: 14px; }
.section h2 { font-size: 40px; line-height: 1.15; font-weight: 800; letter-spacing: -0.03em; }
.section-head p { margin-top: 14px; font-size: 17px; color: var(--muted); }

/* features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: transform .2s, box-shadow .2s, border-color .2s; }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--brand-100); }
.feature .ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px; }
.feature .ic svg { width: 26px; height: 26px; }
.feature h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.feature p { font-size: 15px; color: var(--muted); line-height: 1.65; }
.tag-new { display: inline-block; margin-left: 8px; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--amber-50); color: #c27a10; vertical-align: middle; letter-spacing: .02em; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; counter-reset: s; }
.step { position: relative; background: #fff; border-radius: var(--radius); padding: 30px 28px; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.step::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  background: var(--brand); color: #fff; font-weight: 800; font-size: 20px; margin-bottom: 18px; box-shadow: 0 8px 18px rgba(31,77,129,.3); }
.step h3 { font-size: 19px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15px; }
.step:not(:last-child)::after { content: ""; position: absolute; top: 54px; right: -26px; width: 26px; height: 2px; background: var(--brand-100); }

/* live activity */
.stat-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 20px; }
.stat .label { font-size: 13px; color: var(--muted); font-weight: 500; }
.stat .value { font-size: 32px; font-weight: 800; color: var(--ink); margin-top: 6px; line-height: 1.1; font-variant-numeric: tabular-nums; }
.stat .value.live { color: var(--mint); }
.stat .note { font-size: 12px; color: var(--muted); margin-top: 4px; }
.charts { display: grid; grid-template-columns: 2fr 1fr; gap: 16px; margin-top: 16px; }
.chart-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 20px; }
.chart-card h3 { font-size: 16px; margin-bottom: 2px; }
.chart-card .sub { font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.chart-box { position: relative; height: 240px; }
.privacy-note { text-align: center; font-size: 13px; color: var(--muted); margin-top: 18px; }

/* security (dark) */
.security { background: linear-gradient(135deg, var(--brand-700) 0%, var(--brand) 100%); color: #d6e3f3; position: relative; overflow: hidden; }
.security::before { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; right: -160px; top: -200px; background: radial-gradient(circle, rgba(79,158,232,.35), rgba(79,158,232,0) 70%); }
.security .grid2 { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.security h2 { color: #fff; }
.security .eyebrow { background: rgba(255,255,255,.12); color: #fff; }
.checks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 16px; }
.checks li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; }
.checks li svg { width: 24px; height: 24px; color: #7fd6b1; margin-top: 2px; }
.checks strong { color: #fff; display: block; font-weight: 700; }
.checks span { font-size: 15px; }
.code-card { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); border-radius: 20px; padding: 28px; backdrop-filter: blur(6px); }
.code-card .row { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.12); font-size: 14px; }
.code-card .row:last-child { border-bottom: 0; }
.code-card .code { font-size: 22px; font-weight: 800; color: #fff; letter-spacing: .12em; font-variant-numeric: tabular-nums; }
.match { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; padding: 8px 14px; border-radius: 999px; background: rgba(127,214,177,.15); color: #9ff0cc; font-weight: 700; font-size: 14px; }
.match svg { width: 18px; height: 18px; }

/* download */
.downloads { display: grid; grid-template-columns: 1.2fr 1fr; gap: 22px; }
.dl { border-radius: 20px; padding: 32px; border: 1px solid var(--line); background: #fff; display: flex; flex-direction: column; }
.dl.main { background: linear-gradient(160deg, #fff 0%, var(--brand-50) 100%); border-color: var(--brand-100); box-shadow: var(--shadow); }
.dl .os { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.dl .os .ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; }
.dl .os .ic svg { width: 28px; height: 28px; }
.dl h3 { font-size: 22px; }
.dl .meta { font-size: 14px; color: var(--muted); }
.dl ol { margin: 18px 0 24px; padding-left: 20px; color: var(--text); font-size: 15px; display: grid; gap: 8px; }
.dl .btn { align-self: flex-start; margin-top: auto; }
.dl .unavailable { margin-top: auto; font-size: 14px; color: var(--muted); background: var(--soft); padding: 12px 14px; border-radius: 10px; }
.reqs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; justify-content: center; }
.reqs span { font-size: 13px; padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--text); }
.reqs b { color: var(--ink); }

/* faq */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 0 22px; transition: box-shadow .2s, border-color .2s; }
.faq details[open] { box-shadow: var(--shadow-sm); border-color: var(--brand-100); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 34px 20px 0; font-weight: 700; color: var(--ink); position: relative; font-size: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 16px; width: 26px; height: 26px; border-radius: 50%; background: var(--brand-50); color: var(--brand); display: grid; place-items: center; font-size: 18px; font-weight: 700; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding: 0 0 20px; color: var(--muted); }

/* cta banner */
.cta { padding: 0 0 96px; }
.cta-box { position: relative; overflow: hidden; border-radius: 26px; padding: 56px; background: linear-gradient(120deg, var(--brand) 0%, #2d6bb0 100%); color: #e6eef8;
  display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; box-shadow: var(--shadow-lg); }
.cta-box::after { content: ""; position: absolute; width: 380px; height: 380px; right: -120px; bottom: -200px; border-radius: 50%; background: rgba(255,255,255,.08); }
.cta-box h2 { color: #fff; font-size: 34px; }
.cta-box p { margin-top: 10px; font-size: 17px; }
.cta-box .actions { position: relative; z-index: 1; display: flex; gap: 12px; flex-wrap: wrap; }

/* footer */
.footer { background: var(--ink); color: #9fb0c6; padding: 56px 0 28px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer .logo { color: #fff; }
.footer p { margin-top: 12px; max-width: 360px; }
.footer h4 { color: #fff; font-size: 14px; margin-bottom: 12px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer a { color: #c9d6e6; }
.footer-bottom { margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }

/* ---------------------------------------------------------------- sign-in page */
.auth-split { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }
.auth-brand { background: linear-gradient(150deg, var(--brand-700) 0%, var(--brand) 70%, #2d6bb0 100%); color: #d6e3f3; padding: 48px 56px; display: flex; flex-direction: column; position: relative; overflow: hidden; }
.auth-brand::after { content: ""; position: absolute; width: 460px; height: 460px; border-radius: 50%; right: -180px; bottom: -160px; background: rgba(255,255,255,.07); }
.auth-brand .logo { color: #fff; }
.auth-brand h2 { color: #fff; font-size: 36px; font-weight: 800; line-height: 1.15; margin-top: auto; letter-spacing: -0.03em; }
.auth-brand .checks { margin-bottom: auto; }
.auth-form-side { display: grid; place-items: center; padding: 48px 24px; background: var(--soft); }
.auth-card { width: 100%; max-width: 420px; background: #fff; border-radius: 22px; padding: 38px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.auth-card h1 { font-size: 28px; font-weight: 800; }
.auth-card .sub { color: var(--muted); margin: 6px 0 24px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.input { width: 100%; height: 48px; border: 1.5px solid var(--line); border-radius: 12px; padding: 0 14px; font: 500 15px var(--font); color: var(--ink); background: #fff; transition: border-color .15s, box-shadow .15s; }
.input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(31,77,129,.12); }
.auth-card .btn { width: 100%; margin-top: 8px; }
.msg { padding: 12px 14px; border-radius: 12px; font-size: 14px; margin-bottom: 18px; }
.msg.error { background: var(--rose-50); color: #a83a33; }
.msg.info { background: var(--brand-50); color: var(--brand); }
.auth-foot { margin-top: 20px; font-size: 13px; color: var(--muted); text-align: center; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1060px) {
  .hero-grid, .security .grid2 { grid-template-columns: 1fr; gap: 48px; }
  .hero h1 { font-size: 46px; }
  .features { grid-template-columns: 1fr 1fr; }
  .stat-grid { grid-template-columns: repeat(3, 1fr); }
  .charts, .downloads { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}
@media (max-width: 760px) {
  .hero { padding: 40px 0 64px; }
  .hero h1 { font-size: 36px; }
  .hero h1 .hl { white-space: normal; }
  .hero-stats { gap: 22px; }
  .section { padding: 64px 0; }
  .section h2 { font-size: 30px; }
  .features, .steps { grid-template-columns: 1fr; }
  .step:not(:last-child)::after { display: none; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .cta-box { grid-template-columns: 1fr; padding: 36px 28px; }
  .footer-grid { grid-template-columns: 1fr; }
  .auth-split { grid-template-columns: 1fr; }
  .auth-brand { display: none; }
  .nav-actions .btn-outline { display: none; }
  .art { padding: 30px 6px; }
  .f2 { right: -4px; }
}
