﻿/* ===========================
   VARIABLES
   =========================== */
:root {
  --color-primary:    #0f2d5e;
  --color-secondary:  #0078d4;
  --color-accent:     #00a651;
  --color-white:      #ffffff;
  --color-gray-light: #f5f5f5;
  --color-gray-mid:   #e0e0e0;
  --color-gray-dark:  #666666;
  --color-text:       #1a1a1a;

  --font-base:     'Inter', sans-serif;
  --container-max: 960px;
  --container-pad: 1.5rem;
  --radius:        8px;
  --shadow:        0 2px 12px rgba(0,0,0,.08);
  --transition:    200ms ease;
}

/* ===========================
   RESET
   =========================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-base);
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-white);
}

img    { display: block; max-width: 100%; }
a      { color: inherit; text-decoration: none; }
ul     { list-style: none; padding: 0; margin: 0; }
button { cursor: pointer; font: inherit; background: none; border: none; }

/* ===========================
   UTILITIES
   =========================== */
.container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

/* ===========================
   BUTTONS
   =========================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .75rem 1.75rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  transition: background-color var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}

.btn--primary {
  background-color: var(--color-secondary);
  color: var(--color-white);
}
.btn--primary:hover {
  background-color: #006abd;
  box-shadow: 0 4px 16px rgba(0,120,212,.35);
}

.btn--accent {
  background-color: var(--color-accent);
  color: var(--color-white);
}
.btn--accent:hover {
  background-color: #008f45;
  box-shadow: 0 4px 16px rgba(0,166,81,.3);
}

/* ===========================
   LANDING HEADER
   =========================== */
.landing-header {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--color-gray-mid);
  text-align: center;
}

.landing-header img {
  margin-inline: auto;
  height: 66px;
  width: auto;
}

/* ===========================
   HERO
   =========================== */
.landing-hero {
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: 5rem 0 4rem;
  text-align: center;
}

.landing-hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

.landing-hero p {
  font-size: 1.125rem;
  color: rgba(255,255,255,.85);
  max-width: 680px;
  margin-inline: auto;
}

/* ===========================
   SECTIONS
   =========================== */
.landing-section { padding: 4rem 0; }

.landing-section--alt { background-color: var(--color-gray-light); }

.section-title {
  font-size: clamp(1.375rem, 3vw, 1.875rem);
  font-weight: 700;
  color: var(--color-primary);
  text-align: center;
  margin-bottom: 2.5rem;
}

/* ===========================
   CARDS
   =========================== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--color-white);
  border: 1px solid var(--color-gray-mid);
  border-radius: calc(var(--radius) * 1.5);
  padding: 2rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: box-shadow var(--transition), transform var(--transition);
}

.card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
  transform: translateY(-2px);
}

.card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary);
}

.card p {
  font-size: .9375rem;
  color: var(--color-gray-dark);
  flex: 1;
}

.card .btn { align-self: flex-start; margin-top: .5rem; }

/* ===========================
   BENEFITS LIST
   =========================== */
.benefits-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem 2rem;
}

.benefits-list li {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  font-size: .9375rem;
  font-weight: 500;
}

.benefits-list li::before {
  content: '';
  display: inline-block;
  width: 22px;
  height: 22px;
  min-width: 22px;
  border-radius: 50%;
  background-color: var(--color-accent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 14px;
  background-position: center;
  background-repeat: no-repeat;
  margin-top: .1rem;
  flex-shrink: 0;
}

/* ===========================
   LANDING FOOTER
   =========================== */
.landing-footer {
  background-color: var(--color-primary);
  color: rgba(255,255,255,.75);
  padding: 2.5rem 0;
  text-align: center;
}

.landing-footer__logo {
  margin-inline: auto;
  margin-bottom: 1rem;
  height: 36px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: .85;
}

.landing-footer p {
  font-size: .875rem;
  line-height: 1.9;
}

.landing-footer a {
  color: rgba(255,255,255,.85);
  transition: color var(--transition);
}
.landing-footer a:hover { color: var(--color-white); }

.landing-footer__copy {
  margin-top: .75rem;
  font-size: .8125rem;
  color: rgba(255,255,255,.4);
}

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 600px) {
  .landing-hero  { padding: 3rem 0 2.5rem; }
  .cards-grid    { grid-template-columns: 1fr; }
  .benefits-list { grid-template-columns: 1fr; }
}

/* ===========================
   AI ASSIST LANDING
   =========================== */
.landing-ai-page {
  --ai-blue: #0078d4;
  --ai-cyan: #06b6d4;
  --ai-green: #00a651;
  --ai-ink: #060d1a;
  --ai-panel: rgba(255,255,255,0.045);
  --ai-line: rgba(255,255,255,0.085);
  --ai-radius: 8px;
  background: #060d1a;
  color: rgba(255,255,255,0.86);
  overflow-x: hidden;
}

.landing-ai-page .container {
  max-width: 1180px;
}

.landing-ai-header,
.landing-ai-page main,
.landing-ai-footer {
  position: relative;
  z-index: 1;
}

.landing-ai-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 0.9rem 0;
  background: rgba(6,13,26,0.82);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  backdrop-filter: blur(20px) saturate(180%);
}

.landing-ai-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.landing-ai-header img {
  height: 63px;
  width: auto;
  margin: 0;
}

.landing-ai-header__cta.btn--ai-pulse {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  border-radius: 999px;
  background: linear-gradient(135deg, #0078d4, #06b6d4);
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 12px 28px rgba(0,120,212,0.25);
  animation: aiButtonPulse 2.5s ease-in-out infinite;
}

.landing-ai-header__cta.btn--ai-pulse::before {
  content: "";
  position: absolute;
  inset: -45% -25%;
  z-index: -1;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.26), transparent);
  transform: translateX(-120%) rotate(18deg);
  animation: aiButtonSweep 3.4s ease-in-out infinite;
}

.landing-hero--ai {
  min-height: calc(100vh - 76px);
  padding: 4.5rem 0 3.6rem;
  background: #060d1a;
  color: #fff;
  position: relative;
  overflow: hidden;
  text-align: left;
}

.landing-hero--ai::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 76% 38%, rgba(0,166,81,0.22) 0%, transparent 54%),
    radial-gradient(ellipse at 18% 80%, rgba(124,58,237,0.22) 0%, transparent 52%),
    radial-gradient(circle at 45% 18%, rgba(6,182,212,0.12) 0%, transparent 34%),
    linear-gradient(180deg, #060606 0%, #060d1a 100%);
  pointer-events: none;
}

.landing-ai-flow {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.landing-ai-flow::before {
  content: "";
  position: absolute;
  inset: -10%;
  background-image:
    radial-gradient(circle, rgba(6,182,212,0.18) 1px, transparent 1.5px),
    linear-gradient(115deg, transparent 0 43%, rgba(43,149,245,0.08) 44%, transparent 46%),
    linear-gradient(25deg, transparent 0 48%, rgba(6,182,212,0.06) 49%, transparent 51%);
  background-size: 70px 70px, 260px 260px, 320px 320px;
  mask-image: radial-gradient(ellipse at center, black 0%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 0%, transparent 78%);
  opacity: 0.55;
  animation: aiNeuralDrift 18s linear infinite;
}

.landing-ai-flow::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent, rgba(6,182,212,0.08), transparent),
    radial-gradient(circle at 80% 30%, rgba(43,149,245,0.14), transparent 38%);
  opacity: 0.62;
  animation: aiNeuralGlow 7s ease-in-out infinite;
}

.ai-flow-line {
  position: absolute;
  left: -18%;
  width: 88%;
  height: 160px;
  border-top: 1px solid rgba(6,182,212,0.16);
  border-radius: 50%;
  box-shadow: 0 -8px 18px rgba(6,182,212,0.07);
  opacity: 0.56;
  animation: aiSignalFlow 12s linear infinite;
}

.ai-flow-line::after {
  content: "";
  position: absolute;
  top: -5px;
  left: 0;
  width: 160px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(43,149,245,0.32), rgba(6,182,212,0.68), transparent);
  filter: blur(5px);
  animation: aiSignalLight 12s linear infinite;
}

.ai-flow-line--1 { top: 27%; --r: -5deg; }
.ai-flow-line--2 { top: 45%; --r: 2deg; animation-delay: -3.4s; }
.ai-flow-line--3 { top: 64%; --r: -2deg; animation-delay: -6.8s; }

.ai-node {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #06b6d4;
  box-shadow: 0 0 18px rgba(6,182,212,0.7);
  opacity: 0.72;
  animation: aiNodeFloat 6s ease-in-out infinite;
}

.ai-node--1 { top: 18%; left: 18%; }
.ai-node--2 { top: 34%; right: 17%; animation-delay: -1.4s; }
.ai-node--3 { bottom: 22%; left: 41%; animation-delay: -2.6s; }
.ai-node--4 { bottom: 35%; right: 34%; animation-delay: -4s; }

.ai-spark {
  position: absolute;
  z-index: 2;
  color: rgba(251,113,133,0.82);
  font-size: 1.35rem;
  text-shadow: 0 0 18px rgba(251,113,133,0.42);
  animation: aiSparkFloat 5.8s ease-in-out infinite;
}

.ai-spark--1 { top: 23%; right: 11%; }
.ai-spark--2 {
  bottom: 17%;
  left: 13%;
  color: rgba(6,182,212,0.78);
  text-shadow: 0 0 18px rgba(6,182,212,0.38);
  animation-delay: -2.4s;
}

.landing-ai-hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(480px, 1fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}

.landing-ai-hero__content {
  max-width: 650px;
}

.landing-ai-hero__logo {
  width: clamp(220px, 28vw, 320px);
  max-width: 100%;
  height: auto;
  margin: 0 0 1.2rem;
  object-fit: contain;
  filter: drop-shadow(0 0 20px rgba(94,197,255,0.28));
}

.landing-ai-badge,
.landing-ai-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 999px;
  background: rgba(0,120,212,0.14);
  border: 1px solid rgba(43,149,245,0.35);
  color: rgba(255,255,255,0.86);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.landing-ai-badge {
  margin-bottom: 1.6rem;
  padding: 0.58rem 1.15rem;
}

.landing-ai-label {
  padding: 0.35rem 0.85rem;
}

.landing-ai-badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00c961;
  box-shadow: 0 0 14px rgba(0,201,97,0.8);
}

.landing-hero--ai h1 {
  max-width: 680px;
  margin-bottom: 1rem;
  color: #fff;
  font-size: clamp(2.35rem, 4.25vw, 4.15rem);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: 0;
}

.landing-hero--ai h1 span,
.ai-text-highlight {
  display: inline;
  background: linear-gradient(135deg, #2b95f5, #06b6d4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.landing-hero--ai p {
  max-width: 585px;
  margin: 0;
  color: rgba(255,255,255,0.72);
  font-size: 1rem;
  line-height: 1.68;
}

.landing-ai-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  width: min(100%, 520px);
  margin-top: 1.8rem;
}

.landing-ai-actions .btn {
  width: 100%;
  min-height: 48px;
}

.btn--ai-primary,
.btn--ai-secondary {
  border-radius: 999px;
  padding: 0.95rem 1.45rem;
  font-weight: 800;
}

.btn--ai-primary {
  color: #fff;
  background: linear-gradient(135deg, #0078d4, #005a9e);
  box-shadow: 0 12px 32px rgba(0,120,212,0.34);
}

.btn--ai-primary:hover {
  box-shadow: 0 16px 38px rgba(0,120,212,0.48);
  transform: translateY(-2px);
}

.btn--ai-secondary {
  color: rgba(255,255,255,0.86);
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.06);
}

.btn--ai-secondary:hover {
  border-color: rgba(43,149,245,0.42);
  background: rgba(255,255,255,0.1);
}

.landing-ai-trust {
  width: min(100%, 520px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
}

.landing-ai-trust span {
  padding: 0.7rem 0.85rem;
  border-radius: var(--ai-radius);
  background: rgba(255,255,255,0.045);
  border: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.68);
  font-size: 0.78rem;
  font-weight: 700;
  text-align: center;
}

.landing-ai-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.landing-ai-visual::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 420px;
  background:
    radial-gradient(circle at 70% 22%, rgba(255,132,72,0.18), transparent 42%),
    radial-gradient(circle at 34% 68%, rgba(124,58,237,0.18), transparent 48%),
    radial-gradient(circle, rgba(0,120,212,0.16), transparent 70%);
  border-radius: 50%;
  filter: blur(42px);
  animation: aiGlowPulse 6s ease-in-out infinite;
}

.ai-agent-panel {
  width: min(100%, 430px);
  position: relative;
  z-index: 1;
  padding: 24px;
  border-radius: 24px;
  background: rgba(255,255,255,0.045);
  border: 1px solid rgba(255,255,255,0.11);
  box-shadow: 0 25px 60px rgba(0,0,0,0.38), inset 0 1px 0 rgba(255,255,255,0.08);
  backdrop-filter: blur(20px);
  animation: aiPanelFloat 6s ease-in-out infinite;
}

.ai-chat-mockup {
  width: min(100%, 620px);
  position: relative;
  z-index: 1;
  overflow: hidden;
  border-radius: 32px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.98), rgba(248,250,255,0.96)),
    #fff;
  border: 1px solid rgba(255,255,255,0.72);
  box-shadow:
    0 32px 90px rgba(0,0,0,0.48),
    0 0 0 1px rgba(43,149,245,0.16),
    0 0 70px rgba(255,132,72,0.10),
    0 0 90px rgba(124,58,237,0.12);
  transform: rotate(0.35deg);
  animation: aiPanelFloat 7s ease-in-out infinite;
}

.ai-chat-mockup::before {
  content: "";
  position: absolute;
  inset: -2px;
  background:
    radial-gradient(circle at 86% 0%, rgba(255,132,72,0.18), transparent 24%),
    radial-gradient(circle at 8% 96%, rgba(6,182,212,0.16), transparent 28%),
    linear-gradient(120deg, rgba(255,132,72,0.12), transparent 18%, transparent 76%, rgba(124,58,237,0.12));
  pointer-events: none;
}

.ai-chat-mockup::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(110deg, transparent 0 35%, rgba(255,255,255,0.55) 47%, transparent 60%);
  transform: translateX(-120%);
  opacity: 0.7;
  animation: aiPanelSweep 6.5s ease-in-out infinite;
}

.ai-chat-mockup__topbar {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(15,23,42,0.08);
}

.ai-chat-mockup__topbar img {
  width: 154px;
  height: auto;
}

.ai-chat-mockup__topbar nav {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.28rem;
  border-radius: 999px;
  background: rgba(15,23,42,0.04);
  border: 1px solid rgba(15,23,42,0.07);
}

.ai-chat-mockup__topbar nav span {
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  color: rgba(15,23,42,0.58);
  font-size: 0.78rem;
  font-weight: 800;
}

.ai-chat-mockup__topbar nav .active {
  color: #0f172a;
  background: #fff;
  box-shadow: 0 8px 22px rgba(15,23,42,0.10);
}

.ai-chat-mockup__header {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1.15rem 1.35rem;
  background: linear-gradient(135deg, rgba(0,120,212,0.9), rgba(6,182,212,0.55));
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.ai-chat-brand {
  width: 106px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 0.25rem 0.35rem;
  border-radius: var(--ai-radius);
  background: rgba(255,255,255,0.16);
  border: 1px solid rgba(255,255,255,0.20);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.15);
}

.ai-chat-brand img {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(6,182,212,0.20));
}

.ai-chat-mockup__header strong {
  display: block;
  color: #fff;
  font-size: 0.95rem;
}

.ai-chat-mockup__header span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: rgba(255,255,255,0.78);
  font-size: 0.75rem;
}

.ai-chat-mockup__header i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #00c961;
  box-shadow: 0 0 10px rgba(0,201,97,0.8);
}

.ai-chat-mockup__body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: clamp(1.2rem, 2vw, 1.7rem);
  min-height: 430px;
  background:
    radial-gradient(circle at 50% 38%, rgba(124,58,237,0.08), transparent 26%),
    linear-gradient(180deg, rgba(255,255,255,0), rgba(239,246,255,0.46));
}

.ai-product-status {
  display: grid;
  justify-items: center;
  gap: 0.18rem;
  margin: 0.2rem 0 1.35rem;
  text-align: center;
}

.ai-product-status span {
  color: #111827;
  font-size: 0.92rem;
  font-weight: 900;
}

.ai-product-status small {
  color: rgba(15,23,42,0.34);
  font-size: 0.78rem;
}

.ai-message {
  max-width: 86%;
  animation: aiMessageIn 0.7s cubic-bezier(0.16,1,0.3,1) both;
}

.ai-message:nth-of-type(3) { animation-delay: 0.15s; }
.ai-message:nth-of-type(4) { animation-delay: 0.3s; }

.ai-bot-avatar {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, #f59e0b, #fb7185);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 900;
  box-shadow: 0 8px 22px rgba(245,158,11,0.22);
}

.ai-message p {
  margin: 0;
  padding: 0.85rem 1rem;
  border-radius: 20px;
  color: rgba(15,23,42,0.74);
  font-size: 0.88rem;
  line-height: 1.58;
}

.ai-message--bot {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}

.ai-message--bot p {
  background: #fff;
  border: 1px solid rgba(15,23,42,0.08);
  border-top-left-radius: 7px;
  box-shadow: 0 12px 30px rgba(15,23,42,0.06);
}

.ai-message--user {
  align-self: flex-end;
}

.ai-message--user small {
  text-align: right;
}

.ai-message--user p {
  color: #fff;
  background: linear-gradient(135deg, #6d5dfc, #7c3aed);
  border-top-right-radius: 7px;
  box-shadow: 0 14px 30px rgba(124,58,237,0.20);
}

.ai-generating-card {
  align-self: flex-start;
  width: min(100%, 390px);
  display: grid;
  gap: 0.7rem;
  margin-left: 43px;
  padding: 0.9rem 1rem;
  border-radius: 18px;
  background: rgba(124,58,237,0.08);
  border: 1px solid rgba(124,58,237,0.16);
}

.ai-generating-card span {
  color: rgba(15,23,42,0.72);
  font-size: 0.78rem;
  font-weight: 900;
}

.ai-generate-bar {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(15,23,42,0.08);
}

.ai-generate-bar i {
  display: block;
  width: 58%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #0078d4, #06b6d4, #fb7185);
  box-shadow: 0 0 18px rgba(6,182,212,0.32);
  animation: aiGenerateBar 2.5s ease-in-out infinite;
}

.ai-typing {
  display: inline-flex;
  align-self: flex-start;
  gap: 5px;
  margin-left: 43px;
  padding: 0.75rem 0.9rem;
  border-radius: 16px;
  border-top-left-radius: 6px;
  background: #fff;
  border: 1px solid rgba(15,23,42,0.08);
  box-shadow: 0 12px 30px rgba(15,23,42,0.06);
}

.ai-typing span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(0,120,212,0.72);
  animation: aiTypingDot 1.35s ease-in-out infinite;
}

.ai-typing span:nth-child(2) { animation-delay: 0.18s; }
.ai-typing span:nth-child(3) { animation-delay: 0.36s; }

.ai-chat-mockup__input {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.05rem 1.25rem 1.25rem;
  background: rgba(255,255,255,0.74);
  border-top: 1px solid rgba(15,23,42,0.06);
}

.ai-chat-mockup__input span {
  flex: 1;
  position: relative;
  padding: 0.9rem 1.15rem;
  border-radius: 999px;
  color: rgba(15,23,42,0.48);
  background: #fff;
  border: 1px solid rgba(15,23,42,0.10);
  box-shadow: 0 12px 34px rgba(15,23,42,0.08);
  font-size: 0.84rem;
}

.ai-chat-mockup__input span::after {
  content: "";
  display: inline-block;
  width: 1px;
  height: 1em;
  margin-left: 4px;
  vertical-align: -2px;
  background: rgba(0,120,212,0.75);
  animation: aiCursorBlink 1s steps(2, start) infinite;
}

.ai-chat-mockup__input svg {
  width: 48px;
  height: 48px;
  padding: 13px;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(135deg, #f59e0b, #fb7185);
  box-shadow: 0 16px 34px rgba(251,113,133,0.22);
}

/* Restore the darker chat mockup while keeping the updated AI background palette. */
.ai-chat-mockup {
  width: min(100%, 460px);
  border-radius: 16px;
  background: rgba(18,24,36,0.88);
  border: 1px solid rgba(255,255,255,0.11);
  box-shadow:
    0 30px 80px rgba(0,0,0,0.52),
    0 0 60px rgba(0,166,81,0.10),
    0 0 70px rgba(124,58,237,0.12),
    inset 0 1px 0 rgba(255,255,255,0.08);
  backdrop-filter: blur(22px);
  transform: rotate(0.45deg);
  animation: aiPanelFloat 6s ease-in-out infinite;
}

.ai-chat-mockup::before {
  inset: 0;
  background:
    radial-gradient(circle at 85% 14%, rgba(0,166,81,0.16), transparent 30%),
    radial-gradient(circle at 12% 84%, rgba(124,58,237,0.14), transparent 28%),
    linear-gradient(135deg, rgba(0,120,212,0.08), transparent 45%);
}

.ai-chat-mockup::after {
  display: none;
}

.ai-chat-mockup__body {
  gap: 0.9rem;
  padding: 1.35rem;
  min-height: 405px;
  background: rgba(6,13,26,0.42);
}

.ai-message {
  max-width: 86%;
  animation: none;
}

.ai-message small {
  display: block;
  margin-bottom: 0.3rem;
  color: rgba(255,255,255,0.42);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ai-message--bot {
  display: block;
}

.ai-message p {
  margin: 0;
  padding: 0.85rem 1rem;
  border-radius: var(--ai-radius);
  color: rgba(255,255,255,0.78);
  font-size: 0.86rem;
  line-height: 1.58;
}

.ai-message--bot p {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.075);
  border-top-left-radius: 5px;
  box-shadow: none;
}

.ai-message--user {
  align-self: flex-end;
}

.ai-message--user small {
  text-align: right;
}

.ai-message--user p {
  color: #fff;
  background: linear-gradient(135deg, #0078d4, #005a9e);
  border-top-right-radius: 5px;
  box-shadow: none;
}

.ai-message--summary p {
  background: rgba(0,120,212,0.15);
  border: 1px solid rgba(0,120,212,0.28);
}

.ai-typing {
  margin-left: 0;
  padding: 0.85rem 1rem;
  border-radius: var(--ai-radius);
  border-top-left-radius: 5px;
  background: rgba(255,255,255,0.07);
  border: 0;
  box-shadow: none;
}

.ai-typing span {
  background: rgba(255,255,255,0.62);
}

.ai-chat-mockup__input {
  flex-direction: row;
  align-items: center;
  padding: 0.95rem 1.15rem;
  background: rgba(4,8,16,0.72);
  border-top: 1px solid rgba(255,255,255,0.07);
}

.ai-chat-mockup__input span {
  padding: 0.7rem 1rem;
  border-radius: var(--ai-radius);
  color: rgba(255,255,255,0.42);
  background: rgba(0,0,0,0.24);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: none;
  font-size: 0.82rem;
}

.ai-chat-mockup__input span::after {
  display: none;
}

.ai-chat-mockup__input svg {
  width: 40px;
  height: 40px;
  padding: 10px;
  border-radius: var(--ai-radius);
  background: linear-gradient(135deg, #0078d4, #06b6d4);
  box-shadow: 0 0 18px rgba(6,182,212,0.24);
}

.ai-agent-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.ai-agent-panel__header img {
  width: 145px;
  height: auto;
}

.ai-agent-panel__header span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  color: #00c961;
  background: rgba(0,166,81,0.1);
  border: 1px solid rgba(0,166,81,0.22);
  font-size: 0.72rem;
  font-weight: 700;
  white-space: nowrap;
}

.ai-agent-panel__header i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #00c961;
  box-shadow: 0 0 10px rgba(0,201,97,0.8);
}

.ai-orbit {
  position: relative;
  min-height: 270px;
  display: grid;
  place-items: center;
  margin: 20px 0;
}

.ai-orbit::before,
.ai-orbit::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(6,182,212,0.18);
}

.ai-orbit::before {
  width: 230px;
  height: 230px;
  animation: aiOrbitSpin 18s linear infinite;
}

.ai-orbit::after {
  width: 170px;
  height: 170px;
  border-color: rgba(43,149,245,0.18);
  animation: aiOrbitSpin 12s linear infinite reverse;
}

.ai-orbit__core {
  width: 118px;
  height: 118px;
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #06b6d4;
  background: radial-gradient(circle, rgba(0,120,212,0.24), rgba(255,255,255,0.04));
  border: 1px solid rgba(6,182,212,0.36);
  box-shadow: 0 0 38px rgba(6,182,212,0.22);
}

.ai-orbit__node {
  position: absolute;
  z-index: 3;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  background: rgba(6,13,26,0.82);
  border: 1px solid rgba(43,149,245,0.28);
  color: rgba(255,255,255,0.76);
  font-size: 0.72rem;
  font-weight: 800;
  box-shadow: 0 8px 24px rgba(0,0,0,0.24);
}

.ai-orbit__node--1 { top: 18px; left: 50%; transform: translateX(-50%); }
.ai-orbit__node--2 { right: 12px; top: 48%; }
.ai-orbit__node--3 { bottom: 18px; left: 50%; transform: translateX(-50%); }
.ai-orbit__node--4 { left: 10px; top: 48%; }

.ai-chat-preview {
  display: grid;
  gap: 0.75rem;
}

.ai-chat-preview div {
  padding: 0.95rem;
  border-radius: 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
}

.ai-chat-preview strong {
  display: block;
  margin-bottom: 0.3rem;
  color: #fff;
  font-size: 0.78rem;
}

.ai-chat-preview p {
  margin: 0;
  color: rgba(255,255,255,0.62);
  font-size: 0.86rem;
  line-height: 1.55;
}

.landing-ai-section {
  position: relative;
  z-index: 1;
  padding: 5.5rem 0;
  background: transparent;
}

.landing-ai-section__header {
  max-width: 760px;
  margin: 0 auto 3rem;
  text-align: center;
}

.landing-ai-section__header h2,
.ai-human-card h2,
.ai-final-card h2 {
  margin: 0.9rem 0 1rem;
  color: #fff;
  font-size: clamp(1.85rem, 3.1vw, 2.75rem);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: 0;
}

.landing-ai-section__header p,
.ai-human-card p,
.ai-final-card p {
  max-width: 680px;
  margin: 0 auto;
  color: rgba(255,255,255,0.64);
  font-size: 0.98rem;
  line-height: 1.75;
}

.landing-ai-section--intro .landing-ai-section__header {
  margin-bottom: 2.35rem;
}

.landing-ai-section--intro .ai-feature-grid {
  align-items: stretch;
}

.landing-ai-section--intro .ai-feature-card {
  min-height: 100%;
  background:
    radial-gradient(circle at 86% 12%, rgba(251,113,133,0.07), transparent 28%),
    linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.035));
}

.landing-ai-section--intro .ai-feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(120deg, transparent 0 32%, rgba(255,255,255,0.10) 46%, transparent 58%);
  transform: translateX(-110%);
  transition: transform 0.7s ease;
}

.landing-ai-section--intro .ai-feature-card:hover::before {
  transform: translateX(110%);
}

.ai-feature-grid,
.ai-use-grid,
.ai-process-grid {
  display: grid;
  gap: 1.2rem;
}

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

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

.ai-process-grid {
  position: relative;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding-bottom: 2.2rem;
}

.ai-process-grid::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 14px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(0,120,212,0.15), rgba(6,182,212,0.62), rgba(0,120,212,0.15));
}

.ai-process-grid::after {
  content: "";
  position: absolute;
  bottom: 10px;
  width: 130px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(6,182,212,0.8), transparent);
  filter: blur(5px);
  animation: aiProcessLight 4.4s linear infinite;
}

.ai-feature-card,
.ai-use-card,
.ai-process-step,
.ai-human-card,
.ai-ticket-card,
.ai-final-card {
  position: relative;
  overflow: hidden;
  background: var(--ai-panel);
  border: 1px solid var(--ai-line);
  border-radius: var(--ai-radius);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.055);
  backdrop-filter: blur(16px);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.ai-feature-card,
.ai-use-card,
.ai-process-step {
  padding: 1.65rem;
}

.ai-feature-card:hover,
.ai-use-card:hover,
.ai-process-step:hover,
.ai-human-card:hover,
.ai-final-card:hover {
  transform: translateY(-6px);
  border-color: rgba(43,149,245,0.34);
  box-shadow: 0 24px 50px rgba(0,0,0,0.26), 0 0 30px rgba(0,120,212,0.12);
}

.ai-feature-card__icon {
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  border-radius: var(--ai-radius);
  color: #06b6d4;
  background: rgba(0,120,212,0.14);
  border: 1px solid rgba(43,149,245,0.22);
}

.ai-feature-card h3,
.ai-use-card h3,
.ai-process-step h3 {
  margin-bottom: 0.7rem;
  color: #fff;
  font-size: 1.15rem;
}

.ai-feature-card p,
.ai-use-card p,
.ai-process-step p {
  color: rgba(255,255,255,0.62);
  font-size: 0.94rem;
  line-height: 1.7;
}

.ai-use-card span {
  display: inline-flex;
  margin-bottom: 1rem;
  padding: 0.32rem 0.62rem;
  border-radius: var(--ai-radius);
  color: rgba(255,255,255,0.78);
  background: rgba(0,120,212,0.14);
  border: 1px solid rgba(43,149,245,0.22);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.ai-process-step {
  z-index: 1;
}

.ai-process-step span {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.15rem;
  border-radius: 50%;
  color: #fff;
  font-weight: 900;
  background: linear-gradient(135deg, #0078d4, #06b6d4);
  box-shadow: 0 0 22px rgba(0,120,212,0.34);
}

.ai-human-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 2rem;
  align-items: center;
  padding: 2.5rem;
}

.ai-ticket-card {
  padding: 1.4rem;
  background: rgba(0,120,212,0.08);
  border-color: rgba(0,120,212,0.24);
}

.ai-ticket-card span {
  display: block;
  color: #2b95f5;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.ai-ticket-card p {
  margin: 0.8rem 0 1rem;
  color: rgba(255,255,255,0.68);
}

.ai-ticket-card strong {
  color: #00c961;
}

.ai-final-card {
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem 2.4rem;
  text-align: center;
  background: linear-gradient(135deg, rgba(0,120,212,0.12), rgba(6,182,212,0.08));
  border-color: rgba(0,120,212,0.25);
}

.ai-final-card .btn--ai-primary {
  margin-top: 1.8rem;
}

.ai-faq-list {
  max-width: 860px;
  display: grid;
  gap: 0.8rem;
  margin: 0 auto;
}

.ai-faq-list details {
  overflow: hidden;
  border-radius: var(--ai-radius);
  background: var(--ai-panel);
  border: 1px solid var(--ai-line);
}

.ai-faq-list summary {
  cursor: pointer;
  padding: 1.05rem 1.2rem;
  color: #fff;
  font-weight: 800;
  list-style: none;
}

.ai-faq-list summary::-webkit-details-marker {
  display: none;
}

.ai-faq-list summary::after {
  content: "+";
  float: right;
  color: var(--ai-cyan);
  font-weight: 900;
}

.ai-faq-list details[open] summary::after {
  content: "-";
}

.ai-faq-list p {
  margin: 0;
  padding: 0 1.2rem 1.15rem;
  color: rgba(255,255,255,0.62);
  line-height: 1.7;
}

.landing-ai-footer {
  background: rgba(6,13,26,0.96);
  border-top: 1px solid rgba(255,255,255,0.07);
}

@keyframes aiButtonPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0,120,212,0.42), 0 12px 28px rgba(0,120,212,0.25); }
  50% { box-shadow: 0 0 0 10px rgba(0,120,212,0), 0 16px 36px rgba(0,120,212,0.42); }
}

@keyframes aiButtonSweep {
  0%, 45% { transform: translateX(-120%) rotate(18deg); }
  75%, 100% { transform: translateX(120%) rotate(18deg); }
}

@keyframes aiSignalFlow {
  0% { opacity: 0; transform: translateX(-26%) rotate(var(--r, 0deg)); }
  12%, 88% { opacity: 0.42; }
  100% { opacity: 0; transform: translateX(112%) rotate(var(--r, 0deg)); }
}

@keyframes aiSignalLight {
  0% { transform: translateX(0); opacity: 0; }
  12%, 88% { opacity: 0.44; }
  100% { transform: translateX(980px); opacity: 0; }
}

@keyframes aiNeuralDrift {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(70px, 70px, 0); }
}

@keyframes aiNeuralGlow {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 0.72; transform: scale(1.04); }
}

@keyframes aiNodeFloat {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.5; }
  50% { transform: translateY(-12px) scale(1.18); opacity: 0.92; }
}

@keyframes aiGlowPulse {
  0%, 100% { opacity: 0.55; transform: scale(0.96); }
  50% { opacity: 0.9; transform: scale(1.06); }
}

@keyframes aiPanelFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(0.35deg); }
}

@keyframes aiPanelSweep {
  0%, 48% { transform: translateX(-120%); opacity: 0; }
  62% { opacity: 0.55; }
  82%, 100% { transform: translateX(120%); opacity: 0; }
}

@keyframes aiMessageIn {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes aiGenerateBar {
  0%, 100% { transform: translateX(-18%); width: 48%; }
  50% { transform: translateX(88%); width: 34%; }
}

@keyframes aiCursorBlink {
  0%, 45% { opacity: 1; }
  46%, 100% { opacity: 0; }
}

@keyframes aiSparkFloat {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg) scale(1); opacity: 0.42; }
  50% { transform: translate3d(12px, -16px, 0) rotate(12deg) scale(1.08); opacity: 0.95; }
}

@keyframes aiTypingDot {
  0%, 80%, 100% { opacity: 0.32; transform: scale(0.82); }
  40% { opacity: 1; transform: scale(1); }
}

@keyframes aiOrbitSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes aiProcessLight {
  0% { left: 8%; opacity: 0; }
  12%, 86% { opacity: 0.85; }
  100% { left: calc(92% - 130px); opacity: 0; }
}

@media (max-width: 968px) {
  .landing-hero--ai {
    min-height: auto;
    padding: 4.25rem 0 3rem;
    text-align: center;
  }

  .landing-ai-hero__grid,
  .ai-human-card {
    grid-template-columns: 1fr;
  }

  .landing-ai-visual {
    width: min(100%, 680px);
    margin-inline: auto;
  }

  .landing-ai-hero__content,
  .landing-hero--ai p {
    max-width: 100%;
    margin-inline: auto;
  }

  .landing-ai-hero__logo {
    margin-left: auto;
    margin-right: auto;
  }

  .landing-ai-actions,
  .landing-ai-trust {
    margin-left: auto;
    margin-right: auto;
  }

  .ai-feature-grid,
  .ai-use-grid,
  .ai-process-grid {
    grid-template-columns: 1fr;
  }

  .ai-process-grid {
    padding-bottom: 0;
  }

  .ai-process-grid::before,
  .ai-process-grid::after {
    display: none;
  }
}

@media (max-width: 640px) {
  .landing-ai-header__cta {
    display: none;
  }

  .landing-ai-section {
    padding: 4rem 0;
  }

  .landing-hero--ai h1 {
    font-size: clamp(2.1rem, 11vw, 3.05rem);
  }

  .landing-ai-actions,
  .landing-ai-trust {
    grid-template-columns: 1fr;
  }

  .ai-chat-mockup {
    border-radius: 14px;
  }

  .ai-chat-mockup__header {
    gap: 0.7rem;
    padding: 0.85rem;
  }

  .ai-chat-brand {
    width: 86px;
    height: 44px;
  }

  .ai-chat-mockup__topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .ai-chat-mockup__topbar img {
    width: 132px;
  }

  .ai-chat-mockup__topbar nav {
    width: 100%;
    justify-content: space-between;
  }

  .ai-chat-mockup__topbar nav span {
    flex: 1;
    text-align: center;
    font-size: 0.72rem;
  }

  .ai-product-status {
    margin-bottom: 1rem;
  }

  .ai-message {
    max-width: 100%;
  }

  .ai-message small {
    font-size: 0.62rem;
  }

  .ai-message p {
    padding: 0.68rem 0.75rem;
    font-size: 0.8rem;
    line-height: 1.5;
  }

  .ai-generating-card,
  .ai-typing {
    margin-left: 0;
  }

  .ai-agent-panel,
  .ai-human-card,
  .ai-final-card {
    padding: 1.45rem;
  }

  .ai-agent-panel__header {
    align-items: flex-start;
    flex-direction: column;
  }

  .ai-chat-mockup {
    transform: none;
  }

  .ai-chat-mockup__body {
    gap: 0.62rem;
    padding: 0.95rem;
    min-height: auto;
  }

  .ai-chat-mockup__input {
    align-items: center;
    flex-direction: row;
    padding: 0.8rem;
  }

  .ai-chat-mockup__input span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .ai-chat-mockup__input svg {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .landing-ai-header__cta.btn--ai-pulse,
  .landing-ai-header__cta.btn--ai-pulse::before,
  .ai-flow-line,
  .ai-flow-line::after,
  .ai-node,
  .ai-spark,
  .landing-ai-flow::before,
  .landing-ai-flow::after,
  .landing-ai-visual::before,
  .ai-agent-panel,
  .ai-chat-mockup,
  .ai-chat-mockup::after,
  .ai-message,
  .ai-generate-bar i,
  .ai-chat-mockup__input span::after,
  .ai-typing span,
  .ai-orbit::before,
  .ai-orbit::after,
  .ai-process-grid::after {
    animation: none !important;
  }

  .ai-feature-card,
  .ai-process-step,
  .ai-human-card,
  .ai-final-card {
    transition: none;
  }
}

/* Visible keyboard focus for standalone landing pages. */
*:focus-visible {
  outline: 3px solid #2b95f5 !important;
  outline-offset: 3px !important;
}
/* ===========================
   LANDING M365
   =========================== */
#particles-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.landing-m365-page {
  background: #060d1a;
  color: rgba(255,255,255,0.86);
  overflow-x: hidden;
}

.landing-m365-page .container {
  max-width: 1180px;
}

.landing-m365-page #riesgos,
.landing-m365-page #beneficios,
.landing-m365-page #escenarios,
.landing-m365-page #proceso,
.landing-m365-page #faq {
  scroll-margin-top: 100px;
}

.landing-m365-header,
.landing-m365-page main,
.landing-m365-footer {
  position: relative;
  z-index: 1;
}

.landing-m365-header {
  position: fixed;
  top: clamp(0.75rem, 1.5vw, 1.35rem);
  left: 50%;
  z-index: 50;
  width: min(calc(100% - 2rem), 1180px);
  padding: 0;
  background: transparent;
  border-bottom: 0;
  transform: translateX(-50%);
  text-align: left;
}

.landing-m365-header__inner {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(0.9rem, 2.5vw, 2.5rem);
  width: 100%;
  max-width: none;
  padding: 0.45rem 0.58rem 0.45rem 1rem;
  border: 1px solid rgba(177,232,255,0.22);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.13), rgba(255,255,255,0.04)),
    rgba(2,8,16,0.42);
  box-shadow:
    0 24px 60px rgba(0,0,0,0.28),
    inset 0 1px 0 rgba(255,255,255,0.22);
  backdrop-filter: blur(26px) saturate(165%);
  -webkit-backdrop-filter: blur(26px) saturate(165%);
}

.landing-m365-header img {
  margin: 0;
  width: 162px;
  height: 42px;
  object-fit: contain;
}

.landing-m365-header__inner > a:first-child {
  width: 162px;
  height: 42px;
  flex: 0 0 162px;
  display: inline-flex;
  align-items: center;
  overflow: hidden;
  color: transparent;
  font-size: 0;
  line-height: 0;
}

.landing-m365-header__links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.8rem, 2vw, 1.6rem);
  margin-left: auto;
}

.landing-m365-header__links a {
  color: rgba(255,255,255,0.72);
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
  transition: color 0.2s ease, transform 0.2s ease;
}

.landing-m365-header__links a:hover,
.landing-m365-header__links a:focus-visible {
  color: #6ed6ff;
  transform: translateY(-1px);
}

.landing-m365-header__cta.btn--pulse {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #eaffff;
  background: rgba(0,229,255,0.09);
  border: 1px solid rgba(0,229,255,0.70);
  border-radius: 999px;
  padding: 0 1.05rem;
  box-shadow: 0 0 30px rgba(0,229,255,0.15);
  font-weight: 900;
  white-space: nowrap;
  animation: none;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.landing-m365-header__cta.btn--pulse:hover {
  transform: translateY(-1px);
  background: rgba(0,200,117,0.14);
  border-color: rgba(0,200,117,0.85);
}

.landing-m365-header__cta.btn--pulse::before {
  display: none;
}

.landing-hero--m365 {
  min-height: 100svh;
  padding: clamp(6.5rem, 10vh, 7.5rem) 0 3rem;
  background: #060d1a;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  text-align: left;
}

.landing-m365-flow {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.flow-line {
  position: absolute;
  left: -16%;
  width: 92%;
  height: 170px;
  background: transparent;
  border-top: 1px solid rgba(6,182,212,0.20);
  border-radius: 50%;
  box-shadow:
    0 -8px 18px rgba(6,182,212,0.08),
    0 0 26px rgba(0,120,212,0.08);
  opacity: 0.58;
  z-index: 0;
  transform-origin: left center;
  animation: m365WaveFlowLinear 13s linear infinite;
}

.flow-line::after {
  content: "";
  position: absolute;
  left: 0;
  top: -6px;
  width: 190px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(43,149,245,0.36), rgba(6,182,212,0.72), rgba(255,255,255,0.32), transparent);
  filter: blur(6px);
  opacity: 0.7;
  animation: m365WaveLightLinear 13s linear infinite;
}

.flow-line--1 { top: 33%; --y: -4px; --r: -4deg; }
.flow-line--2 { top: 47%; --y: 10px; --r: 2deg; animation-delay: -3.2s; }
.flow-line--3 { top: 61%; --y: -8px; --r: -1.5deg; animation-delay: -6.1s; }

.flow-envelope {
  position: absolute;
  left: -64px;
  width: 30px;
  height: 21px;
  border: 1.5px solid rgba(6,182,212,0.48);
  border-radius: 6px;
  background: rgba(0,120,212,0.035);
  box-shadow: 0 0 12px rgba(6,182,212,0.12);
  filter: drop-shadow(0 0 8px rgba(6,182,212,0.28));
  opacity: 0;
  z-index: 2;
  animation: m365EnvelopeDrift 12.5s linear infinite;
}

.flow-envelope::before,
.flow-envelope::after {
  content: "";
  position: absolute;
  top: 0;
  width: 17px;
  height: 1.5px;
  background: rgba(6,182,212,0.46);
  transform-origin: left center;
}

.flow-envelope::before {
  left: 2px;
  transform: rotate(32deg);
}

.flow-envelope::after {
  right: 2px;
  transform-origin: right center;
  transform: rotate(-32deg);
}

.flow-envelope--1 { top: 36%; animation-delay: -0.5s; --amp: -42px; --drift: 22px; --scale: 0.92; }
.flow-envelope--2 { top: 45%; animation-delay: -2.4s; --amp: 36px; --drift: -18px; --scale: 0.78; }
.flow-envelope--3 { top: 54%; animation-delay: -4.2s; --amp: -48px; --drift: 24px; --scale: 1; }
.flow-envelope--4 { top: 41%; animation-delay: -6.3s; --amp: 44px; --drift: -24px; --scale: 0.86; }
.flow-envelope--5 { top: 58%; animation-delay: -8.1s; --amp: -34px; --drift: 20px; --scale: 0.72; }
.flow-envelope--6 { top: 65%; animation-delay: -10s; --amp: 40px; --drift: -22px; --scale: 0.96; }

.landing-hero-m365__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.8fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}

.landing-hero-m365__content {
  max-width: 640px;
  animation: m365HeroEnterUp 1.4s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.landing-hero-m365__badge,
.m365-section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 999px;
  background: rgba(0,120,212,0.14);
  border: 1px solid rgba(43,149,245,0.35);
  color: rgba(255,255,255,0.84);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.landing-hero-m365__badge {
  margin-bottom: 1.6rem;
  padding: 0.58rem 1.15rem;
}

.m365-section-label {
  padding: 0.35rem 0.85rem;
}

.landing-hero-m365__badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00c961;
  box-shadow: 0 0 14px rgba(0,201,97,0.8);
}

.landing-hero--m365 h1 {
  max-width: 620px;
  margin-bottom: 1rem;
  color: #fff;
  font-size: clamp(2.45rem, 4.4vw, 4.2rem);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.landing-hero--m365 h1 span {
  display: inline;
  background: linear-gradient(135deg, #2b95f5, #06b6d4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.m365-text-highlight {
  display: inline;
  background: linear-gradient(135deg, #2b95f5, #06b6d4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.landing-hero--m365 p {
  max-width: 560px;
  margin: 0;
  color: rgba(255,255,255,0.72);
  font-size: 0.98rem;
  line-height: 1.62;
}

.landing-m365-action-wrap {
  width: min(100%, 595px);
  margin-top: 1.75rem;
}

.landing-m365-actions {
  display: grid;
  gap: 0.85rem;
}

.landing-m365-actions {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.landing-m365-actions .btn {
  width: 100%;
  min-height: 48px;
}

.btn--m365-primary,
.btn--m365-secondary {
  border-radius: 999px;
  padding: 0.95rem 1.45rem;
  font-weight: 800;
}

.btn--m365-primary {
  color: #fff;
  background: linear-gradient(135deg, #0078d4, #005a9e);
  box-shadow: 0 12px 32px rgba(0,120,212,0.34);
}

.btn--m365-primary:hover {
  box-shadow: 0 16px 38px rgba(0,120,212,0.48);
  transform: translateY(-2px);
}

.btn--m365-secondary {
  color: rgba(255,255,255,0.86);
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.06);
}

.btn--m365-secondary:hover {
  border-color: rgba(43,149,245,0.42);
  background: rgba(255,255,255,0.1);
}

.landing-m365-dashboard {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  animation: m365HeroEnterUp 1.4s 0.18s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.landing-m365-dashboard::before {
  content: "";
  position: absolute;
  width: 330px;
  height: 330px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,120,212,0.22), transparent 70%);
  filter: blur(38px);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.landing-m365-dashboard .dashboard-mockup {
  width: min(100%, 390px);
  position: relative;
  z-index: 1;
  padding: 20px;
  border-radius: 20px;
  background: rgba(255,255,255,0.045);
  border: 1px solid rgba(255,255,255,0.11);
  box-shadow: 0 25px 60px rgba(0,0,0,0.42), inset 0 1px 0 rgba(255,255,255,0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  animation: m365DashboardFloat 6s ease-in-out infinite;
}

.landing-m365-dashboard .dashboard-mockup::before {
  content: "";
  position: absolute;
  top: 0;
  left: 20%;
  right: 20%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,150,255,0.65), transparent);
}

.dash-header,
.dash-header-left,
.dash-status,
.dash-metric,
.dash-metric-icon,
.dash-chart-header,
.dash-service,
.dash-notification,
.notif-icon {
  display: flex;
  align-items: center;
}

.dash-header {
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.dash-header-left { gap: 10px; }

.dash-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  flex-shrink: 0;
  background: linear-gradient(135deg, #0078d4, #06b6d4);
}

.dash-title {
  color: rgba(255,255,255,0.92);
  font-size: 0.85rem;
  font-weight: 800;
}

.dash-subtitle,
.dash-chart-period,
.service-users,
.notif-desc {
  color: rgba(255,255,255,0.45);
}

.dash-subtitle { font-size: 0.72rem; }

.dash-status {
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(0,166,81,0.2);
  background: rgba(0,166,81,0.1);
  color: #00c961;
  font-size: 0.72rem;
}

.status-dot,
.service-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

.status-dot,
.service-dot.active {
  background: #00c961;
  box-shadow: 0 0 6px rgba(0,201,97,0.5);
  animation: m365DotPulse 2s ease-in-out infinite;
}

.service-dot.warning { background: #f59e0b; }

.dash-metrics {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 16px;
}

.dash-metric {
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.065);
}

.dash-metric-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  justify-content: center;
  flex-shrink: 0;
}

.dash-icon-users { background: rgba(0,120,212,0.2); color: #2b95f5; }
.dash-icon-shield { background: rgba(0,166,81,0.2); color: #00c961; }
.dash-icon-cloud { background: rgba(6,182,212,0.2); color: #06b6d4; }

.dash-metric-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.dash-metric-value,
.dash-chart-title,
.service-name,
.notif-title {
  color: rgba(255,255,255,0.9);
  font-weight: 800;
}

.dash-metric-value { font-size: 0.96rem; }
.dash-metric-label { color: rgba(255,255,255,0.48); font-size: 0.7rem; }

.dash-metric-badge {
  white-space: nowrap;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(255,255,255,0.065);
  color: rgba(255,255,255,0.54);
  font-size: 0.68rem;
  font-weight: 800;
}

.dash-metric-badge.up {
  background: rgba(0,166,81,0.15);
  color: #00c961;
}

.dash-chart {
  padding: 12px;
  margin-bottom: 14px;
  border-radius: 12px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.065);
}

.dash-chart-header {
  justify-content: space-between;
  margin-bottom: 14px;
}

.dash-chart-title { font-size: 0.8rem; }
.dash-chart-period { font-size: 0.68rem; }

.dash-bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 48px;
}

.dash-bar {
  flex: 1;
  height: var(--h);
  border-radius: 4px 4px 0 0;
  background: rgba(0,120,212,0.3);
  transform-origin: bottom;
  animation: m365BarGrow 1s ease-out both;
}

.dash-bar.active {
  background: linear-gradient(180deg, #0078d4, #2b95f5);
  box-shadow: 0 0 12px rgba(0,120,212,0.45);
}

.dash-bar--45 { --h: 45%; }
.dash-bar--70 { --h: 70%; }
.dash-bar--55 { --h: 55%; }
.dash-bar--85 { --h: 85%; }
.dash-bar--60 { --h: 60%; }
.dash-bar--90 { --h: 90%; }
.dash-bar--78 { --h: 78%; }

.dash-services {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.dash-service {
  width: 100%;
  gap: 8px;
  font-size: 0.75rem;
}

.service-name { flex: 1; }
.service-users { font-size: 0.7rem; }

.dash-notification {
  gap: 10px;
  width: 100%;
  padding: 9px 12px;
  border-radius: 12px;
  border: 1px solid rgba(0,120,212,0.34);
  background: rgba(0,120,212,0.16);
  box-shadow: 0 12px 34px rgba(0,0,0,0.26);
  animation: notifSlide 0.5s ease-out 0.8s both;
}

.notif-icon {
  width: 28px;
  height: 28px;
  justify-content: center;
  flex: 0 0 auto;
  border-radius: 50%;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 900;
  background: linear-gradient(135deg, #0078d4, #06b6d4);
}

.notif-content { display: flex; flex-direction: column; }
.notif-title { font-size: 0.78rem; }
.notif-desc { font-size: 0.68rem; }

.m365-section {
  position: relative;
  z-index: 1;
  padding: 5.5rem 0;
  background: transparent;
}

.m365-section-header {
  max-width: 720px;
  margin: 0 auto 3rem;
  text-align: center;
}

.m365-section-header h2,
.m365-intro-card h2,
.m365-scope-card h2,
.m365-files-callout h2,
.m365-final-cta__card h2 {
  margin: 0.9rem 0 1rem;
  color: #fff;
  font-size: clamp(1.8rem, 3.2vw, 2.75rem);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.m365-section-header p,
.m365-intro-card p,
.m365-scope-card p,
.m365-files-callout p,
.m365-final-cta__card p {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  color: rgba(255,255,255,0.64);
  font-size: 0.98rem;
  line-height: 1.68;
}

.m365-motion-card {
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.m365-motion-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 0%, rgba(255,255,255,0.07) 42%, transparent 58%);
  transform: translateX(-130%);
  transition: transform 0.6s ease;
  pointer-events: none;
}

.m365-motion-card:hover {
  transform: translateY(-6px);
  border-color: rgba(43,149,245,0.34);
  box-shadow: 0 24px 50px rgba(0,0,0,0.26), 0 0 30px rgba(0,120,212,0.12);
}

.m365-motion-card:hover::before {
  transform: translateX(130%);
}

.landing-m365-page [data-animate] {
  opacity: 0;
  will-change: opacity, transform;
  transition: opacity 1.05s cubic-bezier(0.16, 1, 0.3, 1),
              transform 1.05s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.3s ease,
              box-shadow 0.3s ease;
}

.landing-m365-page .landing-hero-m365__content[data-animate],
.landing-m365-page .landing-m365-dashboard[data-animate],
.landing-m365-page .m365-intro-card[data-animate] {
  transition-duration: 1.4s, 1.4s, 0.3s, 0.3s;
}

.landing-m365-page [data-animate="up"] { transform: translateY(55px); }
.landing-m365-page [data-animate="left"] { transform: translateX(-65px); }
.landing-m365-page [data-animate="right"] { transform: translateX(65px); }
.landing-m365-page [data-animate="scale"] { transform: scale(0.9); }

.landing-m365-page [data-animate].is-visible {
  opacity: 1;
  transform: none;
}

.landing-m365-page [data-delay="1"] { transition-delay: 0.08s; }
.landing-m365-page [data-delay="2"] { transition-delay: 0.16s; }
.landing-m365-page [data-delay="3"] { transition-delay: 0.24s; }
.landing-m365-page [data-delay="4"] { transition-delay: 0.32s; }

.landing-m365-page .m365-motion-card[data-animate].is-visible:hover {
  transform: translateY(-6px);
}

.m365-intro-card,
.m365-risk-card,
.m365-benefit-card,
.m365-process-step,
.m365-source-grid article,
.m365-scope-card,
.m365-files-callout,
.m365-faq-list details,
.m365-final-cta__card {
  background: rgba(255,255,255,0.045);
  border: 1px solid rgba(255,255,255,0.085);
  border-radius: 24px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.055);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.m365-intro-card {
  padding: 2.4rem;
  text-align: center;
}

.m365-intro-card--with-cert {
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 2rem;
  align-items: center;
  text-align: left;
}

.m365-intro-card--with-cert > div:first-child p {
  margin-left: 0;
  margin-right: 0;
}

.m365-designation-card {
  display: flex;
  justify-content: center;
}

.m365-designation-card img {
  width: 100%;
  max-width: 260px;
  margin: 0;
  border-radius: 14px;
  box-shadow: 0 16px 34px rgba(0,0,0,0.26);
}

.m365-risk-grid,
.m365-benefit-grid,
.m365-source-grid {
  display: grid;
  gap: 1.2rem;
}

.m365-risk-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.m365-benefit-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.m365-source-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.m365-risk-card,
.m365-benefit-card,
.m365-source-grid article,
.m365-process-step {
  padding: 1.55rem;
}

.m365-risk-card__icon,
.m365-benefit-card__visual {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  border-radius: 16px;
  color: #06b6d4;
  background: rgba(6,182,212,0.1);
  border: 1px solid rgba(6,182,212,0.24);
}

.m365-risk-card__icon {
  width: 44px;
  height: 44px;
  font-size: 1.2rem;
  font-weight: 900;
}

.m365-benefit-card__visual {
  width: 56px;
  height: 56px;
}

.m365-risk-card h3,
.m365-benefit-card h3,
.m365-process-step h3 {
  margin-bottom: 0.75rem;
  color: #fff;
  font-size: 1.15rem;
}

.m365-risk-card p,
.m365-benefit-card p,
.m365-process-step p {
  color: rgba(255,255,255,0.62);
  font-size: 0.94rem;
  line-height: 1.7;
}

.m365-process-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.15rem;
  padding-bottom: 68px;
}

.m365-process-timeline::before {
  content: "";
  position: absolute;
  left: 6%;
  right: 6%;
  bottom: 20px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(0,120,212,0.18), rgba(6,182,212,0.72), rgba(0,120,212,0.18));
  z-index: 0;
}

.m365-process-timeline::after {
  content: "";
  position: absolute;
  left: 6%;
  bottom: 15px;
  width: 140px;
  height: 13px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.92), rgba(6,182,212,0.95), transparent);
  filter: blur(5px);
  opacity: 0.95;
  animation: m365TimelineLightContained 4.6s linear infinite;
  z-index: 0;
}

.m365-process-step {
  z-index: 1;
}

.m365-process-step span {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  border-radius: 50%;
  color: #06b6d4;
  background: rgba(0,120,212,0.14);
  border: 1px solid rgba(6,182,212,0.28);
  font-weight: 900;
}

.m365-source-grid article {
  color: rgba(255,255,255,0.72);
  font-weight: 700;
}

.m365-scope-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1.4rem;
  align-items: stretch;
}

.m365-scope-card,
.m365-files-callout,
.m365-final-cta__card {
  padding: 2.3rem;
  text-align: center;
}

.m365-plan-list,
.m365-check-columns {
  display: grid;
  gap: 1rem;
  margin-top: 1.4rem;
  text-align: left;
}

.m365-plan-list div,
.m365-check-columns > div {
  padding: 1rem;
  border-radius: 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
}

.m365-plan-list strong,
.m365-check-columns h3 {
  display: block;
  margin-bottom: 0.4rem;
  color: #fff;
}

.m365-plan-list span,
.m365-check-columns li {
  color: rgba(255,255,255,0.62);
  font-size: 0.92rem;
  line-height: 1.6;
}

.m365-check-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.m365-check-columns li + li { margin-top: 0.45rem; }

.m365-files-callout {
  margin-top: 1.4rem;
  background: rgba(0,120,212,0.07);
  border-color: rgba(0,120,212,0.22);
}

.m365-faq-list {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  gap: 1rem;
}

.m365-faq-list details {
  padding: 1.2rem 1.4rem;
}

.m365-faq-list summary {
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}

.m365-faq-list p {
  margin-top: 0.9rem;
  color: rgba(255,255,255,0.62);
  line-height: 1.7;
}

.m365-final-cta__card {
  max-width: 900px;
  margin: 0 auto;
  background: linear-gradient(135deg, rgba(0,120,212,0.12), rgba(6,182,212,0.08));
  border-color: rgba(0,120,212,0.25);
}

.m365-final-cta__card h2 {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.08;
}

.m365-final-cta__card .btn--m365-primary {
  margin-top: 1.8rem;
  font-size: 1.05rem;
  padding: 1rem 2.2rem;
}

.landing-m365-footer {
  background: rgba(6,13,26,0.96);
  border-top: 1px solid rgba(255,255,255,0.07);
}

.landing-m365-footer a[aria-label] { display: inline-block; }

.m365-back-to-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 90;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, #0078d4, #2b95f5);
  border: 1px solid rgba(255,255,255,0.24);
  border-radius: 50%;
  box-shadow: 0 14px 32px rgba(0,120,212,0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
}

.m365-back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.m365-back-to-top:hover { transform: translateY(-4px); }

@keyframes m365HeroEnterUp {
  from { opacity: 0; transform: translateY(70px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes notifSlide {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes m365ButtonPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0,120,212,0.42), 0 12px 28px rgba(0,120,212,0.25); }
  50% { box-shadow: 0 0 0 10px rgba(0,120,212,0), 0 16px 36px rgba(0,120,212,0.42); }
}

@keyframes m365ButtonSweep {
  0%, 45% { transform: translateX(-120%) rotate(18deg); }
  75%, 100% { transform: translateX(120%) rotate(18deg); }
}

@keyframes m365DashboardFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(0.4deg); }
}

@keyframes m365DotPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(0.82); }
}

@keyframes m365BarGrow {
  from { transform: scaleY(0); }
  to { transform: scaleY(1); }
}

@keyframes m365WaveFlowLinear {
  0% { opacity: 0; transform: translateX(-24%) translateY(var(--y, 0)) rotate(var(--r, 0deg)); }
  12% { opacity: 0.34; }
  88% { opacity: 0.34; }
  100% { opacity: 0; transform: translateX(110%) translateY(var(--y, 0)) rotate(var(--r, 0deg)); }
}

@keyframes m365WaveLightLinear {
  0% { transform: translateX(0); opacity: 0; }
  12% { opacity: 0.32; }
  88% { opacity: 0.32; }
  100% { transform: translateX(980px); opacity: 0; }
}

@keyframes m365EnvelopeDrift {
  0% { opacity: 0; transform: translateX(-12vw) translateY(0) scale(var(--scale, 1)) rotate(-1deg); }
  7% { opacity: 0.7; transform: translateX(-2vw) translateY(calc(var(--amp, 10px) * 0.25)) scale(var(--scale, 1)) rotate(0.8deg); }
  18% { transform: translateX(12vw) translateY(calc(var(--amp, 10px) * 0.75)) scale(var(--scale, 1)) rotate(1.8deg); }
  31% { transform: translateX(28vw) translateY(calc(var(--amp, 10px) * 0.25)) scale(var(--scale, 1)) rotate(-0.6deg); }
  44% { transform: translateX(44vw) translateY(calc(var(--amp, 10px) * -0.65)) scale(var(--scale, 1)) rotate(-1.7deg); }
  57% { transform: translateX(60vw) translateY(calc(var(--amp, 10px) * -0.95)) scale(var(--scale, 1)) rotate(0.4deg); }
  70% { transform: translateX(76vw) translateY(calc(var(--amp, 10px) * -0.25)) scale(var(--scale, 1)) rotate(1.4deg); }
  84% { transform: translateX(94vw) translateY(calc(var(--amp, 10px) * 0.55)) scale(var(--scale, 1)) rotate(-0.7deg); }
  96% { opacity: 0.7; transform: translateX(110vw) translateY(calc(var(--amp, 10px) * 0.15)) scale(var(--scale, 1)) rotate(0.6deg); }
  100% { opacity: 0; transform: translateX(116vw) translateY(calc(var(--amp, 10px) * -0.15)) scale(var(--scale, 1)) rotate(1deg); }
}

@keyframes m365TimelineLightContained {
  0% { left: 6%; opacity: 0; }
  10%, 88% { opacity: 0.95; }
  100% { left: calc(94% - 140px); opacity: 0; }
}

@media (max-width: 980px) {
  .landing-hero--m365 {
    min-height: auto;
    padding: 4.25rem 0 3rem;
    text-align: center;
  }

  .landing-hero-m365__grid,
  .m365-scope-grid,
  .m365-intro-card--with-cert {
    grid-template-columns: 1fr;
  }

  .landing-hero-m365__content,
  .landing-hero--m365 p,
  .m365-intro-card--with-cert > div:first-child p {
    max-width: 100%;
    margin-inline: auto;
  }

  .landing-m365-action-wrap {
    margin-left: auto;
    margin-right: auto;
  }

  .landing-m365-dashboard .dashboard-mockup {
    width: min(100%, 420px);
  }

  .m365-intro-card--with-cert {
    text-align: center;
  }

  .m365-designation-card img {
    margin-left: auto;
    margin-right: auto;
  }

  .m365-risk-grid,
  .m365-benefit-grid,
  .m365-process-timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .landing-m365-header {
    top: 0.7rem;
    width: min(calc(100% - 1rem), 720px);
  }

  .landing-m365-header__inner {
    min-height: 54px;
    align-items: center;
    padding-left: 0.85rem;
  }

  .landing-m365-header img {
    width: 138px;
    height: 42px;
  }

  .landing-m365-header__inner > a:first-child {
    width: 138px;
    height: 42px;
    flex-basis: 138px;
  }

  .landing-m365-header__cta { display: none; }
  .landing-m365-header__links { display: none; }

  .landing-hero--m365 h1 {
    font-size: clamp(2.15rem, 11vw, 3.05rem);
  }

  .landing-m365-actions,
  .m365-risk-grid,
  .m365-benefit-grid,
  .m365-process-timeline,
  .m365-source-grid,
  .m365-check-columns {
    grid-template-columns: 1fr;
  }

  .landing-m365-dashboard .dashboard-mockup { padding: 16px; }
  .dash-status, .service-users { display: none; }

  .m365-process-timeline { padding-bottom: 0; }
  .m365-process-timeline::before,
  .m365-process-timeline::after { display: none; }

  .m365-section { padding: 4rem 0; }

  .m365-intro-card,
  .m365-scope-card,
  .m365-files-callout,
  .m365-final-cta__card {
    padding: 2rem 1.35rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  #particles-canvas { display: none; }

  .landing-m365-header__cta.btn--pulse,
  .landing-m365-header__cta.btn--pulse::before,
  .flow-line,
  .flow-line::after,
  .flow-envelope,
  .landing-hero-m365__content,
  .landing-m365-dashboard,
  .landing-m365-dashboard .dashboard-mockup,
  .status-dot,
  .service-dot.active,
  .dash-bar,
  .dash-notification,
  .m365-process-timeline::after {
    animation: none !important;
  }

  .m365-motion-card,
  .m365-motion-card:hover {
    transition: none;
    transform: none;
  }
}

