/* ============================================================
   Micro Connect — dark theme
   ============================================================ */
:root {
  --bg: #0a0d16;
  --bg-raised: #10162a;
  --bg-card: #121933;
  --border: rgba(255, 255, 255, 0.08);
  --border-bright: rgba(255, 255, 255, 0.16);
  --text: #e7eaf3;
  --text-dim: #9aa1b9;
  --text-faint: #6d7590;
  --indigo: #6366f1;
  --cyan: #22d3ee;
  --sig-red: #ef4444;
  --sig-amber: #f59e0b;
  --sig-green: #22c55e;
  --radius: 16px;
  --font-head: "Space Grotesk", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: var(--cyan); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { width: min(1160px, 92%); margin-inline: auto; }

/* ---------- signal dots motif ---------- */
.sig-dots { display: inline-flex; gap: 7px; vertical-align: middle; }
.sig-dots i {
  width: 10px; height: 10px; border-radius: 50%;
}
.sig-dots i:nth-child(1) { background: var(--sig-red);   box-shadow: 0 0 10px rgba(239,68,68,.7); }
.sig-dots i:nth-child(2) { background: var(--sig-amber); box-shadow: 0 0 10px rgba(245,158,11,.7); }
.sig-dots i:nth-child(3) { background: var(--sig-green); box-shadow: 0 0 10px rgba(34,197,94,.7); }

/* ---------- header ---------- */
header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(10, 13, 22, 0.72);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
header.scrolled {
  border-bottom-color: var(--border);
  background: rgba(10, 13, 22, 0.9);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 74px;
}
.nav .brand img { height: 34px; width: auto; }
.nav ul {
  display: flex; gap: 34px; list-style: none; align-items: center;
}
.nav ul a {
  color: var(--text-dim); font-size: 15px; font-weight: 500;
  transition: color .2s;
}
.nav ul a:hover { color: #fff; text-decoration: none; }
.nav .btn { margin-left: 6px; }

.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  flex-direction: column; gap: 5px; padding: 8px;
}
.nav-toggle span {
  width: 24px; height: 2px; background: var(--text); border-radius: 2px;
  transition: transform .25s, opacity .25s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 26px; border-radius: 999px;
  font-weight: 600; font-size: 15px; font-family: var(--font-body);
  cursor: pointer; border: 1px solid transparent;
  transition: transform .2s, box-shadow .2s, background .2s, border-color .2s;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, var(--indigo), #4f46e5);
  color: #fff;
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.35);
}
.btn-primary:hover { box-shadow: 0 12px 32px rgba(99, 102, 241, 0.5); }
.btn-ghost {
  background: rgba(255,255,255,0.04);
  border-color: var(--border-bright);
  color: var(--text);
}
.btn-ghost:hover { background: rgba(255,255,255,0.09); }
.btn-sm { padding: 9px 20px; font-size: 14px; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding: 170px 0 110px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(900px 500px at 15% -10%, rgba(99,102,241,.22), transparent 60%),
    radial-gradient(800px 500px at 90% 10%, rgba(34,211,238,.10), transparent 60%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 20%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 20%, black 30%, transparent 75%);
  pointer-events: none;
}
.hero .container {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: 60px; align-items: center;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 13px; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--text-dim);
  padding: 8px 18px; border: 1px solid var(--border-bright);
  border-radius: 999px; background: rgba(255,255,255,.03);
  margin-bottom: 26px;
}
.hero h1 {
  font-family: var(--font-head);
  font-size: clamp(2.4rem, 5vw, 3.9rem);
  line-height: 1.08; letter-spacing: -0.02em;
  font-weight: 700; margin-bottom: 22px;
}
.hero h1 .grad {
  background: linear-gradient(100deg, var(--indigo) 10%, var(--cyan) 90%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.hero p.lead {
  font-size: 18px; color: var(--text-dim); max-width: 34em;
  margin-bottom: 36px;
}
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-visual { position: relative; }
.hero-visual img {
  filter: drop-shadow(0 30px 60px rgba(0,0,0,.6)) drop-shadow(0 0 60px rgba(99,102,241,.18));
  transform: perspective(1200px) rotateY(-6deg);
  transition: transform .5s ease;
}
.hero-visual:hover img { transform: perspective(1200px) rotateY(0deg); }
.hero-visual .glow {
  position: absolute; inset: 12% -6% -4% -6%;
  background: radial-gradient(ellipse at center, rgba(99,102,241,.18), transparent 65%);
  z-index: -1;
}

/* ---------- stats strip ---------- */
.stats {
  border-block: 1px solid var(--border);
  background: rgba(255,255,255,.015);
}
.stats .container {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px; padding: 40px 0;
}
.stat { text-align: center; }
.stat b {
  display: block; font-family: var(--font-head);
  font-size: 30px; font-weight: 700; letter-spacing: -0.02em;
  background: linear-gradient(100deg, #fff, #aab1ff);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.stat span { font-size: 14px; color: var(--text-faint); }

/* ---------- sections ---------- */
section { padding: 96px 0; }
.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--indigo); margin-bottom: 14px;
}
.section-head.center .kicker { justify-content: center; }
.section-head h2 {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  letter-spacing: -0.02em; line-height: 1.15; margin-bottom: 14px;
}
.section-head p { color: var(--text-dim); font-size: 17px; }

/* ---------- product cards ---------- */
.products-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px;
}
.card {
  position: relative;
  background: linear-gradient(180deg, var(--bg-card), var(--bg-raised));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  overflow: hidden;
  transition: transform .3s, border-color .3s, box-shadow .3s;
}
.card:hover {
  transform: translateY(-6px);
  border-color: rgba(99,102,241,.45);
  box-shadow: 0 24px 48px rgba(0,0,0,.45), 0 0 0 1px rgba(99,102,241,.2);
}
.card .card-img {
  height: 210px; display: flex; align-items: center; justify-content: center;
  margin-bottom: 26px;
}
.card .card-img img {
  max-height: 100%; width: auto; object-fit: contain;
  filter: drop-shadow(0 16px 30px rgba(0,0,0,.5));
}
.card .card-img.photo img {
  border-radius: 12px; border: 1px solid var(--border);
  max-height: 210px;
}
.card h3 {
  font-family: var(--font-head); font-size: 22px;
  letter-spacing: -0.01em; margin-bottom: 10px;
}
.card p { color: var(--text-dim); font-size: 15px; margin-bottom: 18px; }
.card .tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.tag {
  font-size: 12px; font-weight: 600; color: var(--text-dim);
  padding: 5px 12px; border-radius: 999px;
  border: 1px solid var(--border-bright);
  background: rgba(255,255,255,.03);
}
.card .card-link {
  font-weight: 600; font-size: 15px; color: var(--cyan);
  display: inline-flex; align-items: center; gap: 6px;
}
.card .card-link::after { content: "→"; transition: transform .2s; }
.card .card-link:hover { text-decoration: none; }
.card .card-link:hover::after { transform: translateX(4px); }

/* ---------- RE LCM cards table ---------- */
.lcm-cards {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.lcm-card {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 20px;
  transition: border-color .25s, background .25s;
}
.lcm-card:hover { border-color: rgba(34,211,238,.4); background: #131b36; }
.lcm-card b {
  font-family: var(--font-head); font-size: 15px; letter-spacing: .04em;
  color: var(--cyan); display: block; margin-bottom: 4px;
}
.lcm-card span { font-size: 13.5px; color: var(--text-dim); line-height: 1.5; }

/* ---------- capabilities ---------- */
.cap-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.cap {
  background: var(--bg-raised); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 30px 26px;
  transition: transform .3s, border-color .3s;
}
.cap:hover { transform: translateY(-4px); border-color: var(--border-bright); }
.cap .icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(99,102,241,.2), rgba(34,211,238,.12));
  border: 1px solid rgba(99,102,241,.35);
  margin-bottom: 18px; font-size: 22px;
}
.cap h3 { font-family: var(--font-head); font-size: 17px; margin-bottom: 8px; }
.cap p { font-size: 14px; color: var(--text-dim); }

/* ---------- support ---------- */
.support-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.support-card {
  display: block; text-align: center;
  background: var(--bg-raised); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 36px 28px;
  color: var(--text); transition: transform .3s, border-color .3s, box-shadow .3s;
}
.support-card:hover {
  text-decoration: none; transform: translateY(-5px);
  border-color: rgba(99,102,241,.45);
  box-shadow: 0 20px 40px rgba(0,0,0,.4);
}
.support-card .icon { font-size: 30px; margin-bottom: 14px; }
.support-card h3 { font-family: var(--font-head); font-size: 18px; margin-bottom: 8px; }
.support-card p { font-size: 14px; color: var(--text-dim); }

/* ---------- contact ---------- */
.contact-wrap {
  display: grid; grid-template-columns: 1fr 1fr; gap: 28px;
  background: linear-gradient(180deg, var(--bg-card), var(--bg-raised));
  border: 1px solid var(--border); border-radius: 24px;
  padding: 56px; position: relative; overflow: hidden;
}
.contact-wrap::before {
  content: "";
  position: absolute; inset: -40% 40% auto -20%; height: 120%;
  background: radial-gradient(ellipse at center, rgba(99,102,241,.14), transparent 65%);
  pointer-events: none;
}
.contact-info { position: relative; }
.contact-info h2 {
  font-family: var(--font-head); font-size: clamp(1.7rem, 3vw, 2.3rem);
  letter-spacing: -0.02em; margin-bottom: 12px;
}
.contact-info > p { color: var(--text-dim); margin-bottom: 30px; max-width: 30em; }
.contact-list { list-style: none; display: grid; gap: 18px; position: relative; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .ci {
  flex: 0 0 42px; height: 42px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.04); border: 1px solid var(--border-bright);
  font-size: 18px;
}
.contact-list b { display: block; font-size: 14px; color: var(--text-faint); font-weight: 600; }
.contact-list a, .contact-list span { color: var(--text); font-size: 16px; }
.abn { margin-top: 26px; font-size: 13px; color: var(--text-faint); }

.contact-map {
  position: relative; border-radius: 16px; overflow: hidden;
  border: 1px solid var(--border); min-height: 320px;
}
.contact-map iframe {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
  filter: invert(90%) hue-rotate(180deg) saturate(0.7) brightness(0.9);
}

/* ---------- footer ---------- */
footer {
  border-top: 1px solid var(--border);
  padding: 60px 0 40px;
  background: #080a12;
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px; margin-bottom: 48px;
}
.footer-grid img { height: 30px; width: auto; margin-bottom: 16px; }
.footer-grid p { font-size: 14px; color: var(--text-faint); max-width: 26em; }
.footer-grid h4 {
  font-family: var(--font-head); font-size: 14px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--text-dim); margin-bottom: 16px;
}
.footer-grid ul { list-style: none; display: grid; gap: 10px; }
.footer-grid ul a { color: var(--text-faint); font-size: 14.5px; }
.footer-grid ul a:hover { color: var(--cyan); text-decoration: none; }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 28px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-size: 13.5px; color: var(--text-faint);
  flex-wrap: wrap;
}

/* ---------- reveal on scroll ---------- */
.reveal {
  opacity: 0; transform: translateY(26px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .hero .container { grid-template-columns: 1fr; gap: 44px; }
  .hero { padding-top: 130px; }
  .hero-visual { order: -1; max-width: 480px; margin-inline: auto; }
  .products-grid { grid-template-columns: 1fr; }
  .lcm-cards { grid-template-columns: repeat(2, 1fr); }
  .cap-grid { grid-template-columns: repeat(2, 1fr); }
  .support-grid { grid-template-columns: 1fr; }
  .contact-wrap { grid-template-columns: 1fr; padding: 36px 28px; }
  .stats .container { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }

  .nav-toggle { display: flex; }
  .nav ul {
    position: fixed; inset: 74px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(10, 13, 22, 0.98);
    border-bottom: 1px solid var(--border);
    padding: 12px 6vw 24px;
    display: none;
  }
  .nav ul.open { display: flex; }
  .nav ul li { border-bottom: 1px solid var(--border); }
  .nav ul li:last-child { border-bottom: 0; padding-top: 16px; }
  .nav ul a { display: block; padding: 15px 4px; font-size: 16px; }
  .nav ul .btn { justify-content: center; }
}
@media (max-width: 560px) {
  .lcm-cards { grid-template-columns: 1fr; }
  .cap-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  section { padding: 70px 0; }
}
