/* ======================================== */
/* M365 ADMIN PAGE                          */
/* ======================================== */

.m365-landing {
  background: var(--orion-color-bg);
  color: var(--orion-color-text);
}

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

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

/* ======================================== */
/* HERO                                     */
/* ======================================== */

.m365-hero {
  padding: 28px 0 44px;
}

.m365-hero-box {
  background: linear-gradient(135deg, #1f1f1f 0%, var(--orion-color-dark) 100%);
  border-radius: 34px;
  padding: 58px 38px;
  box-shadow: 0 24px 60px rgba(18, 18, 18, 0.12);
}

.m365-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
  gap: 36px;
  align-items: start;
}

.m365-hero-main {
  text-align: center;
}

.m365-hero-main h1 {
  margin: 0;
  font-family: "Glacial Indifference", Inter, sans-serif;
  font-weight: 400;
  color: var(--orion-color-white);
  font-size: 68px;
  line-height: 1.05;
  letter-spacing: -1.8px;
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}

.m365-hero-copy {
  margin: 24px auto 0;
  max-width: 860px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 17px;
  line-height: 1.75;
}

.m365-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 32px;
}

.m365-actions-center {
  justify-content: center;
}

.m365-actions .orion-btn-primary {
  min-width: 280px;
}

.m365-hero .m365-actions {
  justify-content: center;
}

.m365-trust {
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  line-height: 1.6;
}

.m365-hero-card {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 34px 38px;
}

.m365-hero-card h3 {
  margin: 0 0 22px;
  font-family: "Glacial Indifference", Inter, sans-serif;
  font-weight: 400;
  color: #ffffff;
  font-size: 28px;
  line-height: 1.18;
}

.m365-hero-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.m365-hero-list li {
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
  line-height: 1.5;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.m365-hero-list li:last-child {
  border-bottom: none;
}

/* ======================================== */
/* SECTIONS                                 */
/* ======================================== */

.m365-section {
  padding: 72px 0;
}

.m365-section-alt {
  background: var(--orion-color-bg-soft);
}

.m365-header {
  max-width: 940px;
  margin: 0 auto 34px;
}

.m365-header-center {
  text-align: center;
}

.m365-header h2,
.m365-card h3,
.m365-final h2 {
  margin: 0;
  font-family: "Glacial Indifference", Inter, sans-serif;
  font-weight: 400;
  color: var(--orion-color-dark);
}

.m365-header h2,
.m365-final h2 {
  font-size: 48px;
  line-height: 1.12;
  letter-spacing: -1.2px;
}

.m365-header p,
.m365-card p,
.m365-final p {
  color: var(--orion-color-text-muted);
  font-size: 16px;
  line-height: 1.7;
}

/* ======================================== */
/* GRIDS                                    */
/* ======================================== */

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

.m365-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

/* ======================================== */
/* CARDS                                    */
/* ======================================== */

.m365-card,
.m365-final {
  background: var(--orion-color-white);
  border: 1px solid var(--orion-color-border);
  border-radius: 24px;
  box-shadow: 0 8px 20px rgba(18, 18, 18, 0.04);
}

.m365-card {
  padding: 34px 32px 32px;
  display: flex;
  flex-direction: column;
  transition: all 0.2s ease;
}

.m365-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(18, 18, 18, 0.08);
}

.m365-card h3 {
  font-size: 28px;
  line-height: 1.18;
  margin-bottom: 14px;
}

.m365-card p {
  margin: 0 0 22px;
}

/* ======================================== */
/* CHECK LISTS                              */
/* ======================================== */

.m365-check {
  list-style: none;
  padding: 0;
  margin: 0;
}

.m365-check li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 12px;
  color: var(--orion-color-text-muted);
  line-height: 1.6;
}

.m365-check li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--orion-color-primary);
  font-size: 18px;
  line-height: 1.4;
}

/* ======================================== */
/* FINAL CTA                                */
/* ======================================== */

.m365-final {
  max-width: 1060px;
  margin: 0 auto;
  padding: 58px 48px;
  text-align: center;
}

.m365-final p {
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

/* ======================================== */
/* RESPONSIVE                               */
/* ======================================== */

@media (max-width: 1200px) {
  .m365-hero-grid,
  .m365-grid-3,
  .m365-grid-2 {
    grid-template-columns: 1fr;
  }

  .m365-hero-main h1 {
    font-size: 54px;
  }
}

@media (max-width: 980px) {
  .m365-header h2,
  .m365-final h2 {
    font-size: 38px;
  }
}

@media (max-width: 640px) {
  .m365-hero-box,
  .m365-card,
  .m365-final,
  .m365-hero-card {
    padding: 24px;
  }

  .m365-hero-main h1 {
    font-size: 38px;
    letter-spacing: -1px;
  }

  .m365-header h2,
  .m365-final h2 {
    font-size: 30px;
    letter-spacing: -0.8px;
  }

  .m365-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .m365-actions .orion-btn {
    width: 100%;
  }

  .m365-actions .orion-btn-primary {
    min-width: 0;
  }
}