/* =========================================================
   ModiDesk — marketing site
   by ModibusTech OÜ · powered by Modibus Cloud
   ========================================================= */

:root {
  /* Brand palette */
  --bg:            #16100C;   /* warm near-black base */
  --bg-alt:        #1A140F;   /* alternating section bg */
  --panel:         #201A16;   /* cards / panels */
  --panel-2:       #2A221C;   /* raised panels */
  --line:          #34291F;   /* hairline borders */
  --line-soft:     #2A221C;

  --accent:        #EB7532;   /* primary orange */
  --accent-2:      #FFA06B;   /* lighter orange */
  --accent-deep:   #C85A1E;

  --text:          #F6EDE6;   /* near-white warm */
  --text-soft:     #C9BBB0;   /* secondary */
  --text-dim:      #8C7E72;   /* muted */

  --ok:            #5BD08A;

  --radius:        18px;
  --radius-sm:     12px;
  --radius-lg:     26px;

  --shadow:        0 24px 60px -20px rgba(0,0,0,.65);
  --shadow-soft:   0 10px 30px -12px rgba(0,0,0,.5);
  --glow:          0 0 60px -10px rgba(235,117,50,.45);

  --maxw:          1140px;
  --ease:          cubic-bezier(.22,.61,.36,1);

  --font:          "Hanken Grotesk", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --mono:          "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

/* ----------------------------- Reset ----------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* background ambience */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(700px 500px at 80% -5%, rgba(235,117,50,.10), transparent 60%),
    radial-gradient(600px 500px at 0% 10%, rgba(255,160,107,.06), transparent 55%);
  pointer-events: none;
  z-index: 0;
}

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 22px; }
main { position: relative; z-index: 1; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--accent); color: #16100C; padding: 10px 16px; border-radius: 0 0 10px 0; font-weight: 700;
}
.skip-link:focus { left: 0; }

/* ----------------------------- Buttons ----------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-weight: 700; font-size: 15px; letter-spacing: .1px;
  padding: 12px 20px; border-radius: 12px; border: 1px solid transparent;
  transition: transform .18s var(--ease), box-shadow .25s var(--ease), background .2s, border-color .2s, color .2s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn-lg { padding: 14px 26px; font-size: 16px; }
.btn-block { width: 100%; }

.btn-primary {
  background: linear-gradient(180deg, var(--accent-2), var(--accent));
  color: #1B120A;
  box-shadow: 0 10px 26px -10px rgba(235,117,50,.7), inset 0 1px 0 rgba(255,255,255,.25);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -10px rgba(235,117,50,.8), inset 0 1px 0 rgba(255,255,255,.3); }

.btn-ghost {
  background: rgba(255,255,255,.03);
  color: var(--text);
  border-color: var(--line);
}
.btn-ghost:hover { background: rgba(255,255,255,.06); border-color: var(--accent); color: #fff; transform: translateY(-2px); }

/* ----------------------------- Header ----------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  transition: background .3s var(--ease), border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(22,16,12,.72);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom-color: var(--line);
}
.header-inner { display: flex; align-items: center; gap: 18px; height: 68px; }

.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; }
.brand-mark { display: inline-flex; filter: drop-shadow(0 6px 14px rgba(235,117,50,.4)); }
.brand-name { font-size: 21px; letter-spacing: -.4px; }

.main-nav { display: flex; align-items: center; gap: 2px; margin-left: 14px; }
.main-nav > a, .nav-link {
  padding: 8px 14px; border-radius: 9px; color: var(--text-soft); font-weight: 600; font-size: 15px;
  transition: color .2s, background .2s; display: inline-flex; align-items: center; gap: 5px;
}
.main-nav > a:hover, .nav-link:hover { color: var(--text); background: rgba(255,255,255,.04); }
.main-nav a[aria-current="page"] { color: var(--accent-2); }

/* ---- Mega-menu ---- */
.nav-item { position: relative; }
.nav-trigger { background: none; border: 0; font-family: inherit; cursor: pointer; }
.nav-item.active > .nav-trigger { color: var(--accent-2); }
.nav-caret { transition: transform .2s var(--ease); opacity: .7; }
.nav-item.open > .nav-trigger { color: var(--text); background: rgba(255,255,255,.05); }
.nav-item.open .nav-caret { transform: rotate(180deg); }

.mega-panel {
  position: absolute; top: calc(100% + 12px); left: 50%; transform: translateX(-50%) translateY(8px);
  width: min(720px, 88vw); opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .2s var(--ease), transform .2s var(--ease);
  z-index: 120;
}
.nav-item.open .mega-panel { opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.mega-panel::before { /* hover bridge */
  content: ""; position: absolute; top: -14px; left: 0; right: 0; height: 14px;
}
.mega-inner {
  display: grid; grid-template-columns: 1.55fr 1fr; gap: 10px; padding: 14px;
  background: rgba(28,21,16,.97); backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
}
.mega-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mega-h {
  font-size: 11px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase;
  color: var(--text-dim); padding: 6px 12px 4px;
}
.mega-link { display: flex; flex-direction: column; gap: 1px; padding: 9px 12px; border-radius: 10px; transition: background .15s; }
.mega-link:hover { background: rgba(235,117,50,.1); }
.mega-link-t { font-weight: 600; font-size: 14.5px; color: var(--text); }
.mega-link-d { font-size: 12.5px; color: var(--text-dim); line-height: 1.35; }
.mega-link:hover .mega-link-d { color: var(--text-soft); }
.mega-feature {
  display: flex; flex-direction: column; gap: 6px; padding: 18px; border-radius: 14px;
  background: linear-gradient(160deg, rgba(235,117,50,.16), rgba(235,117,50,.04));
  border: 1px solid rgba(235,117,50,.25); transition: border-color .2s, transform .2s;
}
.mega-feature:hover { border-color: var(--accent); transform: translateY(-2px); }
.mega-feature-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--accent-2); }
.mega-feature strong { font-size: 16px; color: var(--text); line-height: 1.2; }
.mega-feature p { font-size: 13px; color: var(--text-soft); margin: 0; }
.mega-feature-cta { margin-top: auto; font-size: 13.5px; font-weight: 700; color: var(--accent-2); }

.header-cta { margin-left: auto; display: inline-flex; gap: 8px; }

.nav-toggle {
  display: none; margin-left: auto; width: 42px; height: 42px; border-radius: 10px;
  background: rgba(255,255,255,.04); border: 1px solid var(--line);
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span { width: 18px; height: 2px; background: var(--text); border-radius: 2px; transition: .25s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none; flex-direction: column; gap: 4px; padding: 10px 22px 22px;
  background: rgba(22,16,12,.96); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line);
}
.mobile-nav a { padding: 13px 14px; border-radius: 10px; color: var(--text-soft); font-weight: 600; }
.mobile-nav a:hover { background: rgba(255,255,255,.05); color: var(--text); }
.mobile-nav .btn { margin-top: 8px; }
.mobile-nav.open { display: flex; }
.mobile-nav .m-group { border-radius: 10px; }
.mobile-nav .m-group > summary {
  list-style: none; cursor: pointer; padding: 13px 14px; border-radius: 10px;
  color: var(--text-soft); font-weight: 600; display: flex; align-items: center; justify-content: space-between;
}
.mobile-nav .m-group > summary::-webkit-details-marker { display: none; }
.mobile-nav .m-group > summary::after { content: "+"; color: var(--text-dim); font-weight: 700; }
.mobile-nav .m-group[open] > summary::after { content: "–"; }
.mobile-nav .m-group[open] > summary { color: var(--text); }
.mobile-nav .m-sub { padding: 10px 14px 10px 26px; font-size: 14px; font-weight: 500; }

/* ---- Free vs Pro comparison table ---- */
.compare-wrap { max-width: 760px; margin: 0 auto; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.compare-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.compare-table th, .compare-table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line-soft); }
.compare-table thead th { background: var(--panel); font-weight: 700; color: var(--text); }
.compare-table thead th:nth-child(2), .compare-table thead th:nth-child(3),
.compare-table td:nth-child(2), .compare-table td:nth-child(3) { text-align: center; width: 120px; color: var(--text-soft); }
.compare-table thead th:nth-child(3) { color: var(--accent-2); }
.compare-table tbody tr:last-child td { border-bottom: 0; }
.compare-table tbody tr:hover { background: rgba(255,255,255,.02); }
.compare-table td.yes { color: var(--ok); font-weight: 700; }
.compare-table td.no { color: var(--text-dim); }
.compare-table td:first-child { color: var(--text); }

/* ----------------------------- Shared section bits ----------------------------- */
.section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.section-alt { background: var(--bg-alt); border-block: 1px solid var(--line-soft); }

.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase;
  color: var(--accent-2); margin-bottom: 14px;
}
.section-head { max-width: 720px; margin: 0 auto clamp(38px, 5vw, 64px); text-align: center; }
.section-head h2 { font-size: clamp(28px, 4vw, 44px); letter-spacing: -1px; line-height: 1.1; }
.section-lead { color: var(--text-soft); font-size: clamp(16px, 1.6vw, 18px); margin-top: 14px; }

h2 { font-weight: 800; }
h3 { font-weight: 700; }

/* ----------------------------- Hero ----------------------------- */
.hero { position: relative; padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 8vw, 110px); overflow: hidden; }
.hero-glow {
  position: absolute; top: -180px; right: -120px; width: 640px; height: 640px;
  background: radial-gradient(circle at center, rgba(235,117,50,.22), transparent 62%);
  filter: blur(20px); pointer-events: none;
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px, 5vw, 60px); align-items: center;
}
.hero-title {
  font-size: clamp(38px, 6.4vw, 70px); line-height: 1.02; letter-spacing: -2px; font-weight: 800;
  margin-bottom: 20px;
}
.hero-title .accent {
  background: linear-gradient(120deg, var(--accent-2), var(--accent));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { font-size: clamp(16px, 2vw, 20px); color: var(--text-soft); max-width: 540px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 22px; }
.hero-byline {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  font-size: 14px; color: var(--text-dim);
}
.hero-byline strong { color: var(--text-soft); }
.hero-byline .dot { color: var(--accent); }

/* ----------------------------- App window mockup ----------------------------- */
.hero-visual { position: relative; perspective: 1600px; }
.app-window {
  background: linear-gradient(180deg, #221B16, #1B1510);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow), var(--glow);
  overflow: hidden;
  transform: rotateY(-9deg) rotateX(4deg);
  transition: transform .5s var(--ease);
}
.hero-visual:hover .app-window { transform: rotateY(-4deg) rotateX(2deg); }

.app-titlebar {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 14px; background: rgba(0,0,0,.25); border-bottom: 1px solid var(--line);
}
.traffic { display: flex; gap: 7px; }
.traffic .t { width: 11px; height: 11px; border-radius: 50%; }
.t-close { background: #ED6A5E; } .t-min { background: #F5BE4F; } .t-max { background: #61C554; }
.app-title { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 13px; color: var(--text-soft); }
.mini-logo { width: 14px; height: 14px; border-radius: 4px; background: linear-gradient(135deg, var(--accent-2), var(--accent)); }
.app-titlebar-right { margin-left: auto; display: flex; align-items: center; gap: 7px; font-size: 12px; color: var(--text-dim); }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 8px var(--ok); }

.app-body { display: grid; grid-template-columns: 130px 1fr; min-height: 320px; }
.app-side { border-right: 1px solid var(--line); padding: 12px 8px; display: flex; flex-direction: column; gap: 4px; }
.side-item { display: flex; align-items: center; gap: 8px; padding: 9px 10px; border-radius: 9px; font-size: 12.5px; color: var(--text-dim); font-weight: 600; }
.side-item .ico { width: 14px; height: 14px; border-radius: 4px; background: currentColor; opacity: .5; }
.side-item.active { background: rgba(235,117,50,.14); color: var(--accent-2); }
.side-item.active .ico { background: var(--accent); opacity: 1; }

.app-main { padding: 16px; display: flex; flex-direction: column; gap: 14px; }
.connect-card { background: rgba(0,0,0,.22); border: 1px solid var(--line); border-radius: 14px; padding: 14px; }
.connect-label { display: block; font-size: 11px; letter-spacing: .4px; text-transform: uppercase; color: var(--text-dim); margin: 4px 0 6px; font-weight: 700; }
.connect-label + .connect-label { margin-top: 14px; }
.id-row { display: flex; align-items: center; gap: 10px; }
.id-value { font-family: var(--mono); font-size: 22px; font-weight: 600; letter-spacing: 2px; color: var(--text); }
.copy-btn { margin-left: auto; font-size: 11px; font-weight: 700; padding: 5px 11px; border-radius: 8px; background: rgba(255,255,255,.05); border: 1px solid var(--line); color: var(--text-soft); }
.connect-row { display: flex; gap: 8px; }
.id-input {
  flex: 1; font-family: var(--mono); font-size: 15px; letter-spacing: 1.5px; color: var(--text);
  background: rgba(0,0,0,.3); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px;
}
.connect-btn {
  background: linear-gradient(180deg, var(--accent-2), var(--accent)); color: #1B120A; font-weight: 800;
  border: none; border-radius: 10px; padding: 10px 18px; box-shadow: 0 8px 18px -8px rgba(235,117,50,.8);
}
.otp-row { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; padding-top: 10px; border-top: 1px dashed var(--line); }
.otp-label { font-size: 11px; color: var(--text-dim); text-transform: uppercase; letter-spacing: .5px; font-weight: 700; }
.otp-value { font-family: var(--mono); font-size: 15px; color: var(--accent-2); font-weight: 600; }

.devices { display: flex; flex-direction: column; gap: 8px; }
.device-card { display: flex; align-items: center; gap: 11px; background: rgba(255,255,255,.025); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
.dev-os { width: 30px; height: 30px; border-radius: 8px; background: rgba(255,255,255,.06); position: relative; flex: 0 0 auto; }
.dev-os::after { content: ""; position: absolute; inset: 8px; border-radius: 4px; background: var(--text-dim); opacity: .6; }
.dev-os.win::after { background: #4FA3E3; opacity: 1; }
.dev-os.mac::after { background: #D9D2CB; opacity: 1; }
.dev-os.linux::after { background: #F5BE4F; opacity: 1; }
.dev-meta { display: flex; flex-direction: column; line-height: 1.25; }
.dev-meta strong { font-size: 13.5px; }
.dev-meta span { font-size: 11.5px; color: var(--text-dim); }
.dev-status { margin-left: auto; font-size: 11px; font-weight: 700; color: var(--ok); display: flex; align-items: center; gap: 6px; }
.dev-status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 6px var(--ok); }
.dev-status.off { color: var(--text-dim); }
.dev-status.off::before { background: var(--text-dim); box-shadow: none; }

.float-badge {
  position: absolute; display: flex; align-items: center; gap: 8px;
  background: rgba(32,26,22,.92); border: 1px solid var(--line); backdrop-filter: blur(8px);
  border-radius: 12px; padding: 9px 13px; font-size: 13px; font-weight: 700; color: var(--text);
  box-shadow: var(--shadow-soft);
  animation: floaty 5s ease-in-out infinite;
}
.fb-1 { top: 8%; left: -22px; }
.fb-2 { bottom: 12%; right: -18px; animation-delay: 1.4s; }
.float-badge .lock, .float-badge .bolt { width: 16px; height: 16px; border-radius: 5px; background: linear-gradient(135deg, var(--accent-2), var(--accent)); }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* ----------------------------- Trust ----------------------------- */
.trust { padding: 40px 0 18px; border-block: 1px solid var(--line-soft); }
.trust-title { text-align: center; color: var(--text-dim); font-size: 13px; letter-spacing: 1px; text-transform: uppercase; font-weight: 700; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 26px; }
.stat { text-align: center; padding: 18px 10px; border-radius: var(--radius-sm); }
.stat-num { display: block; font-size: clamp(20px, 2.6vw, 28px); font-weight: 800; letter-spacing: -.5px; color: var(--accent-2); }
.stat-label { display: block; font-size: 13px; color: var(--text-dim); margin-top: 4px; }

/* ----------------------------- Features ----------------------------- */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card {
  background: linear-gradient(180deg, var(--panel), #1C1611);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px;
  transition: transform .25s var(--ease), border-color .25s, box-shadow .25s, background .25s;
  position: relative; overflow: hidden;
}
.card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0; transition: opacity .3s;
}
.card:hover { transform: translateY(-5px); border-color: rgba(235,117,50,.4); box-shadow: var(--shadow-soft); }
.card:hover::before { opacity: 1; }
.feat-icon {
  display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px;
  border-radius: 13px; color: var(--accent-2);
  background: rgba(235,117,50,.12); border: 1px solid rgba(235,117,50,.22);
  margin-bottom: 16px;
}
.card h3 { font-size: 17px; margin-bottom: 7px; letter-spacing: -.2px; }
.card p { font-size: 14.5px; color: var(--text-soft); }

/* ----------------------------- How it works ----------------------------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step { text-align: center; padding: 30px 22px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); position: relative; }
.step-num {
  position: absolute; top: -18px; left: 50%; transform: translateX(-50%);
  width: 38px; height: 38px; border-radius: 50%;
  background: linear-gradient(180deg, var(--accent-2), var(--accent)); color: #1B120A;
  font-weight: 800; display: grid; place-items: center; box-shadow: 0 8px 18px -8px rgba(235,117,50,.8);
}
.step-visual { color: var(--accent-2); display: grid; place-items: center; margin: 14px 0 18px; }
.step h3 { font-size: 18px; margin-bottom: 8px; }
.step p { font-size: 14.5px; color: var(--text-soft); }

/* ----------------------------- Security ----------------------------- */
.security-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px, 5vw, 60px); align-items: center; }
.security-copy h2 { font-size: clamp(26px, 3.6vw, 40px); letter-spacing: -1px; line-height: 1.12; }
.security-list { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-direction: column; gap: 16px; }
.security-list li { display: flex; gap: 13px; align-items: flex-start; font-size: 15.5px; color: var(--text-soft); }
.security-list strong { color: var(--text); }
.chk { flex: 0 0 auto; width: 24px; height: 24px; border-radius: 8px; background: rgba(91,208,138,.14); border: 1px solid rgba(91,208,138,.3); position: relative; margin-top: 2px; }
.chk::after { content: ""; position: absolute; left: 8px; top: 5px; width: 5px; height: 9px; border: solid var(--ok); border-width: 0 2px 2px 0; transform: rotate(45deg); }

.security-visual { position: relative; }
.sec-panel {
  background: linear-gradient(180deg, var(--panel-2), #1B1510);
  border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px;
  box-shadow: var(--shadow), 0 0 50px -18px rgba(235,117,50,.4);
}
.sec-row { display: flex; align-items: center; gap: 12px; padding: 13px 14px; background: rgba(0,0,0,.25); border: 1px solid var(--line); border-radius: 12px; font-weight: 600; font-size: 14.5px; }
.sec-row span:nth-child(2) { flex: 1; }
.sec-ico { width: 30px; height: 30px; border-radius: 9px; background: rgba(235,117,50,.14); border: 1px solid rgba(235,117,50,.25); position: relative; }
.sec-ico::after { content: ""; position: absolute; inset: 8px; border-radius: 4px; background: var(--accent-2); }
.sec-tag { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .6px; padding: 4px 9px; border-radius: 7px; background: rgba(255,255,255,.05); color: var(--text-dim); }
.sec-tag.ok { background: rgba(91,208,138,.14); color: var(--ok); }
.sec-pipe { width: 2px; height: 18px; margin-left: 28px; background: linear-gradient(180deg, var(--accent), transparent); }
.sec-code { margin-top: 16px; background: #120D09; border: 1px solid var(--line); border-radius: 12px; padding: 14px; font-family: var(--mono); font-size: 12.5px; line-height: 1.9; overflow-x: auto; }
.sec-code code { display: block; color: var(--accent-2); white-space: pre; }
.sec-code .dim { color: var(--text-dim); }

/* ----------------------------- Pricing ----------------------------- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
.price-card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px;
  position: relative; display: flex; flex-direction: column;
  transition: transform .25s var(--ease), border-color .25s, box-shadow .25s;
}
.price-card:hover { transform: translateY(-4px); border-color: rgba(235,117,50,.3); }
.price-card.featured {
  border-color: var(--accent);
  background: linear-gradient(180deg, #2A1D12, #1E140D);
  box-shadow: var(--shadow), 0 0 60px -22px rgba(235,117,50,.7);
}
.price-badge {
  position: absolute; top: -13px; left: 24px;
  background: linear-gradient(180deg, var(--accent-2), var(--accent)); color: #1B120A;
  font-size: 12px; font-weight: 800; padding: 5px 12px; border-radius: 20px; letter-spacing: .3px;
  box-shadow: 0 8px 18px -8px rgba(235,117,50,.8);
}
.price-head h3 { font-size: 21px; letter-spacing: -.3px; }
.price-desc { color: var(--text-dim); font-size: 14px; margin-top: 6px; min-height: 40px; }
.price-amount { display: flex; align-items: baseline; gap: 8px; margin: 18px 0 20px; }
.price-amount .amount { font-size: 40px; font-weight: 800; letter-spacing: -1.5px; }
.price-amount .per { color: var(--text-dim); font-size: 14px; }
.price-feats { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-direction: column; gap: 12px; }
.price-feats li { position: relative; padding-left: 26px; font-size: 14.5px; color: var(--text-soft); }
.price-feats li::before { content: ""; position: absolute; left: 0; top: 6px; width: 16px; height: 16px; border-radius: 5px; background: rgba(235,117,50,.16); }
.price-feats li::after { content: ""; position: absolute; left: 5px; top: 9px; width: 4px; height: 7px; border: solid var(--accent-2); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.price-feats li strong { color: var(--text); }
.price-feats li strong:only-child { padding: 0; }

/* ----------------------------- Download ----------------------------- */
.download-wrap {
  position: relative; text-align: center; max-width: 920px; margin-inline: auto;
  background: linear-gradient(180deg, var(--panel), #1A140F);
  border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(38px, 5vw, 60px) clamp(22px, 4vw, 48px);
  overflow: hidden;
}
.download-glow { position: absolute; top: -120px; left: 50%; transform: translateX(-50%); width: 500px; height: 360px; background: radial-gradient(circle, rgba(235,117,50,.2), transparent 65%); pointer-events: none; }
.download-wrap h2 { font-size: clamp(26px, 3.6vw, 40px); letter-spacing: -1px; }
.dl-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin: 36px 0 30px; }
.dl-card {
  display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 20px 12px;
  background: rgba(255,255,255,.025); border: 1px solid var(--line); border-radius: 14px;
  transition: transform .2s var(--ease), border-color .2s, background .2s;
}
.dl-card:hover { transform: translateY(-4px); border-color: var(--accent); background: rgba(235,117,50,.08); }
.dl-os { color: var(--accent-2); }
.dl-name { font-weight: 700; font-size: 15px; }
.dl-sub { font-size: 11.5px; color: var(--text-dim); text-align: center; }
.dl-deploy { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ----------------------------- About ----------------------------- */
.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(30px, 5vw, 60px); align-items: center; }
.about-copy h2 { font-size: clamp(26px, 3.6vw, 40px); letter-spacing: -1px; margin-bottom: 14px; }
.about-copy p { color: var(--text-soft); font-size: 16px; margin-bottom: 14px; }
.about-card {
  background: linear-gradient(180deg, var(--panel-2), #1B1510);
  border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-soft);
}
.about-logo { margin-bottom: 18px; filter: drop-shadow(0 8px 16px rgba(235,117,50,.4)); }
.about-facts { display: flex; flex-direction: column; gap: 0; }
.about-facts > div { display: flex; justify-content: space-between; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.about-facts > div:last-child { border-bottom: none; }
.about-facts dt { color: var(--text-dim); font-size: 14px; font-weight: 600; }
.about-facts dd { font-weight: 700; font-size: 14.5px; }

/* ----------------------------- Contact CTA ----------------------------- */
.contact-cta { padding: clamp(80px, 9vw, 132px) 0 clamp(96px, 11vw, 152px); }
.cta-band {
  position: relative; text-align: center; overflow: hidden;
  background: linear-gradient(135deg, #2A1B11, #1C140E);
  border: 1px solid rgba(235,117,50,.3); border-radius: var(--radius-lg);
  padding: clamp(44px, 6vw, 72px) 24px; box-shadow: var(--glow);
}
.cta-glow { position: absolute; inset: 0; background: radial-gradient(600px 300px at 50% 0%, rgba(235,117,50,.18), transparent 60%); pointer-events: none; }
.cta-band h2 { font-size: clamp(28px, 4vw, 46px); letter-spacing: -1px; position: relative; }
.cta-band p { color: var(--text-soft); font-size: 17px; margin-top: 12px; position: relative; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 28px; position: relative; }

/* ----------------------------- Footer ----------------------------- */
.site-footer { background: var(--bg-alt); border-top: 1px solid var(--line); position: relative; z-index: 1; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 30px; padding: 56px 0 40px; }
.footer-brand .brand { margin-bottom: 14px; }
.footer-tagline { color: var(--text-dim); font-size: 14px; }
.footer-powered { display: flex; align-items: center; gap: 8px; margin-top: 16px; font-size: 14px; color: var(--text-soft); }
.cloud-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px var(--accent); }
.footer-col h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 1px; color: var(--text-dim); margin-bottom: 14px; font-weight: 700; }
.footer-col a { display: block; color: var(--text-soft); font-size: 14.5px; padding: 5px 0; transition: color .2s; }
.footer-col a:hover { color: var(--accent-2); }
.social-row { display: flex; gap: 10px; }
.social { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: rgba(255,255,255,.04); border: 1px solid var(--line); color: var(--text-soft); transition: .2s; }
.social:hover { color: #fff; border-color: var(--accent); background: rgba(235,117,50,.12); transform: translateY(-2px); }

.footer-bottom { border-top: 1px solid var(--line); }
.footer-bottom-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding: 20px 0; color: var(--text-dim); font-size: 13.5px; }
.footer-meta { color: var(--text-dim); }
.sep { color: var(--line); margin: 0 4px; }

/* ----------------------------- Scroll reveal ----------------------------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ----------------------------- Responsive ----------------------------- */
@media (max-width: 1024px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .dl-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
  .footer-social { grid-column: span 3; }
}
@media (max-width: 880px) {
  .main-nav, .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 460px; margin-inline: auto; }
  .app-window { transform: none; }
  .hero-visual:hover .app-window { transform: none; }
  .fb-1 { left: 4px; } .fb-2 { right: 4px; }
  .security-grid, .about-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; gap: 36px; }
  .pricing-grid { grid-template-columns: 1fr; }
  .price-card.featured { order: -1; }
}
@media (max-width: 560px) {
  .feature-grid { grid-template-columns: 1fr; }
  .dl-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
  .footer-social { grid-column: span 2; }
  .hero-actions .btn, .dl-deploy .btn, .cta-actions .btn { flex: 1 1 auto; }
  .footer-bottom-inner { flex-direction: column; }
}

/* ===================================================================
   Multi-page additions (features / solutions / pricing / download /
   security / contact). Matches the warm-dark + orange design system.
   =================================================================== */

/* Sub-page hero */
.page-hero { padding-top: 132px; padding-bottom: 28px; text-align: center; }
.page-hero h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); line-height: 1.06; letter-spacing: -.02em; margin: 14px 0 16px; }
.page-hero .section-lead { max-width: 720px; margin-left: auto; margin-right: auto; }
.page-hero .hero-actions { justify-content: center; margin-top: 26px; }

/* Hero free note (home) */
.hero-note { margin-top: 18px; font-size: .92rem; color: var(--text-dim); letter-spacing: .01em; }

/* Generic card grid */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.features-grid .card h3 { font-size: 1.12rem; margin-bottom: 8px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.features-grid .card p { color: var(--text-soft); font-size: .96rem; line-height: 1.55; }

/* Pro badge pill */
.badge-pro { display: inline-block; font-size: .64rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent-2); background: rgba(235,117,50,.14); border: 1px solid rgba(235,117,50,.3);
  border-radius: 999px; padding: 2px 8px; vertical-align: middle; }

/* Solutions */
.solutions-list { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.solution-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 26px 22px; box-shadow: var(--shadow-soft); }
.solution-card h3 { font-size: 1.25rem; margin-bottom: 8px; }
.solution-card > p { color: var(--text-soft); line-height: 1.6; margin-bottom: 16px; }
.solution-card .security-list { margin: 0; }

/* FAQ accordion */
.faq-wrap { max-width: 820px; }
.faq-list { display: grid; gap: 12px; margin-top: 24px; }
.faq-item { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 4px 20px; }
.faq-item summary { cursor: pointer; padding: 16px 0; font-weight: 600; font-size: 1.04rem; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--accent); font-size: 1.4rem; line-height: 1; transition: transform .2s var(--ease); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { color: var(--text-soft); line-height: 1.6; padding: 0 0 18px; margin: 0; }

/* Getting-started steps */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 24px; }
.step { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.step .step-num { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px;
  background: linear-gradient(135deg, var(--accent-2), var(--accent)); color: #16100C; font-weight: 800; font-size: 1.1rem; margin-bottom: 14px; }
.step h3 { font-size: 1.1rem; margin-bottom: 6px; }
.step p { color: var(--text-soft); line-height: 1.55; }

/* Security list large */
.security-list-lg { max-width: 880px; margin: 8px auto 0; }
.security-list-lg li { font-size: 1.05rem; padding: 14px 0; border-bottom: 1px solid var(--line-soft); }

/* Download foot note + contact methods */
.dl-foot { text-align: center; color: var(--text-dim); font-size: .9rem; margin-top: 22px; }
.dl-foot a { color: var(--accent-2); }
.contact-methods { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }

@media (max-width: 880px) {
  .features-grid, .steps-grid { grid-template-columns: 1fr 1fr; }
  .solutions-list { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .features-grid, .steps-grid { grid-template-columns: 1fr; }
}

/* Coming-soon download cards */
.dl-card.dl-soon { opacity: .5; position: relative; }
.dl-card.dl-soon .dl-sub { color: var(--accent-2); font-weight: 600; }
.dl-card.dl-soon::after { content: "SOON"; position: absolute; top: 10px; right: 10px; font-size: .58rem; font-weight: 800;
  letter-spacing: .08em; color: var(--accent-2); background: rgba(235,117,50,.14); border: 1px solid rgba(235,117,50,.3);
  border-radius: 999px; padding: 2px 7px; }

/* Download page hero */
.download-hero { padding-bottom: 60px; }
.dl-primary { margin-top: 26px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.btn-xl { font-size: 1.12rem; padding: 16px 32px; border-radius: 14px; gap: 10px; }
.dl-meta { color: var(--text-dim); font-size: .9rem; margin: 0; }
.dl-h2 { text-align: center; font-size: 1.4rem; margin-bottom: 22px; color: var(--text-soft); font-weight: 600; }

/* Cookie consent banner (GDPR) */
.cookie-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 300;
  background: rgba(26,20,15,.94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--line); box-shadow: 0 -12px 44px -14px rgba(0,0,0,.7);
  transform: translateY(120%); transition: transform .34s var(--ease); }
.cookie-bar.show { transform: translateY(0); }
.cookie-inner { max-width: var(--maxw); margin: 0 auto; padding: 15px 22px;
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap; justify-content: space-between; }
.cookie-text { margin: 0; color: var(--text-soft); font-size: .9rem; line-height: 1.5; flex: 1 1 360px; }
.cookie-text strong { color: var(--text); }
.cookie-text a { color: var(--accent-2); text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }
@media (max-width: 600px) {
  .cookie-inner { padding: 14px 16px; }
  .cookie-actions { width: 100%; }
  .cookie-actions .btn { flex: 1; }
}

/* Legal pages (privacy / terms) prose */
.legal { max-width: 760px; }
.legal h2 { font-size: 1.18rem; margin: 28px 0 8px; }
.legal p { color: var(--text-soft); line-height: 1.65; margin: 0 0 10px; }
.legal strong { color: var(--text); }
.legal-meta { margin-top: 30px; padding-top: 16px; border-top: 1px solid var(--line-soft); color: var(--text-dim); font-size: .88rem; }
.legal-meta a { color: var(--accent-2); }

/* Support hub */
.support-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.support-card { display: flex; align-items: flex-start; gap: 14px; background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px; transition: transform .16s var(--ease), border-color .16s; position: relative; }
.support-card:hover { transform: translateY(-3px); border-color: var(--accent-line); }
.support-card .sc-ico { font-size: 1.7rem; line-height: 1; flex: none; }
.support-card h3 { font-size: 1.08rem; margin-bottom: 4px; }
.support-card p { color: var(--text-soft); font-size: .92rem; line-height: 1.5; margin: 0; }
.support-card .sc-arrow { margin-left: auto; color: var(--accent); font-size: 1.2rem; opacity: 0; transition: opacity .16s, transform .16s; }
.support-card:hover .sc-arrow { opacity: 1; transform: translateX(3px); }
.legal code { background: var(--panel-2); padding: 2px 6px; border-radius: 5px; font-family: var(--mono); font-size: .85em; color: var(--accent-2); }
@media (max-width: 880px) { .support-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .support-grid { grid-template-columns: 1fr; } }

/* ── Contact form (contact page) ─────────────────────────────── */
.contact-form{display:grid;gap:14px}
.contact-form label{display:flex;flex-direction:column;gap:6px;font-size:12.5px;font-weight:600;color:var(--text-soft);letter-spacing:.2px}
.contact-form input,.contact-form textarea{background:var(--bg);border:1px solid var(--line);border-radius:11px;padding:11px 13px;color:var(--text);font:inherit;font-size:14px;font-weight:400;outline:none;transition:border-color .15s,box-shadow .15s}
.contact-form input::placeholder,.contact-form textarea::placeholder{color:var(--text-dim)}
.contact-form input:focus,.contact-form textarea:focus{border-color:var(--accent);box-shadow:0 0 0 3px rgba(235,117,50,.16)}
.contact-form textarea{resize:vertical;min-height:104px;line-height:1.5}
.contact-form button{margin-top:4px;width:100%;justify-content:center}
.contact-note{margin:2px 0 0;font-size:13px;min-height:1.1em}
.contact-note.ok{color:#33D9A6}
.contact-note.err{color:#F25268}

/* ── Linux install section (download page) ───────────────────── */
/* OS install sections (Windows/Linux): hidden until their card is clicked (JS) */
.os-reveal { display: none; scroll-margin-top: 90px; }
.os-reveal.open { display: block; animation: linuxReveal .25s var(--ease); }
@keyframes linuxReveal { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.os-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 8px; }
.os-grid-2 { grid-template-columns: repeat(2, 1fr); max-width: 760px; margin-left: auto; margin-right: auto; }
@media (max-width: 880px) { .os-grid-2 { grid-template-columns: 1fr; } }
.os-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; min-width: 0; }
.os-head { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.os-head h3 { font-size: 17px; margin: 0; }
.os-badge { font-size: 11px; font-weight: 800; letter-spacing: .5px; color: var(--accent); background: rgba(235,117,50,.14); border: 1px solid rgba(235,117,50,.4); border-radius: 7px; padding: 3px 8px; }
.os-note { color: var(--text-dim); font-size: 13px; margin: 0 0 14px; }
.os-cmd { background: #0E0B09; border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace; font-size: 12.5px; line-height: 1.7; color: var(--text-soft); overflow-x: auto; white-space: pre; margin: 0 0 16px; }
.os-cmd code { color: inherit; background: none; }
.os-card .btn-block { margin-top: auto; }
@media (max-width: 880px) { .os-grid { grid-template-columns: 1fr; } }

/* Footer legal links row */
.footer-legal { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }
.footer-legal a { color: var(--text-dim); font-size: 13.5px; transition: color .2s; }
.footer-legal a:hover { color: var(--accent-2); }
