:root {
  --kk-bg: #f7f8fb;
  --kk-surface: #ffffff;
  --kk-text: #182230;
  --kk-muted: #607086;
  --kk-heading: #132238;
  --kk-primary: #225ad6;
  --kk-primary-dark: #183f98;
  --kk-accent: #2fbf8f;
  --kk-line: #dce5f2;
  --kk-soft: #eaf3ff;
  --kk-warning: #f6a609;
  --kk-radius: 8px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--kk-text);
  background: var(--kk-bg);
  font-family: Inter, Roboto, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: var(--kk-primary);
  text-decoration: none;
}

a:hover {
  color: var(--kk-primary-dark);
}

.kk-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(220, 229, 242, 0.9);
  backdrop-filter: blur(14px);
}

.kk-navbar {
  min-height: 78px;
}

.kk-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--kk-heading);
  font-weight: 800;
  font-size: 24px;
  letter-spacing: 0;
}

.kk-brand-logo {
  display: block;
  width: auto;
  height: 48px;
  max-width: 210px;
  object-fit: contain;
}

.kk-brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  color: #fff;
  background: linear-gradient(135deg, var(--kk-primary), var(--kk-accent));
  border-radius: 8px;
}

.kk-brand:hover {
  color: var(--kk-heading);
}

.navbar-nav .nav-link {
  color: #25364b;
  font-weight: 600;
  padding: 10px 12px;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--kk-primary);
}

.kk-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.kk-btn-primary {
  color: #fff;
  background: var(--kk-primary);
  box-shadow: 0 12px 26px rgba(29, 95, 215, 0.22);
}

.kk-btn-primary:hover {
  color: #fff;
  background: var(--kk-primary-dark);
}

.kk-btn-accent {
  color: #07281d;
  background: var(--kk-accent);
}

.kk-btn-accent:hover {
  color: #061f17;
  background: #1aa777;
}

.kk-btn-ghost {
  color: var(--kk-primary);
  background: #fff;
  border-color: var(--kk-line);
}

.kk-btn-ghost:hover {
  color: var(--kk-primary-dark);
  background: var(--kk-soft);
}

.kk-section {
  padding: 84px 0;
}

.kk-section-tight {
  padding: 56px 0;
}

.kk-hero {
  overflow: hidden;
  background:
    linear-gradient(180deg, #ffffff 0%, #f4f7fb 100%);
  border-bottom: 1px solid var(--kk-line);
}

.kk-hero h1,
.kk-page-hero h1 {
  color: var(--kk-heading);
  font-size: clamp(38px, 5vw, 64px);
  font-weight: 850;
  line-height: 1.03;
  letter-spacing: 0;
}

.kk-lead {
  color: var(--kk-muted);
  font-size: 19px;
  line-height: 1.7;
}

.kk-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--kk-primary-dark);
  background: #eaf3ff;
  border: 1px solid #d6e7ff;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 800;
}

.kk-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.kk-trust-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 560px;
}

.kk-trust-item {
  padding: 14px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--kk-line);
  border-radius: var(--kk-radius);
}

.kk-trust-item strong {
  display: block;
  color: var(--kk-heading);
  font-size: 21px;
}

.kk-trust-item span {
  color: var(--kk-muted);
  font-size: 13px;
}

.kk-panel {
  position: relative;
  padding: 14px;
  background: #ffffff;
  border: 1px solid #d7e0ed;
  border-radius: 12px;
  box-shadow: 0 22px 54px rgba(19, 34, 56, 0.13);
}

.kk-panel-top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.kk-panel-title {
  margin-left: auto;
  color: var(--kk-muted);
  font-size: 13px;
  font-weight: 800;
}

.kk-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d1d9e8;
}

.kk-dot:nth-child(1) {
  background: #ff6b6b;
}

.kk-dot:nth-child(2) {
  background: #ffd166;
}

.kk-dot:nth-child(3) {
  background: #20b486;
}

.kk-dashboard {
  display: grid;
  grid-template-columns: 160px 1fr;
  min-height: 450px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--kk-line);
  border-radius: 10px;
}

.kk-sidebar {
  padding: 20px 14px;
  color: #cad6e8;
  background: #172234;
}

.kk-sidebar-title {
  color: #fff;
  font-weight: 800;
  margin-bottom: 22px;
}

.kk-side-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 8px;
  border-radius: 8px;
  font-size: 13px;
}

.kk-side-item.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.kk-main-ui {
  padding: 18px;
}

.kk-ui-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.kk-ui-title {
  color: var(--kk-heading);
  font-size: 18px;
  font-weight: 850;
}

.kk-ui-pill {
  color: #08573d;
  background: #dcf7ec;
  border-radius: 999px;
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 800;
}

.kk-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.kk-stat {
  min-height: 84px;
  padding: 14px;
  background: #f7faff;
  border: 1px solid #e0e9f7;
  border-radius: var(--kk-radius);
}

.kk-stat i {
  color: var(--kk-primary);
  font-size: 18px;
}

.kk-stat strong {
  display: block;
  margin-top: 12px;
  color: var(--kk-heading);
  font-size: 19px;
}

.kk-stat span {
  color: var(--kk-muted);
  font-size: 12px;
}

.kk-ui-grid {
  display: grid;
  grid-template-columns: 1.45fr 0.9fr;
  gap: 14px;
  margin-top: 14px;
}

.kk-ui-box {
  padding: 16px;
  background: #fff;
  border: 1px solid #e0e9f7;
  border-radius: var(--kk-radius);
}

.kk-box-title {
  color: var(--kk-heading);
  font-size: 15px;
  font-weight: 850;
  margin-bottom: 12px;
}

.kk-schedule-row,
.kk-alert-row {
  display: grid;
  grid-template-columns: 62px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-top: 1px solid #eef3fb;
  font-size: 13px;
}

.kk-schedule-row:first-of-type,
.kk-alert-row:first-of-type {
  border-top: 0;
}

.kk-time {
  color: var(--kk-muted);
  font-weight: 800;
}

.kk-tag {
  color: var(--kk-primary-dark);
  background: #edf5ff;
  border-radius: 999px;
  padding: 5px 8px;
  font-size: 11px;
  font-weight: 800;
}

.kk-alert-row {
  grid-template-columns: 1fr auto;
}

.kk-hero-slider {
  position: relative;
}

.kk-hero-slide {
  display: none;
}

.kk-hero-slide.active {
  display: block;
}

.kk-hero-mini {
  min-height: 450px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.kk-hero-slider-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 16px;
}

.kk-slider {
  position: relative;
  overflow: hidden;
  background: #fff;
  border-top: 1px solid var(--kk-line);
  border-bottom: 1px solid var(--kk-line);
}

.kk-slider-shell {
  position: relative;
  padding: 26px;
  background: #fff;
  border: 1px solid var(--kk-line);
  border-radius: 12px;
  box-shadow: 0 16px 36px rgba(19, 34, 56, 0.07);
}

.kk-slide {
  display: none;
  min-height: 290px;
}

.kk-slide.active {
  display: block;
}

.kk-slide-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 28px;
  align-items: center;
}

.kk-slide h2 {
  color: var(--kk-heading);
  font-weight: 850;
}

.kk-mini-screen {
  padding: 18px;
  background: #f7f9fc;
  border: 1px solid #dfe7f2;
  border-radius: 10px;
}

.kk-mini-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.kk-mini-field {
  height: 36px;
  background: #fff;
  border: 1px solid #e1e8f3;
  border-radius: 8px;
}

.kk-mini-table {
  display: grid;
  gap: 8px;
}

.kk-mini-row {
  display: grid;
  grid-template-columns: 1fr 0.55fr 0.35fr;
  gap: 10px;
  align-items: center;
  min-height: 42px;
  padding: 8px 10px;
  background: #fff;
  border: 1px solid #e7edf6;
  border-radius: 8px;
}

.kk-mini-row span {
  color: var(--kk-muted);
  font-size: 12px;
}

.kk-mini-row strong {
  color: var(--kk-heading);
  font-size: 13px;
}

.kk-slider-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 20px;
}

.kk-slider-dots {
  display: flex;
  gap: 8px;
}

.kk-slider-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  background: #c8d4e4;
  border: 0;
  border-radius: 50%;
}

.kk-slider-dot.active {
  background: var(--kk-primary);
}

.kk-slider-arrows {
  display: flex;
  gap: 8px;
}

.kk-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  color: var(--kk-heading);
  background: #fff;
  border: 1px solid var(--kk-line);
  border-radius: 50%;
}

.kk-icon-btn:hover {
  color: var(--kk-primary);
  background: var(--kk-soft);
}

.kk-page-hero {
  padding: 72px 0 56px;
  background: linear-gradient(135deg, #eef6ff, #ffffff 54%, #effaf5);
  border-bottom: 1px solid var(--kk-line);
}

.kk-soft-section {
  background: #ffffff;
  border-top: 1px solid var(--kk-line);
  border-bottom: 1px solid var(--kk-line);
}

.kk-card {
  height: 100%;
  padding: 26px;
  background: var(--kk-surface);
  border: 1px solid var(--kk-line);
  border-radius: var(--kk-radius);
  box-shadow: 0 14px 30px rgba(19, 34, 56, 0.06);
}

.kk-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  color: var(--kk-primary);
  background: var(--kk-soft);
  border-radius: 8px;
  font-size: 22px;
  margin-bottom: 18px;
}

.kk-card h2,
.kk-card h3 {
  color: var(--kk-heading);
  font-weight: 850;
  letter-spacing: 0;
}

.kk-card p,
.kk-muted {
  color: var(--kk-muted);
}

.kk-band {
  color: #fff;
  background:
    linear-gradient(135deg, rgba(19, 34, 56, 0.96), rgba(21, 63, 146, 0.96)),
    #132238;
}

.kk-band h2,
.kk-band h3,
.kk-band p {
  color: #fff;
}

.kk-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.kk-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--kk-muted);
}

.kk-list i {
  color: var(--kk-accent);
  margin-top: 2px;
}

.kk-sector-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 14px;
}

.kk-sector {
  align-self: start;
  min-height: 74px;
  padding: 18px;
  color: var(--kk-heading);
  background: #f7f9fc;
  border: 1px solid var(--kk-line);
  border-radius: var(--kk-radius);
  font-weight: 800;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.kk-sector:not(details) {
  display: flex;
  align-items: center;
  gap: 12px;
}

.kk-sector[open] {
  background: #ffffff;
  border-color: rgba(29, 95, 215, 0.28);
  box-shadow: 0 16px 34px rgba(18, 38, 63, 0.08);
}

.kk-sector summary {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  list-style: none;
}

.kk-sector summary::-webkit-details-marker {
  display: none;
}

.kk-sector summary::after {
  content: "\F282";
  margin-left: auto;
  color: var(--kk-primary);
  font-family: bootstrap-icons;
  font-size: 14px;
  font-weight: 400;
  transition: transform 0.2s ease;
}

.kk-sector[open] summary::after {
  transform: rotate(180deg);
}

.kk-sector i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  color: var(--kk-primary);
  background: #eaf3ff;
  border-radius: 8px;
}

.kk-sector-detail {
  display: block;
  overflow: visible;
  padding-top: 14px;
  margin-top: 14px;
  border-top: 1px solid var(--kk-line);
}

.kk-sector-detail p {
  margin: 0;
  color: #425d7b;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.55;
}

.kk-pricing {
  position: relative;
}

.kk-pricing .kk-card.featured {
  border-color: rgba(29, 95, 215, 0.42);
  box-shadow: 0 26px 55px rgba(29, 95, 215, 0.14);
}

.kk-price-label {
  display: inline-flex;
  color: #08573d;
  background: #dcf7ec;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 850;
}

.kk-form-control {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  color: var(--kk-text);
  background: #fff;
  border: 1px solid var(--kk-line);
  border-radius: 8px;
}

.kk-form-control:focus {
  outline: 3px solid rgba(29, 95, 215, 0.14);
  border-color: var(--kk-primary);
}

.kk-footer {
  padding: 56px 0 28px;
  color: #b9c7dd;
  background: #101d31;
}

.kk-footer h3,
.kk-footer h4 {
  color: #fff;
}

.kk-footer a {
  color: #d8e5f7;
}

.kk-footer a:hover {
  color: #fff;
}

.kk-footer .kk-btn-ghost {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.22);
}

.kk-footer .kk-btn-ghost:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.34);
}

.kk-footer .kk-btn-primary {
  color: #ffffff;
  background: var(--kk-primary);
}

.kk-footer ul {
  display: grid;
  gap: 9px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.kk-footer-bottom {
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 14px;
}

@media (max-width: 1199px) {
  .kk-dashboard {
    grid-template-columns: 1fr;
  }

  .kk-sidebar {
    display: none;
  }
}

@media (max-width: 991px) {
  .kk-section {
    padding: 64px 0;
  }

  .kk-stat-grid,
  .kk-ui-grid,
  .kk-trust-row,
  .kk-sector-grid,
  .kk-slide-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 575px) {
  .kk-hero h1,
  .kk-page-hero h1 {
    font-size: 36px;
  }

  .kk-hero-actions,
  .kk-header-actions {
    width: 100%;
  }

  .kk-btn {
    width: 100%;
  }

  .kk-stat-grid,
  .kk-ui-grid,
  .kk-trust-row,
  .kk-sector-grid,
  .kk-slide-grid {
    grid-template-columns: 1fr;
  }

  .kk-main-ui {
    padding: 14px;
  }

  .kk-ui-header,
  .kk-schedule-row {
    grid-template-columns: 1fr;
  }

  .kk-schedule-row {
    display: grid;
  }
}
