:root {
  /* koreguosi pagal realų header aukštį, jei reiks */
  --topbar-height: 60px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: #f5f5f7;
  color: #111827;
  line-height: 1.6;
}

/* Top navbar */
.topbar {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: rgba(15, 23, 42, 0.96); /* tamsus, beveik juodas */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(30, 64, 175, 0.5);
}

.navbar-brand {
  font-weight: 600;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: #e5e7eb;
}

.navbar-brand span {
  color: #e5e7eb;
}

/* Header brand – jokios mėlynos hover spalvos */
.navbar-brand,
.navbar-brand:hover,
.navbar-brand:focus {
  color: #e5e7eb;
  text-decoration: none;
}

.navbar-brand:hover .brand-subtitle,
.navbar-brand:focus .brand-subtitle {
  color: #9ca3af;
}

.brand-subtitle {
  font-size: 0.7rem;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: .14em;
}

.badge-beta {
  font-size: 0.7rem;
  border-radius: 999px;
  padding: 0.1rem 0.5rem;
  background: rgba(59, 130, 246, 0.12);
  color: #bfdbfe;
}

/* nav links */
.topbar .nav-link {
  font-size: 0.85rem;
  color: #9ca3af;
  padding: 0.25rem 0.75rem;
}

.topbar .nav-link:hover,
.topbar .nav-link:focus {
  color: #f9fafb;
}

.topbar .nav-link.small {
  font-size: 0.8rem;
}

.topbar .btn-primary.btn-sm {
  font-size: 0.8rem;
  padding: 0.2rem 0.9rem;
}

.topbar .btn-outline-secondary.btn-sm {
  font-size: 0.8rem;
  padding: 0.2rem 0.9rem;
  border-color: #4b5563;
  color: #e5e7eb;
}

.topbar .btn-outline-secondary.btn-sm:hover {
  background-color: #111827;
  color: #f9fafb;
}

/* burger ikona, kad būtų matoma ant tamsaus backo */
.navbar-toggler {
  border-color: rgba(148, 163, 184, 0.7);
}

.navbar-toggler-icon {
  background-image: none;
  position: relative;
  width: 1.25rem;
  height: 1.25rem;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after,
.navbar-toggler-icon span {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background-color: #e5e7eb;
  border-radius: 999px;
}

.navbar-toggler-icon::before {
  top: 0.2rem;
}

.navbar-toggler-icon::after {
  bottom: 0.2rem;
}

.navbar-toggler-icon span {
  top: 50%;
  transform: translateY(-50%);
}

/* Layout */
.main-layout {
  padding-top: 0rem;
  padding-bottom: 3rem;
}  

/* docs puslapis – šiek tiek siauresnis turinys */
@media (min-width: 1200px) {
  .container-xl {
	max-width: 1120px;
  }
}

/* Sidebar */
aside {
  position: relative;
  z-index: 1;
}

.sidebar-inner {
  position: sticky;
  /* sėdi žemiau headerio, + papildomas tarpas */
  top: calc(var(--topbar-height) + 0.75rem);
  padding-right: 1.25rem;
  padding-top: 0.25rem;
}

.sidebar-title {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: #9ca3af;
  margin-bottom: 0.35rem;
  margin-top: 1.2rem;
}

.sidebar-title:first-of-type {
  margin-top: 0;
}

.sidebar-nav {
  gap: 2px;
}

.sidebar-nav .nav-link {
  font-size: 0.85rem;
  color: #4b5563;
  padding: 0.25rem 0.55rem;
  border-radius: 0.4rem;
  line-height: 1.3;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  transition: background-color 0.12s ease, color 0.12s ease, padding-left 0.12s ease;
}

.sidebar-nav .nav-link {
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.site-footer .small {
  line-height: 1.5;
}

.site-footer .brand-subline {
  max-width: 26rem;
}

/* subtilus „hover“ */
.sidebar-nav .nav-link:hover {
  background-color: #e5e7eb;
  color: #111827;
  padding-left: 0.7rem;
}

/* aktyvi būsena – tamsesnė, bet ne rėkianti */
.sidebar-nav .nav-link.active {
  background-color: #111827;
  color: #f9fafb;
}

/* maža „tabletė“ aktyviam punktui kairėje */
.sidebar-nav .nav-link.active::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background-color: #60a5fa;
  flex-shrink: 0;
}

/* neaktyviems – tuščias tarpelis, kad tekstas gražiai sulygiuotas */
.sidebar-nav .nav-link:not(.active)::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background-color: transparent;
  flex-shrink: 0;
}

/* Content cards */
.card-doc {
  background-color: #ffffff;
  border-radius: 0.9rem;
  border: 1px solid rgba(148, 163, 184, 0.18);
  padding: 1.5rem 1.8rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.06);
}

.quick-start{
	padding: 5rem 1.8rem !important;
}

 

.badge-pill {
  border-radius: 999px;
  font-size: 0.75rem;
  padding: 0.2rem 0.7rem;
}

/* Code blocks */
pre {
  background: #020617;
  color: #e5e7eb;
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  font-size: 0.8rem;
  overflow-x: auto;
  margin-bottom: 0.5rem;
}

code {
  font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

.code-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: #6b7280;
  margin-bottom: 0.25rem;
}

.small-mono {
  font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.8rem;
}

.btn-copy {
  font-size: 0.75rem;
  padding: 0.1rem 0.5rem;
}

.response-table td,
.response-table th {
  padding-top: 0.35rem;
  padding-bottom: 0.35rem;
  font-size: 0.82rem;
}

.response-table code {
  font-size: 0.78rem;
}

/* Pricing cards */
.pricing-card {
  background: radial-gradient(circle at top, rgba(59,130,246,0.03), transparent 55%),
			  #ffffff;
  border-radius: 0.9rem;
  border: 1px solid rgba(148, 163, 184, 0.45);
  padding: 1.4rem 1.4rem;
  height: 100%;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.05);
}

.pricing-card.highlight {
  border-color: #1d4ed8;
  box-shadow: 0 20px 55px rgba(37, 99, 235, 0.25);
  transform: translateY(-2px);
}

.pricing-card h3 {
  letter-spacing: -0.01em;
}

.pricing-price {
  font-size: 1.8rem;
  font-weight: 700;
}

.pricing-price span { 
  font-size: 0.9rem;
  font-weight: 400;
  color: #6b7280;
}

.pricing-card ul {
  padding-left: 1.1rem;
  font-size: 0.9rem;
}

.pricing-card ul li::marker {
  color: #01467f;
}

/* Footer */
.site-footer {
  border-top: 1px solid rgba(15, 23, 42, 0.9);
  padding: 1rem 0;
  font-size: 0.85rem;
  color: #9ca3af;
  background-color: #020617;
  
  padding-top: 1.75rem;
  padding-bottom: 1.75rem;
}

.site-footer a {
  color: #e5e7eb;
  text-decoration: none;
}

.site-footer a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.site-footer .footer-title {
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 0.7rem;
  color: #6b7280;
  margin-bottom: 0.2rem;
}

.site-footer .footer-separator {
  width: 1px;
  height: 1.75rem;
  background: rgba(55, 65, 81, 0.9);
}

/* Responsive */
@media (max-width: 991.98px) {
  aside {
	border-bottom: 1px solid rgba(148, 163, 184, 0.25);
	margin-bottom: 1rem;
  }
  .sidebar-inner {
	position: static;
	padding-right: 0;
	padding-bottom: 0.75rem;
  }
}

.nav-tabs.nav-tabs-sm .nav-link {
  font-size: 0.8rem;
  padding: 0.2rem 0.6rem;
}

/* Quick start language tabs – labiau matomi */
.nav-tabs.nav-tabs-code {
  background: #f3f4f6;
  border-radius: 999px;
  padding: 2px;
  border: 1px solid rgba(148, 163, 184, 0.6);
}

.nav-tabs.nav-tabs-code .nav-link {
  border: none;
  border-radius: 999px;
  color: #6b7280;
  padding: 0.25rem 0.9rem;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.nav-tabs.nav-tabs-code .nav-link:hover {
  color: #111827;
}

.nav-tabs.nav-tabs-code .nav-link.active {
  background: #111827;
  color: #f9fafb;
  box-shadow: 0 0 0 1px rgba(30, 64, 175, 0.6);
}

/* Map */
.response-map {
  height: 220px;
  border-radius: 0.85rem;
  border: 1px solid rgba(148, 163, 184, 0.45);
  overflow: hidden;
}

/* Live demo card */
.ip-demo-card {
  background: radial-gradient(circle at top left, #1e293b, #020617);
  color: #e5e7eb;
  border-radius: 1rem;
  border: 1px solid rgba(148, 163, 184, 0.5);
  padding: 1.2rem 1.35rem 1.3rem;
  margin-top: 0.75rem;
  box-shadow: 0 22px 60px rgba(15, 23, 42, 0.65);
}

.ip-demo-card .form-control {
  background-color: #020617;
  color: #e5e7eb;
  border-color: #374151;
}

.ip-demo-card .form-control::placeholder {
  color: #6b7280;
}

.ip-demo-card .form-control:focus {
  box-shadow: 0 0 0 1px #2563eb;
  border-color: #2563eb;
}

/* Live demo tabs – labiau „kabinančios“ */
.ip-demo-card .nav-tabs {
  background: rgba(15, 23, 42, 0.9);
  border-radius: 999px;
  padding: 2px;
  border: 1px solid rgba(55, 65, 81, 0.9);
}

.ip-demo-card .nav-tabs .nav-link {
  border: none;
  border-radius: 999px;
  color: #9ca3af;
  padding: 0.25rem 0.9rem;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.ip-demo-card .nav-tabs .nav-link:hover {
  color: #e5e7eb;
}

.ip-demo-card .nav-tabs .nav-link.active {
  background: #0f172a;
  color: #f9fafb;
  box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.7);
}

.ip-demo-card .hero-json-scroll {
  max-height: 370px;
  overflow: auto;
  border-radius: 0.75rem;
}

/* Hero demo bar virš kortos */
.hero-demo-bar {
  margin-top: 0.25rem;
  margin-bottom: 0.35rem;
}

/* Summary / JSON tab'ai virš ip-demo-card */
.hero-demo-tabs {
  background: #020617;
  border-radius: 999px;
  padding: 2px;
  border: 1px solid rgba(30, 64, 175, 0.7);
}

.hero-demo-tabs .nav-link {
  border: none;
  border-radius: 999px;
  font-size: 0.78rem;
  padding: 0.2rem 1rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: #9ca3af;
}

.hero-demo-tabs .nav-link:hover {
  color: #f9fafb;
}

.hero-demo-tabs .nav-link.active {
  background: #0f172a;
  color: #f9fafb;
  box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.8);
}


.ip-summary {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}



.site-footer .small div + div {
  margin-top: 0.2rem;
}

.site-footer .footer-title {
  margin-bottom: 0.25rem;
}

.site-footer .small div + div {
  margin-top: 0.15rem;
}

.hero-section {
  padding-top: 10rem;
  padding-bottom: 10rem;
  background:
	radial-gradient(circle at top left, #dbeafe 0, transparent 55%),
	radial-gradient(circle at top right, #e0f2fe 0, transparent 55%),
	#f5f5f7;
}

.hero-section .hero-title,
.hero-section .hero-lead,
.hero-section .hero-list {
  max-width: 38rem;
}

.hero-title {
  font-weight: 650;
  letter-spacing: -0.02em;
}

.hero-lead {
  font-size: 1.05rem;
  color: #4b5563;
}

 

.hero-list {
  padding-left: 1.2rem;
  font-size: 0.95rem;
}

.hero-list li + li {
  margin-top: 0.2rem;
}

.hero-section .badge-pill {
  font-size: 0.7rem;
}

.section-light {
  background-color: #f3f4f6;
  padding-top: 5rem !important;
  padding-bottom: 5rem !important;
}

.mini-code-card {
  background-color: #ffffff;
  border-radius: 0.75rem;
  border: 1px solid rgba(148, 163, 184, 0.6);
  padding: 1rem 1.1rem;
}

.landing-demo {
  margin-top: 0.5rem;
}

.text-white-60 {
  color: rgba(229, 231, 235, 0.75);
}

.bg-dark-subtle {
  background-color: rgba(15, 23, 42, 0.85) !important;
}

@media (max-width: 991.98px) {
  .hero-section {
	padding-top: 1.5rem;
  }
}