/* ============================================================
   Maju World — rebuilt site
   Palette from the company's own site CSS: blue #0033ff,
   azure #007fff, cyan #00cccc on a near-black ground.
   Typeface: Inter, self-hosted.
   ============================================================ */

@font-face {
  font-family: 'Inter';
  src: url('../font/Inter.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #05070d;
  --ink-2: #0a0f1c;
  --ink-3: #101827;
  --blue: #0033ff;
  --azure: #007fff;
  --cyan: #00cccc;
  --sky: #7fb2ff;
  --text: rgba(255, 255, 255, .74);
  --soft: rgba(255, 255, 255, .52);
  --line: rgba(255, 255, 255, .12);
  --line-2: rgba(255, 255, 255, .2);
  --paper: #ffffff;
  --dark-text: #11151d;
  --dark-soft: #5b6472;
  --wrap: 1140px;
  --r: 14px;
  --r-lg: 22px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
}

img, svg, video { max-width: 100%; }
img { display: block; height: auto; }
h1, h2, h3, h4 { margin: 0 0 .6rem; line-height: 1.1; font-weight: 700; letter-spacing: -.03em; color: #fff; }
h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); }
h2 { font-size: clamp(1.65rem, 3vw, 2.5rem); }
h3 { font-size: 1.12rem; letter-spacing: -.015em; }
h4 { font-size: 1rem; }

p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }
a { color: var(--sky); text-decoration: none; }
a:hover { color: #fff; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 24px; }
.wrap-narrow { max-width: 780px; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }

.lead { font-size: 1.12rem; max-width: 62ch; }
.small { font-size: .9rem; }
.muted { color: var(--soft); }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .86em; }
.mt-1 { margin-top: .5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.8rem; } .mt-4 { margin-top: 2.6rem; }
.mb-0 { margin-bottom: 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem; font-size: .74rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase; color: var(--cyan); margin: 0 0 .9rem;
}
.eyebrow::before { content: ''; width: 24px; height: 2px; background: var(--cyan); }
.center .eyebrow::before { display: none; }
.rule { display: block; width: 44px; height: 3px; border-radius: 2px; background: linear-gradient(90deg, var(--blue), var(--cyan)); margin-bottom: 1rem; }
.center .rule { margin-inline: auto; }

.skip { position: absolute; left: -9999px; top: 0; z-index: 300; background: #fff; color: #000; padding: .8rem 1.1rem; }
.skip:focus { left: 0; }

/* ---------------------------------------------------------- header */
.site-header {
  position: sticky; top: 0; z-index: 90;
  background: rgba(5, 7, 13, .86);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header.is-stuck { background: rgba(5, 7, 13, .96); }
.header-inner { display: flex; align-items: center; gap: 1rem; min-height: 72px; }
.brand { display: flex; align-items: center; gap: .65rem; }
.brand img { width: 34px; height: 34px; border-radius: 8px; }
.brand b { font-size: 1rem; color: #fff; letter-spacing: -.01em; }
.brand span { display: block; font-size: .64rem; letter-spacing: .16em; text-transform: uppercase; color: var(--soft); }

.nav { display: flex; align-items: center; gap: .1rem; margin-left: auto; }
.nav > li { list-style: none; }
.nav a { display: inline-block; padding: .5rem .72rem; font-size: .9rem; font-weight: 500; color: rgba(255, 255, 255, .78); border-radius: 8px; }
.nav a:hover { color: #fff; background: rgba(255, 255, 255, .07); }
.nav a[aria-current="page"] { color: #fff; box-shadow: inset 0 -2px 0 var(--cyan); border-radius: 0; }
.nav-cta { margin-left: .5rem; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
  font-family: inherit; font-size: .92rem; font-weight: 600; line-height: 1.2;
  padding: .8rem 1.35rem; border: 1.5px solid transparent; border-radius: 10px;
  cursor: pointer; text-align: center; transition: background-color .16s ease, color .16s ease, border-color .16s ease, transform .16s ease;
}
.btn:active { transform: translateY(1px); }
.btn--grad { background: linear-gradient(95deg, var(--blue), var(--cyan)); color: #fff; }
.btn--grad:hover { color: #fff; filter: brightness(1.12); }
.btn--ghost { border-color: var(--line-2); color: #fff; background: transparent; }
.btn--ghost:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, .06); }
.btn--white { background: #fff; color: var(--ink); }
.btn--white:hover { background: #e8eefc; color: var(--ink); }
.btn--sm { padding: .52rem .95rem; font-size: .84rem; }

.nav-toggle { display: none; align-items: center; justify-content: center; width: 42px; height: 42px; margin-left: auto; padding: 0; background: transparent; border: 1px solid var(--line-2); border-radius: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 17px; height: 2px; background: #fff; position: relative; }
.nav-toggle span::before, .nav-toggle span::after { content: ''; position: absolute; left: 0; width: 17px; height: 2px; background: #fff; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

.drawer { position: fixed; inset: 0 0 0 auto; z-index: 120; width: min(330px, 88vw); background: var(--ink-2); border-left: 1px solid var(--line); transform: translateX(102%); transition: transform .26s ease; display: flex; flex-direction: column; padding: 1.1rem 1.3rem 1.6rem; overflow-y: auto; }
.drawer[data-open="true"], .drawer.is-open { transform: translateX(0); }
body.no-scroll { overflow: hidden; }
.drawer-close { align-self: flex-end; background: none; border: 0; font-size: 1.7rem; line-height: 1; color: #fff; cursor: pointer; padding: .2rem .5rem; }
.drawer ul { list-style: none; margin: 1rem 0 1.4rem; padding: 0; }
.drawer a { display: block; padding: .75rem .2rem; font-weight: 500; color: rgba(255, 255, 255, .82); border-bottom: 1px solid var(--line); }
.drawer a[aria-current="page"] { color: #fff; }
.drawer .btn { width: 100%; }
.scrim { position: fixed; inset: 0; z-index: 110; background: rgba(0, 0, 0, .6); opacity: 0; pointer-events: none; transition: opacity .26s ease; }
.scrim[data-open="true"] { opacity: 1; pointer-events: auto; }

/* ---------------------------------------------------------- hero */
.hero { position: relative; overflow: hidden; padding: clamp(56px, 9vw, 120px) 0 clamp(48px, 7vw, 96px); }
.hero::before {
  content: ''; position: absolute; inset: -30% -20% auto -20%; height: 120%;
  background:
    radial-gradient(46% 55% at 22% 18%, rgba(0, 51, 255, .55), transparent 62%),
    radial-gradient(42% 50% at 82% 8%, rgba(0, 204, 204, .38), transparent 66%);
  filter: blur(10px); pointer-events: none;
}
.hero::after {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 64px 64px; mask-image: radial-gradient(70% 60% at 50% 20%, #000 30%, transparent 75%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.12fr .88fr; gap: clamp(28px, 4vw, 60px); align-items: center; }
.hero h1 { margin-bottom: 1.1rem; }
.hero h1 em { font-style: normal; background: linear-gradient(92deg, #9fd0ff, var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { color: rgba(255, 255, 255, .78); font-size: clamp(1.02rem, 1.5vw, 1.2rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.8rem; }
.hero-meta { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.6rem 0 0; padding: 0; list-style: none; }
.hero-meta li { font-size: .76rem; font-weight: 600; letter-spacing: .04em; color: rgba(255,255,255,.8); border: 1px solid var(--line-2); border-radius: 999px; padding: .33rem .8rem; }
.hero-card { position: relative; border: 1px solid var(--line-2); border-radius: var(--r-lg); overflow: hidden; background: var(--ink-2); }
.hero-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; opacity: .92; }
.hero-card .cap { position: absolute; left: 14px; bottom: 12px; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.85); background: rgba(5,7,13,.7); border: 1px solid var(--line); padding: .3rem .55rem; border-radius: 6px; }

/* ---------------------------------------------------------- sections */
.section { padding: clamp(48px, 6.4vw, 92px) 0; border-top: 1px solid var(--line); }
.section--ink { background: var(--ink); }
.section--ink2 { background: var(--ink-2); }
.section--light { background: var(--paper); color: var(--dark-soft); border-top: 0; }
.section--light h2, .section--light h3, .section--light h4 { color: var(--dark-text); }
.section--light .lead { color: #39404c; }
.section--light .eyebrow { color: #0a58d0; }
.section--light .eyebrow::before { background: #0a58d0; }
.section--light a { color: #0a4bcc; }
.section--light a:hover { color: #002f8a; }
.section--light .muted { color: #5b6472; }
.section-head { max-width: 720px; margin-bottom: clamp(26px, 3.4vw, 46px); }
.section-head.center { margin-inline: auto; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(26px, 4vw, 58px); align-items: center; }
.split--wide { grid-template-columns: 1.08fr .92fr; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(16px, 2.2vw, 26px); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.2vw, 24px); }

.card { border: 1px solid var(--line); border-radius: var(--r); padding: clamp(20px, 2.2vw, 28px); background: rgba(255, 255, 255, .025); }
.card p { font-size: .95rem; margin-bottom: 0; }
.card .num { font-size: .74rem; font-weight: 700; letter-spacing: .14em; color: var(--cyan); display: block; margin-bottom: .7rem; }
.section--light .card { background: #f6f8fc; border-color: #e2e8f2; }
.section--light .card .num { color: #0a58d0; }

.figure { margin: 0; }
.figure img { width: 100%; border-radius: var(--r); border: 1px solid var(--line); }
.figure figcaption { font-size: .8rem; color: var(--soft); margin-top: .6rem; }
.section--light .figure figcaption { color: #5b6472; }

.steps { display: grid; gap: .2rem; }
.step { display: grid; grid-template-columns: 56px 1fr; gap: 1.1rem; padding: 1.25rem 0; border-top: 1px solid var(--line); }
.step:last-child { border-bottom: 1px solid var(--line); }
.section--light .step { border-color: #e2e8f2; }
.step .n { font-size: 1.35rem; font-weight: 700; color: var(--cyan); line-height: 1; }
.section--light .step .n { color: #0a58d0; }
.step h3 { margin-bottom: .2rem; }
.step p { font-size: .96rem; margin: 0; }

.quote { margin: 0; padding: clamp(22px, 3vw, 38px); border: 1px solid var(--line-2); border-radius: var(--r-lg); background: linear-gradient(150deg, rgba(0,51,255,.18), rgba(0,204,204,.1)); }
.quote blockquote { margin: 0; font-size: clamp(1.15rem, 2.2vw, 1.6rem); line-height: 1.4; color: #fff; font-weight: 600; letter-spacing: -.02em; }
.quote figcaption { margin-top: .9rem; font-size: .82rem; color: var(--soft); }

.callout { border: 1px solid var(--line-2); border-radius: var(--r); padding: clamp(18px, 2.2vw, 26px); background: rgba(255,255,255,.03); }
.callout h3, .callout h4 { margin-bottom: .35rem; }
.callout p { font-size: .95rem; }
.notice { border: 1px solid var(--line-2); border-radius: var(--r); padding: 1.05rem 1.25rem; font-size: .92rem; background: rgba(255,255,255,.03); }
.section--light .notice { background: #f6f8fc; border-color: #e2e8f2; color: #39404c; }

.checks { list-style: none; padding: 0; margin: 0; }
.checks li { position: relative; padding-left: 1.5rem; margin-bottom: .55rem; font-size: .96rem; }
.checks li::before { content: ''; position: absolute; left: 0; top: .52em; width: 9px; height: 5px; border-left: 2px solid var(--cyan); border-bottom: 2px solid var(--cyan); transform: rotate(-45deg); }
.section--light .checks li::before { border-color: #0a58d0; }

.specs { list-style: none; margin: 0; padding: 0; }
.specs li { display: grid; grid-template-columns: 160px 1fr; gap: 1rem; padding: .75rem 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.specs li:first-child { border-top: 1px solid var(--line); }
.section--light .specs li { border-color: #e2e8f2; }
.specs .k { font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--soft); padding-top: .2rem; }
.section--light .specs .k { color: #5b6472; }

/* video */
.video-block { max-width: 860px; margin-inline: auto; }
.video-facade { position: relative; display: block; width: 100%; padding: 0; border: 1px solid var(--line-2); cursor: pointer; background: #000; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16 / 9; }
.video-facade img { width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.video-facade::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.4)); }
.video-facade .video-play { position: absolute; inset: 0; margin: auto; width: 66px; height: 66px; border-radius: 50%; background: #fff; color: var(--ink); display: flex; align-items: center; justify-content: center; z-index: 2; }
.video-facade .video-play svg { width: 22px; height: 22px; margin-left: 3px; }
.video-facade .label { position: absolute; left: 16px; bottom: 14px; z-index: 2; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #fff; }
.video-embed { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-lg); overflow: hidden; background: #000; }
.video-embed video { width: 100%; height: 100%; display: block; }
.figure-note { font-size: .82rem; color: var(--soft); margin-top: .8rem; text-align: center; }

/* cta */
.cta-band { position: relative; overflow: hidden; padding: clamp(52px, 7vw, 96px) 0; border-top: 1px solid var(--line); }
.cta-band::before { content: ''; position: absolute; inset: 0; background: radial-gradient(50% 70% at 50% 0%, rgba(0,51,255,.35), transparent 70%); pointer-events: none; }
.cta-band .wrap { position: relative; z-index: 1; }

/* footer */
.site-footer { border-top: 1px solid var(--line); background: #03050a; padding: clamp(36px, 5vw, 58px) 0 1.6rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.1fr; gap: clamp(20px, 3vw, 38px); padding-bottom: 1.8rem; }
.site-footer h4 { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: .8rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; font-size: .9rem; }
.site-footer li + li { margin-top: .4rem; }
.site-footer a { color: rgba(255, 255, 255, .6); }
.site-footer a:hover { color: #fff; }
.footer-brand { display: flex; flex-direction: column; gap: .6rem; }
.footer-brand .mark { display: flex; align-items: center; gap: .6rem; }
.footer-brand img { width: 30px; height: 30px; border-radius: 7px; }
.footer-brand b { color: #fff; }
.footer-brand p { font-size: .88rem; max-width: 38ch; }
.footer-bottom { border-top: 1px solid var(--line); padding-top: 1rem; display: flex; flex-wrap: wrap; gap: .5rem 1.3rem; justify-content: space-between; font-size: .8rem; color: var(--soft); }
.footer-bottom .disc { max-width: 64ch; }

.to-top { position: fixed; right: 18px; bottom: 18px; z-index: 80; width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--ink-2); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s ease; }
.to-top[data-show="true"] { opacity: 1; pointer-events: auto; }
.to-top:hover { transform: translateY(-2px); }

.reveal { opacity: 0; transform: translateY(14px); transition: opacity .55s ease, transform .55s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------------------------------------------------------- responsive */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-card { order: -1; }
  .hero-card img { aspect-ratio: 16 / 10; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav, .nav-cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .split, .split--wide { grid-template-columns: 1fr; }
  .specs li { grid-template-columns: 120px 1fr; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .specs li { grid-template-columns: 1fr; gap: .2rem; }
  .hero { padding-top: 40px; }
  .hero-actions .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
@media print {
  .site-header, .drawer, .scrim, .to-top { display: none !important; }
  body { color: #000; background: #fff; }
  .section, .cta-band, .site-footer { background: #fff !important; color: #000 !important; border-color: #ddd !important; }
  h1, h2, h3, h4 { color: #000 !important; }
  a { color: #000; text-decoration: underline; }
}
