:root{
  --red:#f51f2b;
  --red-dark:#c90f19;
  --red-soft:#fff0f1;
  --text:#20242a;
  --muted:#69707a;
  --line:#eceff3;
  --bg:#fbfbfd;
  --card:#ffffff;
  --shadow:0 22px 70px rgba(16,24,40,.10);
  --radius:24px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:radial-gradient(circle at top,#fff 0,#fbfbfd 48%,#f7f8fb 100%);color:var(--text);min-height:100vh;padding-bottom:210px}
a{color:var(--red);text-decoration:none}a:hover{text-decoration:underline}
.topbar{position:sticky;top:0;z-index:50;height:72px;display:flex;align-items:center;justify-content:space-between;padding:0 5vw;background:rgba(255,255,255,.82);backdrop-filter:blur(18px);border-bottom:1px solid rgba(236,239,243,.8)}
.brand{display:flex;align-items:center;gap:12px;color:var(--text);font-weight:800;text-decoration:none}.brand img{width:42px;height:42px;object-fit:contain}.brand span{letter-spacing:.02em}
.topbar nav{display:flex;align-items:center;gap:14px;flex-wrap:wrap}.topbar nav a{font-weight:650;color:#343840}.btn-small{padding:9px 14px;border-radius:999px;background:var(--red);color:white!important;text-decoration:none!important}
.page{width:min(1180px,92vw);margin:0 auto}.alert{padding:14px 16px;border-radius:16px;margin:18px 0;border:1px solid var(--line);background:#fff}.alert-success{background:#effaf3;border-color:#cdeed7;color:#246c39}.alert-danger{background:#fff1f1;border-color:#ffd0d0;color:#a51b1b}.alert-warning{background:#fff8e5;border-color:#ffe2a9;color:#74500d}
.hero{min-height:calc(100vh - 112px);display:grid;place-items:center;position:relative;overflow:hidden}.hero-orb{position:absolute;border-radius:50%;filter:blur(8px);opacity:.28;animation:float 8s ease-in-out infinite}.orb-1{width:240px;height:240px;background:var(--red);left:5%;top:16%}.orb-2{width:180px;height:180px;background:#ff9ca2;right:8%;bottom:16%;animation-delay:1.6s}
.hero-card{position:relative;text-align:center;width:min(760px,100%);padding:48px 34px;border-radius:36px;background:rgba(255,255,255,.72);box-shadow:var(--shadow);border:1px solid rgba(255,255,255,.95);backdrop-filter:blur(22px)}
.logo-wrap{position:relative;display:inline-grid;place-items:center}.hero-logo{width:210px;height:210px;object-fit:contain;position:relative;z-index:2;animation:softPulse 3s ease-in-out infinite}.logo-glow{position:absolute;width:170px;height:170px;background:rgba(245,31,43,.18);border-radius:999px;filter:blur(28px);animation:glow 4s ease-in-out infinite}.eyebrow{font-weight:800;color:var(--red);text-transform:uppercase;letter-spacing:.18em;font-size:.77rem;margin:10px 0}.hero h1{font-size:clamp(2.6rem,7vw,5rem);letter-spacing:.04em;margin:0;color:var(--red)}.subtitle{font-size:1.15rem;color:var(--muted);margin:.35rem 0 1.4rem}.typed-text{min-height:64px;font-size:1.12rem;line-height:1.75;color:#333;max-width:640px;margin:0 auto}.typed-text:after{content:"";display:inline-block;width:8px;height:1.1em;background:var(--red);margin-left:4px;vertical-align:-2px;animation:blink 1s infinite}.hero-actions{display:flex;justify-content:center;gap:12px;margin-top:24px;flex-wrap:wrap}
.btn-primary,.btn-ghost,button{border:0;cursor:pointer;font-weight:800;border-radius:999px;padding:13px 20px;font-family:inherit}.btn-primary{display:inline-flex;align-items:center;justify-content:center;background:linear-gradient(135deg,var(--red),var(--red-dark));color:#fff;text-decoration:none!important;box-shadow:0 12px 24px rgba(245,31,43,.25)}.btn-ghost{display:inline-flex;border:1px solid #ffd0d3;color:var(--red);background:#fff;text-decoration:none!important}.btn-primary:hover,.btn-ghost:hover{transform:translateY(-1px)}
.features{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin:20px 0 54px}.features article,.panel,.stats-grid article,.auth-box,.table-wrap{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);box-shadow:0 16px 48px rgba(16,24,40,.07)}.features article{padding:24px}.features span{display:inline-grid;place-items:center;width:42px;height:42px;border-radius:14px;background:var(--red-soft);color:var(--red);font-weight:900}.features h3{margin:16px 0 8px}.features p,.muted{color:var(--muted);line-height:1.65}.small{font-size:.88rem}
.auth-box{width:min(560px,100%);margin:52px auto;padding:28px}.auth-box.wide{width:min(900px,100%)}.auth-box h1{margin:0 0 8px;font-size:2rem}.form-card{display:grid;gap:12px;margin-top:20px}.form-card label{font-weight:800;font-size:.92rem}.form-card input,.form-card select,.form-card textarea,.filter-bar select,.filter-bar input{width:100%;border:1px solid #dde2ea;background:#fff;border-radius:16px;padding:13px 14px;font:inherit;outline:none}.form-card textarea{resize:vertical}.form-card input:focus,.form-card select:focus,.form-card textarea:focus{border-color:var(--red);box-shadow:0 0 0 4px rgba(245,31,43,.08)}.grid-form{grid-template-columns:repeat(2,1fr)}.grid-form .full{grid-column:1/-1}.hidden{display:none!important}
.dashboard{padding:38px 0 60px}.dash-hero{display:flex;align-items:center;justify-content:space-between;gap:24px;background:linear-gradient(135deg,#fff,#fff5f6);border:1px solid #ffe1e3;border-radius:32px;padding:34px;box-shadow:var(--shadow)}.dash-hero h1{margin:.1rem 0;font-size:2.5rem}.dash-hero img{width:130px;height:130px;object-fit:contain}.stats-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:22px 0}.stats-grid.five{grid-template-columns:repeat(5,1fr)}.stats-grid article{padding:22px}.stats-grid span{display:block;font-size:2rem;font-weight:900;color:var(--red)}.stats-grid p{margin:5px 0 0;color:var(--muted);font-weight:650}.panel-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.panel{padding:24px}.menu-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:22px 0}.menu-grid a{display:flex;align-items:center;justify-content:center;min-height:92px;padding:18px;border-radius:22px;background:#fff;border:1px solid var(--line);box-shadow:0 14px 36px rgba(16,24,40,.06);font-weight:900;color:var(--text);text-align:center}.menu-grid a:hover{background:var(--red);color:#fff;text-decoration:none}.section-head{display:flex;justify-content:space-between;align-items:center;gap:18px;margin:0 0 22px}.section-head h1{margin:.2rem 0}.table-wrap{overflow:auto}.table-wrap table{width:100%;border-collapse:collapse;min-width:860px}.table-wrap th,.table-wrap td{padding:14px 16px;border-bottom:1px solid var(--line);text-align:left;vertical-align:top}.table-wrap th{font-size:.82rem;text-transform:uppercase;letter-spacing:.06em;color:var(--muted);background:#fcfcfd}.empty{text-align:center;color:var(--muted);padding:32px!important}.badge{display:inline-flex;padding:6px 10px;border-radius:999px;font-weight:800;font-size:.78rem}.badge.active,.badge.verified{background:#eaf9f0;color:#13783a}.badge.inactive,.badge.rejected{background:#fff1f1;color:#a51b1b}.badge.pending{background:#fff7e5;color:#7a5000}.badge.blocked{background:#f1f2f4;color:#4b5563}.actions{display:flex;gap:10px;align-items:center}.actions form{display:inline}.actions button,.inline-action button,.filter-bar button{background:#fff1f1;color:var(--red);padding:9px 12px}.inline-action{display:grid;gap:8px}.inline-action textarea{width:190px;border:1px solid #dde2ea;border-radius:12px;padding:9px;font:inherit}.action-buttons{display:flex;gap:6px;flex-wrap:wrap}.filter-bar{display:flex;gap:10px;margin:0 0 18px;align-items:center}.filter-bar select{max-width:220px}.filter-bar button{background:var(--red);color:#fff}
.chat-dock{position:fixed;left:0;right:0;bottom:0;z-index:80;display:flex;justify-content:center;padding:14px;background:linear-gradient(0deg,rgba(255,255,255,.98),rgba(255,255,255,.72));backdrop-filter:blur(16px);border-top:1px solid rgba(236,239,243,.95)}.chat-panel{width:min(980px,94vw);background:#fff;border:1px solid var(--line);border-radius:24px;box-shadow:0 -12px 60px rgba(16,24,40,.10);overflow:hidden}.chat-header{display:flex;justify-content:space-between;align-items:center;padding:14px 18px;border-bottom:1px solid var(--line)}.chat-header span{display:block;font-size:.85rem;color:var(--muted);font-weight:500}.pulse-dot{width:12px;height:12px;background:var(--red);border-radius:50%;box-shadow:0 0 0 rgba(245,31,43,.7);animation:pulseRing 1.8s infinite}.chat-messages{max-height:190px;overflow-y:auto;padding:14px 18px;display:grid;gap:10px}.msg{max-width:86%;padding:12px 14px;border-radius:18px;line-height:1.6;white-space:pre-wrap}.msg.clara{justify-self:start;background:#f6f7f9;color:#25282d;border-bottom-left-radius:6px}.msg.user{justify-self:end;background:var(--red);color:#fff;border-bottom-right-radius:6px}.chat-form{display:flex;gap:10px;padding:12px;border-top:1px solid var(--line)}.chat-form input{flex:1;border:1px solid #dde2ea;border-radius:999px;padding:13px 16px;font:inherit;outline:none}.chat-form button{background:var(--red);color:#fff;min-width:96px}
.reveal-up{animation:revealUp .75s ease both}.delay-1{animation-delay:.15s}
@keyframes revealUp{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:translateY(0)}}@keyframes softPulse{0%,100%{transform:scale(1)}50%{transform:scale(1.025)}}@keyframes glow{0%,100%{opacity:.55;transform:scale(.9)}50%{opacity:1;transform:scale(1.12)}}@keyframes blink{0%,45%{opacity:1}46%,100%{opacity:0}}@keyframes float{0%,100%{transform:translateY(0)}50%{transform:translateY(-22px)}}@keyframes pulseRing{0%{box-shadow:0 0 0 0 rgba(245,31,43,.5)}70%{box-shadow:0 0 0 12px rgba(245,31,43,0)}100%{box-shadow:0 0 0 0 rgba(245,31,43,0)}}
@media(max-width:860px){body{padding-bottom:260px}.features,.stats-grid,.stats-grid.five,.panel-grid,.grid-form,.menu-grid{grid-template-columns:1fr}.dash-hero{flex-direction:column;text-align:center}.section-head{flex-direction:column;align-items:flex-start}.topbar{height:auto;min-height:72px;gap:12px;align-items:flex-start;padding:14px 5vw;flex-direction:column}.chat-messages{max-height:210px}.msg{max-width:95%}.hero-logo{width:170px;height:170px}.hero-card{padding:32px 18px}.filter-bar{flex-direction:column;align-items:stretch}.filter-bar select{max-width:none}}
