/* MoWave Overview — Enterprise Professional theme (#0A3D62) */

:root {
  --mw-primary: #0a3d62;
  --mw-primary-dark: #062a44;
  --mw-primary-light: #145a8a;
  --mw-accent: #38bdf8;
  --mw-accent-soft: rgba(56, 189, 248, 0.15);
  --mw-surface: #f8fafc;
  --mw-surface-alt: #eef4f8;
  --mw-text: #0f172a;
  --mw-text-muted: #475569;
  --mw-border: rgba(10, 61, 98, 0.12);
  --mw-radius: 12px;
  --mw-shadow: 0 4px 24px rgba(10, 61, 98, 0.08);
  --mw-font: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.mowave-page {
  margin: 0;
  font-family: var(--mw-font);
  color: var(--mw-text);
  background: var(--mw-surface);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.mowave-container {
  width: min(1120px, 92vw);
  margin-inline: auto;
}

/* Header */
.mowave-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--mw-border);
}

.mowave-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.mowave-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
}

.mowave-brand__logo {
  height: 36px;
  width: auto;
}

.mowave-brand__name {
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}

.mowave-brand__name span {
  color: var(--mw-primary);
}

.mowave-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.mowave-nav a {
  color: var(--mw-text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.4rem 0.75rem;
  border-radius: 8px;
  transition: color 0.15s, background 0.15s;
}

.mowave-nav a:hover {
  color: var(--mw-primary);
  background: var(--mw-accent-soft);
}

.mowave-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.55rem 1.1rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}

.mowave-btn--primary {
  background: var(--mw-primary);
  color: #fff;
  box-shadow: 0 2px 8px rgba(10, 61, 98, 0.25);
}

.mowave-btn--primary:hover {
  background: var(--mw-primary-light);
  transform: translateY(-1px);
}

.mowave-btn--outline {
  background: transparent;
  color: var(--mw-primary);
  border: 1.5px solid var(--mw-primary);
}

.mowave-btn--outline:hover {
  background: var(--mw-accent-soft);
}

.mowave-btn--ghost {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
}

.mowave-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.25);
}

/* Hero */
.mowave-hero {
  background: linear-gradient(135deg, var(--mw-primary-dark) 0%, var(--mw-primary) 45%, #0e4d7a 100%);
  color: #fff;
  padding: 4.5rem 0 5rem;
  position: relative;
  overflow: hidden;
}

.mowave-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 80%, rgba(56, 189, 248, 0.18) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.06) 0%, transparent 40%);
  pointer-events: none;
}

.mowave-hero__content {
  position: relative;
  max-width: 720px;
}

.mowave-hero__badge {
  display: inline-block;
  background: rgba(56, 189, 248, 0.2);
  color: var(--mw-accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(56, 189, 248, 0.35);
}

.mowave-hero__title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 1rem;
  letter-spacing: -0.03em;
}

.mowave-hero__subtitle {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  opacity: 0.92;
  margin: 0 0 1.75rem;
  line-height: 1.65;
}

.mowave-hero__tagline {
  font-size: 1rem;
  font-weight: 600;
  color: var(--mw-accent);
  margin-bottom: 2rem;
}

.mowave-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Sections */
.mowave-section {
  padding: 4rem 0;
}

.mowave-section--alt {
  background: var(--mw-surface-alt);
}

.mowave-section__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2.5rem;
}

.mowave-section__title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--mw-primary);
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
}

.mowave-section__intro {
  color: var(--mw-text-muted);
  margin: 0;
  font-size: 1.05rem;
}

/* Vision list */
.mowave-vision-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.85rem;
}

.mowave-vision-list li {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  background: #fff;
  padding: 1rem 1.25rem;
  border-radius: var(--mw-radius);
  border: 1px solid var(--mw-border);
  box-shadow: var(--mw-shadow);
}

.mowave-vision-list li::before {
  content: "✓";
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--mw-accent-soft);
  color: var(--mw-primary);
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 700;
}

/* Objectives grid */
.mowave-objectives {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}

.mowave-objective {
  background: #fff;
  border: 1px solid var(--mw-border);
  border-radius: var(--mw-radius);
  padding: 1.5rem;
  box-shadow: var(--mw-shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}

.mowave-objective:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(10, 61, 98, 0.12);
}

.mowave-objective h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  color: var(--mw-primary);
}

.mowave-objective p {
  margin: 0;
  color: var(--mw-text-muted);
  font-size: 0.95rem;
}

/* Tech stack */
.mowave-tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.25rem;
}

.mowave-tech-card {
  background: #fff;
  border: 1px solid var(--mw-border);
  border-radius: var(--mw-radius);
  padding: 1.5rem;
  box-shadow: var(--mw-shadow);
}

.mowave-tech-card__icon {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.mowave-tech-card h3 {
  margin: 0 0 0.75rem;
  font-size: 1.1rem;
  color: var(--mw-primary);
}

.mowave-tech-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.mowave-tech-card li {
  padding: 0.3rem 0;
  color: var(--mw-text-muted);
  font-size: 0.92rem;
  border-bottom: 1px solid var(--mw-border);
}

.mowave-tech-card li:last-child {
  border-bottom: none;
}

.mowave-tech-card li::before {
  content: "•";
  color: var(--mw-accent);
  margin-right: 0.5rem;
  font-weight: bold;
}

/* Modules accordion */
.mowave-modules {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mowave-module {
  background: #fff;
  border: 1px solid var(--mw-border);
  border-radius: var(--mw-radius);
  overflow: hidden;
  box-shadow: var(--mw-shadow);
}

.mowave-module summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  color: var(--mw-primary);
  transition: background 0.15s;
}

.mowave-module summary::-webkit-details-marker {
  display: none;
}

.mowave-module summary::after {
  content: "+";
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--mw-accent);
  transition: transform 0.2s;
}

.mowave-module[open] summary::after {
  transform: rotate(45deg);
}

.mowave-module summary:hover {
  background: var(--mw-accent-soft);
}

.mowave-module__summary-text {
  flex: 1;
}

.mowave-module__tagline {
  display: block;
  font-weight: 400;
  font-size: 0.88rem;
  color: var(--mw-text-muted);
  margin-top: 0.15rem;
}

.mowave-module__body {
  padding: 0 1.25rem 1.25rem;
  color: var(--mw-text-muted);
  font-size: 0.95rem;
  border-top: 1px solid var(--mw-border);
  padding-top: 1rem;
  margin: 0 1.25rem 1.25rem;
}

/* Long-term vision roadmap */
.mowave-roadmap {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

.mowave-roadmap::before {
  content: "";
  position: absolute;
  left: 1.15rem;
  top: 0.5rem;
  bottom: 0.5rem;
  width: 2px;
  background: linear-gradient(180deg, var(--mw-primary) 0%, var(--mw-accent) 100%);
  opacity: 0.35;
}

.mowave-roadmap__item {
  display: flex;
  gap: 1.25rem;
  padding: 0 0 1.75rem;
  position: relative;
}

.mowave-roadmap__item:last-child {
  padding-bottom: 0;
}

.mowave-roadmap__marker {
  flex-shrink: 0;
  width: 2.3rem;
  height: 2.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--mw-primary);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(10, 61, 98, 0.3);
  z-index: 1;
}

.mowave-roadmap__content {
  flex: 1;
  background: #fff;
  border: 1px solid var(--mw-border);
  border-radius: var(--mw-radius);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--mw-shadow);
}

.mowave-roadmap__phase {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mw-accent);
  background: var(--mw-accent-soft);
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  margin-bottom: 0.5rem;
}

.mowave-roadmap__content h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
  color: var(--mw-primary);
}

.mowave-roadmap__content p {
  margin: 0;
  color: var(--mw-text-muted);
  font-size: 0.95rem;
}

/* CTA */
.mowave-cta {
  background: linear-gradient(135deg, var(--mw-primary) 0%, var(--mw-primary-light) 100%);
  color: #fff;
  text-align: center;
  padding: 4rem 0;
}

.mowave-cta h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 0 0 0.75rem;
}

.mowave-cta p {
  opacity: 0.9;
  max-width: 520px;
  margin: 0 auto 1.75rem;
}

.mowave-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

/* Footer */
.mowave-footer {
  background: var(--mw-primary-dark);
  color: rgba(255, 255, 255, 0.85);
  padding: 2rem 0;
  font-size: 0.9rem;
}

.mowave-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.mowave-footer a {
  color: var(--mw-accent);
  text-decoration: none;
}

.mowave-footer a:hover {
  text-decoration: underline;
}

.mowave-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

/* Mobile nav toggle */
.mowave-menu-toggle {
  display: none;
  background: none;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
  color: var(--mw-primary);
}

@media (max-width: 768px) {
  .mowave-menu-toggle {
    display: block;
  }

  .mowave-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: #fff;
    border-bottom: 1px solid var(--mw-border);
    padding: 0.75rem 1rem 1rem;
    box-shadow: var(--mw-shadow);
  }

  .mowave-nav.is-open {
    display: flex;
  }

  .mowave-header__inner {
    position: relative;
  }

  .mowave-hero {
    padding: 3rem 0 3.5rem;
  }

  .mowave-section {
    padding: 2.5rem 0;
  }
}
