/* BuSolve Deploy landing page. Brand: navy #0b1640, blue #1f6fff, green #22d3a6. Max radius 5px (product rule). */
:root {
  --navy: #0b1640;
  --navy-2: #111f52;
  --blue: #1f6fff;
  --blue-2: #4b8bff;
  --green: #22d3a6;
  --ink: #0d1530;
  --muted: #56617d;
  --line: #e2e6ef;
  --bg: #ffffff;
  --bg-alt: #f4f6fb;
  --r: 5px;
  --font: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-brand: "Poppins", var(--font);
  --font-mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
}

[dir="rtl"] {
  --font: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif;
  --font-brand: "IBM Plex Sans Arabic", "Poppins", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; line-height: 1.2; }
p { margin: 0; }
.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border-radius: var(--r); font-weight: 600; border: 1px solid transparent; cursor: pointer; transition: background .18s, border-color .18s, transform .18s; white-space: nowrap; }
.btn:focus-visible, .tab:focus-visible, .lang:focus-visible { outline: 3px solid color-mix(in srgb, var(--blue) 45%, transparent); outline-offset: 2px; }
.btn-sm { padding: 8px 14px; font-size: 14px; }
.btn-lg { padding: 14px 22px; font-size: 16px; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: #0f5ef0; }
.btn-ghost { border-color: rgba(255, 255, 255, .28); color: #fff; }
.btn-ghost:hover { border-color: #fff; }
.btn[aria-disabled="true"] { background: #e8ebf2; color: #7a849c; cursor: default; pointer-events: none; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 10; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: "Poppins", var(--font); font-size: 19px; }
.brand-text b { font-weight: 800; }
.brand-text .bu { color: var(--navy); }
.brand-text .solve { color: var(--blue); }
.brand-text span { font-weight: 600; color: var(--navy); }
.links { display: flex; gap: 22px; margin-inline-start: 12px; font-size: 15px; color: var(--muted); }
.links a:hover { color: var(--ink); }
.nav-actions { margin-inline-start: auto; display: flex; gap: 10px; align-items: center; }
.lang { background: none; border: 1px solid var(--line); border-radius: var(--r); padding: 7px 12px; font: inherit; font-size: 14px; cursor: pointer; color: var(--ink); }
.lang:hover { border-color: #c7cede; }

/* Hero */
.hero { background: radial-gradient(1200px 500px at 15% -10%, #1f6fff55, transparent 60%), linear-gradient(160deg, var(--navy) 0%, #0a1233 60%, #08102a 100%); color: #fff; padding: 72px 0 84px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.eyebrow { color: var(--green); font-weight: 600; font-size: 14px; letter-spacing: .02em; margin-bottom: 14px; }
.hero h1 { font-family: var(--font-brand); font-size: clamp(34px, 4.6vw, 54px); font-weight: 800; letter-spacing: -.02em; }
[dir="rtl"] .hero h1 { letter-spacing: 0; line-height: 1.35; }
.lead { margin-top: 18px; font-size: 18px; color: #c5cee6; max-width: 34em; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.fine { margin-top: 16px; font-size: 14px; color: #93a0c2; }
.section .fine, .alt .fine { color: var(--muted); }
.center { text-align: center; }
.os-icon:empty { display: none; }
.os-icon { font-size: 18px; line-height: 1; }

/* Product window illustration */
.window { background: #0d1636; border: 1px solid #253366; border-radius: var(--r); box-shadow: 0 40px 80px -30px #000c, 0 0 0 1px #ffffff08 inset; font-size: 13px; }
.win-bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; border-bottom: 1px solid #1d2a57; color: #8995b8; }
.win-bar i { width: 10px; height: 10px; border-radius: 50%; background: #2a3769; }
.win-bar span { margin-inline-start: 8px; font-weight: 600; }
.win-body { display: grid; grid-template-columns: 130px 1fr; min-height: 290px; }
.win-side { border-inline-end: 1px solid #1d2a57; padding: 12px; display: flex; flex-direction: column; gap: 4px; color: #8995b8; }
.win-side b { color: #dfe5f5; font-weight: 600; margin-top: 6px; }
.win-side span { padding: 3px 8px; border-radius: 3px; }
.win-side .on { background: #1f6fff2e; color: #fff; }
.win-main { padding: 16px; display: flex; flex-direction: column; gap: 14px; }
.win-head { display: flex; justify-content: space-between; align-items: center; }
.win-head small { display: block; color: #8995b8; }
.win-head strong { color: #fff; font-size: 15px; }
.pill { font-size: 12px; padding: 3px 9px; border-radius: 3px; font-weight: 600; }
.pill.ok { background: #22d3a61f; color: var(--green); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.steps li { display: grid; grid-template-columns: 22px 70px 1fr; align-items: center; color: #c5cee6; }
.steps li::before { content: ""; width: 12px; height: 12px; border-radius: 50%; border: 2px solid #3a4880; }
.steps li.done::before { background: var(--green); border-color: var(--green); }
.steps li.run::before { border-color: var(--blue-2); border-top-color: transparent; animation: spin 1s linear infinite; }
.steps em { font-style: normal; color: #8995b8; font-family: var(--font-mono); font-size: 12px; direction: ltr; text-align: start; }
.log { margin: 0; background: #070d24; border: 1px solid #1d2a57; border-radius: 3px; padding: 10px 12px; color: #9fe9d4; font-family: var(--font-mono); font-size: 12px; line-height: 1.7; white-space: pre-wrap; direction: ltr; text-align: left; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .steps li.run::before { animation: none; } html { scroll-behavior: auto; } }

/* Frameworks band */
.band { border-bottom: 1px solid var(--line); padding: 34px 0; }
.band-title { text-align: center; color: var(--muted); font-weight: 600; font-size: 15px; margin-bottom: 18px; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.chips li { border: 1px solid var(--line); border-radius: var(--r); padding: 6px 12px; font-size: 14px; color: #2b3554; background: #fff; }

/* Sections */
.section { padding: 84px 0; }
.section.alt { background: var(--bg-alt); }
.section h2 { font-family: var(--font-brand); font-size: clamp(26px, 3.2vw, 36px); font-weight: 700; text-align: center; letter-spacing: -.01em; }
.section-lead { text-align: center; color: var(--muted); max-width: 40em; margin: 12px auto 0; font-size: 17px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; }
.card { border: 1px solid var(--line); border-radius: var(--r); padding: 24px; background: #fff; transition: border-color .18s, box-shadow .18s; }
.card:hover { border-color: #c9d4f2; box-shadow: 0 12px 30px -18px #1f6fff55; }
.card .ic { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: var(--r); background: #1f6fff14; color: var(--blue); font-size: 19px; }
.card h3 { margin-top: 14px; font-size: 17px; }
.card p { margin-top: 8px; color: var(--muted); font-size: 15px; }

.how { list-style: none; margin: 44px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; }
.how li { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 24px; }
.how b { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: var(--r); background: var(--navy); color: #fff; font-family: "Poppins", var(--font); }
.how h3 { margin-top: 14px; font-size: 17px; }
.how p { margin-top: 8px; color: var(--muted); font-size: 15px; }

/* Pricing */
.tabs { display: flex; justify-content: center; gap: 4px; margin: 30px auto 0; padding: 4px; border: 1px solid var(--line); border-radius: var(--r); width: max-content; }
.tab { border: 0; background: none; padding: 8px 18px; border-radius: 3px; font: inherit; font-weight: 600; color: var(--muted); cursor: pointer; }
.tab.active { background: var(--navy); color: #fff; }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; margin-top: 30px; }
.plan { border: 1px solid var(--line); border-radius: var(--r); padding: 26px; display: flex; flex-direction: column; gap: 14px; background: #fff; }
.plan h3 { font-size: 19px; }
.plan .desc { color: var(--muted); font-size: 14px; min-height: 2.6em; }
.price { font-family: "Poppins", var(--font); font-size: 34px; font-weight: 700; direction: ltr; text-align: start; }
.price small { font-size: 14px; color: var(--muted); font-weight: 500; font-family: var(--font); }
.plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; font-size: 14px; }
.plan li::before { content: "✓"; color: #12a47e; font-weight: 700; margin-inline-end: 8px; }
.plan .btn { margin-top: auto; }
.empty { grid-column: 1 / -1; text-align: center; border: 1px dashed #cdd4e3; border-radius: var(--r); padding: 34px; color: var(--muted); background: #fff; }

/* Downloads */
.downloads { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; }
.dl { border: 1px solid var(--line); border-radius: var(--r); padding: 24px; background: #fff; display: flex; flex-direction: column; gap: 10px; }
.dl.mine { border-color: var(--blue); box-shadow: 0 0 0 3px #1f6fff1f; }
.dl h3 { font-size: 19px; }
.dl > p { color: var(--muted); font-size: 14px; }
.dl-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.dl .note { font-size: 13px; color: #7a849c; }

/* Footer */
.footer { background: var(--navy); color: #c5cee6; padding: 40px 0; }
.foot { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.foot p { margin-top: 10px; font-size: 14px; }
.foot-links { display: flex; gap: 20px; flex-wrap: wrap; font-size: 14px; }
.foot-links a:hover { color: #fff; }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .grid, .downloads { grid-template-columns: repeat(2, 1fr); }
  .how { grid-template-columns: repeat(2, 1fr); }
  .links { display: none; }
}
@media (max-width: 620px) {
  .wrap { width: calc(100% - 32px); }
  .grid, .downloads, .how { grid-template-columns: 1fr; }
  .hero { padding: 48px 0 56px; }
  .win-body { grid-template-columns: 1fr; }
  .win-side { display: none; }
  .brand-text span { display: none; }
  .btn-lg { width: 100%; }
}
