/* Konekt: presentation polish of the existing published homepage.
   No content, interaction, theme, animation, route or product claim is replaced.
   The existing purple/navy identity and section compositions remain. */

/* Readable foregrounds in both of the existing themes. */
:root {
  --text-secondary: #b8bace;
  --text-tertiary: #9a9fb7;
}
.light-mode {
  --text-secondary: #53566d;
  --text-tertiary: #6c7188;
}
body { text-rendering: optimizeLegibility; }
::selection { color: #fff; background: #744cc5; }
input, textarea { caret-color: #af8af2; }
.light-mode input, .light-mode textarea { caret-color: #6b35e8; }
a:focus-visible, button:focus-visible, input:focus-visible,
textarea:focus-visible, select:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid #bf9df5;
  outline-offset: 4px;
}
.light-mode a:focus-visible, .light-mode button:focus-visible,
.light-mode input:focus-visible, .light-mode textarea:focus-visible,
.light-mode select:focus-visible, .light-mode [tabindex]:focus-visible {
  outline-color: #6531cc;
}

/* Keep the genuine mark and every existing control; correct weak foregrounds. */
.logo-text {
  background: none;
  color: #d0b5ff;
  -webkit-text-fill-color: #d0b5ff;
}
.light-mode .logo-text { color: #6130c8; -webkit-text-fill-color: #6130c8; }
.nav-links a, .lang-current { color: #c6c6da; }
.nav-links a:hover { color: #fff; }
.light-mode .nav-links a, .light-mode .lang-current { color: #4c4f68; }
.light-mode .nav-links a:hover { color: #29223a; }
.nav-cta .btn-outline { color: #e5e1f0; border-color: rgba(211,194,244,.28); }
.light-mode .nav-cta .btn-outline { color: #362b4a; border-color: rgba(94,59,151,.24); }
.announcement-bar { color: #c2c8de; }
.announcement-content { line-height: 1.5; }
.nav button[onclick="toggleTheme()"] { color: #c8c3db; }
.light-mode .nav button[onclick="toggleTheme()"] { color: #524963; }

/* More decisive existing hero, with the same centred copy, CTA pair and demo. */
.hero { padding-top: 151px; padding-bottom: 78px; }
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 3.65vw, 54px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.035em;
  max-width: 780px;
  margin-bottom: 22px;
  text-wrap: balance;
}
.hero h1 .gradient-text { color: #ba98ff; }
.hero-content > p {
  font-size: 18px;
  line-height: 1.7;
  max-width: 610px;
  margin-bottom: 27px;
  color: #c2c3d5;
}
.light-mode .hero-content > p { color: #54556c; }
.hero-badge {
  margin-bottom: 20px;
  color: #c8aafa;
  border-color: rgba(187,156,239,.24);
  font-size: 12px;
  letter-spacing: .01em;
}
.light-mode .hero-badge { color: #6234b5; }
.hero-ctas { gap: 14px; margin-bottom: 25px; }
.hero-ctas .btn { min-height: 50px; padding: 14px 25px; font-size: 14px; }
.hero-preview { margin-top: 36px; }
.hero-preview > .illustration-note { font-size: 12px; line-height: 1.7; }

/* Retain the purple action and all hover/motion behaviour; improve contrast. */
.btn-primary {
  background: linear-gradient(135deg, #6833d6, #7441dc);
  color: #fff;
  box-shadow: 0 4px 13px rgba(27,14,53,.24);
}
.btn-primary:hover { box-shadow: 0 7px 19px rgba(38,19,72,.3); }
.btn-secondary { border-color: rgba(196,178,226,.24); }
.light-mode .btn-secondary { border-color: rgba(91,63,138,.18); }

/* A shared spacing cadence, with each original composition left intact. */
.section { padding-top: 112px; padding-bottom: 112px; }
.section-header { margin-bottom: 48px; }
.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(31px, 3vw, 43px);
  line-height: 1.16;
  letter-spacing: -.03em;
  margin-bottom: 18px;
  text-wrap: balance;
}
.section-header p { line-height: 1.75; max-width: 650px; }
.three-panel-section { padding-top: 64px; padding-bottom: 88px; }
.three-panel-feature { padding-top: 54px; padding-bottom: 54px; }
.tp-title { letter-spacing: -.025em; line-height: 1.18; }
.tp-desc { line-height: 1.8; }
.tp-label, .tp-explore { color: #c0a2f5; }
.light-mode .tp-label, .light-mode .tp-explore { color: #6535ba; }
.illustration-note { color: #afb3ca; line-height: 1.7; }
.light-mode .illustration-note { color: #62647c; }
.editorial-label { color: #aeb2c9; }
.light-mode .editorial-label { color: #62647b; }
.feature-card h3, .validation-card h3 { line-height: 1.3; }
.feature-card p, .validation-card p { line-height: 1.75; }
.feature-card, .validation-card { border-color: rgba(185,172,216,.17); }
.light-mode .feature-card, .light-mode .validation-card { border-color: rgba(105,84,146,.14); }
.pricing .section-header { margin-bottom: 34px; }
.pricing-card { padding: 29px 25px; }
.pricing-name { letter-spacing: -.02em; }
.pricing-price, .stat-card .value { font-variant-numeric: tabular-nums; }
.pricing-desc { line-height: 1.65; }
.pricing-feature { line-height: 1.55; }
.price-billed { font-size: 12px !important; line-height: 1.6; }
.faq-question { line-height: 1.5; }
.faq-answer { line-height: 1.8; }
.contact .section-header { margin-bottom: 34px; }
.form-group label { margin-bottom: 9px; }
.form-group input, .form-group textarea { border-color: rgba(179,163,214,.25); }
.light-mode .form-group input, .light-mode .form-group textarea { border-color: rgba(105,84,146,.22); }
.kcb-home { padding-top: 78px; padding-bottom: 78px; }
.kcb-home h2 { line-height: 1.18; letter-spacing: -.025em; }
.kcb-home .kcb-card p { line-height: 1.75; }
.footer { border-top-color: rgba(176,160,209,.17); }
.footer-column a, .footer-links a { text-underline-offset: 4px; }

/* Decorative layers stay animated within their own surface. */
.bg-ambient { overflow: hidden; }
.bg-blob { opacity: .18; }
.hero-glow {
  width: min(900px, 80vw);
  background: radial-gradient(ellipse at center, rgba(107,53,232,.105), rgba(124,58,237,.045) 40%, transparent 70%);
}

@media (min-width: 768px) and (max-width: 1023px) {
  .hero h1 { font-size: 45px; }
  .section { padding-top: 88px; padding-bottom: 88px; }
}

@media (max-width: 767px) {
  .container { padding-left: 22px; padding-right: 22px; }
  .hero { padding-top: 174px; padding-bottom: 48px; }
  .hero h1 { font-size: clamp(31px, 8.5vw, 38px); line-height: 1.12; letter-spacing: -.03em; margin-bottom: 20px; }
  .hero-badge { margin-bottom: 21px; max-width: 100%; padding: 7px 12px; line-height: 1.65; }
  .hero-badge .i18n { font-size: 10px; }
  .hero-content > p { font-size: 15px; line-height: 1.75; max-width: 36ch; margin-bottom: 24px; }
  .hero-ctas { gap: 12px; margin-bottom: 23px; }
  .hero-ctas .btn { width: min(100%, 315px); min-height: 49px; padding: 13px 19px; font-size: 13px; }
  .hero-preview { margin-top: 29px; }
  .browser-window, .browser-content, .pipeline-preview { min-width: 0; max-width: 100%; }
  .browser-content { padding: 15px; }
  .dashboard-stats { gap: 11px; }
  .stat-card { min-width: 0; padding: 15px 11px; }
  .stat-card .label { font-size: 10px; line-height: 1.5; }
  .stat-card .value { font-size: 28px; }
  .pipeline-columns {
    min-width: 0;
    max-width: 100%;
    width: 100%;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    gap: 13px;
    padding-bottom: 13px;
    scrollbar-width: thin;
    scrollbar-color: #a589d2 rgba(146,125,185,.12);
  }
  .pipeline-column { flex: 0 0 205px; min-width: 0; }
  .section { padding-top: 66px; padding-bottom: 66px; }
  .section-header { margin-bottom: 30px; }
  .section-header h2 { font-size: 31px; line-height: 1.18; letter-spacing: -.025em; }
  .section-header p { font-size: 15px; line-height: 1.75; }
  .three-panel-section { padding-top: 36px; padding-bottom: 48px; }
  .three-panel-feature { padding-top: 35px; padding-bottom: 35px; gap: 25px; }
  .tp-title { font-size: 28px; }
  .tp-desc { font-size: 15px; }
  .pricing-card { padding: 26px 23px; }
  .faq-question { font-size: 15px; }
  .kcb-home { padding-top: 58px; padding-bottom: 58px; }
  .form-group input, .form-group textarea { font-size: 16px; }
}

/* Two independent pixel reviews: calm colour roles, less nested chrome.
   Existing content, nodes, motion, semantic states and composition stay. */
:root {
  --bg-primary: #10151f;
  --bg-secondary: #19212d;
  --bg-tertiary: #202a38;
  --bg-elevated: #263241;
  --text-primary: #f2f0eb;
  --text-secondary: #bac1cc;
  --text-tertiary: #a2abba;
}
body { background: #10151f; color: #f2f0eb; }
.light-mode {
  --bg-primary: #fafaf9;
  --bg-secondary: #f2f3f5;
  --bg-tertiary: #e9ecf0;
  --bg-elevated: #ffffff;
  --text-primary: #1b2330;
  --text-secondary: #505b6b;
  --text-tertiary: #657084;
}
.light-mode body { background: var(--bg-primary); color: var(--text-primary); }
.bg-blob { opacity: .045; background: linear-gradient(135deg, #607287, #3e5065); }
.hero-glow {
  background: radial-gradient(ellipse at center, rgba(111,135,161,.03), rgba(85,108,137,.012) 42%, transparent 70%);
}
.bg-grid { opacity: .12; }
.bg-noise { opacity: .015; }
.hero-network { opacity: .065; }
.hero-particles { opacity: .16; }
.hero-particles .particle { background: #a8b7ce; }
.light-mode .bg-blob { opacity: .025 !important; }
.hero h1 .gradient-text {
  background: linear-gradient(90deg, #f2f0eb, #ced5df, #f2f0eb);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #f2f0eb;
}
.light-mode .hero h1 .gradient-text {
  background-image: linear-gradient(90deg, #1b2330, #424d5b, #1b2330);
  color: #1b2330;
}
.hero h1 { letter-spacing: -.025em; }
.hero-content > p { color: #bac1cc; }
.light-mode .hero-content > p { color: #505b6b; }
.btn-primary {
  background: #f2f0eb;
  color: #151a27;
  border-color: #f2f0eb;
  box-shadow: 0 3px 10px rgba(0,0,0,.14);
}
.btn-primary:hover { background: #fff; color: #151a27; box-shadow: 0 5px 14px rgba(0,0,0,.18); }
.light-mode .btn-primary { background: #202a38; color: #fff; border-color: #202a38; }
.light-mode .btn-primary:hover { background: #303d50; color: #fff; }
.hero-ctas .btn { border-radius: 10px; }
.hero-ctas .btn-secondary {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-color: #67717f;
  color: #d8dce4;
  box-shadow: none;
}
.hero-ctas .btn-secondary:hover { background: rgba(220,226,236,.045); border-color: #98a2b0; }
.light-mode .hero-ctas .btn-secondary { color: #344052; border-color: #b0b7c1; }
.light-mode .hero-ctas .btn-secondary:hover { background: rgba(50,65,85,.035); border-color: #778499; }
.nav, .nav.scrolled {
  background: rgba(16,21,31,.97);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid rgba(211,220,233,.1);
  box-shadow: 0 3px 12px rgba(0,0,0,.06);
}
.light-mode .nav, .light-mode .nav.scrolled {
  background: rgba(250,250,249,.98);
  border-bottom-color: #e0e3e8;
  box-shadow: 0 2px 8px rgba(36,47,63,.025);
}
.announcement-bar { background: #171e2a; border-bottom-color: rgba(211,220,233,.08); }
.announcement-content { font-size: 12px; line-height: 1.5; }
.announcement-link { color: #e8e6df; text-underline-offset: 3px; }
.light-mode .announcement-bar { background: #eef0f3; border-bottom-color: #e0e3e8; }
.light-mode .announcement-bar, .light-mode .announcement-bar * { color: #4c596c; }
.light-mode .announcement-link { color: #28374c !important; }
.lang-current, .nav-cta .btn-outline {
  background: transparent;
  border-color: transparent;
  border-radius: 6px;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
}
.lang-current:hover, .nav-cta .btn-outline:hover { background: rgba(230,234,242,.045); }
.light-mode .lang-current:hover, .light-mode .nav-cta .btn-outline:hover { background: rgba(43,58,79,.045); }
.hero-badge, .light-mode .hero-badge.glass {
  background: transparent;
  border-color: transparent;
  border-radius: 7px;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  color: #b8c0cd;
  padding: 3px 8px;
}
.light-mode .hero-badge.glass { color: #596477; }
.hero-badge::after { background: linear-gradient(90deg, transparent, rgba(190,199,213,.15), transparent); }
.hero-badge .hero-badge-dot { background: #ad93d7; }
.hero-preview { display: flex; flex-direction: column; }
.hero-preview > .illustration-note {
  order: -1;
  width: 100%;
  max-width: 72ch;
  margin: 0 auto 16px;
  padding: 0 8px;
  color: #bdc5d2;
  font-size: 13px;
  line-height: 1.65;
}
.light-mode .hero-preview > .illustration-note { color: #596477; }
.browser-window.glass-card, .light-mode .browser-window.glass-card {
  background: #19212d;
  border: 1px solid #394351;
  border-radius: 14px;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: 0 12px 30px rgba(0,0,0,.19);
}
.browser-window.glass-card:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(0,0,0,.22); border-color: #637082; }
.browser-header { background: #19212d; padding-top: 9px; padding-bottom: 9px; border-bottom-color: #35404e; }
.browser-url { background: #202a38; color: #bbc4d2; border-radius: 6px; }
.browser-content { background: #19212d; }
.stat-card, .pipeline-card {
  background: #202a38;
  border-color: #3a4656;
  border-radius: 8px;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
}
.stat-card:hover { transform: translateY(-2px); border-color: #788799; box-shadow: 0 3px 9px rgba(0,0,0,.13); }
.stat-card::before { background: linear-gradient(90deg, #8a99ae, #c0cad8); }
.stat-card .label { color: #b9c3d1; }
.stat-card .value, .stat-card:hover .value {
  color: #f2f0eb;
  background: transparent;
  -webkit-text-fill-color: #f2f0eb;
}
.pipeline-column-header { background: #202a38; border-color: #3a4656; border-radius: 8px; }
.pipeline-preview h4, .pipeline-column-title, .pipeline-card-amount { color: #dce1e9; }
.light-mode .browser-window.glass-card { background: #f9fafb; border-color: #d7dce3; box-shadow: 0 12px 30px rgba(35,48,67,.07); }
.light-mode .browser-header, .light-mode .browser-content { background: #f9fafb; border-color: #e0e4ea; }
.light-mode .browser-url { background: #f0f2f5; color: #667184; }
.light-mode .stat-card, .light-mode .pipeline-card, .light-mode .pipeline-column-header { background: #f0f2f5; border-color: #dce1e8; }
.light-mode .stat-card .label { color: #586477; }
.light-mode .stat-card .value, .light-mode .stat-card:hover .value { color: #202a38; -webkit-text-fill-color: #202a38; }
.light-mode .pipeline-preview h4, .light-mode .pipeline-column-title, .light-mode .pipeline-card-amount { color: #344052; }

@media (max-width: 767px) {
  .announcement-content { display: block; font-size: 12px; line-height: 1.45; padding: 8px 16px; text-align: center; }
  .announcement-dot { margin-right: 5px; vertical-align: middle; }
  .announcement-link { margin-left: 5px; white-space: nowrap; }
  .hero { padding-top: 150px; }
  .hero-badge .i18n { font-size: 11px; }
  .hero-badge { margin-bottom: 18px; padding: 3px 0; }
  .hero h1 { letter-spacing: -.025em; }
  .hero-preview > .illustration-note { font-size: 12px; line-height: 1.65; padding: 0; margin-bottom: 15px; }
  .browser-content { padding: 13px; }
  .dashboard-stats { gap: 10px; }
  .stat-card { padding: 12px; }
  .stat-card .label { font-size: 11px; line-height: 1.5; }
  .stat-card .value { font-size: 27px; }
}

/* Carry the same restrained heading and label roles through existing sections. */
h1 .gradient-text, h2 .gradient-text, h3 .gradient-text,
.hero h1 .gradient-text, .light-mode h1 .gradient-text,
.light-mode h2 .gradient-text, .light-mode h3 .gradient-text,
.light-mode .hero h1 .gradient-text {
  background: none;
  color: inherit;
  -webkit-text-fill-color: currentColor;
}
.section-badge.glass, .light-mode .section-badge.glass {
  background: transparent;
  border-color: transparent;
  border-radius: 6px;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  color: var(--text-secondary);
}

