/*
 * KodlaGönder site additions.
 * Loaded after the theme (styles.css). Only styles NEW components and inner pages; the original homepage
 * sections keep their theme classes and inline styles untouched.
 * Values mirror the landing page: cards 16px radius + soft shadow, primary #2f57ef → #6366f1 gradients.
 */
:root {
  --kg-primary: #2f57ef;
  --kg-indigo: #6366f1;
  --kg-secondary: #b966e7;
  --kg-heading: #192335;
  --kg-body: #6b7385;
  --kg-muted: #6b7280;
  --kg-border: #e5e7eb;
  --kg-soft: #f8f9ff;
  --kg-success: #10b981;
  --kg-card-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  --kg-card-shadow-hover: 0 10px 40px rgba(47, 87, 239, 0.1);
  --kg-gradient: linear-gradient(135deg, #2f57ef 0%, #6366f1 100%);
}

/* ---------- Accessibility ---------- */
.kg-skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 10000;
  padding: 10px 18px;
  border-radius: 8px;
  background: var(--kg-primary);
  color: #fff;
  font-weight: 600;
  transition: top 0.2s ease;
}
.kg-skip-link:focus { top: 16px; color: #fff; }
main { display: block; }
:focus-visible { outline: 2px solid var(--kg-primary); outline-offset: 3px; }

/* ---------- Header: active item + language switch ---------- */
.rbt-header .mainmenu-nav .mainmenu > li.kg-active > a { color: var(--kg-primary); }
.rbt-header .mainmenu-nav .mainmenu > li > a .feather-chevron-down { font-size: 14px; margin-left: 2px; vertical-align: -1px; }
.rbt-header .header-right { display: flex; align-items: center; gap: 14px; }

.kg-lang-switch {
  display: inline-flex;
  align-items: center;
  padding: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(47, 87, 239, 0.15);
  box-shadow: 0 2px 10px rgba(47, 87, 239, 0.06);
}
.kg-lang-switch a {
  display: inline-block;
  min-width: 36px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
  color: var(--kg-body);
  transition: background 0.2s ease, color 0.2s ease;
}
.kg-lang-switch a:hover { color: var(--kg-primary); }
.kg-lang-switch a.is-active { background: var(--kg-gradient); color: #fff; }
.kg-lang-switch--block { display: flex; width: 100%; margin-bottom: 16px; }
.kg-lang-switch--block a { flex: 1; padding: 8px 10px; font-size: 14px; }

.popup-mobile-menu .kg-mobile-bottom { margin-top: auto; padding-top: 24px; }
.popup-mobile-menu .mainmenu .has-dropdown > .submenu { display: none; }
.popup-mobile-menu .mainmenu .has-dropdown > a.open + .submenu { display: block; }
body.kg-menu-open { overflow: hidden; }

/* ---------- Generic pill / labels ---------- */
.kg-pill {
  display: inline-block;
  color: var(--kg-primary);
  padding: 8px 20px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.kg-pill--light { background: rgba(255, 255, 255, 0.16); color: #fff; }
.kg-label {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--kg-primary);
}

/* ---------- Status badges ---------- */
.kg-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  white-space: nowrap;
}
.kg-status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.kg-status--live { color: #047857; background: #ecfdf5; }
.kg-status--beta { color: #6d28d9; background: #f5f3ff; }
.kg-status--building { color: var(--kg-primary); background: #eef2ff; }
.kg-status--planned { color: #4b5563; background: #f3f4f6; }

/* ---------- Cards (same look as "How it works") ---------- */
.kg-card {
  display: block;
  height: 100%;
  padding: 32px 28px;
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--kg-card-shadow);
  border: 1px solid transparent;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.kg-card--center { text-align: center; }
.kg-card--center .kg-card-icon { margin-left: auto; margin-right: auto; }
.kg-card:hover { box-shadow: var(--kg-card-shadow-hover); border-color: #e8ecf4; }
.kg-card h4 { font-size: 18px; font-weight: 600; margin-bottom: 12px; color: var(--kg-heading); }
.kg-card p { color: var(--kg-muted); font-size: 14px; line-height: 1.6; margin-bottom: 0; }
.kg-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 18px;
  border-radius: 14px;
  background: rgba(47, 87, 239, 0.08);
  color: var(--kg-primary);
  font-size: 26px;
}
.kg-card-icon--lg { width: 64px; height: 64px; font-size: 30px; margin-bottom: 0; }
.kg-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.kg-card--link { color: inherit; }
.kg-card--link:hover { transform: translateY(-4px); color: inherit; }
.kg-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-size: 14px; font-weight: 600; color: var(--kg-primary); }
.kg-link i { transition: transform 0.2s ease; }
.kg-card--link:hover .kg-link i { transform: translateX(4px); }

.kg-checklist { list-style: none; padding: 0; margin: 18px 0 0; }
.kg-checklist li { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 10px; color: var(--kg-body); font-size: 15px; line-height: 1.55; }
.kg-checklist li i { flex: none; margin-top: 3px; color: var(--kg-success); font-size: 17px; }
.kg-checklist li a { color: var(--kg-primary); }

/* ---------- Inner page hero (homepage splash background + wave) ---------- */
.rbt-splash-slider.kg-page-hero { padding-top: 150px; padding-bottom: 190px; }
.kg-page-hero .wrapper { width: 100%; position: relative; z-index: 10; }
.kg-page-hero .inner { text-align: center; }
.kg-page-hero .inner .kg-pill { margin-bottom: 22px; background: rgba(47, 87, 239, 0.1); }
.rbt-splash-slider.kg-page-hero .inner .title { font-size: 56px; padding-right: 0; margin-bottom: 20px; }
.kg-page-hero .inner .description { max-width: 760px; margin: 0 auto; }
.kg-page-hero .rbt-button-group { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
@media (max-width: 991px) {
  .rbt-splash-slider.kg-page-hero { padding-top: 120px; padding-bottom: 170px; }
  .rbt-splash-slider.kg-page-hero .inner .title { font-size: 40px; }
}
@media (max-width: 575px) {
  .rbt-splash-slider.kg-page-hero { padding-top: 110px; padding-bottom: 150px; }
  .rbt-splash-slider.kg-page-hero .inner .title { font-size: 32px; }
  .kg-page-hero .inner .description { font-size: 16px; }
}

/* ---------- Gradient band + glass cards ---------- */
.kg-gradient-band {
  position: relative;
  overflow: hidden;
  padding: 64px;
  border-radius: 20px;
  background: var(--kg-gradient);
  color: #fff;
}
.kg-gradient-band::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -120px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(185, 102, 231, 0.55) 0%, rgba(185, 102, 231, 0) 70%);
  pointer-events: none;
}
.kg-gradient-band > * { position: relative; z-index: 1; }
.kg-band-title { color: #fff; font-size: 36px; font-weight: 700; line-height: 1.25; margin: 18px 0 14px; }
.kg-band-text { color: rgba(255, 255, 255, 0.82); font-size: 17px; line-height: 1.7; }
.kg-glass-card {
  height: 100%;
  padding: 26px 24px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(6px);
  transition: background 0.3s ease, transform 0.3s ease;
}
.kg-glass-card:hover { background: rgba(255, 255, 255, 0.16); transform: translateY(-3px); }
.kg-glass-card > i { display: inline-block; margin-bottom: 14px; font-size: 26px; color: #fff; }
.kg-glass-card h4 { color: #fff; font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.kg-glass-card p { color: rgba(255, 255, 255, 0.8); font-size: 14px; line-height: 1.6; margin: 0; }
.kg-glass-num { display: inline-block; margin-bottom: 10px; font-size: 13px; font-weight: 700; letter-spacing: 0.1em; color: rgba(255, 255, 255, 0.65); }
@media (max-width: 767px) {
  .kg-gradient-band { padding: 40px 22px; }
  .kg-band-title { font-size: 28px; }
}

/* ---------- AI console mock ---------- */
.kg-ai-console {
  position: relative;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 30px 80px rgba(47, 87, 239, 0.16);
  border: 1px solid #e8ecf4;
  overflow: hidden;
}
.kg-ai-console__bar { display: flex; align-items: center; gap: 6px; padding: 14px 18px; background: var(--kg-soft); border-bottom: 1px solid #eef1f8; }
.kg-ai-console__bar strong { margin-left: 10px; font-size: 13px; font-weight: 600; color: var(--kg-heading); display: inline-flex; align-items: center; gap: 6px; }
.kg-ai-console__bar strong i { color: var(--kg-primary); }
.kg-dot { width: 10px; height: 10px; border-radius: 50%; background: #e3e8ee; }
.kg-dot:nth-child(1) { background: #ff5f57; }
.kg-dot:nth-child(2) { background: #febc2e; }
.kg-dot:nth-child(3) { background: #28c840; }
.kg-ai-console__body { padding: 22px; }
.kg-bubble--user {
  margin-left: 12%;
  padding: 14px 16px;
  border-radius: 14px 14px 4px 14px;
  background: var(--kg-gradient);
  color: #fff;
  font-size: 14px;
  line-height: 1.55;
}
.kg-ai-thinking { display: flex; align-items: center; gap: 10px; margin: 16px 0 12px; font-size: 13px; color: var(--kg-muted); }
.kg-spinner { width: 14px; height: 14px; border-radius: 50%; border: 2px solid rgba(47, 87, 239, 0.2); border-top-color: var(--kg-primary); animation: kg-spin 0.9s linear infinite; }
.kg-ai-result { border: 1px solid #eef1f8; border-radius: 14px; padding: 6px 16px 16px; }
.kg-ai-row { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px dashed #eef1f8; font-size: 13px; }
.kg-ai-row span { color: var(--kg-muted); }
.kg-ai-row strong { color: var(--kg-heading); font-weight: 600; text-align: right; }
.kg-ai-actions { display: flex; gap: 10px; margin-top: 14px; }
.kg-ai-btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 10px; border: 1px solid var(--kg-border); font-size: 13px; font-weight: 600; color: var(--kg-heading); }
.kg-ai-btn--primary { border-color: transparent; background: var(--kg-success); color: #fff; }
.kg-ai-console__note { padding: 10px 22px 16px; font-size: 12px; color: #9ca3af; }
.kg-ai-console.is-visible .kg-ai-row,
.kg-ai-console.is-visible .kg-ai-actions { animation: kg-rise 0.5s ease both; animation-delay: var(--kg-delay, 0s); }
.kg-ai-console.is-visible .kg-ai-thinking { animation: kg-fade-out 0.4s ease 2.2s both; }
@keyframes kg-spin { to { transform: rotate(360deg); } }
@keyframes kg-rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes kg-fade-out { to { opacity: 0.35; } }
@media (prefers-reduced-motion: reduce) {
  .kg-ai-console.is-visible .kg-ai-row,
  .kg-ai-console.is-visible .kg-ai-actions,
  .kg-ai-console.is-visible .kg-ai-thinking,
  .kg-spinner { animation: none; }
}

/* ---------- Code block ---------- */
.kg-code { margin: 0; border-radius: 18px; overflow: hidden; background: #0f172a; box-shadow: 0 30px 80px rgba(25, 35, 53, 0.25); }
.kg-code__bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; background: #192335; }
.kg-code__bar figcaption { margin-left: 10px; font-size: 13px; color: rgba(255, 255, 255, 0.6); }
.kg-code pre { margin: 0; padding: 20px 22px; overflow-x: auto; background: transparent; border: 0; }
.kg-code code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 13px; line-height: 1.7; color: #e2e8f0; white-space: pre; background: transparent; padding: 0; }
.kg-code .c { color: #64748b; }
.kg-code .k { color: #93c5fd; }
.kg-code .v { color: #f0abfc; font-weight: 600; }

/* ---------- Flow steps ---------- */
.kg-flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.kg-flow--five { grid-template-columns: repeat(5, 1fr); }
.kg-flow--three { grid-template-columns: repeat(3, 1fr); }
.kg-flow__step { position: relative; padding: 28px 22px; border-radius: 16px; background: #fff; box-shadow: var(--kg-card-shadow); text-align: center; }
.kg-flow__step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 58px;
  right: -24px;
  width: 24px;
  border-top: 2px dashed rgba(47, 87, 239, 0.3);
}
.kg-flow__num {
  width: 60px;
  height: 60px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--kg-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 24px;
  font-weight: 700;
}
.kg-flow__step h4 { font-size: 18px; font-weight: 600; margin-bottom: 10px; }
.kg-flow__step p { color: var(--kg-muted); font-size: 14px; line-height: 1.6; margin: 0; }
@media (max-width: 1199px) { .kg-flow--five { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 991px) {
  .kg-flow, .kg-flow--five, .kg-flow--three { grid-template-columns: repeat(2, 1fr); }
  .kg-flow__step::after { display: none; }
}
@media (max-width: 575px) { .kg-flow, .kg-flow--five, .kg-flow--three { grid-template-columns: 1fr; } }

/* ---------- Platform layers ---------- */
.kg-layers { display: grid; gap: 18px; max-width: 900px; margin: 0 auto; }
.kg-layer { display: flex; align-items: center; gap: 22px; padding: 24px 28px; border-radius: 16px; background: #fff; box-shadow: var(--kg-card-shadow); border-left: 4px solid var(--kg-primary); }
.kg-layer:nth-child(2) { border-left-color: var(--kg-indigo); margin-left: 24px; }
.kg-layer:nth-child(3) { border-left-color: var(--kg-secondary); margin-left: 48px; }
.kg-layer .kg-card-icon { margin: 0; flex: none; }
.kg-layer h4 { font-size: 18px; font-weight: 600; margin-bottom: 6px; }
.kg-layer p { color: var(--kg-muted); font-size: 14px; line-height: 1.6; margin: 0; }
.kg-layer__num { flex: none; font-size: 28px; font-weight: 700; color: rgba(47, 87, 239, 0.25); width: 26px; }
@media (max-width: 767px) {
  .kg-layer { flex-wrap: wrap; padding: 20px; }
  .kg-layer:nth-child(2), .kg-layer:nth-child(3) { margin-left: 0; }
}

/* ---------- AI example ---------- */
.kg-example { height: 100%; padding: 28px; border-radius: 16px; background: #fff; box-shadow: var(--kg-card-shadow); }
.kg-example--request { background: var(--kg-gradient); color: #fff; }
.kg-example--request p { color: #fff; font-size: 18px; line-height: 1.6; margin: 14px 0 0; }
.kg-example__label { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--kg-primary); }
.kg-example--request .kg-example__label { color: rgba(255, 255, 255, 0.8); }
.kg-example dl { margin: 12px 0 0; }
.kg-example dl > div { display: grid; grid-template-columns: 180px 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px dashed #eef1f8; }
.kg-example dl > div:last-child { border-bottom: 0; }
.kg-example dt { color: var(--kg-muted); font-weight: 500; font-size: 14px; }
.kg-example dd { margin: 0; color: var(--kg-heading); font-weight: 600; font-size: 14px; }
.kg-disclaimer { margin: 24px auto 0; max-width: 760px; text-align: center; font-size: 13px; color: #9ca3af; }
@media (max-width: 575px) { .kg-example dl > div { grid-template-columns: 1fr; gap: 4px; } }

/* ---------- Trade lanes ---------- */
.kg-lane { height: 100%; padding: 24px 26px; border-radius: 16px; background: #fff; box-shadow: var(--kg-card-shadow); }
.kg-lane__route { display: flex; align-items: center; gap: 14px; font-size: 18px; font-weight: 600; color: var(--kg-heading); }
.kg-lane__line { flex: 1; position: relative; height: 2px; background: linear-gradient(90deg, var(--kg-primary), var(--kg-secondary)); }
.kg-lane__line i { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); padding: 6px; border-radius: 50%; background: #fff; color: var(--kg-primary); font-size: 14px; box-shadow: 0 2px 8px rgba(47, 87, 239, 0.18); }
.kg-lane__meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; }
.kg-lane__meta p { margin: 0; color: var(--kg-muted); font-size: 14px; }

/* ---------- Solutions segments ---------- */
.kg-segment { padding: 48px 0; border-bottom: 1px solid #eef1f8; }
.kg-segment:first-child { padding-top: 0; }
.kg-segment:last-child { border-bottom: 0; padding-bottom: 0; }
.kg-segment__head { display: flex; align-items: center; gap: 18px; margin-bottom: 20px; }
.kg-segment__head h3 { margin: 0; font-size: 28px; }
.kg-segment__challenge { font-size: 17px; line-height: 1.7; color: var(--kg-body); }
@media (min-width: 992px) {
  .kg-segment--alt .row { flex-direction: row-reverse; }
}

/* ---------- Tables ---------- */
.kg-table-wrap { overflow-x: auto; border-radius: 16px; background: #fff; box-shadow: var(--kg-card-shadow); }
.kg-table { width: 100%; min-width: 640px; border-collapse: collapse; margin: 0; }
.kg-table th, .kg-table td { padding: 16px 22px; text-align: left; border: 0; border-bottom: 1px solid #f0f2f7; font-size: 15px; vertical-align: middle; }
.kg-table thead th { background: var(--kg-soft); font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--kg-muted); }
.kg-table tbody th { font-weight: 600; color: var(--kg-heading); }
.kg-table tbody tr:last-child th, .kg-table tbody tr:last-child td { border-bottom: 0; }
.kg-table tbody tr:hover { background: #fbfcff; }
.kg-table code { padding: 3px 8px; border-radius: 6px; background: var(--kg-soft); color: var(--kg-heading); font-size: 13px; white-space: nowrap; }
.kg-method { display: inline-block; min-width: 58px; padding: 3px 8px; border-radius: 6px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12px; font-weight: 700; text-align: center; }
.kg-method--get { background: #ecfdf5; color: #047857; }
.kg-method--post { background: #eef2ff; color: var(--kg-primary); }
.kg-method--event { background: #fdf4ff; color: #a21caf; }

/* ---------- Chips / request box ---------- */
.kg-chip-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; max-width: 900px; margin: 0 auto; }
.kg-chip { padding: 12px 22px; border-radius: 12px; background: var(--kg-soft); font-weight: 600; color: var(--kg-body); border: 1px solid transparent; transition: all 0.3s ease; }
.kg-chip:hover { background: #fff; border-color: #e8ecf4; box-shadow: var(--kg-card-shadow-hover); color: var(--kg-primary); }
.kg-request-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 60px;
  padding: 36px 40px;
  border-radius: 20px;
  background: var(--kg-soft);
  border: 1px solid #e8ecf4;
}
.kg-request-box h3 { font-size: 24px; margin-bottom: 6px; }
.kg-request-box p { margin: 0; color: var(--kg-body); }
@media (max-width: 767px) { .kg-request-box { flex-direction: column; align-items: flex-start; padding: 28px 22px; } }

/* ---------- Pricing ---------- */
.kg-plan {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 40px 32px 32px;
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--kg-card-shadow);
  border: 1px solid #eef1f8;
}
.kg-plan--highlight { border: 2px solid transparent; background: linear-gradient(#fff, #fff) padding-box, var(--kg-gradient) border-box; box-shadow: 0 30px 70px rgba(47, 87, 239, 0.16); }
.kg-plan__ribbon { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); padding: 6px 16px; border-radius: 999px; background: var(--kg-gradient); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: 0.04em; white-space: nowrap; }
.kg-plan__name { font-size: 22px; margin-bottom: 8px; }
.kg-plan__desc { color: var(--kg-muted); font-size: 15px; min-height: 48px; }
.kg-plan__price { margin: 10px 0 6px; padding: 18px 0; border-top: 1px solid #f0f2f7; border-bottom: 1px solid #f0f2f7; }
.kg-plan__price strong { display: block; font-size: 32px; line-height: 1.2; color: var(--kg-heading); }
.kg-plan__price span { font-size: 14px; color: var(--kg-muted); }
.kg-plan .kg-checklist { flex: 1; }
.kg-plan__cta { margin-top: 24px; }
.kg-plan__cta .rbt-btn { width: 100%; justify-content: center; }
.kg-note { display: flex; gap: 16px; height: 100%; padding: 22px 24px; border-radius: 16px; background: #fff; box-shadow: var(--kg-card-shadow); }
.kg-note > i { flex: none; font-size: 24px; color: var(--kg-primary); margin-top: 2px; }
.kg-note h4 { font-size: 17px; font-weight: 600; margin-bottom: 6px; }
.kg-note p { margin: 0; color: var(--kg-muted); font-size: 14px; line-height: 1.6; }
.kg-note--card { height: auto; margin-bottom: 18px; }

/* ---------- About ---------- */
.kg-prose p { font-size: 17px; line-height: 1.8; color: var(--kg-body); margin-bottom: 18px; }
.kg-mv { display: grid; gap: 18px; }
.kg-mv__item { display: flex; gap: 18px; padding: 26px; border-radius: 16px; background: #fff; box-shadow: var(--kg-card-shadow); }
.kg-mv__icon { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 50%; background: var(--kg-gradient); color: #fff; font-size: 22px; }
.kg-mv__item h4 { font-size: 18px; font-weight: 600; margin-bottom: 6px; }
.kg-mv__item p { margin: 0; color: var(--kg-muted); font-size: 15px; line-height: 1.65; }

/* ---------- Roadmap timeline ---------- */
.kg-timeline { list-style: none; position: relative; max-width: 900px; margin: 0 auto; padding: 0 0 0 0; }
.kg-timeline::before { content: ""; position: absolute; left: 27px; top: 10px; bottom: 10px; width: 2px; background: linear-gradient(180deg, var(--kg-primary), var(--kg-secondary)); opacity: 0.35; }
.kg-timeline__item { position: relative; padding-left: 84px; margin-bottom: 28px; }
.kg-timeline__item:last-child { margin-bottom: 0; }
.kg-timeline__dot { position: absolute; left: 0; top: 18px; width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 20px; color: #fff; background: var(--kg-gradient); box-shadow: 0 0 0 6px #fff; }
.kg-timeline__item--planned .kg-timeline__dot { background: #cbd5e1; }
.kg-timeline__item--live .kg-timeline__dot { background: var(--kg-success); }
.kg-timeline__card { padding: 26px 28px; border-radius: 16px; background: #fff; box-shadow: var(--kg-card-shadow); }
.kg-timeline__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.kg-timeline__phase { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--kg-muted); }
.kg-timeline__card h3 { font-size: 22px; margin-bottom: 6px; }
.kg-timeline__card > p { color: var(--kg-body); margin: 0; }
@media (max-width: 575px) {
  .kg-timeline::before { left: 19px; }
  .kg-timeline__item { padding-left: 56px; }
  .kg-timeline__dot { width: 40px; height: 40px; font-size: 16px; }
  .kg-timeline__card { padding: 20px; }
}

/* ---------- Contact form ---------- */
.kg-contact-lines { margin-top: 24px; padding: 22px 24px; border-radius: 16px; background: #fff; box-shadow: var(--kg-card-shadow); }
.kg-contact-lines p { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; color: var(--kg-body); font-size: 15px; flex-wrap: wrap; }
.kg-contact-lines p:last-child { margin-bottom: 0; }
.kg-contact-lines i { color: var(--kg-primary); }
.kg-contact-lines span { color: var(--kg-muted); }
.kg-form-card { padding: 40px; border-radius: 20px; background: #fff; box-shadow: 0 20px 60px rgba(47, 87, 239, 0.1); }
.kg-form-card h3 { font-size: 26px; margin-bottom: 8px; }
.kg-form-intro { color: var(--kg-muted); }
.kg-form label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 600; color: var(--kg-heading); }
.kg-form .kg-input {
  display: block;
  width: 100%;
  height: auto;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--kg-border);
  border-radius: 10px;
  background: #fff;
  font-size: 15px;
  color: var(--kg-heading);
  box-shadow: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.kg-form select.kg-input { appearance: auto; }
.kg-form textarea.kg-input { min-height: 140px; resize: vertical; }
.kg-form .kg-input:focus { outline: none; border-color: var(--kg-primary); box-shadow: 0 0 0 4px rgba(47, 87, 239, 0.12); }
.kg-form .kg-input.is-invalid { border-color: #ef4444; }
.kg-field-error { display: block; margin-top: 6px; font-size: 13px; color: #dc2626; }
.kg-form-alert { margin: 16px 0; padding: 12px 16px; border-radius: 10px; background: #fef2f2; color: #b91c1c; font-size: 14px; }
.kg-consent { margin: 18px 0 22px; font-size: 13px; color: var(--kg-muted); }
.kg-consent a { color: var(--kg-primary); text-decoration: underline; }
.kg-submit { border: 0; cursor: pointer; }
.kg-hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.kg-form-success { text-align: center; padding: 20px 0; }
.kg-form-success > i { font-size: 54px; color: var(--kg-success); }
.kg-form-success h3 { margin: 14px 0 8px; }
@media (max-width: 575px) { .kg-form-card { padding: 26px 20px; } }

/* ---------- Legal ---------- */
.kg-legal section { margin-bottom: 36px; scroll-margin-top: 30px; }
.kg-legal h2 { font-size: 24px; margin-bottom: 12px; }
.kg-legal p { font-size: 16px; line-height: 1.8; color: var(--kg-body); }
.kg-legal a { color: var(--kg-primary); text-decoration: underline; }

/* ---------- Homepage additions ---------- */
.kg-carriers-note { max-width: 1000px; margin: 28px auto 0; padding: 0 20px; text-align: center; font-size: 14px; color: #9ca3af; }
.kg-carriers-note a { color: var(--kg-primary); font-weight: 600; }
.kg-built-with { display: block; margin-top: 4px; font-size: 13px; color: rgba(255, 255, 255, 0.45); }
.kg-btn-on-dark { color: #fff !important; border-color: rgba(255, 255, 255, 0.6) !important; }
.kg-btn-on-dark:hover { background: rgba(255, 255, 255, 0.12) !important; }
.mt--50 { margin-top: 50px; }
.kg-faq-item .kg-faq-panel[hidden] { display: none; }

/* Reveal-on-scroll for new sections only (original sections keep their own behaviour). */
.kg-reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.kg-reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .kg-reveal { opacity: 1; transform: none; transition: none; } }

/* Left-aligned variant of the theme section title (used in two-column sections). */
.section-title.kg-section-title--left,
.section-title.kg-section-title--left .title,
.section-title.kg-section-title--left .description { text-align: left; }
.section-title.kg-section-title--left .description { font-weight: 400; color: var(--kg-body); }
.kg-footer-email { overflow-wrap: anywhere; }
.kg-form .kg-input::placeholder { color: #9ca3af; opacity: 1; }

/* Inner-page hero buttons: allow long translated labels to wrap on narrow screens. */
@media (max-width: 575px) {
  .kg-page-hero .rbt-button-group .rbt-btn,
  .kg-request-box .rbt-btn {
    height: auto;
    min-height: 52px;
    line-height: 1.35;
    padding-top: 14px;
    padding-bottom: 14px;
    white-space: normal;
    text-align: center;
    justify-content: center;
    width: 100%;
  }
}
