/* ============================================================
   RSYNCIT — OneColo structural language, RSYNCIT palette
   Tokens: navy #071428/#0a1b33 · lime accent #a8ea00 · blue #0042b5
   12px radii · soft shadows · system font stack · JetBrains Mono
   ============================================================ */

:root {
  --accent: #a8ea00;
  --accent-deep: #8be500;
  --blue: #0042b5;
  --blue-soft: #2f6fe4;
  --deep: #071428;
  --deep-2: #0a1b33;
  --deep-3: #050e1d;
  --body-bg: #f7f9fc;
  --text: #10203a;
  --text-soft: #5c6b82;
  --card-border: #e3eaf3;
  --radius: 12px;
  --shadow: 0 5px 15px 0 rgba(20, 40, 80, .08);
  --shadow-lg: 0 18px 50px rgba(7, 20, 40, .16);
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

/* ---------- Base ---------- */
body {
  font-family: var(--bs-font-sans-serif);
  letter-spacing: 0.3px;
  color: var(--text);
  background-color: var(--body-bg);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 { font-weight: 700; color: var(--text); }
.text-deep { color: var(--text) !important; }
a { color: var(--blue); }
a:hover { color: var(--deep); }

/* ---------- Nav ---------- */
.navbar-nav .nav-link { font-weight: 600; color: var(--text); }
.navbar-nav .nav-link.active,
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus { color: var(--blue); }
.brand-logo { height: 44px; width: auto; display: block; }
.footer-logo { height: 52px; width: auto; }

/* ---------- Buttons ---------- */
.btn { border-radius: var(--radius); font-weight: 700; }
.btn-accent {
  background-color: var(--accent) !important;
  color: var(--deep) !important;
  border: none;
}
.btn-accent:hover, .btn-accent:focus {
  background-color: var(--deep) !important;
  color: #fff !important;
}
.btn-outline-deep { border-color: var(--deep); color: var(--deep); }
.btn-outline-deep:hover, .btn-outline-deep:focus {
  border-color: var(--deep); background-color: var(--deep); color: #fff;
}
.btn-outline-light:hover { color: var(--deep); }

/* ---------- Pills / chips / eyebrows ---------- */
.pill {
  display: inline-block;
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 999px;
  padding: .35rem .9rem;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-soft);
  box-shadow: var(--shadow);
}
.chip {
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .16);
  color: #e6edf5;
  border-radius: 999px;
  padding: .4rem 1rem;
  font-size: .85rem;
  font-weight: 600;
}
.eyebrow {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--blue);
}

/* ---------- Cards ---------- */
.feature-card, .stat-card, .faq-item {
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}
.faq-item { padding: 1.25rem 1.5rem; }
.plan-icon { height: 46px; width: auto; margin-bottom: .75rem; }

/* ---------- Hero (dark navy over rack photo) ---------- */
.section-hero {
  position: relative;
  background:
    linear-gradient(120deg, rgba(5, 14, 29, .95), rgba(10, 27, 51, .88)),
    url('/img/4.jpg') center/cover no-repeat;
  color: #fff;
  overflow: hidden;
}
.section-hero::after {
  content: "";
  position: absolute; inset: 0;
  background: url('/img/oc/patterns/motpath.svg') right -80px top -40px / 620px auto no-repeat;
  opacity: .14;
  pointer-events: none;
}
.section-hero .container { position: relative; z-index: 1; }
.section-hero h1, .section-hero .text-deep { color: #fff !important; }
.section-hero .hero-price { color: var(--accent) !important; }
.section-hero .lead, .section-hero .text-secondary { color: #c8d4e2 !important; }
.section-hero .pill {
  background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .2);
  color: var(--accent);
  box-shadow: none;
}
.section-hero .btn-outline-deep { border-color: #e6edf5; color: #e6edf5; }
.section-hero .btn-outline-deep:hover { background: #fff; color: var(--deep); border-color: #fff; }
.hero-headline { font-size: 3.1rem; line-height: 1.1; }

/* ---------- Terminal (rsync signature) ---------- */
.terminal {
  max-width: 760px;
  margin: 2rem auto 0;
  background: var(--deep-3);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  text-align: left;
  overflow: hidden;
}
.terminal-bar {
  display: flex; align-items: center; gap: .45rem;
  padding: .6rem .9rem;
  background: rgba(255, 255, 255, .05);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.terminal-bar .dot { width: 11px; height: 11px; border-radius: 50%; }
.dot-r { background: #ff5f57; } .dot-y { background: #febc2e; } .dot-g { background: #28c840; }
.terminal-bar .terminal-title {
  margin-left: .5rem;
  font-family: var(--mono);
  font-size: .75rem;
  color: #7d8da0;
}
.terminal-body {
  padding: 1rem 1.1rem 1.2rem;
  font-family: var(--mono);
  font-size: .85rem;
  line-height: 1.65;
  color: #c8d4e2;
  min-height: 196px;
}
.terminal-body .t-ok { color: var(--accent); }
.terminal-body .t-info { color: var(--blue-soft); }
.terminal-body .t-accent { color: var(--accent); }
.terminal-body .t-dim { color: #7d8da0; }
.terminal-body .cursor {
  display: inline-block; width: 8px; height: 1em;
  background: var(--accent);
  vertical-align: text-bottom;
  animation: blink 1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .terminal-body .cursor { animation: none; }
}

/* ---------- Steps band ---------- */
.hero-steps-band { background: #fff; border-block: 1px solid var(--card-border); padding: 3.5rem 0; }
.hero-step-card {
  display: flex; gap: 1rem;
  background: var(--body-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 1.25rem;
}
.step-number {
  flex: 0 0 auto;
  width: 40px; height: 40px;
  display: grid; place-items: center;
  background: var(--accent);
  color: var(--deep);
  font-weight: 800;
  border-radius: 50%;
}

/* ---------- Dark bands ---------- */
.band-dark {
  position: relative;
  background: var(--deep-2);
  color: #e6edf5;
  overflow: hidden;
}
.band-dark::before {
  content: "";
  position: absolute; inset: 0;
  background: url('/img/oc/patterns/redundant.svg') left -120px bottom -120px / 520px auto no-repeat;
  opacity: .10;
  pointer-events: none;
}
.band-dark .container { position: relative; z-index: 1; }
.band-dark h2, .band-dark h3, .band-dark .text-deep { color: #fff !important; }
.band-dark .text-secondary, .band-dark .small { color: #9fb0c4 !important; }
.band-dark .pill { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.2); color: var(--accent); box-shadow: none; }
.band-dark .stat-card {
  background: rgba(255, 255, 255, .04);
  border-color: rgba(255, 255, 255, .12);
  box-shadow: none;
}
.band-dark .stat-card h3 { color: var(--accent) !important; }
.band-dark .btn-outline-deep { border-color: #e6edf5; color: #e6edf5; }
.band-dark .btn-outline-deep:hover { background: #fff; color: var(--deep); border-color: #fff; }

/* ---------- CTA ribbon ---------- */
.cta-ribbon {
  position: relative;
  background: var(--deep);
  color: #fff;
  border-radius: var(--radius);
  padding: 2.25rem;
  overflow: hidden;
}
.cta-ribbon::after {
  content: "";
  position: absolute; right: -60px; top: -60px;
  width: 260px; height: 260px;
  background: url('/img/oc/patterns/backups.svg') center/contain no-repeat;
  opacity: .14;
  pointer-events: none;
}
.cta-ribbon > * { position: relative; z-index: 1; }
.cta-ribbon h1, .cta-ribbon h2, .cta-ribbon h3, .cta-ribbon h4, .cta-ribbon h5, .cta-ribbon h6 { color: #fff; }
.cta-ribbon a.text-white:hover { color: var(--accent) !important; }

/* ---------- Pricing ---------- */
.plan-card {
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.plan-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
@media (prefers-reduced-motion: reduce) { .plan-card, .plan-card:hover { transform: none; transition: none; } }
.plan-top {
  padding: 1.5rem 1.5rem 1.25rem;
  background: var(--body-bg);
  border-bottom: 1px solid var(--card-border);
}
.plan-body { padding: 1.25rem 1.5rem 1.5rem; }
.plan-price { font-size: 2.3rem; font-weight: 800; color: var(--text); line-height: 1; }
.plan-price sup { font-size: 1rem; font-weight: 700; top: -1em; }
.plan-price .period { font-size: .9rem; font-weight: 600; color: var(--text-soft); }
.plan-meta { font-size: .85rem; color: var(--text-soft); }
.price-table { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.price-table thead th { background: var(--deep-2); color: #fff; border: none; padding: .9rem 1rem; }
.price-table tbody th, .price-table tbody td { padding: .8rem 1rem; border-color: var(--card-border); color: var(--text-soft); }
.price-table tbody th { color: var(--text); }
.price-table .mono { font-family: var(--mono); }

/* ---------- Lists ---------- */
.list-check { list-style: none; padding-left: 0; margin: 0; }
.list-check li { position: relative; padding-left: 1.6rem; margin-bottom: .5rem; color: var(--text-soft); }
.list-check li::before { content: "\2713"; position: absolute; left: 0; top: 0; color: var(--accent-deep); font-weight: 800; }

/* ---------- Footer ---------- */
.bg-deep { background-color: var(--deep) !important; }
footer.site-footer { position: relative; overflow: hidden; color: #e6edf5; }
footer.site-footer::before {
  content: "";
  position: absolute; right: -100px; bottom: -100px;
  width: 420px; height: 420px;
  background: url('/img/oc/patterns/monitoring.svg') center/contain no-repeat;
  opacity: .12;
  pointer-events: none;
}
footer .container { position: relative; z-index: 1; }
footer.site-footer h1, footer.site-footer h2, footer.site-footer h3,
footer.site-footer h4, footer.site-footer h5, footer.site-footer h6 { color: #fff; }
.text-deep-soft { color: #9fb0c4; }
.footer-link { color: #c8d4e2; text-decoration: none; }
.footer-link:hover { color: var(--accent); }

/* ---------- Article code blocks ---------- */
.code-block {
  background: var(--deep-3);
  color: #c8d4e2;
  font-family: var(--mono);
  font-size: .83rem;
  line-height: 1.6;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
  overflow-x: auto;
  margin: 0 0 1rem;
}
.code-block .c-ok { color: var(--accent); }
.code-block .c-err { color: #ff5f57; }
.code-block .c-accent { color: var(--blue-soft); }
.code-block .c-dim { color: #7d8da0; }
code.inline-code {
  font-family: var(--mono);
  font-size: .85em;
  background: rgba(7, 20, 40, .07);
  border-radius: 4px;
  padding: .1em .35em;
  color: #0a3d91;
}
.article-meta { font-size: .85rem; color: var(--text-soft); }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Misc ---------- */
.section-heading { max-width: 900px; }
.icon-badge {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  background: var(--accent);
  color: var(--deep);
  font-weight: 800;
  border-radius: 10px;
}

@media (max-width: 768px) {
  .hero-headline { font-size: 2.2rem; }
  .terminal-body { font-size: .76rem; min-height: 176px; }
}
