:root {
  --blue-950: #031f59;
  --blue-900: #05358e;
  --blue-800: #064bc8;
  --blue-700: #0867f2;
  --blue-600: #2c80ff;
  --blue-500: #53a4ff;
  --blue-200: #bfe5ff;
  --blue-100: #e8f6ff;
  --blue-50: #f5fbff;
  --cyan-100: #dffbff;
  --ink-950: #0a1733;
  --ink-800: #20304f;
  --ink-600: #5f6d85;
  --ink-500: #7b879d;
  --line: #dfe8f4;
  --white: #fff;
  --shadow-sm: 0 14px 36px rgba(17, 76, 166, .09);
  --shadow-md: 0 26px 70px rgba(14, 73, 165, .14);
  --radius-sm: 14px;
  --radius-md: 24px;
  --radius-lg: 36px;
  --container: 1200px;
  --header-height: 82px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink-950);
  background: var(--white);
  font-family: "Noto Sans TC", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body,
button,
input,
textarea,
select {
  font-family: "Noto Sans TC", sans-serif;
}

img,
svg {
  display: block;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  border: 0;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 999;
  padding: 10px 16px;
  color: var(--white);
  background: var(--blue-700);
  border-radius: 10px;
}

.skip-link:focus {
  top: 12px;
}

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

.section-space {
  padding-block: 116px;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-height);
  background: rgba(255, 255, 255, .87);
  border-bottom: 1px solid rgba(204, 220, 239, .68);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  flex: 0 0 auto;
}

.brand img {
  width: 142px;
  height: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  color: var(--ink-800);
  font-size: 15px;
  font-weight: 600;
}

.main-nav > a:not(.nav-cta) {
  position: relative;
  padding-block: 9px;
}

.main-nav > a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 1px;
  left: 0;
  height: 2px;
  background: var(--blue-700);
  border-radius: 99px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .25s ease;
}

.main-nav > a:not(.nav-cta):hover::after,
.main-nav > a:not(.nav-cta):focus-visible::after {
  transform: scaleX(1);
}

.nav-cta {
  padding: 12px 20px;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue-700), var(--blue-600));
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(8, 103, 242, .22);
  transition: transform .25s ease, box-shadow .25s ease;
}

.nav-cta:hover,
.nav-cta:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(8, 103, 242, .3);
}

.nav-toggle,
.nav-toggle-button {
  display: none;
}

.hero {
  position: relative;
  min-height: 840px;
  padding-top: calc(var(--header-height) + 76px);
  padding-bottom: 54px;
  overflow: hidden;
  background:
    radial-gradient(circle at 86% 20%, rgba(173, 239, 255, .65), transparent 24%),
    radial-gradient(circle at 66% 70%, rgba(156, 207, 255, .24), transparent 28%),
    linear-gradient(135deg, #fff 0%, #f8fcff 50%, #edf8ff 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .46;
  pointer-events: none;
  background-image: linear-gradient(rgba(75, 128, 194, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(75, 128, 194, .05) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, #000, transparent 88%);
}

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

.hero-glow-one {
  width: 300px;
  height: 300px;
  top: 118px;
  right: -100px;
  border: 1px solid rgba(21, 112, 245, .16);
  box-shadow: inset 0 0 0 64px rgba(255, 255, 255, .32);
}

.hero-glow-two {
  width: 120px;
  height: 120px;
  left: 5%;
  bottom: 130px;
  background: linear-gradient(145deg, rgba(160, 226, 255, .36), rgba(50, 125, 255, .06));
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  align-items: center;
  gap: clamp(40px, 6vw, 86px);
}

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

.eyebrow {
  margin: 0 0 18px;
  color: var(--blue-700);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .12em;
}

.eyebrow-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 9px;
  background: var(--blue-600);
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(44, 128, 255, .12);
}

.hero h1 {
  max-width: 650px;
  margin: 0;
  color: var(--ink-950);
  font-size: clamp(46px, 5vw, 70px);
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: -.045em;
}

.hero h1 span,
.section-heading h2 span,
.feature-copy h2 span {
  color: transparent;
  background: linear-gradient(92deg, #005bea 0%, #2797ff 62%, #62c7ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-lead {
  max-width: 590px;
  margin: 28px 0 0;
  color: var(--ink-600);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.9;
}

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

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 13px 25px;
  font-size: 16px;
  font-weight: 700;
  border-radius: 999px;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}

.button svg {
  width: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button-primary {
  color: var(--white);
  background: linear-gradient(135deg, #0059e8, #1887ff);
  box-shadow: 0 16px 32px rgba(7, 99, 238, .25);
}

.button-primary:hover,
.button-primary:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 20px 38px rgba(7, 99, 238, .34);
}

.button-secondary {
  color: var(--ink-800);
  background: rgba(255, 255, 255, .74);
  border: 1px solid rgba(141, 166, 199, .34);
  box-shadow: 0 8px 22px rgba(45, 83, 132, .05);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  color: var(--blue-700);
  background: var(--white);
  transform: translateY(-3px);
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  margin-top: 32px;
  color: var(--ink-600);
  font-size: 14px;
  font-weight: 600;
}

.hero-tags span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-tags span::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--blue-500);
  border-radius: 50%;
}

.hero-visual {
  position: relative;
}

.hero-image-shell {
  position: relative;
  width: min(100%, 670px);
  margin-left: auto;
  padding: 26px 16px 82px;
}

.hero-image-shell::before {
  content: "";
  position: absolute;
  inset: 10% 4% 10% 9%;
  background: linear-gradient(155deg, rgba(255, 255, 255, .92), rgba(223, 245, 255, .64));
  border: 1px solid rgba(255, 255, 255, .95);
  border-radius: 44px;
  transform: rotate(-4deg);
  box-shadow: 0 40px 100px rgba(30, 111, 213, .14);
}

.hero-image-shell::after {
  content: "";
  position: absolute;
  inset: 5% 1% 20% 28%;
  z-index: 0;
  background: radial-gradient(circle at 50% 50%, rgba(102, 184, 255, .38), rgba(102, 184, 255, 0) 68%);
  filter: blur(10px);
}

.hero-gradient-card {
  position: absolute;
  inset: 9% 6% 8% 12%;
  z-index: 1;
  border-radius: 42px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .88) 0%, rgba(240, 250, 255, .92) 50%, rgba(201, 231, 255, .72) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), inset 0 -18px 36px rgba(47, 127, 255, .08);
}

.hero-image-stage {
  position: relative;
  z-index: 2;
  padding: 8px 10px 0;
}

.hero-image-stage > img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 35px 40px rgba(28, 78, 155, .16));
}

.hero-caption-panel {
  position: absolute;
  z-index: 4;
  right: 7%;
  bottom: 4%;
  width: min(72%, 370px);
  padding: 18px 20px;
  color: var(--ink-950);
  background: linear-gradient(135deg, rgba(255, 255, 255, .94), rgba(228, 245, 255, .9));
  border: 1px solid rgba(255, 255, 255, .98);
  border-radius: 24px;
  box-shadow: 0 18px 44px rgba(29, 72, 136, .16);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.hero-caption-label {
  margin: 0 0 10px;
  color: var(--blue-700);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.hero-caption-panel strong {
  display: block;
  font-size: 18px;
  line-height: 1.6;
}

.hero-caption-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.hero-caption-steps span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 12px;
  color: var(--blue-900);
  font-size: 13px;
  font-weight: 700;
  background: rgba(255, 255, 255, .86);
  border: 1px solid rgba(101, 162, 255, .18);
  border-radius: 999px;
}

.floating-card {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  color: var(--ink-800);
  background: rgba(255, 255, 255, .86);
  border: 1px solid rgba(255, 255, 255, .96);
  border-radius: 16px;
  box-shadow: 0 18px 44px rgba(29, 72, 136, .15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.floating-card small,
.floating-card strong {
  display: block;
}

.floating-card small {
  margin-bottom: 3px;
  color: var(--ink-500);
  font-size: 11px;
}

.floating-card strong {
  font-size: 13px;
  white-space: nowrap;
}

.floating-card-top {
  top: 18%;
  left: -4%;
}

.floating-card-bottom {
  left: 1%;
  right: auto;
  bottom: 16%;
}

.float-icon,
.status-check {
  display: grid;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  place-items: center;
  color: var(--blue-700);
  background: var(--blue-100);
  border-radius: 11px;
}

.float-icon svg,
.status-check svg {
  width: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.status-dot {
  width: 9px;
  height: 9px;
  background: #27c382;
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(39, 195, 130, .12);
}

.status-check {
  width: 28px;
  height: 28px;
  flex-basis: 28px;
  color: #20ad72;
  background: #e2f9ef;
}

.status-check svg {
  width: 16px;
}

.hero-bottom-line {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 10px;
  color: var(--ink-500);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.hero-bottom-line i {
  width: 40px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #a5b8cf, transparent);
}

.service {
  position: relative;
  background: var(--white);
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 58px;
}

.section-heading.centered {
  text-align: center;
}

.section-heading h2,
.feature-copy h2,
.cta-copy h2 {
  margin: 0;
  font-size: clamp(38px, 4vw, 56px);
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: -.04em;
}

.section-heading > p:last-child {
  max-width: 680px;
  margin: 20px auto 0;
  color: var(--ink-600);
  font-size: 17px;
  line-height: 1.9;
}

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

.workflow-card {
  position: relative;
  min-height: 350px;
  padding: 32px;
  overflow: hidden;
  background: #fbfdff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: 0 14px 38px rgba(30, 79, 146, .05);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.workflow-card:hover {
  border-color: #a9d5ff;
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}

.workflow-card.featured {
  color: var(--white);
  background: linear-gradient(145deg, #075fe6, #2798ff);
  border-color: transparent;
  box-shadow: 0 24px 64px rgba(8, 103, 242, .24);
}

.workflow-card.featured::before {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  top: -80px;
  right: -50px;
  border: 34px solid rgba(255, 255, 255, .08);
  border-radius: 50%;
}

.step-number {
  position: absolute;
  top: 24px;
  right: 26px;
  color: #dce7f5;
  font-size: 38px;
  font-weight: 900;
  letter-spacing: -.05em;
}

.featured .step-number {
  color: rgba(255, 255, 255, .24);
}

.workflow-icon {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  color: var(--blue-700);
  background: var(--blue-100);
  border-radius: 17px;
}

.featured .workflow-icon {
  color: var(--white);
  background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .16);
}

.workflow-icon svg {
  width: 29px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.workflow-card h3 {
  margin: 30px 0 12px;
  font-size: 25px;
  font-weight: 800;
}

.workflow-card p {
  margin: 0;
  color: var(--ink-600);
  font-size: 15px;
  line-height: 1.85;
}

.workflow-card.featured p {
  color: rgba(255, 255, 255, .82);
}

.workflow-card a {
  position: absolute;
  left: 32px;
  bottom: 30px;
  color: var(--blue-700);
  font-size: 14px;
  font-weight: 800;
}

.workflow-card a span {
  display: inline-block;
  margin-left: 5px;
  transition: transform .2s ease;
}

.workflow-card a:hover span {
  transform: translateX(5px);
}

.workflow-card.featured a {
  color: var(--white);
}

.service-statement {
  display: grid;
  grid-template-columns: auto minmax(260px, .75fr) 1fr;
  align-items: center;
  gap: 28px;
  margin-top: 34px;
  padding: 28px 34px;
  background: linear-gradient(105deg, #f7fbff, #eef8ff);
  border: 1px solid #d7eafb;
  border-radius: var(--radius-md);
}

.statement-mark {
  display: grid;
  width: 72px;
  height: 72px;
  place-items: center;
  background: var(--white);
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
}

.statement-mark img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.statement-label {
  margin: 0 0 6px;
  color: var(--blue-700);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
}

.service-statement h3 {
  margin: 0;
  font-size: 21px;
  line-height: 1.5;
}

.service-statement > p {
  margin: 0;
  color: var(--ink-600);
  font-size: 14px;
  line-height: 1.85;
}

.feature {
  position: relative;
  overflow: hidden;
}

.feature-trends {
  background: linear-gradient(180deg, #f5fbff 0%, #eef8ff 100%);
}

.feature-ai {
  background: var(--white);
}

.feature-publish {
  background: linear-gradient(180deg, #f8fbff 0%, #f1f8ff 100%);
}

.feature-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  align-items: center;
  gap: clamp(48px, 7vw, 92px);
}

.feature-grid.reverse {
  grid-template-columns: 1.15fr .85fr;
}

.feature-copy {
  position: relative;
  z-index: 2;
}

.feature-index {
  margin: 0 0 18px;
  color: var(--blue-700);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .12em;
}

.feature-copy > p:not(.feature-index) {
  margin: 24px 0 0;
  color: var(--ink-600);
  font-size: 16px;
  line-height: 1.95;
}

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

.feature-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: flex-start;
}

.feature-list li > span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--blue-700);
  background: var(--white);
  border: 1px solid #cfe5fb;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 900;
  box-shadow: 0 8px 20px rgba(33, 96, 178, .08);
}

.feature-list strong {
  display: block;
  margin-bottom: 5px;
  color: var(--ink-950);
  font-size: 16px;
}

.feature-list p {
  margin: 0;
  color: var(--ink-600);
  font-size: 14px;
  line-height: 1.75;
}

.product-window {
  position: relative;
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(199, 218, 239, .92);
  border-radius: 28px;
  box-shadow: 0 32px 90px rgba(15, 80, 174, .17);
}

.product-window::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 220px;
  height: 220px;
  right: -80px;
  bottom: -80px;
  background: #a9eaff;
  border-radius: 50%;
  filter: blur(28px);
  opacity: .42;
}

.trend-window {
  min-height: 520px;
}

.window-topbar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  height: 68px;
  padding: 0 20px;
  border-bottom: 1px solid #e6edf6;
}

.window-logo {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  background: #eef7ff;
  border-radius: 10px;
}

.window-logo img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.window-search {
  display: flex;
  max-width: 340px;
  align-items: center;
  gap: 10px;
  padding: 10px 13px;
  color: #92a0b5;
  background: #f5f8fc;
  border: 1px solid #ebf0f6;
  border-radius: 11px;
  font-size: 11px;
}

.window-search svg {
  width: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.avatar {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--white);
  background: linear-gradient(135deg, #0a6af3, #74c5ff);
  border-radius: 50%;
  font-size: 10px;
  font-weight: 800;
}

.window-layout {
  display: grid;
  grid-template-columns: 58px 1fr;
  min-height: 452px;
}

.mini-sidebar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding-top: 26px;
  background: #fbfdff;
  border-right: 1px solid #edf1f6;
}

.mini-sidebar span {
  width: 22px;
  height: 22px;
  background: #dfe8f4;
  border-radius: 7px;
}

.mini-sidebar span.active {
  background: linear-gradient(135deg, #0b66ee, #5db6ff);
  box-shadow: 0 8px 16px rgba(14, 108, 240, .18);
}

.window-content {
  padding: 26px;
}

.window-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.window-heading small,
.window-heading strong {
  display: block;
}

.window-heading small {
  margin-bottom: 4px;
  color: var(--blue-700);
  font-size: 10px;
  font-weight: 800;
}

.window-heading strong {
  font-size: 18px;
}

.update-pill {
  padding: 7px 10px;
  color: #198a64;
  background: #e8faf3;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 800;
}

.keyword-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.keyword {
  padding: 8px 12px;
  color: #65758e;
  background: #f5f8fc;
  border: 1px solid #e8eef5;
  border-radius: 999px;
  font-size: 10px;
  cursor: default;
}

.keyword.active {
  color: var(--blue-700);
  background: var(--blue-100);
  border-color: #b9dcff;
  font-weight: 700;
}

.trend-dashboard {
  display: grid;
  grid-template-columns: 1.4fr .78fr;
  gap: 14px;
  margin-top: 18px;
}

.trend-chart-card,
.idea-card {
  min-width: 0;
  padding: 16px;
  background: var(--white);
  border: 1px solid #e7eef6;
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(31, 78, 142, .06);
}

.chart-title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.chart-title strong,
.chart-title small {
  display: block;
}

.chart-title strong {
  font-size: 12px;
}

.chart-title small {
  margin-top: 3px;
  color: #98a5b7;
  font-size: 8px;
}

.chart-title b {
  color: #19a474;
  font-size: 11px;
}

.chart-area {
  position: relative;
  height: 196px;
  margin-top: 12px;
  overflow: hidden;
}

.chart-area svg {
  position: absolute;
  inset: 12px 0 0;
  width: 100%;
  height: calc(100% - 12px);
}

.chart-line {
  fill: none;
  stroke: #197bff;
  stroke-width: 3;
  vector-effect: non-scaling-stroke;
  filter: drop-shadow(0 3px 4px rgba(25, 123, 255, .22));
}

.chart-fill {
  fill: url(#chartFill);
}

.grid-line {
  position: absolute;
  right: 0;
  left: 0;
  height: 1px;
  background: #eef3f8;
}

.line-one { top: 25%; }
.line-two { top: 50%; }
.line-three { top: 75%; }

.chart-dot {
  position: absolute;
  top: 23px;
  right: 1.5%;
  width: 10px;
  height: 10px;
  background: #fff;
  border: 3px solid #197bff;
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(25, 123, 255, .13);
}

.idea-card {
  align-self: stretch;
  background: linear-gradient(165deg, #f1f8ff, #fff);
}

.idea-card-head {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
}

.sparkle {
  color: var(--blue-700);
}

.idea-card p {
  margin: 14px 0;
  color: var(--ink-600);
  font-size: 10px;
  line-height: 1.75;
}

.idea-chip {
  display: inline-block;
  margin: 0 4px 7px 0;
  padding: 6px 8px;
  color: var(--blue-700);
  background: var(--white);
  border: 1px solid #d7e9fb;
  border-radius: 8px;
  font-size: 9px;
  font-weight: 700;
}

.idea-card button {
  width: 100%;
  margin-top: 10px;
  padding: 9px 10px;
  color: var(--white);
  background: linear-gradient(135deg, #0965ed, #3e9cff);
  border-radius: 9px;
  font-size: 9px;
  font-weight: 800;
}

.ai-window {
  min-height: 556px;
}

.ai-toolbar {
  display: flex;
  height: 64px;
  align-items: center;
  justify-content: space-between;
  padding: 0 22px;
  border-bottom: 1px solid #e8eef5;
}

.ai-toolbar > span:first-child {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 800;
}

.ai-toolbar img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.draft-status {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #77869c;
  font-size: 9px;
}

.draft-status i {
  width: 6px;
  height: 6px;
  background: #27c382;
  border-radius: 50%;
}

.ai-content {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  min-height: 492px;
}

.prompt-panel {
  padding: 22px;
  background: #fbfdff;
  border-right: 1px solid #edf1f6;
}

.field-group + .field-group,
.field-row + .field-group {
  margin-top: 15px;
}

.field-group label {
  display: block;
  margin-bottom: 7px;
  color: #6b7a91;
  font-size: 9px;
  font-weight: 700;
}

.field,
.select-field,
.textarea-field {
  padding: 10px 11px;
  color: #3d4d67;
  background: var(--white);
  border: 1px solid #dfe8f2;
  border-radius: 9px;
  font-size: 9px;
  line-height: 1.55;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 15px;
}

.select-field {
  display: flex;
  justify-content: space-between;
}

.textarea-field {
  min-height: 70px;
}

.generate-button {
  width: 100%;
  margin-top: 18px;
  padding: 11px;
  color: var(--white);
  background: linear-gradient(135deg, #0865ed, #318fff);
  border-radius: 9px;
  font-size: 10px;
  font-weight: 800;
  box-shadow: 0 10px 20px rgba(9, 102, 237, .15);
}

.post-preview {
  padding: 20px;
  background: #f3f7fb;
}

.preview-label {
  margin-bottom: 10px;
  color: #8592a6;
  font-size: 9px;
  font-weight: 700;
}

.social-post {
  padding: 16px;
  background: var(--white);
  border: 1px solid #e2e9f1;
  border-radius: 14px;
  box-shadow: 0 12px 28px rgba(24, 63, 114, .08);
}

.social-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 9px;
  align-items: center;
}

.social-head img {
  width: 32px;
  height: 32px;
  padding: 4px;
  object-fit: contain;
  background: #eef7ff;
  border-radius: 50%;
}

.social-head strong,
.social-head small {
  display: block;
}

.social-head strong {
  font-size: 10px;
}

.social-head small {
  margin-top: 2px;
  color: #97a3b4;
  font-size: 7px;
}

.social-head b {
  color: #7b8799;
  font-size: 10px;
  letter-spacing: 2px;
}

.social-post > p {
  margin: 13px 0 0;
  color: #46556c;
  font-size: 9px;
  line-height: 1.65;
}

.social-post > p strong {
  color: var(--ink-950);
  font-size: 11px;
}

.generated-visual {
  position: relative;
  height: 210px;
  margin-top: 13px;
  padding: 20px;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 83% 20%, rgba(188, 242, 255, .72), transparent 26%),
    linear-gradient(135deg, #064ec7, #1684fa 58%, #72cbff);
  border-radius: 10px;
}

.generated-visual::before,
.generated-visual::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 50%;
}

.generated-visual::before {
  width: 160px;
  height: 160px;
  right: -48px;
  bottom: -55px;
}

.generated-visual::after {
  width: 90px;
  height: 90px;
  right: 15px;
  bottom: -32px;
}

.visual-tag {
  display: inline-block;
  padding: 5px 8px;
  background: rgba(255, 255, 255, .15);
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 999px;
  font-size: 7px;
  font-weight: 800;
  letter-spacing: .09em;
}

.generated-visual > div {
  position: relative;
  z-index: 2;
  margin-top: 28px;
}

.generated-visual small,
.generated-visual strong {
  display: block;
}

.generated-visual small {
  margin-bottom: 8px;
  font-size: 8px;
  letter-spacing: .05em;
}

.generated-visual strong {
  font-size: 20px;
  line-height: 1.45;
}

.generated-visual img {
  position: absolute;
  right: 8px;
  bottom: -20px;
  width: 130px;
  height: 130px;
  object-fit: contain;
  opacity: .48;
  transform: rotate(-10deg);
}

.post-stats {
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
  color: #8b98aa;
  font-size: 7px;
}

.feature-highlights {
  display: grid;
  gap: 14px;
  margin-top: 34px;
}

.feature-highlights > div {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: flex-start;
  gap: 13px;
  padding: 15px 16px;
  background: #f9fbfe;
  border: 1px solid #e4ebf4;
  border-radius: 14px;
}

.highlight-icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--blue-700);
  background: var(--blue-100);
  border-radius: 10px;
  font-size: 14px;
  font-weight: 900;
}

.feature-highlights p {
  margin: 0;
  color: var(--ink-600);
  font-size: 13px;
  line-height: 1.7;
}

.feature-highlights strong {
  color: var(--ink-950);
  font-size: 14px;
}

.publish-points {
  display: grid;
  gap: 1px;
  margin-top: 34px;
  overflow: hidden;
  border: 1px solid #dce8f5;
  border-radius: 18px;
}

.publish-points > div {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 16px;
  padding: 17px 18px;
  background: rgba(255, 255, 255, .85);
}

.publish-points b {
  color: var(--blue-700);
  font-size: 12px;
}

.publish-points strong,
.publish-points small {
  display: block;
}

.publish-points strong {
  margin-bottom: 4px;
  font-size: 14px;
}

.publish-points small {
  color: var(--ink-600);
  font-size: 12px;
}

.publish-visual {
  position: relative;
  padding: 32px 20px 54px;
}

.publish-visual::before {
  content: "";
  position: absolute;
  inset: 4% 2% 9%;
  background: linear-gradient(150deg, #d9f6ff, #dfeaff);
  border-radius: 38px;
  transform: rotate(3deg);
}

.publish-card {
  position: relative;
  z-index: 2;
  width: min(100%, 520px);
  margin-inline: auto;
  padding: 24px;
  background: rgba(255, 255, 255, .96);
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: 24px;
  box-shadow: 0 30px 78px rgba(24, 82, 171, .19);
}

.publish-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid #e8eef5;
}

.publish-head small,
.publish-head strong {
  display: block;
}

.publish-head small {
  margin-bottom: 4px;
  color: var(--blue-700);
  font-size: 9px;
  font-weight: 800;
}

.publish-head strong {
  font-size: 18px;
}

.publish-head > span {
  padding: 7px 10px;
  color: #66758d;
  background: #f4f7fb;
  border-radius: 999px;
  font-size: 9px;
}

.account-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.account-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 13px;
  background: #fbfdff;
  border: 1px solid #e2eaf3;
  border-radius: 13px;
}

.account-item.selected {
  background: #f7fbff;
  border-color: #badcff;
  box-shadow: 0 8px 20px rgba(16, 101, 220, .05);
}

.account-item input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.platform-icon {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  overflow: hidden;
  background: transparent;
  border-radius: 10px;
}

.platform-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.platform-icon.facebook {
  border-radius: 50%;
}

.platform-icon.instagram {
  border-radius: 10px;
}

.platform-icon.threads {
  padding: 5px;
  background: #fff;
  border: 1px solid #dfe7f1;
}

.account-name strong,
.account-name small {
  display: block;
}

.account-name strong {
  font-size: 12px;
}

.account-name small {
  margin-top: 3px;
  color: #8a97a9;
  font-size: 8px;
}

.account-check {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  color: var(--white);
  background: var(--blue-700);
  border-radius: 7px;
  font-size: 11px;
  font-weight: 900;
}

.publish-summary {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 16px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid #e8eef5;
}

.publish-summary small,
.publish-summary strong {
  display: block;
}

.publish-summary small {
  margin-bottom: 3px;
  color: #8a97a9;
  font-size: 8px;
}

.publish-summary strong {
  font-size: 11px;
}

.publish-summary button {
  padding: 11px 14px;
  color: var(--white);
  background: linear-gradient(135deg, #075fe6, #2f91ff);
  border-radius: 10px;
  font-size: 10px;
  font-weight: 800;
}

.success-toast {
  position: absolute;
  z-index: 4;
  right: -2%;
  bottom: 5%;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 13px 16px;
  background: rgba(255, 255, 255, .94);
  border: 1px solid rgba(255, 255, 255, .96);
  border-radius: 15px;
  box-shadow: 0 18px 44px rgba(23, 70, 136, .16);
  backdrop-filter: blur(12px);
}

.success-icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: #159966;
  background: #dff8ed;
  border-radius: 50%;
  font-weight: 900;
}

.success-toast strong,
.success-toast small {
  display: block;
}

.success-toast strong {
  font-size: 11px;
}

.success-toast small {
  margin-top: 3px;
  color: #8290a4;
  font-size: 8px;
}

.closing-cta {
  padding-top: 92px;
  padding-bottom: 92px;
  background: var(--white);
}

.cta-panel {
  position: relative;
  min-height: 360px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 58px 64px;
  color: var(--white);
  background: linear-gradient(135deg, #02399d 0%, #0867f2 52%, #54b9ff 100%);
  border-radius: var(--radius-lg);
  box-shadow: 0 34px 80px rgba(4, 78, 188, .25);
}

.cta-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .24;
  background-image: linear-gradient(rgba(255, 255, 255, .1) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .1) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(90deg, #000, transparent 85%);
}

.cta-copy {
  position: relative;
  z-index: 3;
}

.cta-copy > p {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, .72);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .14em;
}

.cta-copy h2 {
  max-width: 700px;
}

.button-white {
  margin-top: 28px;
  color: var(--blue-800);
  background: var(--white);
  box-shadow: 0 14px 34px rgba(0, 24, 93, .18);
}

.button-white:hover,
.button-white:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(0, 24, 93, .26);
}

.cta-mark {
  position: absolute;
  z-index: 2;
  width: 340px;
  height: 340px;
  right: 70px;
  bottom: -55px;
  object-fit: contain;
  opacity: .48;
  transform: rotate(-8deg);
  filter: drop-shadow(0 22px 28px rgba(0, 25, 85, .18));
}

.cta-orb {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .18);
}

.orb-one {
  width: 430px;
  height: 430px;
  right: -145px;
  top: -170px;
}

.orb-two {
  width: 210px;
  height: 210px;
  right: 230px;
  bottom: -130px;
}

.site-footer {
  color: rgba(255, 255, 255, .78);
  background: #07152f;
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 80px;
  padding-top: 70px;
  padding-bottom: 56px;
}

.footer-brand {
  max-width: 430px;
}

.footer-brand img {
  width: 148px;
  filter: brightness(1.38) saturate(.9);
}

.footer-brand p {
  margin: 20px 0 0;
  color: rgba(255, 255, 255, .56);
  font-size: 14px;
  line-height: 1.85;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(140px, 1fr));
  gap: 62px;
}

.footer-links > div {
  display: grid;
  align-content: start;
  gap: 12px;
}

.footer-links strong {
  margin-bottom: 6px;
  color: var(--white);
  font-size: 13px;
}

.footer-links a {
  color: rgba(255, 255, 255, .54);
  font-size: 13px;
  transition: color .2s ease;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--white);
}

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

.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, .42);
  font-size: 11px;
}

.reveal {
  animation: fade-up .8s cubic-bezier(.2, .7, .2, 1) both;
  animation-timeline: view();
  animation-range: entry 8% cover 25%;
}

.hero .reveal {
  animation: hero-enter .85s cubic-bezier(.2, .7, .2, 1) both;
  animation-timeline: auto;
}

.reveal-delay-short,
.hero .reveal-delay-short {
  animation-delay: .1s;
}

.reveal-delay,
.hero .reveal-delay {
  animation-delay: .18s;
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes hero-enter {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

@media (max-width: 1080px) {
  :root {
    --container: 960px;
  }

  .section-space {
    padding-block: 96px;
  }

  .main-nav {
    gap: 20px;
    font-size: 14px;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid,
  .feature-grid,
  .feature-grid.reverse {
    gap: 48px;
  }

  .hero h1 {
    font-size: clamp(44px, 5.4vw, 62px);
  }

  .workflow-card {
    padding: 26px;
  }

  .workflow-card a {
    left: 26px;
  }

  .trend-dashboard {
    grid-template-columns: 1fr;
  }

  .idea-card {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 10px;
  }

  .idea-card p {
    margin: 0;
  }

  .idea-card .idea-chip {
    display: none;
  }

  .idea-card button {
    width: auto;
    margin: 0;
  }

  .chart-area {
    height: 145px;
  }

  .ai-content {
    grid-template-columns: .95fr 1.05fr;
  }

  .cta-mark {
    right: 10px;
    opacity: .38;
  }
}

@media (max-width: 900px) {
  :root {
    --header-height: 72px;
  }

  .container {
    width: min(calc(100% - 36px), var(--container));
  }

  .brand img {
    width: 126px;
  }

  .nav-toggle-button {
    position: relative;
    z-index: 103;
    display: flex;
    width: 44px;
    height: 44px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    background: #f1f7fd;
    border: 1px solid #dce8f4;
    border-radius: 13px;
  }

  .nav-toggle-button span {
    width: 20px;
    height: 2px;
    background: var(--ink-950);
    border-radius: 99px;
    transition: transform .25s ease, opacity .25s ease;
  }

  .main-nav {
    position: fixed;
    z-index: 102;
    inset: var(--header-height) 0 auto;
    display: grid;
    gap: 0;
    padding: 18px;
    background: rgba(255, 255, 255, .98);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 40px rgba(25, 65, 118, .12);
    transform: translateY(-140%);
    transition: transform .28s ease;
  }

  .main-nav > a {
    padding: 14px 12px;
  }

  .main-nav > a:not(.nav-cta)::after {
    display: none;
  }

  .nav-cta {
    margin-top: 8px;
    text-align: center;
    border-radius: 13px;
  }

  .nav-toggle:checked ~ .main-nav {
    transform: translateY(0);
  }

  .nav-toggle:checked + .nav-toggle-button span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle:checked + .nav-toggle-button span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle:checked + .nav-toggle-button span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .hero {
    padding-top: calc(var(--header-height) + 62px);
  }

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

  .hero-copy {
    max-width: 720px;
    text-align: center;
    margin-inline: auto;
  }

  .hero-copy .eyebrow,
  .hero-lead {
    margin-inline: auto;
  }

  .hero-actions,
  .hero-tags {
    justify-content: center;
  }

  .hero-image-shell {
    margin-inline: auto;
  }

  .hero-bottom-line {
    margin-top: 26px;
  }

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

  .workflow-card {
    min-height: 290px;
  }

  .service-statement {
    grid-template-columns: auto 1fr;
  }

  .service-statement > p {
    grid-column: 1 / -1;
    padding-left: 100px;
  }

  .feature-copy {
    max-width: 720px;
  }

  .feature-grid.reverse .product-window {
    order: 2;
  }

  .feature-grid.reverse .feature-copy {
    order: 1;
  }

  .product-window,
  .publish-visual {
    width: min(100%, 740px);
    margin-inline: auto;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 44px;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .section-space {
    padding-block: 76px;
  }

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

  .hero {
    padding-top: calc(var(--header-height) + 46px);
    padding-bottom: 42px;
  }

  .hero h1 {
    font-size: clamp(38px, 10.5vw, 52px);
    line-height: 1.23;
  }

  .hero-lead {
    margin-top: 20px;
    font-size: 16px;
    line-height: 1.85;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .hero-tags {
    gap: 10px 16px;
    font-size: 12px;
  }

  .hero-image-shell {
    padding: 8px 0 74px;
  }

  .hero-image-shell::before {
    inset: 10% 1% 12%;
  }

  .hero-image-shell::after {
    inset: 8% 0 24% 22%;
  }

  .hero-gradient-card {
    inset: 9% 3% 10% 6%;
    border-radius: 34px;
  }

  .hero-caption-panel {
    right: 3%;
    bottom: 0;
    width: min(82%, 340px);
    padding: 16px 18px;
  }

  .hero-caption-panel strong {
    font-size: 16px;
  }

  .floating-card-top {
    top: 12%;
    left: 0;
  }

  .floating-card-bottom {
    left: 2%;
    right: auto;
    bottom: 12%;
  }

  .floating-card {
    transform: scale(.86);
  }

  .hero-bottom-line {
    gap: 10px;
  }

  .hero-bottom-line i {
    width: 20px;
  }

  .section-heading {
    margin-bottom: 40px;
  }

  .section-heading h2,
  .feature-copy h2,
  .cta-copy h2 {
    font-size: clamp(34px, 9vw, 45px);
  }

  .section-heading > p:last-child,
  .feature-copy > p:not(.feature-index) {
    font-size: 15px;
    line-height: 1.85;
  }

  .workflow-card {
    min-height: 310px;
    padding: 24px;
  }

  .workflow-card a {
    left: 24px;
  }

  .service-statement {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .statement-mark {
    width: 62px;
    height: 62px;
  }

  .service-statement > p {
    grid-column: auto;
    padding-left: 0;
  }

  .feature-grid,
  .feature-grid.reverse {
    gap: 38px;
  }

  .window-topbar {
    grid-template-columns: auto 1fr;
    padding: 0 14px;
  }

  .window-search {
    max-width: none;
  }

  .avatar {
    display: none;
  }

  .window-layout {
    grid-template-columns: 1fr;
  }

  .mini-sidebar {
    display: none;
  }

  .window-content {
    padding: 18px;
  }

  .window-heading {
    align-items: flex-start;
  }

  .trend-window {
    min-height: 490px;
  }

  .trend-dashboard {
    grid-template-columns: 1fr;
  }

  .idea-card {
    display: block;
  }

  .idea-card p {
    margin: 12px 0;
  }

  .idea-card button {
    width: 100%;
    margin-top: 8px;
  }

  .chart-area {
    height: 150px;
  }

  .ai-window {
    min-height: auto;
  }

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

  .prompt-panel {
    border-right: 0;
    border-bottom: 1px solid #edf1f6;
  }

  .post-preview {
    padding: 16px;
  }

  .generated-visual {
    height: 190px;
  }

  .publish-visual {
    padding-inline: 0;
  }

  .publish-card {
    padding: 18px;
  }

  .publish-head {
    align-items: flex-start;
  }

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

  .publish-summary button {
    width: 100%;
  }

  .success-toast {
    right: -3px;
    bottom: 2%;
  }

  .closing-cta {
    padding-block: 72px;
  }

  .cta-panel {
    min-height: 420px;
    align-items: flex-start;
    padding: 42px 28px;
    border-radius: 28px;
  }

  .cta-copy {
    text-align: center;
  }

  .cta-mark {
    width: 230px;
    height: 230px;
    right: 50%;
    bottom: -36px;
    transform: translateX(50%) rotate(-8deg);
    opacity: .42;
  }

  .footer-main {
    padding-top: 56px;
  }

  .footer-links {
    gap: 32px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}

@media (max-width: 430px) {
  .hero h1 {
    font-size: 36px;
  }

  .eyebrow {
    font-size: 11px;
  }

  .floating-card {
    position: relative;
    inset: auto;
    width: fit-content;
    margin-inline: auto;
    transform: none;
  }

  .floating-card-top {
    margin-bottom: -8px;
  }

  .floating-card-bottom {
    margin-top: -2px;
  }

  .hero-image-stage > img {
    margin-top: -14px;
  }

  .hero-caption-panel {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    margin-top: -10px;
  }

  .feature-list li {
    gap: 12px;
  }

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

  .account-item {
    grid-template-columns: auto 1fr auto;
  }

  .account-item::before {
    display: none;
  }

  .platform-icon {
    width: 34px;
    height: 34px;
  }

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

/* Large desktop typography adjustment
   At 1920px-wide viewports, all visible text is at least 16px and the
   remaining type scale is enlarged proportionally for better readability. */
@media (min-width: 1440px) {
  :root {
    --container: 1440px;
    --header-height: 92px;
  }

  body,
  button,
  input,
  textarea,
  select {
    font-size: 18px;
  }

  .container {
    width: min(calc(100% - 96px), var(--container));
  }

  .section-space {
    padding-block: 132px;
  }

  .brand img {
    width: 172px;
  }

  .main-nav {
    gap: 36px;
    font-size: 17px;
  }

  .nav-cta {
    padding: 14px 24px;
  }

  .hero {
    min-height: 920px;
    padding-top: calc(var(--header-height) + 88px);
    padding-bottom: 66px;
  }

  .hero-grid {
    grid-template-columns: .9fr 1.1fr;
    gap: 96px;
  }

  .eyebrow,
  .feature-index {
    font-size: 16px;
  }

  .hero h1 {
    max-width: 760px;
    font-size: clamp(62px, 4.2vw, 80px);
  }

  .hero-lead {
    max-width: 660px;
    font-size: 21px;
    line-height: 1.85;
  }

  .button {
    min-height: 58px;
    padding: 15px 29px;
    font-size: 18px;
  }

  .hero-tags {
    margin-top: 36px;
    font-size: 16px;
  }

  .hero-image-shell {
    width: min(100%, 760px);
    padding-bottom: 96px;
  }

  .hero-caption-label {
    font-size: 16px;
  }

  .hero-caption-panel strong {
    font-size: 22px;
  }

  .hero-caption-steps span {
    min-height: 38px;
    padding: 8px 15px;
    font-size: 16px;
  }

  .floating-card {
    gap: 14px;
    padding: 15px 18px;
    border-radius: 18px;
  }

  .floating-card small {
    margin-bottom: 4px;
    font-size: 16px;
  }

  .floating-card strong {
    font-size: 18px;
  }

  .float-icon,
  .status-check {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
  }

  .status-check {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
  }

  .hero-bottom-line {
    margin-top: 18px;
    font-size: 16px;
  }

  .section-heading {
    max-width: 900px;
    margin-bottom: 68px;
  }

  .section-heading h2,
  .feature-copy h2,
  .cta-copy h2 {
    font-size: clamp(48px, 3.5vw, 64px);
  }

  .section-heading > p:last-child {
    max-width: 780px;
    margin-top: 24px;
    font-size: 19px;
  }

  .workflow-grid {
    gap: 28px;
  }

  .workflow-card {
    min-height: 390px;
    padding: 38px;
  }

  .step-number {
    top: 28px;
    right: 30px;
    font-size: 44px;
  }

  .workflow-icon {
    width: 66px;
    height: 66px;
  }

  .workflow-icon svg {
    width: 33px;
  }

  .workflow-card h3 {
    margin-top: 34px;
    font-size: 30px;
  }

  .workflow-card p {
    font-size: 18px;
    line-height: 1.8;
  }

  .workflow-card a {
    left: 38px;
    bottom: 34px;
    font-size: 16px;
  }

  .service-statement {
    grid-template-columns: auto minmax(340px, .8fr) 1.1fr;
    gap: 34px;
    margin-top: 42px;
    padding: 34px 40px;
  }

  .statement-mark {
    width: 82px;
    height: 82px;
  }

  .statement-mark img {
    width: 60px;
    height: 60px;
  }

  .statement-label {
    font-size: 16px;
  }

  .service-statement h3 {
    font-size: 25px;
  }

  .service-statement > p {
    font-size: 17px;
    line-height: 1.85;
  }

  .feature-grid,
  .feature-grid.reverse {
    gap: 94px;
  }

  .feature-copy > p:not(.feature-index) {
    margin-top: 28px;
    font-size: 19px;
    line-height: 1.9;
  }

  .feature-list {
    gap: 24px;
    margin-top: 40px;
  }

  .feature-list li {
    gap: 18px;
  }

  .feature-list li > span {
    width: 44px;
    height: 44px;
    font-size: 16px;
  }

  .feature-list strong {
    margin-bottom: 7px;
    font-size: 19px;
  }

  .feature-list p {
    font-size: 16px;
    line-height: 1.8;
  }

  .product-window {
    border-radius: 32px;
  }

  .trend-window {
    min-height: 640px;
  }

  .window-topbar {
    height: 78px;
    gap: 20px;
    padding-inline: 24px;
  }

  .window-logo {
    width: 42px;
    height: 42px;
  }

  .window-logo img {
    width: 34px;
    height: 34px;
  }

  .window-search {
    max-width: 420px;
    gap: 12px;
    padding: 12px 16px;
    font-size: 16px;
  }

  .avatar {
    width: 42px;
    height: 42px;
    font-size: 16px;
  }

  .window-layout {
    grid-template-columns: 68px 1fr;
    min-height: 562px;
  }

  .mini-sidebar {
    gap: 24px;
    padding-top: 32px;
  }

  .mini-sidebar span {
    width: 26px;
    height: 26px;
  }

  .window-content {
    padding: 32px;
  }

  .window-heading small {
    margin-bottom: 6px;
    font-size: 16px;
  }

  .window-heading strong {
    font-size: 22px;
  }

  .update-pill {
    padding: 9px 13px;
    font-size: 16px;
  }

  .keyword-row {
    gap: 10px;
    margin-top: 24px;
  }

  .keyword {
    padding: 10px 15px;
    font-size: 16px;
  }

  .trend-dashboard {
    grid-template-columns: 1.35fr .85fr;
    gap: 18px;
    margin-top: 22px;
  }

  .trend-chart-card,
  .idea-card {
    padding: 20px;
    border-radius: 18px;
  }

  .chart-title strong {
    font-size: 17px;
  }

  .chart-title small {
    margin-top: 5px;
    font-size: 16px;
  }

  .chart-title b {
    font-size: 16px;
  }

  .chart-area {
    height: 230px;
    margin-top: 16px;
  }

  .idea-card-head,
  .idea-card p,
  .idea-chip,
  .idea-card button {
    font-size: 16px;
  }

  .idea-card p {
    margin: 18px 0;
    line-height: 1.7;
  }

  .idea-chip {
    margin: 0 6px 9px 0;
    padding: 8px 10px;
  }

  .idea-card button {
    margin-top: 14px;
    padding: 12px 14px;
  }

  .ai-window {
    min-height: 720px;
  }

  .ai-toolbar {
    height: 78px;
    padding-inline: 28px;
  }

  .ai-toolbar > span:first-child {
    gap: 11px;
    font-size: 18px;
  }

  .ai-toolbar img {
    width: 38px;
    height: 38px;
  }

  .draft-status {
    gap: 9px;
    font-size: 16px;
  }

  .ai-content {
    grid-template-columns: .95fr 1.05fr;
    min-height: 642px;
  }

  .prompt-panel {
    padding: 28px;
  }

  .field-group + .field-group,
  .field-row + .field-group {
    margin-top: 20px;
  }

  .field-group label {
    margin-bottom: 9px;
    font-size: 16px;
  }

  .field,
  .select-field,
  .textarea-field {
    padding: 13px 14px;
    font-size: 16px;
    line-height: 1.55;
  }

  .field-row {
    gap: 13px;
    margin-top: 20px;
  }

  .textarea-field {
    min-height: 94px;
  }

  .generate-button {
    margin-top: 22px;
    padding: 14px;
    font-size: 16px;
  }

  .post-preview {
    padding: 26px;
  }

  .preview-label {
    margin-bottom: 13px;
    font-size: 16px;
  }

  .social-post {
    padding: 20px;
    border-radius: 17px;
  }

  .social-head {
    gap: 11px;
  }

  .social-head img {
    width: 40px;
    height: 40px;
  }

  .social-head strong,
  .social-head small,
  .social-head b,
  .social-post > p,
  .social-post > p strong,
  .visual-tag,
  .generated-visual small,
  .post-stats {
    font-size: 16px;
  }

  .social-post > p {
    margin-top: 16px;
    line-height: 1.65;
  }

  .generated-visual {
    height: 260px;
    margin-top: 16px;
    padding: 26px;
    border-radius: 13px;
  }

  .visual-tag {
    padding: 7px 10px;
  }

  .generated-visual > div {
    margin-top: 34px;
  }

  .generated-visual small {
    margin-bottom: 10px;
  }

  .generated-visual strong {
    font-size: 26px;
  }

  .generated-visual img {
    width: 158px;
    height: 158px;
  }

  .post-stats {
    margin-top: 15px;
  }

  .feature-highlights {
    gap: 17px;
    margin-top: 40px;
  }

  .feature-highlights > div {
    gap: 16px;
    padding: 18px 20px;
  }

  .highlight-icon {
    width: 40px;
    height: 40px;
    font-size: 17px;
  }

  .feature-highlights p {
    font-size: 16px;
    line-height: 1.75;
  }

  .feature-highlights strong {
    font-size: 18px;
  }

  .publish-points {
    margin-top: 40px;
  }

  .publish-points > div {
    gap: 18px;
    padding: 20px 22px;
  }

  .publish-points b {
    font-size: 16px;
  }

  .publish-points strong {
    margin-bottom: 5px;
    font-size: 18px;
  }

  .publish-points small {
    font-size: 16px;
  }

  .publish-visual {
    padding: 38px 24px 62px;
  }

  .publish-card {
    width: min(100%, 620px);
    padding: 30px;
    border-radius: 28px;
  }

  .publish-head small {
    margin-bottom: 6px;
    font-size: 16px;
  }

  .publish-head strong {
    font-size: 22px;
  }

  .publish-head > span {
    padding: 9px 13px;
    font-size: 16px;
  }

  .account-list {
    gap: 13px;
    margin-top: 22px;
  }

  .account-item {
    gap: 15px;
    padding: 16px;
  }

  .platform-icon {
    width: 44px;
    height: 44px;
    font-size: 21px;
  }

  .account-name strong,
  .account-name small,
  .account-check,
  .publish-summary small,
  .publish-summary strong,
  .publish-summary button,
  .success-toast strong,
  .success-toast small {
    font-size: 16px;
  }

  .account-name small {
    margin-top: 5px;
  }

  .account-check {
    width: 27px;
    height: 27px;
  }

  .publish-summary {
    margin-top: 22px;
    padding-top: 22px;
  }

  .publish-summary button {
    padding: 14px 18px;
  }

  .success-toast {
    gap: 13px;
    padding: 16px 20px;
  }

  .success-icon {
    width: 40px;
    height: 40px;
  }

  .success-toast small {
    margin-top: 4px;
  }

  .closing-cta {
    padding-block: 110px;
  }

  .cta-panel {
    min-height: 420px;
    padding: 68px 76px;
  }

  .cta-copy > p {
    margin-bottom: 18px;
    font-size: 16px;
  }

  .button-white {
    margin-top: 34px;
  }

  .cta-mark {
    width: 390px;
    height: 390px;
  }

  .footer-main {
    gap: 100px;
    padding-top: 84px;
    padding-bottom: 68px;
  }

  .footer-brand img {
    width: 176px;
  }

  .footer-brand p {
    max-width: 500px;
    margin-top: 24px;
    font-size: 16px;
  }

  .footer-links {
    gap: 78px;
  }

  .footer-links > div {
    gap: 15px;
  }

  .footer-links strong,
  .footer-links a,
  .footer-bottom p {
    font-size: 16px;
  }

  .footer-bottom {
    padding-top: 24px;
    padding-bottom: 30px;
  }
}


.pricing-section {
  position: relative;
  background:
    radial-gradient(circle at 12% 18%, rgba(192, 234, 255, .45), transparent 24%),
    linear-gradient(180deg, #f7fbff 0%, #ffffff 46%, #f8fcff 100%);
}

.pricing-layout {
  display: grid;
  grid-template-columns: minmax(320px, 420px) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.pricing-plan-card,
.pricing-detail-card {
  background: rgba(255, 255, 255, .92);
  border: 1px solid rgba(214, 226, 241, .9);
  border-radius: 24px;
  box-shadow: 0 20px 52px rgba(24, 75, 144, .08);
}

.pricing-plan-card {
  padding: 22px;
}

.plan-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.plan-card-head p {
  margin: 0 0 4px;
  color: var(--ink-500);
  font-size: 14px;
  font-weight: 600;
}

.plan-card-head h3 {
  margin: 0;
  font-size: 36px;
  line-height: 1.2;
}

.plan-close {
  min-width: 40px;
  min-height: 40px;
  color: var(--ink-500);
  font-size: 28px;
  line-height: 1;
  background: transparent;
  border-radius: 50%;
  cursor: default;
}

.plan-block {
  padding: 22px;
  border: 2px solid #0f6cff;
  border-radius: 22px;
  background: linear-gradient(180deg, #fbfdff 0%, #f6fbff 100%);
}

.plan-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.plan-label {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--ink-600);
  font-size: 14px;
  font-weight: 600;
}

.plan-title-row h4 {
  margin: 0;
  font-size: 24px;
  line-height: 1.35;
}

.plan-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 6px 12px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  background: linear-gradient(135deg, #0a6df7, #358cff);
  border-radius: 999px;
}

.plan-price-row {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  margin-top: 18px;
}

.plan-price-row strong {
  color: var(--ink-950);
  font-size: clamp(40px, 3.5vw, 54px);
  line-height: 1;
}

.plan-price-row span {
  margin-bottom: 6px;
  color: var(--ink-500);
  font-size: 22px;
  font-weight: 700;
}

.plan-points {
  margin: 14px 0 10px;
  color: #0f6cff;
  font-size: 30px;
  font-weight: 800;
}

.plan-description {
  margin: 0;
  color: var(--ink-600);
  font-size: 16px;
  line-height: 1.9;
}

.plan-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 20px 0 0;
  color: #0f9c6c;
  font-size: 16px;
  font-weight: 700;
}

.pricing-detail-stack {
  display: grid;
  gap: 22px;
}

.pricing-detail-card {
  padding: 26px 28px;
}

.feature-list-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 18px;
}

.feature-list-card li,
.active-card p,
.rate-row p {
  color: var(--ink-600);
  font-size: 17px;
  line-height: 1.8;
}

.feature-list-card li {
  position: relative;
  padding-left: 28px;
}

.feature-list-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #09a56f;
  font-weight: 800;
}

.rate-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
}

.rate-icon {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  color: var(--ink-600);
  font-size: 20px;
  background: #f4f7fb;
  border-radius: 50%;
}

.rate-row strong,
.active-card strong {
  display: block;
  color: var(--ink-950);
  font-size: 22px;
  line-height: 1.35;
}

.rate-row p,
.active-card p {
  margin: 6px 0 0;
}

.rate-arrow {
  color: var(--ink-500);
  font-size: 24px;
  line-height: 1;
}

.active-card {
  background: linear-gradient(180deg, rgba(233, 251, 243, .95), rgba(237, 255, 246, .95));
  border-color: rgba(120, 220, 174, .9);
}

.active-card strong {
  color: #12875d;
}

.active-card p {
  color: #247b5b;
}

@media (max-width: 1080px) {
  .pricing-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .pricing-plan-card,
  .pricing-detail-card {
    border-radius: 20px;
  }

  .pricing-plan-card,
  .pricing-detail-card {
    padding: 20px;
  }

  .plan-block {
    padding: 18px;
  }

  .plan-card-head h3 {
    font-size: 28px;
  }

  .plan-title-row {
    align-items: flex-start;
  }

  .plan-title-row h4 {
    font-size: 22px;
  }

  .plan-price-row strong {
    font-size: 40px;
  }

  .plan-price-row span {
    font-size: 18px;
  }

  .plan-points {
    font-size: 24px;
  }

  .rate-row {
    grid-template-columns: auto 1fr;
  }

  .rate-arrow {
    grid-column: 2;
    justify-self: end;
  }
}

@media (min-width: 1440px) {
  .pricing-layout {
    grid-template-columns: minmax(380px, 480px) minmax(0, 1fr);
    gap: 32px;
  }

  .plan-card-head p,
  .plan-label,
  .plan-badge,
  .plan-status {
    font-size: 16px;
  }

  .plan-card-head h3 {
    font-size: 42px;
  }

  .plan-title-row h4 {
    font-size: 30px;
  }

  .plan-price-row strong {
    font-size: 58px;
  }

  .plan-price-row span {
    font-size: 24px;
  }

  .plan-points {
    font-size: 34px;
  }

  .plan-description,
  .feature-list-card li,
  .active-card p,
  .rate-row p {
    font-size: 18px;
  }
}


/* ===== Version 4 adjustments ===== */
.hero-image-shell {
  overflow: visible;
}

.floating-card-top {
  top: 2%;
  right: 1%;
  left: auto;
}

.floating-card-bottom {
  left: 3%;
  bottom: 14%;
}

.hero-caption-panel {
  right: 4%;
  bottom: 3%;
}

/* Trend module visual aligned closer to the actual UI */
.trend-window {
  min-height: 650px;
  padding: 0;
  background: #ffffff;
}

.trend-app-shell {
  display: grid;
  grid-template-columns: 180px 1fr;
  min-height: 650px;
}

.trend-sidebar {
  background: #fbfdff;
  border-right: 1px solid #e8eef5;
}

.trend-brand-row {
  display: flex;
  align-items: center;
  height: 74px;
  padding: 0 18px;
  border-bottom: 1px solid #edf2f7;
}

.trend-brand-row img {
  width: 92px;
  height: auto;
}

.trend-sidebar-label {
  margin: 14px 0 10px;
  padding: 0 18px;
  color: #8b98aa;
  font-size: 11px;
  font-weight: 700;
}

.trend-nav-list {
  display: grid;
  gap: 8px;
  padding: 0 12px 20px;
}

.trend-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 46px;
  padding: 0 14px;
  color: #40516d;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
}

.trend-nav-item.active {
  color: var(--blue-700);
  background: #edf4ff;
}

.trend-nav-icon {
  position: relative;
  display: inline-block;
  width: 18px;
  height: 18px;
}

.trend-nav-icon.chart::before,
.trend-nav-icon.chart::after,
.trend-nav-icon.chart {
  background: linear-gradient(180deg, #1f75ff, #5db8ff);
  border-radius: 2px;
}

.trend-nav-icon.chart {
  width: 4px;
  height: 16px;
  margin-left: 1px;
  box-shadow: 6px -4px 0 0 #1f75ff, 12px 2px 0 0 #1f75ff;
}

.trend-nav-icon.sparkle::before,
.trend-nav-icon.sparkle::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  background: #51627e;
  border-radius: 2px;
}

.trend-nav-icon.sparkle::before {
  width: 14px;
  height: 2px;
}

.trend-nav-icon.sparkle::after {
  width: 2px;
  height: 14px;
}

.trend-nav-icon.bookmark {
  border: 2px solid #51627e;
  border-radius: 3px 3px 0 0;
}

.trend-nav-icon.bookmark::after {
  content: "";
  position: absolute;
  left: 3px;
  right: 3px;
  bottom: -1px;
  height: 8px;
  background: linear-gradient(135deg, transparent 50%, #51627e 50%) left, linear-gradient(225deg, transparent 50%, #51627e 50%) right;
  background-size: 50% 100%;
  background-repeat: no-repeat;
}

.trend-main-panel {
  position: relative;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

.trend-main-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  padding: 0 18px 0 20px;
  border-bottom: 1px solid #edf2f7;
}

.trend-user-tools {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: auto;
}

.trend-notice {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  padding: 0 6px;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  background: #ff4f63;
  border-radius: 999px;
}

.trend-user-name {
  color: #2b3750;
  font-size: 14px;
  font-weight: 700;
}

.trend-user-avatar {
  display: inline-block;
  width: 34px;
  height: 34px;
  background: radial-gradient(circle at 35% 35%, #ffe2ca 0 22%, #eac7ac 23% 40%, #f5e4d5 41% 100%);
  border-radius: 50%;
}

.trend-scene-header {
  position: relative;
  min-height: 212px;
  padding: 34px 28px 28px;
  text-align: center;
  background:
    radial-gradient(circle at 58% 62%, rgba(89, 142, 255, .44), rgba(89, 142, 255, 0) 30%),
    linear-gradient(95deg, #f1fbff 0%, #b5e2ff 60%, #8cd0ff 100%);
  overflow: hidden;
}

.trend-word-cloud {
  position: absolute;
  inset: 10px 0 auto;
  min-height: 104px;
  color: rgba(255, 255, 255, .58);
  font-weight: 700;
  pointer-events: none;
}

.trend-word-cloud .word {
  position: absolute;
}

.word-one { top: 6px; left: 49%; font-size: 18px; }
.word-two { top: 34px; left: 57%; font-size: 24px; }
.word-three { top: 62px; left: 41%; font-size: 15px; }
.word-four { top: 86px; left: 64%; font-size: 14px; }
.word-five { top: 48px; left: 74%; font-size: 12px; }

.trend-scene-header h3 {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 96px auto 0;
  color: #ffffff;
  font-size: 38px;
  line-height: 1.25;
  font-weight: 900;
}

.trend-scene-arrow {
  position: relative;
  z-index: 2;
  display: inline-block;
  margin-top: 8px;
  color: rgba(255, 255, 255, .92);
  font-size: 22px;
}

.trend-recommend-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 20px 20px 10px;
  margin-top: -12px;
}

.trend-recommend-card,
.trend-hashtag-card {
  min-width: 0;
  background: rgba(255, 255, 255, .96);
  border: 1px solid #dfe8f3;
  border-radius: 18px;
  box-shadow: 0 16px 34px rgba(23, 78, 153, .10);
}

.trend-recommend-card {
  display: flex;
  flex-direction: column;
  padding: 18px 18px 16px;
}

.recommend-title {
  color: #156af2;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.45;
}

.recommend-title.pink {
  color: #2d6bff;
}

.recommend-meta,
.recommend-copy p,
.recommend-example p {
  margin: 0;
  color: #55657f;
  font-size: 11px;
  line-height: 1.8;
}

.recommend-meta {
  margin-top: 10px;
}

.recommend-copy,
.recommend-example {
  margin-top: 12px;
}

.recommend-copy strong,
.recommend-example strong {
  display: block;
  margin-bottom: 6px;
  color: #23324d;
  font-size: 12px;
}

.recommend-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 12px;
}

.bookmark-dot {
  display: inline-block;
  width: 13px;
  height: 18px;
  background: linear-gradient(180deg, #0f6cff, #3e90ff);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 74%, 0 100%);
}

.recommend-actions button,
.hashtag-actions button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 14px;
  color: #ffffff;
  background: linear-gradient(135deg, #0a68f2, #3f92ff);
  border-radius: 10px;
  font-size: 12px;
  font-weight: 800;
}

.trend-hashtag-card {
  display: flex;
  flex-direction: column;
  padding: 18px;
}

.trend-hashtag-card h4 {
  margin: 0 0 16px;
  color: #1f2c46;
  font-size: 22px;
  line-height: 1.35;
}

.hashtag-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 12px;
}

.hashtag-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  min-height: 38px;
  padding: 0 12px;
  color: #52627b;
  background: #fbfdff;
  border: 1px solid #d8e3f0;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 700;
}

.hashtag-grid span::after {
  content: "🔖";
  font-size: 11px;
  opacity: .6;
}

.hashtag-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: auto;
  padding-top: 16px;
}

.trend-keyword-link {
  display: block;
  margin: 12px 0 18px;
  color: #186df6;
  text-align: center;
  font-size: 16px;
  font-weight: 800;
}

/* Publish success toast moved downward to avoid covering text */
.publish-visual {
  padding-bottom: 96px;
}

.success-toast {
  right: 2%;
  bottom: -2%;
}

@media (max-width: 1180px) {
  .trend-app-shell {
    grid-template-columns: 150px 1fr;
  }

  .trend-recommend-grid {
    grid-template-columns: 1fr;
  }

  .trend-scene-header h3 {
    font-size: 30px;
  }

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

@media (max-width: 680px) {
  .floating-card-top {
    top: -1%;
    right: 2%;
  }

  .floating-card-bottom {
    left: 0;
    bottom: 13%;
  }

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

  .trend-sidebar {
    border-right: 0;
    border-bottom: 1px solid #e8eef5;
  }

  .trend-brand-row,
  .trend-main-topbar {
    min-height: 60px;
  }

  .trend-nav-list {
    grid-template-columns: 1fr;
    padding-bottom: 14px;
  }

  .trend-scene-header {
    min-height: 180px;
    padding: 24px 16px 20px;
  }

  .trend-scene-header h3 {
    margin-top: 88px;
    font-size: 24px;
  }

  .trend-recommend-grid {
    padding: 16px 16px 10px;
  }

  .trend-hashtag-card h4 {
    font-size: 20px;
  }

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

  .trend-keyword-link {
    font-size: 15px;
  }

  .publish-visual {
    padding-bottom: 86px;
  }

  .success-toast {
    right: 4%;
    bottom: -1%;
  }
}

@media (min-width: 1440px) {
  .trend-window {
    min-height: 710px;
  }

  .trend-app-shell {
    grid-template-columns: 220px 1fr;
    min-height: 710px;
  }

  .trend-sidebar-label {
    font-size: 13px;
  }

  .trend-nav-item,
  .trend-user-name {
    font-size: 16px;
  }

  .trend-scene-header h3 {
    font-size: 42px;
  }

  .recommend-title {
    font-size: 16px;
  }

  .recommend-meta,
  .recommend-copy p,
  .recommend-example p,
  .hashtag-grid span {
    font-size: 12px;
  }

  .trend-keyword-link {
    font-size: 18px;
  }

  .success-toast {
    bottom: -1%;
  }
}


/* ===== Version 5 trend visual simplification ===== */
.trend-window {
  min-height: 560px;
  padding: 18px;
  background: transparent;
  border: 0;
  box-shadow: none;
  overflow: visible;
}

.trend-window::after {
  display: none;
}

.trend-app-shell {
  display: block;
  min-height: auto;
}

.trend-visual-card {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border-radius: 34px;
  background: linear-gradient(135deg, #eef9fd 0%, #b8e7fb 38%, #8fc8ff 72%, #d9d0f3 100%);
  box-shadow: 0 30px 80px rgba(16, 87, 186, .16);
}

.trend-visual-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, .34), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.trend-visual-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(3px);
}

.trend-visual-glow-one {
  width: 280px;
  height: 280px;
  left: 42%;
  top: 28%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(102, 138, 255, .58) 0%, rgba(102, 138, 255, .06) 58%, rgba(102, 138, 255, 0) 72%);
}

.trend-visual-glow-two {
  width: 360px;
  height: 360px;
  left: 55%;
  bottom: -12%;
  background: radial-gradient(circle, rgba(153, 158, 255, .18) 0%, rgba(153, 158, 255, 0) 68%);
}

.trend-visual-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  min-height: 520px;
  padding: 44px 38px 48px;
  text-align: center;
}

.trend-visual-inner h3 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.15;
  font-weight: 900;
  text-shadow: 0 8px 18px rgba(76, 130, 255, .24);
}

.keyword-cloud {
  position: relative;
  width: 100%;
  max-width: 740px;
  min-height: 300px;
  margin: 22px auto 10px;
}

.cloud-word {
  position: absolute;
  color: rgba(255, 255, 255, .9);
  font-weight: 700;
  line-height: 1.1;
  white-space: nowrap;
}

.cloud-word.xl {
  font-size: clamp(48px, 3.75vw, 72px);
  font-weight: 800;
}

.cloud-word.lg {
  font-size: clamp(32px, 3.33vw, 64px);
  font-weight: 800;
}

.cloud-word.md {
  font-size: clamp(24px, 1.46vw, 28px);
}

.cloud-word.sm {
  font-size: clamp(20px, 1.15vw, 22px);
  color: rgba(255, 255, 255, .72);
}

.keyword-focus { left: 44%; top: 44%; transform: translate(-50%, -50%); }
.keyword-secondary { left: 50%; top: 82%; transform: translate(-50%, -50%); }
.keyword-strong { right: 7%; top: 57%; }
.keyword-cloud .cloud-word:nth-child(4) { left: 4%; top: 39%; }
.keyword-cloud .cloud-word:nth-child(5) { right: 15%; top: 16%; }
.keyword-cloud .cloud-word:nth-child(6) { right: 0; top: 28%; }
.keyword-cloud .cloud-word:nth-child(7) { right: 18%; top: 76%; }
.keyword-cloud .cloud-word:nth-child(8) { left: 35%; top: 6%; }
.keyword-cloud .cloud-word:nth-child(9) { left: 54%; top: 12%; }
.keyword-cloud .cloud-word:nth-child(10) { right: 2%; top: 35%; }
.keyword-cloud .cloud-word:nth-child(11) { left: 17%; top: 74%; }
.keyword-cloud .cloud-word:nth-child(12) { left: 24%; top: 66%; }
.keyword-cloud .cloud-word:nth-child(13) { right: 20%; top: 86%; }
.keyword-cloud .cloud-word:nth-child(14) { left: 33%; top: 22%; }
.keyword-cloud .cloud-word:nth-child(15) { left: 18%; top: 47%; }
.keyword-cloud .cloud-word:nth-child(16) { left: 49%; top: 43%; transform: translate(-50%, -50%); color: rgba(255,255,255,.54); }
.keyword-cloud .cloud-word:nth-child(17) { right: 17%; top: 40%; }
.keyword-cloud .cloud-word:nth-child(18) { right: 9%; top: 51%; }
.keyword-cloud .cloud-word:nth-child(19) { left: 17%; top: 57%; }
.keyword-cloud .cloud-word:nth-child(20) { left: 42%; top: 69%; }
.keyword-cloud .cloud-word:nth-child(21) { left: 36%; top: 81%; }
.keyword-cloud .cloud-word:nth-child(22) { left: 53%; top: 98%; transform: translate(-50%, -100%); }
.keyword-cloud .cloud-word:nth-child(23) { right: 21%; top: 63%; }
.keyword-cloud .cloud-word:nth-child(24) { right: 4%; top: 79%; }
.keyword-cloud .cloud-word:nth-child(25) { left: 46%; top: 52%; }
.keyword-cloud .cloud-word:nth-child(26) { left: 11%; top: 54%; }
.keyword-cloud .cloud-word:nth-child(27) { right: 17%; top: 48%; }
.keyword-cloud .cloud-word:nth-child(28) { left: 30%; top: 33%; }

.keyword-picker-text {
  margin: 0;
  color: #1A4380;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: .06em;
}

@media (max-width: 1080px) {
  .trend-visual-card,
  .trend-visual-inner {
    min-height: 480px;
  }

  .keyword-cloud {
    min-height: 270px;
  }
}

@media (max-width: 680px) {
  .trend-window {
    padding: 0;
  }

  .trend-visual-card,
  .trend-visual-inner {
    min-height: 430px;
    border-radius: 26px;
  }

  .trend-visual-inner {
    padding: 28px 18px 34px;
  }

  .trend-visual-inner h3 {
    font-size: clamp(28px, 8vw, 40px);
  }

  .keyword-cloud {
    min-height: 236px;
    max-width: 100%;
  }

  .keyword-picker-text {
    font-size: 18px;
  }

  .cloud-word.xl { font-size: clamp(22px, 6.2vw, 32px); }
  .cloud-word.lg { font-size: clamp(18px, 5vw, 26px); }
  .cloud-word.md { font-size: clamp(15px, 4.2vw, 20px); }
  .cloud-word.sm { font-size: clamp(12px, 3.2vw, 16px); }

  .keyword-cloud .cloud-word:nth-child(4) { left: 1%; top: 38%; }
  .keyword-cloud .cloud-word:nth-child(5) { right: 12%; top: 18%; }
  .keyword-cloud .cloud-word:nth-child(6) { right: 0; top: 30%; }
  .keyword-cloud .cloud-word:nth-child(7) { right: 12%; top: 79%; }
  .keyword-cloud .cloud-word:nth-child(10) { right: 0; top: 40%; }
  .keyword-cloud .cloud-word:nth-child(24) { right: 0; top: 81%; }
}

@media (min-width: 1440px) {
  .trend-window {
    min-height: 620px;
  }

  .trend-visual-card,
  .trend-visual-inner {
    min-height: 580px;
  }

  .keyword-picker-text {
    font-size: 24px;
  }
}


/* ===== Version 6 keyword cloud refinements ===== */
.keyword-cloud {
  max-width: 780px;
  min-height: 310px;
}

.cloud-word {
  max-width: 34%;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cloud-word.xl {
  color: rgba(255, 255, 255, 1);
  opacity: 1;
  font-size: clamp(21px, 1.45vw, 31px);
  font-weight: 800;
}

.cloud-word.lg {
  font-size: clamp(17px, 1.15vw, 25px);
  font-weight: 750;
}

.cloud-word.md {
  font-size: clamp(14px, .95vw, 21px);
}

.cloud-word.sm {
  font-size: clamp(12px, .78vw, 17px);
  color: rgba(255, 255, 255, .74);
}

/* Fine tune positions after reducing the type scale. */
.keyword-focus { left: 44%; top: 46%; }
.keyword-secondary { left: 50%; top: 84%; }
.keyword-strong { right: 8%; top: 59%; }
.keyword-cloud .cloud-word:nth-child(4) { left: 4%; top: 40%; }
.keyword-cloud .cloud-word:nth-child(5) { right: 17%; top: 17%; }
.keyword-cloud .cloud-word:nth-child(6) { right: 2%; top: 30%; }
.keyword-cloud .cloud-word:nth-child(7) { right: 20%; top: 77%; }
.keyword-cloud .cloud-word:nth-child(8) { left: 35%; top: 7%; }
.keyword-cloud .cloud-word:nth-child(9) { left: 55%; top: 13%; }
.keyword-cloud .cloud-word:nth-child(10) { right: 3%; top: 37%; }
.keyword-cloud .cloud-word:nth-child(11) { left: 18%; top: 76%; }
.keyword-cloud .cloud-word:nth-child(12) { left: 25%; top: 67%; }
.keyword-cloud .cloud-word:nth-child(13) { right: 22%; top: 88%; }
.keyword-cloud .cloud-word:nth-child(14) { left: 34%; top: 23%; }
.keyword-cloud .cloud-word:nth-child(15) { left: 18%; top: 49%; }
.keyword-cloud .cloud-word:nth-child(16) { left: 50%; top: 44%; }
.keyword-cloud .cloud-word:nth-child(17) { right: 18%; top: 42%; }
.keyword-cloud .cloud-word:nth-child(18) { right: 10%; top: 53%; }
.keyword-cloud .cloud-word:nth-child(19) { left: 18%; top: 59%; }
.keyword-cloud .cloud-word:nth-child(20) { left: 43%; top: 70%; }
.keyword-cloud .cloud-word:nth-child(21) { left: 37%; top: 82%; }
.keyword-cloud .cloud-word:nth-child(22) { left: 53%; top: 97%; }
.keyword-cloud .cloud-word:nth-child(23) { right: 22%; top: 65%; }
.keyword-cloud .cloud-word:nth-child(24) { right: 5%; top: 81%; }
.keyword-cloud .cloud-word:nth-child(25) { left: 47%; top: 54%; }
.keyword-cloud .cloud-word:nth-child(26) { left: 12%; top: 56%; }
.keyword-cloud .cloud-word:nth-child(27) { right: 18%; top: 50%; }
.keyword-cloud .cloud-word:nth-child(28) { left: 31%; top: 35%; }

@media (max-width: 680px) {
  .keyword-cloud {
    min-height: 250px;
  }

  .cloud-word {
    max-width: 38%;
  }

  .cloud-word.xl { font-size: clamp(18px, 5.2vw, 25px); }
  .cloud-word.lg { font-size: clamp(15px, 4.2vw, 21px); }
  .cloud-word.md { font-size: clamp(13px, 3.5vw, 18px); }
  .cloud-word.sm { font-size: clamp(11px, 2.8vw, 14px); }
}

@media (min-width: 1440px) {
  .cloud-word.xl { font-size: 31px; }
  .cloud-word.lg { font-size: 25px; }
  .cloud-word.md { font-size: 21px; }
  .cloud-word.sm { font-size: 17px; }
}


/* ===== Version 7 trend result visual ===== */
.trend-window {
  min-height: auto;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  overflow: visible;
}

.trend-window::after {
  display: none;
}

.trend-app-shell {
  display: block;
}

.trend-result-visual {
  position: relative;
  width: 100%;
}

.trend-result-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.trend-result-head h3 {
  margin: 0;
  color: var(--ink-950);
  font-size: 32px;
  line-height: 1.2;
}

.trend-result-head p {
  margin: 4px 0 0;
  color: #8b98aa;
  font-size: 13px;
  font-weight: 700;
}

.trend-version-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  background: rgba(255,255,255,.86);
  border: 1px solid #dfe7f1;
  border-radius: 999px;
  box-shadow: 0 12px 24px rgba(30, 78, 142, .06);
}

.trend-version-toggle span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  color: #73839b;
  font-size: 12px;
  font-weight: 800;
  border-radius: 999px;
}

.trend-version-toggle .active {
  color: #fff;
  background: #102651;
}

.trend-result-panel {
  position: relative;
  padding: 20px 20px 18px;
  background: #ffffff;
  border: 1px solid rgba(213, 225, 240, .95);
  border-radius: 24px;
  box-shadow: 0 26px 68px rgba(17, 82, 175, .12);
}

.preview-zoom {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: #8ca0b9;
  background: #fff;
  border: 1px solid #e1e9f2;
  border-radius: 50%;
  font-size: 16px;
  box-shadow: 0 8px 18px rgba(32, 86, 155, .06);
  cursor: default;
}

.trend-preview-images {
  display: flex;
  justify-content: center;
  gap: 12px;
  padding-top: 6px;
}

.preview-shot {
  width: min(46%, 180px);
  aspect-ratio: 1.36 / 1;
  border-radius: 14px;
  background-size: cover;
  background-position: center;
  border: 3px solid #fff;
  box-shadow: 0 16px 28px rgba(26, 69, 126, .16);
  transform: rotate(-2deg);
}

.preview-shot-rail {
  transform: rotate(2deg);
}

.preview-shot-sunset {
  background-image: url("../assets/trend-preview-01.png");
  background-size: cover;
  background-position: center;
}

.preview-shot-sunset::after,
.preview-shot-rail::after {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
}

.preview-shot-rail {
  position: relative;
  background-image: url("../assets/trend-preview-02.png");
  background-size: cover;
  background-position: center;
}

.preview-shot-rail::before {
  content: none;
}

.trend-copy-module {
  width: min(100%, 420px);
  margin: 18px auto 0;
}

.copy-module-label {
  position: relative;
  margin-bottom: 10px;
  color: #9aa7b8;
  font-size: 12px;
  font-weight: 700;
}

.copy-module-label::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 64px;
  right: 0;
  height: 1px;
  background: #e7edf4;
}

.trend-copy-card {
  padding: 14px 16px 14px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  border: 1px solid #cfe0f5;
  border-radius: 18px;
  box-shadow: 0 12px 28px rgba(31, 89, 161, .06);
}

.copy-card-head,
.copy-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.brand-chip {
  color: #27446f;
  font-size: 12px;
  font-weight: 800;
}

.edit-dot {
  color: #7b95be;
  font-size: 10px;
  font-weight: 700;
}

.copy-card-body {
  margin-top: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid #edf2f7;
}

.copy-card-body p {
  margin: 0 0 8px;
  color: #30435f;
  font-size: 14px;
  line-height: 1.75;
}

.copy-card-body p:nth-child(1),
.copy-card-body p:nth-child(2) {
  font-size: 16px;
  font-weight: 700;
}

.copy-card-tag {
  margin-top: 14px;
  color: #2f7fff;
  font-size: 14px;
  font-weight: 700;
}

.copy-card-footer {
  margin-top: 14px;
}

.copy-card-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.copy-card-actions span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: #73839b;
  background: #fff;
  border: 1px solid #e1e9f2;
  border-radius: 10px;
  font-size: 13px;
}

.copy-card-meta {
  text-align: right;
}

.copy-card-meta strong,
.copy-card-meta small {
  display: block;
}

.copy-card-meta strong {
  color: #56657d;
  font-size: 12px;
}

.copy-card-meta small {
  margin-top: 2px;
  color: #8a98aa;
  font-size: 10px;
}

.trend-result-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid #edf2f7;
}

.result-ghost-btn,
.result-primary-btn {
  min-height: 42px;
  padding: 0 16px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 800;
}

.result-ghost-btn {
  color: #394d6b;
  background: #fff;
  border: 1px solid #dee7f1;
}

.result-primary-btn {
  color: #fff;
  background: linear-gradient(135deg, #0a67f1, #328fff);
  box-shadow: 0 12px 24px rgba(19, 101, 229, .22);
}

@media (max-width: 680px) {
  .trend-result-head,
  .trend-result-bottom {
    flex-direction: column;
    align-items: stretch;
  }

  .trend-version-toggle {
    align-self: flex-start;
  }

  .trend-result-panel {
    padding: 18px 14px 16px;
    border-radius: 20px;
  }

  .trend-preview-images {
    gap: 8px;
  }

  .preview-shot {
    width: 48%;
    border-radius: 12px;
  }

  .trend-copy-module {
    width: 100%;
  }

  .copy-card-body p {
    font-size: 13px;
  }

  .copy-card-body p:nth-child(1),
  .copy-card-body p:nth-child(2) {
    font-size: 15px;
  }

  .result-ghost-btn,
  .result-primary-btn {
    width: 100%;
  }
}

@media (min-width: 1440px) {
  .trend-result-head h3 {
    font-size: 36px;
  }

  .trend-result-head p,
  .trend-version-toggle span,
  .copy-module-label,
  .brand-chip,
  .copy-card-meta strong,
  .copy-card-tag,
  .result-ghost-btn,
  .result-primary-btn {
    font-size: 14px;
  }

  .copy-card-body p {
    font-size: 15px;
  }

  .copy-card-body p:nth-child(1),
  .copy-card-body p:nth-child(2) {
    font-size: 17px;
  }
}


/* ===== Version 9 section reassignment ===== */
.ai-result-visual {
  padding: 18px;
}

@media (max-width: 680px) {
  .ai-result-visual {
    padding: 14px;
  }
}


/* ===== Version 10 usage card and word cloud refinements ===== */
.usage-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
  border-color: #dce6f2;
}

.usage-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.usage-card-head strong {
  color: var(--ink-950);
  font-size: 24px;
  line-height: 1.3;
}

.usage-card-head span {
  color: var(--ink-500);
  font-size: 14px;
  font-weight: 700;
}

.usage-label {
  margin: 0;
  color: #8292a9;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .03em;
}

.usage-value-row {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  margin-top: 6px;
}

.usage-value-row strong {
  color: #071329;
  font-size: clamp(54px, 4.5vw, 76px);
  line-height: .95;
  font-weight: 800;
  letter-spacing: -.04em;
}

.usage-value-row span {
  margin-bottom: 7px;
  color: #9aabc2;
  font-size: 22px;
  font-weight: 700;
}

.usage-remaining {
  margin: 12px 0 0;
  color: #53647c;
  font-size: 17px;
  line-height: 1.6;
}

.usage-remaining b {
  color: #0b6cf2;
  font-weight: 800;
}

.usage-progress {
  position: relative;
  height: 14px;
  margin-top: 18px;
  overflow: hidden;
  background: #eaf0f7;
  border: 1px solid #d4deea;
  border-radius: 999px;
}

.usage-progress span {
  display: block;
  min-width: 8px;
  height: 100%;
  background: linear-gradient(90deg, #12ba84, #25d19a);
  border-radius: inherit;
}

.usage-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  margin-top: 18px;
}

.usage-legend > span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #596a82;
  font-size: 15px;
  font-weight: 600;
}

.usage-legend b {
  color: #23314a;
  font-weight: 800;
}

.legend-dot {
  width: 11px;
  height: 11px;
  flex: 0 0 11px;
  border-radius: 50%;
}

.trend-dot { background: #0b73f6; }
.ai-dot { background: #6a67eb; }
.publish-dot { background: #11aa7a; }
.remain-dot { background: #e5ebf2; border: 1px solid #d5dee9; }

/* A fixed grid prevents overlap while preserving a cloud-like rhythm. */
.keyword-cloud {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: repeat(8, minmax(30px, auto));
  align-items: center;
  width: 100%;
  max-width: 760px;
  min-height: 330px;
  margin: 24px auto 12px;
  column-gap: 8px;
  row-gap: 3px;
}

.keyword-cloud .cloud-word {
  position: static;
  max-width: none;
  overflow: visible;
  text-overflow: clip;
  transform: none;
  text-align: center;
  white-space: nowrap;
  line-height: 1.15;
}

.keyword-cloud .cloud-word.xl {
  color: rgba(255, 255, 255, 1);
  opacity: 1;
  font-size: clamp(22px, 1.55vw, 34px);
  font-weight: 800;
  text-shadow: 0 8px 20px rgba(57, 105, 212, .18);
}

.keyword-cloud .cloud-word.lg {
  color: rgba(255, 255, 255, .86);
  font-size: clamp(18px, 1.18vw, 26px);
  font-weight: 750;
}

.keyword-cloud .cloud-word.md {
  color: rgba(255, 255, 255, .72);
  font-size: clamp(15px, .95vw, 21px);
}

.keyword-cloud .cloud-word.sm {
  color: rgba(255, 255, 255, .56);
  font-size: clamp(12px, .72vw, 16px);
}

.keyword-cloud .cloud-word:nth-child(1)  { grid-column: 1 / 3;  grid-row: 1; }
.keyword-cloud .cloud-word:nth-child(2)  { grid-column: 3 / 5;  grid-row: 1; }
.keyword-cloud .cloud-word:nth-child(3)  { grid-column: 5 / 8;  grid-row: 1; }
.keyword-cloud .cloud-word:nth-child(4)  { grid-column: 9 / 12; grid-row: 1; }
.keyword-cloud .cloud-word:nth-child(5)  { grid-column: 1 / 4;  grid-row: 2; }
.keyword-cloud .cloud-word:nth-child(6)  { grid-column: 4 / 9;  grid-row: 2; }
.keyword-cloud .cloud-word:nth-child(7)  { grid-column: 9 / 13; grid-row: 2; }
.keyword-cloud .cloud-word:nth-child(8)  { grid-column: 1 / 3;  grid-row: 3; }
.keyword-cloud .cloud-word:nth-child(9)  { grid-column: 3 / 5;  grid-row: 3; }
.keyword-cloud .cloud-word:nth-child(10) { grid-column: 5 / 9;  grid-row: 3; }
.keyword-cloud .cloud-word:nth-child(11) { grid-column: 9 / 13; grid-row: 3; }
.keyword-cloud .cloud-word:nth-child(12) { grid-column: 1 / 4;  grid-row: 4; }
.keyword-cloud .cloud-word:nth-child(13) { grid-column: 4 / 9;  grid-row: 4; }
.keyword-cloud .cloud-word:nth-child(14) { grid-column: 9 / 11; grid-row: 4; }
.keyword-cloud .cloud-word:nth-child(15) { grid-column: 1 / 3;  grid-row: 5; }
.keyword-cloud .cloud-word:nth-child(16) { grid-column: 3 / 6;  grid-row: 5; }
.keyword-cloud .cloud-word:nth-child(17) { grid-column: 6 / 10; grid-row: 5; }
.keyword-cloud .cloud-word:nth-child(18) { grid-column: 10 / 13; grid-row: 5; }
.keyword-cloud .cloud-word:nth-child(19) { grid-column: 2 / 5;  grid-row: 6; }
.keyword-cloud .cloud-word:nth-child(20) { grid-column: 5 / 7;  grid-row: 6; }
.keyword-cloud .cloud-word:nth-child(21) { grid-column: 7 / 9;  grid-row: 6; }
.keyword-cloud .cloud-word:nth-child(22) { grid-column: 9 / 12; grid-row: 6; }
.keyword-cloud .cloud-word:nth-child(23) { grid-column: 1 / 3;  grid-row: 7; }
.keyword-cloud .cloud-word:nth-child(24) { grid-column: 3 / 6;  grid-row: 7; }
.keyword-cloud .cloud-word:nth-child(25) { grid-column: 6 / 9;  grid-row: 7; }
.keyword-cloud .cloud-word:nth-child(26) { grid-column: 9 / 13; grid-row: 7; }
.keyword-cloud .cloud-word:nth-child(27) { grid-column: 2 / 5;  grid-row: 8; }
.keyword-cloud .cloud-word:nth-child(28) { grid-column: 6 / 10; grid-row: 8; }

@media (max-width: 680px) {
  .usage-card-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .usage-value-row strong {
    font-size: 54px;
  }

  .usage-value-row span {
    font-size: 18px;
  }

  .usage-legend {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .keyword-cloud {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    grid-template-rows: repeat(10, minmax(26px, auto));
    min-height: 310px;
    column-gap: 4px;
    row-gap: 2px;
  }

  .keyword-cloud .cloud-word.xl { font-size: clamp(18px, 5.6vw, 25px); }
  .keyword-cloud .cloud-word.lg { font-size: clamp(15px, 4.4vw, 21px); }
  .keyword-cloud .cloud-word.md { font-size: clamp(13px, 3.6vw, 18px); }
  .keyword-cloud .cloud-word.sm { font-size: clamp(11px, 2.8vw, 14px); }

  .keyword-cloud .cloud-word:nth-child(1)  { grid-column: 1 / 3; grid-row: 1; }
  .keyword-cloud .cloud-word:nth-child(2)  { grid-column: 3 / 5; grid-row: 1; }
  .keyword-cloud .cloud-word:nth-child(3)  { grid-column: 5 / 7; grid-row: 1; }
  .keyword-cloud .cloud-word:nth-child(4)  { grid-column: 1 / 4; grid-row: 2; }
  .keyword-cloud .cloud-word:nth-child(5)  { grid-column: 4 / 7; grid-row: 2; }
  .keyword-cloud .cloud-word:nth-child(6)  { grid-column: 1 / 5; grid-row: 3; }
  .keyword-cloud .cloud-word:nth-child(7)  { grid-column: 5 / 7; grid-row: 3; }
  .keyword-cloud .cloud-word:nth-child(8)  { grid-column: 1 / 3; grid-row: 4; }
  .keyword-cloud .cloud-word:nth-child(9)  { grid-column: 3 / 5; grid-row: 4; }
  .keyword-cloud .cloud-word:nth-child(10) { grid-column: 5 / 7; grid-row: 4; }
  .keyword-cloud .cloud-word:nth-child(11) { grid-column: 1 / 4; grid-row: 5; }
  .keyword-cloud .cloud-word:nth-child(12) { grid-column: 4 / 7; grid-row: 5; }
  .keyword-cloud .cloud-word:nth-child(13) { grid-column: 1 / 5; grid-row: 6; }
  .keyword-cloud .cloud-word:nth-child(14) { grid-column: 5 / 7; grid-row: 6; }
  .keyword-cloud .cloud-word:nth-child(15) { grid-column: 1 / 3; grid-row: 7; }
  .keyword-cloud .cloud-word:nth-child(16) { grid-column: 3 / 5; grid-row: 7; }
  .keyword-cloud .cloud-word:nth-child(17) { grid-column: 5 / 7; grid-row: 7; }
  .keyword-cloud .cloud-word:nth-child(18) { grid-column: 1 / 3; grid-row: 8; }
  .keyword-cloud .cloud-word:nth-child(19) { grid-column: 3 / 5; grid-row: 8; }
  .keyword-cloud .cloud-word:nth-child(20) { grid-column: 5 / 7; grid-row: 8; }
  .keyword-cloud .cloud-word:nth-child(21) { grid-column: 1 / 3; grid-row: 9; }
  .keyword-cloud .cloud-word:nth-child(22) { grid-column: 3 / 5; grid-row: 9; }
  .keyword-cloud .cloud-word:nth-child(23) { grid-column: 5 / 7; grid-row: 9; }
  .keyword-cloud .cloud-word:nth-child(24) { grid-column: 1 / 3; grid-row: 10; }
  .keyword-cloud .cloud-word:nth-child(25) { grid-column: 3 / 5; grid-row: 10; }
  .keyword-cloud .cloud-word:nth-child(26) { grid-column: 5 / 7; grid-row: 10; }
  .keyword-cloud .cloud-word:nth-child(27),
  .keyword-cloud .cloud-word:nth-child(28) { display: none; }
}

@media (min-width: 1440px) {
  .usage-card-head strong { font-size: 26px; }
  .usage-card-head span,
  .usage-label,
  .usage-legend > span { font-size: 16px; }
  .usage-remaining { font-size: 18px; }
}


/* ===== Version 12 mobile heading layout ===== */
@media (max-width: 680px) {
  .section-heading.centered .mobile-left-break {
    text-align: left;
  }

  .section-heading.centered .mobile-left-break span {
    display: block;
    text-align: left;
  }
}
