/* =====================================================================
   Theme: KD Advertising (kineticsagency.com). Dark ink pages, electric
   blue #0307FE, Quiche Display headings and a handwritten accent line.
   Loaded after style.css / design.css / fx.css when THEME=kinetics.
   ===================================================================== */
@font-face {
  font-family: "Quiche Display";
  src: url("/themes/kinetics/fonts/quichedisplay-regular-webfont.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Quiche Display";
  src: url("/themes/kinetics/fonts/quichedisplay-bold-webfont.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Quiche Display";
  src: url("/themes/kinetics/fonts/quichedisplay-lightitalic-webfont.woff2") format("woff2");
  font-weight: 300; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "The Signature";
  src: url("/themes/kinetics/fonts/thesignature-webfont.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}

:root {
  --bg: #0b0b10;
  --surface: #14141c;
  --surface-2: #1c1c28;
  --border: #2a2a3a;
  --text: #ffffff;
  --muted: #a9a9b8;
  --accent: #0307fe;           /* buttons, highlights */
  --accent-ink: #ffffff;       /* text on the blue */
  --accent-text: #7c7fff;      /* blue text on the dark page (the pure blue is too dark to read there) */
  --heat: 3, 7, 254;           /* blue glow */
  --shine: #b9bbff;
  --blue: #7c7fff;             /* second color: a lighter blue for gradients */
  --blue-rgb: 124, 127, 255;
  --info: #7c7fff;
  --glass: rgba(20, 20, 28, 0.72);
  --glass-strong: rgba(20, 20, 28, 0.92);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glow: 0 20px 50px -20px rgba(3, 7, 254, 0.55);
  --radius: 14px;
  --radius-sm: 10px;
  --font-head: 'Quiche Display', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-num: 'Quiche Display', Georgia, serif;
  --font-script: 'The Signature', 'Brush Script MT', cursive;
}
:root[dir='rtl'] {
  --font-body: 'Cairo', system-ui, sans-serif;
  --font-head: 'Cairo', system-ui, sans-serif;
  --font-num: 'Quiche Display', 'Cairo', serif;
}

body {
  background:
    radial-gradient(900px 520px at 85% -10%, rgba(3, 7, 254, 0.18), transparent 65%),
    radial-gradient(700px 480px at -5% 30%, rgba(3, 7, 254, 0.08), transparent 65%),
    var(--bg);
  background-attachment: fixed;
}

/* ---------- Type: elegant serif headings, no shouting capitals ---------- */
h1, h2, h3, h4 { font-weight: 700; letter-spacing: -0.01em; }
h1, h2 { text-transform: none; }
h1 { line-height: 1.08; }

/* ---------- Logo image ---------- */
.brand-logo { display: block; height: 54px; width: auto; }
.admin-side .brand-logo { height: 38px; }
.mc-brand .brand-logo { height: 34px; }
.intro-mark .brand-logo { height: 110px; filter: drop-shadow(0 0 30px rgba(3, 7, 254, 0.8)); }
.site-header .brand { gap: 0; }
.admin-mobile-bar .brand-logo { height: 32px; }
[data-theme='light'] .brand-logo { filter: invert(1); }

/* ---------- Buttons: the agency's blue pills ---------- */
.btn { border-radius: 999px; font-weight: 700; }
.btn-primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-primary:hover { background: #0205c4; border-color: #0205c4; box-shadow: 0 0 0 1px #0205c4, 0 20px 50px -18px rgba(3, 7, 254, 0.8); }
.btn:not(.btn-primary):hover { border-color: #3a3a52; }

/* ---------- Hero: the second half of the tagline in the handwritten font ---------- */
.hero::before {
  background:
    radial-gradient(40% 45% at 72% 30%, rgba(3, 7, 254, 0.32), transparent 70%),
    radial-gradient(30% 35% at 20% 80%, rgba(124, 127, 255, 0.14), transparent 70%);
}
.hero::after { opacity: 0.6; }
.fx-words .shimmer > span {
  font-family: var(--font-script);
  font-weight: 400;
  text-transform: none;
  font-size: 1.3em;
  line-height: 1.2;
  background: linear-gradient(100deg, #7c7fff 0%, #7c7fff 40%, #ffffff 50%, #7c7fff 60%, #7c7fff 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text;
}
[dir='rtl'] .fx-words .shimmer > span { font-family: var(--font-head); font-weight: 700; font-size: 1em; }

/* ---------- Cards and plans ---------- */
.plan.highlight, .setup-card, .member-card {
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    linear-gradient(135deg, #0307fe, #7c7fff 55%, rgba(255, 255, 255, 0.25)) border-box;
  box-shadow: 0 24px 60px -28px rgba(3, 7, 254, 0.75);
}
.plan .ribbon { background: var(--accent); color: #fff; }
.save-badge { background: rgba(124, 127, 255, 0.16); color: #b9bbff; }
.price small { font-family: var(--font-body); }

/* ---------- Numbers and strips ---------- */
.stat-num { color: #fff; text-shadow: 0 0 34px rgba(3, 7, 254, 0.7); }
.marquee span:nth-of-type(3n + 1) { color: var(--accent-text); }
.marquee i { color: var(--accent-text); }

/* ---------- Staff light theme: the blue reads well on white ---------- */
[data-theme='light'] {
  --accent: #0307fe;
  --accent-ink: #ffffff;
  --accent-text: #0307fe;
  --accent-soft: rgba(3, 7, 254, 0.08);
  --heat: 3, 7, 254;
  --glow: 0 8px 22px -10px rgba(3, 7, 254, 0.45);
}

/* Phones and tablets: no fixed background (smoother scrolling). */
@media (hover: none), (max-width: 900px) {
  body { background-attachment: scroll; }
}
