/* ==========================================================================
   BlueRock Media — V4 Fusion (confirmed baseline, no marquee) + A.1 uplift
   Baseline : BlueRock_Website_V4_Fusion_NoMarquee/index.html — palette, type,
              pill buttons, rotated glass sheets, morphing blobs, lines, grid,
              beam, sparkles, floating orbs, icon cards, coming-soon card, panels.
   A.1      : ambient light +35%, main logo glass card with slow diagonal sweep,
              rings 30s / 40s reverse / 52s with highlight dots, hero particles,
              desktop pointer parallax, reveal safety net, coming-soon shimmer.
   All motion is transform / opacity / border-radius / background-position.
   ========================================================================== */

:root {
  --bg: #06101d;
  --bg2: #091425;
  --text: #f8fbff;
  --muted: #a6b2c1;
  --line: rgba(255, 255, 255, .10);
  --cyan: #28ccf5;
  --blue: #136fe9;
  --purple: #4964ff;
  --font: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Arial,
          "Noto Sans", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  --px: 0px;   /* pointer parallax, set per element by main.js */
  --py: 0px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  color: var(--text);
  font-family: var(--font);
  background: linear-gradient(180deg, #06101d, #091425 55%, #06101d);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
html:lang(zh-TW) body { font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", "PingFang TC", "Microsoft JhengHei", "Noto Sans CJK TC", "Noto Sans TC", sans-serif; }
html:lang(ja) body { font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "Yu Gothic", Meiryo, "Noto Sans JP", "Noto Sans CJK JP", sans-serif; }
html:lang(ko) body { font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", "Noto Sans CJK KR", sans-serif; word-break: keep-all; }
/* CJK headings: the baseline's -.055em tracking is for Latin only. */
html:lang(zh-CN) h1, html:lang(zh-TW) h1, html:lang(ja) h1, html:lang(ko) h1 { letter-spacing: -.02em; line-height: 1.12; }
html:lang(zh-CN) h2, html:lang(zh-TW) h2, html:lang(ja) h2, html:lang(ko) h2 { letter-spacing: -.01em; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(1180px, 92vw); margin: auto; position: relative; z-index: 3; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--blue); color: #fff; padding: 10px 14px; border-radius: 999px; transition: top .2s; }
.skip:focus { top: 12px; }

/* ===== Fusion ambient background: V1 + V3 (A.1: ~35% brighter) ===== */
.bg {
  position: fixed; inset: -2%; overflow: hidden; pointer-events: none; z-index: 0;
  background:
    radial-gradient(circle at 12% 18%, rgba(39, 203, 245, .17), transparent 22%),
    radial-gradient(circle at 82% 22%, rgba(23, 111, 233, .25), transparent 27%),
    radial-gradient(circle at 52% 78%, rgba(73, 100, 255, .14), transparent 24%),
    linear-gradient(180deg, #06101d, #091425 55%, #06101d);
  transform: translate3d(var(--px), var(--py), 0);
}
.blob {
  position: absolute;
  border-radius: 44% 56% 54% 46% / 47% 38% 62% 53%;
  filter: blur(3px);
  mix-blend-mode: screen;
  opacity: .30;
  will-change: transform, border-radius;
}
.b1 { width: 620px; height: 620px; left: -210px; top: -120px;
  background: linear-gradient(135deg, #1ee1ff, #0d5eff);
  animation: morph 18s ease-in-out infinite alternate, floatA 16s ease-in-out infinite; }
.b2 { width: 480px; height: 480px; right: -140px; top: 120px;
  background: linear-gradient(135deg, #3f63ff, #0cc8ff);
  animation: morph 22s ease-in-out infinite alternate-reverse, floatB 19s ease-in-out infinite; }
.b3 { width: 360px; height: 360px; left: 48%; bottom: -180px;
  background: linear-gradient(135deg, #1ea0ff, #493cff); opacity: .20;
  animation: morph 16s ease-in-out infinite alternate, floatA 22s ease-in-out infinite reverse; }
.aurora {
  position: absolute; inset: -15%;
  background:
    radial-gradient(circle at 20% 20%, rgba(45, 201, 255, .22), transparent 20%),
    radial-gradient(circle at 76% 18%, rgba(27, 111, 234, .25), transparent 26%),
    radial-gradient(circle at 55% 75%, rgba(88, 120, 255, .12), transparent 24%);
  filter: blur(28px);
  animation: auroraMove 18s ease-in-out infinite alternate;
  will-change: transform;
}
.lines {
  position: absolute; inset: -10%;
  background: repeating-linear-gradient(115deg, rgba(255, 255, 255, .034) 0 1px, transparent 1px 78px);
  animation: moveLines 18s linear infinite;
  will-change: transform;
}
.grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px);
  background-size: 72px 72px;
  opacity: .18;
  -webkit-mask-image: radial-gradient(circle at center, black 32%, transparent 88%);
          mask-image: radial-gradient(circle at center, black 32%, transparent 88%);
  animation: gridDrift 30s linear infinite;
  will-change: transform;
}
.beam {
  position: absolute; inset: -20% -45%;
  background: linear-gradient(115deg, transparent 45%, rgba(255, 255, 255, .06) 50%, transparent 55%);
  animation: beamSweep 12s linear infinite;
  will-change: transform;
}
.sparkles {
  position: absolute; inset: 0; opacity: .22;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, .42) 1px, transparent 1.5px),
    radial-gradient(circle, rgba(110, 210, 255, .28) 1px, transparent 1.6px);
  background-size: 220px 220px, 320px 320px;
  background-position: 0 0, 80px 120px;
  animation: sparklePulse 8s ease-in-out infinite;
}
.orb {
  position: absolute; border-radius: 50%;
  border: 1px solid rgba(125, 210, 255, .14);
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, .14), rgba(50, 140, 255, .06) 45%, transparent 70%);
  box-shadow: 0 0 80px rgba(36, 132, 255, .07);
  will-change: transform;
}
.o1 { width: 330px; height: 330px; left: -120px; top: 20%; animation: floatOrb1 20s ease-in-out infinite; }
.o2 { width: 220px; height: 220px; right: 8%; top: 58%; animation: floatOrb2 24s ease-in-out infinite; }
.o3 { width: 130px; height: 130px; right: 16%; top: 12%; animation: floatOrb3 16s ease-in-out infinite; }

/* ===== header ===== */
.site-header {
  position: sticky; top: 0; z-index: 30;
  background: rgba(6, 16, 29, .62);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}
.nav { height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; flex: 0 0 auto; }
.brand img {
  width: 190px;
  filter: drop-shadow(0 0 18px rgba(43, 188, 242, .08));
  transition: transform .35s ease, filter .35s ease;
}
.brand img:hover { transform: translateY(-1px) scale(1.012); filter: drop-shadow(0 0 22px rgba(43, 188, 242, .14)); }
.links { display: flex; gap: 26px; margin-right: auto; margin-left: 8px; }
.links a { color: #c9d4e2; font-size: 14px; font-weight: 600; letter-spacing: .01em; position: relative; }
.links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: var(--cyan); transform: scaleX(0); transform-origin: left; transition: transform .3s ease; }
.links a:hover { color: #fff; }
.links a:hover::after { transform: scaleX(1); }

/* ===== language dropdown (replaces the baseline's three pills) ===== */
.lang { position: relative; flex: 0 0 auto; }
.lang__btn {
  display: inline-flex; align-items: center; gap: 8px;
  height: 38px; padding: 0 13px;
  font: inherit; font-size: 12.5px; font-weight: 800; color: #fff;
  border: 1px solid rgba(255, 255, 255, .12); background: rgba(255, 255, 255, .045);
  border-radius: 999px; cursor: pointer; transition: .2s ease;
}
.lang__btn:hover, .lang.is-open .lang__btn { transform: translateY(-1px); background: rgba(255, 255, 255, .08); border-color: rgba(111, 206, 255, .3); }
.lang__globe { width: 15px; height: 15px; color: var(--cyan); flex: 0 0 auto; }
.lang__short { letter-spacing: .06em; color: #9fe7ff; }
.lang__name { color: #dbe6f2; font-weight: 600; }
.lang__chev { width: 12px; height: 12px; color: #9aa9bb; transition: transform .2s; }
.lang.is-open .lang__chev { transform: rotate(180deg); }
.lang__panel {
  position: absolute; right: 0; top: calc(100% + 10px); min-width: 250px;
  background: rgba(6, 16, 29, .84);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  border: 1px solid rgba(111, 206, 255, .22); border-radius: 16px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .06);
  padding: 8px;
  opacity: 0; transform: translateY(-6px) scale(.98); transform-origin: top right;
  visibility: hidden; pointer-events: none;
  transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s;
}
.lang.is-open .lang__panel { opacity: 1; transform: none; visibility: visible; pointer-events: auto; transition-delay: 0s; }
.lang__title { font-size: 11px; letter-spacing: .15em; text-transform: uppercase; color: #76dfff; font-weight: 900; padding: 6px 10px 8px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.lang__menu { list-style: none; margin: 0; padding: 0; }
.lang__item {
  display: grid; grid-template-columns: 34px 1fr 18px; align-items: center; gap: 8px;
  width: 100%; padding: 9px 10px; border: 0; border-radius: 10px;
  font: inherit; font-size: 14px; color: #dbe6f2; text-align: left;
  background: transparent; cursor: pointer; transition: background .15s, color .15s;
}
.lang__item:hover, .lang__item:focus-visible { background: rgba(40, 204, 245, .12); color: #fff; outline: none; }
.lang__code { font-size: 12px; font-weight: 800; letter-spacing: .05em; color: #9fe7ff; }
.lang__check { opacity: 0; color: var(--cyan); font-weight: 800; }
.lang__item[aria-checked="true"] { color: #fff; }
.lang__item[aria-checked="true"] .lang__check { opacity: 1; }

/* ===== hero ===== */
.hero-section { position: relative; overflow: hidden; }
.hero__glow {
  position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background:
    radial-gradient(40% 55% at 10% 20%, rgba(45, 201, 255, .16), transparent 70%),
    radial-gradient(36% 44% at 80% 45%, rgba(40, 204, 245, .14), transparent 70%),
    radial-gradient(60% 40% at 50% 100%, rgba(73, 100, 255, .18), transparent 70%);
  animation: heroGlow 12s ease-in-out infinite alternate;
}
.hero__particles { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.hero__particles i {
  position: absolute; border-radius: 50%;
  background: radial-gradient(circle, #fff 0%, #9fe7ff 45%, rgba(159, 231, 255, 0) 75%);
  animation: particle 18s ease-in-out infinite alternate;
  will-change: transform, opacity;
}
.hero__particles i.is-glow { box-shadow: 0 0 14px 3px rgba(80, 210, 255, .55); }

.hero {
  min-height: 78vh;
  display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px;
  align-items: center; padding: 84px 0;
}
.tag {
  display: inline-flex; gap: 9px; align-items: center;
  border: 1px solid rgba(95, 199, 255, .2);
  background: rgba(27, 128, 230, .07);
  border-radius: 999px; padding: 8px 12px;
  color: #9fe7ff; font-size: 12px; font-weight: 900;
  letter-spacing: .08em; text-transform: uppercase;
}
.tag i { width: 7px; height: 7px; border-radius: 50%; background: #35d5ff; box-shadow: 0 0 18px #35d5ff; }
.hero h1 {
  font-size: clamp(48px, 6.2vw, 88px);
  line-height: .97; letter-spacing: -.055em;
  margin: 18px 0 25px; max-width: 820px; font-weight: 800;
}
.hero h1 span {
  background: linear-gradient(90deg, #fff, #d9eefb 55%, #8fc6ff);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: titleGlow 8s ease-in-out infinite;
}
.lead { font-size: 19px; line-height: 1.8; color: var(--muted); max-width: 760px; margin: 0; }
.actions { display: flex; gap: 12px; margin-top: 34px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 18px; border-radius: 999px;
  font-weight: 850; border: 1px solid transparent; transition: .22s ease;
}
.btn:hover { transform: translateY(-2px); }
.primary { background: #f6f8fb; color: #0b1220; box-shadow: 0 10px 30px rgba(255, 255, 255, .04); }
.secondary { border-color: rgba(255, 255, 255, .12); background: rgba(255, 255, 255, .03); }

/* hero art — halo → glass sheets → rings → main logo card → logo */
.hero-art { position: relative; min-height: 520px; display: grid; place-items: center; }
.art-layer { position: absolute; inset: 0; display: grid; place-items: center; transform: translate3d(var(--px), var(--py), 0); will-change: transform; }
.glass {
  position: absolute; width: 420px; height: 420px; border-radius: 32px; transform: rotate(9deg);
  background: linear-gradient(145deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .025));
  border: 1px solid rgba(255, 255, 255, .11);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .26);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  animation: tilt 8s ease-in-out infinite;
  will-change: transform;
}
.glass.g2 { width: 320px; height: 320px; transform: rotate(-10deg); opacity: .65; animation: tilt2 9s ease-in-out infinite; }
.halo {
  position: absolute; width: 380px; height: 380px; border-radius: 50%;
  background: radial-gradient(circle, rgba(40, 190, 246, .24), rgba(23, 110, 232, .12) 40%, transparent 68%);
  filter: blur(6px); animation: pulse 6s ease-in-out infinite;
  will-change: transform, opacity;
}
.ring { position: absolute; border: 1px solid rgba(110, 205, 255, .2); border-radius: 50%; will-change: transform; }
.ring::after { content: ""; position: absolute; width: 5px; height: 5px; border-radius: 50%; left: 50%; top: -3px; margin-left: -2.5px; background: #9fe7ff; box-shadow: 0 0 10px 2px rgba(80, 210, 255, .8); }
.r1 { width: 310px; height: 310px; animation: spin 40s linear infinite reverse; }
.r2 { width: 420px; height: 420px; animation: spin 30s linear infinite; }
.r3 { width: 235px; height: 235px; opacity: .55; animation: spin 52s linear infinite; }
.r3::after { display: none; }
/* A.1: main logo card with a slow top-left → bottom-right highlight. */
.logo-card {
  position: relative; width: min(470px, 92%); padding: 52px 30px;
  border-radius: 26px;
  background: linear-gradient(150deg, rgba(255, 255, 255, .10), rgba(255, 255, 255, .03));
  border: 1px solid rgba(255, 255, 255, .16);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .32), 0 0 60px rgba(40, 190, 246, .10), inset 0 1px 0 rgba(255, 255, 255, .18);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  animation: logoFloat 7s ease-in-out infinite;
  overflow: hidden; will-change: transform;
}
.logo-card::after {
  content: ""; position: absolute; top: -60%; left: -60%; width: 55%; height: 220%;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .09) 45%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .09) 55%, rgba(255, 255, 255, 0) 100%);
  transform: rotate(28deg) translate3d(-140%, -20%, 0);
  animation: cardHighlight 8.5s ease-in-out infinite;
  pointer-events: none;
}
.build-text {
  position: relative; z-index: 3; text-align: center;
  font-size: clamp(26px, 2.7vw, 38px); font-weight: 800; line-height: 1.15; letter-spacing: -.02em;
  background: linear-gradient(90deg, #fff, #d9eefb 55%, #8fc6ff);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: titleGlow 8s ease-in-out infinite;
  transform: translate3d(var(--px), var(--py), 0);
  filter: drop-shadow(0 12px 30px rgba(0, 0, 0, .35));
}
html:lang(zh-CN) .build-text, html:lang(zh-TW) .build-text, html:lang(ja) .build-text, html:lang(ko) .build-text { letter-spacing: .04em; }
.art-line {
  position: absolute; width: 430px; max-width: 90%; height: 2px; bottom: 54px;
  background: linear-gradient(90deg, transparent, rgba(79, 194, 255, .38), transparent);
  animation: linePulse 4.5s ease-in-out infinite;
}

/* ===== sections ===== */
section { padding: 74px 0; position: relative; }
.kicker { font-size: 12px; letter-spacing: .15em; text-transform: uppercase; color: #76dfff; font-weight: 900; }
.head { max-width: 760px; margin-bottom: 30px; }
.head h2, .coming h2 { font-size: clamp(34px, 4vw, 54px); letter-spacing: -.04em; margin: 9px 0 12px; font-weight: 800; line-height: 1.08; }
.head p { margin: 0; color: var(--muted); line-height: 1.7; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card {
  min-height: 210px;
  border: 1px solid rgba(255, 255, 255, .1);
  background: linear-gradient(180deg, rgba(255, 255, 255, .065), rgba(255, 255, 255, .028));
  border-radius: 22px; padding: 24px; position: relative; overflow: hidden;
  transition: .22s;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  will-change: transform;
}
.card::before {
  content: ""; position: absolute; width: 180px; height: 180px; border-radius: 50%;
  right: -80px; bottom: -80px;
  background: radial-gradient(circle, rgba(46, 199, 255, .18), transparent 68%);
}
.card:hover { transform: translateY(-6px); border-color: rgba(110, 210, 255, .22); box-shadow: 0 22px 48px rgba(0, 0, 0, .3); }
.icon {
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(41, 206, 247, .16), rgba(20, 111, 234, .18));
  border: 1px solid rgba(255, 255, 255, .1); font-size: 18px; color: #bcecff; margin-bottom: 20px;
}
.card h3 { margin: 0 0 12px; font-size: 18px; position: relative; }
.card p { margin: 0; color: var(--muted); line-height: 1.65; font-size: 14px; position: relative; }

.coming {
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 26px; background: rgba(255, 255, 255, .035);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); padding: 38px;
  display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center;
  overflow: hidden; position: relative;
}
.coming::before {
  content: ""; position: absolute; inset: -40%;
  background: linear-gradient(115deg, transparent 45%, rgba(255, 255, 255, .06) 50%, transparent 55%);
  animation: cardSweep 10s linear infinite;
}
.coming::after {
  content: ""; position: absolute; width: 320px; height: 320px; border-radius: 50%;
  right: -120px; top: -140px; background: radial-gradient(circle, rgba(43, 204, 245, .18), transparent 70%);
}
.coming > * { position: relative; z-index: 2; }
.coming h2 { font-size: clamp(32px, 4vw, 48px); margin: 6px 0 12px; }
.coming h2 .shimmer {
  background: linear-gradient(100deg, #fff 0%, #d9eefb 30%, #8fe4ff 50%, #d9eefb 70%, #fff 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 5s linear infinite;
}
.coming p { color: var(--muted); line-height: 1.75; max-width: 820px; margin: 0; }
.pill {
  border: 1px solid rgba(111, 206, 255, .24);
  border-radius: 999px; padding: 10px 14px;
  color: #9fe3ff; font-size: 13px; font-weight: 850; white-space: nowrap;
  background: rgba(83, 170, 255, .025);
}

.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.panel {
  border: 1px solid rgba(255, 255, 255, .1); border-radius: 22px; padding: 28px;
  background: rgba(255, 255, 255, .035);
  -webkit-backdrop-filter: blur(9px); backdrop-filter: blur(9px);
  position: relative; overflow: hidden;
}
.panel::after {
  content: ""; position: absolute; width: 180px; height: 180px; border-radius: 50%;
  top: -90px; right: -70px; background: radial-gradient(circle, rgba(55, 150, 255, .09), transparent 70%);
}
.panel h3 { margin: 0 0 12px; position: relative; z-index: 1; font-size: 18px; }
.row { padding: 14px; border-radius: 14px; background: rgba(255, 255, 255, .028); margin-top: 12px; position: relative; z-index: 1; }
.row small { display: block; color: #758499; margin-bottom: 4px; font-size: 13px; }
.row a, .row span { color: #dce5ef; word-break: break-word; }
.row a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

footer { border-top: 1px solid rgba(255, 255, 255, .07); padding: 28px 0 40px; color: #7c8a9a; font-size: 13px; }
.foot { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }

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

/* animations */
@keyframes morph {
  0%   { border-radius: 44% 56% 54% 46% / 47% 38% 62% 53%; }
  50%  { border-radius: 57% 43% 35% 65% / 45% 58% 42% 55%; }
  100% { border-radius: 38% 62% 59% 41% / 62% 45% 55% 38%; }
}
@keyframes floatA { 50% { transform: translate3d(40px, -28px, 0) rotate(8deg) scale(1.06); } }
@keyframes floatB { 50% { transform: translate3d(-26px, 36px, 0) rotate(-8deg) scale(.95); } }
@keyframes auroraMove { 0% { transform: translate3d(-2%, 0, 0) scale(1); } 100% { transform: translate3d(2.5%, -2%, 0) scale(1.06); } }
@keyframes moveLines { to { transform: translateX(120px); } }
@keyframes gridDrift { to { transform: translate3d(72px, 72px, 0); } }
@keyframes beamSweep { 0% { transform: translateX(-14%); } 100% { transform: translateX(14%); } }
@keyframes sparklePulse { 0%, 100% { opacity: .16; } 50% { opacity: .32; } }
@keyframes floatOrb1 { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(24px, -18px); } }
@keyframes floatOrb2 { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-16px, 20px); } }
@keyframes floatOrb3 { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes titleGlow { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 0%, 100% { transform: scale(1); opacity: .9; } 50% { transform: scale(1.08); opacity: .72; } }
@keyframes tilt { 50% { transform: rotate(13deg) translateY(-10px); } }
@keyframes tilt2 { 50% { transform: rotate(-14deg) translateY(10px); } }
@keyframes logoFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes linePulse { 0%, 100% { opacity: .32; transform: scaleX(.88); } 50% { opacity: .85; transform: scaleX(1.06); } }
@keyframes cardSweep { 0% { transform: translateX(-18%); } 100% { transform: translateX(18%); } }
@keyframes cardHighlight { 0%, 18% { transform: rotate(28deg) translate3d(-140%, -20%, 0); } 62%, 100% { transform: rotate(28deg) translate3d(340%, 20%, 0); } }
@keyframes heroGlow { from { opacity: .8; } to { opacity: 1; } }
@keyframes shimmer { from { background-position: 150% 0; } to { background-position: -150% 0; } }
@keyframes particle { 0% { transform: translate3d(0, 0, 0); } 50% { transform: translate3d(16px, -30px, 0); } 100% { transform: translate3d(-20px, -56px, 0); opacity: .08; } }

/* ===== responsive (baseline breakpoints 900 / 560) ===== */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 62px; }
  .hero-art { min-height: 400px; order: -1; }   /* A.1: visual above the copy on mobile */
  .cards { grid-template-columns: 1fr 1fr; }
  .coming { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; }
  .links { display: none; }
  .lang__name { display: none; }
  .r2 { width: 380px; height: 380px; }
  .glass { width: 360px; height: 360px; }
  .glass.g2 { width: 270px; height: 270px; }
  .logo-card { width: min(400px, 88%); padding: 40px 22px; }
}
@media (max-width: 560px) {
  .brand img { width: 150px; }
  .nav { height: 64px; }
  .hero { padding: 40px 0 54px; }
  .hero-art { min-height: 330px; }
  .hero h1 { font-size: clamp(40px, 12vw, 56px); }
  .lead { font-size: 17px; }
  .actions .btn { flex: 1 1 auto; }
  .glass { width: 300px; height: 300px; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
  .glass.g2 { width: 220px; height: 220px; }
  .halo { width: 300px; height: 300px; }
  .r1 { width: 250px; height: 250px; }
  .r2 { width: 320px; height: 320px; }
  .r3 { width: 190px; height: 190px; }
  .logo-card { width: min(320px, 86%); padding: 32px 18px; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
  .build-text { font-size: 24px; }
  .art-line { bottom: 30px; }
  .cards { grid-template-columns: 1fr; }
  .card { -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
  .o3 { display: none; }
  .b3 { display: none; }
  .beam { display: none; }
  .lang__panel { min-width: 244px; }
  .foot { flex-direction: column; }
}

/* ===== reduced motion: keep the static look, stop every loop ===== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .blob, .aurora, .lines, .grid, .beam, .sparkles, .orb, .hero__glow, .hero__particles i,
  .hero h1 span, .build-text, .glass, .halo, .ring, .logo-card, .logo-card::after, .art-line,
  .coming::before, .coming h2 .shimmer { animation: none !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .card, .lang__panel, .lang__chev, .brand img { transition: none; }
}
