:root {
  --bg: #f7f9ff;
  --panel: rgba(255, 255, 255, 0.72);
  --panel-strong: rgba(255, 255, 255, 0.92);
  --line: rgba(123, 141, 255, 0.12);
  --text: #0c1434;
  --muted: #5d6789;
  --primary: #5062ff;
  --primary-deep: #4151f1;
  --soft-blue: #edf3ff;
  --shadow: 0 24px 60px rgba(72, 98, 201, 0.12);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 16px;
  --container: 1380px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Outfit", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 18%, rgba(135, 157, 255, 0.16), transparent 28%),
    radial-gradient(circle at 78% 22%, rgba(165, 144, 255, 0.16), transparent 26%),
    radial-gradient(circle at 70% 58%, rgba(118, 195, 255, 0.16), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #f7f9ff 45%, #f9fbff 100%);
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.18) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(circle at center, rgba(0,0,0,0.4), transparent 78%);
  opacity: 0.25;
}

img {
  max-width: 100%;
  display: block;
}

button,
a {
  font: inherit;
}

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

.container {
  width: min(calc(100% - 48px), var(--container));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(255, 255, 255, 0.72);
  border-bottom: 1px solid rgba(129, 145, 255, 0.08);
}

.nav-wrap {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 20px;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: inline-flex;
}

.brand-mark svg {
  width: 100%;
  height: 100%;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 15px;
  font-weight: 600;
}

.main-nav a {
  position: relative;
  color: #172041;
}

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

.main-nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #6b78ff, #4255f5);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-btn,
.ghost-btn,
.primary-btn,
.outline-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.lang-btn,
.ghost-btn {
  height: 44px;
  padding: 0 18px;
  font-size: 15px;
  color: #182244;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(85, 108, 255, 0.12);
}

.primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  padding: 0 24px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #6775ff, #4859f6 58%, #4d4fe5 100%);
  box-shadow: 0 18px 36px rgba(78, 96, 246, 0.24);
}

.primary-btn.small {
  height: 44px;
  padding: 0 20px;
  border-radius: 12px;
}

.outline-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  padding: 0 24px;
  font-weight: 700;
  color: var(--primary);
  background: rgba(255, 255, 255, 0.5);
  border: 1.5px solid rgba(90, 108, 255, 0.35);
}

.lang-btn:hover,
.ghost-btn:hover,
.primary-btn:hover,
.outline-btn:hover {
  transform: translateY(-2px);
}

.hero-section {
  position: relative;
  overflow: hidden;
  padding: 28px 0 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: 18px;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(34px);
}

.hero-glow-left {
  left: -12%;
  top: 10%;
  width: 420px;
  height: 420px;
  background: rgba(151, 181, 255, 0.22);
}

.hero-glow-right {
  right: -8%;
  top: 8%;
  width: 520px;
  height: 520px;
  background: rgba(179, 162, 255, 0.24);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(94, 118, 255, 0.08);
  color: var(--primary);
  font-weight: 700;
  font-size: 12px;
  box-shadow: 0 10px 24px rgba(80, 98, 255, 0.08);
}

.hero-copy {
  align-self: start;
}

.hero-copy h1 {
  margin: 44px 0 16px;
  font-size: clamp(42px, 4.8vw, 64px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.hero-copy h1 .accent-visual {
  position: relative;
  display: inline-block;
  padding: 0 2px 18px;
  color: #5a66ff;
  text-shadow: 0 0 1px rgba(90, 102, 255, 0.14);
}

.hero-copy h1 .accent-visual::before {
  content: "";
  position: absolute;
  left: -2px;
  bottom: -8px;
  width: calc(100% + 10px);
  height: 26px;
  background: no-repeat center / 100% 100% url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 30' preserveAspectRatio='none'%3E%3Cpath d='M8 10 C40 15 72 21 108 22 C142 23 176 20 212 13' fill='none' stroke='%23a7b1ff' stroke-opacity='0.28' stroke-width='7.2' stroke-linecap='round'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: -1;
  filter: blur(0.22px);
}

.hero-copy h1 .accent-visual::after {
  content: "";
  position: absolute;
  left: -3px;
  bottom: -7px;
  width: calc(100% + 12px);
  height: 24px;
  background: no-repeat center / 100% 100% url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 30' preserveAspectRatio='none'%3E%3Cpath d='M8 10 C40 15 72 21 108 22 C142 23 176 20 212 13' fill='none' stroke='%235a66ff' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E");
  pointer-events: none;
}

.hero-copy p {
  margin: 0;
  max-width: 640px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 28px;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 36px;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.stat-icon {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  background: rgba(91, 108, 255, 0.08);
  border: 1px solid rgba(91, 108, 255, 0.12);
  box-sizing: border-box;
}

.stat-icon svg {
  width: 22px;
  height: 22px;
  display: block;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.stat-icon-enterprise svg {
  width: 19px;
  height: 19px;
}

.stat-item strong {
  display: block;
  font-size: 16px;
  line-height: 1.1;
}

.stat-item span:last-child {
  color: var(--muted);
  font-size: 12px;
}

.hero-visual {
  position: relative;
  min-height: 0;
  align-self: start;
  padding-top: 24px;
}

.hero-visual img {
  display: block;
  width: 100%;
  max-width: 660px;
  border-radius: 14px;
  box-shadow: 0 20px 60px rgba(89, 111, 255, 0.12);
}

.floating-star {
  position: absolute;
  width: 26px;
  height: 26px;
  background: linear-gradient(135deg, #8ea5ff, #5a6cff);
  clip-path: polygon(50% 0%, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0% 50%, 38% 38%);
  box-shadow: 0 10px 28px rgba(89, 111, 255, 0.24);
}

.star-one { top: 128px; left: 26px; }
.star-two { top: 44px; right: 12px; transform: scale(1.2); }

.prompt-card,
.glass-panel,
.glass-strip,
.feature-card {
  backdrop-filter: blur(18px);
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow);
}

.prompt-card {
  position: absolute;
  top: 36px;
  right: 168px;
  z-index: 4;
  width: 400px;
  min-height: 72px;
  padding: 16px 18px;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.prompt-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: #27304f;
}

.studio-wrap {
  position: absolute;
  inset: 84px 0 0 0;
}

.tool-rail {
  position: absolute;
  left: 0;
  top: 48px;
  z-index: 3;
  width: 78px;
  border-radius: 16px;
  padding: 12px 8px;
}

.tool-item {
  display: grid;
  place-items: center;
  gap: 8px;
  padding: 14px 10px;
  border-radius: 16px;
  color: #2a3554;
}

.tool-item span {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 16px;
  background: rgba(93, 108, 255, 0.08);
}

.tool-item small {
  font-size: 12px;
  font-weight: 700;
}

.tool-item.active {
  background: rgba(255, 255, 255, 0.8);
  box-shadow: inset 0 0 0 1px rgba(85, 108, 255, 0.08);
}

.tool-item.active span {
  background: linear-gradient(135deg, #6976ff, #5260ff);
  color: #fff;
}

.studio-panel {
  position: absolute;
  left: 62px;
  top: 12px;
  right: 138px;
  z-index: 2;
  border-radius: 24px;
  padding: 12px;
}

.studio-panel::before {
  content: "";
  position: absolute;
  inset: 16px -18px -18px 16px;
  border-radius: 30px;
  background: rgba(176, 194, 255, 0.1);
  z-index: -1;
}

.art-grid {
  display: grid;
  grid-template-columns: 1.05fr 1.12fr 0.88fr;
  grid-template-rows: 178px 150px;
  gap: 8px;
}

.art-card {
  overflow: hidden;
  border-radius: 20px;
  background: #ecf2ff;
  position: relative;
}

.art-inner {
  position: absolute;
  inset: 0;
}

.botanical {
  grid-column: 1;
  grid-row: 1;
  background:
    radial-gradient(circle at 74% 28%, rgba(255,255,255,0.9), transparent 16%),
    radial-gradient(circle at 25% 90%, rgba(203, 228, 172, 0.9), transparent 16%),
    linear-gradient(135deg, #eff4ef, #cfdcce 42%, #dbe8dc 100%);
}

.botanical::before,
.botanical::after {
  content: "";
  position: absolute;
  border-radius: 999px 999px 40px 999px;
  background: linear-gradient(180deg, #5b965a, #78bc65);
}

.botanical::before {
  width: 56px;
  height: 134px;
  left: 72px;
  top: 18px;
  transform: rotate(-28deg);
}

.botanical::after {
  width: 42px;
  height: 112px;
  right: 52px;
  top: 28px;
  transform: rotate(30deg);
}

.botanical .art-inner::before {
  content: "";
  position: absolute;
  left: 112px;
  bottom: 24px;
  width: 56px;
  height: 152px;
  border-radius: 12px 12px 18px 18px;
  background: linear-gradient(180deg, rgba(89,49,7,0.2), rgba(127,73,22,0.9) 22%, rgba(139,77,24,0.95) 76%, rgba(72,35,4,1));
  box-shadow: inset 0 0 0 3px rgba(255,255,255,0.18), 0 18px 36px rgba(104, 65, 28, 0.24);
}

.botanical .art-inner::after {
  content: "";
  position: absolute;
  left: 128px;
  bottom: 170px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(33, 21, 15, 0.9);
}

.warm-room {
  grid-column: 2 / span 2;
  grid-row: 1;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.52), rgba(255,255,255,0)),
    linear-gradient(135deg, #dfccb8 0%, #d2ba9f 32%, #b89778 100%);
}

.warm-room::before {
  content: "";
  position: absolute;
  inset: 26px 38px 28px 38px;
  border-radius: 12px;
  background:
    linear-gradient(90deg, rgba(82, 55, 31, 0.35) 0 4%, transparent 4% 96%, rgba(82,55,31,0.35) 96%),
    linear-gradient(180deg, rgba(255,255,255,0.6), rgba(255,255,255,0.06));
}

.warm-room::after {
  content: "";
  position: absolute;
  left: 58px;
  right: 58px;
  bottom: 24px;
  height: 82px;
  border-radius: 22px 22px 8px 8px;
  background:
    radial-gradient(circle at 50% 14%, rgba(255,255,255,0.35), transparent 28%),
    linear-gradient(180deg, #d7c0a6, #b38d68);
  box-shadow: inset 0 8px 20px rgba(255,255,255,0.35);
}

.shoe-card {
  grid-column: 1;
  grid-row: 2;
  background:
    radial-gradient(circle at 80% 84%, rgba(158, 220, 140, 0.72), transparent 20%),
    linear-gradient(145deg, #dfe3ea 0%, #c5cdd7 100%);
}

.shoe-card::before {
  content: "";
  position: absolute;
  width: 158px;
  height: 72px;
  left: 36px;
  top: 64px;
  background: linear-gradient(180deg, #f9fafb, #d7dee7 70%, #a2adb9);
  border-radius: 48px 42px 28px 26px;
  transform: rotate(-18deg);
  box-shadow: inset 0 -10px 16px rgba(137, 146, 160, 0.3);
}

.shoe-card::after {
  content: "";
  position: absolute;
  width: 86px;
  height: 22px;
  left: 72px;
  top: 86px;
  border-radius: 999px;
  background: linear-gradient(90deg, #87be78, #6eab69);
  transform: rotate(-20deg);
}

.poster-card {
  grid-column: 2;
  grid-row: 2;
  background:
    radial-gradient(circle at 85% 20%, rgba(255, 197, 102, 0.7), transparent 18%),
    radial-gradient(circle at 10% 16%, rgba(255, 255, 255, 0.88), transparent 20%),
    linear-gradient(135deg, #7fe4ec, #59bdd3 48%, #87cfb2 100%);
}

.poster-card::before,
.poster-card::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: rgba(229, 255, 247, 0.9);
}

.poster-card::before { width: 86px; height: 86px; left: -18px; bottom: -18px; }
.poster-card::after { width: 104px; height: 104px; right: -24px; top: -24px; }

.poster-copy {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 8px;
  text-align: center;
  color: white;
  text-shadow: 0 8px 22px rgba(0, 83, 88, 0.28);
}

.poster-copy strong {
  font-size: 44px;
  letter-spacing: 0.04em;
}

.poster-copy span {
  font-size: 16px;
  font-weight: 700;
}

.poster-copy em {
  font-style: normal;
  justify-self: center;
  margin-top: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  background: #ff9963;
  color: #fff7ef;
  font-size: 22px;
  font-weight: 800;
}

.portrait-card {
  grid-column: 3;
  grid-row: 2;
  background:
    radial-gradient(circle at 50% 4%, rgba(255,255,255,0.72), transparent 16%),
    linear-gradient(180deg, #dce8f3 0%, #b2bfd0 100%);
}

.portrait-card::before {
  content: "";
  position: absolute;
  width: 132px;
  height: 160px;
  left: 50%;
  top: 22px;
  transform: translateX(-50%);
  border-radius: 48% 48% 42% 42% / 34% 34% 52% 52%;
  background: linear-gradient(180deg, #f7dbc9 0%, #eebea7 100%);
}

.portrait-card::after {
  content: "";
  position: absolute;
  width: 152px;
  height: 186px;
  left: 50%;
  top: 6px;
  transform: translateX(-50%);
  border-radius: 42% 42% 48% 48% / 32% 32% 54% 54%;
  background: radial-gradient(circle at 50% 30%, rgba(51,32,30,0.1), transparent 24%), linear-gradient(180deg, #33201e 0%, #4d2f2d 24%, rgba(77,47,45,0) 25%);
}

.selector {
  position: absolute;
  right: 0;
  width: 208px;
  padding: 12px;
  border-radius: 16px;
}

.selector h4 {
  margin: 0 0 16px;
  font-size: 16px;
}

.selector-style {
  top: 106px;
}

.selector-size {
  top: 304px;
}

.selector-chips,
.ratio-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.chip,
.ratio {
  min-height: 62px;
  border-radius: 16px;
  background: rgba(247, 249, 255, 0.92);
  border: 1px solid rgba(86, 104, 255, 0.08);
  display: grid;
  place-items: center;
  color: #43506c;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

.chip.active,
.ratio.active {
  color: var(--primary);
  background: rgba(255,255,255,0.96);
  border-color: rgba(86, 104, 255, 0.45);
  box-shadow: inset 0 0 0 1px rgba(86, 104, 255, 0.24);
}

.brand-bar-section {
  padding: 4px 0 20px;
  margin-top: -100px;
  position: relative;
  z-index: 2;
}

.brand-bar {
  min-height: 72px;
  border-radius: 24px;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.brand-bar-label {
  white-space: nowrap;
  color: #50607f;
  font-weight: 700;
  font-size: 14px;
  flex: 0 0 auto;
}

.brand-logos {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 16px;
  width: 100%;
}

.brand-logos span {
  display: grid;
  place-items: center;
  min-height: 48px;
  color: #5c6988;
  font-size: 16px;
  font-weight: 700;
}

.features-section {
  padding: 12px 0 42px;
  scroll-margin-top: 80px;
}

.section-heading {
  text-align: center;
  margin-bottom: 28px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(34px, 3vw, 52px);
  letter-spacing: -0.03em;
}

.section-heading p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 16px;
}

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

.feature-card {
  min-height: 160px;
  padding: 24px 22px;
  border-radius: 24px;
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: inline-grid;
  place-items: center;
  margin-bottom: 14px;
  background: transparent !important;
}

.feature-icon img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  border-radius: 0;
  box-shadow: none;
}

.feature-icon.blue { background: linear-gradient(135deg, #7283ff, #4f63ff); }
.feature-icon.indigo { background: linear-gradient(135deg, #6aa3ff, #566bff); }
.feature-icon.green { background: linear-gradient(135deg, #45dba6, #30b87f); }
.feature-icon.orange { background: linear-gradient(135deg, #ffbe6a, #ff9650); }
.feature-icon.purple { background: linear-gradient(135deg, #cb72ff, #9c5cff); }

.feature-card h3 {
  margin: 0 0 12px;
  font-size: 16px;
}

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

@media (max-width: 1380px) {
  .main-nav { gap: 20px; font-size: 15px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 0; }
  .brand-logos { grid-template-columns: repeat(4, 1fr); }
  .feature-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1024px) {
  .site-header { position: static; }
  .nav-wrap { flex-wrap: wrap; justify-content: center; padding: 18px 0; }
  .main-nav { flex-wrap: wrap; justify-content: center; }
  .hero-copy h1 { font-size: clamp(40px, 10vw, 64px); }
  .hero-copy p { font-size: 17px; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .hero-visual { min-height: auto; }
  .prompt-card { right: 40px; width: calc(100% - 120px); }
  .studio-panel { left: 72px; right: 32px; }
  .selector { position: relative; top: auto; right: auto; width: 100%; margin-top: 16px; }
  .studio-wrap { inset: 120px 0 0 0; display: grid; }
  .tool-rail { top: 0; }
  .selector-style { margin-top: 540px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .hero-section { padding-top: 28px; }
  .hero-copy p br { display: none; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .stats-row,
  .feature-grid,
  .brand-logos { grid-template-columns: 1fr; }
  .hero-visual { min-height: auto; }
  .prompt-card {
    position: relative;
    width: 100%;
    right: auto;
    top: auto;
    margin-bottom: 14px;
    flex-direction: column;
    align-items: flex-start;
  }
  .studio-wrap { position: relative; inset: auto; }
  .tool-rail {
    position: relative;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    margin-bottom: 16px;
  }
  .studio-panel {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    margin-bottom: 16px;
  }
  .art-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(4, 180px);
  }
  .botanical { grid-column: 1 / span 2; }
  .warm-room { grid-column: 1 / span 2; }
  .shoe-card { grid-column: 1; grid-row: 3; }
  .poster-card { grid-column: 2; grid-row: 3; }
  .portrait-card { grid-column: 1 / span 2; grid-row: 4; }
  .selector-chips,
  .ratio-row { grid-template-columns: repeat(2, 1fr); }
  .brand-bar { flex-direction: column; align-items: flex-start; }
  .section-heading h2 { font-size: 34px; }
  .feature-card { min-height: auto; }
}


.lang-btn::before {
  content: "◍";
  margin-right: 8px;
  color: var(--primary);
}

.outline-btn::after {
  content: "▷";
  margin-left: 10px;
  font-size: 12px;
}

.primary-btn::after {
  content: "→";
  margin-left: 10px;
}

.primary-btn.small::after {
  content: "";
  margin: 0;
}

.tool-item small {
  font-size: 10px;
  font-weight: 700;
}

.hero-visual::after {
  content: "";
  position: absolute;
  right: 52px;
  bottom: 22px;
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, #8c8fff, #6778ff);
  clip-path: polygon(0 0, 100% 58%, 66% 62%, 60% 100%, 0 0);
  filter: drop-shadow(0 8px 20px rgba(98, 113, 255, 0.36));
  opacity: 0.85;
}

.brand-bar {
  background: linear-gradient(90deg, rgba(240,244,255,0.95), rgba(249,251,255,0.9));
}

@media (max-width: 1380px) {
  .hero-visual { min-height: auto; }
}

/* ===== Asset-driven fidelity overrides ===== */
.brand img {
  display: block;
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.brand-text {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a2e;
  white-space: nowrap;
}

.eyebrow-image {
  gap: 10px;
  padding: 12px 22px;
}

.eyebrow-star {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  color: #7a6dff;
  font-size: 18px;
  line-height: 1;
  background: radial-gradient(circle at 30% 30%, rgba(168, 198, 255, 0.95), rgba(150, 121, 255, 0.82) 55%, rgba(97, 124, 255, 0.92));
  box-shadow: 0 10px 20px rgba(109, 123, 255, 0.18);
}

.hero-copy h1 .accent-visual {
  position: relative;
  display: inline-block;
  padding: 0 1px 18px;
  color: #5c67ff;
  text-shadow: none;
}

.hero-visual::after {
  content: none !important;
  display: none !important;
}

.accent-underline {
  display: none !important;
}

.hero-cta {
  gap: 20px;
}

.cta-image {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  transition: transform 0.22s ease;
  position: relative;
  min-width: 138px;
  height: 50px;
  padding: 0 20px;
  text-decoration: none;
  overflow: hidden;
}

.cta-image:hover {
  transform: translateY(-2px);
}

.cta-image img {
  display: none;
}

.cta-image span {
  position: relative;
  z-index: 1;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0;
  white-space: nowrap;
}

.cta-primary {
  color: #fff;
  background: linear-gradient(135deg, #3278ff, #7e42ff);
  box-shadow: 0 14px 26px rgba(87, 92, 255, 0.22);
}

.cta-primary::after {
  content: "→";
  position: relative;
  z-index: 1;
  margin-left: 9px;
  font-weight: 800;
}

.cta-secondary {
  color: #4f60ff;
  background: #fff;
  border: 1px solid rgba(83, 101, 255, 0.42);
  box-shadow: 0 10px 22px rgba(98, 114, 180, 0.08);
}

.cta-secondary::after {
  content: "▷";
  width: 17px;
  height: 17px;
  margin-left: 9px;
  border: 1px solid currentColor;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  font-size: 8px;
  line-height: 1;
}

.floating-star {
  background: none;
  clip-path: none;
  box-shadow: none;
  width: 34px;
  height: auto;
}

.star-one {
  top: 132px;
  left: 30px;
}

.star-two {
  top: 42px;
  right: 10px;
  transform: none;
}

.art-grid {
  grid-template-columns: 1.05fr 1.12fr 0.88fr;
  grid-template-rows: 178px 150px;
  gap: 8px;
}

.art-card {
  background: #f5f7ff;
}

.art-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-botanical { grid-column: 1; grid-row: 1; }
.card-room { grid-column: 2 / span 2; grid-row: 1; }
.card-shoe { grid-column: 1; grid-row: 2; }
.card-poster { grid-column: 2; grid-row: 2; }
.card-portrait { grid-column: 3; grid-row: 2; }

.image-panel {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  padding: 0;
}

.selector-style {
  top: 104px;
  width: 252px;
}

.selector-size {
  top: 322px;
  width: 268px;
}

.selector-image {
  display: block;
  width: 100%;
  height: auto;
}

.cursor-deco {
  position: absolute;
  right: 26px;
  bottom: -14px;
  width: 112px;
  height: auto;
  filter: drop-shadow(0 14px 24px rgba(102, 110, 255, 0.25));
}

.brand-bar {
  background: linear-gradient(90deg, rgba(244, 246, 255, 0.95), rgba(252, 252, 255, 0.92));
}

.brand-logos {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  align-items: center;
  column-gap: 8px;
  flex: 1 1 auto;
  min-width: 0;
}

.brand-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  width: 100%;
}

.brand-logo-item img {
  display: block;
  max-width: min(100%, 128px);
  max-height: 34px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.brand-logo-item img[alt="字节跳动"] { max-width: min(100%, 122px); }
.brand-logo-item img[alt="Tencent 腾讯"] { max-width: min(100%, 138px); }
.brand-logo-item img[alt="阿里巴巴"] { max-width: min(100%, 126px); }
.brand-logo-item img[alt="京东"] { max-width: min(100%, 110px); }
.brand-logo-item img[alt="滴滴"] { max-width: min(100%, 104px); }
.brand-logo-item img[alt="小米"] { max-width: min(100%, 104px); }

.brand-logo-text {
  color: #5c6988;
  font-size: 18px;
  font-weight: 700;
  white-space: nowrap;
}

@media (max-width: 1380px) {
  .brand-logos {
    flex-wrap: wrap;
    justify-content: center;
  }

  .brand-logo-item {
    flex: 0 1 140px;
  }
}

@media (max-width: 1024px) {
  .brand img {
    width: 32px;
    height: 32px;
  }

  .eyebrow-image img {
    width: 250px;
  }

  .cta-image img {
    height: 52px;
  }

  .selector-style,
  .selector-size {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .eyebrow-image img {
    width: min(100%, 250px);
  }

  .hero-copy h1 .accent-visual {
    padding-bottom: 16px;
  }

  .accent-underline {
    bottom: -8px;
  }

  .cta-image img {
    width: 100%;
    height: auto;
  }

  .art-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(4, 180px);
  }

  .card-botanical { grid-column: 1 / span 2; grid-row: 1; }
  .card-room { grid-column: 1 / span 2; grid-row: 2; }
  .card-shoe { grid-column: 1; grid-row: 3; }
  .card-poster { grid-column: 2; grid-row: 3; }
  .card-portrait { grid-column: 1 / span 2; grid-row: 4; }

  .brand-logos {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .brand-logo-item {
    min-height: 42px;
  }
}

/* ===== Right-side hero panel strict alignment pass ===== */
@media (min-width: 1025px) {
  .hero-visual {
    min-height: 660px;
  }

  .floating-star {
    width: 24px;
  }

  .star-one {
    top: 124px;
    left: -18px;
  }

  .star-two {
    top: 54px;
    right: 18px;
  }

  .prompt-card {
    top: 24px;
    right: 128px;
    width: 416px;
    min-height: 86px;
    padding: 16px 18px 16px 20px;
    border-radius: 16px;
    box-shadow: 0 18px 40px rgba(93, 112, 255, 0.12);
  }

  .prompt-card p {
    font-size: 12px;
    line-height: 1.6;
  }

  .studio-wrap {
    inset: 82px 0 0 0;
  }

  .tool-rail {
    left: 18px;
    top: 50px;
    width: 76px;
    padding: 12px 7px;
    border-radius: 16px;
  }

  .tool-item {
    padding: 13px 8px;
    gap: 7px;
    border-radius: 14px;
  }

  .tool-item span {
    width: 34px;
    height: 34px;
    border-radius: 12px;
  }

  .tool-item small {
    font-size: 10.5px;
    letter-spacing: -0.01em;
  }

  .studio-panel {
    left: 82px;
    top: 28px;
    right: 150px;
    padding: 12px;
    border-radius: 26px;
  }

  .studio-panel::before {
    inset: 12px -14px -14px 12px;
    border-radius: 24px;
    background: rgba(173, 190, 255, 0.14);
  }

  .art-grid {
    grid-template-columns: 1.03fr 1.18fr 0.9fr;
    grid-template-rows: 190px 170px;
    gap: 8px;
  }

  .art-card {
    border-radius: 14px;
  }

  .selector {
    z-index: 5;
  }

  .selector-style {
    top: 126px;
    right: -4px;
    width: 248px;
    transform: rotate(4deg);
    transform-origin: left center;
  }

  .selector-size {
    top: 344px;
    right: 6px;
    width: 270px;
    transform: rotate(5deg);
    transform-origin: left center;
  }

  .selector-image {
    filter: drop-shadow(0 18px 28px rgba(89, 110, 230, 0.12));
  }

  .cursor-deco {
    right: 42px;
    bottom: -10px;
    width: 96px;
    transform: rotate(-2deg);
    filter: drop-shadow(0 14px 20px rgba(102, 110, 255, 0.24));
  }
}

/* ===== New integrated right workspace UI ===== */
.hero-visual-app {
  min-height: 420px;
}

.hero-visual-app .floating-star,
.hero-visual-app .prompt-card,
.hero-visual-app .studio-wrap,
.hero-visual-app .cursor-deco {
  display: none !important;
}

.app-workspace {
  position: absolute;
  right: 0;
  top: 42px;
  width: 660px;
  min-height: 0;
  padding: 9px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 20px 56px rgba(86, 108, 196, 0.18);
  overflow: hidden;
}

.app-workspace::before {
  content: "";
  position: absolute;
  inset: -42px -58px auto auto;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(112, 132, 255, 0.16), transparent 68%);
  pointer-events: none;
}

.app-header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  min-height: 30px;
  padding: 0 2px 7px;
  position: relative;
  z-index: 1;
}

.app-branding {
  display: flex;
  align-items: center;
  gap: 8px;
}

.app-brand-logo {
  width: 54px;
  height: auto;
}

.app-brand-text {
  font-size: 11px;
  font-weight: 700;
  color: #32415f;
}

.app-header-nav {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 10px;
  font-weight: 700;
  color: #5e6786;
}

.app-header-actions {
  display: flex;
  align-items: center;
  gap: 7px;
}

.app-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, #8ab1ff, #6a6fff);
  opacity: 0.9;
}

.app-tool-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid rgba(115, 127, 170, 0.16);
  background: #fff;
  box-shadow: inset 0 0 0 3px rgba(105, 121, 255, 0.05);
}

.app-avatar-mini {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffd9b1, #6472ff);
  border: 2px solid #fff;
  box-shadow: 0 4px 10px rgba(80, 92, 160, 0.16);
}

.app-mini-btn {
  border: 0;
  border-radius: 8px;
  padding: 6px 10px;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  background: linear-gradient(135deg, #6b7aff, #5864fb);
  box-shadow: 0 8px 18px rgba(94, 111, 247, 0.22);
}

.app-body {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr) 128px;
  gap: 8px;
  align-items: start;
  position: relative;
  z-index: 1;
}

.app-sidebar {
  min-height: 264px;
  border-radius: 12px;
  background: #f8faff;
  border: 1px solid rgba(111, 126, 190, 0.1);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.9);
  padding: 9px 6px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.app-side-item {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 5px;
  color: #344361;
  border-radius: 8px;
}

.app-side-item span {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid rgba(110,125,255,0.1);
  overflow: hidden;
  flex: 0 0 auto;
}

.app-side-item span img {
  width: 12px;
  height: 12px;
  object-fit: contain;
  border-radius: 4px;
}

.app-side-item em {
  font-style: normal;
  font-size: 8px;
  line-height: 1;
  font-weight: 700;
  white-space: nowrap;
}

.app-side-item.active span {
  background: rgba(255,255,255,0.96);
  border-color: rgba(84, 101, 255, 0.24);
}

.app-side-item.active {
  background: #eef2ff;
  color: #4f61ff;
}

.app-side-user {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 0;
  padding: 9px 3px 0;
  border-top: 1px solid rgba(105, 118, 160, 0.08);
}

.app-side-user strong,
.app-side-user small {
  display: block;
}

.app-side-user strong {
  font-size: 8px;
  color: #374564;
}

.app-side-user small {
  font-size: 7px;
  line-height: 1.1;
  color: #8c94af;
}

.app-canvas {
  min-width: 0;
}

.app-prompt {
  min-height: 26px;
  padding: 3px 4px 3px 10px;
  border-radius: 9px;
  background: #f8faff;
  border: 1px solid rgba(105, 120, 255, 0.1);
  color: #93a0b8;
  font-size: 9px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.app-prompt span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.app-prompt button {
  border: 0;
  border-radius: 7px;
  padding: 4px 8px;
  background: #5b68ff;
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  flex: 0 0 auto;
}

.app-tabs {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 6px 0 7px;
}

.app-tabs span {
  padding: 3px 8px;
  border-radius: 999px;
  color: #75809e;
  font-size: 8px;
  font-weight: 700;
}

.app-tabs .active {
  background: linear-gradient(135deg, #6673ff, #5762fa);
  color: #fff;
}

.app-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 86px;
  gap: 8px;
}

.app-shot {
  overflow: hidden;
  border-radius: 9px;
  background: #f4f7ff;
  aspect-ratio: auto;
  height: 86px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.9), 0 8px 20px rgba(66, 82, 140, 0.08);
}

.app-shot.tall {
  height: 86px;
}

.app-shot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.app-settings {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.app-setting-card {
  padding: 7px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid rgba(112,126,255,0.1);
  box-shadow: 0 8px 18px rgba(90, 104, 170, 0.07);
}

.app-setting-card h4 {
  margin: 0 0 5px;
  color: #36425f;
  font-size: 9px;
  line-height: 1;
}

.app-ratios {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
  align-items: start;
}

.app-ratios span {
  min-height: 25px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  font-size: 7px;
  font-weight: 700;
  color: #67718f;
  background: #fff;
  border: 1px solid rgba(121,130,160,0.15);
}

.app-ratios .active {
  color: #5a66ff;
  border-color: rgba(91,106,255,0.55);
  box-shadow: inset 0 0 0 1px rgba(91,106,255,0.18);
  background: linear-gradient(180deg, #f7f8ff, #ffffff);
}

.app-style-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
  align-items: start;
}

.app-style-item {
  display: grid;
  gap: 2px;
  justify-items: center;
  align-content: start;
}

.app-style-item img {
  width: 100%;
  max-width: 24px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid rgba(112,126,255,0.1);
}

.app-style-item b {
  font-size: 7px;
  line-height: 1.1;
  color: #5b6684;
  text-align: center;
  white-space: nowrap;
}

.app-style-item.active img {
  border-color: rgba(91,106,255,0.55);
  box-shadow: 0 0 0 2px rgba(91,106,255,0.12);
}

.app-setting-card.compact {
  padding-bottom: 6px;
}

.app-color-dots {
  display: flex;
  gap: 7px;
  align-items: center;
}

.app-color-dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c);
  display: inline-block;
}

.app-slider {
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(90deg, #edf1ff, #f7f8fd);
  position: relative;
}

.app-slider span {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 60%;
  border-radius: inherit;
  background: linear-gradient(90deg, #5c69ff, #9f63ff);
}

.app-setting-card.upload {
  min-height: 42px;
  display: grid;
  place-items: center;
  gap: 2px;
  color: #8c96b3;
  border-style: dashed;
  background: #fbfcff;
}

.app-setting-card.upload span {
  width: 16px;
  height: 16px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #eef2ff;
  color: #5b68ff;
  font-size: 12px;
  line-height: 1;
}

.app-setting-card.upload p {
  margin: 0;
  font-size: 8px;
  font-weight: 700;
}

@media (max-width: 1380px) {
  .hero-visual-app {
    min-height: 430px;
  }

  .app-workspace {
    position: relative;
    right: auto;
    top: 18px;
    width: min(100%, 660px);
    margin: 0 auto;
  }
}

@media (max-width: 1024px) {
  .app-body {
    grid-template-columns: 72px 1fr;
  }

  .app-settings {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .app-workspace {
    padding: 12px;
  }

  .app-header {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .app-header-nav,
  .app-header-actions {
    flex-wrap: wrap;
  }

  .app-body {
    grid-template-columns: 1fr;
  }

  .app-sidebar {
    min-height: auto;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    align-items: start;
  }

  .app-side-user {
    grid-column: 1 / -1;
  }

  .app-gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .app-settings {
    grid-template-columns: 1fr;
  }
}

/* ===== Lower-page sections ===== */
.section-heading.compact {
  margin-bottom: 26px;
}

.section-heading.compact h2 {
  font-size: clamp(24px, 2vw, 34px);
}

.solutions-section,
.templates-section,
.workflow-section,
.mid-cta-section,
.testimonials-section,
.faq-section,
.footer-cta-section {
  padding: 12px 0 34px;
  scroll-margin-top: 80px;
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}

.solution-card,
.template-tile,
.workflow-item,
.testimonial-card,
.faq-row,
.footer-cta-banner,
.mid-cta-banner {
  backdrop-filter: blur(18px);
  background: rgba(255,255,255,0.76);
  border: 1px solid rgba(255,255,255,0.75);
  box-shadow: 0 20px 46px rgba(108, 122, 210, 0.09);
}

.solution-card {
  border-radius: 20px;
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.solution-card img {
  width: 100%;
  aspect-ratio: 1.2 / 0.92;
  object-fit: cover;
  display: block;
  margin: 0;
  border-radius: 0;
  flex-shrink: 0;
}

.solution-card-body {
  padding: 18px 20px 20px;
  flex: 1 1 auto;
}

.solution-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.solution-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.template-tabs {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.template-tabs span {
  padding: 6px 12px;
  border-radius: 999px;
  color: #7a84a3;
  font-size: 13px;
  font-weight: 700;
}

.template-tabs .active {
  background: linear-gradient(135deg, #6472ff, #5866ff);
  color: #fff;
}

.template-strip-wrap {
  display: grid;
  grid-template-columns: 32px 1fr 32px;
  gap: 12px;
  align-items: center;
}

.strip-arrow {
  height: 32px;
  border-radius: 50%;
  border: 0;
  background: rgba(255,255,255,0.76);
  color: #6e7cff;
  box-shadow: 0 10px 24px rgba(108, 122, 210, 0.12);
  font-size: 22px;
}

.template-strip {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 10px;
}

.template-tile {
  border-radius: 16px;
  overflow: hidden;
  padding: 0;
  position: relative;
  background: rgba(255,255,255,0.82);
}

.template-tile img {
  width: 100%;
  aspect-ratio: 1.52 / 0.68;
  object-fit: cover;
  display: block;
  margin: 0;
  transform: none;
}

.template-tile span {
  position: absolute;
  left: 12px;
  bottom: 10px;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  text-shadow: 0 4px 14px rgba(0,0,0,0.28);
}

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.workflow-item {
  border-radius: 18px;
  padding: 20px;
  text-align: center;
  position: relative;
}

.workflow-item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -14px;
  top: 48px;
  width: 28px;
  height: 2px;
  background: linear-gradient(90deg, rgba(98,110,255,0.35), rgba(98,110,255,0));
}

.workflow-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: inline-grid;
  place-items: center;
  margin-bottom: 14px;
  background: transparent;
}

.workflow-icon img {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 14px 28px rgba(92, 107, 255, 0.14);
}

.workflow-item h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.workflow-item p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.pricing-heading {
  margin-bottom: 18px;
}

.pricing-switch {
  width: fit-content;
  margin: 0 auto 24px;
  padding: 8px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.78);
  border: 1px solid rgba(112, 126, 255, 0.14);
  box-shadow: 0 18px 42px rgba(108, 122, 210, 0.08);
}

.pricing-switch span {
  min-height: 36px;
  padding: 0 16px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #7a84a3;
  font-size: 13px;
  font-weight: 800;
}

.pricing-switch .active {
  color: var(--primary);
  background: rgba(92, 108, 255, 0.08);
}

.pricing-switch .save-badge {
  color: #9c5a06;
  background: linear-gradient(135deg, #ffe8b5, #ffd27d);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.5);
}

.pricing-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}

.pricing-card {
  position: relative;
  min-height: 100%;
  padding: 28px 26px 24px;
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(20px);
  background: linear-gradient(180deg, rgba(255,255,255,0.92), rgba(252,253,255,0.82));
  border: 1px solid rgba(110, 126, 255, 0.12);
  box-shadow: 0 20px 46px rgba(108, 122, 210, 0.09);
}

.pricing-card.featured {
  padding-top: 34px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.96), rgba(248,249,255,0.92)),
    linear-gradient(135deg, rgba(101,116,255,0.08), rgba(155,91,255,0.08));
  border-color: rgba(105, 116, 255, 0.42);
  box-shadow:
    0 0 0 1px rgba(106, 118, 255, 0.16),
    0 30px 70px rgba(98, 111, 255, 0.18);
  transform: translateY(-6px);
}

.pricing-card-tag {
  position: absolute;
  top: 14px;
  right: 16px;
  padding: 7px 12px;
  border-radius: 999px;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  background: linear-gradient(135deg, #8a73ff, #6172ff);
  box-shadow: 0 12px 28px rgba(103, 114, 255, 0.24);
}

.pricing-card-top h3 {
  margin: 0 0 12px;
  font-size: 24px;
  letter-spacing: -0.03em;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 10px;
}

.pricing-price strong {
  font-size: clamp(34px, 3vw, 48px);
  line-height: 1;
  letter-spacing: -0.05em;
}

.pricing-price span {
  color: #5f6b8b;
  font-size: 16px;
  font-weight: 700;
}

.pricing-card-top p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.pricing-feature-list {
  list-style: none;
  margin: 22px 0 26px;
  padding: 0;
  display: grid;
  gap: 12px;
  color: #33405d;
  font-size: 14px;
  line-height: 1.6;
}

.pricing-feature-list li {
  position: relative;
  padding-left: 24px;
}

.pricing-feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #73c9a5;
  font-weight: 900;
}

.pricing-btn {
  margin-top: auto;
  min-height: 50px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 800;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.pricing-btn:hover {
  transform: translateY(-2px);
}

.pricing-btn-outline {
  color: var(--primary);
  background: rgba(255,255,255,0.82);
  border: 1.5px solid rgba(95, 108, 255, 0.24);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.58);
}

.pricing-btn-solid {
  color: #fff;
  background: linear-gradient(90deg, #3c5cff 0%, #5e63ff 48%, #8555ff 100%);
  box-shadow: 0 18px 34px rgba(88, 97, 255, 0.24);
}

.mid-cta-banner,
.footer-cta-banner {
  border-radius: 22px;
  padding: 28px 30px;
  background: linear-gradient(135deg, #5168ff 0%, #5e63ff 32%, #764fff 70%, #6f7bff 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  overflow: hidden;
  position: relative;
}

.footer-cta-banner {
  min-height: 164px;
  padding: 30px 36px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) auto minmax(220px, 0.9fr);
  align-items: center;
  gap: 28px;
  background:
    radial-gradient(circle at 12% 18%, rgba(255,255,255,0.18), transparent 18%),
    radial-gradient(circle at 82% 10%, rgba(255,255,255,0.2), transparent 18%),
    linear-gradient(90deg, #4d6bff 0%, #3958f5 22%, #3a52eb 44%, #5447f6 72%, #6b42ff 100%);
}

.cta-banner-copy {
  position: relative;
  z-index: 2;
  flex: 1 1 420px;
  min-width: 0;
}

.footer-cta-banner .cta-banner-copy {
  flex: none;
}

.cta-banner-side {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  flex: 0 0 auto;
}

.footer-cta-center,
.footer-cta-visual {
  position: relative;
  z-index: 2;
}

.footer-cta-center {
  display: flex;
  justify-content: center;
}

.footer-cta-visual {
  height: 122px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.footer-cta-visual img {
  display: block;
  width: 420px;
  max-width: none;
  height: auto;
  object-fit: contain;
  transform: translateX(-42px);
  filter: drop-shadow(0 20px 30px rgba(30, 42, 150, 0.18));
}

.mid-cta-banner::before,
.footer-cta-banner::before {
  content: "";
  position: absolute;
  right: 22px;
  top: -12px;
  width: 220px;
  height: 140px;
  background: radial-gradient(circle at center, rgba(255,255,255,0.22), transparent 60%);
}

.footer-cta-banner::before {
  right: 14%;
  top: 50%;
  width: 420px;
  height: 220px;
  transform: translateY(-50%);
  background:
    linear-gradient(120deg, rgba(255,255,255,0.14), rgba(255,255,255,0)),
    radial-gradient(circle at center, rgba(255,255,255,0.18), transparent 62%);
  opacity: 0.9;
}

.footer-cta-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 62% 50%, rgba(255,255,255,0.18) 0 2px, transparent 3px),
    radial-gradient(circle at 76% 18%, rgba(255,255,255,0.22) 0 2px, transparent 3px),
    radial-gradient(circle at 88% 30%, rgba(255,255,255,0.18) 0 2px, transparent 3px),
    linear-gradient(105deg, transparent 62%, rgba(255,255,255,0.08) 67%, transparent 72%),
    linear-gradient(115deg, transparent 70%, rgba(255,255,255,0.07) 74%, transparent 79%);
  pointer-events: none;
}

.cta-banner-art {
  position: relative;
  flex: 0 0 auto;
  pointer-events: none;
}

.cta-banner-art img {
  display: block;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 18px 34px rgba(41, 55, 145, 0.18));
}

.cta-banner-art-mid img {
  max-width: 230px;
  max-height: 150px;
}

.cta-banner-art-footer img {
  max-width: 250px;
  max-height: 170px;
}

.mid-cta-banner h3,
.footer-cta-banner h3 {
  margin: 0 0 10px;
  font-size: 26px;
}

.footer-cta-banner h3 {
  margin-bottom: 8px;
  font-size: clamp(28px, 2.2vw, 42px);
  line-height: 1.18;
  letter-spacing: -0.04em;
}

.mid-cta-banner p,
.footer-cta-banner p {
  margin: 0;
  max-width: 620px;
  color: rgba(255,255,255,0.82);
  font-size: 15px;
}

.footer-cta-banner p {
  max-width: 420px;
  color: rgba(255,255,255,0.76);
  font-size: 18px;
  line-height: 1.55;
}

.mid-cta-btn,
.footer-cta-primary,
.footer-cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 14px;
  font-weight: 700;
}

.mid-cta-btn,
.footer-cta-primary {
  background: #fff;
  color: #5168ff;
}

.footer-cta-primary {
  min-width: 246px;
  min-height: 54px;
  padding: 0 26px;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 800;
  box-shadow: 0 18px 34px rgba(29, 46, 167, 0.2);
}

.footer-cta-primary::after {
  content: "→";
  margin-left: 12px;
}

.footer-cta-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-cta-secondary {
  color: #fff;
  border: 1px solid rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.08);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.testimonial-card {
  border-radius: 20px;
  padding: 22px;
}

.testimonial-card p {
  margin: 0 0 18px;
  color: #36425f;
  font-size: 15px;
  line-height: 1.85;
}

.testimonial-user {
  display: flex;
  align-items: center;
  gap: 12px;
}

.avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #d8e4ff, #b5c7ff);
}

.avatar-a { background: linear-gradient(135deg, #ffe2cf, #ffc8a4); }
.avatar-b { background: linear-gradient(135deg, #d7e9ff, #b1d0ff); }
.avatar-c { background: linear-gradient(135deg, #e8d9ff, #cfb5ff); }

.testimonial-user strong,
.testimonial-user span {
  display: block;
}

.testimonial-user strong {
  font-size: 14px;
}

.testimonial-user span {
  color: var(--muted);
  font-size: 13px;
}

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

.testimonial-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d3daf6;
}

.testimonial-dots .active {
  background: #6574ff;
}

.faq-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.faq-row {
  min-height: 62px;
  border-radius: 16px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #35415f;
  font-size: 14px;
  font-weight: 700;
}

.faq-row b {
  color: #7482ff;
  font-size: 20px;
}

.site-footer {
  padding: 18px 0 34px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  padding: 28px 0 18px;
}

.footer-brand .brand {
  margin-bottom: 14px;
  color: #2f3b63;
}

.footer-brand .brand img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.footer-brand .brand-text {
  font-size: 18px;
  font-weight: 700;
}

.footer-brand p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.footer-socials {
  display: flex;
  gap: 10px;
}

.footer-socials span {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(95,108,255,0.08);
  color: #6472ff;
}

.footer-socials span svg {
  width: 17px;
  height: 17px;
  display: block;
  stroke: currentColor;
  fill: none;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.footer-cols h4 {
  margin: 0 0 12px;
  font-size: 14px;
}

.footer-cols a,
.footer-bottom a,
.footer-bottom span {
  color: var(--muted);
  font-size: 13px;
}

.footer-cols a {
  display: block;
  margin-bottom: 9px;
}

.footer-bottom {
  border-top: 1px solid rgba(116,130,255,0.1);
  padding-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-bottom div {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

@media (max-width: 1380px) {
  .solutions-grid { grid-template-columns: repeat(3, 1fr); }
  .template-strip { grid-template-columns: repeat(4, 1fr); }
  .faq-list { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1024px) {
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card.featured { transform: none; }
  .workflow-grid,
  .testimonials-grid,
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: repeat(3, 1fr); }
  .mid-cta-banner,
  .footer-cta-banner { flex-direction: column; align-items: flex-start; }
  .footer-cta-banner {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: start;
  }
  .footer-cta-center {
    justify-content: flex-start;
  }
  .footer-cta-visual {
    width: 100%;
    justify-content: center;
  }
  .cta-banner-side { width: 100%; justify-content: space-between; }
}

@media (max-width: 768px) {
  .pricing-switch {
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
  }
  .pricing-card {
    padding: 24px 20px 22px;
  }
  .pricing-card-top h3 {
    font-size: 22px;
  }
  .solutions-grid,
  .template-strip,
  .workflow-grid,
  .testimonials-grid,
  .faq-list,
  .footer-cols { grid-template-columns: 1fr; }
  .template-strip-wrap { grid-template-columns: 1fr; }
  .cta-banner-side {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .footer-cta-banner {
    min-height: auto;
    padding: 24px 22px;
    gap: 18px;
  }
  .footer-cta-banner h3 {
    font-size: 26px;
  }
  .footer-cta-banner p {
    font-size: 15px;
  }
  .footer-cta-primary {
    min-width: 0;
    width: 100%;
  }
  .cta-banner-art-mid img,
  .cta-banner-art-footer img {
    max-width: min(100%, 220px);
    max-height: 150px;
  }
  .footer-cta-visual img {
    width: 320px;
    transform: translateX(-28px);
  }
  .strip-arrow { display: none; }
  .workflow-item:not(:last-child)::after { display: none; }
  .faq-row { min-height: auto; padding: 18px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* =========================
   Templates Center Page
   ========================= */

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.templates-page {
  background:
    radial-gradient(circle at 18% 16%, rgba(138, 165, 255, 0.17), transparent 26%),
    radial-gradient(circle at 82% 18%, rgba(177, 159, 255, 0.16), transparent 28%),
    radial-gradient(circle at 72% 56%, rgba(116, 201, 255, 0.14), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f6f8ff 44%, #f2f6ff 100%);
}

.templates-page::before {
  opacity: 0.18;
}

.template-main {
  padding-bottom: 28px;
}

.tpl-hero {
  position: relative;
  overflow: hidden;
  padding: 34px 0 22px;
}

.tpl-hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(48px);
}

.tpl-hero-glow-left {
  width: 430px;
  height: 430px;
  left: -10%;
  top: 6%;
  background: rgba(121, 148, 255, 0.15);
}

.tpl-hero-glow-right {
  width: 560px;
  height: 560px;
  right: -10%;
  top: 2%;
  background: rgba(167, 152, 255, 0.18);
}

.tpl-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(640px, 1.08fr);
  gap: 12px;
  align-items: start;
}

.tpl-hero-copy h1 {
  margin: 28px 0 16px;
  font-size: clamp(50px, 5.4vw, 74px);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.tpl-hero-copy h1 span {
  color: #4f63ff;
}

.tpl-hero-copy p {
  margin: 0;
  font-size: 17px;
  line-height: 1.9;
  color: #66718f;
}

.tpl-search-shell {
  margin-top: 28px;
}

.tpl-search-box {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 64px;
  padding: 0 10px 0 22px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(97, 114, 255, 0.1);
  box-shadow: 0 18px 50px rgba(101, 116, 255, 0.08);
}

.tpl-search-box input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: none;
  font: inherit;
  font-size: 15px;
  color: #1d2749;
  background: transparent;
}

.tpl-search-box input::placeholder {
  color: #acb4cd;
}

.tpl-search-box button {
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 14px;
  display: grid;
  place-items: center;
  cursor: pointer;
  background: linear-gradient(135deg, rgba(105, 121, 255, 0.12), rgba(105, 121, 255, 0.04));
}

.tpl-search-box button img,
.tpl-panel-head a img,
.tpl-filter-head button img,
.tpl-footer-lang img,
.tpl-newsletter-input button img,
.tpl-carousel-arrow img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.tpl-hot-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  font-size: 13px;
  color: #8b96b3;
}

.tpl-hot-tags a {
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(97, 114, 255, 0.08);
  color: #6d7899;
  font-weight: 600;
}

.tpl-hero-showcase {
  position: relative;
  padding: 6px 0 8px;
  border-radius: 28px;
  background: transparent;
  border: 0;
  box-shadow: none;
  min-height: 518px;
  margin-left: -32px;
}

.tpl-hero-stats {
  position: absolute;
  top: 4px;
  right: 54px;
  z-index: 5;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  width: 372px;
  margin: 0;
}

.tpl-stat-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255,255,255,0.9);
  border: 1px solid rgba(100, 117, 255, 0.08);
  box-shadow: 0 16px 34px rgba(87, 103, 204, 0.08);
  backdrop-filter: blur(12px);
}

.tpl-stat-card em {
  display: block;
  font-style: normal;
  font-size: 12px;
  color: #8f99b7;
  margin-bottom: 4px;
}

.tpl-stat-card strong {
  font-size: 24px;
  line-height: 1;
  letter-spacing: -0.03em;
}

.tpl-stat-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(247,249,255,0.92));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.85), 0 8px 24px rgba(99, 114, 255, 0.08);
}

.tpl-stat-icon img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.tpl-carousel {
  position: relative;
  padding: 80px 0 0;
}

.tpl-carousel-stage {
  position: relative;
  min-height: 404px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.tpl-stage-wing {
  position: absolute;
  top: 88px;
  width: 110px;
  height: 248px;
  border-radius: 22px;
  background: rgba(255,255,255,0.56);
  border: 1px solid rgba(255,255,255,0.65);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.8), 0 22px 44px rgba(104, 118, 204, 0.08);
  backdrop-filter: blur(12px);
}

.tpl-stage-wing.left {
  left: 0;
}

.tpl-stage-wing.right {
  right: 0;
}

.tpl-carousel-track {
  display: grid;
  grid-template-columns: 1.04fr 1.12fr 1.04fr;
  gap: 12px;
  align-items: end;
  width: min(100%, 804px);
  position: relative;
  z-index: 2;
}

.tpl-poster-card {
  position: relative;
  overflow: hidden;
  height: 336px;
  border-radius: 24px;
  background: #fff;
  border: 2px solid rgba(255, 255, 255, 0.88);
  box-shadow:
    0 24px 56px rgba(71, 88, 187, 0.14),
    0 0 0 1px rgba(111, 125, 255, 0.08);
}

.tpl-poster-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tpl-poster-card.soft {
  transform: translateY(14px);
}

.tpl-poster-card.deep {
  height: 370px;
}

.tpl-poster-card.violet {
  transform: translateY(14px);
}

.tpl-carousel-arrow {
  position: absolute;
  top: 206px;
  width: 26px;
  height: 26px;
  border: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  background: transparent;
  box-shadow: none;
  transform: translateY(-50%);
  z-index: 3;
}

.tpl-carousel-arrow.right img {
  transform: none;
}

.tpl-carousel-arrow.left img {
  transform: rotate(180deg);
}

.tpl-carousel-arrow.left {
  left: -4px;
}

.tpl-carousel-arrow.right {
  right: -4px;
}

.tpl-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 8px;
}

.tpl-carousel-dots span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(116, 131, 255, 0.24);
}

.tpl-carousel-dots span.active {
  width: 24px;
  background: linear-gradient(90deg, #6877ff, #4b5fff);
}

.tpl-category-strip-wrap {
  padding: 10px 0 22px;
}

.tpl-category-strip {
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  gap: 0;
  padding: 12px 8px;
}

.tpl-category-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 16px 10px;
  border-radius: 18px;
  color: #55627f;
  position: relative;
}

.tpl-category-item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 22px;
  right: 0;
  width: 1px;
  height: 48px;
  background: linear-gradient(180deg, rgba(118,132,255,0), rgba(118,132,255,0.12), rgba(118,132,255,0));
}

.tpl-category-item span,
.tpl-mini-grid article span {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,0.84);
  border: 1px solid rgba(101, 117, 255, 0.08);
  box-shadow: 0 10px 24px rgba(93, 110, 214, 0.05);
}

.tpl-category-item span img,
.tpl-mini-grid article span img,
.tpl-highlight-row article span img,
.tpl-footer-socials span img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.tpl-category-item.active {
  background: linear-gradient(180deg, rgba(95,110,255,0.08), rgba(95,110,255,0.02));
  color: #3f55ff;
}

.tpl-category-item b {
  font-size: 15px;
}

.tpl-content-section {
  padding: 0 0 26px;
}

.tpl-content-grid {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.tpl-filter-card,
.tpl-panel {
  border-radius: 24px;
  background: rgba(255,255,255,0.82);
  border: 1px solid rgba(100,117,255,0.08);
  box-shadow: 0 20px 48px rgba(89, 106, 209, 0.08);
}

.tpl-filter-card {
  padding: 20px 18px;
  position: sticky;
  top: 90px;
}

.tpl-filter-head,
.tpl-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.tpl-filter-head h3,
.tpl-panel-title h3 {
  margin: 0;
  font-size: 22px;
}

.tpl-filter-head button,
.tpl-panel-head a {
  border: 0;
  background: transparent;
  color: #7480a1;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.tpl-panel-head a img,
.tpl-filter-head button img {
  width: 14px;
  height: 14px;
}

.tpl-filter-group {
  padding: 18px 0;
  border-bottom: 1px solid rgba(112, 126, 255, 0.08);
}

.tpl-filter-group:last-of-type {
  border-bottom: 0;
}

.tpl-filter-group h4 {
  margin: 0 0 14px;
  font-size: 16px;
}

.tpl-color-list {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.tpl-color-list i {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--dot);
  box-shadow: inset 0 0 0 2px rgba(255,255,255,0.9), 0 6px 14px rgba(97, 114, 255, 0.12);
}

.tpl-color-list span,
.tpl-filter-group a {
  color: #7380a5;
  font-size: 13px;
  font-weight: 700;
}

.tpl-filter-group label {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #6e7997;
  font-size: 14px;
  margin: 10px 0;
}

.tpl-filter-group input[type="checkbox"] {
  width: 14px;
  height: 14px;
  accent-color: #5567ff;
}

.tpl-filter-group label.active {
  color: #4f62ff;
  font-weight: 700;
}

.tpl-edit-only {
  margin-top: 8px;
  min-height: 46px;
  padding: 0 0 0 2px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-weight: 700;
}

.tpl-main-panels {
  display: grid;
  gap: 18px;
}

.tpl-panel {
  padding: 20px 22px 22px;
}

.tpl-panel-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.tpl-mini-badge {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.tpl-mini-badge.hot {
  background: linear-gradient(135deg, #ff7f6f, #ff5b5b);
  box-shadow: 0 0 0 5px rgba(255, 111, 123, 0.12);
}

.tpl-mini-badge.new {
  background: linear-gradient(135deg, #6074ff, #4ed5ff);
  box-shadow: 0 0 0 5px rgba(98, 116, 255, 0.12);
}

.tpl-card-row {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}

.tpl-card-row.five {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.tpl-template-card img {
  width: 100%;
  aspect-ratio: 0.78;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 18px 36px rgba(78, 97, 194, 0.1);
}

.tpl-template-card h4 {
  margin: 12px 0 6px;
  font-size: 16px;
}

.tpl-template-card p {
  margin: 0;
  color: #8a95b1;
  font-size: 13px;
}

.tpl-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.tpl-mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 18px;
  margin-top: 18px;
}

.tpl-mini-grid article,
.tpl-highlight-row article {
  display: flex;
  align-items: center;
  gap: 12px;
}

.tpl-mini-grid article b,
.tpl-highlight-row article b {
  display: block;
  font-size: 15px;
  margin-bottom: 4px;
}

.tpl-mini-grid article em {
  display: block;
  font-style: normal;
  color: #8c96b1;
  font-size: 13px;
}

.tpl-highlight-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.tpl-highlight-row article {
  padding: 18px 16px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(250,251,255,0.96), rgba(255,255,255,0.88));
  border: 1px solid rgba(102, 117, 255, 0.07);
}

.tpl-highlight-row article span {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(248,250,255,0.98);
  border: 1px solid rgba(102, 117, 255, 0.08);
}

.tpl-footer-socials span img {
  width: 18px;
  height: 18px;
}

.tpl-highlight-row article p {
  margin: 0;
  color: #7f8aa8;
  font-size: 13px;
  line-height: 1.6;
}

.tpl-bottom-cta-wrap {
  padding: 8px 0 20px;
}

.tpl-bottom-cta {
  min-height: 170px;
  border-radius: 28px;
  padding: 28px 30px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr auto;
  align-items: center;
  gap: 16px;
  color: #fff;
  background:
    radial-gradient(circle at 68% 28%, rgba(255,255,255,0.2), transparent 30%),
    linear-gradient(90deg, #5368ff 0%, #6f5cff 48%, #5f72ff 100%);
  box-shadow: 0 28px 60px rgba(79, 98, 231, 0.25);
}

.tpl-bottom-cta h3 {
  margin: 0 0 10px;
  font-size: 34px;
  line-height: 1.14;
}

.tpl-bottom-cta p {
  margin: 0;
  color: rgba(255,255,255,0.86);
  font-size: 15px;
}

.tpl-bottom-cta-visual {
  display: flex;
  justify-content: center;
}

.tpl-bottom-cta-visual img {
  width: 100%;
  max-width: 260px;
  filter: drop-shadow(0 18px 36px rgba(28, 37, 130, 0.22));
}

.tpl-bottom-cta-btn {
  min-width: 168px;
  height: 54px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #4b5eff;
  background: #fff;
  box-shadow: 0 16px 34px rgba(35, 46, 132, 0.22);
}

.tpl-footer {
  margin-top: 8px;
}

.tpl-footer-grid {
  grid-template-columns: 1.1fr 1.5fr 0.95fr;
  align-items: start;
  gap: 24px;
}

.tpl-footer-brand p {
  max-width: 280px;
}

.tpl-footer-cols {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.tpl-footer-socials span {
  background: rgba(86, 102, 255, 0.08);
}

.tpl-newsletter-card {
  padding: 20px;
  border-radius: 22px;
  background: rgba(255,255,255,0.86);
  border: 1px solid rgba(96, 113, 255, 0.08);
  box-shadow: 0 16px 36px rgba(83, 100, 206, 0.08);
}

.tpl-newsletter-card h4 {
  margin: 0 0 10px;
  font-size: 18px;
}

.tpl-newsletter-card p {
  margin: 0 0 16px;
  color: #7f8aab;
  font-size: 14px;
  line-height: 1.7;
}

.tpl-newsletter-input {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 50px;
  padding: 6px 6px 6px 16px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(96, 113, 255, 0.08);
}

.tpl-newsletter-input input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: none;
  font: inherit;
  background: transparent;
}

.tpl-newsletter-input button {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #6c79ff, #4e60ff);
  cursor: pointer;
}

.tpl-newsletter-input button img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.tpl-footer-bottom {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
}

.tpl-footer-bottom div:nth-child(2) {
  justify-self: center;
}

.tpl-footer-lang {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #7a86a8;
  font-weight: 700;
}

.red svg path,
.red svg circle,
.red svg rect {
  stroke: url(#pgRed);
  fill: none;
}

.orange svg path,
.orange svg circle,
.orange svg rect {
  stroke: url(#pgOrange);
  fill: none;
}

.purple svg path,
.purple svg circle,
.purple svg rect {
  stroke: url(#pgPurple);
  fill: none;
}

.blue svg path,
.blue svg circle,
.blue svg rect {
  stroke: url(#pgBlue);
  fill: none;
}

.cyan svg path,
.cyan svg circle,
.cyan svg rect {
  stroke: url(#pgCyan);
  fill: none;
}

@media (max-width: 1380px) {
  .tpl-hero-showcase {
    max-width: 860px;
    width: 100%;
    margin: 0 0 0 auto;
  }

  .tpl-hero-stats {
    right: 18px;
  }

  .tpl-category-strip {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
  }

  .tpl-category-item:not(:last-child)::after {
    display: none;
  }

  .tpl-card-row.five {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .tpl-highlight-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .tpl-footer-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 1100px) {
  .tpl-hero-grid {
    grid-template-columns: 1fr;
  }

  .tpl-hero-showcase {
    margin: 0 auto;
  }

  .tpl-content-grid,
  .tpl-info-grid,
  .tpl-bottom-cta {
    grid-template-columns: 1fr;
  }

  .tpl-filter-card {
    position: static;
  }

  .tpl-card-row.five {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .tpl-footer-bottom {
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 10px;
  }

  .tpl-footer-bottom div:nth-child(2) {
    justify-self: start;
  }
}

@media (max-width: 760px) {
  .tpl-hero-copy h1 {
    font-size: 42px;
  }

  .tpl-search-box {
    min-height: 58px;
  }

  .tpl-hero-stats,
  .tpl-category-strip,
  .tpl-mini-grid,
  .tpl-card-row.five,
  .tpl-highlight-row,
  .tpl-footer-cols {
    grid-template-columns: 1fr;
  }

  .tpl-carousel-arrow {
    display: none;
  }

  .tpl-carousel-track {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .tpl-poster-card,
  .tpl-poster-card.deep {
    height: 260px;
    transform: none;
  }

  .tpl-stage-wing {
    display: none;
  }

  .tpl-hero-stats {
    position: static;
    width: auto;
    margin: 0 0 18px;
  }
}

/* =========================
   Solutions Page
   ========================= */

.solutions-page {
  background:
    radial-gradient(circle at 18% 18%, rgba(145, 165, 255, 0.14), transparent 28%),
    radial-gradient(circle at 82% 16%, rgba(179, 162, 255, 0.16), transparent 26%),
    radial-gradient(circle at 70% 56%, rgba(123, 202, 255, 0.12), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f7f9ff 42%, #f2f6ff 100%);
}

.solutions-page::before {
  opacity: 0.18;
}

.solutions-main {
  padding-bottom: 28px;
}

.sol-hero {
  position: relative;
  overflow: hidden;
  padding: 34px 0 26px;
}

.sol-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(48px);
}

.sol-glow-left {
  left: -8%;
  top: 8%;
  width: 420px;
  height: 420px;
  background: rgba(138, 162, 255, 0.16);
}

.sol-glow-right {
  right: -9%;
  top: 4%;
  width: 520px;
  height: 520px;
  background: rgba(179, 162, 255, 0.18);
}

.sol-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 26px;
  align-items: center;
}

.sol-hero-copy h1 {
  margin: 0 0 16px;
  font-size: clamp(48px, 5vw, 72px);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.sol-hero-copy h1 span {
  color: #5265ff;
}

.sol-hero-copy p {
  margin: 0;
  color: #6d7897;
  font-size: 17px;
  line-height: 1.9;
}

.sol-hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
}

.sol-hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 28px;
}

.sol-hero-points span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #7d88a7;
  font-size: 13px;
  font-weight: 700;
}

.sol-hero-points img,
.sol-stats-strip img,
.sol-card-head img,
.sol-reason-grid img,
.sol-app-sidebar img,
.sol-mini-thumbs img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.sol-hero-visual {
  position: relative;
}

.sol-app-frame {
  padding: 14px;
  border-radius: 28px;
}

.sol-app-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 52px;
  padding: 0 8px 10px;
}

.sol-app-topbar > img {
  width: 100px;
}

.sol-app-tabs {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  color: #8692b5;
  font-size: 13px;
  font-weight: 700;
}

.sol-app-tabs .active {
  color: #4f63ff;
}

.sol-app-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #8d98b6;
}

.sol-app-actions span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d0d7f5;
}

.sol-app-actions b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #6977ff, #4c61ff);
  font-size: 12px;
}

.sol-app-body {
  display: grid;
  grid-template-columns: 72px 1fr 188px;
  gap: 12px;
}

.sol-app-sidebar,
.sol-app-panel section,
.sol-app-toolbar,
.sol-stats-strip,
.sol-flow-row,
.sol-quote-card,
.sol-reason-grid article,
.sol-card,
.sol-bottom-cta {
  background: rgba(255,255,255,0.84);
  border: 1px solid rgba(103, 118, 255, 0.08);
  box-shadow: 0 18px 44px rgba(82, 98, 194, 0.08);
}

.sol-app-sidebar {
  padding: 10px 8px;
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sol-app-sidebar div {
  display: grid;
  justify-items: center;
  gap: 6px;
  padding: 10px 4px;
  border-radius: 12px;
  color: #7b86a7;
}

.sol-app-sidebar div.active {
  background: linear-gradient(180deg, rgba(96,112,255,0.12), rgba(96,112,255,0.04));
  color: #4b60ff;
}

.sol-app-sidebar em {
  font-style: normal;
  font-size: 10px;
  font-weight: 700;
}

.sol-app-content {
  min-width: 0;
}

.sol-app-toolbar {
  min-height: 46px;
  padding: 0 16px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.sol-app-toolbar span {
  height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  color: #7b87a8;
  font-size: 12px;
  font-weight: 700;
}

.sol-app-toolbar .active {
  background: linear-gradient(135deg, rgba(103,119,255,0.14), rgba(103,119,255,0.08));
  color: #4b60ff;
}

.sol-app-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.sol-app-gallery article {
  overflow: hidden;
  aspect-ratio: 0.95;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 16px 34px rgba(73, 91, 190, 0.1);
}

.sol-app-gallery article img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sol-app-panel {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sol-app-panel section {
  padding: 14px;
  border-radius: 18px;
}

.sol-app-panel h4 {
  margin: 0 0 10px;
  font-size: 14px;
}

.sol-mini-chips,
.sol-mini-thumbs,
.sol-color-dots {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sol-mini-chips span {
  padding: 7px 10px;
  border-radius: 10px;
  background: rgba(245,247,255,0.92);
  color: #7985a7;
  font-size: 12px;
  font-weight: 700;
}

.sol-mini-chips .active {
  color: #4f63ff;
  background: rgba(97,113,255,0.12);
}

.sol-mini-thumbs img {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: #fff;
  padding: 7px;
  border: 1px solid rgba(100,117,255,0.08);
}

.sol-color-dots i {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,0.9);
}

.sol-color-dots i:nth-child(1) { background: #5567ff; }
.sol-color-dots i:nth-child(2) { background: #8d6bff; }
.sol-color-dots i:nth-child(3) { background: #39d0cf; }
.sol-color-dots i:nth-child(4) { background: #ffb04d; }

.sol-app-panel .compact p {
  margin: 0;
  color: #7d88a7;
  font-size: 13px;
  line-height: 1.7;
}

.sol-section {
  padding: 10px 0 26px;
}

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

.sol-card {
  padding: 18px;
  border-radius: 24px;
}

.sol-card-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.sol-card-head span {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(247,248,255,0.92);
}

.sol-card-head h3 {
  margin: 0;
  font-size: 22px;
}

.sol-card-cover {
  width: 100%;
  aspect-ratio: 1.44;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 16px 34px rgba(74, 91, 193, 0.1);
}

.sol-card ul {
  margin: 14px 0 0;
  padding-left: 18px;
  color: #75809f;
  line-height: 1.8;
  font-size: 14px;
}

.sol-card b {
  display: block;
  margin-top: 12px;
  color: #4c61ff;
  font-size: 15px;
}

.sol-flow-section {
  padding: 8px 0 26px;
}

.sol-flow-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  padding: 14px;
  border-radius: 24px;
}

.sol-flow-row article {
  padding: 12px 16px;
}

.sol-flow-row article span {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 12px;
  background: rgba(97,113,255,0.12);
  color: #4e62ff;
  font-weight: 800;
}

.sol-flow-row h4,
.sol-reason-grid h3 {
  margin: 0 0 8px;
  font-size: 16px;
}

.sol-flow-row p,
.sol-reason-grid p,
.sol-quote-card p {
  margin: 0;
  color: #7682a1;
  font-size: 14px;
  line-height: 1.7;
}

.sol-flow-row i {
  align-self: center;
  width: 26px;
  height: 2px;
  justify-self: center;
  background: linear-gradient(90deg, rgba(96,112,255,0.16), rgba(96,112,255,0.4), rgba(96,112,255,0.16));
}

.sol-stats-strip {
  margin-top: 16px;
  padding: 18px 22px;
  border-radius: 20px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.sol-stats-strip article {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sol-stats-strip strong {
  display: block;
  font-size: 30px;
  line-height: 1;
  color: #4e62ff;
}

.sol-stats-strip span {
  display: block;
  color: #7b86a6;
  font-size: 13px;
  margin-top: 4px;
}

.sol-testimonial-grid,
.sol-reason-grid {
  display: grid;
  gap: 18px;
}

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

.sol-quote-card {
  padding: 20px 22px;
  border-radius: 22px;
}

.sol-quote-user {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
}

.sol-quote-user img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.sol-quote-user strong {
  display: block;
  font-size: 14px;
}

.sol-quote-user span {
  display: block;
  color: #8c96b3;
  font-size: 12px;
  margin-top: 3px;
}

.sol-reason-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.sol-reason-grid article {
  padding: 18px;
  border-radius: 20px;
  text-align: center;
}

.sol-reason-grid img {
  width: 28px;
  height: 28px;
  margin: 0 auto 12px;
}

.sol-bottom-cta-wrap {
  padding: 6px 0 20px;
}

.sol-bottom-cta {
  min-height: 170px;
  border-radius: 28px;
  padding: 28px 30px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 20px;
  color: #fff;
  background:
    radial-gradient(circle at 72% 24%, rgba(255,255,255,0.18), transparent 26%),
    linear-gradient(90deg, #5468ff 0%, #6a5fff 46%, #4d73ff 100%);
  box-shadow: 0 28px 60px rgba(83, 100, 220, 0.26);
}

.sol-bottom-cta h3 {
  margin: 0 0 10px;
  font-size: 34px;
}

.sol-bottom-cta p {
  margin: 0;
  color: rgba(255,255,255,0.84);
  font-size: 15px;
}

.sol-bottom-cta-actions {
  display: flex;
  gap: 12px;
}

.sol-bottom-cta-visual img {
  width: 200px;
  filter: drop-shadow(0 18px 34px rgba(24, 36, 120, 0.2));
}

@media (max-width: 1380px) {
  .sol-hero-grid {
    grid-template-columns: 1fr;
  }

  .sol-hero-visual {
    max-width: 980px;
    margin: 0 auto;
  }

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

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

@media (max-width: 1100px) {
  .sol-app-body,
  .sol-stats-strip,
  .sol-testimonial-grid,
  .sol-bottom-cta {
    grid-template-columns: 1fr;
  }

  .sol-grid {
    grid-template-columns: 1fr;
  }

  .sol-flow-row {
    grid-template-columns: 1fr;
  }

  .sol-flow-row i {
    width: 2px;
    height: 20px;
  }

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

@media (max-width: 760px) {
  .sol-hero-copy h1 {
    font-size: 42px;
  }

  .sol-hero-actions,
  .sol-bottom-cta-actions,
  .sol-hero-points {
    flex-direction: column;
    align-items: flex-start;
  }

  .sol-app-gallery,
  .sol-reason-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================
   Pricing Page
   ========================= */

.pricing-page {
  background:
    radial-gradient(circle at 18% 14%, rgba(145, 165, 255, 0.14), transparent 28%),
    radial-gradient(circle at 82% 16%, rgba(177, 160, 255, 0.16), transparent 24%),
    linear-gradient(180deg, #ffffff 0%, #f7f9ff 42%, #f3f7ff 100%);
}

.pricing-page::before {
  opacity: 0.16;
}

.pricing-main {
  padding-bottom: 28px;
}

.price-hero {
  padding: 34px 0 28px;
}

.price-heading h1 {
  margin: 0;
  font-size: clamp(44px, 4.8vw, 68px);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.price-heading h1 span {
  color: #5568ff;
}

.price-toggle {
  width: fit-content;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  margin: 26px auto 0;
}

.price-toggle button {
  height: 40px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #7a86a8;
  font-weight: 700;
  cursor: pointer;
}

.price-toggle button.active {
  color: #fff;
  background: linear-gradient(135deg, #6876ff, #5164ff);
}

.price-toggle span {
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255, 181, 76, 0.16);
  color: #ff9d2e;
  font-size: 12px;
  font-weight: 800;
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.price-card,
.price-compare-table,
.price-enterprise-cta {
  background: rgba(255,255,255,0.84);
  border: 1px solid rgba(101, 118, 255, 0.08);
  box-shadow: 0 20px 48px rgba(82, 98, 194, 0.08);
}

.price-card {
  position: relative;
  padding: 22px 22px 20px;
  border-radius: 26px;
  display: flex;
  flex-direction: column;
}

.price-card.featured {
  border-color: rgba(92, 108, 255, 0.38);
  box-shadow: 0 26px 60px rgba(83, 100, 220, 0.16);
}

.price-card-badge {
  position: absolute;
  left: 20px;
  right: 20px;
  top: -12px;
  height: 36px;
  border-radius: 14px 14px 0 0;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(90deg, #5a6eff, #7a63ff);
  font-size: 12px;
  font-weight: 800;
}

.price-card-top h3 {
  margin: 0 0 8px;
  font-size: 28px;
}

.price-card-top p,
.price-card small,
.price-note {
  color: #7e89a9;
  font-size: 14px;
}

.price-amount {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  margin: 18px 0 6px;
}

.price-amount strong {
  font-size: 46px;
  line-height: 1;
  letter-spacing: -0.04em;
}

.price-amount span {
  color: #7e89a9;
  font-weight: 700;
  padding-bottom: 6px;
}

.price-amount.custom strong {
  font-size: 34px;
}

.price-feature-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: grid;
  gap: 12px;
}

.price-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #5f6c8f;
  line-height: 1.7;
}

.price-feature-list img {
  width: 16px;
  height: 16px;
  margin-top: 4px;
  object-fit: contain;
}

.price-card-btn {
  margin-top: auto;
  width: 100%;
}

.price-note {
  text-align: center;
  margin: 18px 0 0;
}

.price-compare-section,
.price-faq-section,
.price-enterprise-cta-wrap {
  padding: 6px 0 24px;
}

.price-compare-table {
  border-radius: 24px;
  overflow: hidden;
}

.price-compare-row {
  display: grid;
  grid-template-columns: 1.1fr repeat(4, 1fr);
  border-bottom: 1px solid rgba(104, 120, 255, 0.08);
}

.price-compare-row:last-child {
  border-bottom: 0;
}

.price-compare-row > div {
  padding: 18px 20px;
  color: #5e6b8d;
}

.price-compare-row.head {
  background: linear-gradient(180deg, rgba(250,251,255,0.98), rgba(255,255,255,0.92));
  font-weight: 800;
  color: #1b2648;
}

.price-compare-row.head span {
  display: inline-block;
  margin-left: 8px;
  padding: 4px 8px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #6876ff, #5164ff);
  font-size: 11px;
}

.price-faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.price-faq-grid .faq-row {
  min-height: 58px;
  padding: 0 18px;
  border-radius: 16px;
  background: rgba(255,255,255,0.82);
  border: 1px solid rgba(104, 120, 255, 0.08);
  box-shadow: 0 16px 36px rgba(82, 98, 194, 0.06);
}

.price-enterprise-cta {
  min-height: 210px;
  padding: 28px 32px;
  border-radius: 28px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 16px;
  color: #fff;
  background:
    radial-gradient(circle at 78% 28%, rgba(255,255,255,0.2), transparent 28%),
    linear-gradient(90deg, #5569ff 0%, #6f60ff 48%, #6381ff 100%);
  box-shadow: 0 28px 60px rgba(83, 100, 220, 0.24);
}

.price-enterprise-cta h3 {
  margin: 0 0 10px;
  font-size: 36px;
}

.price-enterprise-cta p {
  margin: 0;
  color: rgba(255,255,255,0.84);
  font-size: 15px;
  max-width: 560px;
}

.price-enterprise-actions {
  display: flex;
  gap: 12px;
  margin-top: 22px;
}

.price-enterprise-cta img {
  width: 280px;
  filter: drop-shadow(0 20px 36px rgba(26, 40, 128, 0.2));
}

@media (max-width: 1380px) {
  .price-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1100px) {
  .price-grid,
  .price-faq-grid,
  .price-enterprise-cta {
    grid-template-columns: 1fr;
  }

  .price-compare-row {
    grid-template-columns: repeat(5, minmax(160px, 1fr));
    overflow-x: auto;
  }

  .price-enterprise-cta img {
    margin: 0 auto;
  }
}

@media (max-width: 760px) {
  .price-grid {
    grid-template-columns: 1fr;
  }

  .price-toggle,
  .price-enterprise-actions {
    flex-direction: column;
  }
}

/* =========================
   Cases Page
   ========================= */

.cases-page {
  background:
    radial-gradient(circle at 18% 14%, rgba(145, 165, 255, 0.14), transparent 28%),
    radial-gradient(circle at 82% 14%, rgba(180, 162, 255, 0.14), transparent 26%),
    linear-gradient(180deg, #ffffff 0%, #f7f9ff 42%, #f2f6ff 100%);
}

.cases-page::before {
  opacity: 0.16;
}

.cases-main {
  padding-bottom: 28px;
}

.cases-hero {
  position: relative;
  padding: 32px 0 26px;
  overflow: hidden;
}

.cases-hero-deco {
  position: absolute;
  pointer-events: none;
}

.cases-hero-deco.star {
  left: calc(50% - 520px);
  top: 128px;
  width: 18px;
  height: 18px;
  background: linear-gradient(135deg, rgba(163, 175, 255, 0.9), rgba(228, 210, 255, 0.9));
  clip-path: polygon(50% 0%, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0% 50%, 38% 38%);
  opacity: 0.8;
}

.cases-hero-deco.arrow {
  right: calc(50% - 600px);
  top: 46px;
  width: 210px;
  height: 210px;
  border-radius: 40px;
  opacity: 0.26;
  background:
    radial-gradient(circle at 58% 56%, rgba(137,154,255,0.18), rgba(137,154,255,0.03) 58%, transparent 58%),
    linear-gradient(135deg, rgba(147,166,255,0.38), rgba(202,212,255,0.08));
  clip-path: polygon(56% 0%, 100% 44%, 76% 44%, 76% 100%, 36% 100%, 36% 44%, 12% 44%);
  filter: blur(0.2px);
}

.cases-breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  color: #8893b2;
  font-size: 13px;
  font-weight: 700;
}

.cases-breadcrumb a {
  color: #8893b2;
}

.cases-breadcrumb span:last-child {
  color: #596583;
}

.cases-heading h1 {
  margin: 0;
  text-align: center;
  font-size: clamp(44px, 5vw, 68px);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.cases-heading p {
  margin: 14px auto 0;
  max-width: 760px;
  text-align: center;
  color: #6f7a98;
  font-size: 17px;
  line-height: 1.9;
}

.cases-feature {
  margin-top: 28px;
  padding: 28px;
  border-radius: 28px;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 22px;
  background: rgba(255,255,255,0.84);
  border: 1px solid rgba(100,117,255,0.08);
  box-shadow: 0 22px 54px rgba(82, 98, 194, 0.08);
}

.cases-feature-copy {
  display: flex;
  flex-direction: column;
}

.cases-feature-tag {
  width: fit-content;
  padding: 8px 14px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #6776ff, #4c61ff);
  font-size: 12px;
  font-weight: 800;
}

.cases-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  color: #7f8aaa;
  font-size: 14px;
  font-weight: 700;
}

.cases-feature-copy h2 {
  margin: 14px 0 12px;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.18;
}

.cases-feature-copy p {
  margin: 0;
  color: #7180a1;
  line-height: 1.85;
}

.cases-kpi-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid rgba(100,117,255,0.08);
}

.cases-kpi {
  padding: 10px 18px 6px 0;
  border-right: 1px solid rgba(100,117,255,0.08);
}

.cases-kpi:last-child {
  border-right: 0;
  padding-right: 0;
}

.cases-kpi img {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.cases-kpi em {
  display: block;
  font-style: normal;
  color: #7d88a7;
  font-size: 12px;
  margin: 8px 0 6px;
}

.cases-kpi strong {
  color: #4c61ff;
  font-size: 34px;
  line-height: 1;
}

.cases-feature-copy .outline-btn {
  margin-top: 20px;
  width: fit-content;
}

.cases-feature-visual {
  display: grid;
  grid-template-columns: 1fr 60px 1fr;
  gap: 14px;
  align-items: center;
}

.cases-before,
.cases-after {
  position: relative;
  overflow: hidden;
  aspect-ratio: 0.76;
  border-radius: 22px;
  box-shadow: 0 20px 40px rgba(73, 90, 190, 0.12);
  background: #fff;
}

.cases-before img,
.cases-after img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cases-before img {
  filter: saturate(0.18) brightness(1.05);
}

.cases-before::before,
.cases-after::before {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  min-width: 76px;
  height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.cases-before::before {
  content: "使用前  Before";
  background: rgba(38, 44, 62, 0.82);
}

.cases-after::before {
  content: "使用后  After";
  background: linear-gradient(135deg, #6676ff, #4c61ff);
}

.cases-arrow {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  box-shadow: 0 16px 36px rgba(78, 95, 196, 0.14);
}

.cases-arrow img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.cases-filter-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 22px 0 0;
}

.cases-filter-tabs span {
  height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  background: rgba(255,255,255,0.78);
  border: 1px solid rgba(100,117,255,0.08);
  color: #6d7896;
  font-weight: 700;
}

.cases-filter-tabs .active {
  color: #fff;
  background: linear-gradient(135deg, #6978ff, #5266ff);
}

.cases-card-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.case-mini-card,
.case-quote,
.case-diff-card,
.cases-brand-strip,
.cases-bottom-cta {
  background: rgba(255,255,255,0.84);
  border: 1px solid rgba(100,117,255,0.08);
  box-shadow: 0 20px 48px rgba(82, 98, 194, 0.08);
}

.case-mini-card {
  padding: 18px;
  border-radius: 24px;
}

.case-mini-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.case-mini-brand img {
  width: 44px;
  height: 44px;
  border-radius: 16px;
  object-fit: cover;
}

.case-mini-brand h3 {
  margin: 0 0 4px;
  font-size: 20px;
}

.case-mini-brand p {
  margin: 0;
  color: #7d88a8;
  font-size: 13px;
}

.case-mini-cover {
  width: 100%;
  aspect-ratio: 1.16;
  object-fit: cover;
  border-radius: 18px;
  margin-top: 14px;
}

.case-mini-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
}

.case-mini-metrics div {
  padding: 10px 6px;
  border-radius: 14px;
  background: rgba(248,250,255,0.9);
  text-align: center;
}

.case-mini-metrics strong {
  display: block;
  color: #4f63ff;
  font-size: 20px;
}

.case-mini-metrics span {
  display: block;
  color: #8a95b2;
  font-size: 11px;
  margin-top: 2px;
}

.case-mini-card .outline-btn {
  width: 100%;
  margin-top: 14px;
}

.cases-list-section {
  padding-bottom: 6px;
}

.cases-voice-section,
.cases-diff-section,
.cases-brand-section,
.cases-bottom-cta-wrap {
  padding: 10px 0 24px;
}

.cases-quote-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.cases-quote-stage {
  display: grid;
  grid-template-columns: 42px 1fr 42px;
  gap: 18px;
  align-items: center;
}

.cases-voice-nav {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(100,117,255,0.1);
  border-radius: 999px;
  background: rgba(255,255,255,0.86);
  color: #5b6fff;
  font-size: 26px;
  line-height: 1;
  box-shadow: 0 12px 28px rgba(82, 98, 194, 0.08);
}

.case-quote {
  position: relative;
  padding: 22px;
  border-radius: 24px;
}

.case-quote-mark {
  display: inline-block;
  margin-bottom: 10px;
  color: #5468ff;
  font-size: 42px;
  font-weight: 800;
  line-height: 0.9;
}

.case-quote p {
  margin: 0;
  color: #6f7a99;
  line-height: 1.85;
}

.case-quote-user {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
}

.case-quote-user img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
}

.case-quote-user strong {
  display: block;
  font-size: 14px;
}

.case-quote-user span {
  display: block;
  margin-top: 3px;
  color: #8a95b2;
  font-size: 12px;
}

.cases-diff-title {
  margin: 0 0 16px;
  text-align: center;
  font-size: 36px;
}

.cases-diff-card {
  border-radius: 28px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1.1fr 1fr;
  min-height: 274px;
}

.case-diff-wrap {
  position: relative;
}

.case-diff-connector {
  position: absolute;
  top: 50%;
  left: 66.5%;
  z-index: 3;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  transform: translate(-50%, -50%);
  box-shadow: 0 12px 28px rgba(82, 98, 194, 0.12);
}

.case-diff-connector img {
  width: 16px;
  height: 16px;
}

.cases-diff-col {
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cases-diff-col.before {
  background: linear-gradient(180deg, rgba(250,251,255,0.96), rgba(255,255,255,0.9));
}

.cases-diff-col.after {
  color: #fff;
  background: linear-gradient(135deg, #6675ff, #4f61ff 56%, #6b5dff 100%);
  clip-path: polygon(10% 0%, 100% 0%, 100% 100%, 0% 100%);
  padding-left: 52px;
}

.cases-diff-col h4 {
  margin: 0 0 14px;
  font-size: 24px;
}

.cases-diff-col ul {
  margin: 0;
  padding-left: 18px;
  line-height: 1.95;
}

.cases-diff-col.after ul {
  color: rgba(255,255,255,0.88);
}

.cases-diff-metrics {
  display: grid;
  align-content: stretch;
}

.cases-diff-metrics article {
  min-height: 58px;
  padding: 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(102,118,255,0.08);
}

.cases-diff-metrics article:last-child {
  border-bottom: 0;
}

.cases-diff-metrics span {
  color: #6f7a99;
  font-weight: 700;
}

.cases-diff-metrics b {
  color: #4d62ff;
  font-size: 28px;
}

.cases-brand-strip {
  padding: 20px 24px;
  border-radius: 24px;
}

.cases-brand-strip h3 {
  margin: 0 0 16px;
  text-align: center;
  font-size: 34px;
}

.cases-brand-logos {
  display: flex;
  gap: 16px;
  align-items: center;
}

.cases-brand-logos button {
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 50%;
  background: rgba(247,249,255,0.94);
  display: grid;
  place-items: center;
}

.cases-brand-logos button img {
  width: 14px;
  height: 14px;
}

.cases-brand-logo {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 72px;
  border-radius: 18px;
  background: rgba(249,250,255,0.92);
}

.cases-brand-logo img {
  max-width: 72px;
  max-height: 28px;
  object-fit: contain;
  opacity: 0.72;
  filter: grayscale(1);
}

.cases-bottom-cta {
  min-height: 150px;
  padding: 26px 28px;
  border-radius: 28px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 18px;
  align-items: center;
  color: #fff;
  background:
    radial-gradient(circle at 76% 28%, rgba(255,255,255,0.18), transparent 28%),
    linear-gradient(90deg, #5669ff 0%, #6c60ff 48%, #5f7dff 100%);
  box-shadow: 0 28px 60px rgba(82, 98, 194, 0.22);
}

.cases-bottom-cta h3 {
  margin: 0 0 10px;
  font-size: 34px;
}

.cases-bottom-cta p {
  margin: 0;
  color: rgba(255,255,255,0.84);
}

.cases-bottom-actions {
  display: flex;
  gap: 12px;
}

.cases-bottom-cta img {
  width: 190px;
  filter: drop-shadow(0 18px 34px rgba(26, 40, 128, 0.2));
}

@media (max-width: 1180px) {
  .cases-feature,
  .cases-diff-card,
  .cases-bottom-cta {
    grid-template-columns: 1fr;
  }

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

  .cases-brand-logos {
    flex-wrap: wrap;
  }

  .case-diff-connector {
    display: none;
  }
}

@media (max-width: 1100px) {
  .cases-card-grid,
  .cases-quote-grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .cases-feature-visual {
    grid-template-columns: 1fr;
  }

  .cases-arrow {
    margin: 0 auto;
    transform: rotate(90deg);
  }

  .cases-brand-logos {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
  }

  .cases-brand-logos button {
    display: none;
  }

  .cases-quote-stage {
    grid-template-columns: 1fr;
  }

  .cases-voice-nav {
    display: none;
  }
}

@media (max-width: 760px) {
  .cases-card-grid,
  .cases-quote-grid,
  .cases-kpi-row,
  .cases-bottom-actions {
    grid-template-columns: 1fr;
  }

  .cases-bottom-actions {
    display: flex;
    flex-direction: column;
  }

  .cases-brand-logos {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* =========================
   Help Center Page
   ========================= */

.help-page {
  background:
    radial-gradient(circle at 18% 14%, rgba(145, 165, 255, 0.15), transparent 28%),
    radial-gradient(circle at 84% 18%, rgba(182, 162, 255, 0.16), transparent 26%),
    linear-gradient(180deg, #ffffff 0%, #f7f9ff 48%, #f4f7ff 100%);
}

.help-main {
  padding-bottom: 28px;
}

.help-hero {
  padding: 34px 0 14px;
  overflow: hidden;
}

.help-hero-grid {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 12px;
  align-items: center;
}

.help-breadcrumb {
  color: #8a95b3;
  font-size: 13px;
  font-weight: 700;
}

.help-copy h1 {
  margin: 18px 0 12px;
  max-width: 760px;
  font-size: clamp(42px, 4.2vw, 58px);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.help-copy h1 span {
  color: #5368ff;
}

.help-copy p {
  margin: 0;
  max-width: 640px;
  color: #7582a3;
  font-size: 17px;
  line-height: 1.8;
}

.help-search {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  max-width: 690px;
}

.help-search-input {
  min-height: 56px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: 16px;
  background: rgba(255,255,255,0.9);
  border: 1px solid rgba(99, 116, 255, 0.08);
  box-shadow: 0 20px 42px rgba(82, 98, 194, 0.08);
}

.help-search-input img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  opacity: 0.65;
}

.help-search-input input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: none;
  background: transparent;
  font: inherit;
  color: #263253;
}

.help-search .primary-btn {
  height: 56px;
  padding: 0 26px;
  border-radius: 14px;
}

.help-tags {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  color: #919cb7;
  font-size: 14px;
}

.help-tags strong {
  color: #535f81;
}

.help-tags span {
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.8);
  border: 1px solid rgba(96,113,255,0.08);
  color: #6e79a2;
  font-weight: 700;
  font-size: 12px;
}

.help-visual {
  position: relative;
  min-height: 360px;
}

.help-visual-cloud {
  position: absolute;
  right: -36px;
  top: 18px;
  width: 360px;
  height: 280px;
  border-radius: 120px;
  background:
    radial-gradient(circle at 28% 44%, rgba(255,255,255,0.9), rgba(255,255,255,0.2) 52%, transparent 52%),
    radial-gradient(circle at 62% 38%, rgba(255,255,255,0.76), rgba(255,255,255,0.08) 50%, transparent 50%),
    linear-gradient(135deg, rgba(201,210,255,0.18), rgba(187,168,255,0.12));
  opacity: 0.8;
}

.help-visual-doc {
  position: absolute;
  top: 24px;
  left: 110px;
  width: 206px;
  height: 220px;
  padding: 22px;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(184,173,255,0.82), rgba(255,255,255,0.96) 18%, rgba(255,255,255,0.92) 100%);
  box-shadow: 0 28px 60px rgba(103, 112, 255, 0.2);
  transform: rotate(5deg);
}

.help-visual-doc .dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 5px;
  border-radius: 50%;
  background: rgba(92, 108, 255, 0.58);
}

.help-line {
  height: 10px;
  margin-top: 16px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(192,197,255,0.86), rgba(222,225,255,0.76));
}

.help-line.long { margin-top: 30px; width: 92%; }
.help-line.medium { width: 74%; }
.help-line.short { width: 56%; }

.help-visual-bubble {
  position: absolute;
  top: 44px;
  left: 286px;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #5b66ff;
  font-size: 52px;
  font-weight: 800;
  background: radial-gradient(circle at 35% 32%, #ffffff, #eef1ff 58%, #d9ddff 100%);
  box-shadow: 0 18px 40px rgba(110, 121, 255, 0.18);
}

.help-visual-glass {
  position: absolute;
  left: 222px;
  top: 174px;
  width: 118px;
  height: 118px;
  border: 10px solid #5e68ff;
  border-radius: 50%;
  transform: rotate(6deg);
  box-shadow: 0 16px 36px rgba(94, 104, 255, 0.18);
}

.help-visual-glass span {
  position: absolute;
  right: -14px;
  bottom: -54px;
  width: 18px;
  height: 74px;
  border-radius: 999px;
  background: linear-gradient(180deg, #4f60ff, #7e73ff);
  transform: rotate(-38deg);
}

.help-float {
  position: absolute;
  display: block;
}

.help-float.cube {
  left: 78px;
  top: 84px;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(144,163,255,0.86), rgba(219,198,255,0.6));
  transform: rotate(35deg);
}

.help-float.orb {
  left: 88px;
  bottom: 42px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(255,255,255,0.94), rgba(164,177,255,0.7));
}

.help-float.diamond {
  right: 16px;
  top: 110px;
  width: 20px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(198,183,255,0.78), rgba(246,247,255,0.18));
  transform: rotate(20deg);
}

.help-section-title {
  margin-bottom: 18px;
}

.help-section-title h2,
.help-panel-head h3,
.help-wide-head h3 {
  margin: 0;
  font-size: 22px;
  letter-spacing: -0.03em;
}

.help-topics-section,
.help-dual-section,
.help-video-section,
.help-faq-section,
.help-cta-section {
  padding: 14px 0;
}

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

.help-topic-card,
.help-panel,
.help-video-card,
.help-bottom-cta {
  background: rgba(255,255,255,0.86);
  border: 1px solid rgba(98,114,255,0.08);
  box-shadow: 0 20px 48px rgba(82, 98, 194, 0.08);
}

.help-topic-card {
  min-height: 140px;
  padding: 22px 20px;
  border-radius: 22px;
  display: flex;
  gap: 16px;
}

.help-topic-icon,
.help-contact-icon {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
}

.help-topic-icon img,
.help-contact-icon img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.help-topic-icon.blue,
.help-contact-icon.blue { background: linear-gradient(135deg, rgba(98,114,255,0.16), rgba(160,176,255,0.18)); }
.help-topic-icon.indigo,
.help-contact-icon.indigo { background: linear-gradient(135deg, rgba(97,103,255,0.18), rgba(175,181,255,0.18)); }
.help-topic-icon.orange,
.help-contact-icon.orange { background: linear-gradient(135deg, rgba(255,182,96,0.2), rgba(255,140,94,0.16)); }
.help-topic-icon.green,
.help-contact-icon.green { background: linear-gradient(135deg, rgba(74,221,177,0.18), rgba(52,190,140,0.14)); }
.help-topic-icon.purple,
.help-contact-icon.purple { background: linear-gradient(135deg, rgba(133,120,255,0.16), rgba(204,162,255,0.14)); }
.help-topic-icon.violet,
.help-contact-icon.violet { background: linear-gradient(135deg, rgba(184,116,255,0.16), rgba(121,109,255,0.14)); }
.help-topic-icon.pink,
.help-contact-icon.pink { background: linear-gradient(135deg, rgba(255,117,176,0.16), rgba(255,151,194,0.14)); }

.help-topic-card h3 {
  margin: 4px 0 10px;
  font-size: 18px;
}

.help-topic-card p {
  margin: 0;
  color: #7683a3;
  font-size: 14px;
  line-height: 1.8;
}

.help-dual-grid,
.help-faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.help-panel {
  padding: 22px 24px;
  border-radius: 24px;
}

.help-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.help-panel-head a {
  color: #5f73ff;
  font-weight: 700;
}

.help-panel-head.stacked p {
  margin: 8px 0 0;
  color: #8793b1;
}

.help-article-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.help-article-row {
  display: grid;
  grid-template-columns: 28px 1fr auto auto;
  align-items: center;
  gap: 14px;
}

.help-article-row b {
  width: 24px;
  height: 24px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 12px;
  background: linear-gradient(135deg, #6072ff, #4f62ff);
}

.help-article-row span {
  font-weight: 600;
  color: #263253;
}

.help-article-row small {
  color: #99a4bf;
  font-weight: 700;
}

.tag {
  padding: 6px 10px;
  border-radius: 999px;
  font-style: normal;
  font-size: 12px;
  font-weight: 800;
}

.tag.blue { color: #6172ff; background: rgba(97,114,255,0.09); }
.tag.indigo { color: #6b6eff; background: rgba(114,110,255,0.09); }
.tag.violet { color: #9067ff; background: rgba(144,103,255,0.1); }
.tag.green { color: #2fb67f; background: rgba(47,182,127,0.1); }
.tag.mint { color: #27b3a1; background: rgba(39,179,161,0.1); }

.help-panel-btn {
  width: 100%;
  margin-top: 22px;
  min-height: 46px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #6073ff;
  font-weight: 700;
  border: 1px solid rgba(96,113,255,0.14);
  background: rgba(255,255,255,0.78);
}

.help-guide-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.help-guide-row {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 14px;
  align-items: center;
}

.help-guide-row img {
  width: 112px;
  height: 76px;
  object-fit: cover;
  border-radius: 14px;
}

.help-guide-row h4 {
  margin: 0 0 8px;
  font-size: 15px;
  line-height: 1.35;
}

.help-guide-row p {
  margin: 0 0 6px;
  color: #7f8aaa;
  font-size: 13px;
}

.help-guide-row span {
  color: #9ca7c1;
  font-size: 12px;
  font-weight: 700;
}

.help-wide-head {
  margin-bottom: 16px;
}

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

.help-video-card {
  padding: 12px;
  border-radius: 18px;
}

.help-video-thumb {
  position: relative;
  height: 118px;
  overflow: hidden;
  border-radius: 14px;
  background: linear-gradient(135deg, #253785, #17214f);
}

.help-video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.88;
}

.help-video-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17,24,62,0.08), rgba(16,20,48,0.72));
}

.help-video-thumb .play {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  transform: translate(-50%, -50%);
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(8px);
}

.help-video-thumb time,
.help-video-thumb strong {
  position: absolute;
  z-index: 2;
  color: #fff;
}

.help-video-thumb strong {
  left: 16px;
  top: 14px;
  font-size: 15px;
}

.help-video-thumb time {
  right: 10px;
  bottom: 10px;
  min-width: 50px;
  height: 24px;
  padding: 0 8px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  background: rgba(17, 23, 54, 0.7);
}

.help-video-card h4 {
  margin: 12px 0 6px;
  font-size: 14px;
}

.help-video-card p {
  margin: 0;
  color: #98a3be;
  font-size: 12px;
}

.faq-panel,
.contact-panel {
  min-height: 372px;
}

.help-faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.help-faq-row,
.help-contact-row {
  min-height: 62px;
  padding: 0 18px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: rgba(255,255,255,0.84);
  border: 1px solid rgba(95,112,255,0.08);
}

.help-faq-row span {
  font-weight: 600;
}

.help-faq-row b {
  color: #8e98b5;
  font-size: 14px;
}

.help-contact-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.help-contact-meta {
  display: flex;
  align-items: center;
  gap: 14px;
}

.help-contact-meta h4 {
  margin: 0 0 6px;
  font-size: 18px;
}

.help-contact-meta p {
  margin: 0;
  color: #8b97b5;
  font-size: 13px;
}

.help-contact-row a {
  min-width: 98px;
  height: 40px;
  padding: 0 14px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #5f71ff;
  font-weight: 700;
  border: 1px solid rgba(95,112,255,0.14);
  background: #fff;
}

.help-bottom-cta {
  min-height: 150px;
  padding: 26px 28px;
  border-radius: 26px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 20px;
  align-items: center;
  color: #fff;
  background:
    radial-gradient(circle at 45% 50%, rgba(255,255,255,0.16), transparent 24%),
    linear-gradient(90deg, #5568ff 0%, #655dff 48%, #425af4 100%);
  box-shadow: 0 28px 60px rgba(82, 98, 194, 0.22);
}

.help-bottom-cta h3 {
  margin: 0 0 10px;
  font-size: 34px;
}

.help-bottom-cta p {
  margin: 0;
  color: rgba(255,255,255,0.84);
}

.help-bottom-cta img {
  width: 210px;
  filter: drop-shadow(0 18px 34px rgba(26, 40, 128, 0.2));
}

.help-footer {
  margin-top: 14px;
}

@media (max-width: 1200px) {
  .help-topic-grid,
  .help-video-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1180px) {
  .help-hero-grid,
  .help-dual-grid,
  .help-faq-grid,
  .help-bottom-cta {
    grid-template-columns: 1fr;
  }

  .help-visual {
    min-height: 320px;
  }

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

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

@media (max-width: 760px) {
  .help-search {
    grid-template-columns: 1fr;
  }

  .help-copy h1 {
    font-size: 40px;
  }

  .help-topic-grid,
  .help-video-grid {
    grid-template-columns: 1fr;
  }

  .help-guide-row,
  .help-article-row {
    grid-template-columns: 1fr;
  }

  .help-guide-row img {
    width: 100%;
    height: 180px;
  }

  .help-contact-row {
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
  }

  .help-contact-row a {
    width: 100%;
  }
}

/* =========================
   Product Page
   ========================= */

.product-page {
  background:
    radial-gradient(circle at 18% 12%, rgba(145, 165, 255, 0.16), transparent 26%),
    radial-gradient(circle at 82% 18%, rgba(182, 162, 255, 0.15), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f7f9ff 48%, #f3f6ff 100%);
}

.product-main {
  padding-bottom: 28px;
}

.product-hero {
  padding: 28px 0 18px;
}

.product-hero-grid {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 24px;
  align-items: center;
}

.product-hero-copy h1 {
  margin: 0;
  font-size: clamp(44px, 4.5vw, 62px);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.product-hero-copy h1 span {
  color: #5368ff;
}

.product-hero-copy p {
  margin: 18px 0 0;
  max-width: 560px;
  color: #7381a1;
  font-size: 16px;
  line-height: 1.85;
}

.product-hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 24px;
}

.product-hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 22px;
}

.product-hero-points span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #7c88ab;
  font-weight: 700;
  font-size: 13px;
}

.product-hero-points img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.product-hero-visual {
  padding: 10px;
  border-radius: 28px;
}

.product-hero-visual img {
  width: 100%;
  height: 430px;
  border-radius: 22px;
  object-fit: cover;
  object-position: top center;
}

.product-feature-stream {
  padding: 4px 0 12px;
}

.product-feature-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.product-feature-card,
.product-team-card,
.product-cta {
  background: rgba(255,255,255,0.88);
  border: 1px solid rgba(96,113,255,0.08);
  box-shadow: 0 20px 48px rgba(82, 98, 194, 0.08);
}

.product-feature-card {
  border-radius: 28px;
  padding: 22px;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 22px;
  align-items: center;
}

.product-feature-card.reverse {
  grid-template-columns: 0.9fr 1.1fr;
}

.product-feature-card.reverse-top {
  grid-template-columns: 0.7fr 1.3fr;
}

.product-feature-copy {
  padding: 8px 6px;
}

.product-feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(102,118,255,0.16), rgba(188,173,255,0.16));
}

.product-feature-icon img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.product-feature-copy h3 {
  margin: 14px 0 12px;
  font-size: 28px;
}

.product-feature-copy p {
  margin: 0;
  color: #7380a2;
  line-height: 1.85;
}

.product-feature-copy ul {
  margin: 16px 0 0;
  padding-left: 18px;
  color: #637093;
  line-height: 2;
}

.product-feature-visual {
  height: 252px;
  overflow: hidden;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(249,250,255,0.96), rgba(241,245,255,0.8));
}

.product-feature-visual.large {
  height: 320px;
}

.product-feature-visual img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 20px;
  object-fit: cover;
  object-position: top center;
}

.pmock {
  width: 100%;
  height: 100%;
}

.pmock.app {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pmock-topbar,
.pmock-search,
.pmock-chip-row,
.pmock-ratio-row,
.pmock-batch-row,
.pmock-fonts {
  display: flex;
  align-items: center;
}

.pmock-topbar {
  justify-content: space-between;
  color: #4b587f;
  font-size: 13px;
  font-weight: 700;
}

.pmock-topbar span {
  min-width: 48px;
  height: 28px;
  padding: 0 12px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(135deg, #6476ff, #4f62ff);
}

.pmock-search {
  min-height: 38px;
  padding: 0 14px;
  border-radius: 12px;
  color: #8a95b0;
  background: #fff;
  border: 1px solid rgba(97,113,255,0.08);
}

.pmock-app-grid {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 160px;
  gap: 12px;
}

.pmock-main-image img,
.pmock-thumb-grid img,
.pmock-batch-grid img,
.pmock-api-grid img,
.pmock.style-grid figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pmock-main-image {
  overflow: hidden;
  border-radius: 16px;
}

.pmock-side-panel {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pmock-ratio-row {
  flex-wrap: wrap;
  gap: 8px;
}

.pmock-ratio-row span,
.pmock-chip-row span {
  min-width: 46px;
  height: 28px;
  padding: 0 10px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: #6072ff;
  background: rgba(97,114,255,0.08);
}

.pmock-thumb-grid {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.pmock-thumb-grid img {
  border-radius: 12px;
}

.pmock-chip-row {
  gap: 8px;
}

.pmock.editor {
  padding: 16px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 12px;
}

.pmock-editor-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

.pmock-editor-tools {
  padding: 14px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(97,113,255,0.08);
}

.pmock-editor-title {
  color: #4f5b7c;
  font-weight: 800;
}

.pmock-tool-grid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.pmock-tool-grid span {
  height: 34px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #6072ff;
  background: rgba(97,114,255,0.08);
  font-weight: 700;
}

.pmock-slider {
  height: 6px;
  margin-top: 16px;
  border-radius: 999px;
  background: rgba(97,114,255,0.12);
}

.pmock-slider i {
  display: block;
  width: 58%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #6d7cff, #5062ff);
}

.pmock-mini-row {
  margin-top: 14px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.pmock-mini-row em {
  height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  color: #6a7598;
  font-size: 12px;
  font-style: normal;
  background: rgba(247,249,255,0.96);
}

.pmock.style-grid {
  padding: 16px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.pmock.style-grid figure {
  margin: 0;
}

.pmock.style-grid figure img {
  height: 102px;
  border-radius: 14px;
}

.pmock.style-grid figcaption {
  margin-top: 6px;
  text-align: center;
  color: #606d90;
  font-size: 12px;
  font-weight: 700;
}

.pmock.batch {
  padding: 16px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 12px;
}

.pmock-batch-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.pmock-batch-grid img,
.pmock-api-grid img {
  border-radius: 14px;
}

.pmock-batch-panel {
  padding: 14px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(97,113,255,0.08);
}

.pmock-batch-tag {
  min-height: 66px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #7480a1;
  font-size: 13px;
  font-weight: 700;
  border: 1px dashed rgba(97,113,255,0.18);
  background: rgba(248,250,255,0.92);
}

.pmock-batch-row {
  justify-content: space-between;
  margin-top: 10px;
  color: #697698;
  font-size: 13px;
}

.pmock-batch-row b {
  color: #4e61ff;
}

.pmock-batch-panel button {
  width: 100%;
  height: 40px;
  margin-top: 12px;
  border: 0;
  border-radius: 12px;
  color: #fff;
  font-weight: 800;
  background: linear-gradient(135deg, #6676ff, #4d61ff);
}

.pmock.brand {
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
}

.pmock-brand-logos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  align-items: center;
}

.pmock-brand-logos img {
  max-width: 100%;
  max-height: 36px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.72;
}

.pmock-color-swatches {
  display: flex;
  gap: 10px;
}

.pmock-color-swatches span {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: block;
}

.pmock-fonts {
  gap: 8px;
  margin-top: 12px;
  color: #687597;
}

.pmock.collaborate {
  padding: 16px;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 12px;
}

.pmock-collab-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

.pmock-comments {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pmock-comment {
  padding: 14px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(97,113,255,0.08);
}

.pmock-comment b,
.pmock-comment span,
.pmock-comment em {
  display: block;
}

.pmock-comment b {
  margin-bottom: 6px;
  color: #273253;
}

.pmock-comment span {
  color: #6e7a9c;
  font-size: 13px;
}

.pmock-comment em {
  margin-top: 8px;
  color: #9aa5bf;
  font-size: 12px;
  font-style: normal;
}

.pmock.api {
  padding: 16px;
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 12px;
}

.pmock-code {
  margin: 0;
  padding: 16px;
  overflow: auto;
  border-radius: 16px;
  color: #cad6ff;
  font-size: 12px;
  line-height: 1.7;
  background: #18203f;
}

.pmock-api-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.product-team-section {
  padding: 8px 0 16px;
}

.product-team-heading {
  margin-bottom: 18px;
}

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

.product-team-card {
  min-height: 180px;
  padding: 22px;
  border-radius: 22px;
}

.product-team-card span {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(101,117,255,0.16), rgba(191,178,255,0.16));
}

.product-team-card span img {
  width: 22px;
  height: 22px;
}

.product-team-card h3 {
  margin: 14px 0 10px;
  font-size: 22px;
}

.product-team-card ul {
  margin: 0;
  padding-left: 18px;
  color: #687597;
  line-height: 1.95;
}

.product-cta-wrap {
  padding: 8px 0 18px;
}

.product-cta {
  min-height: 152px;
  padding: 26px 28px;
  border-radius: 28px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 18px;
  align-items: center;
  color: #fff;
  background:
    radial-gradient(circle at 54% 50%, rgba(255,255,255,0.14), transparent 22%),
    linear-gradient(90deg, #5468ff 0%, #675eff 48%, #4158f0 100%);
  box-shadow: 0 28px 60px rgba(82, 98, 194, 0.22);
}

.product-cta h3 {
  margin: 0 0 10px;
  font-size: 34px;
}

.product-cta p {
  margin: 0;
  color: rgba(255,255,255,0.84);
}

.product-cta img {
  width: 160px;
  filter: drop-shadow(0 18px 34px rgba(26, 40, 128, 0.2));
}

.product-cta-actions {
  display: flex;
  gap: 12px;
}

@media (max-width: 1100px) {
  .product-hero-grid,
  .product-feature-card,
  .product-feature-card.reverse,
  .product-feature-card.reverse-top,
  .product-cta {
    grid-template-columns: 1fr;
  }

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

  .pmock-app-grid,
  .pmock.editor,
  .pmock.batch,
  .pmock.collaborate,
  .pmock.api {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .product-hero-actions,
  .product-cta-actions {
    flex-direction: column;
  }

  .product-team-grid {
    grid-template-columns: 1fr;
  }

  .pmock.style-grid,
  .pmock-brand-logos {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Editor page */
body.editor-page {
  margin: 0;
  overflow: hidden;
  overscroll-behavior: none;
  font-family: "Outfit", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  background: #101113;
  color: #f3f4f8;
}

body.editor-page::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.14) 0 0.95px, transparent 1.2px);
  background-size: 12px 12px;
  background-position: 9px 11px;
}

.editor-canvas-app {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.editor-float-topbar {
  position: fixed;
  left: 28px;
  right: 28px;
  top: 24px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.editor-top-left,
.editor-top-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.editor-top-left strong {
  color: #f2f4f8;
  font-size: 18px;
  font-weight: 700;
}

.editor-icon-btn,
.editor-pill-btn,
.editor-log-pill,
.editor-mode-chip,
.editor-zoom-pill,
.editor-help-pill {
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(26, 28, 32, 0.88);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(16px);
}

.editor-icon-btn,
.editor-add-btn,
.editor-help-pill {
  width: 46px;
  height: 46px;
  border-radius: 18px;
  display: grid;
  place-items: center;
}

.editor-icon-btn.ghost {
  border-radius: 50%;
}

.editor-icon-btn svg,
.editor-pill-btn svg,
.editor-vertical-tools svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.editor-pill-btn {
  min-height: 46px;
  padding: 0 18px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #f2f4f8;
  font-size: 15px;
  font-weight: 700;
}

.editor-user-badge {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #4e6976;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

.editor-freeboard {
  min-height: 100vh;
  position: relative;
  padding: 0;
}

.editor-board-stage {
  position: relative;
  min-height: 100vh;
}

.editor-canvas-viewport {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  overscroll-behavior: none;
  cursor: grab;
  background: transparent;
  touch-action: none;
}

.editor-canvas-viewport.is-panning {
  cursor: grabbing;
}

.editor-canvas-grid {
  --grid-size: 45px;
  --grid-offset-x: 7px;
  --grid-offset-y: 11px;
  --grid-dot-inner: 1.7px;
  --grid-dot-outer: 2px;
  --grid-hover-dot-inner: 1.9px;
  --grid-hover-dot-outer: 2.25px;
  --hover-x: -9999px;
  --hover-y: -9999px;
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: radial-gradient(circle, rgba(255,255,255,0.18) 0 var(--grid-dot-inner), transparent var(--grid-dot-outer));
  background-size: var(--grid-size) var(--grid-size);
  background-position: var(--grid-offset-x) var(--grid-offset-y);
}

.editor-canvas-grid::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.78) 0 var(--grid-hover-dot-inner), transparent var(--grid-hover-dot-outer));
  background-size: var(--grid-size) var(--grid-size);
  background-position: var(--grid-offset-x) var(--grid-offset-y);
  opacity: 0.88;
  mask-image: radial-gradient(circle 260px at var(--hover-x) var(--hover-y), rgba(0, 0, 0, 1), rgba(0, 0, 0, 0.88) 18%, rgba(0, 0, 0, 0.42) 48%, transparent 82%);
  -webkit-mask-image: radial-gradient(circle 260px at var(--hover-x) var(--hover-y), rgba(0, 0, 0, 1), rgba(0, 0, 0, 0.88) 18%, rgba(0, 0, 0, 0.42) 48%, transparent 82%);
  transition: mask-image 0.08s linear, -webkit-mask-image 0.08s linear;
}

.editor-guide {
  position: absolute;
  z-index: 3;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.12s ease;
}

.editor-guide.visible {
  opacity: 1;
}

.editor-guide-x {
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(86, 102, 255, 0.7);
  box-shadow: 0 0 0 1px rgba(86, 102, 255, 0.12);
}

.editor-guide-y {
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(86, 102, 255, 0.7);
  box-shadow: 0 0 0 1px rgba(86, 102, 255, 0.12);
}

.editor-canvas-board {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
  width: 16000px;
  height: 12000px;
  transform-origin: 0 0;
  will-change: transform;
  backface-visibility: hidden;
}

.editor-node {
  position: absolute;
  touch-action: none;
}

.editor-preview-node {
  overflow: visible;
  width: max-content;
}

.editor-preview-content {
  transform-origin: top left;
  transform: scale(var(--preview-scale, 1));
  will-change: transform;
}

.editor-node.is-dragging {
  filter: drop-shadow(0 14px 24px rgba(67, 78, 119, 0.14));
}

.editor-node.is-selected::after {
  content: "";
  position: absolute;
  inset: -10px;
  border: 2px solid rgba(91, 87, 255, 0.9);
  border-radius: 18px;
  pointer-events: none;
}

.editor-note-card {
  width: 288px;
  padding: 14px 18px 18px;
  border-radius: 20px;
  background: rgba(28, 30, 34, 0.94);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.26);
  color: #f2f4f8;
  line-height: 1.54;
  font-size: 13px;
  transition:
    width 0.26s ease,
    padding 0.26s ease,
    border-color 0.26s ease,
    background 0.26s ease,
    box-shadow 0.26s ease;
}

.editor-note-handle {
  width: 52px;
  height: 24px;
  margin-bottom: 12px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: none;
  background: #ffffff;
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease, opacity 0.22s ease;
}

.editor-note-handle:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.16);
}

.editor-note-handle:focus-visible {
  outline: 2px solid rgba(118, 129, 255, 0.92);
  outline-offset: 4px;
}

.editor-note-handle span {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #050505;
}

.editor-history-body {
  opacity: 1;
  max-height: 640px;
  overflow: hidden;
  transform: translateY(0);
  transition:
    opacity 0.22s ease,
    max-height 0.26s ease,
    transform 0.26s ease,
    margin 0.26s ease;
}

.editor-note-card p {
  margin: 0 0 12px;
}

.editor-note-card ul {
  margin: 0 0 12px 16px;
  padding: 0;
}

.editor-note-card li {
  margin-bottom: 9px;
}

.editor-history-panel {
  position: fixed;
  left: 18px;
  top: 108px;
  z-index: 18;
  max-width: min(288px, calc(100vw - 36px));
  overflow: hidden;
}

.editor-history-panel.is-collapsed {
  width: 60px;
  min-height: 44px;
  padding: 8px;
  border-radius: 16px;
  border-color: rgba(255,255,255,0.1);
  background: rgba(25, 27, 31, 0.7);
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
}

.editor-history-panel.is-collapsed .editor-note-handle {
  margin-bottom: 0;
  transform: none;
  box-shadow: none;
  width: 44px;
  height: 24px;
  gap: 6px;
}

.editor-history-panel.is-collapsed .editor-history-body {
  opacity: 0;
  max-height: 0;
  margin: 0;
  transform: translateY(-10px);
  pointer-events: none;
}

.editor-history-chip {
  min-height: 48px;
  margin-bottom: 14px;
  padding: 0 12px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(22, 24, 28, 0.96);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.02);
}

.editor-history-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: none;
  background: #4b6673;
  color: #f5f7fb;
  font-size: 10px;
  font-weight: 700;
}

.editor-history-title {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: rgba(255,255,255,0.66);
  font-size: 12px;
  font-weight: 500;
}

.editor-history-caret {
  color: rgba(255,255,255,0.56);
  font-size: 14px;
}

.editor-mini-cluster {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.editor-mini-shot,
.editor-loose-shot,
.editor-strip-card {
  position: relative;
}

.editor-mini-shot span,
.editor-loose-shot span,
.editor-strip-card span {
  position: absolute;
  left: 0;
  top: -18px;
  color: rgba(255,255,255,0.72);
  font-size: 14px;
  font-weight: 500;
}

.editor-mini-shot::before,
.editor-loose-shot::before,
.editor-strip-card::before {
  content: "⚙";
  position: absolute;
  left: -18px;
  top: -18px;
  color: rgba(255,255,255,0.5);
  font-size: 16px;
}

.editor-mini-shot img,
.editor-loose-shot img {
  width: 148px;
  height: 82px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.28);
}

.editor-main-strip {
  display: flex;
  align-items: flex-end;
  gap: 18px;
}

.editor-strip-card img {
  width: 152px;
  height: 152px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.08);
  background: #0d0f12;
}

.editor-strip-card.active img {
  outline: 4px solid #5b57ff;
  outline-offset: -4px;
}

.editor-vertical-tools {
  position: fixed;
  right: 18px;
  top: 366px;
  z-index: 15;
  width: 58px;
  padding: 10px 0;
  border-radius: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background: rgba(25, 27, 31, 0.92);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(18px);
}

.editor-vertical-tools button {
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 50%;
  color: rgba(255,255,255,0.78);
  background: transparent;
}

.editor-vertical-tools svg {
  width: 18px;
  height: 18px;
}

.editor-vertical-tools button.active {
  background: #f3f4f8;
  color: #101113;
}

.editor-bottom-left {
  position: fixed;
  left: 24px;
  bottom: 16px;
  z-index: 15;
}

.editor-log-panel {
  width: 288px;
  padding: 12px 12px 8px;
  border-radius: 22px;
  background: rgba(28, 30, 34, 0.96);
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
}

.editor-log-items {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-bottom: 12px;
  margin-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.editor-log-entry,
.editor-log-footer {
  width: 100%;
  border: none;
  background: transparent;
  color: #f2f4f8;
}

.editor-log-entry {
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(242,244,248,0.88);
  font-size: 12px;
  font-weight: 500;
}

.editor-log-entry.active {
  background: rgba(255,255,255,0.09);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.1);
}

.editor-log-check {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: none;
  border: 1px solid rgba(255,255,255,0.24);
  color: rgba(255,255,255,0.92);
  font-size: 9px;
}

.editor-log-text {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.editor-log-footer {
  min-height: 44px;
  padding: 0 8px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #f2f4f8;
  font-size: 14px;
  font-weight: 600;
}

.editor-log-footer-mark {
  color: rgba(255,255,255,0.86);
  font-size: 14px;
}

.editor-log-footer b {
  margin-left: auto;
  color: rgba(255,255,255,0.74);
}

.editor-bottom-center {
  position: fixed;
  left: 50%;
  bottom: 18px;
  z-index: 15;
  transform: translateX(-50%);
  width: min(calc(100vw - 560px), 580px);
}

.editor-suggestion-pills {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 6px;
  padding-left: 6px;
  flex-wrap: wrap;
}

.editor-suggestion-pills button {
  min-height: 38px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(40, 42, 47, 0.9);
  color: rgba(244,246,250,0.94);
  font-size: 13px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.2);
}

.editor-suggestion-pills button span {
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.68);
  font-size: 11px;
  font-weight: 700;
}

.editor-command-box {
  box-sizing: border-box;
  width: 100%;
  min-height: 118px;
  padding: 12px 18px 10px;
  border-radius: 26px;
  background: rgba(26, 28, 32, 0.96);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.editor-command-placeholder {
  min-height: 24px;
  color: rgba(255,255,255,0.42);
  font-size: 15px;
  display: flex;
  align-items: flex-start;
}

.editor-command-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 6px;
}

.editor-command-left,
.editor-command-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.editor-add-menu-wrap {
  position: relative;
}

.editor-model-menu-wrap {
  position: relative;
}

.editor-add-trigger {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,0.1) !important;
  color: rgba(255,255,255,0.9);
}

.editor-add-menu {
  position: absolute;
  left: 0;
  bottom: calc(100% + 14px);
  width: 198px;
  padding: 10px;
  border-radius: 22px;
  background: rgba(30, 31, 36, 0.98);
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 22px 34px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(18px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

.editor-add-menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.editor-add-menu-item {
  width: 100%;
  min-height: 52px;
  padding: 0 12px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #f5f7fb !important;
  font-size: 15px !important;
  font-weight: 600;
  text-align: left;
}

.editor-add-menu-item:hover {
  background: rgba(255,255,255,0.06) !important;
}

.editor-add-menu-item svg {
  width: 24px;
  height: 24px;
  flex: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.editor-model-menu {
  left: auto;
  right: 0;
  width: 420px;
  padding: 12px;
}

.editor-model-menu-item {
  min-height: 112px;
  padding: 16px 18px;
  border-radius: 22px;
  align-items: flex-start;
  gap: 16px;
}

.editor-model-menu-item.is-active {
  background: rgba(255,255,255,0.08) !important;
}

.editor-model-menu-icon {
  width: 24px;
  height: 24px;
  flex: none;
  display: grid;
  place-items: center;
  color: #ffffff;
  font-size: 22px;
  line-height: 1;
  margin-top: 4px;
}

.editor-model-menu-copy {
  flex: 1;
  min-width: 0;
  display: grid;
  gap: 8px;
}

.editor-model-menu-copy strong,
.editor-model-menu-copy small {
  display: block;
}

.editor-model-menu-copy strong {
  color: #f5f7fb;
  font-size: 15px;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.editor-model-menu-copy small {
  color: rgba(235,239,247,0.72);
  font-size: 12px;
  line-height: 1.45;
  font-weight: 400;
}

.editor-model-menu-check {
  flex: none;
  color: rgba(255,255,255,0.92);
  font-size: 18px;
  line-height: 1;
  margin-top: 8px;
  opacity: 0;
}

.editor-model-menu-item.is-active .editor-model-menu-check {
  opacity: 1;
}

.editor-command-toolbar button {
  border: none;
  background: transparent;
  color: rgba(255,255,255,0.86);
  font-size: 16px;
}

.editor-mode-chip {
  min-height: 42px;
  padding: 0 20px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #f7f8fb;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.02em;
  background: #2f3237 !important;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.04);
}

.editor-mode-chip svg {
  width: 12px;
  height: 12px;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.92;
}

.editor-command-toolbar .send {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #24262b !important;
  color: #f7f8fb !important;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.04);
}

.editor-command-toolbar .send svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.editor-bottom-right {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 15;
  display: flex;
  align-items: center;
  gap: 10px;
}

.editor-zoom-controls {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.editor-zoom-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(25, 27, 31, 0.92);
  color: #f2f4f8;
  font-size: 20px;
  line-height: 1;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.26);
}

.editor-sync-status {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(25, 27, 31, 0.94);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.26);
  display: grid;
  place-items: center;
  position: relative;
  color: #f5f7fb;
}

.editor-sync-cloud,
.editor-sync-checkmark {
  position: absolute;
  inset: 0;
  margin: auto;
}

.editor-sync-cloud {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.95;
}

.editor-sync-dot {
  position: absolute;
  right: 9px;
  bottom: 10px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ffb84d;
  box-shadow: 0 0 0 3px rgba(255,184,77,0.16);
  opacity: 0;
}

.editor-sync-spinner {
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.12);
  border-top-color: rgba(255,255,255,0.92);
  opacity: 0;
}

.editor-sync-checkmark {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0;
}

.editor-sync-status.is-unsynced .editor-sync-dot {
  opacity: 1;
}

.editor-sync-status.is-syncing .editor-sync-spinner {
  opacity: 1;
  animation: editor-sync-spin 0.9s linear infinite;
}

.editor-sync-status.is-syncing .editor-sync-cloud {
  animation: editor-sync-pulse 1s ease-in-out infinite;
}

.editor-sync-status.is-synced {
  color: #dff7ea;
  background: rgba(34, 42, 37, 0.96);
}

.editor-sync-status.is-synced .editor-sync-checkmark {
  opacity: 1;
}

@keyframes editor-sync-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes editor-sync-pulse {
  0%, 100% {
    opacity: 0.72;
    transform: scale(0.96);
  }

  50% {
    opacity: 1;
    transform: scale(1);
  }
}

.editor-zoom-pill {
  min-width: 82px;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #f2f4f8;
  font-size: 16px;
  font-weight: 700;
}

.editor-help-pill {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #f2f4f8;
  font-size: 20px;
  font-weight: 700;
}

@media (max-width: 1280px) {
  .editor-note-card {
    width: 288px;
    font-size: 13px;
  }
}

@media (max-width: 980px) {
  .editor-freeboard {
    padding-top: 0;
  }

  .editor-note-card {
    width: 276px;
  }

  .editor-board-stage {
    min-height: 100vh;
  }

  .editor-canvas-viewport {
    height: 100vh;
  }

  .editor-bottom-left,
  .editor-bottom-center,
  .editor-bottom-right,
  .editor-vertical-tools {
    position: static;
    transform: none;
    width: auto;
    margin-top: 20px;
  }

  .editor-bottom-center {
    max-width: none;
  }

  .editor-log-pill {
    min-width: 0;
    width: 100%;
  }
}

@media (max-width: 720px) {
  .editor-float-topbar {
    left: 12px;
    right: 12px;
    top: 12px;
    flex-direction: column;
    align-items: stretch;
  }

  .editor-top-left,
  .editor-top-right {
    flex-wrap: wrap;
  }

  .editor-pill-btn {
    padding: 0 14px;
    font-size: 14px;
  }

  .editor-suggestion-pills {
    justify-content: flex-start;
  }

  .editor-command-placeholder {
    font-size: 16px;
  }
}
