@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Manrope:wght@500;600;700;800&display=swap');

:root {
  --ms-black: #111111;
  --ms-ink: #171717;
  --ms-muted: #626b7a;
  --ms-soft: #f5f6f8;
  --ms-card: #ffffff;
  --ms-line: #e6e8ee;
  --ms-red: #e3062c;
  --ms-red-dark: #b90022;
  --ms-yellow: #ffd51f;
  --ms-green: #16c75c;
  --ms-radius: 28px;
  --ms-radius-lg: 40px;
  --ms-shadow: 0 24px 80px rgba(17, 17, 17, .12);
  --ms-shadow-soft: 0 14px 50px rgba(17, 17, 17, .08);
  --ms-shell: min(1180px, calc(100vw - 36px));
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body.modarysan-home {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ms-ink);
  background:
    radial-gradient(circle at 12% 4%, rgba(227, 6, 44, .08), transparent 34%),
    linear-gradient(180deg, #fff 0%, #f7f7f8 42%, #fff 100%);
}

body.modarysan-home a { color: inherit; text-decoration: none; }
body.modarysan-home img { display: block; max-width: 100%; }

.ms-shell {
  width: var(--ms-shell);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 18px;
  top: -80px;
  z-index: 9999;
  padding: 12px 16px;
  border-radius: 999px;
  background: var(--ms-black);
  color: #fff;
  transition: top .2s ease;
}

.skip-link:focus { top: 18px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 12px 0;
  background: rgba(255,255,255,.82);
  border-bottom: 1px solid rgba(230,232,238,.72);
  backdrop-filter: blur(20px);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 64px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 190px;
}

.brand-mark__icon {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  box-shadow: 0 10px 28px rgba(17, 17, 17, .10);
}

.brand-mark__name {
  display: grid;
  line-height: 1;
  letter-spacing: .04em;
  font-family: Manrope, Inter, sans-serif;
  font-weight: 900;
  font-size: 1.03rem;
}

.brand-mark__tagline {
  margin-top: 4px;
  color: var(--ms-red);
  font-size: .62rem;
  font-weight: 900;
  letter-spacing: .14em;
}

.nav-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 6px;
  border: 1px solid var(--ms-line);
  border-radius: 999px;
  background: rgba(255,255,255,.72);
}

.nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  color: #596171;
  font-size: .9rem;
  font-weight: 800;
  transition: color .2s ease, background .2s ease, transform .2s ease;
}

.nav-link:hover {
  color: var(--ms-black);
  background: #f1f2f5;
}

.nav-link.active,
.nav-link[aria-current="page"] {
  color: #fff;
  background: var(--ms-black);
  box-shadow: 0 12px 28px rgba(17,17,17,.18);
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  min-width: 190px;
}

.pill-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  font-family: Inter, sans-serif;
  font-size: .92rem;
  font-weight: 900;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.pill-btn:hover { transform: translateY(-2px); }

.pill-btn--dark {
  color: #fff;
  background: var(--ms-black);
  box-shadow: 0 16px 36px rgba(17,17,17,.18);
}

.pill-btn--red {
  color: #fff;
  background: linear-gradient(135deg, var(--ms-red), var(--ms-red-dark));
  box-shadow: 0 16px 38px rgba(227, 6, 44, .24);
}

.pill-btn--green {
  color: #fff;
  background: var(--ms-green);
  box-shadow: 0 16px 38px rgba(22, 199, 92, .24);
}

.pill-btn--light {
  color: var(--ms-black);
  background: #fff;
  border: 1px solid var(--ms-line);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--ms-line);
  border-radius: 999px;
  background: #fff;
  color: var(--ms-black);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: currentColor;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 68px 0 34px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(360px, .97fr);
  gap: 44px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid rgba(227, 6, 44, .18);
  border-radius: 999px;
  background: #fff1f4;
  color: var(--ms-red);
  font-weight: 900;
  font-size: .82rem;
  letter-spacing: .02em;
}

.hero h1 {
  margin: 18px 0 16px;
  max-width: 780px;
  font-family: Manrope, Inter, sans-serif;
  font-size: clamp(3rem, 7vw, 6.4rem);
  line-height: .92;
  letter-spacing: -.07em;
}

.hero h1 span {
  color: var(--ms-red);
  letter-spacing: -.075em;
}

.hero-copy {
  max-width: 690px;
  margin: 0 0 28px;
  color: #596171;
  font-size: clamp(1rem, 2vw, 1.18rem);
  line-height: 1.78;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 30px;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 680px;
}

.proof-card {
  padding: 18px;
  border: 1px solid var(--ms-line);
  border-radius: 24px;
  background: rgba(255,255,255,.78);
}

.proof-card strong {
  display: block;
  font-family: Manrope, Inter, sans-serif;
  font-size: 1.6rem;
  line-height: 1;
}

.proof-card span {
  display: block;
  margin-top: 7px;
  color: var(--ms-muted);
  font-size: .83rem;
  font-weight: 700;
}

.hero-showcase {
  position: relative;
  min-height: 590px;
}

.hero-card {
  position: absolute;
  overflow: hidden;
  border: 10px solid #fff;
  border-radius: 38px;
  background: #f0f1f4;
  box-shadow: var(--ms-shadow);
}

.hero-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-card--main {
  inset: 0 78px 92px 0;
}

.hero-card--mini {
  right: 0;
  bottom: 0;
  width: 46%;
  height: 42%;
}

.hero-floating {
  position: absolute;
  left: 24px;
  bottom: 30px;
  max-width: 290px;
  padding: 16px;
  border: 1px solid rgba(255,255,255,.6);
  border-radius: 28px;
  background: rgba(255,255,255,.86);
  box-shadow: var(--ms-shadow-soft);
  backdrop-filter: blur(14px);
}

.hero-floating strong {
  display: block;
  margin-bottom: 5px;
  font-family: Manrope, Inter, sans-serif;
  font-size: 1.05rem;
}

.hero-floating span {
  color: var(--ms-muted);
  font-size: .88rem;
  line-height: 1.5;
}

.category-strip {
  padding: 20px 0 46px;
}

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

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border: 1px solid var(--ms-line);
  border-radius: 999px;
  background: #fff;
  color: #475061;
  font-weight: 850;
  box-shadow: 0 8px 24px rgba(17,17,17,.04);
}

.section {
  padding: 62px 0;
}

.section--soft {
  background: linear-gradient(180deg, #fff, #f5f6f8);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
}

.section-heading h2 {
  margin: 0;
  max-width: 760px;
  font-family: Manrope, Inter, sans-serif;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: .98;
  letter-spacing: -.05em;
}

.section-heading p {
  max-width: 560px;
  margin: 10px 0 0;
  color: var(--ms-muted);
  line-height: 1.7;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.product-card {
  overflow: hidden;
  border: 1px solid var(--ms-line);
  border-radius: 34px;
  background: #fff;
  box-shadow: var(--ms-shadow-soft);
}

.product-card__media {
  position: relative;
  height: 290px;
  background: #f0f1f4;
}

.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card__badge {
  position: absolute;
  left: 16px;
  top: 16px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(17,17,17,.88);
  color: #fff;
  font-size: .78rem;
  font-weight: 900;
}

.product-card__body {
  padding: 22px;
}

.product-card h3 {
  margin: 0 0 9px;
  font-family: Manrope, Inter, sans-serif;
  font-size: 1.35rem;
  letter-spacing: -.03em;
}

.product-card p {
  margin: 0 0 18px;
  color: var(--ms-muted);
  line-height: 1.65;
}

.link-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 15px;
  border-radius: 999px;
  background: #f3f4f6;
  color: var(--ms-black);
  font-weight: 900;
  font-size: .9rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.service-tile {
  min-height: 260px;
  padding: 24px;
  border: 1px solid var(--ms-line);
  border-radius: 34px;
  background:
    radial-gradient(circle at 100% 0%, rgba(227, 6, 44, .08), transparent 34%),
    #fff;
  box-shadow: var(--ms-shadow-soft);
}

.service-tile__icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 22px;
  border-radius: 18px;
  background: var(--ms-black);
  color: #fff;
  font-size: 1.45rem;
}

.service-tile h3 {
  margin: 0 0 10px;
  font-family: Manrope, Inter, sans-serif;
  font-size: 1.32rem;
}

.service-tile p {
  margin: 0 0 18px;
  color: var(--ms-muted);
  line-height: 1.65;
}

.mini-list {
  display: grid;
  gap: 9px;
  padding: 0;
  margin: 0;
  list-style: none;
  color: #3c4452;
  font-size: .92rem;
  font-weight: 750;
}

.mini-list li::before {
  content: "✓";
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  margin-right: 8px;
  border-radius: 999px;
  background: #e9fff1;
  color: var(--ms-green);
  font-size: .72rem;
}

.workflow {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 20px;
  align-items: stretch;
}

.workflow-panel {
  padding: 32px;
  border-radius: 38px;
  background: var(--ms-black);
  color: #fff;
  box-shadow: var(--ms-shadow);
}

.workflow-panel h2 {
  margin: 0 0 14px;
  font-family: Manrope, Inter, sans-serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
  letter-spacing: -.05em;
}

.workflow-panel p {
  margin: 0 0 22px;
  color: rgba(255,255,255,.72);
  line-height: 1.72;
}

.steps {
  display: grid;
  gap: 12px;
}

.step-card {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--ms-line);
  border-radius: 28px;
  background: #fff;
}

.step-card__num {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 18px;
  background: #fff0f3;
  color: var(--ms-red);
  font-family: Manrope, Inter, sans-serif;
  font-weight: 900;
  font-size: 1.2rem;
}

.step-card h3 {
  margin: 0 0 5px;
  font-family: Manrope, Inter, sans-serif;
  font-size: 1.05rem;
}

.step-card p {
  margin: 0;
  color: var(--ms-muted);
  line-height: 1.55;
}

.cta-band {
  margin: 42px 0 0;
  overflow: hidden;
  border-radius: 42px;
  background:
    radial-gradient(circle at 18% 20%, rgba(255,213,31,.28), transparent 26%),
    linear-gradient(135deg, #151515, #050505);
  color: #fff;
  box-shadow: var(--ms-shadow);
}

.cta-band__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 22px;
  align-items: center;
  padding: 34px;
}

.cta-band h2 {
  margin: 0 0 8px;
  font-family: Manrope, Inter, sans-serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  letter-spacing: -.05em;
}

.cta-band p {
  margin: 0;
  color: rgba(255,255,255,.72);
}

.faq-preview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.faq-card {
  padding: 22px;
  border: 1px solid var(--ms-line);
  border-radius: 28px;
  background: #fff;
}

.faq-card h3 {
  margin: 0 0 8px;
  font-family: Manrope, Inter, sans-serif;
  font-size: 1.05rem;
}

.faq-card p {
  margin: 0;
  color: var(--ms-muted);
  line-height: 1.6;
}

.site-footer {
  margin-top: 50px;
  padding: 50px 0 28px;
  border-radius: 42px 42px 0 0;
  background: #090909;
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.15fr repeat(3, minmax(150px, .75fr));
  gap: 28px;
}

.footer-brand p {
  max-width: 360px;
  color: rgba(255,255,255,.62);
  line-height: 1.72;
}

.footer-title {
  margin: 0 0 14px;
  color: #fff;
  font-weight: 900;
}

.footer-links {
  display: grid;
  gap: 10px;
}

.footer-links a {
  color: rgba(255,255,255,.64);
  font-size: .94rem;
  font-weight: 700;
}

.footer-links a:hover { color: #fff; }

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.footer-social a {
  display: inline-grid;
  place-items: center;
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  color: #fff;
  font-size: .88rem;
  font-weight: 900;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.1);
  color: rgba(255,255,255,.55);
  font-size: .88rem;
}

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 999;
}

.whatsapp-float .whatsapp-btn {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 999px;
  background: var(--ms-green);
  color: #fff;
  box-shadow: 0 20px 46px rgba(22,199,92,.38);
  font-size: 1.55rem;
  font-weight: 900;
}

@media (max-width: 1060px) {
  .site-nav { flex-wrap: wrap; }
  .header-actions { min-width: auto; }
  .nav-menu {
    order: 3;
    width: 100%;
  }
  .hero-grid,
  .workflow {
    grid-template-columns: 1fr;
  }
  .hero-showcase { min-height: 540px; }
  .product-grid,
  .services-grid,
  .faq-preview {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  :root { --ms-shell: min(100vw - 24px, 1180px); }
  .site-header { padding: 8px 0; }
  .brand-mark { min-width: auto; }
  .brand-mark__name { font-size: .9rem; }
  .brand-mark__tagline { font-size: .55rem; }
  .header-actions .pill-btn { display: none; }
  .menu-toggle { display: inline-grid; place-items: center; }
  .nav-menu {
    display: none;
    padding: 10px;
    border-radius: 26px;
  }
  .nav-menu.active { display: grid; grid-template-columns: 1fr 1fr; }
  .nav-link { justify-content: flex-start; padding: 0 14px; }
  .hero { padding-top: 42px; }
  .hero h1 { font-size: clamp(2.65rem, 16vw, 4.5rem); }
  .hero-proof,
  .product-grid,
  .services-grid,
  .faq-preview,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero-showcase { min-height: 430px; }
  .hero-card--main { inset: 0 40px 78px 0; border-radius: 28px; }
  .hero-card--mini { width: 48%; height: 38%; border-width: 7px; border-radius: 24px; }
  .hero-floating { left: 10px; bottom: 18px; max-width: 250px; }
  .section { padding: 46px 0; }
  .section-heading { display: block; }
  .cta-band__inner { grid-template-columns: 1fr; padding: 26px; }
  .footer-bottom { flex-direction: column; }
}
