:root{--kp-red:#e31b23;--kp-dark:#171717;--kp-green:#2f6b3b;--kp-light:#f7f4f1;--kp-gold:#bd8b38}
body{font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;color:#252525;background:#fff}
a{text-decoration:none}.fw-black{font-weight:900}.text-kp{color:var(--kp-red)}
.navbar-kp{background:#fff;border-bottom:1px solid #eee;position:sticky;top:0;z-index:1030}.navbar-brand img{height:54px;width:auto}.navbar-kp .nav-link{color:#2e2e2e;font-weight:700;border-radius:10px;padding:.65rem .8rem}.navbar-kp .nav-link:hover,.navbar-kp .nav-link.active{color:var(--kp-red);background:#fff1f2}
.btn-kp{background:var(--kp-red);color:#fff;border:1px solid var(--kp-red);font-weight:800;border-radius:12px}.btn-kp:hover{background:#bd1118;color:#fff;border-color:#bd1118}.btn-outline-kp{border:1px solid var(--kp-red);color:var(--kp-red);font-weight:800;border-radius:12px}.btn-outline-kp:hover{background:var(--kp-red);color:#fff}
.hero-kp{background:radial-gradient(circle at 80% 20%,rgba(227,27,35,.12),transparent 28%),linear-gradient(135deg,#111 0%,#231919 60%,#461216 100%);color:#fff;padding:6rem 0 5rem;overflow:hidden}.hero-kp .eyebrow{display:inline-flex;gap:.5rem;align-items:center;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.18);padding:.55rem .9rem;border-radius:999px;font-weight:800}.hero-kp h1{font-size:clamp(2.5rem,5vw,5rem);line-height:1.02;font-weight:950}.hero-card{background:#fff;color:#222;border-radius:28px;padding:1.2rem;box-shadow:0 35px 90px rgba(0,0,0,.35);transform:rotate(1deg)}.hero-card img{width:100%;border-radius:20px;max-height:300px;object-fit:contain;background:#fff}.hero-stat{background:#f8f4f2;border-radius:16px;padding:1rem;text-align:center}.hero-stat strong{font-size:1.5rem;display:block}
.section-pad{padding:5rem 0}.section-title{font-weight:950;letter-spacing:-.04em}.section-kicker{color:var(--kp-red);font-weight:900;text-transform:uppercase;letter-spacing:.1em;font-size:.78rem}.soft-bg{background:#f8f6f4}.dark-section{background:#151515;color:#fff}
.feature-card,.product-card,.course-card,.note-card,.stat-card,.form-card,.table-card{border:1px solid #ece7e3;border-radius:22px;background:#fff;box-shadow:0 10px 35px rgba(30,20,15,.05)}.feature-card{padding:1.6rem;height:100%}.feature-icon{width:52px;height:52px;border-radius:16px;background:#fff0f1;color:var(--kp-red);display:grid;place-items:center;font-size:1.4rem;margin-bottom:1rem}.product-card{overflow:hidden;height:100%}.product-img{height:200px;background:linear-gradient(135deg,#f6efea,#fff);display:grid;place-items:center}.product-img img{width:100%;height:100%;object-fit:cover}.product-img i{font-size:4rem;color:#c9b7ac}.product-card .body{padding:1.25rem}.price{font-size:1.25rem;font-weight:900;color:var(--kp-red)}
.badge-soft{background:#f4eded;color:#5d4747;border-radius:999px;padding:.4rem .7rem;font-weight:800;font-size:.75rem}.course-card,.note-card{padding:1.5rem;height:100%}.course-meta{display:flex;gap:.75rem;flex-wrap:wrap;color:#6b6b6b;font-size:.9rem}.footer-kp{background:#0f0f0f;color:#fff}.footer-kp a{color:#d4d4d4}.footer-kp a:hover{color:#fff}.footer-logo{height:75px;background:#fff;border-radius:12px;padding:.25rem}.footer-note{color:#a8a8a8}
.dashboard-shell{background:#f5f3f1;min-height:75vh}.dashboard-header{background:#1a1717;color:#fff;padding:2.2rem 0}.stat-card{padding:1.3rem}.stat-card .icon{width:44px;height:44px;border-radius:14px;display:grid;place-items:center;background:#fff0f1;color:var(--kp-red);font-size:1.25rem}.stat-card .value{font-size:1.7rem;font-weight:950}.sidebar-card{background:#191919;color:#fff;border-radius:22px;padding:1rem;position:sticky;top:90px}.sidebar-card a{display:flex;align-items:center;gap:.65rem;color:#ddd;padding:.75rem .8rem;border-radius:10px;font-weight:700}.sidebar-card a:hover,.sidebar-card a.active{color:#fff;background:var(--kp-red)}
.table-card{overflow:hidden}.table-card .table{margin:0}.table-card th{font-size:.78rem;text-transform:uppercase;letter-spacing:.04em;color:#6c757d;background:#faf8f6}.form-card{padding:1.6rem}.form-control,.form-select{border-radius:12px;padding:.7rem .9rem;border-color:#ddd}.form-control:focus,.form-select:focus{border-color:#e4676d;box-shadow:0 0 0 .22rem rgba(227,27,35,.12)}
.iot-metric{border-radius:20px;padding:1.3rem;background:#fff;border:1px solid #ece7e3;height:100%}.iot-metric .reading{font-size:2rem;font-weight:950}.iot-ok{color:#198754}.iot-warn{color:#f59f00}.iot-danger{color:#dc3545}.timeline-item{border-left:3px solid #e8dddd;padding:0 0 1.3rem 1rem}.timeline-item:last-child{padding-bottom:0}.timeline-item strong{display:block}
.rich-content{line-height:1.8}.rich-content h2,.rich-content h3{font-weight:900;margin-top:1.8rem}.empty-state{padding:3rem;text-align:center;color:#777}.empty-state i{font-size:3rem;color:#cfc2bb}.cta-band{background:linear-gradient(135deg,var(--kp-red),#8d0c12);color:#fff;border-radius:28px;padding:2rem}
@media(max-width:991px){.hero-kp{padding-top:3.5rem}.sidebar-card{position:static}.hero-card{margin-top:2rem}.navbar-brand img{height:44px}}
