/* mogu Project Management — styles */
:root {
  --navy-950: #060d1a;
  --navy-900: #0b1b33;
  --navy-800: #12263f;
  --teal-400: #2dd4bf;
  --teal-500: #14b8a6;
  --teal-600: #0d9488;
  --ink: #0f1e33;
  --muted: #5b6b82;
  --line: #e4e9f1;
  --bg: #ffffff;
  --bg-alt: #f4f7fb;
  --radius: 14px;
  --shadow: 0 12px 32px rgba(11, 27, 51, 0.10);
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
.container { width: min(1120px, 92%); margin: 0 auto; }
img { max-width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  background: rgba(6, 13, 26, 0.86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.header-inner {
  display: flex; align-items: center; gap: 2rem;
  height: 68px;
}
.logo { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; }
.logo-mark { display: inline-flex; }
.logo-mark img { display: block; border-radius: 8px; }
.footer-brand .logo-mark { vertical-align: middle; margin-right: 0.55rem; }
.logo-text { color: #fff; font-weight: 800; font-size: 1.15rem; letter-spacing: -0.01em; }
.logo-text em { font-style: normal; font-weight: 500; color: var(--teal-400); font-size: 0.85rem; display: block; line-height: 1.1; letter-spacing: 0.02em;}
.main-nav { display: flex; gap: 1.6rem; margin-left: auto; }
.main-nav a { color: #c7d2e3; text-decoration: none; font-weight: 500; font-size: 0.95rem; }
.main-nav a:hover { color: #fff; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; margin-left: auto; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; border-radius: 2px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; text-decoration: none; font-weight: 600; font-size: 1rem;
  padding: 0.85rem 1.7rem; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn-primary { background: var(--teal-500); color: #04211d; box-shadow: 0 8px 22px rgba(20, 184, 166, 0.35); }
.btn-primary:hover { background: var(--teal-400); transform: translateY(-2px); }
.btn-ghost { border-color: rgba(255,255,255,0.35); color: #fff; }
.btn-ghost:hover { border-color: #fff; transform: translateY(-2px); }
.btn-sm { padding: 0.55rem 1.15rem; font-size: 0.9rem; }
.btn-block { width: 100%; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--navy-950); color: #fff;
  padding: 10.5rem 0 6.5rem;
}
.hero-bg { position: absolute; inset: 0; }
#heroCanvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.orb { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.5; }
.orb-1 { width: 520px; height: 520px; background: #0e5f56; top: -160px; right: -120px; }
.orb-2 { width: 420px; height: 420px; background: #123a6b; bottom: -180px; left: -120px; }
.grid-overlay {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 20%, black 30%, transparent 75%);
}
.hero-inner { position: relative; max-width: 780px; }
.eyebrow {
  text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.8rem; font-weight: 700;
  color: var(--teal-400); margin-bottom: 1rem;
}
.hero h1 { font-size: clamp(2.4rem, 5.4vw, 3.9rem); line-height: 1.12; letter-spacing: -0.02em; font-weight: 800; }
.hero h1 .accent { color: var(--teal-400); }
.lede { font-size: 1.2rem; color: #b9c6da; margin: 1.4rem 0 2.2rem; max-width: 620px; }
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-points { display: flex; gap: 1.8rem; flex-wrap: wrap; margin-top: 3rem; color: #9fb0c8; font-size: 0.95rem; }
.point-icon { color: var(--teal-400); font-weight: 700; margin-right: 0.4rem; }

/* ---------- Sections ---------- */
.section { padding: 5.5rem 0; }
.section-alt { background: var(--bg-alt); }
.section h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); letter-spacing: -0.02em; font-weight: 800; margin-bottom: 0.8rem; }
.section-lede { color: var(--muted); font-size: 1.1rem; max-width: 640px; margin-bottom: 2.8rem; }

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.8rem; box-shadow: var(--shadow);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: 0 18px 40px rgba(11, 27, 51, 0.14); }
.card-icon {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--navy-900), var(--navy-800));
  color: var(--teal-400); font-size: 1.3rem; margin-bottom: 1.1rem;
}
.card h3 { font-size: 1.08rem; margin-bottom: 0.5rem; letter-spacing: -0.01em; }
.card p { color: var(--muted); font-size: 0.96rem; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 3rem; align-items: start; }
.about-grid p { color: var(--muted); margin-bottom: 1rem; }
.checklist { list-style: none; margin-top: 1.4rem; display: grid; gap: 0.7rem; }
.checklist li { position: relative; padding-left: 1.9rem; font-weight: 500; }
.checklist li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  width: 1.35rem; height: 1.35rem; border-radius: 50%;
  background: var(--teal-500); color: #04211d; font-size: 0.8rem; font-weight: 800;
  display: grid; place-items: center;
}
.about-card-inner {
  background: var(--navy-900); color: #fff; border-radius: var(--radius);
  padding: 2.2rem; box-shadow: var(--shadow); position: sticky; top: 100px;
}
.about-card-inner h3 { margin-bottom: 1.4rem; font-size: 1.2rem; }
.stat-row { display: grid; gap: 1.2rem; }
.stat { display: flex; gap: 1rem; align-items: flex-start; }
.stat-value {
  font-size: 1.6rem; font-weight: 800; color: var(--teal-400); line-height: 1;
  min-width: 2.2rem;
}
.stat-label { color: #b9c6da; font-size: 0.95rem; }

/* ---------- Process steps ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; counter-reset: step; }
.step {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.8rem 1.5rem; box-shadow: var(--shadow); position: relative;
}
.step-num {
  display: inline-grid; place-items: center; width: 2.4rem; height: 2.4rem;
  border-radius: 50%; background: var(--teal-500); color: #04211d;
  font-weight: 800; margin-bottom: 1rem;
}
.step h3 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.step p { color: var(--muted); font-size: 0.94rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.contact-grid p { color: var(--muted); margin-bottom: 1.6rem; }
.contact-details { display: grid; gap: 1rem; }
.contact-item {
  display: flex; gap: 1rem; align-items: center; text-decoration: none; color: var(--ink);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1rem 1.2rem; box-shadow: var(--shadow);
}
a.contact-item:hover { border-color: var(--teal-500); }
.contact-icon {
  width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center;
  background: var(--navy-900); font-size: 1.15rem; flex-shrink: 0;
}
.contact-item strong { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.contact-form {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2rem; box-shadow: var(--shadow); display: grid; gap: 1.1rem;
}
.contact-form label span { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 0.35rem; }
.contact-form input, .contact-form textarea {
  width: 100%; font: inherit; padding: 0.8rem 1rem; border: 1px solid var(--line);
  border-radius: 10px; background: var(--bg-alt); color: var(--ink); resize: vertical;
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: 2px solid var(--teal-500); border-color: var(--teal-500); background: #fff;
}
.form-note { font-size: 0.85rem; color: var(--muted); text-align: center; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: #9fb0c8; padding: 3rem 0 2rem; }
.footer-inner { display: grid; gap: 1.4rem; }
.footer-brand .logo-text { font-size: 1.3rem; }
.footer-brand p { margin-top: 0.4rem; font-size: 0.95rem; }
.footer-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-links a { color: #9fb0c8; text-decoration: none; font-size: 0.95rem; }
.footer-links a:hover { color: #fff; }
.copyright { font-size: 0.85rem; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1.4rem; }

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

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-card-inner { position: static; }
}
@media (max-width: 640px) {
  .main-nav, .header-inner .btn { display: none; }
  .nav-toggle { display: block; }
  .main-nav.open {
    display: flex; position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; background: var(--navy-950); padding: 1.2rem 4%;
    gap: 1rem; border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .cards, .steps { grid-template-columns: 1fr; }
  .hero { padding: 8.5rem 0 4.5rem; }
  .section { padding: 4rem 0; }
}
