:root {
  --ms-bg: #f8f8f4;
  --ms-surface: #ffffff;
  --ms-surface-soft: #f4f6ee;
  --ms-primary: #6a8c3f;
  --ms-primary-soft: #e2ebd5;
  --ms-border-subtle: #e2e4d9;
  --ms-text-main: #222427;
  --ms-text-muted: #6f7478;
  --ms-radius-lg: 20px;
  --ms-radius-full: 999px;
  --ms-shadow-soft: 0 18px 45px rgba(22, 34, 15, 0.12);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  background: radial-gradient(circle at top left, #f5f8ec 0, #fdfdfb 40%, #fff);
  color: var(--ms-text-main);
  scroll-behavior: smooth;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.ms-container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

.ms-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(208, 214, 189, 0.7);
}

.ms-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.ms-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.ms-logo-image {
  height: 28px;
  width: auto;
  display: block;
}

.ms-logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  background: linear-gradient(135deg, #6a8c3f, #8da85b);
  color: #fff;
  box-shadow: 0 10px 20px rgba(59, 84, 29, 0.25);
}

.ms-logo-text {
  font-size: 18px;
}

.ms-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 14px;
  color: var(--ms-text-muted);
}

.ms-nav a {
  padding: 4px 0;
  border-bottom: 1px solid transparent;
}

.ms-nav a:hover {
  color: var(--ms-text-main);
  border-bottom-color: rgba(106, 140, 63, 0.6);
}

.ms-cta-outline {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--ms-border-subtle);
  font-size: 13px;
  color: var(--ms-text-muted);
  background: #f9faf4;
}

.ms-cta-outline:hover {
  border-color: var(--ms-primary);
  color: var(--ms-primary);
}

.ms-hero {
  padding: 60px 0 40px;
}

.ms-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.1fr);
  gap: 48px;
  align-items: center;
}

.ms-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--ms-radius-full);
  border: 1px solid var(--ms-primary-soft);
  background: rgba(244, 248, 235, 0.9);
  font-size: 11px;
  color: var(--ms-primary);
  margin-bottom: 18px;
}

.ms-hero-copy h1 {
  font-size: clamp(28px, 3.1vw, 36px);
  line-height: 1.15;
  margin: 0 0 12px;
}

.ms-hero-subtitle {
  margin: 0;
  font-size: 14px;
  color: var(--ms-text-muted);
  max-width: 420px;
}

.ms-hero-actions {
  margin-top: 26px;
}

.ms-cta-primary {
  padding: 11px 20px;
  border-radius: 999px;
  background: linear-gradient(135deg, #6a8c3f, #92af61);
  color: #fff;
  font-weight: 500;
  font-size: 14px;
  box-shadow: var(--ms-shadow-soft);
}

.ms-cta-primary:hover {
  filter: brightness(0.97);
}

.ms-hero-note {
  margin-top: 8px;
  font-size: 12px;
  color: var(--ms-text-muted);
}

.ms-hero-visual {
  display: flex;
  justify-content: center;
}

.ms-phone-stack {
  position: relative;
  width: 260px;
  height: 420px;
}

.ms-phone-card {
  position: absolute;
  inset: 0;
  border-radius: 34px;
  padding: 16px 16px 18px;
  background: var(--ms-surface);
  box-shadow: var(--ms-shadow-soft);
  border: 1px solid rgba(211, 216, 197, 0.9);
}

.ms-phone-card--primary {
  transform: rotate(-3deg) translateX(-8px);
}

.ms-phone-card--secondary {
  transform: rotate(7deg) translate(90px, 46px);
  width: 180px;
  height: 280px;
  padding: 14px;
  background: #f6f7f1;
}

.ms-phone-status {
  display: flex;
  gap: 4px;
  margin-bottom: 10px;
}

.ms-phone-status span {
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: #d3d7c5;
}

.ms-phone-header {
  margin-bottom: 12px;
}

.ms-phone-greeting {
  margin: 0;
  font-size: 13px;
  font-weight: 500;
}

.ms-phone-sub {
  margin: 0;
  font-size: 11px;
  color: var(--ms-text-muted);
}

.ms-phone-search {
  height: 30px;
  border-radius: 999px;
  background: var(--ms-surface-soft);
  margin-bottom: 12px;
}

.ms-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}

.ms-chip {
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 10px;
  background: #f4f6ee;
  color: var(--ms-text-muted);
}

.ms-chip--soft {
  background: #fdfdf9;
  border: 1px solid #ecefdf;
}

.ms-phone-card-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ms-mini-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 9px;
  border-radius: 14px;
  background: #fbfbf6;
  border: 1px solid #ecefdf;
}

.ms-avatar {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: linear-gradient(135deg, #f4e2d8, #ba5370);
}

.ms-mini-title {
  margin: 0;
  font-size: 11px;
  font-weight: 500;
}

.ms-mini-sub {
  margin: 0;
  font-size: 10px;
  color: var(--ms-text-muted);
}

.ms-price-tag {
  margin-left: auto;
  font-size: 10px;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--ms-primary-soft);
  color: var(--ms-primary);
  font-weight: 500;
}

.ms-phone-small-heading {
  font-size: 11px;
  font-weight: 500;
  margin-bottom: 10px;
}

.ms-phone-input {
  height: 26px;
  border-radius: 8px;
  background: #e1e6d4;
  margin-bottom: 8px;
}

.ms-phone-input--short {
  width: 70%;
}

.ms-phone-button {
  height: 28px;
  border-radius: 999px;
  background: linear-gradient(135deg, #6a8c3f, #92af61);
  margin-top: 6px;
}

.ms-section {
  padding: 40px 0;
}

.ms-section--soft {
  background: var(--ms-surface-soft);
}

.ms-section--cta {
  background: linear-gradient(135deg, #6a8c3f, #92af61);
  color: #fff;
}

.ms-section-title {
  font-size: 22px;
  margin: 0 0 6px;
}

.ms-section-subtitle {
  margin: 0;
  font-size: 13px;
  color: var(--ms-text-muted);
}

.ms-section--cta .ms-section-subtitle {
  color: rgba(255, 255, 255, 0.88);
}

.ms-grid {
  display: grid;
  gap: 18px;
  margin-top: 26px;
}

.ms-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ms-grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ms-card {
  padding: 18px 18px 16px;
  border-radius: 16px;
  background: var(--ms-surface);
  border: 1px solid var(--ms-border-subtle);
  box-shadow: 0 12px 30px rgba(42, 58, 26, 0.05);
  transition: transform 180ms ease-out, box-shadow 180ms ease-out,
    border-color 180ms ease-out;
}

.ms-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(42, 58, 26, 0.12);
  border-color: rgba(106, 140, 63, 0.45);
}

.ms-card h3 {
  margin: 0 0 6px;
  font-size: 15px;
}

.ms-card p {
  margin: 0;
  font-size: 13px;
  color: var(--ms-text-muted);
}

.ms-section-header-row {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.ms-expert-layout {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.ms-expert-column {
  padding: 16px 14px;
  border-radius: 18px;
  background: var(--ms-surface);
  border: 1px solid var(--ms-border-subtle);
  transition: transform 180ms ease-out, box-shadow 180ms ease-out,
    border-color 180ms ease-out;
}

.ms-expert-column:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(42, 58, 26, 0.12);
  border-color: rgba(106, 140, 63, 0.45);
}

.ms-list-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.ms-list-title {
  font-size: 13px;
  font-weight: 500;
}

.ms-list-pill {
  font-size: 10px;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--ms-primary-soft);
  color: var(--ms-primary);
}

.ms-list-pill--outline {
  background: transparent;
  border: 1px solid var(--ms-primary-soft);
}

.ms-list-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 8px;
  border-radius: 14px;
  background: #fbfbf6;
  border: 1px solid #ecefdf;
  & + .ms-list-card {
    margin-top: 6px;
  }
}

.ms-list-body {
  flex: 1;
}

.ms-list-name {
  margin: 0;
  font-size: 12px;
  font-weight: 500;
}

.ms-list-meta {
  margin: 0;
  font-size: 10px;
  color: var(--ms-text-muted);
}

.ms-list-meta-col {
  text-align: right;
}

.ms-badge {
  display: inline-flex;
  padding: 3px 7px;
  border-radius: 999px;
  background: var(--ms-primary-soft);
  color: var(--ms-primary);
  font-size: 10px;
}

.ms-list-price {
  display: block;
  margin-top: 4px;
  font-size: 10px;
  color: var(--ms-text-muted);
}

.ms-icon-circle {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: linear-gradient(135deg, #f7efe6, #d1b27c);
}

.ms-categories-grid {
  margin-top: 22px;
}

.ms-categories-wrap {
  margin-top: 22px;
  display: flex;
  flex-wrap: nowrap;
  gap: 14px 18px;
}

.ms-category-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--ms-surface-soft);
  border: 1px solid var(--ms-border-subtle);
  font-size: 12px;
  position: relative;
  overflow: hidden;
  transition: transform 160ms ease-out, box-shadow 160ms ease-out,
    border-color 160ms ease-out, background-color 160ms ease-out,
    color 160ms ease-out;
}

.ms-category-pill::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 0% 0%,
    rgba(154, 190, 106, 0.18),
    transparent 55%
  );
  opacity: 0;
  transform: translateX(-20%);
  transition: opacity 220ms ease-out, transform 220ms ease-out;
  pointer-events: none;
}

.ms-category-pill:hover {
  transform: translateY(-2px);
  background: #f9faf4;
  border-color: rgba(106, 140, 63, 0.4);
  box-shadow: 0 10px 24px rgba(42, 58, 26, 0.12);
  color: var(--ms-text-main);
}

.ms-category-pill:hover::before {
  opacity: 1;
  transform: translateX(0);
}

.ms-category-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: rgba(106, 140, 63, 0.08);
  font-size: 14px;
  box-shadow: 0 0 0 0 rgba(106, 140, 63, 0.16);
  transition: transform 160ms ease-out, box-shadow 260ms ease-out,
    background-color 160ms ease-out;
}

.ms-category-pill:hover .ms-category-icon {
  transform: scale(1.06);
  box-shadow: 0 0 0 6px rgba(106, 140, 63, 0.06);
  background: rgba(106, 140, 63, 0.12);
}

.ms-category-pill--wide {
  min-width: 0;
  flex: 1 1 0;
}

.ms-section--cta .ms-section-title {
  color: #fff;
}


.ms-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.ms-store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ms-store-button {
  padding: 9px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.5);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 130px;
  transition: transform 160ms ease-out, box-shadow 160ms ease-out,
    background-color 160ms ease-out;
}

.ms-store-button:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.16);
  box-shadow: 0 16px 36px rgba(22, 34, 15, 0.3);
}

.ms-store-badge {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.9;
}

.ms-store-label {
  font-size: 14px;
  font-weight: 500;
}

.ms-footer {
  border-top: 1px solid rgba(215, 220, 198, 0.9);
  background: #fafaf5;
}

.ms-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.ms-footer-text {
  margin: 0;
  font-size: 11px;
  color: var(--ms-text-muted);
}

/* Scroll reveal base state */
.ms-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 420ms ease-out, transform 420ms ease-out;
  will-change: opacity, transform;
}

.ms-reveal--visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .ms-hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .ms-hero-visual {
    order: -1;
  }

  .ms-header-inner {
    gap: 12px;
  }

  .ms-nav {
    display: none;
  }

  .ms-hero {
    padding-top: 36px;
  }
}

@media (max-width: 720px) {
  .ms-grid--3 {
    grid-template-columns: minmax(0, 1fr);
  }

  .ms-grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ms-expert-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .ms-cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .ms-phone-stack {
    transform: scale(0.95);
  }

  .ms-section {
    padding: 32px 0;
  }
}


