/* E-Sys MAX website. Dark, with the logo's orange. */
:root {
  --bg: #0b0c0f;
  --bg-2: #0f1115;
  --surface: #14171c;
  --surface-2: #1a1e25;
  --line: #262b34;
  --line-2: #323844;
  --text: #e9ebef;
  --muted: #9ca3af;
  --faint: #6b7280;
  --orange: #ff7a00;
  --orange-2: #ffa31a;
  --orange-soft: rgba(255, 122, 0, 0.12);
  --green: #34d399;
  --red: #f87171;
  --radius: 14px;
  --radius-s: 9px;
  --shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.8);
  --max: 1160px;
  --head: "Rajdhani", "Segoe UI", system-ui, sans-serif;
  --body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", Consolas, ui-monospace, monospace;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange-2); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--head); font-weight: 700; line-height: 1.1; margin: 0 0 0.5em; letter-spacing: 0.01em; }
h1 { font-size: clamp(2.4rem, 5.6vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
code, .mono { font-family: var(--mono); font-size: 0.92em; }
.skip { position: absolute; left: -9999px; top: 10px; z-index: 100; background: var(--orange); color: #160a00; padding: 8px 14px; border-radius: 8px; font-weight: 600; }
.skip:focus { left: 16px; }
:focus-visible { outline: 2px solid var(--orange-2); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); }
.accent { background: linear-gradient(90deg, var(--orange-2), var(--orange)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow { font: 600 0.8rem/1 var(--body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--orange-2); margin-bottom: 14px; display: inline-block; }
.center { text-align: center; }
.section { padding: 96px 0; }
.section.alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.08rem; }

/* ---------------------------------------------------------------- header */
.site-head {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 12, 15, 0.82);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-head .wrap { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand img { height: 40px; width: auto; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { color: var(--muted); font-weight: 500; font-size: 0.95rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); text-decoration: none; }
.head-cta { display: flex; gap: 10px; }
.menu-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line-2); color: var(--text); border-radius: 8px; width: 42px; height: 38px; cursor: pointer; }
.menu-toggle span { display: block; width: 18px; height: 2px; background: currentColor; margin: 4px auto; border-radius: 2px; }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px; border-radius: 10px; border: 1px solid transparent;
  font: 600 0.97rem/1 var(--body); cursor: pointer; text-decoration: none !important;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: linear-gradient(180deg, var(--orange-2), var(--orange)); color: #160a00; box-shadow: 0 10px 30px -10px rgba(255, 122, 0, 0.65); }
.btn-primary:hover { box-shadow: 0 14px 36px -10px rgba(255, 122, 0, 0.85); }
.btn-ghost { background: var(--surface); color: var(--text); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--faint); }
.btn-lg { padding: 15px 26px; font-size: 1.05rem; border-radius: 12px; }
.btn-sm { padding: 8px 14px; font-size: 0.88rem; }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; }
.btn svg { width: 18px; height: 18px; }

/* ---------------------------------------------------------------- hero */
.hero { position: relative; padding: 84px 0 40px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -30% -10% auto; height: 760px; pointer-events: none;
  background:
    radial-gradient(600px 320px at 70% 30%, rgba(255, 122, 0, 0.16), transparent 70%),
    radial-gradient(500px 300px at 15% 10%, rgba(120, 140, 180, 0.10), transparent 70%);
}
.hero .wrap { position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero h1 { margin-bottom: 20px; }
.hero .lead { font-size: 1.2rem; color: #c8ccd3; max-width: 560px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 18px; }
.hero-note { color: var(--faint); font-size: 0.9rem; }
.shot {
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-2);
  background: #1d1d1d; box-shadow: var(--shadow), 0 0 0 1px rgba(255, 255, 255, 0.02) inset;
}
.shot .bar { display: flex; gap: 7px; padding: 10px 12px; background: #111; border-bottom: 1px solid #2a2a2a; }
.shot .bar i { width: 11px; height: 11px; border-radius: 50%; background: #3a3a3a; }
.shot .bar i:first-child { background: #ff5f57; } .shot .bar i:nth-child(2) { background: #febc2e; } .shot .bar i:nth-child(3) { background: #28c840; }
.hero-shots { position: relative; }
.hero-shots > .shot:first-child { width: 122%; max-width: none; }
.hero-shots .front { position: absolute; width: 56%; right: -4%; bottom: -12%; }
.trust { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 70px; padding: 22px 0 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.93rem; }
.trust span { display: inline-flex; align-items: center; gap: 8px; }
.trust svg { width: 17px; height: 17px; color: var(--orange-2); flex: none; }

/* ---------------------------------------------------------------- features */
.grid { display: grid; gap: 18px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.card:hover { border-color: var(--line-2); transform: translateY(-2px); }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); margin: 0; font-size: 0.97rem; }
.icon {
  width: 44px; height: 44px; border-radius: 11px; display: grid; place-items: center; margin-bottom: 16px;
  background: var(--orange-soft); color: var(--orange-2); border: 1px solid rgba(255, 122, 0, 0.25);
}
.icon svg { width: 22px; height: 22px; }

.showcase { display: grid; grid-template-columns: 1fr 1.25fr; gap: 56px; align-items: center; margin-bottom: 96px; }
.showcase:last-child { margin-bottom: 0; }
.showcase.flip { grid-template-columns: 1.25fr 1fr; }
.showcase.flip .text { order: 2; }
.showcase .text p { color: var(--muted); font-size: 1.05rem; }
.ticks { list-style: none; padding: 0; margin: 18px 0 0; }
.ticks li { position: relative; padding-left: 28px; margin: 9px 0; color: #cfd3da; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 16px; border-radius: 50%; background: var(--orange-soft); box-shadow: inset 0 0 0 1px rgba(255, 122, 0, 0.45); }
.ticks li::after { content: ""; position: absolute; left: 5px; top: 10px; width: 6px; height: 8px; border: solid var(--orange-2); border-width: 0 2px 2px 0; transform: rotate(45deg); }

/* ---------------------------------------------------------------- steps */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step { position: relative; padding: 28px 26px 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.step::before {
  counter-increment: step; content: counter(step);
  font: 700 1.1rem/1 var(--head); color: #160a00; width: 34px; height: 34px; border-radius: 9px;
  display: grid; place-items: center; margin-bottom: 16px; background: linear-gradient(180deg, var(--orange-2), var(--orange));
}
.step p { color: var(--muted); margin: 0; }

/* ---------------------------------------------------------------- pricing */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.plan { display: flex; flex-direction: column; padding: 30px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); position: relative; }
.plan.best { border-color: rgba(255, 122, 0, 0.6); background: linear-gradient(180deg, rgba(255, 122, 0, 0.09), var(--surface) 45%); box-shadow: 0 30px 70px -40px rgba(255, 122, 0, 0.6); }
.plan .tag { position: absolute; top: -12px; right: 22px; background: linear-gradient(180deg, var(--orange-2), var(--orange)); color: #160a00; font: 700 0.75rem/1 var(--body); letter-spacing: 0.08em; text-transform: uppercase; padding: 7px 10px; border-radius: 7px; }
.plan h3 { font-size: 1.15rem; color: var(--muted); font-family: var(--body); font-weight: 600; }
.price { font: 700 3.2rem/1 var(--head); margin: 6px 0 4px; }
.price small { font: 500 1rem var(--body); color: var(--muted); }
.plan .sub { color: var(--muted); font-size: 0.93rem; min-height: 2.8em; }
.plan .ticks { margin-bottom: 26px; flex: 1; }
.plan .btn { width: 100%; }
.fine { color: var(--faint); font-size: 0.88rem; margin-top: 22px; text-align: center; }

/* ---------------------------------------------------------------- FAQ */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius-s); background: var(--surface); margin-bottom: 10px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 50px 18px 20px; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 14px; font: 400 1.5rem/1 var(--body); color: var(--orange-2); transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 20px 18px; color: var(--muted); }
.faq .answer p:last-child { margin: 0; }

/* ---------------------------------------------------------------- CTA band */
.band { padding: 70px 0; }
.band .box {
  border-radius: 22px; padding: 54px; text-align: center; border: 1px solid rgba(255, 122, 0, 0.35);
  background: radial-gradient(600px 220px at 50% 0%, rgba(255, 122, 0, 0.2), transparent 70%), var(--surface);
}
.band p { color: var(--muted); max-width: 560px; margin: 0 auto 26px; }
.band .hero-cta { justify-content: center; margin: 0; }

/* ---------------------------------------------------------------- inner pages */
.page-head { padding: 70px 0 34px; border-bottom: 1px solid var(--line); background: radial-gradient(700px 240px at 80% 0%, rgba(255, 122, 0, 0.1), transparent 70%); }
.page-head p { color: var(--muted); font-size: 1.1rem; max-width: 720px; }
.page { padding: 50px 0 90px; }
.prose { max-width: 780px; }
.prose h2 { font-size: 1.7rem; margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose p, .prose li { color: #c9cdd4; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin: 6px 0; }
.panel { border: 1px solid var(--line); background: var(--surface); border-radius: var(--radius); padding: 28px; }
.panel + .panel { margin-top: 18px; }
.cols { display: grid; grid-template-columns: 1.3fr 1fr; gap: 26px; align-items: start; }

label { display: block; font-weight: 600; margin-bottom: 7px; font-size: 0.95rem; }
.hint { color: var(--faint); font-size: 0.87rem; margin-top: 6px; }
input[type="text"], input[type="email"] {
  width: 100%; padding: 13px 14px; border-radius: 10px; border: 1px solid var(--line-2);
  background: var(--bg); color: var(--text); font: 500 1rem var(--body);
}
input.mono { font-family: var(--mono); letter-spacing: 0.04em; }
input:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px var(--orange-soft); }
.field { margin-bottom: 20px; }
.choice { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.choice label {
  margin: 0; cursor: pointer; border: 1px solid var(--line-2); border-radius: 12px; padding: 16px; background: var(--bg);
  display: flex; flex-direction: column; gap: 2px; font-weight: 500;
}
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice strong { font: 700 1.6rem/1.1 var(--head); }
.choice span { color: var(--muted); font-size: 0.9rem; }
.choice input:checked + label { border-color: var(--orange); background: rgba(255, 122, 0, 0.08); box-shadow: 0 0 0 3px var(--orange-soft); }
.choice input:focus-visible + label { outline: 2px solid var(--orange-2); }
.consent { display: grid; gap: 10px; }
label.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 0.92rem; color: #cfd3da; cursor: pointer; margin: 0; }
label.check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--orange); flex: none; }
.prose .caps { text-transform: none; font-size: 0.86rem; letter-spacing: 0.01em; color: #b8bdc6; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; }
table.data { width: 100%; border-collapse: collapse; margin: 14px 0 20px; font-size: 0.9rem; }
table.data th, table.data td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); color: #c9cdd4; }
table.data th { color: var(--text); font-weight: 600; background: var(--surface); }
@media (max-width: 760px) { table.data, table.data tbody, table.data tr, table.data td, table.data th { display: block; } table.data tr { border-bottom: 1px solid var(--line-2); padding: 6px 0; } table.data th { display: none; } table.data td { border: 0; padding: 4px 0; } }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.note { border-radius: 10px; padding: 13px 15px; font-size: 0.95rem; margin-top: 16px; border: 1px solid var(--line-2); background: var(--bg); color: #cfd3da; }
.note.ok { border-color: rgba(52, 211, 153, 0.45); background: rgba(52, 211, 153, 0.07); }
.note.bad { border-color: rgba(248, 113, 113, 0.45); background: rgba(248, 113, 113, 0.07); }
.note:empty { display: none; }
.licence-box {
  font: 0.86rem/1.5 var(--mono); word-break: break-all; padding: 16px; border-radius: 10px;
  background: var(--bg); border: 1px dashed var(--line-2); max-height: 180px; overflow: auto; color: #e5e7eb;
}
.kv { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; font-size: 0.95rem; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; }
ol.how { counter-reset: n; list-style: none; padding: 0; }
ol.how li { counter-increment: n; position: relative; padding-left: 40px; margin: 14px 0; color: #cfd3da; }
ol.how li::before { content: counter(n); position: absolute; left: 0; top: 0; width: 26px; height: 26px; border-radius: 7px; display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--line-2); font: 700 0.9rem/1 var(--head); color: var(--orange-2); }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.25); border-top-color: currentColor; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------------------------------------------------------------- footer */
.site-foot { border-top: 1px solid var(--line); padding: 54px 0 40px; background: var(--bg-2); color: var(--muted); font-size: 0.93rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 30px; }
.foot-grid h4 { font: 600 0.82rem/1 var(--body); letter-spacing: 0.12em; text-transform: uppercase; color: var(--text); margin-bottom: 14px; }
.foot-grid a { display: block; color: var(--muted); margin: 7px 0; }
.foot-grid a:hover { color: var(--text); text-decoration: none; }
.foot-legal { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 0.83rem; color: var(--faint); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }

/* ---------------------------------------------------------------- motion */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .card, .btn { transition: none; }
}

/* ---------------------------------------------------------------- small screens */
@media (max-width: 980px) {
  .hero-grid, .showcase, .showcase.flip, .cols { grid-template-columns: 1fr; gap: 36px; }
  .showcase.flip .text { order: 0; }
  .hero-shots .front { position: relative; width: 70%; right: auto; bottom: auto; margin: -18% 0 0 auto; }
  .hero-shots > .shot:first-child { width: 100%; }
  .grid-3, .pricing, .steps { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav, .head-cta { display: none; }
  .menu-toggle { display: block; }
  .site-head.open .nav, .site-head.open .head-cta { display: flex; }
  .site-head.open .wrap { flex-wrap: wrap; height: auto; padding-top: 14px; padding-bottom: 16px; }
  .site-head.open .nav { order: 3; width: 100%; flex-direction: column; gap: 4px; margin: 6px 0 0; }
  .site-head.open .nav a { padding: 10px 0; border-bottom: 1px solid var(--line); }
  .site-head.open .head-cta { order: 4; width: 100%; }
  .site-head.open .head-cta .btn { flex: 1; }
  .section { padding: 70px 0; }
  .grid-3, .grid-2, .pricing, .steps, .choice { grid-template-columns: 1fr; }
  .band .box { padding: 36px 22px; }
  .foot-grid { grid-template-columns: 1fr; }
  .wrap { padding: 0 16px; }
}
