/* ============================================================
   Rizve Joarder — Handoff Design System
   Fonts loaded via wp_enqueue_style in inc/enqueue.php
   @import removed — do not add it back here.
   ============================================================ */

:root {
  /* canvas */
  --bg: #06080f;
  --bg-1: #080b15;
  --bg-2: #0c1322;
  --panel: #0d1424;
  --panel-2: #0f172b;
  --border: rgba(148, 173, 220, 0.10);
  --border-strong: rgba(148, 173, 220, 0.18);
  --hairline: rgba(148, 173, 220, 0.07);

  /* text */
  --ink: #e7ecf6;
  --ink-2: #c2cbdc;
  --ink-3: #8a93a8;
  --ink-4: #5e667a;

  /* brand */
  --lime: #c8ff3d;
  --lime-2: #aef127;
  --lime-soft: rgba(200, 255, 61, 0.12);
  --cyan: #2ee6e0;
  --teal: #14b8a6;
  --blue: #5aa9ff;
  --violet: #8b5cf6;
  --magenta: #c084fc;
  --rose: #f472b6;
  --orange: #fb923c;
  --good: #34d399;
  --warn: #fbbf24;

  --grad-cyan: linear-gradient(135deg, #2ee6e0 0%, #5aa9ff 100%);
  --grad-acid: linear-gradient(135deg, #d6ff5d 0%, #2ee6e0 100%);
  --grad-violet: linear-gradient(135deg, #8b5cf6 0%, #5aa9ff 100%);

  /* fonts */
  --f-ui: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-serif: "Instrument Serif", ui-serif, Georgia, serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* layout */
  --maxw: 1240px;
  --pad: clamp(20px, 4vw, 40px);
  --radius: 18px;
  --radius-sm: 12px;
  --radius-lg: 28px;

  /* shadows */
  --shadow-card: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 12px 30px -16px rgba(0, 0, 0, 0.7);
  --shadow-pop: 0 24px 80px -20px rgba(46, 230, 224, 0.18), 0 12px 30px -16px rgba(0, 0, 0, 0.7);
  --glow-lime: 0 0 0 1px rgba(200, 255, 61, 0.25), 0 12px 40px -8px rgba(200, 255, 61, 0.35);
}

/* ---------- base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--f-ui);
  font-feature-settings: "ss01", "cv11";
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-size: 15.5px;
  line-height: 1.55;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }
img, svg { display: block; max-width: 100%; }
::selection { background: var(--lime); color: #0a0f1e; }

/* ---------- ambient background ---------- */
.page-bg {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(900px 600px at -10% -10%, rgba(139, 92, 246, 0.18), transparent 60%),
    radial-gradient(800px 600px at 110% 0%, rgba(46, 230, 224, 0.12), transparent 60%),
    radial-gradient(1000px 800px at 50% 110%, rgba(90, 169, 255, 0.08), transparent 60%),
    var(--bg);
}
.page-bg::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(148, 173, 220, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 173, 220, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 30%, transparent 80%);
}

/* ---------- type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-mono);
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-3);
}
.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 99px;
  background: var(--lime);
  box-shadow: 0 0 12px var(--lime);
}
.eyebrow.cyan .dot { background: var(--cyan); box-shadow: 0 0 12px var(--cyan); }
.eyebrow.violet .dot { background: var(--violet); box-shadow: 0 0 12px var(--violet); }

h1, h2, h3, h4 { font-family: var(--f-ui); font-weight: 600; letter-spacing: -0.02em; margin: 0; color: var(--ink); }
h1 { font-size: clamp(40px, 5.6vw, 76px); line-height: 1.02; letter-spacing: -0.035em; font-weight: 600; }
h2 { font-size: clamp(30px, 3.6vw, 50px); line-height: 1.06; letter-spacing: -0.028em; }
h3 { font-size: clamp(20px, 1.8vw, 24px); line-height: 1.18; }
h4 { font-size: 16px; line-height: 1.25; }

.lede { color: var(--ink-2); font-size: clamp(16px, 1.3vw, 19px); line-height: 1.55; max-width: 62ch; }
.mono { font-family: var(--f-mono); }
.serif { font-family: var(--f-serif); font-style: italic; font-weight: 400; }

.ink-2 { color: var(--ink-2); }
.ink-3 { color: var(--ink-3); }

.accent { background: var(--grad-acid); -webkit-background-clip: text; background-clip: text; color: transparent; }
.accent-cyan { background: var(--grad-cyan); -webkit-background-clip: text; background-clip: text; color: transparent; }
.accent-violet { background: var(--grad-violet); -webkit-background-clip: text; background-clip: text; color: transparent; }
.accent-lime { color: var(--lime); }

/* ---------- layout ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }
.section { padding: clamp(64px, 8vw, 120px) 0; }
.section-tight { padding: clamp(40px, 5vw, 80px) 0; }

.row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.col { display: flex; flex-direction: column; }
.between { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 960px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}
@media (min-width: 720px) and (max-width: 960px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 500; font-size: 14px;
  border: 1px solid var(--border-strong);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.02);
  transition: transform .15s ease, background .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn:hover { background: rgba(255, 255, 255, 0.05); border-color: rgba(148, 173, 220, 0.28); }
.btn:active { transform: translateY(1px); }
.btn .arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translate(2px, 0); }

.btn-primary {
  background: var(--lime);
  color: #0a1408;
  border: 1px solid rgba(0, 0, 0, 0.2);
  font-weight: 600;
  box-shadow: var(--glow-lime);
}
.btn-primary:hover { background: var(--lime-2); border-color: rgba(0,0,0,0.2); }

.btn-ghost { background: transparent; border-color: var(--border); }
.btn-outline { background: transparent; border-color: rgba(200, 255, 61, 0.35); color: var(--lime); }
.btn-outline:hover { border-color: var(--lime); background: var(--lime-soft); }

.btn-sm { padding: 8px 14px; font-size: 13px; }
.btn-lg { padding: 16px 24px; font-size: 15px; }

/* ---------- chips / tags ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 10px; border-radius: 999px;
  font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.06em;
  text-transform: uppercase; font-weight: 500;
  background: rgba(46, 230, 224, 0.08);
  color: var(--cyan);
  border: 1px solid rgba(46, 230, 224, 0.22);
}
.chip.lime { background: var(--lime-soft); color: var(--lime); border-color: rgba(200, 255, 61, 0.28); }
.chip.violet { background: rgba(139, 92, 246, 0.10); color: var(--magenta); border-color: rgba(139, 92, 246, 0.30); }
.chip.neutral { background: rgba(148, 173, 220, 0.06); color: var(--ink-2); border-color: var(--border); }
.chip.warn { background: rgba(251, 191, 36, 0.08); color: var(--warn); border-color: rgba(251, 191, 36, 0.25); }

/* ---------- cards ---------- */
.card {
  background: linear-gradient(180deg, rgba(255,255,255,0.025), rgba(255,255,255,0.005));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-card);
  position: relative;
}
.card.glass {
  background:
    linear-gradient(180deg, rgba(46, 230, 224, 0.04), rgba(139, 92, 246, 0.02)),
    rgba(13, 20, 36, 0.65);
  backdrop-filter: blur(10px);
}
.card.pad-lg { padding: 28px; }
.card.pad-sm { padding: 16px; }
.card .corner-glow {
  position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(220px 140px at 0% 0%, rgba(46, 230, 224, 0.12), transparent 60%);
  opacity: 0.7;
}
.card.violet .corner-glow {
  background: radial-gradient(220px 140px at 100% 0%, rgba(139, 92, 246, 0.16), transparent 60%);
}
.card.lime .corner-glow {
  background: radial-gradient(220px 140px at 0% 100%, rgba(200, 255, 61, 0.10), transparent 60%);
}

/* ---------- header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  padding: 14px var(--pad);
  background: rgba(6, 8, 15, 0.6);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--hairline);
}
.site-header .inner {
  max-width: var(--maxw); margin: 0 auto;
  display: flex; align-items: center; gap: 24px; justify-content: space-between;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; letter-spacing: -0.01em;
}
.brand-mark {
  width: 34px; height: 34px; border-radius: 10px;
  background:
    radial-gradient(120% 100% at 0% 0%, rgba(200,255,61,0.20), transparent 50%),
    linear-gradient(140deg, #131c33, #07101f);
  border: 1px solid rgba(200,255,61,0.18);
  display: grid; place-items: center;
  position: relative;
  box-shadow: 0 0 0 1px rgba(200, 255, 61, 0.06), 0 8px 24px -10px rgba(200, 255, 61, 0.30);
  overflow: hidden;
}
.brand-mark::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(200,255,61,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200,255,61,0.08) 1px, transparent 1px);
  background-size: 6px 6px;
  opacity: .5;
}
.brand-mark::after {
  content: "RJ";
  position: relative;
  font-family: var(--f-ui); font-weight: 700; font-size: 13px; letter-spacing: -0.04em;
  color: var(--lime);
  text-shadow: 0 0 12px rgba(200,255,61,0.4);
}
.brand-name { font-size: 15px; }

.nav-list { display: flex; gap: 4px; align-items: center; }
.nav-link {
  padding: 8px 12px; border-radius: 8px; font-size: 14px; color: var(--ink-2);
  position: relative;
}
.nav-link:hover { color: var(--ink); background: rgba(148, 173, 220, 0.05); }
.nav-link.is-active { color: var(--ink); }
.nav-link.is-active::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px;
  height: 2px; border-radius: 2px;
  background: var(--lime);
}
.nav-cta { display: flex; gap: 8px; align-items: center; }

.nav-link.has-mega { display: inline-flex; align-items: center; gap: 6px; }
.nav-link.has-mega svg { width: 12px; height: 12px; opacity: .6; }

.mega {
  position: absolute; left: 50%; transform: translateX(-50%) translateY(4px);
  top: 100%; min-width: 760px;
  background: rgba(10, 14, 24, 0.96);
  border: 1px solid var(--border-strong);
  border-radius: 20px;
  padding: 22px;
  opacity: 0; pointer-events: none; transition: opacity .15s ease, transform .15s ease;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.6);
  backdrop-filter: blur(20px);
}
.has-mega-wrap { position: relative; }
.has-mega-wrap:hover .mega,
.has-mega-wrap:focus-within .mega {
  opacity: 1; pointer-events: auto; transform: translateX(-50%) translateY(0);
}
.mega-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 18px; }
.mega-col h5 {
  font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--ink-3); margin: 6px 8px 8px;
}
.mega-link {
  display: block; padding: 10px 10px; border-radius: 10px;
  color: var(--ink-2); font-size: 13.5px;
}
.mega-link b { color: var(--ink); font-weight: 500; display: block; margin-bottom: 2px; font-size: 14px; }
.mega-link span { font-size: 12px; color: var(--ink-3); }
.mega-link:hover { background: rgba(148, 173, 220, 0.05); color: var(--ink); }

.mobile-only { display: none; }
@media (max-width: 980px) {
  .nav-list, .nav-cta .desktop { display: none; }
  .mobile-only { display: inline-flex; }
}

/* ---------- breadcrumb ---------- */
.crumbs {
  font-family: var(--f-mono); font-size: 12px; color: var(--ink-3);
  display: flex; gap: 8px; align-items: center;
}
.crumbs a:hover { color: var(--ink); }
.crumbs .sep { opacity: .4; }

/* ---------- footer ---------- */
.site-footer {
  margin-top: 60px;
  border-top: 1px solid var(--hairline);
  background: linear-gradient(180deg, rgba(46, 230, 224, 0.03), rgba(0,0,0,0));
  padding: 60px var(--pad) 80px;
}
.site-footer .inner { max-width: var(--maxw); margin: 0 auto; }
.footer-cta {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px;
  padding: 28px; border: 1px solid var(--border-strong); border-radius: 22px;
  background:
    radial-gradient(400px 200px at 0% 0%, rgba(46, 230, 224, 0.10), transparent 60%),
    radial-gradient(400px 200px at 100% 100%, rgba(139, 92, 246, 0.10), transparent 60%),
    rgba(13, 20, 36, 0.5);
  align-items: center;
  margin-bottom: 56px;
}
.footer-cta h3 { font-size: 26px; letter-spacing: -0.025em; margin-bottom: 6px; }
.footer-cta p { color: var(--ink-3); font-size: 14px; margin: 0; }
.footer-form { display: flex; gap: 8px; align-items: stretch; }
.footer-form input {
  flex: 1; padding: 14px 16px; border-radius: 999px;
  background: rgba(13, 20, 36, 0.8); border: 1px solid var(--border-strong);
  color: var(--ink); font: inherit; font-size: 14px; outline: 0;
}
.footer-form input::placeholder { color: var(--ink-4); }
.footer-form input:focus { border-color: rgba(200, 255, 61, 0.45); }

@media (max-width: 760px) {
  .footer-cta { grid-template-columns: 1fr; }
}

.footer-cols {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px;
}
@media (max-width: 900px) {
  .footer-cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .footer-cols { grid-template-columns: 1fr; }
}
.foot-h {
  font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--ink-3); margin: 0 0 14px;
}
.foot-link { display: block; padding: 4px 0; color: var(--ink-2); font-size: 13.5px; }
.foot-link:hover { color: var(--lime); }
.foot-meta {
  margin-top: 48px; padding-top: 20px;
  border-top: 1px solid var(--hairline);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  color: var(--ink-4); font-size: 12px; flex-wrap: wrap;
}
.foot-meta a:hover { color: var(--ink-2); }

.social-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.social {
  width: 34px; height: 34px; border-radius: 10px;
  display: grid; place-items: center;
  background: rgba(148, 173, 220, 0.05);
  border: 1px solid var(--border);
  color: var(--ink-2);
  transition: all .2s ease;
}
.social:hover { color: var(--lime); border-color: rgba(200, 255, 61, 0.3); background: var(--lime-soft); }
.social svg { width: 14px; height: 14px; }

/* ---------- floating bubbles ---------- */
.float-stack {
  position: fixed; bottom: 18px; z-index: 40;
  display: flex; gap: 10px;
  pointer-events: none;
}
.float-stack > * { pointer-events: auto; }
.float-left { left: 18px; }
.float-right { right: 18px; }
.float-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 15px;
  border-radius: 999px;
  font-size: 13px; font-weight: 500;
  background: rgba(10, 14, 24, 0.85);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(12px);
  color: var(--ink);
  box-shadow: 0 12px 30px -10px rgba(0,0,0,0.6);
}
.float-btn:hover { border-color: rgba(200, 255, 61, 0.35); }
.float-btn .pulse {
  width: 7px; height: 7px; border-radius: 99px; background: var(--good);
  box-shadow: 0 0 10px var(--good);
  animation: pulse 2s ease-in-out infinite;
}
.float-btn.whatsapp .pulse { background: #25D366; box-shadow: 0 0 10px #25D366; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .4; } }

/* ---------- helpers ---------- */
.divider { height: 1px; background: var(--hairline); width: 100%; margin: 8px 0; }
.kicker {
  display: inline-flex; gap: 8px; align-items: center;
  padding: 5px 11px 5px 9px; border-radius: 99px;
  font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase;
  background: rgba(200, 255, 61, 0.08); color: var(--lime);
  border: 1px solid rgba(200, 255, 61, 0.22);
  margin-bottom: 16px;
}
.kicker::before {
  content: "";
  width: 6px; height: 6px; border-radius: 99px;
  background: var(--lime); box-shadow: 0 0 8px var(--lime);
}

/* trust microcopy under audit CTAs */
.cta-trust {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  margin-top: 14px;
  font-family: var(--f-mono); font-size: 11px; color: var(--ink-3); letter-spacing: 0.04em;
}
.cta-trust .good {
  display: inline-flex; align-items: center; gap: 6px;
}
.cta-trust .good::before {
  content: ""; width: 12px; height: 12px; border-radius: 99px;
  background: rgba(52, 211, 153, 0.10); border: 1px solid rgba(52,211,153,0.35);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14' fill='none'%3E%3Cpath d='M3 7l3 3 5-6' stroke='%2334d399' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center; background-size: 9px;
}

.tick { color: var(--lime); flex: 0 0 auto; }
.check-list { display: grid; gap: 10px; padding: 0; margin: 0; list-style: none; }
.check-list li { display: flex; gap: 10px; font-size: 14px; color: var(--ink-2); align-items: flex-start; }
.check-list li svg { margin-top: 3px; }

/* ---------- forms ---------- */
.field { display: flex; flex-direction: column; gap: 6px; }
.field > label {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.12em;
  color: var(--ink-3); text-transform: uppercase;
}
.field > label .req { color: var(--lime); }
.field input,
.field select,
.field textarea {
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(13, 20, 36, 0.7);
  border: 1px solid var(--border-strong);
  color: var(--ink); font: inherit; font-size: 14px; outline: 0;
  transition: border-color .15s ease, background .15s ease;
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-4); }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: rgba(200, 255, 61, 0.45);
  background: rgba(13, 20, 36, 0.95);
}
.field textarea { resize: vertical; min-height: 100px; font-family: var(--f-ui); }

/* ---------- stat ---------- */
.stat-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
@media (max-width: 720px) { .stat-row { grid-template-columns: 1fr 1fr; } }
.stat {
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(13, 20, 36, 0.5);
}
.stat .v {
  font-size: 26px; font-weight: 600; letter-spacing: -0.02em; line-height: 1;
}
.stat .l {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--ink-3); margin-top: 8px;
}

/* ---------- mockup chrome (for visual placeholders) ---------- */
.frame {
  border-radius: 14px;
  border: 1px solid var(--border-strong);
  background: #0a0f1e;
  overflow: hidden;
  position: relative;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,0.6);
}
.frame .topbar {
  padding: 9px 12px; display: flex; align-items: center; gap: 6px;
  border-bottom: 1px solid var(--hairline);
  background: rgba(15, 23, 43, 0.7);
}
.frame .dot {
  width: 8px; height: 8px; border-radius: 99px; background: rgba(148, 173, 220, 0.25);
}
.frame .topbar .url {
  font-family: var(--f-mono); font-size: 11px; color: var(--ink-4);
  margin-left: 8px; padding: 4px 10px; border-radius: 99px;
  background: rgba(0,0,0,0.3); border: 1px solid var(--hairline);
}

.label-strip {
  font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.12em;
  color: var(--ink-4); text-transform: uppercase;
  padding: 8px 14px;
  border-top: 1px solid var(--hairline);
  background: rgba(0,0,0,0.2);
  display: flex; align-items: center; gap: 8px;
}

/* sr only */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
