﻿/*
  Moaitec landing styles - modern premium aesthetic inspired by product pages.
*/

:root {
  --mt-body: #f3f6fb;
  --mt-surface: #ffffff;
  --mt-surface-soft: #eef2f9;
  --mt-surface-dark: #040c18;
  --mt-surface-muted: #0c1627;
  --mt-primary: #2d5ff0;
  --mt-primary-dark: #1d46c9;
  --mt-accent: #2bc8b8;
  --mt-text: #081224;
  --mt-text-muted: #4f5d74;
  --mt-light: rgba(255, 255, 255, 0.78);
  --mt-border: rgba(8, 18, 36, 0.08);
  --mt-glass: rgba(10, 24, 44, 0.6);
  --mt-shadow-strong: 0 30px 80px rgba(5, 13, 28, 0.32);
  --mt-shadow-soft: 0 24px 64px rgba(9, 22, 46, 0.18);
}

html,
body {
  scroll-behavior: smooth;
}

body {
  font-family: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial;
  color: var(--mt-text);
  line-height: 1.65;
  background: var(--mt-body);
}

a {
  color: inherit;
}

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

/* Navbar */
.mt-navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(4, 12, 24, 0.6);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.35s ease, box-shadow 0.35s ease;
}
.mt-navbar.scrolled {
  background: rgba(4, 12, 24, 0.92);
  box-shadow: var(--mt-shadow-soft);
}
.mt-navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: #f6f8ff;
}
.mt-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}
.mt-brandmark {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 14px 14px 20px 20px;
  background: linear-gradient(160deg, #152239 0%, #283c58 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}
.mt-brandmark-core {
  position: absolute;
  inset: 9px 11px 9px 11px;
  border-radius: 14px 14px 18px 18px;
  background: linear-gradient(165deg, #2bc8b8 0%, #3d7bf7 90%);
}
.mt-brand-word {
  font-weight: 600;
  color: #f6f8ff;
  letter-spacing: 0.04em;
}
.mt-navbar .btn.btn-link,
.mt-navbar .btn.btn-link:focus {
  color: #f6f8ff;
}
.mt-navbar .btn.btn-link:hover {
  opacity: 0.75;
}
.mt-navbar .mt-cta {
  background: var(--mt-accent);
  border-color: transparent;
  color: #041321;
  font-weight: 600;
}
.mt-navbar .mt-cta:hover {
  background: #25b4a6;
}
.mt-nav-toggle {
  margin-left: auto;
  color: #f6f8ff;
}

/* Hero */
.mt-hero {
  padding: 6rem 0 4.5rem;
  background:
    radial-gradient(840px 540px at 8% 12%, rgba(43, 200, 182, 0.18), transparent 65%),
    radial-gradient(900px 620px at 95% 15%, rgba(45, 95, 240, 0.24), transparent 70%),
    linear-gradient(180deg, #050d1c 0%, #081327 55%, #0c152e 100%);
  color: var(--mt-light);
}
.mt-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 600;
  color: var(--mt-accent);
}
.mt-hero-title {
  margin: 1.25rem 0 1rem;
  font-weight: 700;
  font-size: clamp(2.4rem, 3.6vw, 3.4rem);
  line-height: 1.15;
}
.mt-hero-lead {
  font-size: 1.1rem;
  max-width: 75ch;
  color: rgba(246, 248, 255, 0.8);
}
.mt-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 2rem 0 1.5rem;
}
.mt-btn-icon {
  height: 0.95rem;
  margin-right: 0.35rem;
}
.mt-hero-notes {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.5rem;
  color: rgba(246, 248, 255, 0.75);
  font-size: 0.95rem;
}
.mt-hero-media {
  display: grid;
  gap: 1.5rem;
  position: relative;
}
.mt-hero-frame {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: var(--mt-shadow-strong);
}
.mt-hero-image {
  width: 100%;
  height: auto;
}
.mt-floating-card {
  position: absolute;
  bottom: 6%;
  right: 6%;
  max-width: 320px;
  padding: 1.5rem;
  border-radius: 24px;
  background: var(--mt-glass);
  box-shadow: var(--mt-shadow-strong);
  color: #f6f8ff;
  backdrop-filter: blur(18px);
}
.mt-floating-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.mt-floating-card p {
  margin-bottom: 1rem;
  color: rgba(246, 248, 255, 0.78);
}
.mt-compatibility {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.mt-chip {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(12, 26, 48, 0.4);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

/* Sections */
.mt-section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3rem;
}
.mt-section-header h2 {
  font-size: clamp(1.8rem, 2.8vw, 2.6rem);
  font-weight: 700;
  margin: 0.75rem 0;
}
.mt-section-header p {
  color: var(--mt-text-muted);
  margin: 0;
}

/* Panorama */
.mt-panorama {
  padding: 5rem 0 4rem;
  background: var(--mt-surface);
}
.mt-panorama-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.mt-panorama-card {
  border-radius: 24px;
  overflow: hidden;
  background: var(--mt-surface-soft);
  box-shadow: var(--mt-shadow-soft);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.mt-panorama-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 70px rgba(9, 22, 46, 0.18);
}
.mt-panorama-media img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}
.mt-panorama-body {
  padding: 1.75rem;
}
.mt-panorama-body h3 {
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.mt-tag {
  display: inline-block;
  margin-top: 1.25rem;
  padding: 0.35rem 1rem;
  border-radius: 999px;
  background: rgba(45, 95, 240, 0.12);
  color: var(--mt-primary-dark);
  font-size: 0.75rem;
  font-weight: 600;
}

/* Experience */
.mt-experience {
  padding: 5rem 0;
  background: var(--mt-surface-dark);
  color: var(--mt-light);
}
.mt-experience h2 {
  font-size: clamp(2rem, 3vw, 2.7rem);
  margin-bottom: 1rem;
}
.mt-experience p {
  color: rgba(246, 248, 255, 0.75);
}
.mt-list-check {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  display: grid;
  gap: 0.75rem;
}
.mt-list-check li {
  position: relative;
  padding-left: 1.5rem;
  font-weight: 500;
}
.mt-list-check li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--mt-accent);
  font-weight: 700;
}
.mt-experience-media {
  position: relative;
}
.mt-experience-media img {
  width: 100%;
  border-radius: 28px;
  box-shadow: var(--mt-shadow-strong);
}
.mt-experience-card {
  position: absolute;
  right: 8%;
  bottom: 8%;
  max-width: 360px;
  padding: 1.75rem;
  border-radius: 24px;
  background: rgba(6, 14, 28, 0.8);
  backdrop-filter: blur(22px);
  box-shadow: var(--mt-shadow-strong);
}
.mt-experience-card h3 {
  font-size: 1rem;
  margin-bottom: 0.9rem;
}
.mt-steps {
  margin: 0;
  padding-left: 1rem;
  color: rgba(246, 248, 255, 0.78);
}
.mt-steps li {
  margin-bottom: 0.6rem;
}
.mt-steps strong {
  color: #f6f8ff;
}
.mt-experience-meta {
  margin-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

/* Tech */
.mt-tech {
  padding: 5rem 0 4.5rem;
  background: var(--mt-surface);
}
.mt-tech-grid {
  display: grid;
  gap: 3rem;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  align-items: center;
}
.mt-tech-highlight p {
  color: var(--mt-text-muted);
}
.mt-pill-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}
.mt-pill {
  display: inline-block;
  padding: 0.4rem 1.1rem;
  border-radius: 999px;
  background: #101f36;
  color: #f6f8ff;
  border: 1px solid rgba(43, 95, 240, 0.28);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.72rem;
}
.mt-list-dash {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: grid;
  gap: 0.75rem;
  color: var(--mt-text-muted);
}
.mt-list-dash li {
  position: relative;
  padding-left: 1.2rem;
}
.mt-list-dash li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--mt-primary);
}
.mt-tech-gallery {
  display: grid;
  gap: 1.75rem;
}
.mt-tech-gallery img {
  width: 100%;
  border-radius: 28px;
  box-shadow: var(--mt-shadow-soft);
  border: 1px solid var(--mt-border);
}

/* Contact */
.mt-contact {
  padding: 5rem 0;
  background: var(--mt-surface-soft);
}
.mt-contact-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  align-items: center;
  background: var(--mt-surface);
  border-radius: 32px;
  padding: 3rem;
  box-shadow: var(--mt-shadow-soft);
}
.mt-contact-body h2 {
  font-size: clamp(2rem, 3vw, 2.6rem);
  margin: 1rem 0;
}
.mt-contact-body p {
  color: var(--mt-text-muted);
  margin-bottom: 2rem;
}
.mt-contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}
.mt-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.6rem;
  color: var(--mt-text-muted);
}
.mt-contact-media img {
  width: 100%;
  border-radius: 26px;
  box-shadow: var(--mt-shadow-soft);
}

/* Footer */
.mt-footer {
  background: var(--mt-surface-muted);
  color: rgba(246, 248, 255, 0.78);
  padding: 3rem 0 2rem;
}
.mt-footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.mt-footer-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.mt-footer-title {
  display: block;
  font-weight: 600;
  font-size: 1.2rem;
  color: #f6f8ff;
}
.mt-footer-sub {
  display: block;
  color: rgba(246, 248, 255, 0.72);
  font-size: 0.9rem;
}
.mt-footer-links .btn.btn-link {
  color: rgba(246, 248, 255, 0.78);
}
.mt-footer-links .btn.btn-link:hover {
  color: #f6f8ff;
}
.mt-copy {
  margin-top: 1.75rem;
  text-align: center;
  font-size: 0.75rem;
  color: rgba(246, 248, 255, 0.65);
}
.mt-top {
  position: relative;
}

/* Helpers */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.reveal-visible {
  opacity: 1;
  transform: translateY(0);
}
.lazy {
  opacity: 0;
  transition: opacity 0.6s ease;
}
.lazy.loaded {
  opacity: 1;
}

/* Buttons */
.btn-primary {
  background: var(--mt-primary);
  border-color: var(--mt-primary);
  color: #f6f8ff;
}
.btn-primary:hover {
  background: var(--mt-primary-dark);
  border-color: var(--mt-primary-dark);
}
.btn-secondary {
  background: rgba(246, 248, 255, 0.12);
  border-color: rgba(246, 248, 255, 0.18);
  color: var(--mt-light);
}
.btn-secondary:hover {
  background: rgba(246, 248, 255, 0.22);
}

/* Responsive */
.text-center-sm {
}

@media (max-width: 960px) {
  .mt-experience-card {
    position: static;
    margin-top: -3rem;
    max-width: none;
  }
}

@media (max-width: 768px) {
  .mt-floating-card {
    position: static;
    max-width: none;
    margin-top: -2rem;
  }
  .mt-contact-inner {
    padding: 2.25rem;
  }
}

@media (max-width: 600px) {
  .mt-nav-links {
    display: none;
  }
  .mt-navbar.open .mt-nav-links {
    display: inline-flex;
    flex-direction: column;
    gap: 0.4rem;
    position: absolute;
    right: 0.75rem;
    top: 64px;
    background: rgba(4, 12, 24, 0.95);
    padding: 0.75rem;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--mt-shadow-strong);
  }
  .mt-hero {
    padding-top: 5rem;
  }
  .mt-hero-title {
    font-size: 2.2rem;
  }
  .mt-section-header {
    margin-bottom: 2.5rem;
  }
  .mt-contact-inner {
    border-radius: 22px;
  }
  .text-center-sm {
    text-align: center !important;
  }
}

/* Accessibility */
a:focus,
button:focus,
[tabindex]:focus {
  outline: 2px solid var(--mt-accent);
  outline-offset: 2px;
}
