* {
  box-sizing: border-box;
}

body {
  margin: 0;
}

#main {
  margin-top: 60px;
  font-family: Poppins, Arial, sans-serif;
  color: #10243d;
  background: #f9fbff;
  padding-bottom: 24px;
}

.ms-shell {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.ms-hero {
  padding: 56px 0 28px;
}

.ms-hero .ms-shell {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  padding: 40px;
  color: #ffffff;
  background:linear-gradient( #3673b0,#133377);
  box-shadow: 0 20px 44px rgba(226, 228, 231, 0.24);
}

.ms-hero .ms-shell::before {
  content: "";
  position: absolute;
  inset: -120px auto auto -90px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(206, 197, 197, 0.24), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.ms-hero .ms-shell::after {
  content: "";
  position: absolute;
  inset: auto -90px -90px auto;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.eyebrow {
  display: inline-flex;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(171, 189, 236, 0.22);
  border: 1px solid rgba(237, 229, 229, 0.32);
  backdrop-filter: blur(6px);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.ms-hero h1 {
  margin: 14px 0 10px;
  font-size: clamp(30px, 3.3vw, 46px);
  color:#ffffff;
}

.ms-hero p {
  margin: 0;
  max-width: 780px;
  line-height: 1.75;
  font-size: 18px;
  opacity: 0.95;
}

.hero-actions {
  margin-top: 22px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 12px;
  padding: 11px 16px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn.primary {
  background: linear-gradient(135deg, #145ad5 0%, #337df2 100%);
  border: 1px solid #145ad5;
  color: #fff;
  box-shadow: 0 12px 24px rgba(18, 84, 203, 0.26);
}

.btn.secondary {
  background: #ffffff;
  color: #1254cb;
  border: 1px solid #1254cb;
}

.btn.light {
  background: #fff;
  color: #1254cb;
  border-color: #fff;
  box-shadow: none;
}

.btn:hover {
  transform: translateY(-2px) scale(1.01);
}

.ms-section {
  padding: 22px 0;
}

.ms-section .ms-shell {
  position: relative;
  background: #fff;
  border: 1px solid #dae6f5;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 14px 32px rgba(16, 38, 66, 0.08);
  transition: box-shadow 0.24s ease, border-color 0.24s ease;
}

.ms-section .ms-shell:hover {
  border-color: #c8daf2;
  box-shadow: 0 18px 36px rgba(16, 38, 66, 0.11);
}

.ms-section.alt .ms-shell {
  background: linear-gradient(155deg, #ffffff 0%, #f3f8ff 72%, #edf7ff 100%);
}

.ms-section h2 {
  margin: 0 0 16px;
  font-size: clamp(24px, 2.6vw, 34px);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.card {
  position: relative;
  border: 1px solid #dce7f7;
  border-radius: 16px;
  padding: 20px;
  background: linear-gradient(155deg, #ffffff 0%, #f7fbff 100%);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  border-radius: 16px 16px 0 0;
  background: linear-gradient(90deg, #1f6fe8 0%, #13b9a0 100%);
  opacity: 0.85;
}

.card i {
  color: #1b67df;
  font-size: 22px;
  transition: transform 0.24s ease, color 0.24s ease;
}

.card h3 {
  margin: 12px 0 8px;
  font-size: 20px;
}

.card p {
  margin: 0;
  line-height: 1.7;
  color: #4c6281;
}

.card:hover {
  transform: translateY(-6px);
  border-color: #b9d1f0;
  box-shadow: 0 16px 30px rgba(16, 38, 66, 0.12);
}

.card:hover i {
  transform: scale(1.08);
  color: #1459d4;
}

.cards-grid .card:last-child {
  border-color: #b9d1f0;
  background: linear-gradient(155deg, #eef5ff 0%, #f9fcff 100%);
  box-shadow: 0 12px 24px rgba(16, 38, 66, 0.08);
}

.cards-grid .card:last-child::before {
  background: linear-gradient(90deg, #1459d4 0%, #1aa7b7 100%);
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.plan {
  position: relative;
  border: 1px solid #dce7f7;
  border-radius: 16px;
  padding: 20px;
  background: #fff;
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.plan.featured {
  border-color: #b5ccf0;
  background: linear-gradient(155deg, #edf4ff 0%, #f7fbff 100%);
  box-shadow: 0 14px 28px rgba(16, 38, 66, 0.12);
}

.plan.featured::after {
  content: "Recommended";
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3px;
  color: #165acf;
  background: #e4efff;
  border: 1px solid #c5d8f3;
  border-radius: 999px;
  padding: 4px 8px;
}

.plan h3 {
  margin: 0 0 8px;
  font-size: 21px;
}

.plan p {
  margin: 0;
  color: #4271b3;
  line-height: 1.7;
}

.plan:hover {
  transform: translateY(-5px);
  border-color: #b9d1f0;
  box-shadow: 0 16px 30px rgba(16, 38, 66, 0.12);
}

.plans-grid .plan:last-child {
  border-color: #bfd5f1;
  background: linear-gradient(155deg, #f3f8ff 0%, #ffffff 100%);
}

.ms-section.cta .ms-shell {
  border: none;
  background: #2f5a8f;
  box-shadow: none;
  
  padding:20px;
  opacity: 1 !important;
  transform: none !important;
}

.cta-box {
  border-radius: 20px;
  padding: 60px;
  text-align: center;
  color: #dae3f3;
  background: linear-gradient(145deg, #0f4fc2 0%, #1e68e8 50%, #12bfa2 100%);
  box-shadow: 0 20px 44px rgba(16, 38, 66, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.18);
  
}

.cta-box h2,
.cta-box p {
  color: #f5f1f1;
  
}

.cta-box p {
  max-width: 780px;
  margin: 8px auto 0;
  line-height: 1.7;
}

.cta-box .btn {
  margin-top: 18px;
}

.cta-box .btn.primary.light {
  background: #fff;
  color: #5875a8;
  border: 2px solid;
  border-color: #536aa0;
  box-shadow: none;
}

.cta-box .btn.primary.light:hover {
  background: #eef4ff;
}

@media (max-width: 980px) {
  .cards-grid,
  .plans-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .ms-hero .ms-shell,
  .ms-section .ms-shell,
  .cta-box {
    border-radius: 14px;
    padding: 22px;
  }

  .plan.featured::after {
    position: static;
    display: inline-flex;
    margin-bottom: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}
