:root {
  --primary-color: #0c1222;
  --primary-light: #1e293b;
  --secondary-color: #0ea5e9;
  --secondary-dark: #0369a1;
  --accent-color: #38bdf8;
  --accent-purple: #8b5cf6;
  --bg-light: #f4f7fb;
  --bg-white: #ffffff;
  --text-dark: #1e293b;
  --text-light: #64748b;
  --text-muted: #94a3b8;
  --border-color: #e2e8f0;
  --border-color-light: #f8fafc;
  --success-color: #10b981;
  --shadow-sm: 0 1px 2px 0 rgba(15, 23, 42, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.1), 0 2px 4px -1px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 10px 25px -3px rgba(15, 23, 42, 0.08), 0 4px 10px -2px rgba(15, 23, 42, 0.04);
  --shadow-xl: 0 25px 50px -12px rgba(15, 23, 42, 0.25);
  --shadow-glow: 0 0 20px -5px var(--secondary-color)
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Inter, sans-serif
}

body {
  color: var(--text-dark);
  line-height: 1.6;
  background-color: var(--bg-light);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden
}

a {
  text-decoration: none;
  color: inherit;
  transition: .3s
}

ul {
  list-style: none
}

body > header {
  background: rgba(255, 255, 255, .85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 10px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, .5);
  transition: .3s
}

.header-left {
  display: flex;
  align-items: center;
}

.logo {
  font-size: 26px;
  font-weight: 800;
  color: var(--primary-color);
  letter-spacing: -.5px;
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px
}

.logo img {
  height: 72px;
  width: auto
}

.logo span {
  background: linear-gradient(135deg, var(--secondary-color), var(--accent-purple));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent
}

nav ul {
  display: flex;
  gap: 35px
}

nav a {
  font-weight: 600;
  color: var(--text-light);
  font-size: .95rem;
  position: relative
}

nav a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background: linear-gradient(90deg, var(--secondary-color), var(--accent-purple));
  transition: width .3s;
  border-radius: 2px
}

nav a:hover {
  color: var(--primary-color)
}

nav a:hover::after {
  width: 100%
}

.hamburger {
  display: none;
  font-size: 1.8rem;
  color: var(--primary-color);
  cursor: pointer;
  transition: color .3s
}

.hamburger:hover {
  color: var(--secondary-color)
}

.hero {
  background: var(--primary-color);
  color: #fff;
  padding: 140px 5% 150px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 80px;
  position: relative;
  overflow: hidden
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .45;
  z-index: 0;
  animation: 20s cubic-bezier(.4, 0, .2, 1) infinite alternate blob-float
}

.blob-1 {
  top: -10%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: var(--secondary-color)
}

.blob-2 {
  bottom: -20%;
  right: 0;
  width: 700px;
  height: 700px;
  background: var(--accent-purple);
  animation-delay: -5s;
  animation-direction: alternate-reverse
}

.blob-3 {
  top: 40%;
  left: 40%;
  width: 400px;
  height: 400px;
  background: #4f46e5;
  animation-duration: 30s;
  opacity: .3
}

@keyframes blob-float {

  0%,
  100% {
    transform: translate(0, 0) scale(1)
  }

  33% {
    transform: translate(30px, -50px) scale(1.1)
  }

  66% {
    transform: translate(-20px, 20px) scale(.9)
  }
}

.hero-content {
  flex: 1.2;
  min-width: 300px;
  position: relative;
  z-index: 1
}

.hero-content h1 {
  font-size: 4rem;
  font-weight: 800;
  margin-bottom: 30px;
  line-height: 1.1;
  letter-spacing: -1.5px;
  text-wrap: balance
}

.gradient-text {
  background: linear-gradient(135deg, #fff 0, #cbd5e1 50%, #94a3b8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent
}

.highlight-text {
  background: linear-gradient(135deg, var(--accent-color), var(--accent-purple));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block
}

.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 45px;
  color: #cbd5e1;
  font-weight: 400;
  max-width: 650px;
  line-height: 1.8
}

.catchphrases {
  display: flex;
  flex-wrap: wrap;
  gap: 15px
}

.catchphrase {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  font-size: 1.05rem;
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(255, 255, 255, .08);
  backdrop-filter: blur(10px);
  padding: 10px 20px;
  border-radius: 100px;
  transition: .4s cubic-bezier(.175, .885, .32, 1.275)
}

.catchphrase:hover {
  transform: translateY(-5px) scale(1.02);
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .2);
  box-shadow: var(--shadow-glow)
}

.catchphrase i {
  color: var(--accent-color);
  font-size: 1.2rem
}

.hero-form-wrapper {
  flex: 1;
  min-width: 320px;
  display: flex;
  justify-content: flex-end;
  position: relative;
  z-index: 1;
  perspective: 1000px
}

.hero-form {
  background: rgba(255, 255, 255, .95);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  padding: 45px;
  border-radius: 24px;
  box-shadow: 0 35px 60px -15px rgba(0, 0, 0, .5);
  width: 100%;
  max-width: 460px;
  color: var(--text-dark);
  position: relative;
  border: 1px solid rgba(255, 255, 255, .5);
  transform-style: preserve-3d;
  transition: transform .5s, box-shadow .5s
}

.hero-form:hover {
  transform: translateY(-5px) rotateX(2deg) rotateY(-2deg);
  box-shadow: 0 45px 70px -15px rgba(0, 0, 0, .6)
}

.hero-form h3 {
  margin-bottom: 30px;
  font-size: 1.6rem;
  font-weight: 800;
  text-align: center;
  color: var(--primary-color);
  letter-spacing: -.5px
}

.form-group {
  margin-bottom: 22px
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  font-size: .95rem;
  color: var(--text-dark)
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--border-color);
  border-radius: 12px;
  font-size: 1rem;
  background-color: var(--bg-white);
  color: var(--text-dark);
  transition: all 0.3s ease;
  font-family: 'Inter', sans-serif
}

.form-group textarea {
  resize: none
}

.form-group input:focus,
.form-group textarea:focus {
  outline: 0;
  border-color: var(--secondary-color);
  background-color: #fff;
  box-shadow: 0 0 0 4px rgba(14, 165, 233, .15);
  transform: translateY(-2px)
}

.btn-submit {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, var(--secondary-color), var(--accent-purple));
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 1.15rem;
  font-weight: 700;
  cursor: pointer;
  transition: .3s;
  box-shadow: 0 10px 15px -3px rgba(14, 165, 233, .4);
  position: relative;
  overflow: hidden
}

.btn-submit::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, rgba(255, 255, 255, 0) 0, rgba(255, 255, 255, .3) 50%, rgba(255, 255, 255, 0) 100%);
  transform: skewX(-25deg);
  transition: .7s
}

.btn-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 25px -5px rgba(14, 165, 233, .5)
}

.btn-submit:hover::before {
  left: 200%
}

.section-title {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--primary-color);
  letter-spacing: -1px;
  text-align: center
}

.section-subtitle {
  text-align: center;
  font-size: 1.2rem;
  color: var(--text-light);
  max-width: 700px;
  margin: 0 auto 50px
}

.sources {
  padding: 100px 5%;
  text-align: center;
  background: var(--bg-white);
  position: relative
}

.sources-grid {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 20px
}

.source-card {
  background: var(--bg-white);
  padding: 45px 30px;
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  width: 290px;
  position: relative;
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: .4s cubic-bezier(.175, .885, .32, 1.275);
  z-index: 1
}

.source-card::after {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(135deg, var(--secondary-color), var(--accent-purple));
  z-index: -1;
  border-radius: 22px;
  opacity: 0;
  transition: opacity .4s
}

.source-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
  border-color: transparent
}

.source-card:hover h4,
.source-card:hover p {
  color: var(--primary-color)
}

.source-card:hover::after {
  opacity: 1
}

.source-card img {
  transition: .4s;
  height: 55px;
  object-fit: contain;
  max-height: 50px;
  display: block;
  margin: 0 auto 15px
}

.source-card h3 a {
  color: inherit;
  text-decoration: none
}

.source-card.opacity-50 img {
  filter: grayscale(100%) opacity(.7)
}

.source-card:hover img {
  transform: scale(1.1)
}

.source-card.opacity-50:hover img {
  filter: grayscale(0%) opacity(1)
}

.source-card h4 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  margin-top: 25px;
  font-weight: 700
}

.source-card p {
  font-size: .95rem;
  color: var(--text-light);
  margin-top: auto
}

.badge {
  position: absolute;
  top: -15px;
  right: -15px;
  padding: 8px 16px;
  border-radius: 30px;
  font-size: .75rem;
  font-weight: 800;
  color: #fff;
  box-shadow: var(--shadow-md);
  text-transform: uppercase;
  letter-spacing: 1px
}

.badge.active {
  background: linear-gradient(135deg, #10b981, #059669)
}

.badge.soon {
  background: linear-gradient(135deg, #94a3b8, #64748b)
}

.opacity-50 {
  opacity: .5;
  transition: opacity .4s
}

.source-card:hover.opacity-50 {
  opacity: 1
}

.services {
  padding: 100px 5%;
  background: var(--bg-light)
}

.services-container {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: space-between
}

.service-box {
  flex: 1;
  min-width: 340px;
  background: var(--bg-white);
  padding: 50px 40px;
  border-radius: 24px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
  transition: .4s;
  position: relative;
  overflow: hidden
}

.service-box:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--border-color-light)
}

.service-box::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(14, 165, 233, .08) 0, rgba(255, 255, 255, 0) 70%);
  border-radius: 50%;
  z-index: 0;
  transition: transform .5s
}

.service-box:hover::before {
  transform: scale(1.5)
}

.service-box h3 {
  font-size: 1.8rem;
  margin-bottom: 25px;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  gap: 18px;
  font-weight: 800;
  position: relative;
  z-index: 1
}

.service-box h3 i {
  background: rgba(14, 165, 233, .1);
  color: var(--secondary-color);
  padding: 15px;
  border-radius: 14px;
  font-size: 1.6rem;
  transition: .3s
}

.service-box:hover h3 i {
  background: var(--secondary-color);
  color: #fff;
  transform: rotate(10deg)
}

.service-box>p {
  font-size: 1.1rem;
  line-height: 1.7;
  position: relative;
  z-index: 1;
  color: var(--text-light)
}

.filter-list,
.format-list {
  margin-top: 35px;
  position: relative;
  z-index: 1
}

.filter-list li,
.format-list li {
  margin-bottom: 20px;
  display: flex;
  align-items: flex-start;
  gap: 15px;
  font-size: 1.1rem;
  color: var(--text-dark)
}

.filter-list i {
  color: var(--success-color);
  margin-top: 5px;
  font-size: 1.1rem;
  background: rgba(16, 185, 129, .1);
  padding: 6px;
  border-radius: 50%
}

.format-list i {
  color: var(--primary-color);
  font-size: 1.4rem;
  margin-top: 2px
}

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
  padding-top: 26px;
  border-top: 1px dashed var(--border-color);
  position: relative;
  z-index: 1
}

.chips-label {
  font-size: .85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--text-muted)
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .9rem;
  font-weight: 600;
  color: var(--secondary-dark);
  background: rgba(14, 165, 233, .1);
  border: 1px solid rgba(14, 165, 233, .25);
  padding: 7px 14px;
  border-radius: 30px;
  transition: .3s
}

.filter-chip::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: .7rem
}

.service-box:hover .filter-chip {
  background: rgba(14, 165, 233, .16)
}

.format-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 35px;
  position: relative;
  z-index: 1
}

.format-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 20px;
  border-radius: 16px;
  background: var(--bg-light);
  border: 1px solid var(--border-color);
  transition: .3s
}

.format-card:hover {
  transform: translateX(6px);
  border-color: var(--secondary-color);
  box-shadow: var(--shadow-md)
}

.format-card i {
  font-size: 1.8rem;
  color: var(--secondary-color);
  width: 40px;
  text-align: center;
  flex-shrink: 0
}

.format-text {
  display: flex;
  flex-direction: column
}

.format-text strong {
  font-size: 1.1rem;
  color: var(--primary-color)
}

.format-text span {
  font-size: .9rem;
  color: var(--text-light)
}

.predefined {
  padding: 100px 5%;
  background: var(--bg-white);
  text-align: center
}

.db-grid {
  display: flex;
  justify-content: center;
  gap: 35px;
  flex-wrap: wrap
}

.db-card {
  background: var(--bg-white);
  padding: 45px 35px;
  border-radius: 20px;
  width: 340px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  transition: .4s cubic-bezier(.175, .885, .32, 1.275);
  display: flex;
  flex-direction: column;
  text-align: left;
  position: relative;
  overflow: hidden
}

.db-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--secondary-color), var(--accent-purple));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s
}

.db-card:hover {
  transform: translateY(-12px);
  box-shadow: var(--shadow-xl)
}

.db-card:hover::before {
  transform: scaleX(1)
}

.db-card .icon-wrapper {
  background: linear-gradient(135deg, rgba(14, 165, 233, .1), rgba(139, 92, 246, .1));
  width: 70px;
  height: 70px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  transition: .3s
}

.db-card:hover .icon-wrapper {
  background: linear-gradient(135deg, var(--secondary-color), var(--accent-purple))
}

.db-card:hover .icon-wrapper i {
  color: #fff
}

.db-card i {
  font-size: 2rem;
  color: var(--secondary-color);
  transition: .3s
}

.db-card h4 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 15px;
  color: var(--primary-color);
  letter-spacing: -.5px
}

.db-card p {
  font-size: 1.05rem;
  color: var(--text-light);
  margin-bottom: 35px;
  line-height: 1.6
}

.btn-outline {
  display: inline-block;
  padding: 14px 28px;
  border: 2px solid var(--border-color);
  color: var(--text-dark);
  border-radius: 12px;
  font-weight: 700;
  transition: .3s;
  margin-top: auto;
  text-align: center;
  position: relative;
  overflow: hidden;
  z-index: 1
}

.btn-outline::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--secondary-color), var(--accent-purple));
  z-index: -1;
  transform: scaleY(0);
  transform-origin: bottom center;
  transition: transform .3s
}

.btn-outline:hover {
  border-color: transparent;
  color: #fff
}

.btn-outline:hover::after {
  transform: scaleY(1)
}

.pricing-calculator {
  padding: 60px 5%;
  background: var(--bg-light);
  text-align: center
}

.calculator-container {
  background: var(--bg-white);
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  max-width: 900px;
  margin: 0 auto;
  padding: 30px 40px;
  text-align: left
}

.slider-section {
  margin-bottom: 25px;
  padding-bottom: 20px
}

.slider-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 15px
}

.slider-header h3 {
  font-size: 1.4rem;
  color: var(--primary-color);
  font-weight: 800
}

.record-input-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-light);
  padding: 10px 20px;
  border-radius: 12px;
  border: 1px solid var(--border-color)
}

.record-input-wrapper input {
  border: none;
  background: 0 0;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--secondary-color);
  width: 120px;
  text-align: right;
  outline: 0;
  font-family: inherit;
  -moz-appearance: textfield;
  appearance: textfield
}

.record-input-wrapper input::-webkit-inner-spin-button,
.record-input-wrapper input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  appearance: none;
  margin: 0
}

.record-input-wrapper span {
  font-weight: 600;
  color: var(--text-light)
}

.range-slider {
  position: relative;
  padding: 10px 0
}

input[type=range] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: var(--border-color);
  outline: 0
}

input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  height: 24px;
  width: 24px;
  border-radius: 50%;
  background: var(--secondary-color);
  cursor: pointer;
  margin-top: -15px;
  box-shadow: var(--shadow-md);
  transition: transform .1s;
  position: relative;
  z-index: 2
}

input[type=range]::-webkit-slider-runnable-track {
  width: 100%;
  height: 8px;
  cursor: pointer;
  background: 0 0;
  border-radius: 4px
}

input[type=range]::-webkit-slider-thumb:hover {
  transform: scale(1.1)
}

.slider-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  color: var(--text-muted);
  font-size: .9rem;
  font-weight: 500
}

.table-responsive {
  overflow: visible;
  margin-bottom: 20px
}

.pricing-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 6px;
  min-width: 600px
}

.pricing-table th {
  text-align: left;
  padding: 10px 20px;
  color: var(--text-light);
  font-weight: 600;
  font-size: .9rem;
  border-bottom: 2px solid var(--border-color);
  white-space: nowrap
}

.pricing-table th:last-child {
  text-align: right
}

.pricing-table tbody tr {
  transition: .3s
}

.pricing-table tbody tr:hover {
  transform: translateY(-2px)
}

.pricing-table td {
  background: var(--bg-white);
  padding: 12px 20px;
  vertical-align: middle;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  transition: .3s
}

.pricing-table td:first-child {
  border-left: 1px solid var(--border-color);
  border-top-left-radius: 12px;
  border-bottom-left-radius: 12px;
  width: 60px
}

.pricing-table td:last-child {
  border-right: 1px solid var(--border-color);
  border-top-right-radius: 12px;
  border-bottom-right-radius: 12px;
  text-align: right;
  font-weight: 700;
  color: var(--primary-color)
}

.pricing-table tbody tr.selected td {
  background: rgba(14, 165, 233, .05);
  border-top-color: var(--secondary-color);
  border-bottom-color: var(--secondary-color)
}

.pricing-table tbody tr.selected td:first-child {
  border-left-color: var(--secondary-color)
}

.pricing-table tbody tr.selected td:last-child {
  border-right-color: var(--secondary-color)
}

.info-tooltip {
  position: relative;
  display: inline-flex;
  align-items: center;
  cursor: help;
  margin-left: 8px;
  color: var(--text-muted);
  font-size: 1rem;
  transition: color .3s
}

.info-tooltip:hover {
  color: var(--secondary-color)
}

.info-tooltip .tooltip-text {
  visibility: hidden;
  width: max-content;
  max-width: 250px;
  background-color: var(--primary-color);
  color: #fff;
  text-align: center;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: .85rem;
  font-weight: 500;
  line-height: 1.5;
  position: absolute;
  z-index: 100;
  bottom: 100%;
  left: 50%;
  margin-bottom: 8px;
  transform: translateX(-50%) translateY(10px);
  opacity: 0;
  transition: opacity .3s cubic-bezier(.175, .885, .32, 1.275), transform .3s cubic-bezier(.175, .885, .32, 1.275);
  box-shadow: var(--shadow-lg);
  pointer-events: none
}

.info-tooltip .tooltip-text::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: var(--primary-color) transparent transparent transparent
}

.info-tooltip:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
  transform: translateX(-50%) translateY(0)
}

.pricing-table .price-col {
  color: var(--text-light);
  font-weight: 500
}

.custom-checkbox {
  display: block;
  position: relative;
  padding-left: 25px;
  cursor: pointer;
  font-size: 22px;
  user-select: none
}

.custom-checkbox input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0
}

.checkmark {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  height: 22px;
  width: 22px;
  background-color: var(--bg-light);
  border: 2px solid var(--border-color);
  border-radius: 6px;
  transition: .2s
}

.custom-checkbox:hover input~.checkmark {
  border-color: var(--secondary-color)
}

.custom-checkbox input:checked~.checkmark {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color)
}

.checkmark:after {
  content: "";
  position: absolute;
  display: none
}

.custom-checkbox input:checked~.checkmark:after {
  display: block
}

.custom-checkbox .checkmark:after {
  left: 7px;
  top: 3px;
  width: 5px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg)
}

.grand-total-section {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding-top: 20px;
  border-top: 2px dashed var(--border-color)
}

.grand-total-label {
  font-size: 1rem;
  color: var(--text-light);
  font-weight: 600;
  margin-bottom: 2px
}

.grand-total-amount {
  font-size: 2.5rem;
  font-weight: 800;
  color: #000;
  line-height: 1;
  margin-bottom: 5px;
  letter-spacing: -1px
}

.grand-total-amount span {
  color: #000
}

.vat-info {
  font-size: .85rem;
  color: var(--text-muted);
  margin-bottom: 15px
}

.order-btn {
  padding: 12px 40px;
  font-size: 1.1rem;
  max-width: 300px;
  text-align: center
}

.modern-footer {
  background: var(--primary-color);
  color: #fff;
  padding: 80px 5% 40px;
  position: relative;
  overflow: hidden;
  font-family: 'Inter', sans-serif;
}

.modern-footer::before {
  content: '';
  position: absolute;
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  width: 1000px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(14, 165, 233, 0.08) 0, rgba(255, 255, 255, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.modern-footer .footer-container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
}

.modern-footer .footer-col {
  display: flex;
  flex-direction: column;
}

.modern-footer .footer-logo {
  color: #fff;
  margin-bottom: 20px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  font-size: 2rem;
  font-weight: 700;
  text-decoration: none;
}

.modern-footer .footer-logo span {
  background: linear-gradient(135deg, var(--accent-color), var(--accent-purple));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.modern-footer .footer-desc {
  color: var(--text-light);
  font-size: 1rem;
  line-height: 1.6;
  margin-top: 0;
  margin-bottom: 20px;
  max-width: 400px;
  border-top: none;
  padding-top: 0;
}

.modern-footer .footer-contact-info a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: color 0.3s;
}

.modern-footer .footer-contact-info a:hover {
  color: var(--secondary-color);
}

.modern-footer .footer-contact-info i {
  color: var(--secondary-color);
}

.modern-footer .footer-heading {
  font-size: 1.25rem;
  color: #fff;
  margin-bottom: 25px;
  font-weight: 600;
  position: relative;
  display: inline-block;
}

.modern-footer .footer-heading::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 40px;
  height: 3px;
  background: var(--secondary-color);
  border-radius: 2px;
}

.modern-footer .footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.modern-footer .footer-list a {
  color: var(--text-light);
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-block;
}

.modern-footer .footer-list a:hover {
  color: var(--secondary-color);
  transform: translateX(5px);
}

.modern-footer .footer-bottom {
  margin-top: 60px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.modern-footer .footer-bottom p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0;
  border-top: none;
  padding-top: 0;
}

@media (max-width: 992px) {
  .modern-footer .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  .modern-footer .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .modern-footer .footer-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .modern-footer .footer-logo {
    justify-content: center;
  }
  .modern-footer .footer-desc {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
  .modern-footer .footer-contact-info {
    text-align: center;
  }
  .modern-footer .footer-col {
    align-items: center;
    text-align: center;
  }
  .modern-footer .footer-heading::after {
    left: 50%;
    transform: translateX(-50%);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: .8s cubic-bezier(.5, 0, 0, 1)
}

.reveal.active {
  opacity: 1;
  transform: translateY(0)
}

.delay-1 {
  transition-delay: 0.1s
}

.delay-2 {
  transition-delay: 0.2s
}

.delay-3 {
  transition-delay: 0.3s
}

#toast-container {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 15px;
  pointer-events: none
}

.custom-toast {
  background: rgba(255, 255, 255, .95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, .8);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 320px;
  max-width: 450px;
  transform: translateX(120%) scale(.9);
  opacity: 0;
  transition: .4s cubic-bezier(.175, .885, .32, 1.275);
  position: relative;
  overflow: hidden;
  pointer-events: auto
}

.custom-toast.show {
  transform: translateX(0) scale(1);
  opacity: 1
}

.custom-toast.removing {
  transform: translateX(120%) scale(.9);
  opacity: 0
}

.toast-icon-wrapper {
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center
}

.toast-success .toast-icon-wrapper {
  color: var(--success-color);
  text-shadow: 0 0 15px rgba(16, 185, 129, .4)
}

.toast-error .toast-icon-wrapper {
  color: #ef4444;
  text-shadow: 0 0 15px rgba(239, 68, 68, .4)
}

.toast-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px
}

.toast-title {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--primary-color)
}

.toast-message {
  color: var(--text-light);
  font-size: .95rem;
  line-height: 1.4
}

.toast-close {
  background: 0 0;
  border: none;
  color: var(--text-muted);
  font-size: 1.2rem;
  cursor: pointer;
  padding: 5px;
  border-radius: 50%;
  transition: .2s;
  display: flex;
  align-items: center;
  justify-content: center
}

.toast-close:hover {
  color: var(--primary-color);
  background: rgba(0, 0, 0, .05)
}

.toast-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  background: var(--success-color);
  width: 100%;
  animation: 5s linear forwards toast-progress
}

.toast-error .toast-progress {
  background: #ef4444
}

@keyframes toast-progress {
  100% {
    width: 0
  }
}

@media (max-width:992px) {
  .hero {
    padding: 120px 5% 100px;
    flex-direction: column;
    text-align: center
  }

  .hero-content h1 {
    font-size: 3rem
  }

  .hero-content p {
    margin: 0 auto 40px
  }

  .catchphrases {
    justify-content: center
  }

  .hero-form-wrapper {
    justify-content: center;
    width: 100%;
    perspective: none
  }

  .hero-form:hover {
    transform: translateY(-5px)
  }
}

@media (max-width:768px) {
  body > header {
    padding: 0 5%;
    position: relative;
    z-index: 1000;
    flex-wrap: wrap;
    backdrop-filter: none;
    -webkit-backdrop-filter: none
  }

  .header-left {
    flex: 1;
  }

  .logo {
    position: relative;
    z-index: 1001
  }

  .hamburger {
    display: block;
    position: relative;
    z-index: 1001
  }

  body > header nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: auto;
    background: rgba(255, 255, 255, .4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 30px 0;
    border: none;
    border-radius: 0 0 24px 24px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, .1);
    border-top: 1px solid rgba(0, 0, 0, .05)
  }

  body > header nav.active {
    display: flex;
    animation: .3s forwards dropDown
  }

  @keyframes dropDown {
    from {
      opacity: 0;
      transform: translateY(-10px)
    }

    to {
      opacity: 1;
      transform: translateY(0)
    }
  }

  body > header nav ul {
    flex-direction: column;
    gap: 20px;
    align-items: center;
    width: 100%
  }

  body > header nav a {
    display: inline-block;
    padding: 10px 0;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    transition: transform .2s, color .2s
  }

  body > header nav a:hover {
    transform: scale(1.05);
    color: var(--secondary-color)
  }

  .section-title {
    font-size: 2.2rem
  }

  .calculator-container,
  .db-card,
  .service-box,
  .source-card {
    width: 100%;
    max-width: 400px
  }

  .calculator-container {
    padding: 25px 15px
  }

  .record-input-wrapper {
    width: 100%;
    justify-content: space-between
  }

  .record-input-wrapper input {
    width: auto;
    flex: 1;
    text-align: left
  }

  .pricing-table td,
  .pricing-table th {
    padding: 15px 10px;
    font-size: .9rem
  }

  .table-responsive {
    overflow-x: auto
  }

  .grand-total-amount {
    font-size: 2.2rem
  }

  .order-btn {
    width: 100%;
    max-width: 100%
  }
}

.logo-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  align-items: center;
  gap: 10px
}

.service-description {
  margin-bottom: 15px;
  color: var(--text-light)
}

/* Removed old footer classes */

.header-blog-badge {
  font-size: 26px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-light);
  margin-left: 15px;
  border-left: 2px solid rgba(12, 18, 34, 0.2);
  padding-left: 15px;
  user-select: none;
  cursor: default;
}

.footer-auto-margin {
  margin-top: auto
}

.error-content {
  z-index: 2
}

.error-btn {
  display: inline-block;
  padding: 15px 40px;
  text-decoration: none
}

.error-hero {
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative
}

.error-code {
  font-size: clamp(6rem, 15vw, 12rem);
  line-height: 1;
  margin-bottom: 20px;
  text-shadow: 0 10px 30px rgba(0, 0, 0, .1)
}

.error-message {
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  color: var(--text-light);
  margin-bottom: 40px;
  max-width: 600px
}

.error-page {
  height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.error-page header,
.error-page footer {
  flex-shrink: 0;
}

.error-page .error-hero {
  flex: 1;
  min-height: 0;
  padding: 20px 5%;
}

.error-page .error-content {
  flex: 0 1 auto;
}

.error-page footer {
  padding-top: 40px;
}

.legal-page {
  padding: 100px 5%;
  background: var(--bg-white);
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  color: var(--text-dark);
  line-height: 1.8;
}

.legal-content h1,
.legal-content h2 {
  color: var(--primary-color);
  margin-top: 40px;
  margin-bottom: 20px;
}

.legal-content h1 {
  margin-top: 0;
}

.legal-content p {
  margin-bottom: 15px;
}

.legal-content ul {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 15px;
}

.checkbox-group {
  margin-bottom: 12px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-light);
  text-align: left;
}

.checkbox-group input[type="checkbox"] {
  margin-top: 4px;
  accent-color: var(--secondary-color);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  cursor: pointer;
}

.checkbox-group label {
  text-transform: none;
  font-weight: normal;
  margin-bottom: 0 !important;
  line-height: 1.4;
  color: var(--text-light);
  cursor: pointer;
  display: block;
}

.gdpr-info {
  font-size: 0.75rem;
  color: var(--text-light);
  margin-top: 15px;
  text-align: left;
  line-height: 1.4;
}

.faq {
  padding: 100px 5%;
  background: var(--bg-light);
  text-align: center;
}

.faq-container {
  max-width: 820px;
  margin: 0 auto;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .3s, border-color .3s;
}

.faq-item:hover {
  box-shadow: var(--shadow-md);
}

.faq-item.open {
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 2px rgba(14, 165, 233, .15), var(--shadow-md);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 28px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-color);
  text-align: left;
  transition: color .3s;
}

.faq-question:hover {
  color: var(--secondary-color);
}

.faq-item.open .faq-question {
  color: var(--secondary-color);
}

.faq-icon {
  font-size: .9rem;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: transform .4s cubic-bezier(.175, .885, .32, 1.275), color .3s;
}

.faq-item.open .faq-icon {
  transform: rotate(180deg);
  color: var(--secondary-color);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .45s cubic-bezier(.4, 0, .2, 1);
}

.faq-answer p {
  padding: 0 28px 24px;
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.8;
  margin: 0;
}

@media (max-width: 768px) {
  .faq-question {
    padding: 18px 20px;
    font-size: 1rem;
  }

  .faq-answer p {
    padding: 0 20px 20px;
  }
}

.nav-active {
  color: var(--secondary-color) !important;
}

.nav-active::after {
  width: 100% !important;
}

.blog-hero {
  background: var(--primary-color);
  color: #fff;
  padding: 140px 5% 90px;
  position: relative;
  overflow: hidden;
}

.blog-hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.blog-hero-content h1 {
  font-size: 3.8rem;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.1;
  letter-spacing: -1.5px;
}

.blog-hero-content p {
  font-size: 1.25rem;
  color: #cbd5e1;
  max-width: 600px;
  line-height: 1.8;
}

/* =============================================
   BREADCRUMB
   ============================================= */
.blog-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: #94a3b8;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.blog-breadcrumb a {
  color: #94a3b8;
  transition: color 0.2s;
}

.blog-breadcrumb a:hover {
  color: var(--accent-color);
}

.blog-breadcrumb i.fa-chevron-right {
  font-size: 0.7rem;
}

.blog-breadcrumb span {
  color: #cbd5e1;
}

/* =============================================
   BLOG LISTING
   ============================================= */
.blog-listing {
  padding: 80px 5%;
  background: var(--bg-light);
}

.blog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto 48px;
}

.blog-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 100px;
  border: 1px solid var(--border-color);
  background: var(--bg-white);
  color: var(--text-light);
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s, box-shadow 0.2s, transform 0.2s;
  box-shadow: var(--shadow-sm);
}

.blog-filter-btn:hover {
  color: var(--secondary-color);
  border-color: rgba(14, 165, 233, 0.35);
  transform: translateY(-1px);
}

.blog-filter-btn.is-active {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: #fff;
  box-shadow: var(--shadow-md);
}

.blog-filter-btn.is-active:hover {
  color: #fff;
}

.blog-filter-empty {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 1200px;
  margin: 0 auto 32px;
}

.blog-card.is-hidden {
  display: none;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 36px;
  max-width: 1200px;
  margin: 0 auto;
}

.blog-card {
  background: var(--bg-white);
  border-radius: 24px;
  padding: 40px 36px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
  transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.blog-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--secondary-color), var(--accent-purple));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s;
}

.blog-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}

.blog-card:hover::before {
  transform: scaleX(1);
}

.blog-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(14, 165, 233, 0.1);
  color: var(--secondary-color);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 18px;
  width: fit-content;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.blog-card-badge.badge-purple {
  background: rgba(139, 92, 246, 0.1);
  color: var(--accent-purple);
}

.blog-card-badge.badge-green {
  background: rgba(16, 185, 129, 0.1);
  color: var(--success-color);
}

.blog-card-badge.badge-amber {
  background: rgba(245, 158, 11, 0.1);
  color: #d97706;
}

.blog-card-badge.badge-indigo {
  background: rgba(99, 102, 241, 0.1);
  color: #4f46e5;
}

.blog-card-meta {
  display: flex;
  gap: 18px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.blog-card-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.blog-card h2 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 16px;
  line-height: 1.4;
  letter-spacing: -0.3px;
}

.blog-card h2 a {
  color: inherit;
  transition: color 0.3s;
}

.blog-card h2 a:hover {
  color: var(--secondary-color);
}

.blog-card p {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.75;
  flex: 1;
  margin-bottom: 28px;
}

.blog-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--secondary-color);
  transition: gap 0.3s;
  margin-top: auto;
}

.blog-card-link:hover {
  gap: 14px;
}

/* =============================================
   BLOG CTA (listing page)
   ============================================= */
.blog-cta {
  background: var(--primary-color);
  padding: 100px 5%;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.blog-cta::before {
  content: '';
  position: absolute;
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 900px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.blog-cta-content {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
}

.blog-cta-content h2 {
  font-size: 2.8rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 18px;
  letter-spacing: -1px;
}

.blog-cta-content p {
  font-size: 1.2rem;
  color: #94a3b8;
  margin-bottom: 36px;
  line-height: 1.7;
}

.blog-cta-btn {
  display: inline-block;
  width: auto;
  padding: 16px 48px;
  font-size: 1.1rem;
}

/* =============================================
   ARTICLE HERO
   ============================================= */
.article-hero {
  background: var(--primary-color);
  color: #fff;
  padding: 140px 5% 90px;
  position: relative;
  overflow: hidden;
}

.article-hero-content {
  position: relative;
  z-index: 1;
  max-width: 820px;
}

.article-hero h1 {
  font-size: 3.2rem;
  font-weight: 800;
  margin-bottom: 28px;
  line-height: 1.15;
  letter-spacing: -1.5px;
}

.article-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(14, 165, 233, 0.15);
  color: var(--accent-color);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 7px 18px;
  border-radius: 100px;
  margin-bottom: 22px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.article-badge--purple {
  background: rgba(139, 92, 246, 0.15);
  color: #c4b5fd;
}

.article-badge--green {
  background: rgba(16, 185, 129, 0.15);
  color: #6ee7b7;
}

.article-badge--amber {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
}

.article-badge--indigo {
  background: rgba(99, 102, 241, 0.15);
  color: #a5b4fc;
}

.article-meta {
  display: flex;
  gap: 24px;
  font-size: 0.9rem;
  color: #94a3b8;
  flex-wrap: wrap;
}

.article-meta span {
  display: flex;
  align-items: center;
  gap: 7px;
}

/* =============================================
   ARTICLE BODY + SIDEBAR
   ============================================= */
.blog-article {
  background: var(--bg-light);
}

.article-body {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 72px 5% 100px;
  align-items: start;
}

.article-content {
  background: var(--bg-white);
  border-radius: 24px;
  padding: 56px 60px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
}

.article-content h2 {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--primary-color);
  margin: 48px 0 18px;
  letter-spacing: -0.5px;
  line-height: 1.3;
}

.article-content h2:first-child {
  margin-top: 0;
}

.article-content p {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--text-dark);
  margin-bottom: 18px;
}

.article-lead {
  font-size: 1.2rem !important;
  line-height: 1.8 !important;
  color: var(--text-light) !important;
  border-left: 4px solid var(--secondary-color);
  padding-left: 24px;
  margin-bottom: 44px !important;
}

/* =============================================
   ARTICLE COMPONENTS
   ============================================= */
.article-highlight-box {
  background: rgba(14, 165, 233, 0.05);
  border: 1px solid rgba(14, 165, 233, 0.2);
  border-radius: 16px;
  padding: 28px 32px;
  margin: 28px 0;
}

.article-highlight-box--info {
  background: rgba(14, 165, 233, 0.06);
  border-color: rgba(14, 165, 233, 0.25);
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.article-highlight-box--warning {
  background: rgba(245, 158, 11, 0.05);
  border-color: rgba(245, 158, 11, 0.25);
}

.article-highlight-box--warning.article-highlight-box {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.highlight-icon {
  font-size: 1.4rem;
  color: var(--secondary-color);
  flex-shrink: 0;
  margin-top: 2px;
}

.article-highlight-box--warning .highlight-icon,
.icon-warning {
  color: #f59e0b;
}

.article-script-box {
  background: rgba(16, 185, 129, 0.05);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-left: 4px solid var(--success-color);
  border-radius: 14px;
  padding: 22px 28px;
  margin: 24px 0;
}

.article-script-box p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-dark);
}

.article-script-box--full p {
  margin: 0 0 14px;
}

.article-script-box--full p:last-child {
  margin-bottom: 0;
}

.article-script-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--success-color);
  margin: 0 0 12px !important;
}

.article-script-label i {
  font-size: 0.95rem;
}

.article-feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0;
  padding: 0;
}

.article-feature-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-dark);
}

.article-feature-list li i {
  font-size: 1.1rem;
  color: var(--secondary-color);
  margin-top: 3px;
  flex-shrink: 0;
}

.article-steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 28px 0;
}

.article-step {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  background: var(--bg-light);
  border-radius: 16px;
  padding: 24px 28px;
  border: 1px solid var(--border-color);
  transition: 0.3s;
}

.article-step:hover {
  border-color: var(--secondary-color);
  box-shadow: var(--shadow-sm);
}

.step-number {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--secondary-color);
  opacity: 0.35;
  flex-shrink: 0;
  line-height: 1;
  margin-top: 2px;
  min-width: 40px;
}

.step-content h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 8px;
}

.step-content p {
  font-size: 0.95rem !important;
  color: var(--text-light) !important;
  margin: 0 !important;
  line-height: 1.65 !important;
}

.article-ordered-list {
  padding-left: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 20px 0;
}

.article-ordered-list li {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-dark);
  padding-left: 8px;
}

.article-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 28px 0;
}

.article-stats-grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

.article-stat {
  background: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 24px 20px;
  text-align: center;
  transition: 0.3s;
}

.article-stat:hover {
  border-color: var(--secondary-color);
  box-shadow: var(--shadow-sm);
}

.stat-value {
  font-size: 1.9rem;
  font-weight: 900;
  color: var(--secondary-color);
  letter-spacing: -1px;
  margin-bottom: 8px;
  line-height: 1;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.5;
}

.article-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 24px 0;
}

.col-yes,
.col-no {
  border-radius: 16px;
  padding: 28px 24px;
  border: 1px solid;
}

.col-yes {
  background: rgba(16, 185, 129, 0.05);
  border-color: rgba(16, 185, 129, 0.25);
}

.col-no {
  background: rgba(239, 68, 68, 0.05);
  border-color: rgba(239, 68, 68, 0.2);
}

.col-yes h3,
.col-no h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.col-yes h3 {
  color: var(--success-color);
}

.col-no h3 {
  color: #ef4444;
}

.col-yes ul,
.col-no ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0;
}

.col-yes ul li,
.col-no ul li {
  font-size: 0.92rem;
  color: var(--text-dark);
  line-height: 1.55;
  padding-left: 2px;
}

.article-tools-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 16px 0 24px;
}

.article-tools-list li {
  font-size: 1rem;
  color: var(--text-dark);
  line-height: 1.65;
  padding: 14px 18px;
  background: var(--bg-light);
  border-radius: 12px;
  border: 1px solid var(--border-color);
}

.article-table-wrapper {
  overflow-x: auto;
  margin: 20px 0;
  border-radius: 12px;
  border: 1px solid var(--border-color);
}

.article-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 480px;
}

.article-table th {
  background: var(--bg-light);
  padding: 14px 18px;
  text-align: left;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-light);
  border-bottom: 1px solid var(--border-color);
}

.article-table td {
  padding: 14px 18px;
  font-size: 0.95rem;
  color: var(--text-dark);
  border-bottom: 1px solid var(--border-color);
  vertical-align: top;
}

.article-table tr:last-child td {
  border-bottom: none;
}

.article-table tr:hover td {
  background: rgba(14, 165, 233, 0.03);
}

.article-content code {
  background: var(--bg-light);
  border: 1px solid var(--border-color);
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 0.88em;
  font-family: 'Courier New', monospace;
  color: var(--secondary-dark);
}

.article-cta-box {
  background: linear-gradient(135deg, var(--primary-color) 0%, #1e2d4a 100%);
  border-radius: 20px;
  padding: 44px 48px;
  margin-top: 52px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.article-cta-box::before {
  content: '';
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.12) 0%, transparent 65%);
  pointer-events: none;
}

.article-cta-box h3 {
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
}

.article-cta-box p {
  color: #94a3b8 !important;
  margin-bottom: 28px !important;
  position: relative;
  z-index: 1;
}

.article-cta-btn {
  display: inline-block;
  width: auto;
  padding: 14px 44px;
  font-size: 1.05rem;
  position: relative;
  z-index: 1;
}

.article-content p a:not(.btn-submit):not(.article-cta-btn),
.article-content li a:not(.btn-submit):not(.article-cta-btn),
.article-content .article-feature-list a:not(.btn-submit):not(.article-cta-btn),
.article-content .article-highlight-box a:not(.btn-submit):not(.article-cta-btn),
.article-content .article-step a:not(.btn-submit):not(.article-cta-btn),
.article-content .article-two-col a:not(.btn-submit):not(.article-cta-btn),
.article-content .article-lead a:not(.btn-submit):not(.article-cta-btn) {
  color: var(--secondary-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.article-content p a:not(.btn-submit):not(.article-cta-btn):hover,
.article-content li a:not(.btn-submit):not(.article-cta-btn):hover,
.article-content .article-feature-list a:not(.btn-submit):not(.article-cta-btn):hover,
.article-content .article-highlight-box a:not(.btn-submit):not(.article-cta-btn):hover,
.article-content .article-step a:not(.btn-submit):not(.article-cta-btn):hover,
.article-content .article-two-col a:not(.btn-submit):not(.article-cta-btn):hover,
.article-content .article-lead a:not(.btn-submit):not(.article-cta-btn):hover {
  color: var(--secondary-color);
}

.article-sources {
  margin-top: 48px;
  padding: 28px 32px;
  background: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: 16px;
}

.article-sources h2 {
  margin-top: 0 !important;
  margin-bottom: 16px !important;
  font-size: 1.25rem !important;
}

.article-sources .article-sources-intro {
  font-size: 0.95rem !important;
  color: var(--text-light) !important;
  margin-bottom: 16px !important;
}

.article-sources-list {
  list-style: disc;
  padding-left: 22px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.article-sources-list li {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-dark);
  padding-left: 4px;
}

.article-sources-list a {
  color: var(--secondary-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.article-sources-list a:hover {
  color: var(--secondary-color);
}

/* =============================================
   ARTICLE SIDEBAR
   ============================================= */
.article-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: sticky;
  top: 100px;
}

.sidebar-widget {
  background: var(--bg-white);
  border-radius: 20px;
  padding: 28px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.sidebar-widget h3 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.sidebar-widget h3 i {
  color: var(--secondary-color);
}

.toc-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toc-list li a {
  font-size: 0.9rem;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  border-bottom: 1px solid var(--border-color);
  transition: color 0.2s;
}

.toc-list li a::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--secondary-color);
  border-radius: 50%;
  flex-shrink: 0;
  opacity: 0.4;
}

.toc-list li a:hover {
  color: var(--secondary-color);
}

.toc-list li a:hover::before {
  opacity: 1;
}

.toc-list li:last-child a {
  border-bottom: none;
}

.sidebar-cta {
  background: linear-gradient(135deg, var(--primary-color) 0%, #1e2d4a 100%);
  border: none;
}

.sidebar-cta h3 {
  color: #fff;
}

.sidebar-cta h3 i {
  color: var(--accent-color);
}

.sidebar-cta p {
  font-size: 0.9rem;
  color: #94a3b8;
  margin-bottom: 18px;
  line-height: 1.6;
}

.sidebar-btn {
  display: block;
  text-align: center;
  padding: 12px 20px;
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.sidebar-btn:hover {
  border-color: transparent;
  color: #fff;
}

.related-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.related-list li a {
  font-size: 0.9rem;
  color: var(--text-light);
  display: flex;
  gap: 8px;
  align-items: flex-start;
  line-height: 1.5;
  transition: color 0.2s;
}

.related-list li a::before {
  content: '→';
  color: var(--secondary-color);
  flex-shrink: 0;
  margin-top: 1px;
}

.related-list li a:hover {
  color: var(--secondary-color);
}

@media (max-width: 1024px) {
  .article-body {
    grid-template-columns: 1fr;
  }

  .article-sidebar {
    position: static;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  }

  .article-stats-grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {

  .blog-hero-content h1,
  .article-hero h1 {
    font-size: 2.4rem;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .blog-filters {
    gap: 10px;
    margin-bottom: 36px;
  }

  .blog-filter-btn {
    font-size: 0.8rem;
    padding: 9px 14px;
  }

  .article-content {
    padding: 36px 26px;
  }

  .article-body {
    padding: 48px 5% 72px;
    gap: 32px;
  }

  .article-content h2 {
    font-size: 1.5rem;
  }

  .article-two-col {
    grid-template-columns: 1fr;
  }

  .article-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .article-stats-grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .article-cta-box {
    padding: 36px 28px;
  }

  .blog-cta-content h2 {
    font-size: 2rem;
  }

  .article-sidebar {
    grid-template-columns: 1fr;
  }

  .article-step {
    flex-direction: column;
    gap: 12px;
  }

  .step-number {
    font-size: 1.2rem;
  }
}

/* ======================================================================
   SEKCJA "GOTOWE BAZY BRANŻOWE" (/bazy-firm)
   Komponenty z prefiksem .bf-  (bazy-firm). Reużywa zmiennych :root.
   ====================================================================== */
.bf-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 5%;
}

.bf-section {
  padding: 70px 0;
}

.bf-section--alt {
  background: var(--bg-white);
}

.bf-h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 14px;
  letter-spacing: -.02em;
}

.bf-section-sub {
  color: var(--text-light);
  font-size: 1.05rem;
  max-width: 720px;
  margin-bottom: 36px;
}

.bf-section p {
  color: var(--text-light);
  margin-bottom: 16px;
  font-size: 1.05rem;
}

/* --- Hero strony branżowej --- */
.bf-hero .bf-hero-lead {
  color: var(--text-light);
  font-size: 1.15rem;
  max-width: 640px;
  margin: 18px 0 28px;
}

.bf-hero-meta {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 28px;
}

.bf-hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
}

.bf-hero-price-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 22px;
  width: 100%;
  background: linear-gradient(135deg, var(--primary-color), #1a3d5c);
  border-radius: 12px;
  padding: 14px 22px;
  box-shadow: var(--shadow-sm);
}

.bf-hero-price-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: rgba(255, 255, 255, .8);
}

.bf-hero-price-label i {
  font-size: .9rem;
}

.bf-hero-price-value {
  font-size: 1.85rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

.bf-hero-price-value span {
  font-size: 1rem;
  font-weight: 700;
  opacity: .9;
}

.bf-hero-price-meta {
  font-size: .95rem;
  color: rgba(255, 255, 255, .75);
}

.bf-hero-price-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  font-size: .9rem;
  font-weight: 600;
  color: #fff;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 8px;
  padding: 8px 14px;
  transition: background .2s, border-color .2s;
}

.bf-hero-price-link:hover {
  background: rgba(255, 255, 255, .2);
  border-color: rgba(255, 255, 255, .4);
  color: #fff;
}

.bf-stat {
  display: flex;
  flex-direction: column;
}

.bf-stat strong {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--secondary-color);
  line-height: 1.1;
}

.bf-stat span {
  font-size: .9rem;
  color: var(--text-muted);
}

.bf-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.bf-cta-btn {
  display: inline-block;
  width: auto;
}

.bf-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* --- Korzyści --- */
.bf-benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}

.bf-benefit {
  background: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 28px;
  transition: transform .3s, box-shadow .3s;
}

.bf-section--alt .bf-benefit {
  background: var(--bg-light);
}

.bf-benefit:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.bf-benefit-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
  color: #fff;
  font-size: 1.3rem;
  margin-bottom: 16px;
}

.bf-benefit h3 {
  font-size: 1.15rem;
  color: var(--primary-color);
  margin-bottom: 8px;
}

.bf-benefit p {
  color: var(--text-light);
  font-size: .98rem;
  margin: 0;
}

/* --- Tabela zawartości bazy --- */
.bf-table-wrap {
  overflow-x: auto;
  border-radius: 14px;
  border: 1px solid var(--border-color);
}

.bf-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-white);
  min-width: 560px;
}

.bf-table th,
.bf-table td {
  text-align: left;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-color);
  font-size: .98rem;
}

.bf-table thead th {
  background: var(--primary-color);
  color: #fff;
  font-weight: 600;
}

.bf-table tbody tr:last-child td {
  border-bottom: none;
}

.bf-table tbody tr:nth-child(even) {
  background: var(--bg-light);
}

.bf-table .bf-example {
  color: var(--text-muted);
  font-family: monospace;
  font-size: .9rem;
}

.bf-chips {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.bf-chips + .bf-chips {
  margin-top: 10px;
}

.bf-chips-label {
  font-weight: 600;
  color: var(--text-dark);
  margin-right: 4px;
}

.bf-chip {
  background: rgba(14, 165, 233, .1);
  color: var(--secondary-dark);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: .85rem;
  font-weight: 600;
}

/* --- Segmenty --- */
.bf-segments {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 14px;
}

.bf-segments li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 16px 18px;
  color: var(--text-dark);
  font-weight: 500;
}

.bf-segments li i {
  color: var(--success-color);
  margin-top: 4px;
}

/* --- Cennik na stronach bazy firm --- */
.bf-pricing-card {
  display: grid;
  grid-template-columns: minmax(220px, 280px) 1fr;
  gap: 0;
  border: 1px solid var(--border-color);
  border-radius: 18px;
  overflow: hidden;
  background: var(--bg-white);
  box-shadow: var(--shadow-md);
}

.bf-pricing-main {
  background: linear-gradient(160deg, var(--primary-color), #1e3a5f);
  color: #fff;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.bf-pricing-main .bf-pricing-label,
.bf-pricing-main .bf-pricing-amount,
.bf-pricing-main .bf-pricing-unit {
  color: #fff;
}

.bf-pricing-label {
  font-size: .95rem;
  opacity: .85;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: .04em;
  font-weight: 600;
}

.bf-pricing-amount {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 10px;
}

.bf-pricing-amount span {
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
}

.bf-pricing-unit {
  font-size: .98rem;
  opacity: .9;
  margin: 0;
}

.bf-pricing-details {
  padding: 32px 36px;
}

.bf-pricing-includes {
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 12px;
}

.bf-pricing-fields {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}

.bf-pricing-fields li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-dark);
  font-weight: 500;
}

.bf-pricing-fields li i {
  color: var(--success-color);
}

.bf-pricing-note {
  color: var(--text-light);
  font-size: .95rem;
  margin-bottom: 22px;
}

.bf-pricing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.bf-pricing-cennik {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.bf-pricing-banner {
  padding: 0 0 48px;
}

.bf-pricing-banner-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: linear-gradient(135deg, rgba(14, 165, 233, .12), rgba(139, 92, 246, .1));
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 22px 28px;
  font-size: 1.05rem;
  color: var(--text-dark);
}

.bf-pricing-banner-inner strong {
  font-size: 1.5rem;
  color: var(--secondary-color);
  margin-right: 6px;
}

.bf-pricing-banner-sub {
  display: block;
  font-size: .92rem;
  color: var(--text-light);
  margin-top: 4px;
}

@media (max-width: 768px) {
  .bf-pricing-card {
    grid-template-columns: 1fr;
  }

  .bf-pricing-main {
    padding: 28px 24px;
  }

  .bf-pricing-details {
    padding: 24px;
  }

  .bf-pricing-amount {
    font-size: 2.4rem;
  }
}

/* --- Zastosowania --- */
.bf-usecases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.bf-usecase {
  display: flex;
  gap: 16px;
  background: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 22px;
}

.bf-section--alt .bf-usecase {
  background: var(--bg-white);
}

.bf-usecase > i {
  font-size: 1.4rem;
  color: var(--secondary-color);
  margin-top: 4px;
}

.bf-usecase h3 {
  font-size: 1.08rem;
  color: var(--primary-color);
  margin-bottom: 6px;
}

.bf-usecase p {
  margin: 0;
  font-size: .96rem;
}

/* --- Pasek CTA --- */
.bf-cta-band {
  padding: 24px 5%;
}

.bf-cta-band-inner {
  max-width: 1100px;
  margin: 0 auto;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  border-radius: 20px;
  padding: 44px;
  text-align: center;
  box-shadow: var(--shadow-xl);
}

.bf-cta-band-inner h2 {
  color: #fff;
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  margin-bottom: 10px;
}

.bf-cta-band-inner p {
  color: rgba(255, 255, 255, .8);
  max-width: 600px;
  margin: 0 auto 24px;
}

/* --- Powiązane bazy --- */
.bf-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px;
}

.bf-related-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 18px 20px;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}

.bf-related-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--secondary-color);
}

.bf-related-icon {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(14, 165, 233, .12);
  color: var(--secondary-color);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.bf-related-card strong {
  display: block;
  color: var(--primary-color);
  font-size: 1.02rem;
}

.bf-related-card span {
  display: block;
  color: var(--text-light);
  font-size: .9rem;
}

.bf-related-arrow {
  margin-left: auto;
  color: var(--secondary-color);
}

.bf-related-all {
  margin-top: 24px;
}

.bf-related-all a {
  color: var(--secondary-color);
  font-weight: 600;
}

/* --- Kontakt --- */
.bf-contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: start;
}

.bf-contact-intro h2 {
  margin-bottom: 16px;
}

.bf-contact-points {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.bf-contact-points li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-dark);
  font-weight: 500;
}

.bf-contact-points li i {
  color: var(--success-color);
}

.bf-form {
  margin: 0;
  max-width: 100%;
  width: 100%;
}

.bf-form:hover {
  transform: translateY(-3px);
}

/* --- Hub /bazy-firm/ --- */
.bf-hub-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

@media (max-width: 600px) {
  .bf-hub-grid {
    grid-template-columns: 1fr;
  }
}

.bf-hub-card {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}

.bf-section--alt .bf-hub-card {
  background: var(--bg-light);
}

.bf-hub-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--secondary-color);
}

.bf-hub-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--secondary-color), var(--accent-purple));
  color: #fff;
  font-size: 1.5rem;
  margin-bottom: 18px;
}

.bf-hub-card h3 {
  font-size: 1.2rem;
  color: var(--primary-color);
  margin-bottom: 8px;
}

.bf-hub-card p {
  color: var(--text-light);
  font-size: .96rem;
  margin-bottom: 18px;
  flex-grow: 1;
}

.bf-hub-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border-color);
  padding-top: 14px;
  font-size: .88rem;
}

.bf-hub-meta > span:first-child {
  color: var(--text-muted);
  white-space: nowrap;
}

.bf-hub-link {
  color: var(--secondary-color);
  font-weight: 600;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .bf-section {
    padding: 48px 0;
  }

  .bf-contact-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .bf-hero-stats {
    gap: 20px;
  }

  .bf-hero-price-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .bf-hero-price-link {
    margin-left: 0;
    width: 100%;
    justify-content: center;
  }

  .bf-cta-band-inner {
    padding: 32px 22px;
  }
}

/* --- Compliance FAQ + klauzula do skopiowania --- */
.compliance-faq {
  padding-top: 0;
}

.clause-box {
  margin: 4px 28px 0;
  border: 1px solid var(--border-color);
  border-radius: 14px;
  background: var(--bg-light);
  overflow: hidden;
}

.clause-box-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  background: var(--primary-color);
  color: #fff;
  font-size: .9rem;
  font-weight: 600;
}

.clause-box-header i {
  color: var(--accent-color);
}

.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 8px;
  background: rgba(255, 255, 255, .08);
  color: #fff;
  font-family: inherit;
  font-size: .82rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .25s, border-color .25s, transform .1s;
}

.copy-btn:hover {
  background: var(--secondary-color);
  border-color: var(--secondary-color);
}

.copy-btn:active {
  transform: scale(.97);
}

.copy-btn.copied {
  background: var(--success-color);
  border-color: var(--success-color);
}

.clause-text {
  padding: 18px 18px;
  margin: 0;
  font-size: .92rem;
  line-height: 1.7;
  color: var(--text-dark);
  white-space: pre-wrap;
  word-break: break-word;
}

@media (max-width: 768px) {
  .clause-box {
    margin: 4px 20px 0;
  }

  .clause-box-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}