/*
Theme Name: Login XB
Theme URI: https://loginxb.com
Author: Login XB
Author URI: https://loginxb.com
Description: Official WordPress theme for Login XB — the multi-profile browser and proxy management software for Windows. Hand-written, responsive, light/dark aware, and designed to work with the Login XB License Manager plugin and WooCommerce.
Version: 1.0.0
Requires at least: 5.8
Tested up to: 6.7
Requires PHP: 7.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: loginxb
*/

/* ============ Design tokens ============ */
:root {
  --lxb-navy: #06182e;
  --lxb-navy-2: #0a2547;
  --lxb-blue: #1e7bff;
  --lxb-cyan: #22d3ee;
  --lxb-bg: #f6f9fc;
  --lxb-surface: #ffffff;
  --lxb-surface-muted: #eaf1f8;
  --lxb-text: #0b1c30;
  --lxb-muted: #4b6076;
  --lxb-border: #d5e1ee;
  --lxb-accent: #0b6fe0;
  --lxb-on-accent: #ffffff;
  --lxb-focus: #22d3ee;
  --lxb-radius: 14px;
  --lxb-max: 1180px;
  --lxb-shadow: 0 10px 30px rgba(6, 24, 46, 0.10);
}
@media (prefers-color-scheme: dark) {
  :root {
    --lxb-bg: #04101f;
    --lxb-surface: #0a2547;
    --lxb-surface-muted: #0d2f57;
    --lxb-text: #eaf3fc;
    --lxb-muted: #a9bfd6;
    --lxb-border: #1d4066;
    --lxb-accent: #4da3ff;
    --lxb-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  }
}

/* ============ Base ============ */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--lxb-bg);
  color: var(--lxb-text);
  line-height: 1.6;
  font-size: 17px;
}
img { max-width: 100%; height: auto; }
a { color: var(--lxb-accent); }
a:focus-visible, button:focus-visible, input:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid var(--lxb-focus);
  outline-offset: 2px;
  border-radius: 4px;
}
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--lxb-navy); color: #fff; padding: 10px 16px; z-index: 100;
}
.skip-link:focus { left: 8px; top: 8px; }
.lxb-wrap { max-width: var(--lxb-max); margin: 0 auto; padding: 0 20px; }
.lxb-section { padding: 72px 0; }
.lxb-section h2 { font-size: 2rem; line-height: 1.2; margin: 0 0 12px; letter-spacing: -0.01em; }
.lxb-section .lxb-lede { color: var(--lxb-muted); max-width: 720px; margin: 0 0 36px; }
.lxb-eyebrow {
  text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.78rem;
  font-weight: 700; color: var(--lxb-accent); margin: 0 0 10px;
}

/* ============ Buttons ============ */
.lxb-btn {
  display: inline-block; padding: 13px 26px; border-radius: 999px;
  font-weight: 600; text-decoration: none; border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.lxb-btn:hover { transform: translateY(-1px); }
.lxb-btn-primary {
  background: linear-gradient(135deg, var(--lxb-blue), var(--lxb-cyan));
  color: #fff; box-shadow: 0 6px 18px rgba(30, 123, 255, 0.35);
}
.lxb-btn-secondary {
  background: var(--lxb-surface); color: var(--lxb-text);
  border-color: var(--lxb-border);
}
.lxb-btn-ghost { background: transparent; color: var(--lxb-text); border-color: var(--lxb-border); }

/* ============ Header / nav ============ */
.lxb-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--lxb-surface);
  border-bottom: 1px solid var(--lxb-border);
}
.lxb-header-inner {
  display: flex; align-items: center; gap: 24px;
  max-width: var(--lxb-max); margin: 0 auto; padding: 12px 20px;
}
.lxb-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--lxb-text); }
.lxb-brand img { width: 42px; height: 42px; object-fit: contain; }
.lxb-brand-name { font-size: 1.3rem; font-weight: 800; letter-spacing: -0.01em; }
.lxb-brand-name em { font-style: normal; color: var(--lxb-blue); }
.lxb-nav { margin-left: auto; }
.lxb-nav ul { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; align-items: center; }
.lxb-nav a { color: var(--lxb-text); text-decoration: none; font-weight: 500; }
.lxb-nav a:hover { color: var(--lxb-accent); }
.lxb-nav .lxb-btn { padding: 9px 20px; color: #fff; }
.lxb-nav .lxb-btn:hover { color: #fff; }
.lxb-nav-toggle {
  display: none; margin-left: auto; background: var(--lxb-surface-muted);
  border: 1px solid var(--lxb-border); border-radius: 8px;
  padding: 8px 14px; font: inherit; color: var(--lxb-text); cursor: pointer;
}

/* ============ Hero ============ */
.lxb-hero {
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(34, 211, 238, 0.25), transparent 60%),
    radial-gradient(700px 380px at 0% 0%, rgba(30, 123, 255, 0.28), transparent 55%),
    linear-gradient(160deg, var(--lxb-navy) 0%, var(--lxb-navy-2) 100%);
  color: #eaf3fc; padding: 88px 0 76px;
}
.lxb-hero h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); line-height: 1.08; margin: 0 0 18px; letter-spacing: -0.02em; }
.lxb-hero .lxb-hero-sub { font-size: 1.15rem; color: #c3d7ec; max-width: 640px; margin: 0 0 30px; }
.lxb-hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.lxb-hero .lxb-btn-secondary { background: rgba(255,255,255,0.08); color: #fff; border-color: rgba(255,255,255,0.35); }
.lxb-hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 44px; align-items: center; }

/* Real screenshots of the shipped app (v1.6.6, evaluation build).
   Captures live in assets/img/screenshot-*.webp; captions in the
   templates state exactly what each capture shows. */
.lxb-shot { margin: 0; }
.lxb-shot img {
  display: block; width: 100%; height: auto; border-radius: 14px;
  border: 1px solid #1d4e79; box-shadow: var(--lxb-shadow); background: #0a1626;
}
.lxb-shot figcaption { font-size: 0.85rem; color: var(--lxb-muted); margin-top: 10px; }
.lxb-shot-hero figcaption { color: #9db9d6; }
.lxb-shots { display: grid; grid-template-columns: 1fr; gap: 28px; }
@media (min-width: 721px) {
  .lxb-shots { grid-template-columns: repeat(3, 1fr); gap: 22px; }
  .lxb-shots .lxb-shot img { border-color: var(--lxb-border); }
}

/* ============ Cards / grids ============ */
.lxb-grid { display: grid; gap: 20px; }
.lxb-grid-3 { grid-template-columns: repeat(3, 1fr); }
.lxb-grid-2 { grid-template-columns: repeat(2, 1fr); }
.lxb-card {
  background: var(--lxb-surface); border: 1px solid var(--lxb-border);
  border-radius: var(--lxb-radius); padding: 26px; box-shadow: var(--lxb-shadow);
}
.lxb-card h3 { margin: 0 0 8px; font-size: 1.08rem; }
.lxb-card p { margin: 0; color: var(--lxb-muted); }
.lxb-card .lxb-icon { font-size: 1.5rem; line-height: 1; display: block; margin-bottom: 12px; color: var(--lxb-accent); }
.lxb-step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%; font-weight: 800; color: #fff;
  background: linear-gradient(135deg, var(--lxb-blue), var(--lxb-cyan)); margin-bottom: 14px;
}

/* ============ FAQ ============ */
.lxb-faq details {
  background: var(--lxb-surface); border: 1px solid var(--lxb-border);
  border-radius: var(--lxb-radius); padding: 18px 22px; margin-bottom: 12px;
}
.lxb-faq summary { font-weight: 700; cursor: pointer; }
.lxb-faq details p { color: var(--lxb-muted); margin: 10px 0 0; }

/* ============ CTA band ============ */
.lxb-cta {
  background: linear-gradient(135deg, var(--lxb-navy-2), var(--lxb-blue));
  color: #fff; text-align: center; padding: 72px 20px; border-radius: 0;
}
.lxb-cta h2 { font-size: 2rem; margin: 0 0 22px; }

/* ============ Content pages ============ */
.lxb-page { padding: 56px 0 72px; }
.lxb-page h1 { font-size: 2.1rem; margin: 0 0 14px; letter-spacing: -0.01em; }
.lxb-page .lxb-prose { max-width: 820px; }
.lxb-prose h2 { font-size: 1.4rem; margin: 34px 0 10px; }
.lxb-prose p, .lxb-prose li { color: var(--lxb-muted); }
.lxb-prose strong { color: var(--lxb-text); }
.lxb-table { width: 100%; border-collapse: collapse; margin: 16px 0; }
.lxb-table th, .lxb-table td { border: 1px solid var(--lxb-border); padding: 10px 14px; text-align: left; }
.lxb-table th { background: var(--lxb-surface-muted); color: var(--lxb-text); }
.lxb-notice {
  border: 1px solid var(--lxb-cyan); border-left-width: 5px;
  background: var(--lxb-surface); border-radius: 10px; padding: 16px 20px; margin: 20px 0;
}
.lxb-notice p { margin: 0; }

/* ============ Footer ============ */
.lxb-footer { background: var(--lxb-navy); color: #c3d7ec; padding: 56px 0 28px; }
.lxb-footer a { color: #c3d7ec; text-decoration: none; }
.lxb-footer a:hover { color: var(--lxb-cyan); }
.lxb-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.lxb-footer h2 { font-size: 1rem; color: #fff; margin: 0 0 12px; }
.lxb-footer ul { list-style: none; margin: 0; padding: 0; }
.lxb-footer li { margin-bottom: 8px; }
.lxb-footer-brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; font-size: 1.2rem; }
.lxb-footer-brand img { width: 38px; height: 38px; object-fit: contain; }
.lxb-footer-bottom { border-top: 1px solid #1d4066; margin-top: 36px; padding-top: 20px; font-size: 0.9rem; color: #8fa9c4; }

/* ============ Responsive ============ */
@media (max-width: 960px) {
  .lxb-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .lxb-hero-grid { grid-template-columns: 1fr; }
  .lxb-footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .lxb-nav-toggle { display: block; }
  .lxb-nav { display: none; width: 100%; margin-left: 0; }
  .lxb-nav.lxb-nav-open { display: block; }
  .lxb-nav ul { flex-direction: column; align-items: flex-start; padding: 12px 0 6px; gap: 14px; }
  .lxb-header-inner { flex-wrap: wrap; }
  .lxb-grid-3, .lxb-grid-2 { grid-template-columns: 1fr; }
  .lxb-section { padding: 52px 0; }
  .lxb-footer-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .lxb-btn { transition: none; }
}
