/* ============================================================
   AiDA Sales Systems — aidasalessystems.com
   Shared styles for all pages. Design source: Claude Design
   handoff "Aida redesign and product sites" (2026-07-14).
   ============================================================ */

:root {
  --bg: #0a0a12;
  --bg-footer: #08080f;
  --text: #e8e9f2;
  --text-bright: #eceef8;
  --text-body: #d9dbea;
  --text-soft: #c6c9db;
  --muted: #a3a7bf;
  --dim: #8a8ea6;
  --faint: #6b6e85;
  --faintest: #565a72;
  --navlink: #b9bcd0;
  --accent: #3f7dff;
  --accent-hover: #5b90ff;
  --link: #7ba6ff;
  --link-hover: #a8c4ff;
  --link-light: #9dbcff;
  --green: #3fdd9c;
  --red: #e06a6a;
  --star: #f5b83d;
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Instrument Sans', Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
a { color: var(--link); text-decoration: none; }
a:hover { color: var(--link-hover); }
::selection { background: rgba(63, 125, 255, .35); }
img { max-width: 100%; }
button { font-family: inherit; }

@keyframes marqueeX { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes tickerY { from { transform: translateY(0); } to { transform: translateY(-50%); } }
@keyframes pulseDot { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
@keyframes floatGlow { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(40px, -30px); } }
@keyframes flowPulse { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }

/* ---------- layout ---------- */
.wrap { max-width: 1200px; margin: 0 auto; padding-left: 32px; padding-right: 32px; }
.wrap-1100 { max-width: 1100px; margin: 0 auto; padding-left: 32px; padding-right: 32px; }
.wrap-900 { max-width: 900px; margin: 0 auto; padding-left: 32px; padding-right: 32px; }
.wrap-860 { max-width: 860px; margin: 0 auto; padding-left: 32px; padding-right: 32px; }
.wrap-820 { max-width: 820px; margin: 0 auto; padding-left: 32px; padding-right: 32px; }

.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.grid3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 22px; }
.grid4 { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; gap: 20px; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 10, 18, .82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 32px; height: 68px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.nav-logo { display: flex; align-items: center; color: #fff; }
.nav-logo img {
  height: 50px; display: block;
  filter: brightness(1.5) drop-shadow(0 0 10px rgba(123, 166, 255, .45));
}
.nav-links { display: flex; align-items: center; gap: 28px; font-size: 14.5px; }
.nav-links a { color: var(--navlink); }
.nav-links a:hover { color: #fff; }
.nav-links a.active { color: #fff; font-weight: 600; }
.btn-nav {
  background: var(--accent); color: #fff !important; padding: 10px 18px;
  border-radius: 8px; font-weight: 600; font-size: 14px;
  box-shadow: 0 0 24px rgba(63, 125, 255, .35);
}
.btn-nav:hover { background: var(--accent-hover); }
.nav-burger {
  display: none; background: none; border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 8px; color: #fff; font-size: 20px; line-height: 1;
  padding: 8px 12px; cursor: pointer;
}

/* ---------- shared pieces ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--link); border: 1px solid rgba(63, 125, 255, .35);
  border-radius: 999px; padding: 7px 14px; margin-bottom: 28px; font-weight: 600;
}
.pulse-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); animation: pulseDot 2s infinite; flex: none; }
.eyebrow {
  font-size: 11px; letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--link); margin-bottom: 14px; font-weight: 600;
}
.hero { position: relative; overflow: hidden; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.hero-glow {
  position: absolute; top: -180px; left: 50%; margin-left: -400px;
  width: 800px; height: 520px;
  background: radial-gradient(closest-side, rgba(63, 125, 255, .2), transparent);
  pointer-events: none; animation: floatGlow 14s ease-in-out infinite;
}
.cta-glow {
  position: absolute; bottom: -220px; left: 50%; margin-left: -360px;
  width: 720px; height: 440px;
  background: radial-gradient(closest-side, rgba(63, 125, 255, .25), transparent);
  pointer-events: none;
}
h1 { color: #fff; font-weight: 700; }
h2 { color: #fff; font-weight: 700; }

.btn-primary {
  display: inline-block; background: var(--accent); color: #fff !important;
  padding: 15px 26px; border-radius: 10px; font-weight: 600; font-size: 16px;
  box-shadow: 0 0 32px rgba(63, 125, 255, .4);
}
.btn-primary:hover { background: var(--accent-hover); }
.btn-primary.btn-lg { padding: 17px 34px; border-radius: 12px; font-size: 17px; box-shadow: 0 0 40px rgba(63, 125, 255, .45); }
.btn-ghost {
  display: inline-block; padding: 15px 22px; border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 10px; color: var(--text-body) !important; font-weight: 500; font-size: 16px;
}
.btn-ghost:hover { border-color: rgba(255, 255, 255, .35); color: #fff !important; }

.card {
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 16px;
}
.card-hover-accent:hover { border-color: rgba(63, 125, 255, .5); }
.icon-tile {
  border-radius: 10px; background: rgba(63, 125, 255, .14);
  border: 1px solid rgba(63, 125, 255, .3);
  display: flex; align-items: center; justify-content: center;
}
.band {
  border-top: 1px solid rgba(255, 255, 255, .06);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  background: rgba(255, 255, 255, .015);
}
.tag-pill {
  font-size: 11.5px; font-weight: 600; color: var(--link-light);
  background: rgba(63, 125, 255, .1); border: 1px solid rgba(63, 125, 255, .25);
  border-radius: 999px; padding: 5px 12px;
}

/* ---------- marquee (white-tile treatment, ported from the signals/agency pages) ---------- */
.marquee-section { padding: 38px 0 42px; border-bottom: 1px solid rgba(255, 255, 255, .06); overflow: hidden; }
.marquee-label {
  text-align: center; font-size: 11px; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--faint); margin-bottom: 26px; padding: 0 20px;
}
.marquee-track { display: flex; width: max-content; align-items: center; animation: marqueeX 52s linear infinite; will-change: transform; }
.marquee-section:hover .marquee-track { animation-play-state: paused; }
.logo-tile {
  flex: none; display: flex; align-items: center; justify-content: center;
  height: 84px; width: 180px; margin-right: 20px;
  background: #fff; border: 1px solid rgba(120, 130, 160, .16); border-radius: 14px;
  box-shadow: 0 8px 20px -14px rgba(20, 24, 60, .4);
}
.logo-tile img { max-height: 50px; max-width: 138px; width: auto; height: auto; object-fit: contain; display: block; }
.logo-tile.big img { max-height: 60px; max-width: 150px; }
.logo-tile.round img { max-height: 60px; max-width: 60px; }
.logo-tile.dark { background: #111118; border-color: rgba(255, 255, 255, .14); }
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
}

/* ---------- article (blog post) ---------- */
.prose { font-size: 17px; line-height: 1.75; color: var(--text-soft); }
.prose p { margin: 0 0 22px; }
.prose h2 { font-size: 28px; letter-spacing: -.6px; line-height: 1.25; margin: 44px 0 16px; }
.prose h3 { font-size: 20px; color: #fff; font-weight: 600; margin: 32px 0 12px; }
.prose ul, .prose ol { margin: 0 0 22px; padding-left: 24px; }
.prose li { margin-bottom: 10px; }
.prose strong { color: var(--text-bright); }
.prose blockquote {
  margin: 30px 0; padding: 20px 26px;
  border-left: 3px solid var(--accent);
  background: rgba(63, 125, 255, .06); border-radius: 0 12px 12px 0;
  color: var(--text-bright); font-size: 18px; font-weight: 500;
}
.prose blockquote p { margin: 0; }
.prose .callout {
  display: grid; gap: 12px;
  background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 14px; padding: 22px 24px; margin: 30px 0;
  font-size: 15px; line-height: 1.6;
}
.prose .callout-title {
  font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--link); font-weight: 600;
}
.post-meta { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; font-size: 13.5px; color: var(--dim); }
.post-cover-hero {
  border-radius: 16px; border: 1px solid rgba(255, 255, 255, .09);
  overflow: hidden; box-shadow: 0 24px 60px rgba(0, 0, 0, .5);
}
.post-cover-hero img { display: block; width: 100%; height: auto; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid rgba(255, 255, 255, .07); background: var(--bg-footer); }
.footer-simple {
  max-width: 1200px; margin: 0 auto; padding: 40px 32px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.footer-simple img { height: 38px; display: block; filter: brightness(1.5) drop-shadow(0 0 10px rgba(123, 166, 255, .45)); }
.footer-links { display: flex; gap: 24px; font-size: 13.5px; flex-wrap: wrap; }
.footer-links a { color: var(--muted); }
.footer-links a:hover { color: #fff; }
.footer-copy { font-size: 11px; color: var(--faintest); }

.footer-big {
  max-width: 1200px; margin: 0 auto; padding: 56px 32px 40px;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px;
}
.footer-col { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.footer-col-label {
  font-size: 10.5px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--faintest); margin-bottom: 4px;
}
.footer-col a { color: var(--muted); }
.footer-col a:hover { color: #fff; }
.footer-legal {
  border-top: 1px solid rgba(255, 255, 255, .05); padding: 18px 32px;
  text-align: center; font-size: 11px; color: var(--faintest);
}

/* ---------- range sliders (agency calculator) ---------- */
input[type=range] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 5px;
  border-radius: 3px; background: rgba(255, 255, 255, .14); outline: none;
}
input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; width: 20px; height: 20px;
  border-radius: 50%; background: var(--accent); cursor: pointer;
  box-shadow: 0 0 14px rgba(63, 125, 255, .6);
}
input[type=range]::-moz-range-thumb {
  width: 20px; height: 20px; border-radius: 50%; background: var(--accent);
  cursor: pointer; border: none;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1020px) {
  .nav-links {
    display: none;
    position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(10, 10, 18, .97); backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, .07);
    padding: 8px 24px 20px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 8px; border-bottom: 1px solid rgba(255, 255, 255, .05); }
  .nav-links a.btn-nav { margin-top: 14px; text-align: center; border-bottom: none; }
  .nav-burger { display: block; }
}
@media (max-width: 960px) {
  .grid3, .grid4 { grid-template-columns: 1fr 1fr; }
  h1 { font-size: 40px !important; letter-spacing: -1px !important; }
  h2 { font-size: 32px !important; }
}
@media (max-width: 720px) {
  .grid2, .grid3, .grid4 { grid-template-columns: 1fr; }
  .footer-big { grid-template-columns: 1fr 1fr; }
  h1 { font-size: 34px !important; }
  h2 { font-size: 28px !important; }
  h1 br, h2 br { display: none; }
}
@media (max-width: 480px) {
  .footer-big { grid-template-columns: 1fr; }
}
