/* =====================================================
   MORPHOCORE — styles.css
   Dark · Sovereign · Australian · Precise · Modern
   ===================================================== */

/* TOKENS */
:root {
  --black:       #0D0D0D;
  --white:       #FFFFFF;
  --blue:        #1A6BFF;
  --blue-dim:    rgba(26,107,255,.16);
  --blue-glow:   rgba(26,107,255,.38);
  --muted:       rgba(255,255,255,.62);
  --subtle:      rgba(255,255,255,.40);
  --line:        rgba(255,255,255,.10);
  --panel:       rgba(255,255,255,.038);
  --panel-hover: rgba(255,255,255,.068);
  --max:         1200px;
  --radius:      14px;
  --header-h:    76px;
  --ease:        cubic-bezier(.22,1,.36,1);
}

/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; background: var(--black); }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--white);
  background:
    radial-gradient(ellipse 80% 55% at 76% 8%, rgba(26,107,255,.20), transparent 52%),
    radial-gradient(ellipse 55% 40% at 8% 92%, rgba(26,107,255,.07), transparent 50%),
    var(--black);
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* SCROLL ANIMATIONS */
[data-animate] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
[data-animate].is-visible { opacity: 1; transform: none; }
[data-delay="1"] { transition-delay: .09s; }
[data-delay="2"] { transition-delay: .18s; }
[data-delay="3"] { transition-delay: .27s; }
[data-delay="4"] { transition-delay: .36s; }

/* TYPOGRAPHY */
.eyebrow {
  font-size: .73rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 18px;
  display: block;
}
h1, h2, h3 { font-weight: 900; line-height: 1; letter-spacing: -.04em; }

/* BUTTONS */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  padding: 0 28px;
  border-radius: 8px;
  background: var(--blue);
  color: var(--white);
  font-weight: 700;
  font-size: .93rem;
  border: 1.5px solid var(--blue);
  transition: background .2s, box-shadow .2s, transform .15s var(--ease);
  cursor: pointer;
  white-space: nowrap;
}
.button:hover {
  background: #3a7fff;
  box-shadow: 0 0 0 4px var(--blue-dim), 0 8px 32px rgba(26,107,255,.28);
  transform: translateY(-1px);
}
.button.ghost {
  background: transparent;
  border-color: rgba(26,107,255,.52);
  color: rgba(255,255,255,.88);
}
.button.ghost:hover {
  border-color: var(--blue);
  background: var(--blue-dim);
  box-shadow: none;
  transform: translateY(-1px);
}
.button.small { height: 40px; padding: 0 18px; font-size: .86rem; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* HEADER */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(20px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
  background: rgba(13,13,13,.85);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  transition: background .3s;
}
.site-header.scrolled { background: rgba(8,8,8,.96); }

/* Brand */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  font-weight: 900;
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: .02em;
  user-select: none;
  flex-shrink: 0;
}
.brand-name span { color: var(--blue); }
.brand-mark {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border: 3.5px solid var(--blue);
  border-radius: 7px;
  transform: rotate(45deg);
  display: block;
  transition: box-shadow .25s;
}
.brand:hover .brand-mark {
  box-shadow: 0 0 0 3px var(--blue-dim), 0 0 18px var(--blue-glow);
}
.brand-mark.inner {
  width: 32px;
  height: 32px;
  border-width: 4px;
  border-radius: 8px;
  transform: rotate(-45deg);
  box-shadow: none;
}

/* Nav */
.nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: .9rem;
}
.nav a { color: rgba(255,255,255,.78); transition: color .18s; }
.nav a:hover, .nav a.active { color: var(--white); }
.nav a.active { font-weight: 600; }

/* Mobile toggle */
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 6px;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform .25s var(--ease), opacity .2s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* HERO */
.hero {
  max-width: var(--max);
  margin: 0 auto;
  min-height: calc(100vh - var(--header-h));
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 48px;
  padding: 80px clamp(20px, 4vw, 48px) 60px;
}
.hero h1 {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-weight: 800;
  font-size: clamp(3.4rem, 7vw, 6.6rem);
  letter-spacing: -.035em;
  text-transform: uppercase;
  line-height: .95;
  max-width: 8.5ch;
  text-wrap: balance;
  margin-bottom: 28px;
}
.hero h1 span { color: var(--blue); }
.hero-text {
  color: rgba(255,255,255,.72);
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 34ch;
  margin-bottom: 36px;
}

/* Hero visual */
.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 460px;
}
.orbital-grid {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(26,107,255,.11) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26,107,255,.11) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 68%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 68%);
}
.orbit {
  position: absolute;
  border: 1px solid rgba(26,107,255,.20);
  border-radius: 50%;
  animation: spin linear infinite;
}
.orbit-1 { width: 310px; height: 310px; animation-duration: 28s; }
.orbit-2 { width: 450px; height: 450px; animation-duration: 48s; animation-direction: reverse; border-color: rgba(26,107,255,.10); border-style: dashed; }
.core-diamond {
  position: relative;
  z-index: 2;
  width: clamp(130px, 18vw, 230px);
  height: clamp(130px, 18vw, 230px);
  border: 18px solid var(--blue);
  border-radius: clamp(22px, 3vw, 38px);
  transform: rotate(45deg);
  display: grid;
  place-items: center;
  box-shadow: 0 0 0 1px rgba(255,255,255,.06), 0 0 64px rgba(26,107,255,.30), inset 0 0 40px rgba(26,107,255,.10);
  animation: pulse-glow 4s ease-in-out infinite;
}
.orbit-dot {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  margin: -5px 0 0 -5px;
  background: var(--blue);
  border-radius: 50%;
  box-shadow: 0 0 14px var(--blue-glow);
}
.dot-1 { animation: orbit-sm 28s linear infinite; }
.dot-2 { animation: orbit-lg 48s linear infinite reverse; }
.dot-3 { animation: orbit-sm 20s linear infinite 7s; width: 6px; height: 6px; margin: -3px 0 0 -3px; background: rgba(255,255,255,.7); box-shadow: none; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 0 1px rgba(255,255,255,.06), 0 0 64px rgba(26,107,255,.30), inset 0 0 40px rgba(26,107,255,.10); }
  50%       { box-shadow: 0 0 0 1px rgba(255,255,255,.11), 0 0 96px rgba(26,107,255,.48), inset 0 0 60px rgba(26,107,255,.18); }
}
@keyframes orbit-sm {
  from { transform: rotate(0deg) translateX(155px); }
  to   { transform: rotate(360deg) translateX(155px); }
}
@keyframes orbit-lg {
  from { transform: rotate(20deg) translateX(225px); }
  to   { transform: rotate(380deg) translateX(225px); }
}

/* STATS STRIP */
.stats-strip {
  border-block: 1px solid var(--line);
  background: var(--panel);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 36px clamp(24px, 5vw, 72px);
}
.stat {
  text-align: center;
  padding: 0 48px;
  flex: 1;
  max-width: 240px;
}
.stat-num {
  display: block;
  font-size: 2.3rem;
  font-weight: 900;
  letter-spacing: -.04em;
  line-height: 1;
  margin-bottom: 7px;
}
.stat-label {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}
.stat-divider { width: 1px; height: 38px; background: var(--line); flex-shrink: 0; }

/* ECOSYSTEM */
.ecosystem {
  max-width: var(--max);
  margin: 0 auto;
  padding: 96px clamp(20px, 4vw, 48px);
}
.section-title {
  max-width: 680px;
  margin: 0 auto 56px;
  text-align: center;
}
.section-title h2 {
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  margin-bottom: 18px;
}
.section-title p { color: var(--muted); line-height: 1.72; font-size: .97rem; }

/* PRODUCT GRID */
.product-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

/* Product cards */
.product-card {
  position: relative;
  height: 320px;
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: var(--radius);
  padding: 32px 22px 76px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: border-color .25s, background .25s, transform .3s var(--ease), box-shadow .3s;
  overflow: hidden;
}
.product-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 100% 70% at 50% -5%, var(--blue-dim), transparent 60%);
  opacity: 0;
  transition: opacity .3s;
  border-radius: inherit;
  pointer-events: none;
}
.product-card:hover {
  border-color: rgba(26,107,255,.65);
  background: var(--panel-hover);
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0,0,0,.45), 0 0 0 1px rgba(26,107,255,.28);
}
.product-card:hover::before { opacity: 1; }
.product-card h3 {
  font-size: 1.22rem;
  letter-spacing: -.03em;
  margin: 18px 0 10px;
  position: relative;
}
.product-card h3 span { color: var(--blue); }
.product-card p {
  color: rgba(255,255,255,.66);
  line-height: 1.58;
  font-size: .88rem;
  margin-bottom: 0;
  position: relative;
}
.card-cta {
  position: absolute;
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: .82rem;
  font-weight: 700;
  color: var(--blue);
  margin: 0;
  padding: 0;
  height: 24px;
  white-space: nowrap;
}
.arrow { transition: transform .2s; display: inline-block; }
.product-card:hover .arrow { transform: translateX(4px); }

/* Product status badge */
.product-badge {
  position: absolute;
  top: 13px;
  right: 13px;
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--subtle);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 4px;
  padding: 3px 7px;
  line-height: 1.4;
  pointer-events: none;
}
.product-badge.live {
  color: var(--blue);
  background: var(--blue-dim);
  border-color: rgba(26,107,255,.32);
}

/* Product icons */
.product-icon {
  width: 62px;
  height: 62px;
  border: 4px solid var(--blue);
  border-radius: 12px;
  transform: rotate(45deg);
  display: grid;
  place-items: center;
  position: relative;
  flex-shrink: 0;
  margin: 0;
  align-self: center;
  transition: box-shadow .3s;
}
.product-card:hover .product-icon {
  box-shadow: 0 0 0 3px var(--blue-dim), 0 0 22px var(--blue-glow);
}
.product-icon::after { content: none; }
.icon-svg {
  width: 26px;
  height: 26px;
  transform: rotate(-45deg);
  color: var(--blue);
  display: block;
  flex-shrink: 0;
}

/* VALUES / SOVEREIGNTY */
.values {
  border-block: 1px solid var(--line);
  background: rgba(255,255,255,.024);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.values article {
  padding: 48px 36px;
  border-right: 1px solid var(--line);
  transition: background .2s;
}
.values article:last-child { border-right: 0; }
.values article:hover { background: var(--panel); }
.value-icon {
  width: 48px;
  height: 48px;
  border: 3.5px solid var(--blue);
  border-radius: 10px;
  transform: rotate(45deg);
  display: grid;
  place-items: center;
  margin-bottom: 26px;
  position: relative;
  flex-shrink: 0;
}
.value-icon::after {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  transform: rotate(-45deg);
  color: var(--blue);
  font-weight: 900;
  font-size: 1.1rem;
}
.value-icon[data-icon="shield"]::after   { content: "\25C7"; font-size: 1.25rem; }
.value-icon[data-icon="lock"]::after     { content: "\25A3"; font-size: 1rem; }
.value-icon[data-icon="people"]::after   { content: "\22EE\22EE"; letter-spacing: -.1em; font-size: .8rem; }
.value-icon[data-icon="australia"]::after { content: "AU"; font-size: .68rem; letter-spacing: .02em; }
.values h3 {
  font-size: .9rem;
  font-weight: 800;
  letter-spacing: .10em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 11px;
}
.values p { color: var(--muted); line-height: 1.65; font-size: .92rem; }

/* DETAIL SECTIONS */
.detail-section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 56px clamp(20px, 4vw, 48px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  border-top: 1px solid var(--line);
}
.detail-section.alt {
  grid-template-columns: 1fr 1fr;
}
.detail-section.alt .detail-header { order: 2; }
.detail-section.alt .detail-visual  { order: 1; }

.detail-header h2 {
  font-size: clamp(1.9rem, 3.5vw, 2.9rem);
  margin-bottom: 18px;
  line-height: 1.04;
}
.detail-header p {
  color: var(--muted);
  line-height: 1.72;
  font-size: .97rem;
  margin-bottom: 30px;
}
.feature-list { display: flex; flex-direction: column; gap: 12px; }
.feature-list li {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: .9rem;
  color: rgba(255,255,255,.82);
}
.feature-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  flex-shrink: 0;
}

/* Detail visual mock cards */
.detail-visual { display: grid; place-items: center; }
.detail-card-mock {
  width: 100%;
  max-width: 380px;
  min-height: 200px;
  background: rgba(255,255,255,.044);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--radius);
  padding: 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 13px;
  overflow: hidden;
}
.detail-card-mock::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--blue);
  border-radius: var(--radius) var(--radius) 0 0;
}
.mock-topbar { height: 9px; background: rgba(26,107,255,.38); border-radius: 4px; width: 44%; }
.mock-row { height: 10px; background: rgba(255,255,255,.10); border-radius: 4px; }
.mock-row.wide   { width: 88%; }
.mock-row.medium { width: 66%; }
.mock-row.short  { width: 42%; }
.mock-row.total  { background: rgba(26,107,255,.48); width: 56%; margin-top: 4px; }
.mock-divider    { height: 1px; background: var(--line); margin: 2px 0; }
.mock-canvas {
  height: 88px;
  background: linear-gradient(135deg, rgba(26,107,255,.22) 0%, rgba(26,107,255,.05) 100%);
  border-radius: 8px;
  border: 1px solid rgba(26,107,255,.18);
}
.mock-bubble {
  height: 28px;
  border-radius: 18px;
  background: rgba(26,107,255,.26);
  border: 1px solid rgba(26,107,255,.28);
}
.mock-bubble.in     { width: 68%; }
.mock-bubble.out    { width: 52%; align-self: flex-end; background: rgba(255,255,255,.09); border-color: rgba(255,255,255,.11); }
.mock-bubble.short  { width: 34%; }
.mock-bubble.medium { width: 56%; }
.mock-shield {
  width: 46px;
  height: 50px;
  background: rgba(26,107,255,.22);
  border: 1.5px solid rgba(26,107,255,.45);
  border-radius: 8px 8px 22px 22px;
  margin-bottom: 2px;
}
.mock-label {
  position: absolute;
  bottom: 13px;
  right: 14px;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue);
  opacity: .65;
}

/* COMPANY */
.company {
  max-width: var(--max);
  margin: 0 auto;
  padding: 96px clamp(20px, 4vw, 48px);
  border-top: 1px solid var(--line);
  text-align: center;
}
.company-inner { max-width: 840px; margin: 0 auto; }
.company h2 { font-size: clamp(2rem, 4vw, 3.4rem); margin-bottom: 24px; }
.company-inner > p {
  color: var(--muted);
  line-height: 1.72;
  font-size: .98rem;
  margin-bottom: 14px;
}
.company-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 52px;
  text-align: left;
}
.company-point {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: border-color .2s, background .2s;
}
.company-point:hover {
  border-color: rgba(26,107,255,.38);
  background: var(--panel-hover);
}
.point-label {
  display: block;
  font-size: .73rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 10px;
}
.company-point p { color: var(--muted); line-height: 1.6; font-size: .91rem; }

/* CTA */
.cta {
  background: transparent;
  border-block: 1px solid var(--line);
  padding: 96px clamp(20px, 4vw, 48px);
  text-align: center;
}
.cta-inner { max-width: 680px; margin: 0 auto; }
.cta h2 { font-size: clamp(2rem, 4vw, 3.4rem); margin-bottom: 18px; }
.cta p { color: var(--muted); line-height: 1.72; margin-bottom: 36px; font-size: .97rem; }
.cta .actions { justify-content: center; }

/* FOOTER */
.footer {
  border-top: 1px solid var(--line);
  padding: 0 clamp(24px, 5vw, 72px);
}
.footer-top {
  max-width: var(--max);
  margin: 0 auto;
  padding: 56px 0 40px;
  display: flex;
  justify-content: space-between;
  gap: 48px;
  border-bottom: 1px solid var(--line);
}
.footer-brand { max-width: 300px; }
.footer-brand .brand { margin-bottom: 16px; display: inline-flex; }
.footer-brand p { color: var(--muted); font-size: .9rem; line-height: 1.6; }
.footer-nav { display: flex; gap: 64px; }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col-title {
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 4px;
}
.footer-col a { font-size: .9rem; color: var(--muted); transition: color .18s; }
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  max-width: var(--max);
  margin: 0 auto;
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  color: rgba(255,255,255,.40);
  font-size: .82rem;
}

/* RESPONSIVE */
@media (max-width: 1100px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 58px; }
  .hero-visual { min-height: 320px; }
  .orbit-1 { width: 240px; height: 240px; }
  .orbit-2 { width: 340px; height: 340px; }
  .values { grid-template-columns: repeat(2, 1fr); }
  .values article { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .values article:nth-child(2n) { border-right: 0; }
  .values article:last-child, .values article:nth-last-child(2):nth-child(odd) { border-bottom: 0; }
  .detail-section,
  .detail-section.alt { grid-template-columns: 1fr; gap: 40px; }
  .detail-section.alt .detail-header { order: 1; }
  .detail-section.alt .detail-visual  { order: 2; }
  .company-grid { grid-template-columns: 1fr; }
  .stats-strip { flex-wrap: wrap; }
  .stat { padding: 18px 32px; }
  .stat-divider { display: none; }
}
@media (max-width: 720px) {
  :root { --header-h: 64px; }
  .nav-toggle { display: flex; }
  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    display: none;
    flex-direction: column;
    padding: 24px clamp(20px, 5vw, 40px) 32px;
    gap: 18px;
    background: rgba(8,8,8,.98);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(22px);
  }
  .nav.open { display: flex; }
  .nav a { font-size: 1.05rem; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .hero h1 { font-size: 3rem; }
  .footer-top { flex-direction: column; }
  .footer-nav { gap: 40px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
}
@media (max-width: 480px) {
  .product-grid { grid-template-columns: 1fr; }
  .values { grid-template-columns: 1fr; }
  .values article { border-right: 0 !important; }
  .orbit-1 { width: 190px; height: 190px; }
  .orbit-2 { width: 270px; height: 270px; }
}







