:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --secondary: #0f172a;
  --muted: #64748b;
  --soft: #f8fafc;
  --border: #e2e8f0;
  --gradient: linear-gradient(135deg, #eff6ff 0%, #ffffff 55%, #e0f2fe 100%);
}

html {
  scroll-behavior: smooth;
}

body {
  color: #1e293b;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  color: var(--primary-dark);
}

.navbar {
  min-height: 76px;
}

.navbar-brand {
  align-items: center;
  display: inline-flex;
  padding: 0;
}

.brand-logo {
  display: block;
  height: 56px;
  max-width: 210px;
  object-fit: contain;
  width: auto;
}

main {
  padding-top: 76px;
}

.section {
  padding: 88px 0;
}

.page-offset {
  padding-top: 120px;
}

.bg-soft {
  background: var(--soft);
}

.hero-section {
  background: var(--gradient);
  overflow: hidden;
  padding: 64px 0 96px;
  position: relative;
}

.hero-dark {
  background: linear-gradient(135deg, #0f172a 0%, #1d4ed8 100%);
  color: #fff;
}

.hero-home {
  min-height: 620px;
  padding-top: 56px;
}

.hero-section h1 {
  color: var(--secondary);
  font-size: clamp(2.6rem, 5vw, 4.8rem);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1.02;
  margin-bottom: 1.5rem;
}

.hero-dark h1,
.bg-primary h2 {
  color: #fff;
}

.hero-section h1 span {
  background: linear-gradient(135deg, var(--primary), #06b6d4);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  background: rgba(37, 99, 235, .1);
  border-radius: 999px;
  color: var(--primary);
  display: inline-flex;
  font-weight: 700;
  margin-bottom: 1rem;
  padding: .45rem 1rem;
}

.hero-dark .eyebrow {
  background: rgba(255, 255, 255, .14);
  color: #bfdbfe;
}

.lead {
  color: var(--muted);
}

.hero-dark .lead {
  color: rgba(255, 255, 255, .82);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.hero-stats div,
.mini-card,
.feature-card,
.module-card,
.pricing-card,
.district-card,
.blog-card,
.client-logo-card,
.benefit-card,
.process-card,
.content-card,
.faq-item,
.card-form,
.integration-box {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: 0 18px 50px rgba(15, 23, 42, .08);
}

.hero-stats div {
  min-width: 132px;
  padding: 1rem;
}

.hero-stats strong {
  color: var(--primary);
  display: block;
  font-size: 1.7rem;
  line-height: 1;
}

.hero-stats small {
  color: var(--muted);
  display: block;
  font-weight: 600;
  margin-top: .35rem;
}

.hero-dark .hero-stats div {
  background: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .16);
}

.hero-dark .hero-stats small,
.hero-dark .hero-stats strong {
  color: #fff;
}

.hero-card {
  background: rgba(255, 255, 255, .8);
  border: 1px solid rgba(255, 255, 255, .85);
  border-radius: 32px;
  box-shadow: 0 28px 70px rgba(37, 99, 235, .16);
  padding: 2rem;
}

.hero-module-card {
  background:
    radial-gradient(circle at 90% 10%, rgba(37, 99, 235, .18), transparent 26%),
    rgba(255, 255, 255, .92);
  backdrop-filter: blur(12px);
  overflow: hidden;
  position: relative;
}

.hero-module-card::after {
  background: linear-gradient(135deg, rgba(37, 99, 235, .12), rgba(6, 182, 212, .08));
  border-radius: 999px;
  bottom: -90px;
  content: "";
  height: 190px;
  position: absolute;
  right: -80px;
  width: 190px;
}

.hero-module-header {
  align-items: flex-start;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}

.hero-module-header h2 {
  color: var(--secondary);
  font-weight: 850;
  margin-bottom: 0;
}

.hero-module-header > i {
  align-items: center;
  background: linear-gradient(135deg, var(--primary), #06b6d4);
  border-radius: 20px;
  color: #fff;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 2rem;
  height: 64px;
  justify-content: center;
  width: 64px;
}

.hero-module-kicker {
  color: var(--primary);
  display: block;
  font-size: .78rem;
  font-weight: 850;
  letter-spacing: .08em;
  margin-bottom: .35rem;
  text-transform: uppercase;
}

.compact {
  margin-top: 0;
}

.mini-card {
  align-items: center;
  color: var(--secondary);
  display: flex;
  gap: .75rem;
  height: 100%;
  padding: 1rem;
}

.mini-card i {
  color: var(--primary);
  font-size: 1.7rem;
}

.mini-card span {
  color: var(--muted);
  display: block;
  font-size: .9rem;
}

.hero-module-link {
  align-items: center;
  background: rgba(255, 255, 255, .88);
  border-color: rgba(37, 99, 235, .1);
  gap: .85rem;
  min-height: 86px;
  position: relative;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  z-index: 1;
}

.hero-module-link:hover {
  border-color: rgba(37, 99, 235, .35);
  box-shadow: 0 18px 42px rgba(37, 99, 235, .12);
  transform: translateY(-4px);
}

.module-link-icon {
  align-items: center;
  background: rgba(37, 99, 235, .1);
  border-radius: 16px;
  color: var(--primary);
  display: inline-flex !important;
  flex: 0 0 auto;
  height: 48px;
  justify-content: center;
  width: 48px;
}

.module-link-icon i {
  font-size: 1.6rem;
}

.hero-module-link strong {
  color: var(--secondary);
  display: block;
  font-size: .98rem;
  font-weight: 850;
  line-height: 1.25;
}

.hero-module-link small {
  color: var(--muted);
  display: block;
  font-size: .78rem;
  font-weight: 700;
  margin-top: .15rem;
}

.client-section {
  background:
    radial-gradient(circle at 8% 18%, rgba(37, 99, 235, .1), transparent 28%),
    radial-gradient(circle at 92% 10%, rgba(6, 182, 212, .12), transparent 28%),
    #fff;
}

.client-section-panel {
  background: linear-gradient(180deg, rgba(255, 255, 255, .96) 0%, rgba(248, 250, 252, .96) 100%);
  border: 1px solid rgba(226, 232, 240, .9);
  border-radius: 34px;
  box-shadow: 0 28px 80px rgba(15, 23, 42, .1);
  overflow: hidden;
  padding: clamp(1.5rem, 4vw, 3rem);
  position: relative;
}

.client-section-panel::before {
  background: linear-gradient(135deg, rgba(37, 99, 235, .12), rgba(6, 182, 212, .08));
  border-radius: 999px;
  content: "";
  height: 260px;
  position: absolute;
  right: -90px;
  top: -120px;
  width: 260px;
}

.client-section-panel > * {
  position: relative;
  z-index: 1;
}

.client-section-panel h2 {
  color: var(--secondary);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 850;
  letter-spacing: -.03em;
}

.client-section-panel p {
  color: var(--muted);
  font-size: 1.08rem;
  margin-bottom: 0;
  max-width: 760px;
}

.client-trust-stats {
  display: grid;
  gap: .8rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.client-trust-stats div {
  background: #fff;
  border: 1px solid rgba(37, 99, 235, .12);
  border-radius: 20px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, .08);
  padding: 1rem;
  text-align: center;
}

.client-trust-stats strong {
  color: var(--primary);
  display: block;
  font-size: 1.8rem;
  line-height: 1;
}

.client-trust-stats span {
  color: var(--muted);
  display: block;
  font-size: .82rem;
  font-weight: 800;
  margin-top: .35rem;
}

.client-logo-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.client-logo-card {
  align-items: center;
  background: rgba(255, 255, 255, .92);
  display: flex;
  justify-content: center;
  min-height: 150px;
  padding: 1.25rem;
  transition: transform .2s ease, box-shadow .2s ease;
}

.client-logo-card:hover {
  box-shadow: 0 22px 60px rgba(15, 23, 42, .12);
  transform: translateY(-3px);
}

.client-logo-card a,
.client-logo-card div {
  align-items: center;
  color: var(--secondary);
  display: flex;
  flex-direction: column;
  gap: .75rem;
  height: 100%;
  justify-content: center;
  text-align: center;
  width: 100%;
}

.client-logo-card img {
  display: block;
  max-height: 72px;
  max-width: 150px;
  object-fit: contain;
}

.client-logo-card span {
  color: var(--secondary);
  font-size: .9rem;
  font-weight: 800;
  line-height: 1.25;
}

.client-empty-state {
  margin: 0 auto;
  max-width: 720px;
  padding: 2rem;
}

.home-enquiry-section {
  background:
    radial-gradient(circle at 12% 20%, rgba(37, 99, 235, .11), transparent 30%),
    radial-gradient(circle at 90% 18%, rgba(6, 182, 212, .13), transparent 28%),
    linear-gradient(180deg, #f8fafc 0%, #fff 100%);
}

.home-enquiry-panel {
  background: linear-gradient(135deg, #0f172a 0%, #1d4ed8 58%, #0891b2 100%);
  border-radius: 34px;
  box-shadow: 0 30px 90px rgba(15, 23, 42, .18);
  color: #dbeafe;
  overflow: hidden;
  padding: clamp(1.5rem, 4vw, 3rem);
  position: relative;
}

.home-enquiry-panel::before {
  background: radial-gradient(circle, rgba(255, 255, 255, .22), transparent 65%);
  content: "";
  height: 320px;
  position: absolute;
  right: -110px;
  top: -130px;
  width: 320px;
}

.home-enquiry-panel .eyebrow {
  background: rgba(255, 255, 255, .16);
  color: #fff;
  position: relative;
  z-index: 1;
}

.home-enquiry-panel h2 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 850;
  letter-spacing: -.03em;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.home-enquiry-panel p {
  color: rgba(255, 255, 255, .84);
  font-size: 1.08rem;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.enquiry-benefits {
  display: grid;
  gap: .8rem;
  position: relative;
  z-index: 1;
}

.enquiry-benefits div {
  align-items: center;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 16px;
  display: flex;
  gap: .75rem;
  padding: .85rem 1rem;
}

.enquiry-benefits i {
  color: #bfdbfe;
  font-size: 1.45rem;
}

.enquiry-benefits span {
  color: #fff;
  font-weight: 700;
}

.enquiry-card {
  border: 0;
  box-shadow: 0 24px 70px rgba(15, 23, 42, .22);
  padding: clamp(1.25rem, 3vw, 2rem);
  position: relative;
  z-index: 1;
}

.enquiry-card .form-label {
  color: var(--secondary);
  font-weight: 750;
}

.enquiry-card .form-control,
.enquiry-card .input-group-text {
  min-height: 48px;
}

.home-features-section {
  background:
    radial-gradient(circle at 8% 12%, rgba(37, 99, 235, .09), transparent 28%),
    radial-gradient(circle at 92% 30%, rgba(6, 182, 212, .12), transparent 26%),
    #fff;
}

.home-features-section h2 {
  color: var(--secondary);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 850;
  letter-spacing: -.03em;
}

.home-feature-card {
  overflow: hidden;
  padding: 2rem;
  position: relative;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.home-feature-card::after {
  background: linear-gradient(135deg, rgba(37, 99, 235, .12), rgba(6, 182, 212, .08));
  border-radius: 999px;
  content: "";
  height: 140px;
  position: absolute;
  right: -70px;
  top: -70px;
  width: 140px;
}

.home-feature-card:hover {
  border-color: rgba(37, 99, 235, .35);
  box-shadow: 0 28px 70px rgba(37, 99, 235, .14);
  transform: translateY(-6px);
}

.home-feature-icon {
  align-items: center;
  background: linear-gradient(135deg, rgba(37, 99, 235, .12), rgba(6, 182, 212, .14));
  border-radius: 20px;
  color: var(--primary);
  display: inline-flex;
  font-size: 2rem;
  height: 64px;
  justify-content: center;
  margin-bottom: 1.25rem;
  position: relative;
  width: 64px;
  z-index: 1;
}

.home-feature-card h3,
.home-feature-card p {
  position: relative;
  z-index: 1;
}

.home-feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: .85rem;
}

.home-feature-card p {
  color: var(--muted);
  margin-bottom: 0;
}

.home-cta-section {
  background: linear-gradient(180deg, #fff 0%, #eff6ff 100%);
}

.home-cta-card {
  background:
    radial-gradient(circle at 12% 20%, rgba(255, 255, 255, .28), transparent 28%),
    linear-gradient(135deg, #0f172a 0%, #1d4ed8 54%, #0891b2 100%);
  border-radius: 32px;
  box-shadow: 0 28px 80px rgba(15, 23, 42, .22);
  color: #fff;
  overflow: hidden;
  padding: clamp(2.25rem, 5vw, 4.5rem);
  position: relative;
}

.home-cta-card::after {
  background: rgba(255, 255, 255, .12);
  border-radius: 999px;
  content: "";
  height: 220px;
  position: absolute;
  right: -70px;
  top: -90px;
  width: 220px;
}

.home-cta-card .eyebrow {
  background: rgba(255, 255, 255, .16);
  color: #dbeafe;
  position: relative;
  z-index: 1;
}

.home-cta-card h2 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 850;
  letter-spacing: -.03em;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.home-cta-card p {
  color: rgba(255, 255, 255, .88);
  font-size: 1.15rem;
  margin: 0 auto 1.75rem;
  max-width: 760px;
  position: relative;
  z-index: 1;
}

.home-cta-card .btn {
  box-shadow: 0 14px 35px rgba(15, 23, 42, .18);
  font-weight: 800;
  position: relative;
  z-index: 1;
}

.feature-card,
.module-card,
.district-card,
.benefit-card,
.process-card,
.content-card,
.faq-item,
.card-form,
.integration-box {
  padding: 1.6rem;
}

.feature-card h3,
.module-card h3,
.district-card h4,
.blog-card h3,
.benefit-card h3,
.faq-item h3 {
  color: var(--secondary);
  font-size: 1.2rem;
  font-weight: 750;
}

.pricing-faq-section {
  background:
    radial-gradient(circle at 12% 10%, rgba(37, 99, 235, .08), transparent 28%),
    radial-gradient(circle at 88% 22%, rgba(6, 182, 212, .1), transparent 26%),
    var(--soft);
}

.faq-search {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: 0 18px 50px rgba(15, 23, 42, .08);
  display: flex;
  gap: .75rem;
  margin: 0 auto;
  max-width: 840px;
  padding: 1rem;
}

.faq-search .form-control {
  min-height: 48px;
}

.faq-result-count {
  color: var(--muted);
  font-weight: 700;
  margin-bottom: 1rem;
}

.pricing-faq-section .faq-item {
  border-color: rgba(37, 99, 235, .12);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.pricing-faq-section .faq-item:hover {
  border-color: rgba(37, 99, 235, .32);
  box-shadow: 0 24px 60px rgba(37, 99, 235, .12);
  transform: translateY(-4px);
}

.faq-answer {
  color: var(--muted);
}

.faq-answer > :last-child {
  margin-bottom: 0;
}

.faq-answer h1,
.faq-answer h2,
.faq-answer h3,
.faq-answer h4,
.faq-answer h5,
.faq-answer h6 {
  color: var(--secondary);
  font-size: 1rem;
  font-weight: 700;
  margin-top: .75rem;
}

.faq-pagination {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  justify-content: center;
  margin-top: 2rem;
}

.faq-page-numbers {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
}

.modules-showcase-section {
  background:
    radial-gradient(circle at 8% 10%, rgba(37, 99, 235, .09), transparent 30%),
    radial-gradient(circle at 92% 16%, rgba(6, 182, 212, .12), transparent 28%),
    #fff;
}

.modules-section-header {
  background: linear-gradient(135deg, #0f172a 0%, #1d4ed8 58%, #0891b2 100%);
  border-radius: 34px;
  box-shadow: 0 28px 80px rgba(15, 23, 42, .18);
  color: #dbeafe;
  overflow: hidden;
  padding: clamp(1.5rem, 4vw, 3rem);
  position: relative;
}

.modules-section-header::after {
  background: rgba(255, 255, 255, .12);
  border-radius: 999px;
  content: "";
  height: 240px;
  position: absolute;
  right: -80px;
  top: -110px;
  width: 240px;
}

.modules-section-header > * {
  position: relative;
  z-index: 1;
}

.modules-section-header .eyebrow {
  background: rgba(255, 255, 255, .16);
  color: #fff;
}

.modules-section-header h2 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.3rem);
  font-weight: 850;
  letter-spacing: -.03em;
}

.modules-section-header p {
  color: rgba(255, 255, 255, .84);
  font-size: 1.1rem;
  margin-bottom: 0;
  max-width: 760px;
}

.modules-header-stats {
  display: grid;
  gap: .8rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.modules-header-stats div {
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 20px;
  padding: 1rem;
  text-align: center;
}

.modules-header-stats strong {
  color: #fff;
  display: block;
  font-size: 1.8rem;
  line-height: 1;
}

.modules-header-stats span {
  color: #dbeafe;
  display: block;
  font-size: .82rem;
  font-weight: 800;
  margin-top: .35rem;
}

.modules-showcase-card {
  overflow: hidden;
  position: relative;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.modules-showcase-card::after {
  background: linear-gradient(135deg, rgba(37, 99, 235, .1), rgba(6, 182, 212, .08));
  border-radius: 999px;
  content: "";
  height: 150px;
  position: absolute;
  right: -75px;
  top: -75px;
  width: 150px;
}

.modules-showcase-card > * {
  position: relative;
  z-index: 1;
}

.modules-showcase-card:hover {
  border-color: rgba(37, 99, 235, .32);
  box-shadow: 0 28px 70px rgba(37, 99, 235, .14);
  transform: translateY(-5px);
}

.module-icon {
  align-items: center;
  background: rgba(37, 99, 235, .1);
  border-radius: 18px;
  color: var(--primary);
  display: inline-flex;
  font-size: 2rem;
  height: 58px;
  justify-content: center;
  margin-bottom: 1rem;
  width: 58px;
}

.check-list,
.feature-list,
.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.check-list li,
.feature-list li {
  margin-bottom: .5rem;
  padding-left: 1.6rem;
  position: relative;
}

.check-list li::before {
  color: #16a34a;
  content: "\2713";
  font-weight: 800;
  left: 0;
  position: absolute;
}

.trust-row {
  align-items: center;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: center;
  padding: 1rem;
}

.trust-row i {
  color: var(--primary);
  margin-right: .35rem;
}

.pricing-card {
  display: flex;
  flex-direction: column;
  padding: 2rem;
  position: relative;
}

.pricing-card .btn {
  margin-top: auto;
}

.pricing-card.popular {
  border-color: var(--primary);
  transform: translateY(-8px);
}

.popular-badge {
  background: var(--primary);
  border-radius: 999px;
  color: #fff;
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  margin-bottom: 1rem;
  padding: .35rem .8rem;
}

.price {
  color: var(--secondary);
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1;
  margin: 1rem 0 .5rem;
}

.price span,
.price small {
  color: var(--muted);
  font-size: 1rem;
}

.setup,
.muted {
  color: var(--muted);
}

.process-card span {
  align-items: center;
  background: var(--primary);
  border-radius: 50%;
  color: #fff;
  display: inline-flex;
  font-size: 1.25rem;
  font-weight: 800;
  height: 52px;
  justify-content: center;
  margin-bottom: 1rem;
  width: 52px;
}

.division-title {
  border-left: 5px solid var(--primary);
  padding-left: 1rem;
}

.district-card dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 1rem;
}

.district-card dt {
  color: var(--muted);
}

.district-card dd {
  font-weight: 700;
  margin-bottom: .25rem;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.tag-list span {
  background: rgba(37, 99, 235, .1);
  border-radius: 999px;
  color: var(--primary);
  font-size: .78rem;
  font-weight: 700;
  padding: .3rem .65rem;
}

.cms-content {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 28px;
  box-shadow: 0 18px 50px rgba(15, 23, 42, .08);
  margin: 0 auto;
  max-width: 1040px;
  padding: clamp(1.5rem, 3vw, 3rem);
}

.cms-content h1,
.cms-content h2,
.cms-content h3 {
  color: var(--secondary);
  margin-top: 1.25rem;
}

.blog-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.blog-toolbar {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: 0 18px 50px rgba(15, 23, 42, .08);
  padding: 1.25rem;
}

.blog-search {
  display: flex;
  gap: .75rem;
}

.blog-search .form-control {
  min-height: 48px;
}

.blog-category-filter {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-top: 1rem;
}

.category-filter-chip {
  align-items: center;
  background: rgba(37, 99, 235, .08);
  border: 1px solid rgba(37, 99, 235, .14);
  border-radius: 999px;
  color: var(--primary);
  display: inline-flex;
  font-size: .9rem;
  font-weight: 700;
  gap: .45rem;
  padding: .45rem .85rem;
}

.category-filter-chip span {
  align-items: center;
  background: #fff;
  border-radius: 999px;
  color: var(--muted);
  display: inline-flex;
  font-size: .75rem;
  height: 22px;
  justify-content: center;
  min-width: 22px;
  padding: 0 .35rem;
}

.category-filter-chip.active {
  background: var(--primary);
  color: #fff;
}

.blog-result-count {
  color: var(--muted);
  font-weight: 700;
  margin-bottom: 1rem;
}

.blog-card-media {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  display: block;
}

.blog-card-image {
  aspect-ratio: 16 / 9;
  display: block;
  object-fit: cover;
  width: 100%;
}

.blog-card-placeholder {
  object-fit: contain;
  padding: 2rem;
}

.blog-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.6rem;
}

.blog-card .btn {
  align-self: flex-start;
  margin-top: auto;
}

.blog-category {
  align-self: flex-start;
  background: rgba(37, 99, 235, .1);
  border-radius: 999px;
  color: var(--primary);
  font-size: .78rem;
  font-weight: 700;
  margin-bottom: .75rem;
  padding: .3rem .65rem;
}

.blog-category:hover {
  background: rgba(37, 99, 235, .16);
}

.blog-meta {
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  font-size: .9rem;
  gap: .5rem 1rem;
  margin-bottom: 1rem;
}

.blog-pagination {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  justify-content: center;
  margin-top: 2rem;
}

.blog-page-numbers {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
}

.page-number {
  align-items: center;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--secondary);
  display: inline-flex;
  font-weight: 800;
  height: 42px;
  justify-content: center;
  min-width: 42px;
  padding: 0 .75rem;
}

.page-number.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.blog-resource-content {
  background: transparent;
  border: 0;
  box-shadow: none;
  max-width: none;
  padding: 0;
}

.blog-resource-panel {
  background: linear-gradient(135deg, #0f172a 0%, #1d4ed8 56%, #06b6d4 100%);
  border-radius: 32px;
  color: #dbeafe;
  overflow: hidden;
  padding: clamp(1.5rem, 4vw, 3rem);
  position: relative;
}

.blog-resource-panel::before {
  background: radial-gradient(circle, rgba(255, 255, 255, .24), transparent 64%);
  content: "";
  height: 280px;
  position: absolute;
  right: -90px;
  top: -120px;
  width: 280px;
}

.blog-resource-header {
  max-width: 760px;
  position: relative;
  z-index: 1;
}

.blog-resource-kicker {
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .08em;
  margin-bottom: 1rem;
  padding: .4rem .85rem;
  text-transform: uppercase;
}

.blog-resource-header h2 {
  color: #fff;
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -.03em;
  margin: 0 0 1rem;
}

.blog-resource-header p {
  color: rgba(255, 255, 255, .82);
  font-size: 1.08rem;
  margin: 0;
}

.blog-resource-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 2rem;
  position: relative;
  z-index: 1;
}

.blog-resource-card {
  background: rgba(255, 255, 255, .94);
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: 24px;
  box-shadow: 0 18px 50px rgba(15, 23, 42, .18);
  color: var(--secondary);
  padding: 1.35rem;
}

.blog-resource-icon {
  align-items: center;
  background: rgba(37, 99, 235, .1);
  border-radius: 16px;
  color: var(--primary);
  display: inline-flex;
  font-weight: 800;
  height: 48px;
  justify-content: center;
  margin-bottom: 1rem;
  width: 48px;
}

.blog-resource-card h3 {
  color: var(--secondary);
  font-size: 1.15rem;
  font-weight: 800;
  margin: 0 0 .6rem;
}

.blog-resource-card p {
  color: var(--muted);
  margin: 0;
}

.footer-modern {
  background: #0f172a;
  color: #cbd5e1;
  padding: 70px 0 28px;
}

.footer-logo {
  background: #fff;
  border-radius: 14px;
  display: block;
  height: 54px;
  max-width: 220px;
  object-fit: contain;
  padding: .35rem .6rem;
  width: auto;
}

.footer-modern a {
  color: #dbeafe;
}

.footer-modern a:hover {
  color: #fff;
}

.footer-links li {
  margin-bottom: .55rem;
}

.footer-stats {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}

.footer-stats span {
  background: rgba(255, 255, 255, .08);
  border-radius: 12px;
  padding: .6rem .75rem;
}

.newsletter-actions {
  display: grid;
  gap: .6rem;
  grid-template-columns: 1fr 1fr;
}

.newsletter-actions .btn {
  font-weight: 800;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  margin-top: 2rem;
  padding-top: 1.5rem;
}

.footer-bottom a {
  margin-left: 1rem;
}

.whatsapp-chat {
  align-items: center;
  background: #25d366;
  border-radius: 50%;
  bottom: 24px;
  box-shadow: 0 12px 30px rgba(37, 211, 102, .35);
  color: #fff;
  display: flex;
  font-size: 2rem;
  height: 58px;
  justify-content: center;
  position: fixed;
  right: 24px;
  width: 58px;
  z-index: 1000;
}

.whatsapp-chat:hover {
  color: #fff;
}

.form-message.success {
  color: #16a34a;
}

.form-message.error {
  color: #dc2626;
}

@media (max-width: 991px) {
  .brand-logo {
    height: 46px;
    max-width: 180px;
  }

  .hero-section {
    padding: 52px 0 68px;
  }

  .hero-home {
    padding-top: 44px;
  }

  .section {
    padding: 64px 0;
  }

  .pricing-card.popular {
    transform: none;
  }

  .blog-resource-grid {
    grid-template-columns: 1fr;
  }

  .blog-search,
  .faq-search {
    flex-direction: column;
  }

  .client-logo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}