:root {
  --green: #31c55b;
  --green-dark: #19a846;
  --navy: #071b4d;
  --navy-2: #0b1f4d;
  --footer: #071b33;
  --light-blue: #eef7ff;
  --soft-blue: #f5faff;
  --purple: #7a4dff;
  --yellow: #ffc72c;
  --orange: #ff9f1c;
  --pink: #f062b6;
  --border: #e5eaf3;
  --muted: #59657d;
  --shadow: 0 16px 45px rgba(18, 37, 85, 0.1);
  --soft-shadow: 0 10px 28px rgba(18, 37, 85, 0.08);
  --max: 1220px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--navy);
  background: #fff;
  font-family: Poppins, "Nunito Sans", "Trebuchet MS", Arial, sans-serif;
  font-weight: 500;
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

.section-shell,
.nav-shell,
.footer-shell {
  width: min(var(--max), calc(100% - 56px));
  margin: 0 auto;
}

.site-header {
  height: 76px;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(229, 234, 243, 0.65);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
}

.nav-shell {
  display: grid;
  grid-template-columns: 126px 1fr auto;
  align-items: center;
  gap: 24px;
}

.logo {
  width: 150px;
  min-height: 50px;
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

.logo img {
  width: 100%;
  height: auto;
  display: block;
}

.site-footer .logo img {
  filter: invert(1);
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 34px;
  font-size: 14px;
  font-weight: 700;
}

.main-nav a {
  position: relative;
  padding: 29px 0 26px;
}

.main-nav a.active {
  color: var(--green);
}

.main-nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 14px;
  height: 3px;
  border-radius: 999px;
  background: var(--green);
}

.nav-actions {
  display: flex;
  justify-content: flex-end;
  gap: 14px;
}

.play-nav-btn {
  position: relative;
  min-width: 128px;
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(110deg, #0fb846, #31c55b, #73e889, #17a844, #31c55b);
  background-size: 260% 100%;
  box-shadow: 0 14px 30px rgba(49, 197, 91, 0.32);
  font-size: 18px;
  font-weight: 900;
  animation: playGradient 3.6s ease-in-out infinite;
}

.play-nav-btn::before {
  content: "";
  width: 0;
  height: 0;
  margin-right: 10px;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 11px solid #fff;
}

.play-nav-btn::after {
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.48);
}

@keyframes playGradient {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.btn {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  border: 2px solid var(--green);
  padding: 0 25px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(49, 197, 91, 0.25);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(180deg, var(--green), #20b94d);
}

.btn-outline {
  color: var(--green);
  background: #fff;
}

.btn-large {
  min-width: 176px;
  min-height: 48px;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 572px;
  padding: 34px 0 52px;
  background:
    radial-gradient(circle at 68% 20%, rgba(207, 235, 255, 0.75), transparent 33%),
    linear-gradient(105deg, #fff 0%, #f6fbff 52%, #eef8ff 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 54px;
}

.hero-copy {
  padding-top: 16px;
}

.eyebrow {
  margin: 0 0 14px;
  font-size: 21px;
  font-weight: 700;
}

.hero h1 {
  margin: 0;
  color: var(--green);
  font-size: clamp(52px, 5vw, 72px);
  line-height: 0.98;
  font-weight: 900;
}

.hero h2 {
  margin: 8px 0 24px;
  color: var(--navy-2);
  font-size: clamp(38px, 3.6vw, 52px);
  line-height: 1.05;
  font-weight: 900;
}

.hero-body {
  margin: 0 0 30px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.68;
}

.hero-buttons {
  display: flex;
  gap: 18px;
  margin-bottom: 48px;
}

.badges {
  display: grid;
  grid-template-columns: repeat(4, max-content);
  gap: 44px;
  padding: 0;
  margin: 0;
  list-style: none;
  color: var(--navy);
  font-size: 12px;
  font-weight: 700;
}

.badges li {
  display: grid;
  justify-items: center;
  gap: 10px;
  min-width: 92px;
  text-align: center;
}

.badge-icon {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: #fff;
  box-shadow: inset 0 -4px 0 rgba(0, 0, 0, 0.07), 0 8px 15px rgba(40, 78, 150, 0.12);
}

.badge-icon svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.badge-icon.purple { background: linear-gradient(135deg, #8e61ff, #633cff); }
.badge-icon.blue { background: linear-gradient(135deg, #55cfff, #2d8cff); }
.badge-icon.yellow { background: linear-gradient(135deg, #ffd85d, #ffad16); }
.badge-icon.green { background: linear-gradient(135deg, #77df8c, #24bd56); }

.platform-card {
  width: min(620px, 100%);
  height: 390px;
  position: relative;
  overflow: visible;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 28px 70px rgba(12, 46, 90, 0.18);
}

.platform-image-card {
  overflow: visible;
  background: transparent;
  box-shadow: none;
}

.platform-image-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 28px 42px rgba(12, 46, 90, 0.18));
}

.platform-topbar {
  height: 44px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 18px;
  color: #fff;
  background: linear-gradient(90deg, #15b943, #10b84c);
  border-radius: 14px 14px 0 0;
  font-size: 12px;
  font-weight: 800;
}

.mini-logo {
  font-size: 12px;
  line-height: 0.8;
  font-weight: 900;
}

.top-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: #fff;
}

.project-name {
  min-width: 156px;
  padding: 9px 24px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.18);
}

.top-spacer {
  flex: 1;
}

.top-icon {
  width: 13px;
  height: 13px;
  border: 2px solid #fff;
  border-radius: 4px;
}

.platform-body {
  height: 346px;
  display: grid;
  grid-template-columns: 90px 238px 1fr;
  gap: 8px;
  padding: 12px;
  background: #f7fbff;
  border-radius: 0 0 14px 14px;
}

.blocks-sidebar {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 8px 10px;
  border-radius: 10px;
  background: #fff;
  box-shadow: inset 0 0 0 1px #edf2fa;
}

.category {
  width: 18px;
  height: 18px;
  border-radius: 999px;
}

.category.blue { background: #2e86ff; }
.category.purple { background: #9f63ff; }
.category.pink { background: #f254b5; }
.category.yellow { background: #ffcc18; }
.category.orange { background: #ff9f1c; }
.category.cyan { background: #43bddb; }
.category.green { background: #35c45e; }
.category.red { background: #ff5f66; }
.category.magenta { background: #df49c9; }

.code-area {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 16px 18px;
  border-radius: 10px;
  background: linear-gradient(180deg, #fff, #fbfdff);
}

.code-block {
  position: relative;
  min-height: 30px;
  padding: 9px 17px 9px 18px;
  color: #fff;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 6px 14px rgba(28, 43, 86, 0.14);
}

.code-block::after {
  content: "";
  position: absolute;
  right: -9px;
  top: 8px;
  width: 18px;
  height: 14px;
  border-radius: 6px;
  background: inherit;
}

.code-block.hat { background: #ffba18; color: #5a3300; }
.code-block.hat.small { background: #ffb018; }
.code-block.blue { background: #267cff; }
.code-block.purple { background: #774dff; }
.code-block.yellow { background: #ffc21e; color: #5a3300; }
.code-block.pink { background: #df4cc6; }

.stage-area {
  position: relative;
  display: grid;
  grid-template-rows: 34px 1fr 56px;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  box-shadow: inset 0 0 0 1px #edf2fa;
}

.run-controls {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 9px;
  padding: 0 12px;
}

.run-controls span {
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: var(--green);
}

.run-controls span:nth-child(2) { background: #ff4f57; }
.run-controls span:nth-child(3) { background: #8d70ff; }

.stage-sky {
  position: relative;
  overflow: hidden;
  margin: 0 10px;
  border-radius: 8px;
  background: linear-gradient(#8edcff 0 58%, #baf2d8 58% 100%);
}

.hill {
  position: absolute;
  bottom: -20px;
  width: 145px;
  height: 110px;
  border-radius: 60% 60% 0 0;
  background: #58c85f;
}

.hill-one {
  left: 10px;
}

.hill-two {
  right: -15px;
  background: #77d650;
}

.mascot-face {
  position: absolute;
  left: 50%;
  top: 49%;
  width: 122px;
  height: 132px;
  transform: translate(-50%, -50%);
  border-radius: 52% 48% 48% 50%;
  background: #3dc7bf;
  box-shadow: inset -12px -12px 0 rgba(0, 105, 121, 0.14);
}

.eye {
  position: absolute;
  top: 42px;
  width: 26px;
  height: 30px;
  border: 5px solid #fff;
  border-radius: 50%;
  background: #0b1f4d;
}

.eye.left { left: 28px; }
.eye.right { right: 28px; }

.mouth {
  position: absolute;
  left: 39px;
  bottom: 36px;
  width: 45px;
  height: 20px;
  border-radius: 0 0 30px 30px;
  background: #071b33;
}

.stage-controls {
  margin: 10px;
  border-radius: 12px;
  background:
    linear-gradient(90deg, #edf3fb 28%, transparent 28% 36%, #edf3fb 36% 64%, transparent 64% 72%, #edf3fb 72%),
    #fff;
  border: 1px solid #e7edf5;
}

.stage-caption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 72px;
  padding: 8px;
  border-radius: 10px;
  color: rgba(7, 27, 77, 0.72);
  background: rgba(255, 255, 255, 0.76);
  font-size: 10px;
  font-weight: 800;
  line-height: 1.35;
  text-align: center;
}

.code-cube {
  position: absolute;
  left: 44px;
  bottom: 16px;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  color: #fff;
  background: linear-gradient(135deg, #8d66ff, #5f3cf1);
  font-weight: 900;
  box-shadow: 0 15px 30px rgba(122, 77, 255, 0.28);
}

.decor {
  position: absolute;
  pointer-events: none;
}

.block {
  width: 82px;
  height: 42px;
  border-radius: 11px;
  transform: rotate(-24deg);
  box-shadow: inset 0 -8px 0 rgba(0, 0, 0, 0.1), 0 14px 24px rgba(21, 40, 85, 0.13);
}

.block::before,
.block::after {
  content: "";
  position: absolute;
  top: 8px;
  width: 15px;
  height: 15px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.34);
}

.block::before { left: 16px; }
.block::after { right: 16px; }

.block-green { background: #93e9a5; }
.block-yellow { background: var(--yellow); }
.block-purple { background: var(--purple); }
.block-pink { background: var(--pink); }

.block-a { top: 120px; left: 43%; }
.block-b { top: 330px; left: 46%; }
.block-c { right: 82px; bottom: 40px; width: 116px; }

.sparkle {
  width: 34px;
  height: 34px;
  background: #9beccb;
  clip-path: polygon(50% 0, 62% 34%, 100% 50%, 62% 66%, 50% 100%, 38% 66%, 0 50%, 38% 34%);
  filter: drop-shadow(0 8px 14px rgba(33, 160, 110, 0.18));
}

.sparkle-a {
  left: 50%;
  bottom: 116px;
}

.features {
  padding: 36px 0 36px;
  background: #fff;
}

.section-title {
  margin: 0 0 28px;
  color: var(--navy-2);
  text-align: center;
  font-size: clamp(30px, 3vw, 39px);
  line-height: 1.15;
  font-weight: 900;
}

.section-title span {
  color: var(--green);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 22px;
}

.feature-card {
  min-height: 170px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 25px 20px 22px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--soft-shadow);
  text-align: center;
}

.feature-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  color: #fff;
  border-radius: 13px;
  box-shadow: inset 0 -5px 0 rgba(0, 0, 0, 0.08), 0 9px 18px rgba(34, 67, 135, 0.14);
}

.feature-icon svg {
  width: 31px;
  height: 31px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-icon svg circle[cy="13"],
.feature-icon svg circle[cy="15"] {
  fill: currentColor;
  stroke: none;
}

.feature-icon.purple { background: linear-gradient(135deg, #a56bff, #734cff); }
.feature-icon.blue { background: linear-gradient(135deg, #58d1ff, #2796e8); }
.feature-icon.green { background: linear-gradient(135deg, #83dc54, #35bd54); }
.feature-icon.orange { background: linear-gradient(135deg, #ffb341, #ff8623); }
.feature-icon.pink { background: linear-gradient(135deg, #ee73d2, #df42b8); }

.feature-card h3,
.why-item h3,
.project-card strong,
.footer-col h3 {
  margin: 0;
  color: var(--navy-2);
  font-size: 15px;
  font-weight: 900;
}

.feature-card p {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.os-compatibility {
  padding: 10px 0 34px;
  background: #fff;
}

.os-compatibility-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 30px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background:
    radial-gradient(circle at 85% 50%, rgba(49, 197, 91, 0.12), transparent 28%),
    linear-gradient(135deg, #f5faff, #fff);
  box-shadow: 0 14px 36px rgba(7, 27, 77, 0.07);
}

.os-compatibility h2 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.15;
  font-weight: 900;
}

.os-compatibility h2 span {
  color: var(--green);
}

.os-compatibility p {
  margin: 0;
  color: #5b6685;
  font-size: 16px;
  line-height: 1.5;
}

.os-icons {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.os-icons span,
.os-icons strong {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 900;
}

.os-icons span {
  color: var(--navy);
  background: #fff;
  border: 1px solid var(--border);
}

.os-icons strong {
  color: #16a34a;
  background: #e8fbef;
  border: 1px solid #c8f3d7;
}

.all-in-one {
  padding: 44px 0 64px;
  background:
    radial-gradient(circle at 15% 35%, rgba(238, 247, 255, 0.78), transparent 30%),
    radial-gradient(circle at 88% 32%, rgba(245, 235, 255, 0.52), transparent 28%),
    #fff;
}

.all-title {
  margin: 0;
  color: var(--navy);
  text-align: center;
  font-size: clamp(34px, 3.4vw, 48px);
  line-height: 1.12;
  font-weight: 900;
}

.all-title span {
  color: var(--green);
}

.all-subtitle {
  margin: 16px auto 50px;
  color: #5b6685;
  text-align: center;
  font-size: 18px;
  line-height: 1.5;
}

.all-card-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 28px;
}

.all-card {
  min-height: 242px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 34px 22px 26px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 36px rgba(7, 27, 77, 0.06);
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.all-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 48px rgba(7, 27, 77, 0.1);
}

.all-icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  margin-bottom: 28px;
  filter: drop-shadow(0 12px 16px rgba(7, 27, 77, 0.12));
}

.all-icon svg {
  width: 58px;
  height: 58px;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.all-icon.green {
  color: #fff;
  border-radius: 22px 26px 20px 25px;
  background: linear-gradient(135deg, #5adb73, #18a847);
}

.all-icon.green svg,
.all-icon.blue svg,
.all-icon.purple svg,
.all-icon.pink svg,
.all-icon.yellow svg,
.all-icon.orange svg {
  fill: none;
}

.all-icon.purple {
  color: #7a4dff;
}

.all-icon.purple svg {
  fill: #7a4dff;
  stroke: #7a4dff;
}

.all-icon.orange {
  color: #ff7a00;
}

.all-icon.orange svg {
  fill: #ff8b14;
  stroke: #ff8b14;
}

.all-icon.blue {
  color: #2f86f6;
}

.all-icon.blue svg {
  fill: #2f86f6;
  stroke: #2f86f6;
}

.all-icon.pink {
  color: #f062b6;
}

.all-icon.pink svg {
  fill: #f062b6;
  stroke: #f062b6;
}

.all-icon.yellow {
  color: #f5a400;
}

.all-icon.yellow svg {
  fill: #ffc72c;
  stroke: #f5a400;
}

.all-card h3 {
  margin: 0 0 14px;
  color: var(--navy);
  font-size: 16px;
  line-height: 1.25;
  font-weight: 900;
}

.all-card p {
  margin: 0;
  color: #5b6685;
  font-size: 14px;
  line-height: 1.58;
}

.promo {
  position: relative;
  overflow: hidden;
  min-height: 430px;
  padding: 58px 0 32px;
  background: linear-gradient(105deg, #f3f1ff 0%, #eef8ff 53%, #f8fcff 100%);
}

.promo-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: center;
  gap: 56px;
}

.promo-copy {
  padding-left: 26px;
}

.promo-copy h2 {
  margin: 0 0 26px;
  color: var(--navy-2);
  font-size: clamp(34px, 3.6vw, 47px);
  line-height: 1.12;
  font-weight: 900;
}

.promo-copy h2 span {
  color: var(--green);
}

.promo-copy p {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.play-mini {
  width: 22px;
  height: 22px;
  display: inline-block;
  border-radius: 999px;
  background: #fff;
  position: relative;
}

.play-mini::after,
.play-button::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-35%, -50%);
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 9px solid var(--green);
}

.video-card {
  width: min(580px, 100%);
  height: 320px;
  overflow: hidden;
  border-radius: 18px;
  background: #111;
  box-shadow: 0 24px 52px rgba(15, 25, 62, 0.22);
}

.promo-video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  background: #111;
}

.promo-left {
  left: 35%;
  bottom: 38px;
}

.promo-right {
  right: 70px;
  top: 195px;
  width: 58px;
  height: 34px;
}

.why {
  padding: 36px 0 48px;
  background: #fff;
}

.why .section-title {
  margin-bottom: 34px;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 34px;
  align-items: start;
}

.why-item {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 17px;
  align-items: center;
}

.why-icon {
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  border-radius: 26px;
}

.why-icon svg {
  width: 48px;
  height: 48px;
}

.why-icon.yellow { background: #fff1d4; }
.why-icon.green { background: #eafff0; }
.why-icon.pink { background: #fff1ff; }
.why-icon.blue { background: #eef3ff; }

.bulb-glass {
  fill: #ffd34f;
  stroke: #f3a400;
  stroke-width: 3;
}

.bulb-base,
.bulb-line,
.bulb-core {
  fill: none;
  stroke: #ffac00;
  stroke-width: 3.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.bulb-base {
  stroke: #784720;
}

.rocket-body {
  fill: #f4f8ff;
  stroke: #2aa8e8;
  stroke-width: 3;
}

.rocket-window {
  fill: #2fc7ff;
  stroke: #0b7dc0;
  stroke-width: 2.5;
}

.rocket-wing.red {
  fill: #ff4b36;
}

.rocket-wing.blue {
  fill: #2397ff;
}

.rocket-fire {
  fill: #ff9f1c;
}

.star-shape {
  fill: #ffb51f;
  stroke: #ff9f1c;
  stroke-width: 3;
  stroke-linejoin: round;
}

.code-mark,
.code-slash {
  fill: none;
  stroke: #12b867;
  stroke-width: 6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.why-item p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.compatible-products {
  position: relative;
  overflow: hidden;
  padding: 80px 0;
  background:
    radial-gradient(circle at 18% 22%, rgba(202, 232, 255, 0.62), transparent 28%),
    radial-gradient(circle at 82% 18%, rgba(236, 229, 255, 0.7), transparent 30%),
    radial-gradient(circle at 50% 86%, rgba(219, 247, 231, 0.38), transparent 26%),
    linear-gradient(180deg, #f5faff 0%, #fff 100%);
}

.compatible-title {
  margin: 0;
  color: var(--navy);
  text-align: center;
  font-size: clamp(46px, 4.2vw, 54px);
  line-height: 1.08;
  font-weight: 900;
}

.compatible-title span {
  color: var(--green);
}

.compatible-subtitle {
  max-width: 650px;
  margin: 16px auto 0;
  color: #5b6685;
  text-align: center;
  font-size: 21px;
  line-height: 1.5;
}

.product-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  margin-top: 56px;
}

.product-card {
  min-height: 450px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 16px 45px rgba(7, 27, 77, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 58px rgba(7, 27, 77, 0.13);
}

.product-image {
  position: relative;
  height: 230px;
  overflow: hidden;
  isolation: isolate;
}

.product-image > img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.product-image p {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 16px;
  z-index: 4;
  margin: 0;
  padding: 9px 12px;
  border-radius: 12px;
  color: rgba(7, 27, 77, 0.72);
  background: rgba(255, 255, 255, 0.68);
  text-align: center;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.35;
}

.product-robocoders {
  background:
    radial-gradient(circle at 18% 28%, rgba(255, 255, 255, 0.6), transparent 24%),
    linear-gradient(135deg, #ffd35a 0%, #ffb632 100%);
}

.placeholder-mascot {
  position: absolute;
  left: 38px;
  bottom: 30px;
  width: 90px;
  height: 112px;
  border-radius: 52% 48% 45% 50%;
  background: #35c7bd;
  box-shadow: inset -10px -10px 0 rgba(0, 105, 121, 0.13);
}

.placeholder-mascot::before,
.placeholder-mascot::after {
  content: "";
  position: absolute;
  top: 35px;
  width: 20px;
  height: 23px;
  border: 4px solid #fff;
  border-radius: 999px;
  background: #071b33;
}

.placeholder-mascot::before {
  left: 19px;
}

.placeholder-mascot::after {
  right: 19px;
}

.placeholder-box {
  position: absolute;
  right: 30px;
  top: 32px;
  width: 142px;
  height: 104px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: #10245d;
  background: #fff;
  border: 4px solid #eaf0fb;
  font-size: 21px;
  font-weight: 900;
  box-shadow: 0 12px 26px rgba(110, 76, 22, 0.16);
}

.placeholder-brain {
  position: absolute;
  right: 62px;
  bottom: 30px;
  width: 88px;
  height: 42px;
  border-radius: 12px;
  background: #e9eef7;
  box-shadow: inset 0 -8px 0 rgba(0, 0, 0, 0.08);
}

.placeholder-brain::before,
.placeholder-brain::after {
  content: "";
  position: absolute;
  top: 14px;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: #31c55b;
}

.placeholder-brain::before {
  left: 18px;
}

.placeholder-brain::after {
  right: 18px;
  background: #7a4dff;
}

.placeholder-blocks {
  position: absolute;
  left: 132px;
  bottom: 29px;
  width: 64px;
  height: 26px;
  border-radius: 8px;
  background: #7a4dff;
  transform: rotate(-8deg);
  box-shadow: 24px 8px 0 #31c55b, 52px -3px 0 #ffc72c;
}

.product-locked {
  background: #f2f6fb;
}

.locked-product-image {
  filter: blur(5px);
  opacity: 0.72;
  transform: scale(1.04);
}

.product-placeholder {
  position: absolute;
  inset: -8px;
  filter: blur(5px);
  opacity: 0.72;
  transform: scale(1.04);
}

.product-placeholder.mirror {
  background:
    radial-gradient(circle at 50% 52%, #30d8ff 0 13%, #a449ff 14% 22%, #22d477 23% 33%, transparent 34%),
    radial-gradient(circle at 50% 52%, rgba(255, 255, 255, 0.7), transparent 44%),
    linear-gradient(135deg, #e8e1d8, #fbfaf6);
}

.product-placeholder.codeboard {
  background:
    radial-gradient(circle at 18% 38%, #ff9f1c 0 4%, transparent 5%),
    radial-gradient(circle at 22% 64%, #45c7dd 0 4%, transparent 5%),
    radial-gradient(circle at 74% 66%, #31c55b 0 5%, transparent 6%),
    linear-gradient(135deg, #f1f1ed, #dce3e7);
}

.product-placeholder.codeboard::before {
  content: "";
  position: absolute;
  left: 74px;
  top: 54px;
  width: 218px;
  height: 122px;
  border-radius: 22px;
  background:
    linear-gradient(90deg, rgba(7, 27, 77, 0.55), rgba(7, 27, 77, 0.3)),
    #f7f8f9;
  transform: rotate(-7deg);
  box-shadow: 0 16px 28px rgba(7, 27, 77, 0.12);
}

.coming-soon {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 14px;
  color: #263657;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(10px);
  font-size: 15px;
  font-weight: 800;
  transform: translate(-50%, -50%);
  box-shadow: 0 12px 25px rgba(7, 27, 77, 0.12);
}

.lock-icon {
  font-size: 15px;
}

.product-content {
  display: flex;
  min-height: 220px;
  flex-direction: column;
  align-items: flex-start;
  padding: 28px 34px 30px;
}

.product-content h3 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 26px;
  line-height: 1.1;
  font-weight: 900;
}

.product-content p {
  margin: 0;
  color: #5b6685;
  font-size: 17px;
  line-height: 1.48;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding: 10px 16px;
  border-radius: 999px;
  color: #16a34a;
  background: #e8fbef;
  border: 1px solid rgba(22, 163, 74, 0.18);
  font-size: 16px;
  font-weight: 900;
}

.status-check {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: #16a34a;
  font-size: 14px;
}

.benefit-card-row {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 56px;
}

.benefit-card {
  width: 280px;
  min-height: 90px;
  display: grid;
  grid-template-columns: 58px 1fr;
  align-items: center;
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(7, 27, 77, 0.06);
}

.benefit-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 14px;
}

.benefit-icon svg {
  width: 29px;
  height: 29px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.benefit-icon.purple {
  color: #7a4dff;
  background: #efe8ff;
}

.benefit-icon.green {
  color: #16a34a;
  background: #e8fbef;
}

.benefit-icon.yellow {
  color: #f5a400;
  background: #fff3d6;
}

.benefit-card h3 {
  margin: 0 0 6px;
  color: var(--navy);
  font-size: 15px;
  font-weight: 900;
}

.benefit-card p {
  margin: 0;
  color: #5b6685;
  font-size: 13px;
  line-height: 1.42;
}

.product-decor {
  width: 78px;
  height: 52px;
  border-radius: 12px;
  transform: rotate(-22deg);
  opacity: 0.92;
  box-shadow: inset 0 -8px 0 rgba(0, 0, 0, 0.1), 0 14px 24px rgba(21, 40, 85, 0.12);
}

.product-decor::before,
.product-decor::after {
  content: "";
  position: absolute;
  top: 9px;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.3);
}

.product-decor::before {
  left: 16px;
}

.product-decor::after {
  right: 16px;
}

.product-purple {
  background: linear-gradient(135deg, #8d62ff, #613ee7);
}

.product-yellow {
  background: linear-gradient(135deg, #ffd458, #ffb81f);
}

.product-green {
  background: linear-gradient(135deg, #83df91, #34c763);
}

.product-decor.small {
  width: 56px;
  height: 42px;
}

.product-star {
  width: 34px;
  height: 34px;
  background: #a8efc3;
  clip-path: polygon(50% 0, 63% 34%, 100% 50%, 63% 66%, 50% 100%, 37% 66%, 0 50%, 37% 34%);
  filter: drop-shadow(0 8px 13px rgba(33, 160, 110, 0.16));
}

.product-cluster {
  width: 100px;
  height: 70px;
  opacity: 0.94;
}

.product-cluster span {
  position: absolute;
  width: 58px;
  height: 44px;
  border-radius: 11px;
  background: linear-gradient(135deg, #8d62ff, #613ee7);
  box-shadow: inset 0 -8px 0 rgba(0, 0, 0, 0.1), 0 14px 24px rgba(21, 40, 85, 0.12);
}

.product-cluster span:nth-child(1) {
  left: 0;
  bottom: 0;
}

.product-cluster span:nth-child(2) {
  right: 8px;
  bottom: 10px;
}

.product-cluster span:nth-child(3) {
  left: 38px;
  top: 0;
}

.decor-compatible-a {
  left: 5%;
  top: 98px;
}

.decor-compatible-b {
  left: 12%;
  top: 164px;
}

.decor-compatible-c {
  right: 8%;
  top: 124px;
}

.decor-compatible-d {
  right: 4%;
  top: 212px;
}

.decor-compatible-e {
  left: 5%;
  bottom: 72px;
}

.decor-compatible-f {
  right: 5%;
  bottom: 52px;
}

.ai-extensions {
  position: relative;
  overflow: hidden;
  padding: 90px 0;
  background:
    radial-gradient(circle at 12% 22%, rgba(232, 251, 239, 0.7), transparent 24%),
    radial-gradient(circle at 88% 18%, rgba(241, 233, 255, 0.72), transparent 26%),
    linear-gradient(180deg, #fff 0%, #f5faff 100%);
}

.ai-extensions::after {
  content: "";
  position: absolute;
  left: -6%;
  right: -6%;
  bottom: -90px;
  height: 210px;
  border-radius: 50% 50% 0 0;
  background: rgba(220, 239, 255, 0.72);
  z-index: 0;
}

.ai-shell {
  position: relative;
  z-index: 1;
}

.ai-title {
  margin: 0;
  color: var(--navy);
  text-align: center;
  font-size: clamp(48px, 4.3vw, 56px);
  line-height: 1.1;
  font-weight: 900;
}

.ai-title span {
  color: var(--green);
}

.ai-subtitle {
  max-width: 720px;
  margin: 16px auto 0;
  color: #5b6685;
  text-align: center;
  font-size: 21px;
  line-height: 1.5;
}

.buzz-pill-row {
  position: relative;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 28px;
}

.connector-line {
  position: absolute;
  top: 50%;
  left: 20%;
  right: 20%;
  height: 2px;
  border-top: 2px dashed rgba(89, 172, 239, 0.34);
  transform: translateY(-50%);
}

.buzz-pill {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 64px;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 32px;
  font-weight: 900;
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.72), 0 10px 28px rgba(7, 27, 77, 0.08);
}

.buzz-pill svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.buzz-pill.ai {
  color: #16a34a;
  background: #e8fbef;
  border: 1px solid #c8f3d7;
}

.buzz-pill.ml {
  color: #7a4dff;
  background: #f1e9ff;
  border: 1px solid #dccbff;
}

.buzz-pill.iot {
  color: #1685e8;
  background: #eaf6ff;
  border: 1px solid #c8e8ff;
}

.extension-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin-top: 34px;
}

.extension-card {
  min-height: 274px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(7, 27, 77, 0.08);
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.extension-card:hover,
.extension-card:focus-visible {
  transform: translateY(-6px);
  box-shadow: 0 24px 54px rgba(7, 27, 77, 0.13);
  outline: none;
}

.extension-banner {
  position: relative;
  height: 138px;
  overflow: hidden;
}

.extension-banner > img {
  position: relative;
  z-index: 3;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.extension-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.34;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.8) 1.5px, transparent 1.5px),
    linear-gradient(45deg, transparent 48%, rgba(255, 255, 255, 0.22) 49%, rgba(255, 255, 255, 0.22) 51%, transparent 52%);
  background-size: 30px 30px, 34px 34px;
}

.extension-banner p {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 12px;
  z-index: 5;
  margin: 0;
  padding: 7px 9px;
  border-radius: 10px;
  color: rgba(7, 27, 77, 0.72);
  background: rgba(255, 255, 255, 0.67);
  text-align: center;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.28;
}

.banner-chatgpt,
.banner-face,
.banner-iot {
  background: linear-gradient(135deg, #ffb323 0%, #ff8d13 100%);
}

.banner-teachable {
  background: linear-gradient(135deg, #965bff 0%, #7438e8 100%);
}

.banner-handpose {
  background: linear-gradient(135deg, #12c995 0%, #00a8a8 100%);
}

.banner-body {
  background: linear-gradient(135deg, #33b6ff 0%, #1685e8 100%);
}

.banner-mascot {
  position: absolute;
  right: 24px;
  bottom: 14px;
  width: 74px;
  height: 84px;
  border-radius: 52% 48% 45% 50%;
  background: #32c8bf;
  box-shadow: inset -9px -9px 0 rgba(0, 105, 121, 0.14);
  z-index: 3;
}

.banner-mascot::before,
.banner-mascot::after {
  content: "";
  position: absolute;
  top: 27px;
  width: 15px;
  height: 17px;
  border: 3px solid #fff;
  border-radius: 999px;
  background: #071b33;
}

.banner-mascot::before {
  left: 16px;
}

.banner-mascot::after {
  right: 16px;
}

.banner-bot,
.banner-screen,
.hand-tracker,
.face-frame,
.pose-lines,
.iot-board {
  position: absolute;
  z-index: 2;
}

.banner-bot {
  left: 36px;
  bottom: 26px;
  width: 84px;
  height: 54px;
  border-radius: 24px;
  background: #263657;
  box-shadow: 0 10px 20px rgba(7, 27, 77, 0.16);
}

.banner-bot::before {
  content: "";
  position: absolute;
  left: 26px;
  top: 18px;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #31c55b;
  box-shadow: 24px 0 0 #31c55b;
}

.banner-screen {
  left: 62px;
  top: 22px;
  width: 130px;
  height: 78px;
  border-radius: 10px;
  background: #263657;
  border: 7px solid #334c9d;
  box-shadow: 0 12px 24px rgba(7, 27, 77, 0.18);
}

.hand-tracker {
  left: 72px;
  top: 22px;
  width: 112px;
  height: 92px;
  border-radius: 14px;
  border: 5px solid rgba(255, 255, 255, 0.42);
}

.hand-tracker::before {
  content: "";
  position: absolute;
  left: 36px;
  top: 22px;
  width: 48px;
  height: 48px;
  border-radius: 20px 20px 24px 24px;
  border: 5px dotted #fff;
}

.face-frame {
  left: 52px;
  top: 24px;
  width: 104px;
  height: 88px;
  border: 5px solid #31c55b;
  border-radius: 16px;
  background: radial-gradient(circle at 50% 50%, #ffd0a8 0 28%, transparent 29%);
}

.face-frame::before,
.face-frame::after {
  content: "";
  position: absolute;
  top: 42px;
  width: 6px;
  height: 8px;
  border-radius: 999px;
  background: #071b33;
}

.face-frame::before {
  left: 43px;
}

.face-frame::after {
  right: 43px;
}

.pose-lines {
  left: 76px;
  top: 18px;
  width: 98px;
  height: 100px;
}

.pose-lines::before {
  content: "";
  position: absolute;
  left: 42px;
  top: 8px;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: #ffc72c;
  box-shadow:
    -24px 30px 0 #ffc72c,
    24px 30px 0 #ffc72c,
    -18px 72px 0 #ffc72c,
    18px 72px 0 #ffc72c,
    0 45px 0 #ffc72c;
}

.pose-lines::after {
  content: "";
  position: absolute;
  left: 22px;
  top: 25px;
  width: 56px;
  height: 62px;
  border-left: 4px solid #ffc72c;
  border-right: 4px solid #ffc72c;
  border-top: 4px solid #ffc72c;
  transform: skewX(-8deg);
}

.iot-board {
  left: 80px;
  top: 33px;
  width: 82px;
  height: 72px;
  border-radius: 10px;
  background: #263657;
  border: 5px solid #334c9d;
}

.iot-board::before {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 8px;
  background: #ff4c58;
  box-shadow: 27px 0 0 #ffc72c, 14px 24px 0 #31c55b;
}

.banner-symbol {
  position: absolute;
  left: 152px;
  top: 24px;
  z-index: 4;
  min-width: 58px;
  min-height: 48px;
  display: grid;
  place-items: center;
  padding: 7px 12px;
  border-radius: 14px;
  color: #1685e8;
  background: rgba(255, 255, 255, 0.9);
  font-size: 18px;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(7, 27, 77, 0.12);
}

.extension-content {
  padding: 17px 24px 22px;
}

.extension-content h3 {
  margin: 0 0 7px;
  color: var(--navy);
  font-size: 23px;
  line-height: 1.1;
  font-weight: 900;
}

.extension-content p {
  margin: 0;
  color: #4f5d7a;
  font-size: 15px;
  line-height: 1.42;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.tag.ai {
  color: #16a34a;
  background: #e8fbef;
}

.tag.ml,
.tag.nlp,
.tag.smart {
  color: #7a4dff;
  background: #f1e9ff;
}

.tag.iot,
.tag.webcam {
  color: #1685e8;
  background: #eaf6ff;
}

.tag.cv,
.tag.sensors {
  color: #0ea58a;
  background: #e6fbf5;
}

.tag.web {
  color: #2563eb;
  background: #eaf2ff;
}

.ai-summary-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 42px;
}

.ai-summary-card {
  min-height: 120px;
  display: grid;
  grid-template-columns: 78px 1fr;
  align-items: center;
  gap: 18px;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 12px 35px rgba(7, 27, 77, 0.06);
}

.summary-icon {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.75), 0 10px 22px rgba(7, 27, 77, 0.1);
}

.summary-icon svg {
  width: 38px;
  height: 38px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.summary-icon.green {
  color: #16a34a;
  background: linear-gradient(135deg, #e8fbef, #9ff0bc);
}

.summary-icon.purple {
  color: #7a4dff;
  background: #f1e9ff;
}

.summary-icon.blue {
  color: #1685e8;
  background: #eaf6ff;
}

.ai-summary-card h3 {
  margin: 0 0 7px;
  color: var(--navy);
  font-size: 17px;
  font-weight: 900;
}

.ai-summary-card p {
  margin: 0;
  color: #4f5d7a;
  font-size: 13px;
  line-height: 1.42;
}

.ai-decor {
  width: 82px;
  height: 58px;
  border-radius: 13px;
  transform: rotate(-23deg);
  box-shadow: inset 0 -9px 0 rgba(0, 0, 0, 0.1), 0 14px 26px rgba(21, 40, 85, 0.12);
}

.ai-decor::before,
.ai-decor::after {
  content: "";
  position: absolute;
  top: 10px;
  width: 17px;
  height: 17px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.32);
}

.ai-decor::before {
  left: 17px;
}

.ai-decor::after {
  right: 17px;
}

.ai-decor.small {
  width: 56px;
  height: 42px;
}

.ai-purple {
  background: linear-gradient(135deg, #9a73ff, #6740e8);
}

.ai-yellow {
  background: linear-gradient(135deg, #ffd458, #ffb60d);
}

.ai-green {
  background: linear-gradient(135deg, #8ee778, #57c62d);
}

.ai-spark {
  width: 30px;
  height: 30px;
  clip-path: polygon(50% 0, 62% 36%, 100% 50%, 62% 64%, 50% 100%, 38% 64%, 0 50%, 38% 36%);
}

.ai-spark-green {
  left: 14%;
  top: 108px;
  background: #6ce18b;
}

.ai-spark-purple {
  right: 18%;
  top: 138px;
  background: #8f59ff;
}

.ai-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: #ffc72c;
}

.ai-dot-a {
  left: 10%;
  top: 178px;
}

.ai-dot-b {
  right: 9%;
  top: 210px;
  background: #31c55b;
}

.ai-decor-a {
  left: 4%;
  top: 70px;
}

.ai-decor-b {
  right: 5%;
  top: 86px;
}

.ai-decor-c {
  left: 4%;
  bottom: 92px;
}

.ai-decor-d {
  right: 5%;
  top: 55%;
}

.ai-decor-e {
  right: 8%;
  bottom: 78px;
}

.creativity-library {
  position: relative;
  overflow: hidden;
  padding: 64px 0 72px;
  background:
    radial-gradient(circle at 20% 38%, rgba(237, 246, 255, 0.9), transparent 28%),
    radial-gradient(circle at 82% 42%, rgba(255, 240, 250, 0.82), transparent 30%),
    #fff;
}

.library-title {
  margin: 0;
  color: var(--navy);
  text-align: center;
  font-size: clamp(38px, 3.6vw, 50px);
  line-height: 1.12;
  font-weight: 900;
}

.library-title span {
  color: var(--green);
}

.library-subtitle {
  margin: 16px auto 54px;
  color: #5b6685;
  text-align: center;
  font-size: 19px;
  line-height: 1.5;
}

.library-layout {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 118px;
  align-items: stretch;
}

.library-panel {
  position: relative;
  min-height: 420px;
  padding: 42px 38px 34px;
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: 0 16px 45px rgba(7, 27, 77, 0.07);
}

.sprite-panel {
  background:
    radial-gradient(circle at 10% 12%, rgba(255, 255, 255, 0.9), transparent 28%),
    linear-gradient(135deg, #f5faff 0%, #eff6ff 100%);
}

.backdrop-panel {
  background:
    radial-gradient(circle at 84% 12%, rgba(255, 255, 255, 0.9), transparent 28%),
    linear-gradient(135deg, #fff8fd 0%, #f6efff 100%);
}

.library-panel h3 {
  margin: 0 0 18px;
  color: var(--navy);
  text-align: center;
  font-size: 27px;
  line-height: 1.15;
  font-weight: 900;
}

.library-panel > p {
  max-width: 430px;
  margin: 0 auto 26px;
  color: #4f5d7a;
  text-align: center;
  font-size: 16px;
  line-height: 1.55;
}

.library-block {
  position: absolute;
  top: 24px;
  width: 58px;
  height: 46px;
  border-radius: 10px;
  transform: rotate(-25deg);
  box-shadow: inset 0 -8px 0 rgba(0, 0, 0, 0.1), 0 14px 22px rgba(21, 40, 85, 0.12);
}

.library-block::before,
.library-block::after {
  content: "";
  position: absolute;
  top: 9px;
  width: 13px;
  height: 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.32);
}

.library-block::before {
  left: 11px;
}

.library-block::after {
  right: 11px;
}

.sprite-panel .library-block {
  left: 28px;
  background: linear-gradient(135deg, #ffc72c, #ffab00);
}

.backdrop-panel .library-block {
  right: 34px;
  background: linear-gradient(135deg, #f062b6, #db1b91);
}

.asset-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.library-image-placeholder {
  position: relative;
  min-height: 238px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px dashed #b8c9e5;
  border-radius: 14px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.7) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.7) 1px, transparent 1px),
    linear-gradient(135deg, #f9fcff, #e8f5ff);
  background-size: 25% 50%, 25% 50%, auto;
  box-shadow: inset 0 0 0 8px rgba(255, 255, 255, 0.45), 0 8px 20px rgba(7, 27, 77, 0.05);
}

.library-real-image {
  width: 100%;
  height: 238px;
  display: block;
  object-fit: cover;
  padding: 0;
  border-style: solid;
  background: #fff;
}

.library-image-placeholder > span {
  position: relative;
  z-index: 2;
  width: min(360px, calc(100% - 36px));
  padding: 12px 14px;
  border-radius: 14px;
  color: rgba(7, 27, 77, 0.72);
  background: rgba(255, 255, 255, 0.78);
  text-align: center;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.35;
}

.asset-tile {
  min-height: 116px;
  display: grid;
  grid-template-rows: 76px auto;
  align-items: center;
  justify-items: center;
  padding: 10px 8px 9px;
  border: 1px solid rgba(229, 234, 243, 0.75);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 8px 20px rgba(7, 27, 77, 0.05);
}

.asset-tile strong {
  color: #263657;
  font-size: 12px;
  font-weight: 800;
}

.asset-placeholder {
  position: relative;
  display: grid;
  place-items: center;
  color: rgba(38, 54, 87, 0.62);
  text-align: center;
  font-size: 8px;
  font-weight: 900;
  line-height: 1.15;
  padding: 4px;
}

.sprite-placeholder {
  width: 56px;
  height: 64px;
  border-radius: 22px;
  background:
    radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.82) 0 8%, transparent 9%),
    radial-gradient(circle at 65% 35%, rgba(255, 255, 255, 0.82) 0 8%, transparent 9%),
    linear-gradient(135deg, #d9f7ff, #bfeeff);
  border: 1px dashed #9bd6eb;
}

.backdrop-sheet-placeholder {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.7) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.7) 1px, transparent 1px),
    linear-gradient(135deg, #fffafd, #f5edff);
  background-size: 25% 50%, 25% 50%, auto;
  border-color: #dec7ef;
}

.backdrop-placeholder {
  width: 100%;
  height: 58px;
  border-radius: 7px;
  background:
    linear-gradient(90deg, rgba(49, 197, 91, 0.18), rgba(122, 77, 255, 0.15)),
    #f4f8ff;
  border: 1px dashed #b8c9e5;
}

.library-mascot {
  position: absolute;
  left: calc((100% - 82px) / 2);
  top: 54%;
  z-index: 3;
  width: 138px;
  height: 194px;
  border-radius: 52% 48% 45% 50%;
  background: #35c7bd;
  box-shadow: inset -12px -12px 0 rgba(0, 105, 121, 0.15), 0 18px 28px rgba(0, 105, 121, 0.14);
  transform: translate(-18%, -50%);
}

.library-mascot-image {
  object-fit: contain;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  filter: drop-shadow(0 18px 24px rgba(0, 105, 121, 0.14));
}

.library-mascot span {
  position: relative;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 78px;
  margin: 42px auto 0;
  color: rgba(7, 27, 77, 0.72);
  text-align: center;
  font-size: 8px;
  font-weight: 900;
  line-height: 1.2;
}

.library-mascot::before {
  content: "";
  position: absolute;
  left: -18px;
  top: 48px;
  width: 32px;
  height: 44px;
  border-radius: 999px;
  background: #35c7bd;
}

.library-mascot::after {
  content: "";
  position: absolute;
  right: 5px;
  top: -16px;
  width: 54px;
  height: 32px;
  border-radius: 60% 60% 10px 10px;
  background: #35c7bd;
  transform: rotate(15deg);
}

.projects {
  padding: 34px 0 32px;
  background: linear-gradient(180deg, #f4fbff 0%, #eef8ff 100%);
}

.projects .section-title {
  margin-bottom: 10px;
}

.section-subtitle {
  margin: 0 0 28px;
  color: var(--muted);
  text-align: center;
  font-size: 15px;
}

.project-carousel {
  display: grid;
  grid-template-columns: 48px 1fr 48px;
  align-items: center;
  gap: 18px;
}

.carousel-arrow {
  width: 48px;
  height: 48px;
  border: 2px solid #70d990;
  border-radius: 999px;
  color: var(--green);
  background: #fff;
  font-size: 25px;
  font-weight: 900;
  cursor: pointer;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 25px;
}

.project-card {
  min-width: 0;
}

.project-image {
  width: 100%;
  aspect-ratio: 1.8 / 1;
  min-height: 100px;
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: 0 10px 24px rgba(19, 48, 97, 0.16);
  display: block;
  object-fit: cover;
  background: #e8f3ff;
}

.project-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 9px;
}

.project-meta span {
  padding: 3px 9px;
  border: 1px solid #a698ff;
  border-radius: 999px;
  color: #5b4ac7;
  background: #fff;
  font-size: 11px;
  font-weight: 800;
}

.projects-button {
  display: flex;
  width: 214px;
  margin: 30px auto 0;
}

.testimonials {
  overflow: hidden;
  padding: 34px 0 42px;
  background: #fff;
}

.testimonials-shell {
  position: relative;
}

.testimonial-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
  width: calc(100% - 140px);
  margin: 0 auto;
}

.testimonial-card {
  min-height: 190px;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--soft-shadow);
}

.stars {
  color: #ffc400;
  letter-spacing: 3px;
  font-size: 18px;
  font-weight: 900;
}

.testimonial-card p {
  min-height: 70px;
  margin: 16px 0 20px;
  color: var(--navy);
  font-size: 14px;
  line-height: 1.7;
}

.person {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
}

.avatar {
  position: relative;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  overflow: hidden;
  border-radius: 999px;
  border: 3px solid #eef8ff;
  box-shadow: 0 8px 16px rgba(7, 27, 77, 0.12);
  animation: avatar-bob 4s ease-in-out infinite;
}

.avatar::after {
  content: "";
  position: absolute;
  inset: 4px 6px auto auto;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
}

.avatar .hair,
.avatar .face,
.avatar .shirt {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.avatar .face {
  top: 13px;
  width: 23px;
  height: 24px;
  border-radius: 50% 50% 45% 45%;
  background: #f4b989;
  z-index: 2;
}

.avatar .hair {
  top: 8px;
  width: 29px;
  height: 20px;
  border-radius: 16px 16px 10px 10px;
  z-index: 3;
}

.avatar .shirt {
  bottom: -8px;
  width: 34px;
  height: 22px;
  border-radius: 18px 18px 6px 6px;
  z-index: 1;
}

.avatar .eyes::before,
.avatar .eyes::after {
  content: "";
  position: absolute;
  top: 9px;
  width: 3px;
  height: 4px;
  border-radius: 999px;
  background: #071b33;
  animation: avatar-blink 5s infinite;
}

.avatar .eyes::before {
  left: 7px;
}

.avatar .eyes::after {
  right: 7px;
}

.avatar .smile {
  position: absolute;
  left: 50%;
  bottom: 6px;
  width: 9px;
  height: 5px;
  border-bottom: 2px solid #7c321f;
  border-radius: 0 0 999px 999px;
  transform: translateX(-50%);
}

.avatar-aarav {
  background: linear-gradient(135deg, #7ce5ff, #1faed7);
}

.avatar-aarav .hair {
  background: #18345d;
}

.avatar-aarav .hair::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 9px;
  width: 10px;
  height: 10px;
  border-radius: 0 0 10px 10px;
  background: #18345d;
}

.avatar-aarav .shirt {
  background: linear-gradient(135deg, #31c55b, #159bdb);
}

.avatar-meera {
  background: linear-gradient(135deg, #ff83db, #7a4dff);
  animation-delay: 0.5s;
}

.avatar-meera .face {
  background: #d99a70;
}

.avatar-meera .hair {
  width: 33px;
  height: 31px;
  top: 6px;
  border-radius: 17px 17px 13px 13px;
  background: #38234d;
  z-index: 1;
}

.avatar-meera .face {
  z-index: 2;
}

.avatar-meera .glasses::before,
.avatar-meera .glasses::after {
  content: "";
  position: absolute;
  top: 8px;
  width: 7px;
  height: 6px;
  border: 1.6px solid #071b33;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
}

.avatar-meera .glasses::before {
  left: 4px;
}

.avatar-meera .glasses::after {
  right: 4px;
}

.avatar-meera .glasses {
  position: absolute;
  left: 10px;
  top: 11px;
  width: 4px;
  height: 2px;
  background: #071b33;
}

.avatar-meera .shirt {
  background: linear-gradient(135deg, #ffc72c, #ff9f1c);
}

.avatar-diya {
  background: linear-gradient(135deg, #ffd35c, #f062b6);
  animation-delay: 1s;
}

.avatar-diya .face {
  background: #ecab7b;
}

.avatar-diya .hair {
  width: 31px;
  height: 22px;
  top: 8px;
  background: #4a2546;
}

.avatar-diya .hair::before,
.avatar-diya .hair::after {
  content: "";
  position: absolute;
  top: 10px;
  width: 8px;
  height: 12px;
  border-radius: 999px;
  background: #4a2546;
}

.avatar-diya .hair::before {
  left: -2px;
}

.avatar-diya .hair::after {
  right: -2px;
}

.avatar-diya .shirt {
  background: linear-gradient(135deg, #7a4dff, #f062b6);
}

@keyframes avatar-bob {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-3px);
  }
}

@keyframes avatar-blink {
  0%, 92%, 100% {
    transform: scaleY(1);
  }
  95% {
    transform: scaleY(0.15);
  }
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 28px 0 0;
}

.testimonial-dots span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #d8dde8;
}

.testimonial-dots span:first-child {
  background: #4b2ab5;
}

.mascot-placeholder {
  position: absolute;
  right: -34px;
  bottom: 18px;
  width: 150px;
  height: 190px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  border-radius: 52% 48% 45% 50%;
  color: #045b62;
  background:
    radial-gradient(circle at 38% 33%, #fff 0 9%, transparent 10%),
    radial-gradient(circle at 62% 33%, #fff 0 9%, transparent 10%),
    linear-gradient(135deg, #54d7d2, #25bdb4);
  box-shadow: inset -13px -13px 0 rgba(0, 105, 121, 0.15), 0 18px 30px rgba(0, 108, 126, 0.16);
  text-align: center;
  font-size: 9px;
  font-weight: 900;
  line-height: 1.35;
}

.mascot-image {
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  object-fit: contain;
  z-index: 3;
  filter: drop-shadow(0 18px 24px rgba(0, 105, 121, 0.14));
}

.cta {
  padding: 0 0 16px;
  background: #fff;
}

.cta-banner {
  position: relative;
  width: min(1120px, calc(100% - 56px));
  min-height: 190px;
  display: grid;
  place-items: center;
  overflow: hidden;
  margin: 0 auto;
  padding: 36px 210px;
  border-radius: 24px;
  color: #fff;
  background:
    radial-gradient(circle at 20% 35%, rgba(255, 255, 255, 0.14), transparent 22%),
    linear-gradient(110deg, #874cff 0%, #5036e8 45%, #2528d8 100%);
  text-align: center;
}

.cta-banner h2 {
  margin: 0 0 12px;
  font-size: clamp(28px, 3vw, 39px);
  line-height: 1.1;
  font-weight: 900;
}

.cta-banner p {
  margin: 0 0 22px;
  font-size: 16px;
  font-weight: 500;
}

.btn-cta {
  min-width: 330px;
  min-height: 56px;
  font-size: 17px;
}

.cta-left {
  left: 72px;
  top: 46px;
}

.cta-right {
  right: 210px;
  bottom: 42px;
  width: 46px;
  height: 34px;
}

.cta-star-left {
  left: 185px;
  bottom: 40px;
  background: #54dcff;
}

.cta-star-right {
  right: 55px;
  top: 45px;
  width: 70px;
  height: 70px;
  background: var(--yellow);
}

.site-footer {
  background:
    radial-gradient(circle at 14% 8%, rgba(44, 107, 191, 0.32), transparent 28%),
    linear-gradient(180deg, #071b33, #06172d);
  color: #fff;
}

.footer-shell {
  display: grid;
  grid-template-columns: 1.5fr 0.7fr;
  gap: 58px;
  padding: 54px 0 36px;
}

.footer-brand p,
.footer-col p,
.footer-col a {
  color: #d6e0f2;
  font-size: 14px;
  line-height: 1.72;
}

.footer-brand p {
  max-width: 250px;
  margin: 22px 0 18px;
}

.socials {
  display: flex;
  gap: 12px;
}

.socials a {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  color: #fff;
  background: #356fc1;
  font-size: 13px;
  font-weight: 900;
}

.socials a:nth-child(2) { background: #2e8ad7; }
.socials a:nth-child(3) { background: #cd4ba6; }
.socials a:nth-child(4) { background: #f03b3b; }

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-col h3 {
  margin-bottom: 12px;
  color: #fff;
}

.newsletter p {
  margin: 0 0 13px;
}

.newsletter form {
  display: flex;
  max-width: 236px;
  overflow: hidden;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
}

.newsletter input {
  min-width: 0;
  flex: 1;
  height: 46px;
  border: 0;
  padding: 0 17px;
  color: #fff;
  background: transparent;
  outline: none;
}

.newsletter input::placeholder {
  color: #d5ddef;
}

.newsletter button {
  width: 44px;
  border: 0;
  color: #fff;
  background: var(--green);
  font-weight: 900;
  cursor: pointer;
}

.footer-bottom {
  width: min(var(--max), calc(100% - 56px));
  margin: 0 auto;
  padding: 18px 0 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.65);
  text-align: center;
  font-size: 13px;
}

.modal-open {
  overflow: hidden;
}

.extension-modal[hidden] {
  display: none;
}

.extension-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 22px;
}

.extension-modal-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 32% 24%, rgba(49, 197, 91, 0.22), transparent 28%),
    radial-gradient(circle at 72% 74%, rgba(122, 77, 255, 0.2), transparent 30%),
    rgba(7, 27, 77, 0.46);
  backdrop-filter: blur(10px);
}

.extension-dialog {
  position: relative;
  width: min(560px, 100%);
  overflow: hidden;
  padding: 42px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(245, 250, 255, 0.94)),
    #fff;
  box-shadow: 0 34px 90px rgba(7, 27, 77, 0.28);
}

.modal-orb {
  position: absolute;
  right: -44px;
  top: -44px;
  width: 170px;
  height: 170px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(49, 197, 91, 0.24), transparent 68%);
}

.modal-close {
  position: absolute;
  right: 20px;
  top: 18px;
  z-index: 2;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 999px;
  color: var(--navy);
  background: #eef7ff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.modal-kicker {
  position: relative;
  margin: 0 0 12px;
  color: var(--green);
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
}

.extension-dialog h2 {
  position: relative;
  margin: 0 0 14px;
  color: var(--navy);
  font-size: clamp(32px, 4vw, 44px);
  line-height: 1.08;
  font-weight: 900;
}

.modal-description {
  position: relative;
  margin: 0;
  color: #4f5d7a;
  font-size: 17px;
  line-height: 1.62;
}

.modal-points {
  position: relative;
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.modal-points li {
  position: relative;
  padding: 13px 16px 13px 44px;
  border: 1px solid #e5eaf3;
  border-radius: 16px;
  color: var(--navy);
  background: #fff;
  font-size: 15px;
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(7, 27, 77, 0.05);
}

.modal-points li::before {
  content: "✓";
  position: absolute;
  left: 14px;
  top: 50%;
  width: 21px;
  height: 21px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: var(--green);
  transform: translateY(-50%);
  font-size: 13px;
}

.modal-tags {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 24px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Credits page */
.credits-page {
  background: #f5faff;
}

.credits-hero {
  position: relative;
  overflow: hidden;
  padding: 56px 0 48px;
  background:
    radial-gradient(circle at 18% 18%, rgba(238, 247, 255, 0.9), transparent 30%),
    radial-gradient(circle at 84% 22%, rgba(232, 251, 239, 0.75), transparent 28%),
    linear-gradient(135deg, #f5faff 0%, #fff 100%);
}

.credits-hero-grid {
  display: grid;
  gap: 34px;
  align-items: center;
}

.credits-hero-copy h1 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(40px, 12vw, 46px);
  line-height: 1.05;
  font-weight: 900;
}

.credits-hero-copy h1 span {
  color: var(--green);
}

.credits-hero-copy p {
  max-width: 650px;
  margin: 22px 0;
  color: #263657;
  font-size: 16px;
  line-height: 1.68;
}

.powered-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  color: var(--navy);
  background: #fff;
  box-shadow: 0 12px 30px rgba(7, 27, 77, 0.1);
  font-weight: 900;
}

.powered-pill span {
  color: #ff4b58;
}

.powered-pill strong {
  color: var(--green);
}

.credits-hero-placeholder {
  min-height: 260px;
  display: grid;
  place-items: center;
  padding: 28px;
  border: 1px dashed #b8c9e5;
  border-radius: 28px;
  color: rgba(7, 27, 77, 0.7);
  background:
    radial-gradient(circle at 72% 34%, rgba(49, 197, 91, 0.18), transparent 24%),
    linear-gradient(135deg, #fff, #eef7ff);
  box-shadow: 0 18px 46px rgba(7, 27, 77, 0.08);
  text-align: center;
  font-weight: 900;
  line-height: 1.45;
}

.credits-hero-image {
  width: 100%;
  height: auto;
  min-height: 0;
  display: block;
  padding: 0;
  border: 0;
  object-fit: contain;
  background: transparent;
  box-shadow: none;
}

.credits-decor.block {
  position: absolute;
  width: 86px;
  height: 58px;
  border-radius: 13px;
  transform: rotate(-22deg);
  box-shadow: inset 0 -9px 0 rgba(0, 0, 0, 0.1), 0 16px 28px rgba(21, 40, 85, 0.12);
}

.credits-decor.purple {
  left: -20px;
  top: 110px;
  background: linear-gradient(135deg, #9a73ff, #6740e8);
}

.credits-decor.green {
  right: 22px;
  bottom: 38px;
  background: linear-gradient(135deg, #8ee778, #57c62d);
}

.credits-star {
  position: absolute;
  width: 30px;
  height: 30px;
  clip-path: polygon(50% 0, 62% 36%, 100% 50%, 62% 64%, 50% 100%, 38% 64%, 0 50%, 38% 36%);
  background: rgba(122, 77, 255, 0.28);
}

.star-one {
  right: 30%;
  top: 72px;
}

.credits-content {
  padding: 0 0 48px;
  background:
    radial-gradient(circle at 8% 18%, rgba(238, 247, 255, 0.8), transparent 25%),
    linear-gradient(180deg, #f5faff 0%, #fff 100%);
}

.credits-intro-cards,
.extension-credit-grid {
  display: grid;
  gap: 18px;
}

.credit-mini-card,
.credits-card,
.important-note {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 35px rgba(7, 27, 77, 0.07);
}

.credit-mini-card {
  display: grid;
  grid-template-columns: 72px 1fr;
  align-items: center;
  gap: 18px;
  min-height: 120px;
  padding: 22px;
  border-radius: 22px;
}

.credit-mini-card h2,
.credits-card h2,
.important-note h2,
.gratitude-cta h2 {
  margin: 0 0 9px;
  color: var(--navy);
  font-weight: 900;
}

.credit-mini-card h2 {
  font-size: 18px;
}

.credit-mini-card p,
.credits-card p,
.important-note p,
.gratitude-cta p {
  margin: 0;
  color: #4f5d7a;
  line-height: 1.62;
}

.credit-icon,
.card-icon,
.note-icon {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  font-size: 28px;
  font-weight: 900;
}

.credit-icon.green,
.card-icon.green {
  color: #16a34a;
  background: #e8fbef;
}

.credit-icon.purple,
.card-icon.purple {
  color: #7a4dff;
  background: #f1e9ff;
}

.credit-icon.yellow {
  color: #f5a400;
  background: #fff3d6;
}

.card-icon.blue {
  color: #1685e8;
  background: #eaf6ff;
}

.credits-card {
  position: relative;
  display: grid;
  gap: 20px;
  margin-top: 18px;
  padding: 24px;
  border-radius: 24px;
}

.credits-card h2 {
  font-size: 24px;
}

.core-card {
  align-items: start;
}

.credit-check-list {
  display: grid;
  gap: 10px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.credit-check-list li {
  position: relative;
  padding-left: 32px;
  color: #40506e;
  line-height: 1.5;
}

.credit-check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 1px;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: #1685e8;
  font-size: 12px;
  font-weight: 900;
}

.block-stack-placeholder {
  min-height: 240px;
  display: grid;
  place-items: center;
  padding: 20px;
  border: 1px dashed #b8c9e5;
  border-radius: 22px;
  color: rgba(7, 27, 77, 0.7);
  background:
    linear-gradient(180deg, #31c55b 0 21%, #ffb521 21% 43%, #2f86f6 43% 65%, #7a4dff 65% 86%, #fff 86%),
    #fff;
  box-shadow: inset 0 0 0 10px rgba(255, 255, 255, 0.55);
  text-align: center;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.4;
}

.block-stack-image {
  width: 100%;
  max-width: 220px;
  height: auto;
  min-height: 0;
  display: block;
  justify-self: center;
  padding: 0;
  border: 0;
  object-fit: contain;
  background: transparent;
  box-shadow: none;
}

.extensions-credit-head {
  margin-bottom: 14px;
}

.extension-credit-grid article {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.86);
  min-width: 0;
}

.extension-credit-grid article > div {
  min-width: 0;
}

.extension-credit-grid h3 {
  margin: 0 0 4px;
  color: var(--navy);
  font-size: 15px;
  font-weight: 900;
}

.extension-credit-grid p {
  font-size: 13px;
  line-height: 1.45;
}

.tiny-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  font-weight: 900;
}

.tiny-icon.green { color: #16a34a; background: #e8fbef; }
.tiny-icon.blue { color: #1685e8; background: #eaf6ff; }
.tiny-icon.purple { color: #7a4dff; background: #f1e9ff; }
.tiny-icon.yellow { color: #f5a400; background: #fff3d6; }
.tiny-icon.cyan { color: #0ea58a; background: #e6fbf5; }
.tiny-icon.pink { color: #f062b6; background: #ffeaf6; }

.important-note {
  position: relative;
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 20px;
  align-items: center;
  margin-top: 26px;
  padding: 24px;
  border-color: #ffe2a8;
  border-radius: 22px;
  background: #fff7e6;
}

.note-icon {
  color: #fff;
  background: #ffc72c;
}

.note-block {
  display: none;
}

.gratitude-cta {
  position: relative;
  display: grid;
  gap: 18px;
  align-items: center;
  margin-top: 26px;
  padding: 28px;
  border-radius: 26px;
  color: #fff;
  background: linear-gradient(110deg, #33a7ff, #7a4dff);
  box-shadow: 0 18px 44px rgba(80, 72, 220, 0.22);
}

.gratitude-cta h2,
.gratitude-cta p {
  color: #fff;
}

.gratitude-cta h2 {
  font-size: 32px;
}

.gratitude-cta a {
  width: fit-content;
  padding: 14px 22px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  font-weight: 900;
}

.gratitude-placeholder {
  min-height: 116px;
  display: grid;
  place-items: center;
  padding: 16px;
  border: 1px dashed rgba(255, 255, 255, 0.58);
  border-radius: 20px;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.35;
}

.gratitude-icon {
  width: 92px;
  height: 92px;
  display: grid;
  place-items: center;
  border-radius: 26px;
  color: #fff;
  background:
    radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.36), transparent 28%),
    linear-gradient(135deg, #ff72c8, #7a4dff);
  box-shadow: 0 16px 34px rgba(7, 27, 77, 0.18);
  font-size: 42px;
  font-weight: 900;
}

.credits-page .footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

@media (min-width: 900px) {
  .credits-hero {
    padding: 80px 0 70px;
  }

  .credits-hero-grid {
    grid-template-columns: 0.95fr 1.05fr;
    gap: 54px;
  }

  .credits-hero-copy h1 {
    font-size: 64px;
  }

  .credits-hero-placeholder {
    width: 520px;
    min-height: 340px;
    justify-self: end;
  }

  .credits-intro-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 0;
  }

  .credits-card {
    grid-template-columns: 72px 1fr;
    padding: 36px 40px;
  }

  .core-card {
    grid-template-columns: 72px 1fr 220px;
  }

  .extension-credit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .extension-credit-grid .wide {
    grid-column: 1 / -1;
  }

  .note-block {
    display: block;
    width: 86px;
    height: 58px;
    border-radius: 13px;
    background: linear-gradient(135deg, #ffc72c, #ff9f1c);
    transform: rotate(-18deg);
    box-shadow: inset 0 -9px 0 rgba(0, 0, 0, 0.1), 0 16px 28px rgba(21, 40, 85, 0.12);
  }

  .important-note {
    grid-template-columns: 72px 1fr 120px;
    padding: 28px 34px;
  }

  .gratitude-cta {
    grid-template-columns: 100px 1fr;
    padding: 38px 46px;
  }

  .gratitude-placeholder {
    width: 140px;
    min-height: 140px;
  }
}

@media (max-width: 840px) {
  .credits-page .extension-credit-grid {
    grid-template-columns: 1fr;
  }

  .credits-page .extension-credit-grid article {
    grid-template-columns: 54px minmax(0, 1fr);
    width: 100%;
  }
}

.credits-page .extensions-credit-card {
  grid-template-columns: 72px minmax(0, 1fr);
}

.credits-page .extensions-credit-head {
  grid-column: 2;
}

.credits-page .extension-credit-grid {
  grid-column: 1 / -1;
  width: 100%;
}

@media (max-width: 640px) {
  .credits-page .extensions-credit-card {
    grid-template-columns: 1fr;
  }

  .credits-page .extensions-credit-head,
  .credits-page .extension-credit-grid {
    grid-column: 1;
  }
}

@media (max-width: 1120px) {
  .main-nav {
    gap: 18px;
    font-size: 13px;
  }

  .hero-grid,
  .promo-grid {
    grid-template-columns: 1fr;
  }

  .platform-card,
  .video-card {
    margin: 0 auto;
  }

  .feature-grid,
  .all-card-grid,
  .project-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .why-grid,
  .product-card-grid,
  .extension-grid,
  .testimonial-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-card-grid .product-card:last-child {
    grid-column: 1 / -1;
    width: min(390px, 100%);
    justify-self: center;
  }

  .benefit-card-row {
    flex-wrap: wrap;
  }

  .ai-summary-row {
    grid-template-columns: 1fr;
  }

  .library-layout {
    gap: 48px;
  }

  .library-mascot {
    width: 78px;
    height: 112px;
  }

  .testimonial-row {
    width: 100%;
    padding-right: 170px;
  }

  .footer-shell {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 840px) {
  .section-shell,
  .nav-shell,
  .footer-shell,
  .footer-bottom {
    width: min(100% - 32px, var(--max));
  }

  .site-header {
    height: auto;
  }

  .nav-shell {
    grid-template-columns: 1fr auto;
    padding: 12px 0;
  }

  .main-nav {
    grid-column: 1 / -1;
    order: 3;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .main-nav a {
    padding: 12px 0 13px;
    white-space: nowrap;
  }

  .main-nav a.active::after {
    bottom: 3px;
  }

  .nav-actions {
    gap: 8px;
  }

  .nav-actions .btn {
    min-height: 38px;
    padding: 0 15px;
    font-size: 12px;
  }

  .hero {
    padding-top: 28px;
  }

  .hero h1 {
    font-size: 48px;
  }

  .hero h2 {
    font-size: 34px;
  }

  .hero-buttons,
  .badges {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    flex-wrap: wrap;
  }

  .badges {
    gap: 18px;
  }

  .platform-card {
    height: auto;
    overflow: hidden;
  }

  .platform-body {
    height: auto;
    grid-template-columns: 58px 1fr;
  }

  .stage-area {
    grid-column: 1 / -1;
    min-height: 245px;
  }

  .feature-grid,
  .all-card-grid,
  .why-grid,
  .product-card-grid,
  .extension-grid,
  .ai-summary-row,
  .project-grid,
  .testimonial-row,
  .footer-shell {
    grid-template-columns: 1fr;
  }

  .all-in-one {
    padding: 42px 0 54px;
  }

  .os-compatibility-card {
    align-items: flex-start;
    flex-direction: column;
    padding: 22px;
  }

  .os-icons {
    justify-content: flex-start;
  }

  .all-title {
    font-size: 34px;
  }

  .all-subtitle {
    margin-bottom: 30px;
    font-size: 17px;
  }

  .all-card {
    min-height: 210px;
  }

  .ai-extensions {
    padding: 60px 0;
  }

  .ai-title {
    font-size: 36px;
  }

  .ai-subtitle {
    font-size: 17px;
  }

  .ai-subtitle br {
    display: none;
  }

  .connector-line {
    display: none;
  }

  .buzz-pill {
    min-height: 56px;
    padding: 12px 23px;
    font-size: 28px;
  }

  .extension-banner {
    height: 135px;
  }

  .ai-summary-card {
    grid-template-columns: 70px 1fr;
  }

  .summary-icon {
    width: 64px;
    height: 64px;
  }

  .ai-decor-a,
  .ai-decor-b,
  .ai-decor-c,
  .ai-decor-d,
  .ai-decor-e,
  .ai-spark-purple,
  .ai-dot-a,
  .ai-dot-b {
    display: none;
  }

  .creativity-library {
    padding: 56px 0;
  }

  .library-title {
    font-size: 34px;
  }

  .library-subtitle {
    margin-bottom: 34px;
    font-size: 17px;
  }

  .library-layout {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .library-panel {
    min-height: auto;
    padding: 34px 20px 28px;
  }

  .library-mascot {
    position: absolute;
    left: auto;
    right: -55px;
    top: 258px;
    justify-self: auto;
    order: 0;
    width: 92px;
    height: 129px;
    transform: none;
  }

  .backdrop-panel {
    order: 2;
  }

  .asset-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .compatible-products {
    padding: 56px 0;
  }

  .compatible-title {
    font-size: 36px;
  }

  .compatible-subtitle {
    font-size: 17px;
  }

  .compatible-subtitle br {
    display: none;
  }

  .product-card-grid .product-card:last-child {
    grid-column: auto;
    width: 100%;
  }

  .product-card {
    min-height: auto;
  }

  .product-image {
    height: 210px;
  }

  .product-content {
    min-height: 190px;
    padding: 24px;
  }

  .benefit-card-row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .benefit-card {
    width: 100%;
  }

  .decor-compatible-a,
  .decor-compatible-b,
  .decor-compatible-c,
  .decor-compatible-d,
  .decor-compatible-e,
  .decor-compatible-f {
    display: none;
  }

  .promo-copy {
    padding-left: 0;
  }

  .project-carousel {
    grid-template-columns: 1fr;
  }

  .carousel-arrow {
    display: none;
  }

  .testimonial-row {
    padding-right: 0;
    padding-bottom: 80px;
  }

  .mascot-placeholder {
    position: absolute;
    right: -8px;
    bottom: 14px;
    width: 92px;
    height: 116px;
    margin: 0;
  }

  .cta-banner {
    width: calc(100% - 32px);
    padding: 38px 22px;
  }

  .btn-cta {
    min-width: 0;
    width: 100%;
  }
}

@media (max-width: 560px) {
  .nav-shell {
    grid-template-columns: 1fr;
  }

  .nav-actions {
    justify-content: flex-start;
  }

  .hero-body br,
  .promo-copy p br {
    display: none;
  }

  .hero-buttons {
    display: grid;
  }

  .btn-large {
    width: 100%;
  }

  .platform-topbar {
    gap: 8px;
    padding: 0 10px;
    font-size: 10px;
  }

  .project-name {
    min-width: 0;
    padding-inline: 10px;
  }

  .video-card {
    height: 280px;
  }

}

@media (max-width: 840px) {
  .site-header {
    position: relative;
  }

  .nav-shell {
    gap: 12px;
    padding: 16px 0 8px;
  }

  .logo {
    min-height: 42px;
    font-size: 20px;
  }

  .main-nav {
    gap: 22px;
    width: calc(100vw - 32px);
    scrollbar-width: none;
  }

  .main-nav::-webkit-scrollbar {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 40px 0 36px;
  }

  .hero h1 {
    font-size: clamp(46px, 13vw, 58px);
  }

  .hero h2 {
    font-size: clamp(31px, 9vw, 38px);
  }

  .hero-buttons {
    display: grid;
    gap: 12px;
    margin-bottom: 38px;
  }

  .hero .decor,
  .promo .decor,
  .cta .decor {
    opacity: 0.42;
    transform: scale(0.6) rotate(-24deg);
  }

  .hero .block-a,
  .hero .block-b,
  .hero .block-c,
  .promo-left,
  .promo-right {
    display: none;
  }

  .promo {
    min-height: auto;
    padding: 52px 0 42px;
  }

  .promo-copy h2 {
    font-size: 34px;
  }

  .promo-copy p {
    font-size: 16px;
  }

  .library-panel {
    overflow: visible;
  }

  .library-image-placeholder {
    min-height: 200px;
  }

  .library-real-image {
    height: 200px;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.72);
  }

  .library-mascot {
    right: -42px;
    top: 228px;
    width: 78px;
    height: 109px;
  }

  .cta-banner {
    min-height: 238px;
    padding: 34px 20px;
  }

  .cta-banner h2 {
    font-size: 28px;
  }

  .cta-banner p {
    font-size: 15px;
  }

  .cta-left {
    left: 20px;
    top: 22px;
  }

  .cta-right {
    right: 150px;
    bottom: 42px;
  }

  .cta-star-left {
    left: 178px;
    bottom: 34px;
  }

  .cta-star-right {
    right: 34px;
    top: 58px;
  }
}

@media (max-width: 560px) {
  body {
    overflow-x: hidden;
  }

  .nav-actions {
    justify-content: flex-start;
  }

  .main-nav {
    margin-top: 10px;
    width: 100%;
    flex-wrap: wrap;
    gap: 10px 18px;
    overflow: visible;
  }

  .main-nav a {
    padding: 8px 0 10px;
    font-size: 12px;
  }

  .badges {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 12px;
  }

  .badges li {
    min-width: 0;
  }

  .video-card {
    height: 280px;
    border-radius: 14px;
  }

  .compatible-title,
  .library-title,
  .all-title,
  .section-title {
    font-size: 31px;
  }

  .ai-title {
    font-size: 30px;
  }

  .compatible-subtitle,
  .ai-subtitle,
  .library-subtitle {
    font-size: 16px;
  }

  .product-content h3,
  .extension-content h3 {
    font-size: 22px;
  }

  .library-panel {
    padding: 34px 18px 28px;
  }

  .library-panel h3 {
    max-width: 255px;
    margin-left: auto;
    margin-right: auto;
    font-size: 26px;
  }

  .sprite-panel .library-block {
    left: 18px;
    top: 18px;
    opacity: 0.65;
    transform: scale(0.62) rotate(-25deg);
  }

  .backdrop-panel .library-block {
    right: 16px;
    top: 18px;
    opacity: 0.65;
    transform: scale(0.62) rotate(-25deg);
  }

  .library-image-placeholder {
    min-height: 184px;
  }

  .library-real-image {
    height: 184px;
  }

  .library-mascot {
    right: -45px;
    top: 236px;
    width: 66px;
    height: 92px;
  }

  .cta-banner {
    border-radius: 18px;
  }

  .cta .decor {
    display: none;
  }
}

/* Final Credits mobile fixes */
@media (max-width: 560px) {
  .credits-page .nav-shell {
    grid-template-columns: auto 1fr;
    align-items: center;
  }

  .credits-page .logo {
    width: 118px;
    min-height: 38px;
  }

  .credits-page .nav-actions {
    justify-content: flex-end;
  }

  .credits-page .play-nav-btn {
    min-width: 92px;
    min-height: 42px;
    font-size: 15px;
  }

  .credits-page .main-nav {
    grid-column: 1 / -1;
    margin-top: 10px;
  }

  .credits-page .credits-hero {
    padding-top: 48px;
  }

  .credits-page .credits-hero-copy h1 {
    max-width: 100%;
    font-size: 40px;
    line-height: 1.08;
    overflow-wrap: anywhere;
  }

  .credits-page .credits-hero-copy h1 span {
    display: block;
    font-size: 36px;
  }

  .credits-page .credits-hero-copy p {
    max-width: 100%;
    font-size: 15px;
    overflow-wrap: break-word;
  }

  .credits-page .credits-decor,
  .credits-page .credits-star {
    display: none;
  }
}

/* Final shared mobile header alignment */
@media (max-width: 560px) {
  .nav-shell {
    grid-template-columns: auto 1fr;
    align-items: center;
  }

  .logo {
    width: 118px;
    min-height: 38px;
  }

  .nav-actions {
    justify-content: flex-end;
  }

  .play-nav-btn {
    min-width: 92px;
    min-height: 42px;
    font-size: 15px;
  }

  .main-nav {
    grid-column: 1 / -1;
  }
}
