/* CipherBot — theme 3 ("black & gold")
   A pure look: dark warm-black surfaces, gold hairlines and a serif display face for headlines. No setting, saved choice or feature changes. */
:root{
  --bg:#0a0907;--s0:#080706;--s1:#100e0a;--s2:#16130d;--s3:#1d1810;
  --bd:#2a2312;--bd2:#3d3218;--line:#221c0f;--panel2:#16130d;--glass:#100e0a;
  --tx:#f4efe3;--mut:#a79e89;--dim:#766c58;
  --g:#d4af37;--c:#f0cf6a;--v:#c8962e;--gold3:#a6781f;
  --grad:linear-gradient(135deg,#f6dc8b 0%,#d4af37 48%,#a6781f 100%);
  --glow:rgba(212,175,55,.35);--hair:rgba(212,175,55,.16);--hair2:rgba(212,175,55,.34);
  --serif:"Playfair Display",Georgia,"Times New Roman",serif;
}
::selection{background:rgba(212,175,55,.35);color:#fff}
::-webkit-scrollbar-thumb{background:#3a2f14}
html body{background:#0a0907;color:var(--tx)}

/* ---- backdrop: black with a warm glow from above and a faint fine grid ---- */
html body .bg{background:radial-gradient(900px 480px at 50% -8%,rgba(212,175,55,.13),transparent 70%),radial-gradient(600px 400px at 100% 100%,rgba(166,120,31,.08),transparent 70%),#0a0907!important}
html body .bg .gridfx{display:block!important;opacity:.5;background-image:linear-gradient(rgba(212,175,55,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(212,175,55,.035) 1px,transparent 1px);background-size:56px 56px;-webkit-mask-image:radial-gradient(ellipse at 50% 0,#000 0,transparent 70%);mask-image:radial-gradient(ellipse at 50% 0,#000 0,transparent 70%)}

/* ---- typography ---- */
h1,h2{font-family:var(--serif)!important;font-weight:700;letter-spacing:-.01em}
.brand{font-family:var(--serif)!important;font-weight:700;letter-spacing:0;font-size:21px}
.brand b{color:var(--c)!important;-webkit-text-fill-color:var(--c)!important}
.lead,.hero h1 em,h1 em,h2 em{font-style:italic}
h1 em,h2 em{color:var(--c);font-family:var(--serif)}
.eyebrow,.lbl,.hero-k{letter-spacing:.16em}

/* ---- top bar ---- */
html body .top{background:rgba(8,7,6,.82)!important;backdrop-filter:blur(14px)!important;border-bottom:1px solid var(--hair)!important}
.top .links a:hover:after{background:var(--grad)!important}

/* ---- buttons ---- */
html body .btn{background:transparent!important;border:1px solid var(--hair2)!important;color:var(--tx)!important;border-radius:8px!important;transition:background .15s,border-color .15s,transform .1s}
html body .btn:hover{background:rgba(212,175,55,.09)!important;border-color:var(--g)!important}
html body .btn.p,html body .btn.primary{background:var(--grad)!important;border-color:transparent!important;color:#17120a!important;font-weight:650;box-shadow:0 8px 24px -10px rgba(212,175,55,.6),inset 0 1px 0 rgba(255,255,255,.35)}
html body .btn.p:hover{filter:brightness(1.07);background:var(--grad)!important}
html body .btn.d{border-color:rgba(255,77,109,.5)!important;color:#ff8da1!important}
html body .btn:disabled{opacity:.45}

/* ---- surfaces ---- */
html body .card,html body .panel{background:linear-gradient(180deg,rgba(255,244,214,.035),rgba(255,244,214,.012))!important;border:1px solid var(--hair)!important;border-radius:14px!important;box-shadow:0 20px 50px -34px #000,inset 0 1px 0 rgba(255,244,214,.04)}
html body .panel>h3:first-child,html body .card>h3:first-child{font-family:var(--head)}
html body .pill{border-color:var(--hair2)!important}
html body .pill.prem{background:rgba(212,175,55,.12)!important;color:var(--c)!important;border-color:var(--hair2)!important}

/* ---- forms ---- */
html body input,html body select,html body textarea{background:#0d0b08!important;border:1px solid var(--bd2)!important;color:var(--tx)!important;border-radius:8px!important}
html body input:focus,html body select:focus,html body textarea:focus{outline:none!important;border-color:var(--g)!important;box-shadow:0 0 0 3px rgba(212,175,55,.18)!important}
html body .sw input:checked+i,html body .sw input:checked~i{background:var(--grad)!important;border-color:transparent!important}

/* ---- tables ---- */
html body table th{color:var(--dim);letter-spacing:.12em}
html body table td,html body table th{border-color:var(--line)!important}
html body tr:hover td{background:rgba(212,175,55,.04)}

/* ---- gold hairline divider used by section headings ---- */
.gold-rule{height:1px;background:linear-gradient(90deg,transparent,var(--hair2),transparent);border:0;margin:22px 0}

/* ---- admin panel: same black & gold, with a gold dashed strip on top so it is never mistaken for the customer panel ---- */
body.adm{--bg:#0a0907;--s0:#070604;--s1:#100e0a;--s2:#16130d;--s3:#1d1810;--g:#d4af37;--grad:linear-gradient(135deg,#f6dc8b 0%,#d4af37 48%,#a6781f 100%);--bd:#2a2312;--bd2:#3d3218}
body.adm .bg{background:radial-gradient(900px 480px at 50% -8%,rgba(212,175,55,.12),transparent 70%),#0a0907!important}
body.adm .brand b{color:var(--c)!important;-webkit-text-fill-color:var(--c)!important}
body.adm .top{background:rgba(8,7,6,.92)!important;border-bottom:1px solid var(--hair)!important}
body.adm .top:before{background:repeating-linear-gradient(90deg,#d4af37 0 14px,transparent 14px 22px)!important}
body.adm .card,body.adm .panel,body.adm .side,body.adm .statgrid>*,body.adm .cs-kpi{border-radius:14px!important}
body.adm .btn{border-radius:8px}
body.adm .btn.p{background:var(--grad)!important;border-color:transparent!important;color:#17120a!important}
body.adm .btn.p:hover{filter:brightness(1.07);background:var(--grad)!important}
body.adm .tab.on{box-shadow:inset 2px 0 0 var(--g)!important}
body.adm .side .sv .sicon{color:#17120a!important;background:var(--grad)!important}
body.adm .phead{border-bottom:1px solid var(--line);padding-bottom:14px}
body.adm .phead h1{font:700 32px var(--serif)!important;letter-spacing:-.01em;text-transform:none}
body.adm .phead h1:before{content:""!important}
body.adm .stat,body.adm .cs-kpi b{font-family:var(--serif)!important}
body.adm .panel>h3,body.adm .card>h3{font:650 16px var(--head)}
body.adm .sw input:checked+i{background:var(--grad)!important;border-color:transparent!important}
body.adm input:focus,body.adm select:focus,body.adm textarea:focus{border-color:var(--g)!important;box-shadow:0 0 0 3px rgba(212,175,55,.18)!important}
.dhero .hero-ic{background:var(--grad)!important;color:#17120a!important;border:0!important}
h1,h2,.stat,.cs-kpi b,.hero-score b,.brand{font-variant-numeric:lining-nums;font-feature-settings:"lnum" 1}

/* ---- pricing: launch deal ---- */
.plan.deal{position:relative;border-color:var(--hair2)!important;background:radial-gradient(500px 220px at 50% -10%,rgba(212,175,55,.18),transparent 70%),linear-gradient(180deg,#17130b,#0d0b08)!important;box-shadow:0 40px 80px -40px rgba(212,175,55,.35),0 0 0 1px rgba(212,175,55,.25)}
.deal-badge{display:inline-block;margin:0 0 10px;padding:6px 14px;border-radius:99px;background:var(--grad);color:#17120a;font:700 13px var(--body);letter-spacing:.01em;box-shadow:0 10px 24px -10px rgba(212,175,55,.7);animation:dealpulse 2.4s ease-in-out infinite}
@keyframes dealpulse{50%{transform:scale(1.04)}}
.plan .price .was{color:var(--dim);font:600 20px var(--body);margin-right:6px;text-decoration-thickness:2px}
.deal-note{margin:4px 0 6px;color:var(--mut);font-size:14px}.deal-note b{color:var(--c)}
.deal-quote{margin:8px 0 12px;padding:10px 14px;border-left:3px solid var(--g);background:rgba(212,175,55,.06);border-radius:0 10px 10px 0;font:italic 500 15px/1.5 var(--serif);color:var(--tx)}
@media(prefers-reduced-motion:reduce){.deal-badge{animation:none}}

.deal-off{margin:0 0 10px;padding:8px 12px;border:1px dashed var(--hair2);border-radius:10px;color:var(--mut);font-size:13px;line-height:1.45}.deal-off b{color:var(--c)}
