/* ================================================================
       YUAA AI — BLOG TITLE GENERATOR PAGE STYLES
       Dark theme · Brand yellow #ffca40 · DM Serif Display headings
    ================================================================ */

:root {
  --y-gold: #ffca40;
  --y-gold-lt: #f1fc59;
  --y-gold-grad: linear-gradient(
    to right,
    #ffe550 0%,
    #f1fc59 50%,
    #fdfc47 100%
  );
  --y-green: #0f4d3c;
  --y-green-glow: rgba(15, 77, 60, 0.45);
  --y-bg: #000000;
  --y-surface: #0c0c0c;
  --y-surface2: #111111;
  --y-border: rgba(255, 255, 255, 0.07);
  --y-border-h: rgba(255, 202, 64, 0.25);
  --y-text: #ffffff;
  --y-text-dim: rgba(255, 255, 255, 0.55);
  --y-text-faint: rgba(255, 255, 255, 0.28);
  --y-red: rgba(255, 75, 75, 0.85);
    --navbar-100: rgba(255, 255, 255, 0.6);
  --border-bottom: rgba(255, 255, 255, 0.3);
    --color-home-bg: #f5f5f2;
      --color-primary-lighter-10: #ecc2e7;
        --card-blue1: linear-gradient(135deg, #eff7f4 20%, #f7f2f8 50%, #fde8f1 100%);
}

/* ---- Breadcrumb ---- */
.tg-breadcrumb {
  background: var( --card-blue1);
  border-bottom: 1px solid var(--y-border);
  padding: 14px 0;
}
.tg-breadcrumb-inner {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--y-text-faint);
  padding-top: 50px !important;
}
.tg-breadcrumb-inner a {
  color: black;
  text-decoration: none;
  transition: color 0.2s;
}
.tg-breadcrumb-inner a:hover {
  color: rgb(241, 75, 241);
}
.tg-breadcrumb-sep {
  font-size: 10px;
}
.tg-breadcrumb-cur {
  color: rgb(241, 75, 241);
  font-weight: 600;
}
.hero-section1 {
    background: var(--card-blue1) !important;
}

/* ================================================================
       HERO
    ================================================================ */
.tg-hero {
  position: relative;
  background: var(--y-bg);
  padding: 20px 0 72px;
  overflow: hidden;
  text-align: center;
}

/* Grid lines bg */
.tg-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.tg-hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  pointer-events: none;
}
.tg-glow-a {
  width: 640px;
  height: 380px;
  background: radial-gradient(
    ellipse,
    rgba(255, 202, 64, 0.18) 0%,
    transparent 70%
  );
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
}
.tg-glow-b {
  width: 300px;
  height: 300px;
  background: radial-gradient(
    circle,
    rgba(15, 77, 60, 0.35) 0%,
    transparent 70%
  );
  bottom: -60px;
  right: 8%;
}
.tg-glow-c {
  width: 200px;
  height: 200px;
  background: radial-gradient(
    circle,
    rgba(15, 77, 60, 0.25) 0%,
    transparent 70%
  );
  bottom: -40px;
  left: 5%;
}

.tg-hero-inner {
  position: relative;
  z-index: 2;
}

.tg-tool-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(236, 153, 229, 0.08);
  border: 1px solid rgba(230, 53, 247, 0.22);
  padding: 7px 20px;
  border-radius: 100px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: rgb(233, 52, 233);
  margin-bottom: 30px;
}
.tg-badge-pulse {
  width: 8px;
  height: 8px;
  background: purple;
  border-radius: 50%;
  animation: tgPulse 1.6s ease-in-out infinite;
}

.tg-hero-h1 {
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  font-weight: 400;
  line-height: 1.12;
  color: var(--y-bg);
  margin-bottom: 22px;
  letter-spacing: -0.5px;
}
.tg-hero-h1 .tg-accent {

  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-style: italic;
}

.tg-hero-sub {
  font-size: 1.08rem;
  color: var(--y-text-dim);
  max-width: 580px;
  margin: 0 auto 38px;
  line-height: 1.8;
  color: var(--y-bg) !important;
}

/* Stats strip */
.tg-stats-strip {
  display: inline-flex;
  align-items: center;
  gap: 0;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--y-border);
  border-radius: 14px;
  overflow: hidden;
}
.tg-stat-item {
  padding: 16px 28px;
  text-align: center;
  border-right: 1px solid var(--y-border);
}
.tg-stat-item:last-child {
  border-right: none;
}
.tg-stat-n {
  display: block;
  font-size: 1.6rem;
  color: var(--y-gold);
  line-height: 1;
  margin-bottom: 4px;
}
.tg-stat-l {
  font-size: 11px;
  color: var(--y-text-faint);
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

/* ================================================================
       MAIN TOOL SECTION
    ================================================================ */
.tg-tool-section {

  padding: 64px 0 80px;
}

.tg-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
  max-width: 1140px;
  margin: 0 auto;
}

/* ---- Form Panel ---- */
.tg-form-panel {
    background: var(--y-text);
    border: 1px solid var(--y-border);
    border-radius: 22px;
    padding: 36px;
    position: sticky;
    top: 90px;
    transition: border-color 0.3s;
}
.tg-form-panel:hover {
  border-color: var(--y-border-h);
}

.tg-panel-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 24px;
  margin-bottom: 26px;
  border-bottom: 1px solid var(--y-border);
}
.tg-panel-avatar {
  width: 50px;
  height: 50px;
  background: var(--card-blue1);
  border: 2px solid rgba(255, 202, 64, 0.25);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}
.tg-panel-title {
    font-size: 1rem;
    font-weight: 800;
    color: var(--y-bg);
    margin: 0;
}
.tg-panel-sub {
  font-size: 12px;
  color: var(--y-bg);
  margin: 3px 0 0;
}

/* Usage bar */
.tg-usage {
  margin-bottom: 22px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(46, 45, 45, 0.09);
  border-radius: 12px;
}
.tg-usage-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--y-text-faint);
  margin-bottom: 8px;
}
.tg-usage-count {
  color: var(--y-gold);
  font-weight: 700;
}
.tg-usage-track {
  height: 3px;
  background: rgba(48, 47, 47, 0.07);
  border-radius: 100px;
  overflow: hidden;
}
.tg-usage-fill {
  height: 100%;
  background: var(--y-gold-grad);
  border-radius: 100px;
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Limit warning */
.tg-limit-warn {
  display: none;
  background: rgba(255, 75, 75, 0.07);
  border: 1px solid rgba(255, 75, 75, 0.25);
  border-radius: 12px;
  padding: 14px 18px;
  margin-bottom: 20px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
  animation: tgSlideIn 0.35s ease;
}
.tg-limit-warn strong {
  color: #ff6b6b;
}
.tg-limit-upgrade {
  display: inline-block;
  margin-top: 10px;
  background: var(--y-gold-grad);
  color: #000;
  font-weight: 800;
  font-size: 12px;
  padding: 7px 18px;
  border-radius: 100px;
  text-decoration: none;
  transition: opacity 0.2s;
}
.tg-limit-upgrade:hover {
  opacity: 0.85;
  color: #000;
  text-decoration: none;
}

/* Fields */
.tg-field {
  margin-bottom: 18px;
}
.tg-label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--y-bg);
  margin-bottom: 9px;
  letter-spacing: 0.2px;
}
.tg-label-icon {
  font-size: 14px;
}
.tg-label-hint {
  margin-left: auto;
  font-size: 11px;
  font-weight: 400;
  color: var(--y-text-faint);
}

.tg-input,
.tg-textarea,
.tg-select {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(46, 45, 45, 0.09);
  border-radius: 11px;
  color: var(--y-bg);
  font-family: "Nunito Sans", sans-serif;
  font-size: 13.5px;
  padding: 12px 15px;
  outline: none;
  transition:
    border-color 0.25s,
    box-shadow 0.25s;
}
.tg-input::placeholder,
.tg-textarea::placeholder {
  color: var(--y-text-faint);
  font-size: 13px;
}
.tg-input:focus,
.tg-textarea:focus,
.tg-select:focus {
  border-color: rgba(247, 146, 242, 0.938);
  box-shadow: 0 0 0 3px rgba(255, 202, 64, 0.07);
}
.tg-textarea {
  resize: vertical;
  line-height: 1.7;
}

.tg-row2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 18px;
}

.tg-select-wrap {
  position: relative;
}
.tg-select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  padding-right: 38px;
}
.tg-select option {
  background: var(--color-home-bg);
}
.tg-select-arr {
  position: absolute;
  right: 13px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--y-text-faint);
  pointer-events: none;
  font-size: 11px;
}

/* Char counter */
.tg-field-wrap {
  position: relative;
}
.tg-char {
  position: absolute;
  bottom: 10px;
  right: 12px;
  font-size: 10.5px;
  color: var(--y-text-faint);
  pointer-events: none;
}

/* Generate btn */
.tg-gen-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #0a0a0a;
  font-family: "Nunito Sans", sans-serif;
  font-size: 14.5px;
  font-weight: 900;
  border: none;
  border-radius: 12px;
  padding: 15px 24px;
  cursor: pointer;
  letter-spacing: 0.3px;
  position: relative;
  overflow: hidden;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
  box-shadow: 0 4px 22px rgba(255, 202, 64, 0.28);
}
.tg-gen-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.18);
  transform: translateX(-105%) skewX(-20deg);
  transition: transform 0.5s;
}
.tg-gen-btn:hover::after {
  transform: translateX(110%) skewX(-20deg);
}
.tg-gen-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(255, 202, 64, 0.42);
}
.tg-gen-btn:active {
  transform: translateY(0);
}
.tg-gen-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}
.tg-gen-btn:disabled::after {
  display: none;
}

/* ---- Output Panel ---- */
.tg-output-panel {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Empty state */
.tg-empty-state {
  background: var(--y-text);
  border: 2px dashed rgba(255, 255, 255, 0.07);
  border-radius: 22px;
  padding: 60px 36px;
  text-align: center;
  /* background: var(--navbar-100) !important; */
}
.tg-empty-icon {
  font-size: 3rem;
  margin-bottom: 16px;
  opacity: 0.5;
}
.tg-empty-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--y-bg);
  margin-bottom: 8px;
}
.tg-empty-sub {
  font-size: 13px;
  color: var(--y-bg);
  line-height: 1.7;
}

/* Loader panel */
.tg-loader-panel {
  display: none;
  background: var(--y-surface);
  border: 1px solid rgba(255, 202, 64, 0.15);
  border-radius: 22px;
  padding: 48px 36px;
  text-align: center;
  animation: tgSlideIn 0.35s ease;
}

/* Orbital loader */
.tg-orbital {
  position: relative;
  width: 100px;
  height: 100px;
  margin: 0 auto 28px;
}
.tg-orbit {
  position: absolute;
  border-radius: 50%;
  border: 2px solid transparent;
}
.tg-orbit-1 {
  inset: 0;
  border-top-color: var(--y-gold);
  border-right-color: rgba(255, 202, 64, 0.2);
  animation: tgSpin 1.8s linear infinite;
}
.tg-orbit-2 {
  inset: 14px;
  border-top-color: var(--y-gold-lt);
  border-left-color: rgba(241, 252, 89, 0.2);
  animation: tgSpin 1.2s linear infinite reverse;
}
.tg-orbit-3 {
  inset: 28px;
  border-top-color: rgba(255, 202, 64, 0.5);
  animation: tgSpin 0.9s linear infinite;
}
.tg-orbit-core {
  position: absolute;
  inset: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  animation: tgFloat 1.4s ease-in-out infinite alternate;
}

.tg-loader-phrase {
  font-size: 1.15rem;
  color: var(--y-text);
  margin-bottom: 10px;
  min-height: 2rem;
}
.tg-loader-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-bottom: 28px;
}
.tg-loader-dots span {
  width: 7px;
  height: 7px;
  background: rgba(255, 202, 64, 0.45);
  border-radius: 50%;
  animation: tgDot 1.4s ease-in-out infinite;
}
.tg-loader-dots span:nth-child(2) {
  animation-delay: 0.18s;
}
.tg-loader-dots span:nth-child(3) {
  animation-delay: 0.36s;
}

.tg-steps {
  display: flex;
  flex-direction: column;
  gap: 9px;
  max-width: 280px;
  margin: 0 auto;
  text-align: left;
}
.tg-step {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.04);
  font-size: 12.5px;
  transition: all 0.3s;
}
.tg-step.tg-step-active {
  background: rgba(255, 202, 64, 0.06);
  border-color: rgba(255, 202, 64, 0.18);
  color: rgba(255, 255, 255, 0.9);
}
.tg-step.tg-step-done {
  background: rgba(15, 77, 60, 0.18);
  border-color: rgba(15, 77, 60, 0.35);
  color: rgba(255, 255, 255, 0.6);
}
.tg-step-lbl {
  flex: 1;
  color: rgba(255, 255, 255, 0.45);
}
.tg-step.tg-step-active .tg-step-lbl,
.tg-step.tg-step-done .tg-step-lbl {
  color: inherit;
}
.tg-step-ico {
  font-size: 0.95rem;
}
.tg-step-st {
  font-size: 12px;
}

/* Error panel */
.tg-error-panel {
  display: none;
  background: rgba(255, 75, 75, 0.06);
  border: 1px solid rgba(255, 75, 75, 0.2);
  border-radius: 16px;
  padding: 32px;
  text-align: center;
  animation: tgSlideIn 0.3s ease;
}
.tg-error-ico {
  font-size: 2rem;
  margin-bottom: 12px;
}
.tg-error-msg {
  color: rgba(255, 255, 255, 0.7);
  font-size: 13.5px;
  margin-bottom: 16px;
}
.tg-retry-btn {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--y-text);
  font-family: "Nunito Sans", sans-serif;
  font-size: 13px;
  font-weight: 700;
  padding: 10px 24px;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.2s;
}
.tg-retry-btn:hover {
  background: rgba(255, 255, 255, 0.11);
}

/* Results panel */
.tg-results-panel {
  display: none;
  animation: tgSlideIn 0.4s ease;
}

.tg-results-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}
.tg-res-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(15, 77, 60, 0.28);
  border: 1px solid rgba(15, 77, 60, 0.5);
  color: #5dffc1;
  font-size: 11.5px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 100px;
}
.tg-res-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.tg-res-tag {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: var(--y-text-faint);
  font-size: 11.5px;
  padding: 4px 12px;
  border-radius: 100px;
}
.tg-res-actions {
  display: flex;
  gap: 9px;
}
.tg-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.65);
  font-family: "Nunito Sans", sans-serif;
  font-size: 12px;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 9px;
  cursor: pointer;
  transition: all 0.2s;
}
.tg-act-btn:hover {
  background: rgba(255, 202, 64, 0.1);
  border-color: rgba(255, 202, 64, 0.28);
  color: var(--y-gold);
}

/* Title cards */
.tg-titles-list {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.tg-title-card {
  background: var(--y-surface);
  border: 1px solid var(--y-border);
  border-radius: 14px;
  padding: 0;
  overflow: hidden;
  transition:
    border-color 0.25s,
    transform 0.2s,
    box-shadow 0.25s;
  animation: tgCardIn 0.4s ease both;
}
.tg-title-card:hover {
  border-color: var(--y-border-h);
  transform: translateX(4px);
  box-shadow:
    -4px 0 0 var(--y-gold),
    0 8px 32px rgba(0, 0, 0, 0.3);
}

.tg-title-inner {
  display: flex;
  align-items: flex-start;
  gap: 0;
}
.tg-title-rank {
  width: 52px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 18px 0 18px;
  border-right: 1px solid var(--y-border);
  gap: 6px;
}
.tg-rank-num {
  font-size: 1.25rem;
  color: var(--y-gold);
  line-height: 1;
}
.tg-rank-bar {
  width: 3px;
  height: 24px;
  background: linear-gradient(to bottom, rgba(255, 202, 64, 0.5), transparent);
  border-radius: 100px;
}

.tg-title-body {
  flex: 1;
  padding: 16px 18px;
}
.tg-title-text {
  font-size: 1.05rem;
  color: var(--y-text);
  line-height: 1.45;
  margin-bottom: 10px;
}

.tg-title-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.tg-char-pill {
  font-size: 10.5px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  color: var(--y-text-faint);
  padding: 3px 9px;
  border-radius: 100px;
}
.tg-char-pill.tg-pill-good {
  border-color: rgba(93, 255, 193, 0.2);
  color: #5dffc1;
  background: rgba(93, 255, 193, 0.05);
}
.tg-char-pill.tg-pill-warn {
  border-color: rgba(255, 202, 64, 0.25);
  color: var(--y-gold);
  background: rgba(255, 202, 64, 0.05);
}

.tg-title-actions {
  margin-left: auto;
  display: flex;
  gap: 6px;
}
.tg-copy-title,
.tg-use-title {
  font-family: "Nunito Sans", sans-serif;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: 7px;
  cursor: pointer;
  transition: all 0.2s;
  border: 1px solid;
}
.tg-copy-title {
  background: none;
  border-color: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.45);
}
.tg-copy-title:hover {
  background: rgba(255, 202, 64, 0.08);
  border-color: rgba(255, 202, 64, 0.25);
  color: var(--y-gold);
}
.tg-use-title {
  background: rgba(255, 202, 64, 0.1);
  border-color: rgba(255, 202, 64, 0.3);
  color: var(--y-gold);
}
.tg-use-title:hover {
  background: rgba(255, 202, 64, 0.2);
}

/* Regen row */
.tg-regen-row {
  display: flex;
  justify-content: center;
  margin-top: 4px;
}
.tg-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: 11px;
  cursor: pointer;
  transition: all 0.2s;
}
.tg-regen-btn:hover {
  background: rgba(255, 202, 64, 0.07);
  border-color: rgba(255, 202, 64, 0.22);
  color: var(--y-gold);
}

/* ================================================================
       SEO CONTENT SECTIONS
    ================================================================ */

/* How It Works */
.tg-how-section {
  background: var(--y-surface2);
  border-top: 1px solid var(--y-border);
  border-bottom: 1px solid var(--y-border);
  padding: 80px 0;
}
.tg-section-eyebrow {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.tg-section-h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: var(--y-bg);
  line-height: 1.2;
  margin-bottom: 16px;
}
.tg-section-desc {
  font-size: 0.98rem;
  line-height: 1.85;
  max-width: 520px;
  color: rgb(34, 32, 32);
}

.tg-steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
  margin-top: 52px;
}
.tg-how-card {
  background: var(--y-surface);
  border: 1px solid var(--y-border);
  border-radius: 18px;
  padding: 28px;
  transition:
    border-color 0.3s,
    transform 0.25s;
  position: relative;
}
.tg-how-card:hover {
  border-color: var(--y-border-h);
  transform: translateY(-4px);
}
.tg-how-num {
  font-size: 3rem;
  color: rgba(255, 202, 64, 0.12);
  position: absolute;
  top: 16px;
  right: 20px;
  line-height: 1;
}
.tg-how-icon {
  font-size: 1.8rem;
  margin-bottom: 14px;
}
.tg-how-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--y-bg);
  margin-bottom: 8px;
}
.tg-how-desc {
  font-size: 13px;
  color: var(--y-bg);
  line-height: 1.75;
}
.feature-card {
    height: 100%;
    /* background: var(--color-home-bg); */
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    padding: 20px;
    box-shadow: 1px 10px 20px var(--color-primary-lighter-10);
    color: var(--y-bg) !important;
}
.feature-card:hover {
  background-color: var(--image-background) !important;
  color: var(--color-black) !important;
  transform: translateY(-6px);
  box-shadow: 1px 10px 30px var(--color-primary-lighter-10);
}
.feature-card1 {
    height: 100%;
    /* background: var(--color-home-bg); */
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    padding: 20px;
    box-shadow: 1px 10px 20px var(--color-primary-lighter-10);
    color: var(--y-bg) !important;
}
.feature-card1:hover {
  background-color: var(--image-background) !important;
  color: var(--color-black) !important;
  transform: translateY(-6px);
  box-shadow: 1px 10px 30px var(--color-primary-lighter-10);
}

/* Benefits */
.tg-benefits-section {
  background: var(--y-bg);
  padding: 80px 0;
}

.tg-benefits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.tg-benefit-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 32px;
}
.tg-benefit-item {
  display: flex;
  gap: 16px;
  background: var(--y-surface);
  border: 1px solid var(--y-border);
  border-radius: 14px;
  padding: 20px;
  transition: border-color 0.25s;
}
.tg-benefit-item:hover {
  border-color: var(--y-border-h);
}
.tg-benefit-ico {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  background: rgba(255, 202, 64, 0.08);
  border: 1px solid rgba(255, 202, 64, 0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}
.tg-benefit-title {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--y-bg);
  margin-bottom: 5px;
}
.tg-benefit-desc {
  font-size: 12.5px;
  color: var(--y-bg);
  line-height: 1.75;
  margin: 0;
}

/* Stat visual side */
.tg-stat-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.tg-visual-card {
    background: var(--color-home-bg);
  border: 1px solid rgb(139, 138, 138);
  border-radius: 18px;
  padding: 28px 22px;
  text-align: center;
}
.tg-visual-card:first-child {
  grid-column: 1 / -1;
  background: linear-gradient(
    135deg,
    rgba(255, 202, 64, 0.07),
    rgba(15, 77, 60, 0.12)
  );
  border-color: rgba(255, 202, 64, 0.15);
}
.tg-vc-num {
  font-size: 2.8rem;
  line-height: 1;
  margin-bottom: 6px;
}
.tg-vc-label {
  font-size: 12.5px;
  color: var(--y-text-dim);
  line-height: 1.6;
}
.tg-vc-sub {
  font-size: 1.8rem;
  color: var(--y-text);
  line-height: 1;
  margin-bottom: 6px;
}

/* Tips strip */
.tg-tips-section {
  background: var(--y-surface2);
  border-top: 1px solid var(--y-border);
  border-bottom: 1px solid var(--y-border);
  padding: 64px 0;
}
.tg-tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
  margin-top: 40px;
}
.tg-tip-card {
  border: 1px solid var(--y-border);
  border-radius: 14px;
  padding: 22px;
  transition: border-color 0.25s;
}
.tg-tip-card:hover {
  border-color: var(--y-border-h);
}
.tg-tip-ico {
  font-size: 1.4rem;
  margin-bottom: 10px;
}
.tg-tip-title {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--color-black);
  margin-bottom: 7px;
}
.tg-tip-desc {
  font-size: 12px;
  color: var(--color-black);
  line-height: 1.7;
  margin: 0;
}

/* FAQ */
.tg-faq-section {
  padding: 80px 0;
}
.tg-faq-wrap {
  max-width: 780px;
  margin: 0 auto;
}

.tg-faq-list {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.tg-faq-item {
  background: var(--card-blue1);
  border: 1px solid var(--y-border);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.25s;
}
.tg-faq-item.open {
  border-color: rgba(255, 202, 64, 0.28);
}
.tg-faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 22px;
  cursor: pointer;
  user-select: none;
  font-size: 14px;
  font-weight: 700;
  color: var(--y-bg);
}
.tg-faq-toggle {
  width: 24px;
  height: 24px;
  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(--y-bg);
  transition:
    transform 0.25s,
    background 0.2s;
}
.tg-faq-item.open .tg-faq-toggle {
  transform: rotate(180deg);
  background: rgba(197, 46, 228, 0.12);
  color: var(--y-bg);
}
.tg-faq-a {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.35s ease,
    padding 0.3s ease;
  font-size: 13.5px;
  color: var(--y-text-dim);
  line-height: 1.85;
}
.tg-faq-a-inner {
  padding: 0 22px 20px;
  border-top: 1px solid var(--y-border);
  padding-top: 16px;
  color: var(--y-bg);
}
.tg-faq-item.open .tg-faq-a {
  max-height: 300px;
}

/* ================================================================
       CTA SECTION
    ================================================================ */
.tg-cta-section {
  background: var(--y-bg);
  padding: 80px 0 100px;
  position: relative;
  overflow: hidden;
}
.tg-cta-mesh {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(
      ellipse 700px 300px at 50% 60%,
      rgba(255, 202, 64, 0.06) 0%,
      transparent 70%
    ),
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size:
    100% 100%,
    60px 60px,
    60px 60px;
}

.tg-cta-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 760px;
  margin: 0 auto 64px;
}
.tg-cta-label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.tg-cta-h2 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  color: var(black);
  line-height: 1.15;
  margin-bottom: 18px;
}
.tg-cta-h2 em {
  font-style: italic;
}
.tg-cta-p {
  color: var(--y-bg);
  font-size: 1rem;
  line-height: 1.85;
  margin-bottom: 36px;
}

.tg-cta-btns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.tg-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #080808;
  font-weight: 900;
  font-size: 14px;
  padding: 15px 30px;
  border-radius: 12px;
  text-decoration: none;
  box-shadow: 0 4px 22px rgba(255, 202, 64, 0.32);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
  position: relative;
  overflow: hidden;
}
.tg-btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.2);
  transform: translateX(-105%) skewX(-15deg);
  transition: transform 0.45s;
}
.tg-btn-primary:hover::after {
  transform: translateX(110%) skewX(-15deg);
}
.tg-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(255, 202, 64, 0.45);
  color: #080808;
  text-decoration: none;
}

.tg-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(--y-text);
  font-weight: 700;
  font-size: 14px;
  padding: 15px 30px;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.2s;
}
.tg-btn-demo:hover {
  background: rgba(15, 77, 60, 0.65);
  color: var(--y-text);
  text-decoration: none;
  transform: translateY(-2px);
}

.tg-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;
}
.tg-btn-ghost:hover {
  color: black !important;

}


.tg-trust-pills {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.tg-trust-pill {
  font-size: 12px;
  color: var(--y-text-faint);
  padding: 4px 14px;
  border: 1px solid var(--y-border);
  border-radius: 100px;
}

/* Feature grid */
.tg-feat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
  position: relative;
  z-index: 1;
}
.tg-feat-card {

  border: 1px solid var(--y-border);
  border-radius: 18px;
  padding: 26px;
  transition: all 0.3s;

    box-shadow: 1px 10px 20px var(--color-primary-lighter-10);
    color: var(--y-bg) !important;
}
.tg-feat-card:hover {
  border-color: var(--y-border-h);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
  color: var(--y-bg);
}
.tg-feat-ico {
  font-size: 1.8rem;
  margin-bottom: 12px;
}
.tg-feat-title {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--y-bg);
  margin-bottom: 8px;
}
.tg-feat-desc {
  font-size: 12.5px;
  color: var(--y-bg);
  line-height: 1.75;
  margin-bottom: 14px;
}
.tg-feat-link {
  font-size: 12.5px;
  font-weight: 800;
  color: rgb(148, 21, 148);
  text-decoration: none;
  transition: color 0.2s;
}
.tg-feat-link:hover {
  color: rgb(155, 21, 155);
  text-decoration: none;
}

/* ================================================================
       TOAST
    ================================================================ */
.tg-toast {
  position: fixed;
  bottom: 28px;
  right: 28px;
  background: #1a1a1a;
  border: 1px solid rgba(255, 202, 64, 0.28);
  color: var(--y-text);
  font-size: 13px;
  font-weight: 600;
  padding: 12px 20px;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 8px;
  animation: tgSlideIn 0.3s ease;
}

/* ================================================================
       ANIMATIONS
    ================================================================ */
@keyframes tgPulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.4;
    transform: scale(0.75);
  }
}
@keyframes tgSpin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes tgFloat {
  from {
    transform: scale(0.9);
  }
  to {
    transform: scale(1.1);
  }
}
@keyframes tgDot {
  0%,
  100% {
    opacity: 0.3;
    transform: scale(0.75);
  }
  50% {
    opacity: 1;
    transform: scale(1.2);
  }
}
@keyframes tgSlideIn {
  from {
    opacity: 0;
    transform: translateY(-14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes tgCardIn {
  from {
    opacity: 0;
    transform: translateX(-10px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ================================================================
       RESPONSIVE
    ================================================================ */
@media (max-width: 900px) {
  .tg-layout {
    grid-template-columns: 1fr;
  }
  .tg-form-panel {
    position: static;
  }
  .tg-benefits-grid {
    grid-template-columns: 1fr;
  }
  .tg-stat-visual {
    display: none;
  }
}
@media (max-width: 600px) {
  .tg-form-panel {
    padding: 22px 18px;
  }
  .tg-row2 {
    grid-template-columns: 1fr;
  }
  .tg-hero {
    padding: 60px 0 48px;
  }
  .tg-stats-strip {
    flex-direction: column;
    border-radius: 14px;
  }
  .tg-stat-item {
    border-right: none;
    border-bottom: 1px solid var(--y-border);
  }
  .tg-stat-item:last-child {
    border-bottom: none;
  }
  .tg-cta-btns {
    flex-direction: column;
  }
  .tg-btn-primary,
  .tg-btn-demo,
  .tg-btn-ghost {
    width: 100%;
    justify-content: center;
  }
  .tg-results-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ─────────────────────────────────────────
         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 {
  border: 1px solid rgba(221, 221, 221, 0.493);
  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: rgb(148, 21, 148);
  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;
  border: 1px solid rgb(163, 163, 163);
}
.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;
  color: var(--y-bg) !important;
}
.tool-card-name {
  font-size: 0.875rem;
  font-weight: 800;
  color: black;
  line-height: 1.35;
}
.tool-card-desc {
  font-size: 12px;
  color:black;
  line-height: 1.68;
  flex: 1;
  margin: 0;
}
.tool-card-cta {
  font-size: 11.5px;
  font-weight: 800;
  color: rgb(148, 21, 148);
  opacity: 0;
  transform: translateX(-1px);
  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(245, 164, 245, 0.14);
  border: 1px solid rgba(245, 80, 253, 0.28);
  color: rgb(240, 175, 240);
  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;
  color: #ffca40;
  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(255, 255, 255, 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: var(--y-gold);
  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: var(--y-text);
  margin-bottom: 14px;
}

.tg-after-sub {
  font-size: 14px;
  color: var(--y-text-dim);
  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: var(--y-gold-grad);
  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: var(--y-text);
  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: var(--y-gold);
  color: var(--y-gold);
}

.tg-after-note {
  font-size: 12px;
  color: var(--y-text-faint);
}