
/* ── HERO ── */
.hero {
  position: relative; height: 100vh; min-height: 600px;
  display: flex; align-items: center;
  background: #0a1628; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: url(/static/img/homepage_hero.jpeg) center/cover no-repeat;
  opacity: 0.55;
}
.hero-grad {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(15,23,42,0.82) 45%, rgba(15,23,42,0.35) 100%);
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 1280px; margin: 0 auto; width: 100%;
  padding: 0 32px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 0.9rem; color: #e2e8f0;
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.22);
  border-radius: 15px; padding: 5px 12px; margin-bottom: 20px; font-weight: 500;
}
.hero-title {
  font-size: clamp(2.6rem, 5.5vw, 4.5rem); font-weight: 900;
  color: #fff; line-height: 1.05; max-width: 855px;
  margin-bottom: 20px; letter-spacing: -0.02em;
  line-height: 1.3;
}
.hero-description {
  font-size: 1.05rem;
  color: rgb(255, 255, 255);
  max-width: 650px;
  line-height: 1.6;
  margin-bottom: 30px;
}

.hero-benefits {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  max-width: 750px;
  margin-bottom: 35px;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.04);
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.08);
  transition: background 0.3s ease;
}

.benefit-item:hover {
  background: rgba(255,255,255,0.08);
}

.benefit-item span {
  font-size: 0.88rem;
  color: #e2e8f0;
  font-weight: 500;
  line-height: 1.4;
}

.benefit-item svg {
  flex-shrink: 0;
  stroke: #60a5fa; /* light blue icon */
}

@media (max-width: 768px) {
  .hero-benefits {
    grid-template-columns: 1fr;
  }
}
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }

.btn-blue {
  display: inline-block; padding: 15px 30px;
  background: #2563eb; color: #fff; font-size: 1rem; font-weight: 600; border-radius: 7px;
}
.btn-outline-w {
  display: inline-block; padding: 15px 30px;
  background: transparent; color: #fff; font-size: 1rem; font-weight: 600;
  border: 2px solid rgba(255,255,255,0.5); border-radius: 7px;
}
.btn-blue:hover {
  background: oklch(48.8% .243 264.376);
    transition: background 0.3s ease;
    transform: translateY(-5px);
    transition: transform 0.2s ease;
} .btn-outline-w:hover {
  background: rgb(255, 255, 255);
    border-color: rgba(255,255,255,0.35);
    color: black;
    transition: background 0.3s ease, border-color 0.3s ease;
    transform: translateY(-5px);
    transition: transform 0.2s ease;
}

/* ── STATS STRIP ── */
.stats-strip {
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
}

.stats-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 60px 32px; /* increased height */
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat-cell {
  position: relative;
  padding: 10px 32px;
  border-left: 4px solid #2563eb;
  margin: 40px 0;
  overflow: hidden;
}

/* hover animated border */
.stat-cell::after {
  content: "";
  position: absolute;
  left: -4px;
  bottom: 0;
  width: 4px;
  height: 0%;
  background: #60a5fa; /* lighter blue */
  transition: height 0.4s ease;
}

.stat-cell:hover::after {
  height: 100%;
}

.stat-cell + .stat-cell {
  border-left: 4px solid #2563eb;
  margin-left: 0;
  padding-left: 32px;
}

.stat-cell + .stat-cell::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: #e5e7eb;
  transform: translateX(-1px);
}

.stat-num {
  font-size: 2.2rem;
  font-weight: 900;
  color: #000000;
  line-height: 1;
  margin-bottom: 6px;
}

.stat-lbl {
  font-size: 0.75rem;
  font-weight: 600;
  color: #6b7280;
  letter-spacing: 0.08em;

}

/* Response Styles for Stats */
@media (max-width: 1100px) {
  .stats-inner {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .stats-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .stat-cell {
    margin: 15px 0;
    padding: 10px 20px;
  }
}

@media (max-width: 480px) {
  .stats-inner {
    grid-template-columns: 1fr;
  }
}

/* ── SOLUTIONS ── */
.solutions {
  background: #f0f4f8;
  padding: 96px 32px;
}
.solutions-inner { max-width: 1280px; margin: 0 auto; }
.eyebrow {
  display: block; font-size: 0.72rem; font-weight: 700;
  color: #2563eb; text-align: center;
  margin-bottom: 14px; letter-spacing: 0.12em; text-transform: uppercase;
}
.sec-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 900;
  color: #0f172a; text-align: center; line-height: 1.15;
  margin-bottom: 16px; letter-spacing: -0.02em;
}
.sec-sub {
  font-size: 0.95rem; color: #6b7280; text-align: center;
  max-width: 520px; margin: 0 auto 56px; line-height: 1.7;
}
.cards-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px;
}
.s-card {
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 32px 28px;
  background: #fff;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.s-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 12px 28px rgba(0,0,0,0.08);
}
.s-icon {
  width: 44px;
  height: 44px;
  background: #e8f0fe;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: background 0.4s ease;
}

.s-icon svg {
  width: 22px;
  height: 22px;
  transition: fill 0.4s ease;
}

/* hover effect */
.s-card:hover .s-icon {
  background: #2563eb;
}

.s-card:hover .s-icon svg {
  stroke: #ffffff;
}
.s-title {
  font-size: 1.5rem; font-weight: 700; color: #0f172a; margin-bottom: 10px;
}
.s-desc {
  font-size: 1rem; color: #6b7280; line-height: 1.65; margin-bottom: 24px;
}
.s-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 1rem; font-weight: 600; color: #2563eb;
}
.s-link span {
  transition: transform 0.3s ease;
  display: inline-block;
}

.s-card:hover .s-link span {
  transform: translateX(6px);
}

/* ── PRIMARY EXPERTISE ── */
.expertise-section {
  background: #ffffff;
  padding: 96px 32px;
  border-top: 1px solid #e2e8f0;
}
.expertise-inner { max-width: 1280px; margin: 0 auto; }
.expertise-header { margin-bottom: 56px; }

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.exp-card {
  display: flex;
  gap: 16px;
  background: #f8fafc;
  padding: 24px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.exp-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
  border-color: #cbd5e1;
}

.exp-icon {
  width: 40px;
  height: 40px;
  background: #e0f2fe;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.exp-icon svg {
  width: 20px;
  height: 20px;
  stroke: #2563eb;
}

.exp-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 8px;
}

.exp-desc {
  font-size: 0.9rem;
  color: #64748b;
  line-height: 1.6;
}

.exp-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #2563eb;
  margin-top: 12px;
}

.exp-link span {
  transition: transform 0.3s ease;
  display: inline-block;
}

.exp-card:hover .exp-link span {
  transform: translateX(6px);
}

@media (max-width: 1024px) {
  .expertise-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .expertise-grid { grid-template-columns: 1fr; }
}

/* ── TRUST / LEGACY ── */
.trust-section {
  background: #f0f4f8;
  padding: 80px 32px;
  border-top: 1px solid #e2e8f0;
}
.trust-inner {
  max-width: 1280px; margin: 0 auto;
  display: flex; align-items: center; gap: 80px;
}
.trust-text { flex: 0 0 auto; max-width: 540px; }
.trust-title {
  font-size: 3rem; font-weight: 800; color: #0f172a;
  margin-bottom: 14px; letter-spacing: -0.02em;
}
.trust-sub {
  font-size: 1.5rem; color: #6b7280; line-height: 1.7;max-width: 560px;
}
.badges-row {
  display: grid;
  grid-template-columns: 1fr 1fr; 
  gap: 40px 80px;
  flex: 1;
  margin-left: 120px; 
}
.b-item {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.b-icon-wrap {
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
}
.b-icon-wrap svg { width: 40px; height: 40px; stroke: #1e293b; fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.b-icon-wrap:hover svg  { stroke: #2563eb; transition: stroke 0.3s ease; transform: scale(1.1); transition: transform 0.5s ease; }
.b-name {
  font-size: 0.95rem; font-weight: 700;
  letter-spacing: 0.1em;
  color: #475569; text-align: center;
  /* white-space: nowrap; */
}
.b-item:hover .b-name { color: black; transition: color 0.3s ease; }

/* ── FINAL CTA ── */
.cta-section {
  background: #184172;
  padding: 80px 32px;
  text-align: center;
  color: #fff;
}
.cta-inner {
  max-width: 650px;
  margin: 0 auto;
}

.cta-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.cta-desc {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 36px;
  line-height: 1.6;
}

.btn-cta {
  display: inline-block;
  padding: 16px 36px;
  background: #2563eb;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 8px;
  transition: background 0.2s, transform 0.2s;
}

.btn-cta:hover {
  background: oklch(48.8% .243 264.376);
  transform: translateY(-2px);
}
  .btn-cta-white {
    background: #fff;
    color: var(--blue);
    font-family: 'Sora', sans-serif;
    font-size: 0.92rem;
    font-weight: 700;
    padding: 14px 32px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    display: inline-block;
  }
  .btn-cta-white:hover { background: #f0f4ff; transform: translateY(-2px); }

/* ── CALCULATOR ── */
#calculator {
  padding: 100px 24px;
  background: #f8faff;
}

.calc-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,0.12);
  max-width: 1300px;
  margin: 0 auto;
}
@media (max-width: 768px) { .calc-card { grid-template-columns: 1fr; } }

.calc-left {
  background: #0f172a;
  padding: 56px 48px;
  display: flex;
  flex-direction: column;
}
.calc-left-title {
  font-family: 'Sora', sans-serif;
  font-size: 2.4rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 20px;
}
.calc-left-sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  margin-bottom: 40px;
}
.calc-field { margin-bottom: 28px; }
.calc-field-label {
  display: block;
  font-family: 'Sora', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.45);
  margin-bottom: 10px;
}
.calc-select-dark {
  width: 100%;
  padding: 14px 16px;
  background: #1e293b;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: 1.05rem;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.4)' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}
.calc-money-input {
  display: flex;
  align-items: center;
  background: #1e293b;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 0 14px;
}
.calc-currency {
  color: rgba(255,255,255,0.35);
  font-size: 1.05rem;
  padding-right: 6px;
  flex-shrink: 0;
}
.calc-currency-right {
  color: rgba(255,255,255,0.3);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding-left: 8px;
  flex-shrink: 0;
}
.calc-money-field {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: 1.05rem;
  padding: 14px 0;
}
.calc-money-field::placeholder { color: rgba(255,255,255,0.2); }
.calc-actions {
  display: flex;
  gap: 10px;
  margin-top: 8px;
  flex-wrap: wrap;
}
.btn-analyze {
  flex: 1;
  padding: 15px 24px;
  background: #2563eb;
  color: #fff;
  font-family: 'Sora', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-analyze:hover { background: oklch(48.8% .243 264.376); }
.btn-download {
  flex: 1;
  padding: 15px 24px;
  background: #1e293b;
  color: rgba(255,255,255,0.8);
  font-family: 'Sora', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-download:hover { background: #334155; }

.calc-right {
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px 48px;
}
.calc-chart-wrap { width: 100%; max-width: 360px; }
.calc-bars {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 40px;
  height: 260px;
  margin-bottom: 16px;
}
.calc-bar-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  max-width: 130px;
  height: 100%;
  justify-content: flex-end;
  gap: 6px;
}
.bar-top-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.savings-badge {
  background: #d1fae5;
  color: #065f46;
  font-family: 'Sora', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 100px;
  white-space: nowrap;
}
.bar-amount {
  font-family: 'Sora', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #64748b;
}
.bar-amount.blue { color: #2563eb; font-size: 1.3rem; }
.bar-track {
  width: 100%;
  height: 200px;
  display: flex;
  align-items: flex-end;
}
.bar-fill {
  width: 100%;
  border-radius: 8px 8px 0 0;
  transition: height 0.7s cubic-bezier(.34,1.1,.64,1);
  height: 0;
}
.bar-inhouse { background: #dde3ef; }
.bar-mss     { background: #2563eb; }
.bar-label {
  font-family: 'Sora', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  color: #94a3b8;
  margin-top: 6px;
}
.calc-chart-note {
  text-align: center;
  font-size: 0.82rem;
  color: #94a3b8;
  line-height: 1.5;
  margin-top: 10px;
}
/* =========================
   HOMEPAGE RESPONSIVE
========================= */

/* ── NAVBAR FIX ── */
@media (max-width: 1024px) {
  .mss-nav-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 0 20px;
  }
  .mss-hamburger {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    z-index: 1001;
  }
  .mss-nav-brand {
    position: relative;
    z-index: 1001;
    display: flex;
  }
  .mss-nav-cta { display: none; }
}

/* ── HERO ── */
@media (max-width: 1023px) {
  .hero {
    height: auto;
    min-height: 100svh;
    padding-top: 80px;
    padding-bottom: 60px;
    align-items: center;
  }
  .hero-content {
    text-align: center;
    padding: 0 20px;
  }
  .hero-title {
    font-size: clamp(1.8rem, 6vw, 3rem);
    margin: 0 auto 16px;
    max-width: 100%;
  }
  .hero-description {
    font-size: 0.95rem;
    margin: 0 auto 24px;
    max-width: 100%;
  }
  .hero-benefits {
    grid-template-columns: 1fr;
    margin: 0 auto 28px;
    max-width: 100%;
  }
  .hero-btns {
    justify-content: center;
    flex-wrap: nowrap;
    gap: 12px;
  }
  .btn-blue,
  .btn-outline-w {
    width: 100%;
    text-align: center;
    padding: 14px 20px;
  }
  .hero-badge { font-size: 0.78rem; }
}

/* ── STATS ── */
@media (max-width: 1024px) {
  .stats-inner {
    grid-template-columns: repeat(2, 1fr);
    padding: 40px 20px;
    gap: 0;
  }
  .stat-cell {
    margin: 16px 0;
    padding: 10px 20px;
  }
}
@media (max-width: 480px) {
  .stats-inner {
    grid-template-columns: 1fr;
  }
  .stat-num { font-size: 1.8rem; }
  .stat-lbl { font-size: 0.7rem; }
}

/* ── SOLUTIONS ── */
@media (max-width: 1024px) {
  .solutions { padding: 64px 20px; }
  .cards-grid { grid-template-columns: 1fr; }
  .s-title { font-size: 1.3rem; }
  .s-desc { font-size: 0.92rem; }
  .sec-title { font-size: clamp(1.5rem, 4vw, 2rem); }
  .sec-sub { margin-bottom: 36px; font-size: 0.9rem; }
}

/* ── EXPERTISE ── */
@media (max-width: 1024px) {
  .expertise-section { padding: 64px 20px; }
  .expertise-grid { grid-template-columns: repeat(2, 1fr); }
  .expertise-header { margin-bottom: 36px; }
}
@media (max-width: 640px) {
  .expertise-grid { grid-template-columns: 1fr; }
  .exp-card {
    flex-direction: column;
    align-items: flex-start;
  }
  .exp-icon { margin-bottom: 8px; }
  .exp-title { font-size: 1rem; }
  .exp-desc { font-size: 0.85rem; }
}

/* ── TRUST ── */
@media (max-width: 1024px) {
  .trust-section { padding: 64px 20px; }
  .trust-inner {
    flex-direction: column;
    gap: 40px;
    text-align: center;
  }
  .trust-title { font-size: 2rem; }
  .trust-sub { font-size: 1.1rem; max-width: 100%; }
  .trust-text { max-width: 100%; }
  .badges-row {
    margin-left: 0;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 40px;
    width: 100%;
  }
}
@media (max-width: 480px) {
  .trust-title { font-size: 1.6rem; }
  .trust-sub { font-size: 0.95rem; }
  .badges-row { grid-template-columns: 1fr; gap: 24px; }
  .hero-btns { flex-direction: column; gap: 12px; }
}

/* ── CTA ── */
@media (max-width: 1024px) {
  .cta-section { padding: 60px 20px; }
  .cta-title { font-size: clamp(1.6rem, 5vw, 2.4rem); }
  .cta-desc { font-size: 0.95rem; }
  .btn-cta { text-align: center; }
}

/* ── CALCULATOR ── */
@media (max-width: 1024px) {
  #calculator { padding: 60px 20px; }
  .calc-card { grid-template-columns: 1fr; }
  .calc-left { padding: 36px 24px; }
  .calc-right { padding: 36px 24px; }
  .calc-left-title { font-size: 1.8rem; }
  .calc-left-sub { font-size: 0.9rem; }
  .calc-bars { gap: 20px; height: 200px; }
}
@media (max-width: 480px) {
  .calc-left { padding: 28px 16px; }
  .calc-right { padding: 28px 16px; }
  .calc-left-title { font-size: 1.5rem; }
  .calc-left-sub { font-size: 0.85rem; }
  .btn-analyze,
  .btn-download { width: 100%; }
}

/* ── GLOBAL PADDING ── */
@media (max-width: 1024px) {
  .hero-content,
  .solutions-inner,
  .expertise-inner,
  .trust-inner,
  .stats-inner {
    padding-left: 20px;
    padding-right: 20px;
  }
}