/* ============================================================
       AI CONTENT SUMMARIZER — DARK THEME
       Font: Space Grotesk (display) + Nunito Sans (body)
       Accent: Purple #a78bfa + Gold brand
    ============================================================ */
:root {
  --cs-gold: #ffca40;
  --cs-gold-grad: linear-gradient(
    135deg,
    #ffe550 0%,
    #f1fc59 55%,
    #fdfc47 100%
  );
  --cs-purple: #de7deb;
  --cs-purple-d: linear-gradient(135deg, #ffe550 0%, #f1fc59 55%, #fdfc47 100%);
  --cs-green: #0f4d3c;
  --cs-bg: #000;
  --cs-surf: #0b0b0b;
  --cs-surf2: #0e0e0e;
  --cs-border: rgba(255, 255, 255, 0.07);
  --cs-border-p: rgba(250, 139, 139, 0.2);
  --cs-border-g: rgba(255, 202, 64, 0.2);
  --cs-txt: #fff;
  --cs-txt-d: rgba(255, 255, 255, 0.58);
  --cs-txt-f: rgba(255, 255, 255, 0.28);
  --card-blue1: linear-gradient(135deg, #eff7f4 20%, #f7f2f8 50%, #fde8f1 100%);
}
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

.cs-crumb {
  background: var(--cs-bg);
  border-bottom: 1px solid var(--cs-border);
  padding: 13px 0;
}
.cs-crumb-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--cs-txt-f);
}
.cs-crumb-row a {
  color: black;
  text-decoration: none;
  transition: color 0.2s;
}
.cs-crumb-row a:hover {
     color: rgb(241, 75, 241);
    font-weight: 600;
}
.cs-cur {
     color: rgb(241, 75, 241);
    font-weight: 600;
}

/* ══ HERO ══ */
.cs-hero {
  background: var(--cs-bg);
  position: relative;
  overflow: hidden;
  padding: 90px 0 70px;
  text-align: center;
}
.cs-hero-dots {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.cs-hero-dots::before,
.cs-hero-dots::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
}
.cs-hero-dots::before {
  width: 600px;
  height: 300px;
  background: radial-gradient(
    ellipse,
    rgba(167, 139, 250, 0.12) 0%,
    transparent 70%
  );
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
}
.cs-hero-dots::after {
  width: 300px;
  height: 300px;
  background: radial-gradient(
    circle,
    rgba(255, 202, 64, 0.07) 0%,
    transparent 70%
  );
  bottom: -50px;
  right: 5%;
}
.cs-glow-left {
  position: absolute;
  width: 220px;
  height: 220px;
  background: radial-gradient(
    circle,
    rgba(15, 77, 60, 0.28) 0%,
    transparent 70%
  );
  bottom: 0;
  left: 4%;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
}
.cs-hero-inner {
  position: relative;
  z-index: 2;
}

.cs-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(167, 139, 250, 0.07);
  border: 1px solid rgba(167, 139, 250, 0.22);
  color: rgb(245, 138, 239);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 7px 22px;
  border-radius: 100px;
  margin-bottom: 28px;
}
.cs-badge-dot {
  width: 7px;
  height: 7px;
  background:rgb(247, 71, 238);
  border-radius: 50%;
  animation: csPulse 1.5s ease-in-out infinite;
}

.cs-h1 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--cs-txt);
  line-height: 1.1;
  margin-bottom: 20px;
  color: black;
}
.cs-gold-text {

  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cs-hero-p {
  font-size: 1.06rem;
  color: black;
  max-width: 580px;
  margin: 0 auto 38px;
  line-height: 1.85;
}

/* compression visual */
.cs-compress-visual {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 38px;
  flex-wrap: wrap;
}
.cs-txt-block {
    border-color: rgba(167, 139, 250, 0.2);
    background: rgba(167, 139, 250, 0.06);
  border-radius: 12px;
  padding: 14px 18px;
  text-align: left;
  width: 200px;
}
.cs-txt-block-title {
  font-size: 10px;
  font-weight: 700;
  color: black;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}
.cs-txt-lines {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.cs-txt-line {
  height: 6px;
  border-radius: 3px;
  background: rgba(68, 67, 67, 0.08);
}
.cs-txt-block.cs-original .cs-txt-line:nth-child(1) {
  width: 100%;
  
}
.cs-txt-block.cs-original .cs-txt-line:nth-child(2) {
  width: 95%;
}
.cs-txt-block.cs-original .cs-txt-line:nth-child(3) {
  width: 88%;
}
.cs-txt-block.cs-original .cs-txt-line:nth-child(4) {
  width: 92%;
}
.cs-txt-block.cs-original .cs-txt-line:nth-child(5) {
  width: 70%;
}
.cs-txt-block.cs-summary {
  border-color: rgba(167, 139, 250, 0.2);
  background: rgba(167, 139, 250, 0.06);
  width: 160px;
}
.cs-txt-block.cs-summary .cs-txt-line {
  background: rgba(167, 139, 250, 0.25);
}
.cs-txt-block.cs-summary .cs-txt-line:nth-child(1) {
  width: 100%;
}
.cs-txt-block.cs-summary .cs-txt-line:nth-child(2) {
  width: 90%;
}
.cs-txt-block.cs-summary .cs-txt-line:nth-child(3) {
  width: 68%;
}
.cs-arrow {
  font-size: 1.5rem;
  color: var(--cs-purple);
  opacity: 0.6;
  animation: csArrow 1.5s ease-in-out infinite;
}

.cs-stat-strip {
  display: inline-flex;
  align-items: stretch;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--cs-border);
  border-radius: 16px;
  overflow: hidden;
}
.cs-stat {
  padding: 15px 26px;
  text-align: center;
     border-color: rgba(245, 153, 245, 0.2);
    background: rgba(167, 139, 250, 0.06);
    border: 1px solid   rgba(245, 153, 245, 0.2);
}
.cs-stat:last-child {
  border-right: none;
}
.cs-stat-n {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--cs-purple);
  line-height: 1;
  margin-bottom: 4px;
}
.cs-stat-l {
  font-size: 10px;
  color: black;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

/* ── Limit ── */
.cs-limit-sec {
  background: var(--cs-bg);
  padding: 0 0 28px;
}
.cs-limit-card {
  max-width: 920px;
  margin: 0 auto;
  background: linear-gradient(
    135deg,
    rgba(226, 156, 240, 0.05),
    rgba(15, 77, 60, 0.06)
  );
  border: 1px solid rgba(167, 139, 250, 0.14);
  border-radius: 18px;
  padding: 20px 28px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.cs-limit-icon {
  font-size: 2rem;
  flex-shrink: 0;
}
.cs-limit-body {
  flex: 1;
}
.cs-limit-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.cs-limit-title {
  font-size: 0.92rem;
  font-weight: 700;

}
.cs-limit-count {
  font-size: 13px;
  font-weight: 700;
  color: var(--cs-purple);
}
.cs-limit-track {
  height: 7px;
  background: rgba(95, 91, 91, 0.07);
  border-radius: 100px;
  overflow: hidden;
}
.cs-limit-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--cs-purple), #c4b5fd);
  border-radius: 100px;
  transition: width 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}
.cs-limit-sub {
  font-size: 11.5px;
  color: black;
  margin-top: 6px;
}
.cs-upgrade-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;

  font-weight: 900;
  font-size: 12.5px;
  padding: 9px 22px;
  border-radius: 100px;
  text-decoration: none;
  flex-shrink: 0;
  box-shadow: 0 4px 18px rgba(255, 202, 64, 0.28);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.cs-upgrade-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 26px rgba(255, 202, 64, 0.44);
  color: #050505;
  text-decoration: none;
}
.cs-hard-limit {
  display: none;
  max-width: 920px;
  margin: 8px auto 0;
  background: rgba(255, 65, 65, 0.07);
  border: 1px solid rgba(255, 65, 65, 0.22);
  border-radius: 14px;
  padding: 18px 24px;
  align-items: center;
  gap: 14px;
}
.cs-hard-limit p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
  flex: 1;
}
.cs-hard-limit p strong {
  color: #ff6b6b;
}
.cs-hard-limit a {
  background: var(--cs-gold-grad);
  color: #000;
  font-weight: 700;
  font-size: 12px;
  padding: 8px 20px;
  border-radius: 100px;
  text-decoration: none;
  flex-shrink: 0;
}

/* ══ TOOL ══ */
.cs-tool-sec {
  background: var(--cs-bg);
  padding: 0 0 80px;
}
.cs-tool-wrap {
  max-width: 980px;
  margin: 0 auto;
}

/* Single wide panel */
.cs-main-card {
  background: var(--cs-surf);
  border: 1px solid var(--cs-border);
  border-radius: 22px;
  overflow: hidden;
  transition: border-color 0.3s;
  margin-bottom: 24px;
}
.cs-main-card:focus-within {
  border-color: var(--cs-border-p);
}

.cs-card-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  background: rgba(211, 202, 202, 0.02) !important;
  border-bottom: 1px solid var(--cs-border);
}
.cs-bar-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.cs-bar-dot:nth-child(1) {
  background: #ff5f56;
}
.cs-bar-dot:nth-child(2) {
  background: #ffbd2d;
}
.cs-bar-dot:nth-child(3) {
  background: #27c93f;
}
.cs-bar-title {
  margin-left: 8px;
  font-size: 11.5px;
  color: var(--cs-txt-f);
  font-weight: 600;
  flex: 1;
}
.cs-bar-badge {
  background: rgba(167, 139, 250, 0.1);
  border: 1px solid rgba(167, 139, 250, 0.25);
  color: var(--cs-purple);
  font-size: 10px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 100px;
}

.cs-form-inner {
  padding: 26px;
  background-color: var(--cs-txt);
}
.cs-form-top-grid {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 16px;
  align-items: end;
  margin-bottom: 16px;
}

.cs-field {
  margin-bottom: 0;
}
.cs-label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 700;
  color: rgba(12, 12, 12, 0.6);
  margin-bottom: 8px;
}
.cs-label-hint {
  margin-left: auto;
  font-size: 10.5px;
  font-weight: 400;
  color: var(--cs-txt-f);
}

.cs-textarea,
.cs-select,
.cs-input {
  width: 100%;
  background-color: var(--cs-txt);
  border: 1px solid rgb(253, 234, 255);
  border-radius: 11px;
  color: var(--cs-bg);
  font-family: "Nunito Sans", sans-serif;
  font-size: 13px;
  padding: 11px 14px;
  outline: none;
  transition:
    border-color 0.25s,
    box-shadow 0.25s;
}
.cs-textarea::placeholder {
  color: var(--cs-txt-f);
  font-size: 12.5px;
}
.cs-textarea:focus,
.cs-select:focus {
  border-color: rgba(167, 139, 250, 0.4);
  box-shadow: 0 0 0 3px rgba(167, 139, 250, 0.06);
}
.cs-textarea {
  resize: vertical;
  line-height: 1.75;
}
.cs-select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  padding-right: 36px;
}
.cs-select option {
  background: #181818;
}
.cs-select-wrap {
  position: relative;
  min-width: 140px;
}
.cs-sel-arr {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--cs-txt-f);
  pointer-events: none;
  font-size: 11px;
}

/* Summary length selector */
.cs-len-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cs-len-label {
  font-size: 12px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.2px;
}
.cs-len-btns {
  display: flex;
  gap: 8px;
}
.cs-len-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: var(--cs-txt-d);
  font-family: "Nunito Sans", sans-serif;
  font-size: 12px;
  font-weight: 700;
  padding: 10px 16px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
    background: rgba(167, 139, 250, 0.12);
  border-color: rgba(167, 139, 250, 0.4);
  color: var(--cs-purple);
}
.cs-len-btn:hover {
  background: rgba(167, 139, 250, 0.08);
  border-color: rgba(167, 139, 250, 0.25);
  color: var(--cs-purple);
}
.cs-len-btn.active {
  background: rgba(167, 139, 250, 0.12);
  border-color: rgba(167, 139, 250, 0.4);
  color: var(--cs-purple);
}
.cs-len-btn .cs-len-sub {
  display: block;
  font-size: 9.5px;
  font-weight: 400;
  color: inherit;
  opacity: 0.65;
  margin-top: 2px;
}

.cs-action-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.cs-gen-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;


  font-family: "Nunito Sans", sans-serif;
  font-size: 14.5px;
  font-weight: 900;
  border: none;
  border-radius: 12px;
  padding: 14px 24px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
  box-shadow: 0 4px 22px rgba(255, 202, 64, 0.26);
}
.hero-section1 {
    background: var(--card-blue1) !important;
}
.cs-gen-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.2);
  transform: translateX(-108%) skewX(-18deg);
  transition: transform 0.5s;
}
.cs-gen-btn:hover::after {
  transform: translateX(112%) skewX(-18deg);
}
.cs-gen-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 34px rgba(255, 202, 64, 0.42);
}
.cs-gen-btn:active {
  transform: translateY(0);
}
.cs-gen-btn:disabled {
  opacity: 0.42;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}
.cs-gen-btn:disabled::after {
  display: none;
}
.cs-clear-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: rgba(255, 255, 255, 0.55);
  font-family: "Nunito Sans", sans-serif;
  font-size: 13px;
  font-weight: 700;
  padding: 14px 18px;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}
.cs-clear-btn:hover {
  background: rgba(255, 75, 75, 0.07);
  border-color: rgba(255, 75, 75, 0.2);
  color: #ff7a7a;
}

/* Word count bar */
.cs-word-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0 0;
  font-size: 11.5px;
  color: var(--cs-txt-f);
}
.cs-word-count {
  transition: color 0.2s;
}
.cs-word-count.warn {
  color: var(--cs-gold);
}

/* OUTPUT */
.cs-empty {
  background: var(--cs-txt);
  border: 2px dashed rgba(255, 255, 255, 0.06);
  border-radius: 18px;
  padding: 50px 28px;
  text-align: center;
}
.cs-empty-icon {
  font-size: 2.6rem;
  margin-bottom: 14px;
  opacity: 0.38;
}
.cs-empty-title {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: black;
  margin-bottom: 9px;
}
.cs-empty-sub {
  font-size: 13px;
  color: var(--cs-bg);
  line-height: 1.75;
  max-width: 380px;
  margin: 0 auto;
}

/* Loader */
.cs-loader {
  display: none;
  background: var(--cs-surf);
  border: 1px solid rgba(167, 139, 250, 0.12);
  border-radius: 18px;
  padding: 44px 28px;
  text-align: center;
  animation: csFadeUp 0.35s ease;
}
.cs-pages {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 8px;
  margin-bottom: 22px;
  height: 50px;
}
.cs-page {
  width: 32px;
  background: rgba(167, 139, 250, 0.15);
  border: 1px solid rgba(167, 139, 250, 0.2);
  border-radius: 3px;
  animation: csPageShorten ease-in-out infinite alternate;
}
.cs-page:nth-child(1) {
  height: 50px;
  animation-duration: 0.9s;
  animation-delay: 0s;
}
.cs-page:nth-child(2) {
  height: 45px;
  animation-duration: 1.1s;
  animation-delay: 0.15s;
}
.cs-page:nth-child(3) {
  height: 40px;
  animation-duration: 0.85s;
  animation-delay: 0.3s;
  background: rgba(167, 139, 250, 0.3);
}
.cs-page:nth-child(4) {
  height: 30px;
  animation-duration: 1.2s;
  animation-delay: 0.1s;
}
.cs-page:nth-child(5) {
  height: 18px;
  animation-duration: 0.95s;
  animation-delay: 0.4s;
  background: rgba(167, 139, 250, 0.45);
}
.cs-loader-phrase {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--cs-txt);
  margin-bottom: 10px;
}
.cs-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-bottom: 22px;
}
.cs-dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(167, 139, 250, 0.55);
  animation: csDot 1.3s ease-in-out infinite;
}
.cs-dots span:nth-child(2) {
  animation-delay: 0.16s;
}
.cs-dots span:nth-child(3) {
  animation-delay: 0.32s;
}

.cs-error {
  display: none;
  background: rgba(255, 65, 65, 0.06);
  border: 1px solid rgba(255, 65, 65, 0.2);
  border-radius: 18px;
  padding: 32px;
  text-align: center;
  animation: csFadeUp 0.3s ease;
}
.cs-error-ico {
  font-size: 1.8rem;
  margin-bottom: 10px;
}
.cs-error-msg {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 14px;
}
.cs-retry {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--cs-txt);
  font-family: "Nunito Sans", sans-serif;
  font-size: 13px;
  font-weight: 700;
  padding: 9px 22px;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.2s;
}
.cs-retry:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Result */
.cs-result {
  display: none;
  animation: csFadeUp 0.4s ease;
}
.cs-result-hdr {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}
.cs-res-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(167, 139, 250, 0.12);
  border: 1px solid rgba(167, 139, 250, 0.3);
  color: var(--cs-purple);
  font-size: 11px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 100px;
}
.cs-res-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.cs-res-tag {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--cs-txt-f);
  font-size: 11px;
  padding: 3px 11px;
  border-radius: 100px;
}
.cs-res-actions {
  display: flex;
  gap: 9px;
}
.cs-act-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: rgba(255, 255, 255, 0.6);
  font-family: "Nunito Sans", sans-serif;
  font-size: 12px;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 9px;
  cursor: pointer;
  transition: all 0.2s;
}
.cs-act-btn:hover {
  background: rgba(167, 139, 250, 0.1);
  border-color: rgba(167, 139, 250, 0.28);
  color: var(--cs-purple);
}

/* Summary card */
.cs-summary-card {
  background: var(--cs-surf);
  border: 1px solid rgba(167, 139, 250, 0.15);
  border-radius: 18px;
  overflow: hidden;
  position: relative;
}
.cs-summary-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    var(--cs-purple),
    #c4b5fd,
    rgba(167, 139, 250, 0.2)
  );
}
.cs-summary-inner {
  padding: 28px 24px;
}
.cs-summary-badge-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.cs-summary-ico {
  width: 36px;
  height: 36px;
  background: rgba(167, 139, 250, 0.1);
  border: 1px solid rgba(167, 139, 250, 0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.cs-summary-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--cs-purple);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.cs-summary-text {
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.88);
  line-height: 2;
  font-family: "Nunito Sans", sans-serif;
}

/* Metrics strip */
.cs-metrics {
  display: flex;
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  margin-top: 20px;
  padding-top: 16px;
}
.cs-metric {
  flex: 1;
  text-align: center;
  padding: 0 12px;
  border-right: 1px solid rgba(255, 255, 255, 0.05);
}
.cs-metric:last-child {
  border-right: none;
}
.cs-metric-n {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--cs-purple);
  line-height: 1;
  margin-bottom: 4px;
}
.cs-metric-l {
  font-size: 10px;
  color: var(--cs-txt-f);
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.cs-regen-row {
  display: flex;
  justify-content: center;
  margin-top: 16px;
}
.cs-regen-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: rgba(255, 255, 255, 0.6);
  font-family: "Nunito Sans", sans-serif;
  font-size: 13px;
  font-weight: 700;
  padding: 11px 26px;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s;
}
.cs-regen-btn:hover {
  background: rgba(167, 139, 250, 0.07);
  border-color: rgba(167, 139, 250, 0.22);
  color: var(--cs-purple);
}

/* SEO Sections */
.cs-sec {
  padding: 76px 0;
  background: var(--cs-surf);
}
.cs-sec-alt {
  background: var(--cs-surf2);
  border-top: 1px solid var(--cs-border);
  border-bottom: 1px solid var(--cs-border);
}
.cs-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--cs-purple);
  margin-bottom: 14px;
  display: block;
}
.cs-sec-h2 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.9rem, 3.8vw, 2.7rem);
  font-weight: 700;
  color: var(--cs-txt);
  line-height: 1.14;
  margin-bottom: 14px;
}
.cs-sec-p {
  font-size: 0.97rem;
  line-height: 1.9;
  color: black;
}

.cs-types-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 14px;
  margin-top: 40px;
}
.cs-type-card {
  background: white;
  border: 1px solid var(--cs-border);
  border-radius: 14px;
  padding: 20px;
  transition: all 0.25s;
}
.cs-type-card:hover {
  border-color: var(--cs-border-p);
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.4);
}
.cs-type-ico {
  font-size: 1.6rem;
  margin-bottom: 10px;
}
.cs-type-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: black;
  margin-bottom: 5px;
}
.cs-type-desc {
  font-size: 12px;
  color: rgb(51, 50, 50);
  line-height: 1.65;
  margin: 0;
}

.cs-lang-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 12px;
  margin-top: 36px;
}
.cs-lang-card {
  background: rgb(243, 234, 235);
  border: 1px solid var(--cs-border);
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.2s;
}
.cs-lang-card:hover {
  border-color: var(--cs-border-p);
  background: rgba(167, 139, 250, 0.04);
}
.cs-lang-flag {
  font-size: 1.2rem;
  color: var(--cs-purple);
}
.cs-lang-name {
  font-size: 12.5px;
  font-weight: 700;
  color: rgb(61, 60, 60);
}

.cs-faq-wrap {
  max-width: 760px;
  margin: 0 auto;
}
.cs-faq-list {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-top: 40px;
}
.cs-faq-item {
  background: var(--cs-surf);
  border: 1px solid var(--cs-border);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.25s;
}
.cs-faq-item.open {
  border-color: rgba(167, 139, 250, 0.28);
}
.cs-faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 22px;
  cursor: pointer;
  user-select: none;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--cs-bg);
  background:var(--card-blue1);
}
.cs-faq-arr {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: var(--cs-txt-f);
  transition:
    transform 0.25s,
    background 0.2s,
    color 0.2s;
}
.cs-faq-item.open .cs-faq-arr {
  transform: rotate(180deg);
  background: rgba(167, 139, 250, 0.12);
  color: var(--cs-purple);
}
.cs-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.34s ease;
  font-size: 13px;
  color: var(--cs-txt-d);
  line-height: 1.85;
}
.cs-faq-a-inner {
  padding: 0 22px 18px;
  padding-top: 14px;
  color: var(--cs-bg);
  background: var(--card-blue1);
}
.cs-faq-item.open .cs-faq-a {
  max-height: 280px;
}

/* CTA */
.cs-cta-sec {
  background: var(--cs-bg);
  padding: 76px 0 96px;
  position: relative;
  overflow: hidden;
}
.cs-cta-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(
      ellipse 700px 280px at 50% 55%,
      rgba(167, 139, 250, 0.055) 0%,
      transparent 70%
    ),
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size:
    100% 100%,
    60px 60px,
    60px 60px;
}
.cs-cta-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 700px;
  margin: 0 auto 56px;
}
.cs-cta-h2 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 700;
  color: var(--cs-txt);
  line-height: 1.14;
  margin-bottom: 18px;
}
.cs-cta-h2 em {
  font-style: italic;
  color: var(--cs-purple);
}
.cs-cta-p {
  color: black;
  font-size: 1rem;
  line-height: 1.85;
  margin-bottom: 34px;
}
.cs-cta-btns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.cs-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 9px;

  font-weight: 900;
  font-size: 14px;
  padding: 14px 30px;
  border-radius: 12px;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(255, 202, 64, 0.3);
  position: relative;
  overflow: hidden;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.cs-btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.2);
  transform: translateX(-108%) skewX(-15deg);
  transition: transform 0.45s;
}
.cs-btn-primary:hover::after {
  transform: translateX(112%) skewX(-15deg);
}
.cs-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(255, 202, 64, 0.45);
  color: #080808;
  text-decoration: none;
}
.cs-btn-demo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(15, 77, 60, 0.4);
  border: 1px solid rgba(15, 77, 60, 0.6);
  color: var(--cs-txt);
  font-weight: 700;
  font-size: 14px;
  padding: 14px 30px;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.2s;
}
.cs-btn-demo:hover {
  background: rgba(15, 77, 60, 0.65);
  color: var(--cs-txt);
  text-decoration: none;
  transform: translateY(-2px);
}
.cs-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(49, 45, 45, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.11);
  color: rgba(54, 52, 52, 0.65);
  font-weight: 700;
  font-size: 14px;
  padding: 14px 30px;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.2s;
}
.cs-btn-ghost:hover {
  background: rgba(56, 55, 55, 0.08);
  color: var(--cs-txt);
  text-decoration: none;
  transform: translateY(-2px);
}
.cs-trust-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}
.cs-trust-pill {
  font-size: 12px;
  color: var(--cs-txt-f);
  padding: 4px 14px;
  border: 1px solid var(--cs-border);
  border-radius: 100px;
}
.cs-feat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  position: relative;
  z-index: 1;
}
.cs-feat-card {
  background: white;
  border: 1px solid var(--cs-border);
  border-radius: 18px;
  padding: 26px;
  transition: all 0.28s;
}
.cs-feat-card:hover {
  border-color: var(--cs-border-p);
  transform: translateY(-4px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.4);
}
.cs-feat-ico {
  font-size: 1.8rem;
  margin-bottom: 12px;
}
.cs-feat-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: black;
  margin-bottom: 7px;
}
.cs-feat-desc {
  font-size: 12.5px;
  color: rgb(44, 44, 44);
  line-height: 1.75;
  margin-bottom: 14px;
}
.cs-feat-link {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--cs-purple);
  text-decoration: none;
}
.cs-feat-link:hover {
  color: #c4b5fd;
  text-decoration: none;
}

/* Toast */
#csToastWrap {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 99999;
  display: flex;
  flex-direction: column-reverse;
  gap: 10px;
  pointer-events: none;
}
.cs-toast {
  pointer-events: auto;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #111214;
  border: 1px solid rgba(167, 139, 250, 0.25);
  border-radius: 14px;
  padding: 14px 18px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.7);
  min-width: 270px;
  max-width: 360px;
  position: relative;
  overflow: hidden;
  animation: csToastIn 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) both;
  transition:
    opacity 0.3s,
    transform 0.3s;
}
.cs-toast.hide {
  opacity: 0;
  transform: translateX(18px);
}
.cs-toast.t-success {
  border-color: rgba(39, 201, 63, 0.28);
}
.cs-toast.t-warn {
  border-color: rgba(255, 202, 64, 0.35);
}
.cs-toast.t-error {
  border-color: rgba(255, 75, 75, 0.28);
}
.cs-toast.t-limit {
  border-color: rgba(255, 75, 75, 0.35);
  background: rgba(16, 8, 8, 0.97);
}
.cs-toast-ico {
  font-size: 1.2rem;
  flex-shrink: 0;
  line-height: 1;
}
.cs-toast-body {
  flex: 1;
}
.cs-toast-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--cs-txt);
  margin-bottom: 2px;
}
.cs-toast-msg {
  font-size: 11.5px;
  color: var(--cs-txt-d);
  line-height: 1.5;
}
.cs-toast-close {
  background: none;
  border: none;
  color: var(--cs-txt-f);
  font-size: 13px;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  flex-shrink: 0;
  transition: color 0.2s;
}
.cs-toast-close:hover {
  color: var(--cs-txt);
}
.cs-toast-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  border-radius: 0 0 14px 14px;
  background: linear-gradient(90deg, var(--cs-purple), #c4b5fd);
  animation: csToastBar linear forwards;
}

@keyframes csPulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.4;
    transform: scale(0.7);
  }
}
@keyframes csFadeUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes csDot {
  0%,
  100% {
    opacity: 0.25;
    transform: scale(0.75);
  }
  50% {
    opacity: 1;
    transform: scale(1.25);
  }
}
@keyframes csArrow {
  0%,
  100% {
    opacity: 0.5;
    transform: translateX(0);
  }
  50% {
    opacity: 1;
    transform: translateX(5px);
  }
}
@keyframes csPageShorten {
  from {
    opacity: 0.4;
  }
  to {
    opacity: 0.9;
    transform: scaleY(0.55);
  }
}
@keyframes csToastIn {
  from {
    opacity: 0;
    transform: translateX(28px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}
@keyframes csToastBar {
  from {
    width: 100%;
  }
  to {
    width: 0%;
  }
}

@media (max-width: 700px) {
  .cs-form-top-grid {
    grid-template-columns: 1fr;
  }
  .cs-len-btns {
    gap: 6px;
  }
}
@media (max-width: 600px) {
  .cs-hero {
    padding: 60px 0 46px;
  }
  .cs-compress-visual {
    display: none;
  }
  .cs-stat-strip {
    flex-direction: column;
    border-radius: 16px;
  }
  .cs-stat {
    border-right: none;
    border-bottom: 1px solid var(--cs-border);
  }
  .cs-stat:last-child {
    border-bottom: none;
  }
  .cs-limit-card {
    flex-direction: column;
    gap: 14px;
  }
  .cs-action-row {
    flex-direction: column;
  }
  .cs-gen-btn,
  .cs-clear-btn {
    width: 100%;
  }
  .cs-cta-btns {
    flex-direction: column;
  }
  .cs-btn-primary,
  .cs-btn-demo,
  .cs-btn-ghost {
    width: 100%;
    justify-content: center;
  }
  #csToastWrap {
    left: 16px;
    right: 16px;
  }
  .cs-toast {
    min-width: unset;
    max-width: 100%;
  }
}

/* ─────────────────────────────────────────
         OTHER AI TOOLS SECTION
      ───────────────────────────────────────── */
.tools-sec {
  padding: 80px 0;
  background: #040404;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.tools-header {
  margin-bottom: 52px;
}
.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(195px, 1fr));
  gap: 15px;
}
.tool-card {
  background: #fcfafa;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  padding: 22px 20px 20px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
  transition: all 0.26s;
  position: relative;
  overflow: hidden;
}
.tool-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: purple;
  transform: scaleX(0);
  transition: transform 0.26s;
}
.tool-card:hover {
  border-color: rgba(255, 202, 64, 0.28);
  transform: translateY(-5px);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.5);
  text-decoration: none;
}
.tool-card:hover::after {
  transform: scaleX(1);
}
.tool-card-ico {
  width: 44px;
  height: 44px;
  background: linear-gradient(
    135deg,
    rgba(255, 202, 64, 0.1),
    rgba(255, 202, 64, 0.03)
  );
  border: 1px solid rgba(255, 202, 64, 0.14);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.tool-card-name {
  font-size: 0.875rem;
  font-weight: 800;
  color: #0a0a0a;
  line-height: 1.35;
}
.tool-card-desc {
  font-size: 12px;
  color: rgba(2, 2, 2, 0.36);
  line-height: 1.68;
  flex: 1;
  margin: 0;
}
.tool-card-cta {
  font-size: 11.5px;
  font-weight: 800;

  opacity: 0;
  transform: translateX(-4px);
  transition:
    opacity 0.2s,
    transform 0.2s;
}
.tool-card:hover .tool-card-cta {
  opacity: 1;
  transform: translateX(0);
}
/* Current page card */
.tool-card-current {
  border-color: rgba(255, 202, 64, 0.28) !important;
  background: rgba(255, 202, 64, 0.04) !important;
  pointer-events: none;
}
.tool-card-current::after {
  transform: scaleX(1) !important;
}
.tool-card-badge {
  position: absolute;
  top: 11px;
  right: 11px;
  background: rgba(255, 202, 64, 0.14);
  border: 1px solid rgba(255, 202, 64, 0.28);
  color: #ffca40;
  font-size: 8.5px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 100px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ─────────────────────────────────────────
         SHARED SEO SECTION UTILITIES
      ───────────────────────────────────────── */
.seo-sec {
  padding: 80px 0;
  background: #000;
}
.seo-sec-alt {
  background: #070707;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.seo-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2.2px;
  text-transform: uppercase;

  margin-bottom: 14px;
}
.seo-h2 {
  font-size: clamp(1.8rem, 3.6vw, 2.7rem);
  font-weight: 800;
  color: black;
  line-height: 1.16;
  margin-bottom: 15px;
  letter-spacing: -0.4px;
}
.seo-h2-accent {

  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.seo-lead {
  color: rgba(10, 10, 10, 0.52);
  font-size: 0.97rem;
  line-height: 1.9;
  max-width: 660px;
  margin-bottom: 0;
}

/* ================================================================
   AFTER RESULTS CTA
================================================================ */

.tg-after-cta {
  margin-bottom: 10px;
  margin-top: 10px;
  animation: tgSlideIn 0.4s ease;
}

.tg-after-cta-inner {
  background: linear-gradient(
    145deg,
    rgba(15, 77, 60, 0.25),
    rgba(255, 202, 64, 0.05)
  );
  border: 1px solid rgba(255, 202, 64, 0.25);
  border-radius: 22px;
  padding: 42px 36px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.tg-after-cta-inner::before {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle,
    rgba(255, 202, 64, 0.15) 0%,
    transparent 70%
  );
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  filter: blur(80px);
  pointer-events: none;
}

.tg-after-badge {
  display: inline-block;
  background: rgba(255, 202, 64, 0.12);
  border: 1px solid rgba(255, 202, 64, 0.3);
  color: #ffca40;
  font-size: 11px;
  font-weight: 700;
  padding: 6px 18px;
  border-radius: 100px;
  letter-spacing: 1px;
  margin-bottom: 18px;
}

.tg-after-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 14px;
}

.tg-after-sub {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  max-width: 560px;
  margin: 0 auto 28px;
  line-height: 1.8;
}

.tg-after-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.tg-after-btn-primary {
  background: linear-gradient(
    to right,
    #ffe550 0%,
    #f1fc59 50%,
    #fdfc47 100%
  );
  color: #000;
  font-weight: 800;
  font-size: 14px;
  padding: 12px 28px;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.25s;
  box-shadow: 0 8px 24px rgba(255, 202, 64, 0.3);
}

.tg-after-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(255, 202, 64, 0.45);
  color: #000;
}

.tg-after-btn-outline {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  font-weight: 700;
  font-size: 14px;
  padding: 12px 24px;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.25s;
}

.tg-after-btn-outline:hover {
  border-color: #ffca40;
  color: #ffca40;
}

.tg-after-note {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.28);
}