:root{
  --navy-deep:#0b1120;
  --navy:#111827;
  --navy-surface:#1e293b;
  --navy-card:#1e293b;
  --navy-border:rgba(212,175,55,0.2);
  
  --gold:#d4af37;
  --gold-light:#f5deb3;
  --gold-glow:#ffd700;
  --gold-dark:#9a7b1c;
  --gold-bg:rgba(212,175,55,0.08);
  
  --ivory:#fcfaf6;
  --ivory-warm:#f8f6f0;
  --ink:#0f172a;
  --ink-2:#334155;
  --ink-3:#475569;
  
  --panel:#ffffff;
  --line:#e2e8f0;
  --line-2:#f1f5f9;
  
  --teal:#059669;
  --teal-bg:#ecfdf5;
  --magenta:#e11d48;
  --magenta-bg:#fff1f2;
  --indigo:#4f46e5;
  --indigo-bg:#eef2ff;
  --amber:#d97706;
  --amber-bg:#fffbeb;
  
  --radius:12px;
  --radius-sm:8px;
  --radius-lg:18px;
  --shadow-sm:0 1px 2px 0 rgba(0,0,0,0.05);
  --shadow:0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
  --shadow-md:0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.04);
  --shadow-lg:0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.06);
  --font:"Inter",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;
  --mono:ui-monospace,"SF Mono",Menlo,Consolas,monospace;
}

*{box-sizing:border-box}
html,body{margin:0;background:var(--ivory);color:var(--ink);font:15px/1.55 var(--font);-webkit-font-smoothing:antialiased}
body{font-variant-numeric:tabular-nums;overflow-x:hidden}

.skip-link{
  position:absolute;
  top:-60px;
  left:16px;
  background:var(--navy-deep);
  color:var(--gold);
  padding:10px 18px;
  border-radius:6px;
  border:1.5px solid var(--gold);
  font-weight:700;
  z-index:9999999;
  text-decoration:none;
  transition:top 0.2s ease;
}
.skip-link:focus{top:16px}

.sr-only{
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0;
}

h1,h2,h3,h4{margin:0;line-height:1.2;letter-spacing:-0.02em;font-weight:750}
h1{font-size:32px}
h2{font-size:24px}
h3{font-size:17px}
h4{font-size:14px}
p{margin:0 0 0.7em}
a{color:var(--indigo);text-decoration:none}
a:hover{text-decoration:underline}
button{font:inherit;cursor:pointer}
:focus-visible{outline:2.5px solid var(--gold);outline-offset:2px;box-shadow:0 0 0 3px rgba(212,175,55,0.25)}

.muted{color:var(--ink-3)}
.small{font-size:13px}
.tiny{font-size:12px}
.right{text-align:right}
.center{text-align:center}
.nowrap{white-space:nowrap}
.w-full{width:100%}

.row{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.row.tight{gap:6px}
.col{display:flex;flex-direction:column;gap:10px}
.grow{flex:1 1 0;min-width:0}
.mt{margin-top:14px}
.mt-l{margin-top:28px}
.mb{margin-bottom:14px}

.grid{display:grid;gap:16px}
.g2{grid-template-columns:repeat(2,minmax(0,1fr))}
.g3{grid-template-columns:repeat(3,minmax(0,1fr))}
.g4{grid-template-columns:repeat(4,minmax(0,1fr))}
.g-side{grid-template-columns:minmax(0,1.65fr) minmax(320px,1fr)}

@media(max-width:1100px){.g3,.g4,.g-side{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:768px){.g2,.g3,.g4,.g-side{grid-template-columns:1fr}}

/* ==========================================================================
   APP SHELL & NAVIGATION (DASHBOARD & LANDING MODES)
   ========================================================================== */
#app{display:grid;grid-template-columns:220px minmax(0,1fr);min-height:100vh;background:var(--ivory)}
#app.landing-layout{grid-template-columns:1fr}
#app.landing-layout #rail{display:none}
#app.landing-layout #main{padding:0;max-width:100%}

#rail{
  background:linear-gradient(180deg,#0b1120 0%,#111827 100%);
  color:#e2e8f0;
  padding:20px 12px;
  position:sticky;
  top:0;
  height:100vh;
  overflow-y:auto;
  border-right:1px solid rgba(212,175,55,0.15);
  display:flex;
  flex-direction:column;
  z-index:30;
}

.brand{
  font-weight:800;
  font-size:20px;
  letter-spacing:-0.03em;
  padding:4px 10px 18px;
  color:#fff;
  display:flex;
  align-items:center;
  gap:6px;
}
.brand-sparkle{color:var(--gold);font-size:16px}
.brand i{font-style:normal;color:var(--gold)}

.nav{display:flex;flex-direction:column;gap:3px;flex:1}
.nav button{
  display:flex;
  align-items:center;
  gap:10px;
  width:100%;
  text-align:left;
  background:transparent;
  border:0;
  color:#94a3b8;
  padding:9px 12px;
  border-radius:var(--radius-sm);
  font-weight:600;
  font-size:13.5px;
  transition:all 0.15s ease;
}
.nav button:hover{background:rgba(255,255,255,0.06);color:#fff}
.nav button[aria-current=page]{
  background:linear-gradient(135deg,rgba(212,175,55,0.25),rgba(212,175,55,0.15));
  border:1px solid rgba(212,175,55,0.4);
  color:#ffd700;
  font-weight:700;
}
.nav .badge{margin-left:auto}
.nav hr{border:0;border-top:1px solid rgba(255,255,255,0.1);margin:12px 4px}

.nav-home-btn{
  background:rgba(255,255,255,0.05)!important;
  color:#e2e8f0!important;
  font-size:12.5px!important;
  border:1px solid rgba(255,255,255,0.1)!important;
  margin-bottom:8px;
}
.nav-home-btn:hover{background:rgba(212,175,55,0.15)!important;color:#ffd700!important}

#main{padding:0 32px 60px;min-width:0}

/* Topbar */
#topbar{
  position:sticky;
  top:0;
  z-index:25;
  background:rgba(252,250,246,0.92);
  backdrop-filter:blur(8px);
  display:flex;
  gap:16px;
  align-items:center;
  padding:12px 0;
  border-bottom:1px solid var(--line);
  flex-wrap:wrap;
}
#topbar .title{font-weight:750;font-size:17px;color:#0f172a}
.stat{display:flex;flex-direction:column;line-height:1.2}
.stat b{font-size:16px;color:#0f172a}
.stat span{font-size:11.5px;color:var(--ink-3)}

@media(max-width:860px){
  #app{grid-template-columns:1fr}
  #rail{position:static;height:auto;flex-direction:row;flex-wrap:wrap;padding:10px}
  #main{padding:0 14px 60px}
}

/* ==========================================================================
   CARDS & UI COMPONENTS
   ========================================================================== */
.card{
  background:var(--panel);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:18px;
  box-shadow:var(--shadow-sm);
  transition:box-shadow 0.2s ease, border-color 0.2s ease;
}
.card:hover{border-color:#cbd5e1;box-shadow:var(--shadow)}
.card h3{margin-bottom:8px;color:#0f172a}
.sect{margin-top:24px}
.sect>h1{font-size:26px;color:#0f172a}

.btn{
  border:1px solid #0f172a;
  background:#0f172a;
  color:#fff;
  padding:8px 16px;
  border-radius:var(--radius-sm);
  font-weight:650;
  font-size:14px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  transition:all 0.15s ease;
}
.btn:hover{background:#1e293b}
.btn.ghost{background:transparent;color:#0f172a;border-color:#cbd5e1}
.btn.ghost:hover{background:var(--line-2);border-color:#94a3b8}
.btn.gold{
  background:linear-gradient(135deg,#d4af37 0%,#f0a500 100%);
  border-color:#c49a26;
  color:#1e1400;
  font-weight:700;
  box-shadow:0 2px 4px rgba(212,175,55,0.25);
}
.btn.gold:hover{
  background:linear-gradient(135deg,#e5be46 0%,#ffb515 100%);
  box-shadow:0 4px 10px rgba(212,175,55,0.4);
}
.btn.ghost-gold{
  background:transparent;
  color:#ffd700;
  border:1px solid rgba(212,175,55,0.6);
}
.btn.ghost-gold:hover{
  background:rgba(212,175,55,0.15);
  border-color:#ffd700;
}
.btn.ghost-white{
  background:rgba(255,255,255,0.1);
  color:#fff;
  border:1px solid rgba(255,255,255,0.25);
}
.btn.ghost-white:hover{background:rgba(255,255,255,0.2)}
.btn.lg{padding:12px 22px;font-size:15px;border-radius:10px}
.btn.sm{padding:5px 12px;font-size:12.5px;border-radius:6px}
.btn[disabled]{opacity:0.45;cursor:not-allowed}

.pulse-btn{
  position:relative;
  animation:btn-glow 3s infinite;
}
@keyframes btn-glow{
  0%,100%{box-shadow:0 2px 6px rgba(212,175,55,0.3)}
  50%{box-shadow:0 4px 18px rgba(212,175,55,0.6)}
}

.chip{
  display:inline-flex;
  align-items:center;
  gap:5px;
  padding:3px 10px;
  border-radius:999px;
  font-size:12px;
  font-weight:650;
  background:#f1f5f9;
  color:#475569;
  white-space:nowrap;
}
.chip.ok{background:var(--teal-bg);color:var(--teal);border:1px solid rgba(5,150,105,0.2)}
.chip.bad{background:var(--magenta-bg);color:var(--magenta);border:1px solid rgba(225,29,72,0.2)}
.chip.warn{background:var(--amber-bg);color:var(--amber);border:1px solid rgba(217,119,6,0.2)}
.chip.info{background:var(--indigo-bg);color:var(--indigo);border:1px solid rgba(79,70,229,0.2)}

.badge{background:var(--magenta);color:#fff;border-radius:99px;font-size:11px;padding:1px 7px;font-weight:700}
.badge.ok{background:var(--teal)}

.kpi{
  background:linear-gradient(180deg,#ffffff 0%,#fbfbfe 100%);
  display:flex;
  flex-direction:column;
  gap:4px;
}
.kpi b{font-size:22px;font-weight:800;color:#0f172a}
.kpi span{font-size:12px;color:var(--ink-3)}

.callout{
  border-left:4px solid var(--indigo);
  background:var(--indigo-bg);
  padding:12px 16px;
  border-radius:0 var(--radius-sm) var(--radius-sm) 0;
  font-size:13.5px;
}
.callout.bad{border-color:var(--magenta);background:var(--magenta-bg)}
.callout.warn{border-color:var(--amber);background:var(--amber-bg)}
.callout.ok{border-color:var(--teal);background:var(--teal-bg)}

.finding{
  border:1px solid var(--line);
  background:#fff;
  border-radius:var(--radius-sm);
  padding:10px 12px;
  margin:6px 0;
}
.sev{width:8px;height:8px;border-radius:50%;display:inline-block;margin-right:6px}
.sev.bad,.sev.critical{background:var(--magenta)}
.sev.warn,.sev.warning{background:var(--amber)}
.sev.info{background:var(--indigo)}
.dot{width:10px;height:10px;border-radius:50%;display:inline-block;flex-shrink:0}
.dot.pass{background:var(--teal)}
.dot.fail{background:var(--magenta)}
.dot.warn{background:var(--amber)}

.check{
  display:flex;
  gap:10px;
  align-items:flex-start;
  padding:8px 0;
  border-bottom:1px solid var(--line-2);
}

.sample-chip{
  background:#fff;
  border:1px solid #cbd5e1;
  border-radius:8px;
  padding:6px 12px;
  text-align:left;
  font-size:12.5px;
  color:#1e293b;
  transition:all 0.15s ease;
}
.sample-chip:hover{border-color:var(--gold);background:#fefdf8;transform:translateY(-1px)}

input,select,textarea{
  font:inherit;
  color:inherit;
  background:#fff;
  border:1px solid #cbd5e1;
  border-radius:var(--radius-sm);
  padding:8px 12px;
  max-width:100%;
  transition:border-color 0.15s ease;
}
input:focus,select:focus,textarea:focus{
  border-color:var(--gold);
  outline:none;
  box-shadow:0 0 0 3px rgba(212,175,55,0.15);
}
label.f{display:flex;flex-direction:column;gap:4px;font-size:12.5px;color:var(--ink-2);font-weight:600}

table{border-collapse:collapse;width:100%}
th,td{padding:8px 10px;text-align:left;border-bottom:1px solid var(--line-2);vertical-align:middle;font-size:13.5px}
th{font-size:12px;color:var(--ink-3);font-weight:650;background:#f8fafc;position:sticky;top:0}
.tbl-wrap{overflow:auto;max-height:500px;border:1px solid var(--line);border-radius:var(--radius-sm);background:#fff}

/* ==========================================================================
   PUBLIC HOMEPAGE (LANDING PAGE STYLES)
   ========================================================================== */
.landing-page{
  background:linear-gradient(180deg,#0b1120 0%,#0f172a 400px,#0b1120 100%);
  color:#f8fafc;
  min-height:100vh;
}

.landing-nav{
  position:sticky;
  top:0;
  z-index:50;
  background:rgba(11,17,32,0.88);
  backdrop-filter:blur(12px);
  border-bottom:1px solid rgba(212,175,55,0.15);
}
.landing-nav-inner{
  max-width:1200px;
  margin:0 auto;
  padding:14px 24px;
  display:flex;
  align-items:center;
  justify-content:space-between;
}
.landing-brand{
  font-size:22px;
  font-weight:800;
  color:#fff;
  display:flex;
  align-items:center;
  gap:8px;
  letter-spacing:-0.03em;
}
.gold-text{color:var(--gold)}
.brand-pill{
  font-size:10.5px;
  font-weight:700;
  background:rgba(212,175,55,0.15);
  border:1px solid rgba(212,175,55,0.4);
  color:#ffd700;
  padding:2px 7px;
  border-radius:99px;
  text-transform:uppercase;
  letter-spacing:0.04em;
}

.landing-links{
  display:flex;
  gap:24px;
  align-items:center;
}
.landing-links a{
  color:#94a3b8;
  font-size:14px;
  font-weight:600;
  transition:color 0.15s ease;
}
.landing-links a:hover{color:#ffd700;text-decoration:none}
.landing-nav-actions{display:flex;gap:12px;align-items:center}

@media(max-width:768px){
  .landing-links{display:none}
}

.landing-container{
  max-width:1200px;
  margin:0 auto;
  padding:0 24px;
}

/* Hero Section */
.landing-hero{
  padding:70px 0 90px;
  position:relative;
  overflow:hidden;
}
.hero-glow{
  position:absolute;
  border-radius:50%;
  filter:blur(100px);
  opacity:0.35;
  pointer-events:none;
}
.hero-glow-1{
  width:450px;
  height:450px;
  background:radial-gradient(circle,#d4af37 0%,transparent 70%);
  top:-100px;
  right:10%;
}
.hero-glow-2{
  width:400px;
  height:400px;
  background:radial-gradient(circle,#4f46e5 0%,transparent 70%);
  bottom:-50px;
  left:5%;
}

.hero-grid{
  display:grid;
  grid-template-columns:1.15fr 0.85fr;
  gap:40px;
  align-items:center;
}
@media(max-width:960px){
  .hero-grid{grid-template-columns:1fr;gap:40px}
}

.hero-chip{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:5px 14px;
  background:rgba(255,255,255,0.06);
  border:1px solid rgba(212,175,55,0.3);
  border-radius:999px;
  font-size:12px;
  font-weight:600;
  color:#f1f5f9;
  margin-bottom:20px;
}
.chip-dot{width:7px;height:7px;border-radius:50%;background:#10b981;box-shadow:0 0 8px #10b981}
.chip-tag{background:rgba(212,175,55,0.2);color:#ffd700;padding:2px 8px;border-radius:99px;font-size:11px}

.hero-headline{
  font-size:46px;
  line-height:1.12;
  letter-spacing:-0.03em;
  font-weight:850;
  margin-bottom:20px;
  color:#ffffff;
}
.gold-gradient-text{
  background:linear-gradient(135deg,#ffd700 0%,#d4af37 60%,#f0a500 100%);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
}

.hero-subtext{
  font-size:17.5px;
  line-height:1.6;
  color:#94a3b8;
  margin-bottom:32px;
  max-width:540px;
}

.hero-ctas{
  display:flex;
  gap:16px;
  flex-wrap:wrap;
  margin-bottom:40px;
}
.hero-primary-btn{
  background:linear-gradient(135deg,#ffd700 0%,#d4af37 100%);
  color:#0b1120;
  font-weight:750;
  box-shadow:0 4px 20px rgba(212,175,55,0.45);
}
.hero-primary-btn:hover{
  background:linear-gradient(135deg,#ffe033 0%,#e5be46 100%);
  transform:translateY(-1px);
}
.btn-arrow{font-size:16px;transition:transform 0.15s ease}
.hero-primary-btn:hover .btn-arrow{transform:translateX(3px)}

.hero-trust-bar{
  display:flex;
  gap:20px;
  align-items:center;
  flex-wrap:wrap;
  padding-top:20px;
  border-top:1px solid rgba(255,255,255,0.1);
}
.trust-item{display:flex;flex-direction:column}
.trust-num{font-size:18px;font-weight:800;color:#ffd700}
.trust-label{font-size:11.5px;color:#94a3b8}
.trust-sep{width:1px;height:24px;background:rgba(255,255,255,0.12)}

/* Hero Visual Card Stack */
.hero-visual{position:relative}
.hero-main-card{
  background:rgba(30,41,59,0.7);
  border:1px solid rgba(212,175,55,0.3);
  border-radius:18px;
  overflow:hidden;
  box-shadow:0 25px 50px -12px rgba(0,0,0,0.5), 0 0 35px rgba(212,175,55,0.15);
  backdrop-filter:blur(8px);
}
.card-glass-header{
  padding:10px 16px;
  background:rgba(15,23,42,0.85);
  border-bottom:1px solid rgba(255,255,255,0.08);
  display:flex;
  justify-content:space-between;
  align-items:center;
}
.window-dots{display:flex;gap:6px}
.window-dots span{width:9px;height:9px;border-radius:50%}
.dot-red{background:#ef4444}.dot-yellow{background:#f59e0b}.dot-green{background:#10b981}
.card-status-chip{font-size:11px;font-weight:700;color:#ffd700;background:rgba(212,175,55,0.15);padding:2px 8px;border-radius:99px}

.hero-card-img-wrap{
  position:relative;
  width:100%;
  aspect-ratio:16/10;
  overflow:hidden;
}
.hero-preview-img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transition:transform 0.4s ease;
}
.hero-main-card:hover .hero-preview-img{transform:scale(1.02)}

.hero-card-floating-badge{
  position:absolute;
  background:rgba(15,23,42,0.88);
  backdrop-filter:blur(8px);
  border:1px solid rgba(212,175,55,0.4);
  border-radius:10px;
  padding:8px 12px;
  display:flex;
  gap:10px;
  align-items:center;
  box-shadow:0 8px 16px rgba(0,0,0,0.3);
}
.badge-top-right{top:14px;right:14px}
.badge-bottom-left{bottom:14px;left:14px}
.badge-icon{
  width:24px;
  height:24px;
  border-radius:50%;
  background:rgba(212,175,55,0.2);
  color:#ffd700;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:800;
  font-size:12px;
}
.badge-title{font-size:10.5px;color:#94a3b8}
.badge-val{font-size:12px;font-weight:700;color:#fff}

.hero-card-footer{
  padding:14px 18px;
  background:rgba(15,23,42,0.9);
  display:flex;
  justify-content:space-between;
  border-top:1px solid rgba(255,255,255,0.08);
}
.footer-metric{display:flex;flex-direction:column}
.metric-label{font-size:11px;color:#94a3b8}
.metric-val{font-size:13px;font-weight:750;color:#fff}
.text-emerald{color:#10b981}
.text-gold{color:#ffd700}

/* Section Common */
.landing-section{padding:80px 0;position:relative}
.section-alt{
  background:linear-gradient(180deg,#0e1526 0%,#111a30 100%);
  border-top:1px solid rgba(212,175,55,0.1);
  border-bottom:1px solid rgba(212,175,55,0.1);
}
.section-header{margin-bottom:50px}
.section-tag{
  font-size:11.5px;
  font-weight:750;
  text-transform:uppercase;
  letter-spacing:0.06em;
  color:#ffd700;
  display:inline-block;
  margin-bottom:8px;
}
.section-title{
  font-size:34px;
  color:#fff;
  letter-spacing:-0.025em;
  margin-bottom:12px;
}
.section-subtitle{
  font-size:16px;
  color:#94a3b8;
  max-width:680px;
  margin:0 auto;
}

/* Category Cards */
.category-cards-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:20px;
}
@media(max-width:1050px){.category-cards-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.category-cards-grid{grid-template-columns:1fr}}

.cat-card{
  background:rgba(30,41,59,0.5);
  border:1px solid rgba(212,175,55,0.2);
  border-radius:16px;
  overflow:hidden;
  transition:all 0.25s ease;
  display:flex;
  flex-direction:column;
  cursor:pointer;
}
.cat-card:hover{
  transform:translateY(-4px);
  border-color:var(--gold);
  box-shadow:0 14px 28px rgba(0,0,0,0.3), 0 0 20px rgba(212,175,55,0.2);
}
.cat-card-img-wrap{
  position:relative;
  width:100%;
  aspect-ratio:16/10;
  overflow:hidden;
}
.cat-card-img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transition:transform 0.4s ease;
}
.cat-card:hover .cat-card-img{transform:scale(1.05)}
.cat-card-overlay{
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,transparent 40%,rgba(15,23,42,0.85) 100%);
}
.cat-badge{
  position:absolute;
  top:12px;
  right:12px;
  background:rgba(212,175,55,0.25);
  backdrop-filter:blur(6px);
  border:1px solid rgba(212,175,55,0.5);
  color:#ffd700;
  font-size:10.5px;
  font-weight:750;
  padding:3px 9px;
  border-radius:99px;
}
.cat-card-body{
  padding:18px;
  display:flex;
  flex-direction:column;
  flex:1;
}
.cat-meta-chip{
  font-size:11px;
  font-weight:600;
  color:#ffd700;
  margin-bottom:6px;
}
.cat-title{
  font-size:18px;
  color:#fff;
  margin-bottom:6px;
}
.cat-desc{
  font-size:13px;
  color:#94a3b8;
  line-height:1.45;
  margin-bottom:12px;
}
.cat-prompt-quote{
  background:rgba(15,23,42,0.6);
  border-left:3px solid var(--gold);
  padding:8px 10px;
  border-radius:0 6px 6px 0;
  font-size:11.5px;
  color:#cbd5e1;
  font-style:italic;
  margin-bottom:16px;
  flex:1;
}
.cat-action-btn{margin-top:auto}

/* Features Grid */
.features-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:20px;
}
@media(max-width:1050px){.features-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.features-grid{grid-template-columns:1fr}}

.feat-card{
  background:rgba(30,41,59,0.4);
  border:1px solid rgba(255,255,255,0.08);
  border-radius:14px;
  padding:22px;
  transition:all 0.2s ease;
}
.feat-card:hover{
  border-color:rgba(212,175,55,0.4);
  background:rgba(30,41,59,0.7);
  transform:translateY(-2px);
}
.feat-top{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:14px;
}
.feat-icon{font-size:26px}
.feat-badge{
  font-size:10.5px;
  font-weight:700;
  color:#ffd700;
  background:rgba(212,175,55,0.12);
  padding:2px 8px;
  border-radius:99px;
  border:1px solid rgba(212,175,55,0.25);
}
.feat-title{font-size:16px;color:#fff;margin-bottom:8px}
.feat-desc{font-size:13px;color:#94a3b8;line-height:1.55}

/* Steps Flow */
.steps-flow{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:16px;
  position:relative;
}
@media(max-width:900px){.steps-flow{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.steps-flow{grid-template-columns:1fr}}

.step-card{
  background:rgba(30,41,59,0.5);
  border:1px solid rgba(212,175,55,0.2);
  border-radius:14px;
  padding:22px;
  position:relative;
}
.step-num-badge{
  width:36px;
  height:36px;
  border-radius:50%;
  background:linear-gradient(135deg,#ffd700,#d4af37);
  color:#0f172a;
  font-weight:800;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:14px;
  margin-bottom:16px;
  box-shadow:0 0 12px rgba(212,175,55,0.4);
}
.step-title{font-size:17px;color:#fff;margin-bottom:8px}
.step-desc{font-size:13px;color:#94a3b8;line-height:1.5;margin-bottom:14px}
.step-chip{
  display:inline-block;
  font-size:11px;
  font-weight:700;
  color:#ffd700;
  background:rgba(212,175,55,0.12);
  padding:3px 9px;
  border-radius:6px;
}

/* Showcase Section */
.showcase-tabs-bar{
  display:flex;
  gap:10px;
  justify-content:center;
  flex-wrap:wrap;
  margin-bottom:28px;
}
.showcase-tab{
  background:rgba(30,41,59,0.6);
  border:1px solid rgba(255,255,255,0.1);
  color:#94a3b8;
  padding:10px 18px;
  border-radius:99px;
  font-weight:650;
  font-size:13.5px;
  transition:all 0.15s ease;
}
.showcase-tab:hover{color:#fff;border-color:rgba(212,175,55,0.3)}
.showcase-tab.active{
  background:linear-gradient(135deg,rgba(212,175,55,0.2),rgba(212,175,55,0.1));
  border-color:var(--gold);
  color:#ffd700;
  box-shadow:0 0 15px rgba(212,175,55,0.2);
}

.showcase-display-card{
  background:rgba(30,41,59,0.6);
  border:1px solid rgba(212,175,55,0.25);
  border-radius:20px;
  padding:30px;
  box-shadow:0 20px 40px rgba(0,0,0,0.4);
}
.showcase-content-grid{
  display:grid;
  grid-template-columns:1.2fr 0.8fr;
  gap:32px;
  align-items:center;
}
@media(max-width:860px){.showcase-content-grid{grid-template-columns:1fr}}

.showcase-img-box{
  border-radius:14px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,0.1);
  box-shadow:0 12px 24px rgba(0,0,0,0.3);
}
.showcase-img{width:100%;height:auto;display:block}
.showcase-details h3{font-size:22px;color:#fff;margin:10px 0 8px}
.showcase-list{margin:16px 0;padding-left:20px;font-size:13.5px;color:#cbd5e1;line-height:1.7}

/* Verifier Banner */
.verifier-banner{
  background:linear-gradient(135deg,#161e38 0%,#1e294b 100%);
  border:1px solid rgba(212,175,55,0.35);
  border-radius:20px;
  padding:36px;
  display:grid;
  grid-template-columns:1.2fr 0.8fr;
  gap:32px;
  align-items:center;
  box-shadow:0 20px 40px rgba(0,0,0,0.3);
}
@media(max-width:860px){.verifier-banner{grid-template-columns:1fr}}

.verifier-tag{
  background:rgba(212,175,55,0.15);
  color:#ffd700;
  font-size:11px;
  font-weight:750;
  padding:3px 9px;
  border-radius:99px;
  display:inline-block;
  margin-bottom:8px;
}
.verifier-title{font-size:26px;color:#fff;margin-bottom:12px}
.verifier-desc{font-size:14px;color:#94a3b8;line-height:1.6;margin-bottom:16px}
.verifier-features-list{display:flex;flex-direction:column;gap:8px;font-size:13px;color:#e2e8f0;margin-bottom:18px}
.chk-green{color:#10b981;font-weight:800;margin-right:6px}

.code-preview-box{
  background:#090d16;
  border:1px solid rgba(255,255,255,0.12);
  border-radius:12px;
  overflow:hidden;
}
.code-header{
  padding:8px 14px;
  background:#0f172a;
  border-bottom:1px solid rgba(255,255,255,0.08);
  display:flex;
  justify-content:space-between;
  align-items:center;
  font-family:var(--mono);
  font-size:12px;
  color:#94a3b8;
}
.code-body{
  padding:16px;
  margin:0;
  font-family:var(--mono);
  font-size:12.5px;
  color:#f1f5f9;
  line-height:1.6;
}
.c-comment{color:#64748b}

/* CTA Section */
.landing-cta-section{
  padding:80px 0;
  background:radial-gradient(circle at center,rgba(212,175,55,0.12) 0%,transparent 70%);
}
.cta-mini-tag{
  font-size:12px;
  font-weight:750;
  color:#ffd700;
  text-transform:uppercase;
  letter-spacing:0.06em;
  display:inline-block;
  margin-bottom:10px;
}
.cta-headline{font-size:38px;color:#fff;margin-bottom:12px;letter-spacing:-0.025em}
.cta-subtitle{font-size:17px;color:#94a3b8;margin-bottom:30px}
.cta-buttons-row{display:flex;gap:16px;justify-content:center;flex-wrap:wrap}

/* Footer */
.landing-footer{
  background:#070b14;
  border-top:1px solid rgba(255,255,255,0.08);
  padding:60px 0 24px;
}
.footer-content{
  display:grid;
  grid-template-columns:1.5fr repeat(3,minmax(0,1fr));
  gap:40px;
  margin-bottom:40px;
}
@media(max-width:860px){.footer-content{grid-template-columns:1fr 1fr}}
@media(max-width:540px){.footer-content{grid-template-columns:1fr}}

.footer-tagline{font-size:13.5px;color:#94a3b8;line-height:1.5;margin:12px 0 16px;max-width:320px}
.footer-eval-pill{
  display:inline-block;
  background:rgba(212,175,55,0.12);
  border:1px solid rgba(212,175,55,0.3);
  color:#ffd700;
  padding:4px 12px;
  border-radius:99px;
  font-size:12px;
}
.footer-heading{font-size:14px;color:#fff;margin-bottom:14px;text-transform:uppercase;letter-spacing:0.04em}
.footer-links{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:8px}
.footer-links a{color:#94a3b8;font-size:13px}
.footer-links a:hover{color:#ffd700}
.footer-bottom{
  padding-top:24px;
  border-top:1px solid rgba(255,255,255,0.06);
  font-size:12px;
  color:#64748b;
}

/* ==========================================================================
   MODALS, OVERLAYS & TOASTS
   ========================================================================== */
#overlay{
  position:fixed;
  inset:0;
  background:rgba(15,23,42,0.7);
  backdrop-filter:blur(4px);
  z-index:90;
  display:none;
  align-items:center;
  justify-content:center;
  padding:20px;
}
#overlay.on{display:flex}
.modal{
  background:#fff;
  border-radius:16px;
  max-width:680px;
  width:100%;
  max-height:90vh;
  overflow-y:auto;
  padding:28px;
  box-shadow:0 25px 50px -12px rgba(0,0,0,0.25);
  border:1px solid #e2e8f0;
}
#toasts{
  position:fixed;
  bottom:24px;
  right:24px;
  z-index:100;
  display:flex;
  flex-direction:column;
  gap:8px;
}
.toast{
  background:#0f172a;
  color:#fff;
  padding:10px 16px;
  border-radius:8px;
  font-size:13.5px;
  font-weight:600;
  box-shadow:0 10px 15px -3px rgba(0,0,0,0.3);
  animation:toast-in 0.25s ease;
}
.toast.ok{background:#059669}
.toast.bad{background:#e11d48}
@keyframes toast-in{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}

/* Floating Assistant */
#fab{
  position:fixed;
  bottom:24px;
  right:24px;
  z-index:40;
  box-shadow:0 8px 20px rgba(212,175,55,0.4);
}
#chat{
  position:fixed;
  bottom:80px;
  right:24px;
  width:380px;
  height:500px;
  background:#fff;
  border:1px solid #cbd5e1;
  border-radius:16px;
  box-shadow:0 20px 40px rgba(0,0,0,0.2);
  display:none;
  flex-direction:column;
  z-index:45;
  overflow:hidden;
}
#chat.on{display:flex}
#chat header{
  background:#0f172a;
  color:#fff;
  padding:12px 16px;
  display:flex;
  align-items:center;
  gap:8px;
}
#msgs{flex:1;overflow-y:auto;padding:12px;display:flex;flex-direction:column;gap:8px}
.msg{padding:8px 12px;border-radius:10px;font-size:13px;max-width:85%}
.msg.me{background:#0f172a;color:#fff;margin-left:auto}
.msg.ai{background:#f1f5f9;color:#0f172a;margin-right:auto}
#chat-form{padding:10px;border-top:1px solid #e2e8f0;display:flex;gap:6px}
#chat-form input{flex:1}

/* ==========================================================================
   EVENT DESIGN SHOWDOWN, SIMULATOR & PRODUCTION PACK STYLING
   ========================================================================== */
.plan-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.plan-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.featured-card {
  background: linear-gradient(180deg, rgba(212,175,55,0.06) 0%, rgba(255,255,255,1) 40%);
  box-shadow: 0 10px 25px -5px rgba(212,175,55,0.25);
}
.card-recommended-badge {
  position: absolute;
  top: -12px;
  right: 18px;
  background: var(--gold);
  color: #0b1120;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 3px 10px;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}
.plan-price-box {
  background: var(--ivory-warm);
  border: 1px solid var(--line);
  padding: 12px 14px;
  border-radius: 8px;
}
.plan-price-val {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 2px 0;
}
.text-teal { color: var(--teal) !important; }
.text-magenta { color: var(--magenta) !important; }
.text-amber { color: var(--amber) !important; }
.text-left { text-align: left !important; }
.text-right { text-align: right !important; }
.mt-tight { margin-top: 4px; }

/* Concept Gallery Hover */
.concept-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.concept-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.concept-card:hover img {
  transform: scale(1.04);
}

/* Print Dossier Formatting */
@media print {
  body {
    background: #ffffff !important;
    color: #000000 !important;
  }
  #rail, #topbar, #fab, #chat, #toasts, .no-print, button, .tabs, .nav {
    display: none !important;
  }
  #app, #main, #view {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  .production-dossier {
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
  }
}

/* ==========================================================================
   VISION STUDIO THEME SELECTOR & VISUAL THEME CONFIRMATION PANEL
   ========================================================================== */
.theme-selector-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #0f172a;
  padding: 12px 18px;
  border-radius: 12px;
  border: 1px solid rgba(212, 175, 55, 0.35);
  margin-bottom: 16px;
  flex-wrap: wrap;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25);
}
.theme-bar-label {
  font-size: 13px;
  font-weight: 700;
  color: #ffd700;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.theme-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  flex: 1;
}
.theme-pill {
  background: rgba(30, 41, 59, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #e2e8f0;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}
.theme-pill:hover {
  background: rgba(51, 65, 85, 0.95);
  border-color: rgba(212, 175, 55, 0.5);
  color: #fff;
  transform: translateY(-1px);
}
.theme-pill.active {
  background: linear-gradient(135deg, #ffd700 0%, #d4af37 100%);
  color: #0b1120;
  border-color: #ffd700;
  font-weight: 750;
  box-shadow: 0 2px 10px rgba(212, 175, 55, 0.45);
}

.theme-confirmation-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 20px;
  margin-top: 16px;
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}
.theme-confirm-thumb {
  width: 150px;
  height: 95px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  flex-shrink: 0;
  position: relative;
  background: #0b1120;
}
.theme-confirm-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.theme-confirm-thumb:hover img {
  transform: scale(1.05);
}
.theme-confirm-info {
  flex: 1;
  min-width: 260px;
}
.theme-confirm-title {
  font-size: 16px;
  font-weight: 750;
  margin: 0 0 4px;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 8px;
}
.theme-confirm-desc {
  font-size: 12.5px;
  color: #64748b;
  line-height: 1.4;
  margin-bottom: 8px;
}
.theme-confirm-status {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}
.theme-confirm-actions {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

