@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;600;700;800&family=Inter:wght@400;500;600;700&family=IBM+Plex+Mono:wght@500;600&display=swap');

:root {
  --ink: #0B1440;
  --ink-soft: #4E5578;
  --ink-faint: #8991B5;
  --bg: #F5F7FD;
  --card: #FFFFFF;
  --line: #E4E9F6;
  --line-strong: #CBD4EE;

  --konnect-1: #2D7CF6;
  --konnect-2: #8B5CF6;
  --aprov-1: #0FB6C9;
  --aprov-2: #2D7CF6;
  --master-1: #8B5CF6;
  --master-2: #E7A93C;

  --light_blue: #5a6acf;

  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;

  --shadow-sm: 0 1px 2px rgba(11,20,64,0.04), 0 1px 1px rgba(11,20,64,0.03);
  --shadow-md: 0 12px 32px -12px rgba(11,20,64,0.18);
  --shadow-lg: 0 24px 60px -20px rgba(11,20,64,0.28);
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, .h1, .h2, .h3, .h4 {
  font-family: 'Sora', 'Inter', sans-serif;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.08;
}

.light_blue{
    color: var(--light_blue)
}

a { color: inherit; text-decoration: none; }
a:hover { text-decoration: none; color: inherit; }

/* ---------- Typography & Utility ---------- */
.eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 2px;
  background: currentColor;
  display: inline-block;
  border-radius: 2px;
}

.bg_gray { background-color: var(--bg); }
.dark_blue { color: var(--ink); }
.gray_soft { color: var(--ink-soft); }

.hero_heading {
  font-size: clamp(34px, 4.6vw, 54px);
  margin-bottom: 22px;
}
.hero_heading em, .hero_heading span.gradient-text {
  font-style: normal;
  background: linear-gradient(100deg, var(--konnect-1), var(--konnect-2) 55%, var(--master-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.desc, .lede {
  font-size: 17.5px;
  color: var(--ink-soft);
  margin-bottom: 34px;
}

.tagline { font-size: 18px; font-weight: 600; color: var(--ink-soft); margin-bottom: 14px; }

/* ---------- Background texture ---------- */
.grain {
  position: fixed; inset: 0; pointer-events: none; z-index: 0; opacity: 0.5;
  background-image: radial-gradient(circle at 1px 1px, rgba(11,20,64,0.045) 1px, transparent 0);
  background-size: 26px 26px;
  margin-top : 100px;
}

/* ---------- Buttons & Pills ---------- */
.pill-link {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 20px; border-radius: 999px;
  background: var(--card); border: 1px solid var(--line-strong);
  font-weight: 600; font-size: 14px; color: var(--ink);
  box-shadow: var(--shadow-sm);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.pill-link:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--ink-faint); }
.pill-link .dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.pill-link.p-konnect .dot { background: linear-gradient(135deg,var(--konnect-1),var(--konnect-2)); }
.pill-link.p-aprov .dot { background: linear-gradient(135deg,var(--aprov-1),var(--aprov-2)); }
.pill-link.p-master .dot { background: linear-gradient(135deg,var(--master-1),var(--master-2)); }

.btn-custom {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 24px; border-radius: 12px; font-weight: 600; font-size: 14.5px;
  box-shadow: var(--shadow-sm);
  transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
  border: none;
}
.btn-custom:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); color: #fff; }
.btn-konnect { background: linear-gradient(100deg,var(--konnect-1),var(--konnect-2)); color: #fff; }
.btn-aprov { background: linear-gradient(100deg,var(--aprov-1),var(--aprov-2)); color: #fff; }
.btn-master { background: linear-gradient(100deg,var(--master-1),var(--master-2)); color: #fff; }

.badge-custom {
  font-family: 'IBM Plex Mono',monospace; font-size: 12px; font-weight: 600;
  padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-strong);
  background: var(--card); color: var(--ink-soft); letter-spacing: 0.02em;
  margin-right: 8px; margin-bottom: 8px; display: inline-block;
}

/* ---------- Lists ---------- */
.check-list { list-style: none; padding-left: 0; }
.check-list li {
  display: flex; gap: 12px; padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px; color: var(--ink-soft);
}
.check-list li:last-child { border-bottom: none; }
.check-list .tick {
  flex: none; width: 20px; height: 20px; border-radius: 6px; margin-top: 1px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 12px; font-weight: bold;
}
.tick.konnect { background: linear-gradient(135deg,var(--konnect-1),var(--konnect-2)); }
.tick.aprov { background: linear-gradient(135deg,var(--aprov-1),var(--aprov-2)); }
.tick.master { background: linear-gradient(135deg,var(--master-1),var(--master-2)); }

/* ---------- Steps ---------- */
.steps-container { display: grid; gap: 20px; }
.step {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-md);
  padding: 24px; position: relative; overflow: hidden; height: 100%;
}
.step .step-label {
  font-family: 'IBM Plex Mono',monospace; font-size: 11px; font-weight: 600; letter-spacing: .1em;
  color: var(--konnect-1); text-transform: uppercase; margin-bottom: 10px;
}
.step h4 { font-size: 16.5px; margin-bottom: 12px; }
.step ul { display: flex; flex-direction: column; gap: 8px; list-style: none; padding-left: 0; }
.step ul li { font-size: 13.5px; color: var(--ink-soft); padding-left: 16px; position: relative; }
.step ul li::before { content: "—"; position: absolute; left: 0; color: var(--ink-faint); }

/* ---------- Hub Diagram ---------- */
.hub { position: relative; aspect-ratio: 1/1; width: 100%; max-width: 460px; margin: 0 auto; }
.hub svg { width: 100%; height: 100%; overflow: visible; }
.hub-line { stroke: var(--line-strong); stroke-width: 1.6; fill: none; }
.hub-line.animated { stroke-dasharray: 6 7; animation: dash 22s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -500; } }

.hub-core {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 118px; height: 118px; border-radius: 50%;
  background: var(--card); border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-lg); display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 2px; z-index: 3;
}
.hub-core b { font-family: 'Sora',sans-serif; font-size: 15px; }
.hub-core span { font-family: 'IBM Plex Mono',monospace; font-size: 9px; color: var(--ink-faint); letter-spacing: .08em; }

.hub-node {
  position: absolute; width: 104px; padding: 12px 10px;
  border-radius: 14px; background: var(--card);
  border: 1px solid var(--line); box-shadow: var(--shadow-md);
  text-align: center; z-index: 2; animation: float 7s ease-in-out infinite;
}
.hub-node .ic { width: 30px; height: 30px; border-radius: 9px; margin: 0 auto 8px; position: relative; }
.hub-node .ic::after {
  content: ""; position: absolute; inset: 0; margin: auto; width: 42%; height: 42%;
  border: 2px solid rgba(255,255,255,0.92); border-radius: 3px;
  border-right-color: transparent; border-bottom-color: transparent; transform: rotate(45deg);
}
.hub-node b { display: block; font-family: 'Sora',sans-serif; font-size: 12.5px; }
.hub-node.n-konnect { top: 2%; left: 50%; transform: translateX(-50%); animation-delay: 0s; animation-name: floatX; }
.hub-node.n-konnect .ic { background: linear-gradient(135deg,var(--konnect-1),var(--konnect-2)); }
.hub-node.n-aprov { bottom: 8%; left: 0%; animation-delay: 1.4s; }
.hub-node.n-aprov .ic { background: linear-gradient(135deg,var(--aprov-1),var(--aprov-2)); }
.hub-node.n-master { bottom: 8%; right: 0%; animation-delay: 2.8s; }
.hub-node.n-master .ic { background: linear-gradient(135deg,var(--master-1),var(--master-2)); }

@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes floatX { 0%,100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(-8px); } }

/* ---------- Aprov Phone Mock ---------- */
.phone-mock {
  width: 250px; margin: 0 auto; background: var(--ink);
  border-radius: 34px; padding: 10px; box-shadow: var(--shadow-lg);
}
.phone-screen {
  background: linear-gradient(180deg,#fff, #F3F6FF);
  border-radius: 24px; overflow: hidden; min-height: 400px;
  display: flex; flex-direction: column;
}
.phone-bar {
  background: linear-gradient(100deg,var(--aprov-1),var(--aprov-2));
  color: #fff; padding: 16px 16px 22px; font-size: 12px;
}
.phone-bar b { display: block; font-family: 'Sora',sans-serif; font-size: 15px; margin-top: 4px; }
.phone-body { padding: 14px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.approval-card {
  background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px;
  box-shadow: var(--shadow-sm);
}
.approval-card .top { display: flex; justify-content: space-between; font-size: 10.5px; color: var(--ink-faint); margin-bottom: 6px; }
.approval-card .title { font-size: 12.5px; font-weight: 600; margin-bottom: 10px; color: var(--ink); }
.approval-card .actions { display: flex; gap: 8px; }
.approval-card .actions span { flex: 1; text-align: center; padding: 7px 0; border-radius: 8px; font-size: 11px; font-weight: 600; }
.approval-card .approve { background: #E6F7EF; color: #1B8A56; }
.approval-card .reject { background: #FDEAEE; color: #C2314F; }
.skeleton { height: 8px; border-radius: 4px; background: var(--line); }

/* ---------- Master Merge Diagram ---------- */
.merge-diagram {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm); padding: 36px 24px; position: relative;
  min-height: 340px; display: flex; align-items: center; justify-content: center;
  width: 100%;
}
.merge-diagram svg { width: 100%; max-width: 360px; height: auto; }
.src-chip { font-family: 'IBM Plex Mono',monospace; font-size: 10px; font-weight: 600; fill: var(--ink-soft); }

/* ========== Suite Summary Section ========== */
.suite-section {
  background-color: var(--ink);
  color: #fff;
  padding: 88px 0;
  position: relative;
  overflow: hidden;
}
.suite-glow { position: absolute; border-radius: 50%; pointer-events: none; filter: blur(10px); }
.suite-glow--purple {
  top: -40%; right: -10%; width: 60%; padding-bottom: 60%;
  background: radial-gradient(circle, rgba(139,92,246,0.35), transparent 70%);
}
.suite-glow--blue {
  bottom: -40%; left: -10%; width: 55%; padding-bottom: 55%;
  background: radial-gradient(circle, rgba(45,124,246,0.32), transparent 70%);
}
.suite-eyebrow {
  font-family: 'IBM Plex Mono', 'Courier New', monospace;
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: #B9C2F0; display: flex; align-items: center; gap: 10px;
}
.suite-eyebrow__line { display: inline-block; width: 22px; height: 2px; background: #B9C2F0; border-radius: 2px; }
.suite-heading { color: #fff; font-weight: 700; font-size: clamp(26px,3.4vw,36px); line-height: 1.15; max-width: 680px; letter-spacing: -0.02em; }
.suite-lede { color: #B9C2F0; max-width: 560px; font-size: 15.5px; line-height: 1.6; }
.suite-tagline { font-family: 'Sora', sans-serif; font-weight: 700; font-size: clamp(20px,2.6vw,30px); line-height: 1.3; color: #fff; }
.suite-tagline__konnect { color: var(--konnect-1); }
.suite-tagline__aprov { color: var(--aprov-1); }
.suite-tagline__master { color: var(--master-2); }
.suite-table { background: rgba(255,255,255,0.12); border-radius: 24px; overflow: hidden; }
.suite-cell { background: #101B4D; padding: 28px 24px; height: 100%; }
.suite-cell__title { color: #fff; font-size: 16px; font-weight: 700; margin-bottom: 8px; font-family: 'Sora', sans-serif; }
.suite-cell__desc { color: #AEB7E6; font-size: 13.5px; line-height: 1.6; margin-bottom: 0; }
.suite-dot { width: 10px; height: 10px; border-radius: 50%; margin-bottom: 16px; }
.suite-dot--konnect { background: linear-gradient(135deg, var(--konnect-1), var(--konnect-2)); }
.suite-dot--aprov { background: linear-gradient(135deg, var(--aprov-1), var(--aprov-2)); }
.suite-dot--master { background: linear-gradient(135deg, var(--master-1), var(--master-2)); }
.suite-table > [class*="col-"] + [class*="col-"] .suite-cell { border-left: 1px solid rgba(255,255,255,0.12); }
@media (max-width: 767px) {
  .suite-table > [class*="col-"] + [class*="col-"] .suite-cell { border-left: none; border-top: 1px solid rgba(255,255,255,0.12); }
}

/* Base structural adjustments for bootstrap */
section { position: relative; z-index: 1; padding: 60px 0; border-bottom: 1px solid var(--line); }
section.hero-section { border-bottom: none; padding: 60px 0 60px; margin-top:40px; }
section:last-of-type { border-bottom: none; }
