/* ==========================================================================
   About page — KloudKradle brand layout
   ========================================================================== */

.kk-about {
  --kk-about-pad-y: clamp(56px, 8vw, 96px);
  color: var(--kk-navy);
  background: var(--kk-white);
  overflow-x: clip;
}

.kk-about h2,
.kk-about h3,
.kk-about .kk-about-display {
  font-family: var(--kk-font-heading);
  font-weight: 700;
  margin: 0;
}

.kk-about p,
.kk-about li {
  font-family: var(--kk-font-body);
  font-size: 16px;
  line-height: 26px;
  color: var(--kk-navy);
  margin: 0;
}

.kk-about .kk-about-lead {
  font-size: 18px;
  line-height: 30px;
  color: var(--kk-slate);
  max-width: 38rem;
}

.kk-about .kk-about-kicker {
  display: inline-block;
  font-family: var(--kk-font-heading);
  font-weight: 700;
  font-size: 13px;
  line-height: 20px;
  letter-spacing: 0.02em;
  color: var(--kk-blue);
  margin-bottom: 12px;
}

/* ----- Intro ----- */
.kk-about-intro {
  position: relative;
  padding: var(--kk-about-pad-y) 0 calc(var(--kk-about-pad-y) + 24px);
  background:
    radial-gradient(120% 80% at 85% 0%, rgba(29, 117, 189, 0.12) 0%, transparent 55%),
    linear-gradient(180deg, #f7fcfe 0%, var(--kk-sky) 48%, #f3fafc 100%);
}

.kk-about-intro::before {
  content: "";
  position: absolute;
  width: 22vmin;
  height: 7vmin;
  top: -2vmin;
  right: -6vmin;
  background: rgba(2, 139, 229, 0.22);
  border-radius: 999px;
  transform: rotate(45deg);
  pointer-events: none;
}

.kk-about-intro::after {
  content: "";
  position: absolute;
  width: 18vmin;
  height: 6vmin;
  bottom: 8%;
  left: -5vmin;
  background: rgba(2, 139, 229, 0.14);
  border-radius: 999px;
  transform: rotate(45deg);
  pointer-events: none;
}

.kk-about-intro .container {
  position: relative;
  z-index: 1;
}

.kk-about-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.kk-about-brand {
  font-family: var(--kk-font-heading);
  font-weight: 800;
  font-size: clamp(40px, 5.5vw, 56px);
  line-height: 1.1;
  color: var(--kk-navy);
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}

.kk-about-display {
  font-weight: 800;
  font-size: clamp(28px, 3.4vw, 36px);
  line-height: 1.25;
  color: var(--kk-navy);
  margin-bottom: 18px;
  max-width: 16ch;
}

.kk-about-intro .kk-about-lead {
  margin-bottom: 28px;
}

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

.kk-about-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 6px;
  font-family: var(--kk-font-heading);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.02em;
  text-decoration: none !important;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.kk-about-btn-primary {
  background: var(--kk-blue);
  color: var(--kk-white) !important;
  border: 1.5px solid var(--kk-blue);
}

.kk-about-btn-primary:hover {
  background: var(--kk-blue-hover);
  border-color: var(--kk-blue-hover);
  color: var(--kk-white) !important;
  transform: translateY(-2px);
}

.kk-about-btn-secondary {
  background: transparent;
  color: var(--kk-blue) !important;
  border: 1.5px solid var(--kk-blue);
}

.kk-about-btn-secondary:hover {
  background: var(--kk-sky);
  color: var(--kk-blue-hover) !important;
  transform: translateY(-2px);
}

/* Visual mosaic */
.kk-about-visual {
  position: relative;
  min-height: 420px;
}

.kk-about-visual-frame {
  position: absolute;
  inset: 24px 18px 18px 48px;
  border-radius: 18px;
  background: var(--kk-navy);
  overflow: hidden;
  box-shadow: 0 28px 60px rgba(11, 37, 64, 0.18);
  animation: kk-about-rise 0.9s ease both;
}

.kk-about-visual-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  opacity: 0.92;
}

.kk-about-visual-chip {
  position: absolute;
  left: 0;
  top: 48px;
  z-index: 2;
  width: min(210px, 48%);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #D5DDE3;
  background: var(--kk-white);
  box-shadow: 0 16px 36px rgba(11, 37, 64, 0.12);
  animation: kk-about-rise 1s ease 0.15s both;
}

.kk-about-visual-chip img {
  display: block;
  width: 100%;
  height: auto;
}

.kk-about-visual-mark {
  position: absolute;
  right: 0;
  bottom: 28px;
  z-index: 2;
  width: 96px;
  height: 96px;
  border-radius: 16px;
  background: var(--kk-white);
  border: 1px solid #D5DDE3;
  display: grid;
  place-items: center;
  box-shadow: 0 14px 32px rgba(11, 37, 64, 0.12);
  animation: kk-about-rise 1s ease 0.28s both;
}

.kk-about-visual-mark img {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

/* ----- Proof strip ----- */
.kk-about-proof {
  padding: 28px 0;
  background: var(--kk-navy);
  color: var(--kk-white);
}

.kk-about-proof-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px 28px;
}

.kk-about-proof-item {
  text-align: left;
  padding-right: 16px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.kk-about-proof-item:last-child {
  border-right: none;
}

.kk-about-proof-item strong {
  display: block;
  font-family: var(--kk-font-heading);
  font-weight: 800;
  font-size: 32px;
  line-height: 40px;
  color: var(--kk-white);
  margin-bottom: 4px;
}

.kk-about-proof-item span {
  display: block;
  font-family: var(--kk-font-body);
  font-size: 13px;
  line-height: 20px;
  color: rgba(255, 255, 255, 0.78);
}

.kk-about-proof-item .kk-about-proof-accent {
  color: var(--kk-cyan);
}

/* ----- Story ----- */
.kk-about-story {
  padding: var(--kk-about-pad-y) 0;
  background: var(--kk-white);
}

.kk-about-story-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}

.kk-about-story h2 {
  font-size: 30px;
  line-height: 38px;
  color: var(--kk-navy);
  margin-bottom: 16px;
  max-width: 18ch;
}

.kk-about-story .kk-about-lead {
  margin-bottom: 0;
}

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

.kk-about-points li {
  position: relative;
  padding: 18px 20px 18px 22px;
  border-left: 4px solid var(--kk-blue);
  background: var(--kk-sky);
  border-radius: 0 8px 8px 0;
  transition: background 0.25s ease, transform 0.25s ease;
}

.kk-about-points li:hover {
  background: #f2fbfe;
  transform: translateX(4px);
}

.kk-about-points strong {
  display: block;
  font-family: var(--kk-font-heading);
  font-weight: 700;
  font-size: 16px;
  line-height: 24px;
  color: var(--kk-navy);
  margin-bottom: 4px;
}

.kk-about-points span {
  color: var(--kk-slate);
  font-size: 15px;
  line-height: 24px;
}

/* ----- Vision ----- */
.kk-about-vision {
  position: relative;
  padding: clamp(64px, 9vw, 100px) 0;
  background:
    linear-gradient(120deg, rgba(11, 37, 64, 0.96) 0%, rgba(11, 37, 64, 0.88) 50%, rgba(29, 117, 189, 0.82) 100%),
    var(--kk-navy);
  overflow: hidden;
}

.kk-about-vision::before {
  content: "";
  position: absolute;
  width: 20vmin;
  height: 6vmin;
  top: -1vmin;
  left: -4vmin;
  background: rgba(23, 225, 249, 0.28);
  border-radius: 999px;
  transform: rotate(45deg);
  pointer-events: none;
}

.kk-about-vision .container {
  position: relative;
  z-index: 1;
  max-width: 820px;
  text-align: center;
}

.kk-about-vision .kk-about-kicker {
  color: var(--kk-cyan);
}

.kk-about-vision h2 {
  font-weight: 800;
  font-size: clamp(28px, 3.6vw, 36px);
  line-height: 1.3;
  color: var(--kk-white);
  margin-bottom: 16px;
}

.kk-about-vision p {
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
  line-height: 30px;
  max-width: 40rem;
  margin: 0 auto;
}

/* ----- Mission ----- */
.kk-about-mission {
  padding: var(--kk-about-pad-y) 0;
  background: linear-gradient(180deg, var(--kk-sky) 0%, var(--kk-white) 100%);
}

.kk-about-mission-head {
  max-width: 640px;
  margin: 0 auto 40px;
  text-align: center;
}

.kk-about-mission-head h2 {
  font-size: 30px;
  line-height: 38px;
  color: var(--kk-navy);
  margin-bottom: 12px;
}

.kk-about-mission-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.kk-about-mission-item {
  padding: 8px 4px 8px 0;
}

.kk-about-mission-item .kk-about-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--kk-blue);
  color: var(--kk-white);
  font-family: var(--kk-font-heading);
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 16px;
}

.kk-about-mission-item h3 {
  font-size: 22px;
  line-height: 30px;
  color: var(--kk-blue);
  margin-bottom: 10px;
}

.kk-about-mission-item p {
  color: var(--kk-slate);
}

/* ----- Principles ----- */
.kk-about-principles {
  padding: 0 0 var(--kk-about-pad-y);
  background: var(--kk-white);
}

.kk-about-principles-head {
  margin-bottom: 32px;
}

.kk-about-principles-head h2 {
  font-size: 30px;
  line-height: 38px;
  color: var(--kk-navy);
  max-width: 16ch;
}

.kk-about-principles-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 36px;
  border-top: 1px solid #D5DDE3;
  padding-top: 32px;
}

.kk-about-principle h3 {
  font-size: 22px;
  line-height: 30px;
  color: var(--kk-blue);
  margin-bottom: 10px;
}

.kk-about-principle p {
  color: var(--kk-slate);
}

/* ----- CTA ----- */
.kk-about-cta {
  padding: 0 0 var(--kk-about-pad-y);
  background: var(--kk-white);
}

.kk-about-cta-inner {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  padding: clamp(36px, 5vw, 56px);
  background: linear-gradient(135deg, var(--kk-blue) 0%, #155f9c 48%, var(--kk-navy) 100%);
  box-shadow: 0 24px 48px rgba(11, 37, 64, 0.18);
}

.kk-about-cta-inner::after {
  content: "";
  position: absolute;
  width: 26vmin;
  height: 8vmin;
  right: -8vmin;
  bottom: -2vmin;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  transform: rotate(45deg);
  pointer-events: none;
}

.kk-about-cta-inner > * {
  position: relative;
  z-index: 1;
}

.kk-about-cta h2 {
  font-weight: 800;
  font-size: clamp(26px, 3.2vw, 32px);
  line-height: 1.25;
  color: var(--kk-white);
  margin-bottom: 12px;
  max-width: 18ch;
}

.kk-about-cta p {
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 24px;
  max-width: 36rem;
}

.kk-about-cta .kk-about-btn-primary {
  background: var(--kk-white);
  border-color: var(--kk-white);
  color: var(--kk-navy) !important;
}

.kk-about-cta .kk-about-btn-primary:hover {
  background: var(--kk-sky);
  border-color: var(--kk-sky);
  color: var(--kk-navy) !important;
}

.kk-about-cta .kk-about-btn-secondary {
  border-color: rgba(255, 255, 255, 0.55);
  color: var(--kk-white) !important;
}

.kk-about-cta .kk-about-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--kk-white) !important;
}

/* Soft link into footer sky bridge */
body.saas-classic .kk-about-cta {
  padding-bottom: 48px;
  margin-bottom: 0;
  background: linear-gradient(180deg, var(--kk-white) 0%, var(--kk-sky) 100%);
}

@keyframes kk-about-rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.kk-about-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.kk-about-reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 991.98px) {
  .kk-about-intro-grid,
  .kk-about-story-grid {
    grid-template-columns: 1fr;
  }

  .kk-about-display {
    max-width: none;
  }

  .kk-about-visual {
    min-height: 360px;
    order: -1;
  }

  .kk-about-visual-frame {
    inset: 16px 8px 8px 36px;
  }

  .kk-about-proof-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .kk-about-proof-item:nth-child(2) {
    border-right: none;
  }

  .kk-about-mission-grid,
  .kk-about-principles-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575.98px) {
  .kk-about-proof-grid {
    grid-template-columns: 1fr;
  }

  .kk-about-proof-item {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    padding: 0 0 16px;
  }

  .kk-about-proof-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  .kk-about-visual {
    min-height: 300px;
  }

  .kk-about-visual-mark {
    width: 72px;
    height: 72px;
  }

  .kk-about-visual-mark img {
    width: 48px;
    height: 48px;
  }
}
