:root {
  --bg: #14161f;
  --bg-2: #1b1e2b;
  --panel: #242838;
  --panel-2: #2d3247;
  --line: #0a0b12;
  --text: #f4f6ff;
  --muted: #a4abc4;
  --blue: #00a2ff;
  --blue-d: #0070b8;
  --green: #02b757;
  --green-d: #017a3a;
  --red: #ff4b4b;
  --red-d: #b52626;
  --yellow: #ffc83d;
  --yellow-d: #c4901a;
  --purple: #8a5cff;
  --purple-d: #5835b8;
  --radius: 14px;
  --font-head: "Fredoka", "Trebuchet MS", sans-serif;
  --font-body: "Nunito", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--bg);
  background-image:
    radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.05) 1.5px, transparent 0),
    linear-gradient(180deg, #181b29 0%, #12141c 100%);
  background-size: 28px 28px, 100% 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main { flex: 1; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.2px;
}

:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 8px; }

.container { width: min(1160px, 100% - 40px); margin-inline: auto; }
.section { padding: 84px 0; }
.section.alt { background: rgba(255, 255, 255, 0.025); border-block: 3px solid var(--line); }

.sec-head { text-align: center; margin-bottom: 48px; }
.sec-head .tag { margin-bottom: 14px; }
.sec-head h2 { font-size: clamp(2rem, 4.5vw, 3rem); }
.sec-head p { color: var(--muted); max-width: 620px; margin: 12px auto 0; }

.tag {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 999px;
  border: 3px solid var(--line);
  background: var(--yellow);
  color: #2b1f00;
  box-shadow: 0 3px 0 var(--line);
}
.tag.blue { background: var(--blue); color: #fff; }
.tag.green { background: var(--green); color: #fff; }
.tag.purple { background: var(--purple); color: #fff; }
.tag.red { background: var(--red); color: #fff; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.2;
  padding: 12px 26px 16px;
  border: 3px solid var(--line);
  border-radius: 12px;
  color: #fff;
  background: var(--blue);
  box-shadow: inset 0 -6px 0 rgba(0, 0, 0, 0.28), inset 0 3px 0 rgba(255, 255, 255, 0.22), 0 5px 0 var(--line);
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.3);
  cursor: pointer;
  transition: transform 0.08s ease, box-shadow 0.08s ease, filter 0.15s;
  margin-bottom: 5px;
}
.btn:hover { filter: brightness(1.1); }
.btn:active {
  transform: translateY(4px);
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.28), inset 0 3px 0 rgba(255, 255, 255, 0.22), 0 1px 0 var(--line);
}
.btn.green { background: var(--green); }
.btn.yellow { background: var(--yellow); color: #2b1f00; text-shadow: 0 2px 0 rgba(255, 255, 255, 0.35); }
.btn.ghost { background: var(--panel-2); }
.btn.sm { font-size: 0.92rem; padding: 8px 18px 12px; }
.btn.block { width: 100%; }

.card {
  background: var(--panel);
  border: 3px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 6px 0 var(--line);
  position: relative;
}

.grid { display: grid; gap: 28px; }
.grid.c2 { grid-template-columns: repeat(2, 1fr); }
.grid.c3 { grid-template-columns: repeat(3, 1fr); }
.grid.c4 { grid-template-columns: repeat(4, 1fr); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(20, 22, 31, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 4px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }

.brand { display: flex; align-items: center; gap: 12px; font-family: var(--font-head); font-weight: 700; font-size: 1.5rem; }
.brand-mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  background: var(--blue);
  border: 3px solid var(--line);
  border-radius: 10px;
  box-shadow: inset 0 -5px 0 rgba(0, 0, 0, 0.28), inset 0 3px 0 rgba(255, 255, 255, 0.22), 0 4px 0 var(--line);
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.3);
  transform: rotate(-6deg);
  font-size: 1.3rem;
  color: #fff;
}
.brand em { font-style: normal; color: var(--blue); }

.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  font-family: var(--font-head);
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 10px;
  color: var(--muted);
  border: 3px solid transparent;
  transition: all 0.15s;
}
.nav-links a:hover { color: #fff; background: var(--panel); }
.nav-links a.active { color: #fff; background: var(--panel-2); border-color: var(--line); box-shadow: 0 3px 0 var(--line); }

.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-cta .btn { margin-bottom: 5px; }

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  background: var(--panel-2);
  border: 3px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 4px 0 var(--line);
  cursor: pointer;
  color: #fff;
  font-size: 1.4rem;
  font-family: var(--font-head);
}

.hero { position: relative; overflow: hidden; padding: 80px 0 100px; }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 400px at 85% 20%, rgba(0, 162, 255, 0.22), transparent 70%),
    radial-gradient(500px 360px at 5% 90%, rgba(138, 92, 255, 0.18), transparent 70%);
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; position: relative; }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); margin: 18px 0 20px; text-shadow: 0 5px 0 var(--line); }
.hero h1 .hl { color: var(--blue); }
.hero h1 .hl2 { color: var(--yellow); }
.hero p.lead { color: var(--muted); font-size: 1.15rem; max-width: 540px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 32px; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 44px; max-width: 640px; }
.stat {
  --sc: var(--yellow);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 104px;
  padding: 14px 8px 18px;
  text-align: center;
  background: var(--panel);
  border: 3px solid var(--line);
  border-radius: 14px;
  box-shadow: inset 0 -8px 0 var(--sc), 0 5px 0 var(--line);
  transition: transform 0.12s;
}
.stat:hover { transform: translateY(-4px); }
.stat:nth-child(2) { --sc: var(--blue); }
.stat:nth-child(3) { --sc: var(--green); }
.stat:nth-child(4) { --sc: var(--purple); }
.stat b { font-family: var(--font-head); font-size: 2rem; line-height: 1; color: #fff; text-shadow: 0 3px 0 var(--line); }
.stat span { font-size: 0.78rem; line-height: 1.25; color: var(--muted); font-weight: 800; }

.stage {
  position: relative;
  height: 480px;
  background: linear-gradient(180deg, #1e7bff 0%, #46b4ff 55%, #b6e8ff 100%);
  border: 4px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 10px 0 var(--line), inset 0 0 80px rgba(0, 40, 120, 0.35);
  overflow: hidden;
  cursor: grab;
  touch-action: pan-y;
}
.stage .sky { position: absolute; inset: -30px; will-change: transform; }
.sunburst {
  position: absolute;
  left: 50%;
  top: 38%;
  width: 900px;
  height: 900px;
  margin: -450px 0 0 -450px;
  background: repeating-conic-gradient(from 0deg, rgba(255, 255, 255, 0.16) 0deg 10deg, transparent 10deg 20deg);
  -webkit-mask-image: radial-gradient(circle, #000 0%, transparent 62%);
  mask-image: radial-gradient(circle, #000 0%, transparent 62%);
  animation: spin2d 60s linear infinite;
}
.sun {
  position: absolute;
  right: 14%;
  top: 12%;
  width: 70px;
  height: 70px;
  background: #fff6b0;
  border: 3px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 0 50px 14px rgba(255, 240, 150, 0.7), inset 0 -6px 0 rgba(0, 0, 0, 0.12);
  animation: spin2d 40s linear infinite;
}
@keyframes spin2d { to { transform: rotate(360deg); } }
.cloud { position: absolute; background: #fff; border: 3px solid var(--line); border-radius: 8px; box-shadow: inset 0 -6px 0 rgba(0, 0, 0, 0.08); animation: drift 36s linear infinite; }
.cloud.c1 { width: 110px; height: 30px; top: 20%; left: -130px; }
.cloud.c2 { width: 80px; height: 24px; top: 58%; left: -100px; animation-duration: 48s; animation-delay: -20s; }
.cloud.c3 { width: 140px; height: 34px; top: 76%; left: -160px; animation-duration: 58s; animation-delay: -34s; opacity: 0.85; }
@keyframes drift { to { transform: translateX(760px); } }

.scene { position: absolute; inset: 0; perspective: 1200px; perspective-origin: 50% 40%; }
.tilt, .sway { position: absolute; left: 50%; top: 52%; width: 0; height: 0; transform-style: preserve-3d; }
.tilt { transform: rotateX(-16deg); scale: 0.82; }
.sway { left: 0; top: 0; animation: sway 9s ease-in-out infinite; }
@keyframes sway { 0%, 100% { transform: rotateY(-8deg); } 50% { transform: rotateY(8deg); } }
.world, .rig, .part, .box, .orb, .floater { transform-style: preserve-3d; }
.world { position: absolute; left: 0; top: 0; width: 0; height: 0; }
.part, .orb { position: absolute; }
.rig { position: absolute; left: 0; top: 0; animation: bobrig 2.4s ease-in-out infinite; }
.rig.hop { animation: hop 0.7s cubic-bezier(0.3, 0, 0.4, 1) 1; }
@keyframes bobrig { 50% { transform: translateY(-5px); } }
@keyframes hop { 0%, 100% { transform: translateY(0); } 45% { transform: translateY(-70px); } }

.box { position: relative; }
.face {
  position: absolute;
  left: 0;
  top: 0;
  backface-visibility: hidden;
  box-shadow: inset 0 0 0 3px rgba(10, 11, 18, 0.85);
  display: grid;
  place-items: center;
}
.studs {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.28) 0 7px, rgba(0, 0, 0, 0.22) 7px 9px, transparent 9px);
  background-size: 38px 38px;
}

.head .face.front { position: absolute; }
.eye { position: absolute; top: 22px; width: 8px; height: 13px; background: var(--line); border-radius: 4px; animation: blink 4.5s infinite; }
.eye.l { left: 15px; }
.eye.r { right: 15px; }
.mouth { position: absolute; left: 17px; right: 17px; top: 40px; height: 7px; border-bottom: 4px solid var(--line); border-radius: 0 0 10px 10px; }
@keyframes blink { 0%, 94%, 100% { transform: scaleY(1); } 97% { transform: scaleY(0.1); } }
.head { animation: nod 5s ease-in-out infinite; transform-origin: 50% 100%; }
@keyframes nod { 0%, 100% { transform: rotateX(0deg); } 50% { transform: rotateX(-6deg); } }
.glyph { font-family: var(--font-head); color: #fff; font-size: 1.3rem; text-shadow: 0 3px 0 rgba(0, 0, 0, 0.3); }

.arm { transform-origin: 50% 10px; }
.arm.r { animation: wave 1.1s ease-in-out infinite; }
.arm.l { animation: armswing 2.4s ease-in-out infinite; }
@keyframes wave { 0%, 100% { transform: rotateZ(-140deg); } 50% { transform: rotateZ(-170deg); } }
@keyframes armswing { 0%, 100% { transform: rotateX(10deg); } 50% { transform: rotateX(-10deg); } }
.leg { transform-origin: 50% 0; }
.leg.l { animation: legswing 2.4s ease-in-out infinite; }
.leg.r { animation: legswing 2.4s ease-in-out infinite reverse; }
@keyframes legswing { 0%, 100% { transform: rotateX(6deg); } 50% { transform: rotateX(-6deg); } }

.shadow {
  position: absolute;
  left: -50px;
  top: 161px;
  width: 100px;
  height: 100px;
  margin-top: -30px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 0, 0, 0.45), transparent 70%);
  transform: rotateX(90deg) translateZ(1px);
}

.floater { animation: floaty 4s ease-in-out infinite; }
@keyframes floaty { 50% { transform: translateY(-22px); } }
.spin { animation: spin3d 8s linear infinite; }
@keyframes spin3d { from { transform: rotateX(20deg) rotateY(0deg); } to { transform: rotateX(20deg) rotateY(360deg); } }
.orb .box { margin: 0; }
.oglyph { font-family: var(--font-head); color: #fff; text-shadow: 0 2px 0 rgba(0, 0, 0, 0.35); }

.bubble {
  position: absolute;
  right: 18px;
  top: 22px;
  z-index: 5;
  min-width: 150px;
  background: #fff;
  color: #14161f;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  padding: 8px 14px;
  border: 3px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 4px 0 var(--line);
  display: flex;
  align-items: center;
  pointer-events: none;
}
.bubble::after {
  content: "";
  position: absolute;
  left: 22px;
  bottom: -12px;
  width: 16px;
  height: 16px;
  background: #fff;
  border-right: 3px solid var(--line);
  border-bottom: 3px solid var(--line);
  transform: rotate(45deg);
}
.caret { width: 3px; height: 1.1em; margin-left: 3px; background: #14161f; animation: blinkc 0.8s steps(1) infinite; }
@keyframes blinkc { 50% { opacity: 0; } }

.spark { position: absolute; bottom: -12px; border: 2px solid var(--line); border-radius: 3px; opacity: 0; animation: rise linear infinite; pointer-events: none; }
@keyframes rise {
  0% { transform: translateY(0) rotate(0deg); opacity: 0; }
  10% { opacity: 1; }
  100% { transform: translateY(-520px) rotate(200deg); opacity: 0; }
}

.feature { padding: 28px; transition: transform 0.15s; }
.feature:hover { transform: translateY(-6px); }
.ico {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.5rem;
  color: #fff;
  border: 3px solid var(--line);
  border-radius: 14px;
  margin-bottom: 18px;
  box-shadow: inset 0 -6px 0 rgba(0, 0, 0, 0.2);
  background: var(--blue);
}
.ico.green { background: var(--green); }
.ico.yellow { background: var(--yellow); color: #2b1f00; }
.ico.purple { background: var(--purple); }
.ico.red { background: var(--red); }
.feature h3 { font-size: 1.4rem; margin-bottom: 8px; }
.feature p { color: var(--muted); }
.feature ul { margin-top: 14px; display: grid; gap: 6px; }
.feature li { color: var(--muted); font-size: 0.95rem; padding-left: 22px; position: relative; }
.feature li::before { content: ""; position: absolute; left: 0; top: 8px; width: 10px; height: 10px; background: var(--green); border: 2px solid var(--line); border-radius: 3px; }

.product { display: flex; flex-direction: column; overflow: hidden; transition: transform 0.15s; }
.product:hover { transform: translateY(-6px); }
.thumb {
  height: 170px;
  display: grid;
  place-items: center;
  border-bottom: 3px solid var(--line);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 3rem;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 4px 0 rgba(0, 0, 0, 0.3);
  position: relative;
  background-image: linear-gradient(135deg, var(--c1), var(--c2));
}
.thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.18) 1.5px, transparent 0);
  background-size: 18px 18px;
}
.thumb span { position: relative; z-index: 1; }
.thumb .tag { position: absolute; top: 12px; left: 12px; z-index: 2; font-size: 0.72rem; text-shadow: none; }
.thumb .tag.right { left: auto; right: 12px; }
.p-body { padding: 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.p-body h3 { font-size: 1.3rem; }
.p-body p { color: var(--muted); font-size: 0.95rem; flex: 1; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font-size: 0.75rem; font-weight: 800; padding: 3px 10px; border-radius: 6px; background: var(--bg); border: 2px solid var(--line); color: var(--muted); }
.p-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 6px; }
.price { font-family: var(--font-head); font-weight: 700; font-size: 1.5rem; color: var(--yellow); }
.price.free { color: var(--green); }
.price small { font-size: 0.75rem; color: var(--muted); font-weight: 600; }
.p-foot .btn { margin-bottom: 5px; }

.timeline { position: relative; max-width: 820px; margin: 0 auto; padding-left: 44px; }
.timeline::before { content: ""; position: absolute; left: 14px; top: 8px; bottom: 8px; width: 6px; background: var(--line); border-radius: 3px; }
.tl-item { position: relative; margin-bottom: 28px; padding: 22px 24px; }
.tl-item::before {
  content: "";
  position: absolute;
  left: -43px;
  top: 26px;
  width: 24px;
  height: 24px;
  background: var(--yellow);
  border: 3px solid var(--line);
  border-radius: 7px;
  box-shadow: 0 3px 0 var(--yellow-d);
}
.tl-item .year { font-family: var(--font-head); font-weight: 700; color: var(--blue); font-size: 0.95rem; letter-spacing: 1px; }
.tl-item h3 { font-size: 1.35rem; margin: 4px 0 6px; }
.tl-item p { color: var(--muted); }

.skill { margin-bottom: 18px; }
.skill-top { display: flex; justify-content: space-between; font-family: var(--font-head); font-weight: 600; margin-bottom: 6px; }
.bar { height: 20px; background: var(--bg); border: 3px solid var(--line); border-radius: 8px; overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; background: var(--blue); box-shadow: inset 0 -5px 0 rgba(0, 0, 0, 0.2); transition: width 1.1s cubic-bezier(0.2, 0.8, 0.2, 1); border-right: 3px solid var(--line); }
.bar i.green { background: var(--green); }
.bar i.yellow { background: var(--yellow); }
.bar i.purple { background: var(--purple); }

.about-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 44px; align-items: start; }
.profile { padding: 28px; text-align: center; }
.profile .pic { width: 150px; height: 150px; margin: 0 auto 18px; background: linear-gradient(135deg, var(--blue), var(--purple)); border: 4px solid var(--line); border-radius: 22px; display: grid; place-items: center; font-family: var(--font-head); font-size: 4rem; font-weight: 700; box-shadow: 0 6px 0 var(--line); }
.profile h3 { font-size: 1.6rem; }
.profile .role { color: var(--blue); font-weight: 800; margin-bottom: 14px; }
.profile .chips { justify-content: center; margin-top: 14px; }

.page-hero { padding: 70px 0 56px; text-align: center; position: relative; border-bottom: 4px solid var(--line); background: linear-gradient(180deg, rgba(0, 162, 255, 0.12), transparent); }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin: 14px 0 12px; text-shadow: 0 4px 0 var(--line); }
.page-hero p { color: var(--muted); max-width: 640px; margin: 0 auto; }

.toolbar { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; margin-bottom: 32px; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; }
.filter { font-family: var(--font-head); font-weight: 600; font-size: 0.95rem; padding: 8px 18px; background: var(--panel); color: var(--muted); border: 3px solid var(--line); border-radius: 10px; box-shadow: 0 4px 0 var(--line); cursor: pointer; transition: all 0.1s; }
.filter:hover { color: #fff; }
.filter.on { background: var(--blue); color: #fff; }
.filter:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--line); }
.search { min-width: 260px; }

input, textarea, select {
  width: 100%;
  font: inherit;
  font-weight: 700;
  color: var(--text);
  background: var(--bg);
  border: 3px solid var(--line);
  border-radius: 10px;
  padding: 11px 16px;
  box-shadow: inset 0 4px 0 rgba(0, 0, 0, 0.25);
}
input::placeholder, textarea::placeholder { color: #6b7290; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--blue); }
textarea { min-height: 150px; resize: vertical; }
label { display: block; font-family: var(--font-head); font-weight: 600; margin-bottom: 6px; }
.field { margin-bottom: 18px; }

.empty { text-align: center; padding: 60px 20px; color: var(--muted); display: none; }
.empty.show { display: block; }

.detail { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 36px; align-items: start; }
.detail .thumb { height: 340px; border: 3px solid var(--line); border-radius: var(--radius); font-size: 6rem; box-shadow: 0 6px 0 var(--line); }
.detail h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin: 10px 0; }
.buy { padding: 26px; position: sticky; top: 100px; }
.buy .price { font-size: 2.4rem; }
.buy ul { margin: 18px 0; display: grid; gap: 10px; }
.buy li { display: flex; justify-content: space-between; border-bottom: 2px dashed var(--panel-2); padding-bottom: 8px; color: var(--muted); font-size: 0.95rem; }
.buy li b { color: var(--text); }
.prose h2 { font-size: 1.6rem; margin: 30px 0 12px; }
.prose p { color: var(--muted); margin-bottom: 12px; }
.prose ul { display: grid; gap: 8px; }
.prose li { color: var(--muted); padding-left: 26px; position: relative; }
.prose li::before { content: ""; position: absolute; left: 0; top: 7px; width: 12px; height: 12px; background: var(--green); border: 2px solid var(--line); border-radius: 3px; }
.crumbs { margin-bottom: 26px; color: var(--muted); font-weight: 700; }
.crumbs a:hover { color: var(--blue); }

.price-card { padding: 30px 26px; text-align: center; display: flex; flex-direction: column; }
.price-card.pop { border-color: var(--yellow); transform: translateY(-10px); }
.price-card h3 { font-size: 1.5rem; }
.price-card .big { font-family: var(--font-head); font-weight: 700; font-size: 2.6rem; color: var(--yellow); margin: 10px 0 2px; }
.price-card .per { color: var(--muted); font-size: 0.9rem; margin-bottom: 18px; }
.price-card ul { text-align: left; display: grid; gap: 10px; margin-bottom: 24px; flex: 1; }
.price-card li { padding-left: 26px; position: relative; color: var(--muted); }
.price-card li::before { content: ""; position: absolute; left: 0; top: 7px; width: 12px; height: 12px; background: var(--green); border: 2px solid var(--line); border-radius: 3px; }
.pop-badge { position: absolute; top: -18px; left: 50%; transform: translateX(-50%); }

.contact-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 36px; align-items: start; }
.contact-card { padding: 32px; }
.link-row { display: flex; align-items: center; gap: 14px; padding: 14px 16px; margin-bottom: 14px; background: var(--panel-2); border: 3px solid var(--line); border-radius: 12px; box-shadow: 0 4px 0 var(--line); transition: transform 0.1s; }
.link-row:hover { transform: translateX(6px); }
.link-row .ico { margin: 0; width: 48px; height: 48px; font-size: 1.1rem; flex-shrink: 0; }
.link-row b { display: block; font-family: var(--font-head); }
.link-row span { color: var(--muted); font-size: 0.9rem; }
.notice { display: none; margin-top: 16px; padding: 14px 18px; background: rgba(2, 183, 87, 0.15); border: 3px solid var(--green); border-radius: 12px; font-weight: 700; }
.notice.show { display: block; }

.cta { text-align: center; padding: 56px 28px; background: linear-gradient(135deg, var(--blue-d), var(--purple-d)); }
.cta h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 10px; }
.cta p { color: #dbe6ff; max-width: 560px; margin: 0 auto 26px; }

.site-footer { margin-top: 40px; background: #0d0e15; border-top: 4px solid var(--line); padding: 56px 0 28px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.foot-grid h4 { font-size: 1.1rem; margin-bottom: 14px; color: var(--yellow); }
.foot-grid li { margin-bottom: 8px; }
.foot-grid a { color: var(--muted); }
.foot-grid a:hover { color: var(--blue); }
.foot-grid p { color: var(--muted); margin-top: 12px; max-width: 320px; font-size: 0.95rem; }
.copy { text-align: center; color: var(--muted); font-size: 0.9rem; margin-top: 40px; padding-top: 22px; border-top: 3px solid var(--line); }

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

@media (max-width: 980px) {
  .grid.c3, .grid.c4 { grid-template-columns: repeat(2, 1fr); }
  .hero-grid, .about-grid, .detail, .contact-grid { grid-template-columns: 1fr; }
  .stage { height: 380px; }
  .buy { position: static; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .price-card.pop { transform: none; }
}

@media (max-width: 820px) {
  .menu-toggle { display: block; }
  .nav-cta .btn { display: none; }
  .nav-links {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--bg-2);
    border-bottom: 4px solid var(--line);
    padding: 14px 20px 20px;
    display: flex;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-14px);
    clip-path: inset(0 0 100% 0);
    pointer-events: none;
    box-shadow: 0 14px 0 var(--line), 0 24px 30px rgba(0, 0, 0, 0.4);
    transition: clip-path 0.38s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.25s ease, transform 0.38s cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0s linear 0.38s;
  }
  .nav-links.open {
    visibility: visible;
    opacity: 1;
    transform: none;
    clip-path: inset(0 0 -40px 0);
    pointer-events: auto;
    transition-delay: 0s;
  }
  .nav-links a { padding: 12px 16px; }
  .menu-toggle { transition: transform 0.25s cubic-bezier(0.3, 1.6, 0.5, 1), background 0.15s; }
  .menu-toggle[aria-expanded="true"] { transform: rotate(90deg); background: var(--red); }
}

@media (max-width: 620px) {
  .section { padding: 60px 0; }
  .grid.c2, .grid.c3, .grid.c4 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .search { min-width: 0; width: 100%; }
  .foot-grid { grid-template-columns: 1fr; }
  .hero { padding: 50px 0 70px; }
  .detail .thumb { height: 240px; font-size: 4rem; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}

.auth { padding: 64px 0 40px; position: relative; }
.auth::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(520px 380px at 12% 20%, rgba(0, 162, 255, 0.2), transparent 70%),
    radial-gradient(480px 360px at 90% 85%, rgba(138, 92, 255, 0.18), transparent 70%);
  pointer-events: none;
}
.auth-wrap { position: relative; display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 32px; align-items: stretch; max-width: 1020px; }
.auth-side { padding: 38px 34px; overflow: hidden; display: flex; flex-direction: column; gap: 16px; background: linear-gradient(160deg, var(--panel-2), var(--panel)); }
.auth-side h2 { font-size: clamp(1.8rem, 3.4vw, 2.4rem); }
.auth-side .hl { color: var(--yellow); }
.auth-side > p { color: var(--muted); }
.auth-side .tag { align-self: flex-start; }
.perks { display: grid; gap: 14px; margin-top: 6px; }
.perks li { display: flex; align-items: center; gap: 14px; }
.perks .ico { width: 44px; height: 44px; font-size: 1.1rem; margin: 0; flex-shrink: 0; border-radius: 11px; font-style: normal; }
.perks b { display: block; font-family: var(--font-head); }
.perks span { color: var(--muted); font-size: 0.9rem; }
.side-blocks { position: relative; margin-top: auto; height: 90px; }
.side-blocks span { position: absolute; bottom: 0; border: 3px solid var(--line); border-radius: 8px; box-shadow: inset 0 -8px 0 rgba(0, 0, 0, 0.22), inset 0 4px 0 rgba(255, 255, 255, 0.25); animation: stack 3.4s ease-in-out infinite; }
.side-blocks span:nth-child(1) { left: 0; width: 64px; height: 64px; background: var(--red); }
.side-blocks span:nth-child(2) { left: 74px; width: 52px; height: 52px; background: var(--yellow); animation-delay: -0.8s; }
.side-blocks span:nth-child(3) { left: 136px; width: 72px; height: 72px; background: var(--blue); animation-delay: -1.6s; }
.side-blocks span:nth-child(4) { left: 218px; width: 48px; height: 48px; background: var(--green); animation-delay: -2.4s; }
@keyframes stack { 50% { transform: translateY(-10px); } }

.auth-card { padding: 38px 34px; }
.auth-card h1 { font-size: 2.4rem; text-shadow: 0 4px 0 var(--line); }
.auth-card .sub { color: var(--muted); margin: 6px 0 26px; }
.auth-card .sub a, .link { color: var(--blue); font-weight: 800; }
.auth-card .sub a:hover, .link:hover { text-decoration: underline; }
.auth-card .field { margin-bottom: 16px; }
.auth-card input.bad { border-color: var(--red); }
.auth-card input.ok { border-color: var(--green); }
.err { display: block; color: #ff8a8a; font-weight: 800; font-size: 0.85rem; margin-top: 5px; }
.err.good { color: var(--green); }
.err:empty { display: none; }
.hint { display: block; color: var(--muted); font-size: 0.82rem; margin-top: 6px; font-weight: 700; }

.pw { position: relative; }
.pw input { padding-right: 92px; }
.pw-toggle {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.8rem;
  color: var(--text);
  background: var(--panel-2);
  border: 2px solid var(--line);
  border-radius: 8px;
  padding: 4px 10px;
  cursor: pointer;
}
.pw-toggle:hover { background: var(--blue); }

.meter { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 10px; }
.meter i { height: 10px; background: var(--bg); border: 2px solid var(--line); border-radius: 4px; transition: background 0.2s; }
.meter[data-s="1"] i:nth-child(-n+1) { background: var(--red); }
.meter[data-s="2"] i:nth-child(-n+2) { background: var(--yellow); }
.meter[data-s="3"] i:nth-child(-n+3) { background: var(--blue); }
.meter[data-s="4"] i { background: var(--green); }

.row-between { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 4px 0 22px; flex-wrap: wrap; }
.check { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-body); font-weight: 700; color: var(--muted); cursor: pointer; margin: 0; }
.check input { position: absolute; opacity: 0; width: 0; height: 0; }
.check span { width: 24px; height: 24px; flex-shrink: 0; background: var(--bg); border: 3px solid var(--line); border-radius: 7px; box-shadow: inset 0 3px 0 rgba(0, 0, 0, 0.3); position: relative; }
.check input:checked + span { background: var(--green); box-shadow: inset 0 -4px 0 rgba(0, 0, 0, 0.25); }
.check input:checked + span::after { content: ""; position: absolute; left: 6px; top: 1px; width: 6px; height: 12px; border: solid #fff; border-width: 0 3px 3px 0; transform: rotate(45deg); }
.check input:focus-visible + span { outline: 3px solid var(--yellow); outline-offset: 2px; }

.divider { display: flex; align-items: center; gap: 14px; margin: 6px 0 14px; color: var(--muted); font-weight: 800; }
.divider::before, .divider::after { content: ""; flex: 1; height: 3px; background: var(--line); border-radius: 2px; }

@media (max-width: 860px) {
  .auth-wrap { grid-template-columns: 1fr; }
  .auth-side { order: 2; }
  .side-blocks { display: none; }
}
@media (max-width: 520px) {
  .auth-card, .auth-side { padding: 28px 20px; }
}

main { animation: pagein 0.55s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
@keyframes pagein { from { opacity: 0; } to { opacity: 1; } }

.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn::after {
  content: "";
  position: absolute;
  top: -20%;
  left: -70%;
  width: 45%;
  height: 140%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: skewX(-20deg);
  transition: left 0.55s ease;
  z-index: -1;
  pointer-events: none;
}
.btn:hover { transform: translateY(-4px); filter: brightness(1.08); box-shadow: inset 0 -6px 0 rgba(0, 0, 0, 0.28), inset 0 3px 0 rgba(255, 255, 255, 0.28), 0 9px 0 var(--line), 0 16px 22px rgba(0, 0, 0, 0.35); }
.btn:hover::after { left: 130%; }
.btn:active { transform: translateY(4px); filter: none; box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.28), inset 0 3px 0 rgba(255, 255, 255, 0.22), 0 1px 0 var(--line); }

.nav-links a { position: relative; transition: color 0.15s, background 0.15s, transform 0.15s; }
.nav-links a:hover { transform: translateY(-2px); }
.nav-links a:not(.active)::after { content: ""; position: absolute; left: 50%; bottom: 2px; width: 0; height: 4px; background: var(--yellow); border-radius: 2px; transition: width 0.2s ease, left 0.2s ease; }
.nav-links a:not(.active):hover::after { width: 60%; left: 20%; }
.brand-mark { transition: transform 0.25s cubic-bezier(0.3, 1.6, 0.5, 1); }
.brand:hover .brand-mark { transform: rotate(8deg) scale(1.12); }

.card { transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s; }
.product:hover, .feature:hover, .tl-item:hover { box-shadow: 0 12px 0 var(--line), 0 20px 30px rgba(0, 0, 0, 0.35); border-color: #000; }
.product .thumb { overflow: hidden; }
.product .thumb span:last-child { transition: transform 0.3s cubic-bezier(0.3, 1.6, 0.5, 1); }
.product:hover .thumb span:last-child { transform: scale(1.18) rotate(-4deg); }
.feature .ico { transition: transform 0.3s cubic-bezier(0.3, 1.6, 0.5, 1); }
.feature:hover .ico { transform: rotate(-8deg) scale(1.12); }

.filter, .chip, .tag, .link-row, .stat, .pw-toggle { transition: transform 0.15s ease, background 0.15s, color 0.15s, box-shadow 0.15s; }
.filter:hover { transform: translateY(-3px); box-shadow: 0 7px 0 var(--line); }
.chip:hover { transform: translateY(-2px); color: #fff; border-color: var(--blue); }
.link-row:hover { box-shadow: 0 7px 0 var(--line); }
.foot-grid a { display: inline-block; transition: color 0.15s, transform 0.15s; }
.foot-grid a:hover { transform: translateX(5px); }
input, textarea, select { transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s; }
input:focus, textarea:focus, select:focus { box-shadow: inset 0 4px 0 rgba(0, 0, 0, 0.25), 0 0 0 4px rgba(0, 162, 255, 0.3); }

@keyframes enter { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes enter-pop { from { opacity: 0; transform: translateY(30px) scale(0.94); } to { opacity: 1; transform: none; } }
.hero-grid > div:first-child > *, .page-hero .container > *, .auth-side > *, .auth-card > * { animation: enter 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.hero-grid > div:first-child > :nth-child(1), .page-hero .container > :nth-child(1), .auth-side > :nth-child(1), .auth-card > :nth-child(1) { animation-delay: 0.05s; }
.hero-grid > div:first-child > :nth-child(2), .page-hero .container > :nth-child(2), .auth-side > :nth-child(2), .auth-card > :nth-child(2) { animation-delay: 0.15s; }
.hero-grid > div:first-child > :nth-child(3), .page-hero .container > :nth-child(3), .auth-side > :nth-child(3), .auth-card > :nth-child(3) { animation-delay: 0.25s; }
.hero-grid > div:first-child > :nth-child(4), .auth-side > :nth-child(4), .auth-card > :nth-child(4) { animation-delay: 0.35s; }
.hero-grid > div:first-child > :nth-child(5), .auth-side > :nth-child(5), .auth-card > :nth-child(5) { animation-delay: 0.45s; }
.hero-grid .stage { animation: enter-pop 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) 0.25s both; }
.stats .stat { animation: enter-pop 0.55s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.stats .stat:nth-child(1) { animation-delay: 0.5s; }
.stats .stat:nth-child(2) { animation-delay: 0.6s; }
.stats .stat:nth-child(3) { animation-delay: 0.7s; }
.stats .stat:nth-child(4) { animation-delay: 0.8s; }
.reveal { transition-delay: calc(var(--d, 0) * 90ms); }

.btn.block + .btn.block { margin-top: 16px; }
.btn.block + .divider, .btn.block ~ .notice { margin-top: 18px; }
.detail .thumb { margin-bottom: 0; }
.prose { margin-top: 30px; }
.prose > .tag { margin-bottom: 4px; }
.prose h1 { margin: 16px 0 14px; }
.prose > .chips { margin: 18px 0 8px; }
.prose h2:first-of-type { margin-top: 34px; }
.buy .btn.block:first-of-type { margin-top: 6px; }
.p-body .chips { margin-bottom: 4px; }
.p-foot { padding-top: 10px; }
.thumb .tag { box-shadow: 0 3px 0 var(--line); }
.price-card .btn { margin-top: auto; }
.cta .btn { margin-top: 6px; }
.hero-actions { padding-bottom: 6px; }
.sec-head .tag { margin-bottom: 18px; }
.page-hero .tag { margin-bottom: 8px; }
.row-between { margin: 6px 0 24px; }
.auth-card .check { margin-bottom: 4px; }
.profile h3 { margin-bottom: 4px; }
.price-card .big { margin-bottom: 6px; }

html { scrollbar-width: thin; scrollbar-color: #3b4262 var(--bg); }
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #3b4262; border: 3px solid var(--bg); border-radius: 999px; }
::-webkit-scrollbar-thumb:hover { background: var(--blue); }
::-webkit-scrollbar-corner { background: var(--bg); }
.tbl-wrap, .side-nav, textarea { scrollbar-width: thin; scrollbar-color: #3b4262 transparent; }

.thumb .timg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.thumb.has-img::after { display: none; }
.thumb.has-img > span:not(.tag) { display: none; }
.thumb.has-img::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(0,0,0,0.25), transparent 35%); pointer-events: none; }
.thumb .tag { z-index: 2; }
.product .thumb .timg { transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1); }
.product:hover .thumb .timg { transform: scale(1.08); }
.mini-thumb { background-size: cover; background-position: center; }
