/* ============================================================
       AI LETTER GENERATOR — DARK THEME
       Font: Cormorant Garamond (display) + Nunito Sans (body)
    ============================================================ */
:root {
  --lg-gold: #ffca40;
  --lg-gold-lt: #f5f07a;
  --lg-gold-grad: linear-gradient(
    135deg,
    #ffe550 0%,
    #f1fc59 55%,
    #fdfc47 100%
  );
  --lg-green: #0f4d3c;
  --lg-bg: #000;
  --lg-surf: #0b0b0b;
  --lg-surf2: #0f0f0f;
  --lg-border: rgba(255, 255, 255, 0.07);
  --lg-border-g: rgba(255, 202, 64, 0.2);
  --lg-txt: #fff;
  --lg-txt-d: rgba(255, 255, 255, 0.58);
  --lg-txt-f: rgba(255, 255, 255, 0.28);
}
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}

/* Breadcrumb */
.lg-crumb {
  background: var(--lg-bg);
  border-bottom: 1px solid var(--lg-border);
  padding: 13px 0;
}
.lg-crumb-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--lg-txt-f);
}
.lg-crumb-row a {
  color:black;
  text-decoration: none;
  transition: color 0.2s;
}
.hero-section1 {
  background: var(--card-blue1) !important;
}
.lg-crumb-row a:hover {
     color: rgb(241, 75, 241);
    font-weight: 600;
}
.lg-cur {
      color: rgb(241, 75, 241);
    font-weight: 600;
}

/* ── HERO ── */
.lg-hero {
  background: var(--lg-bg);
  position: relative;
  overflow: hidden;
  padding: 88px 0 68px;
  text-align: center;
}
.lg-hero-mesh {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 55px 55px;
}
.lg-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
}
.lg-glow-1 {
  width: 600px;
  height: 280px;
  background: radial-gradient(
    ellipse,
    rgba(255, 202, 64, 0.13) 0%,
    transparent 70%
  );
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
}
.lg-glow-2 {
  width: 220px;
  height: 220px;
  background: radial-gradient(
    circle,
    rgba(15, 77, 60, 0.3) 0%,
    transparent 70%
  );
  bottom: 0;
  right: 8%;
}
.lg-glow-3 {
  width: 180px;
  height: 180px;
  background: radial-gradient(
    circle,
    rgba(15, 77, 60, 0.22) 0%,
    transparent 70%
  );
  bottom: 20px;
  left: 5%;
}
.lg-hero-inner {
  position: relative;
  z-index: 2;
}

.lg-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;

  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 7px 22px;
  border-radius: 100px;
  margin-bottom: 28px;
  background: rgba(236, 153, 229, 0.08);
  border: 1px solid rgba(230, 53, 247, 0.22);
  text-transform: uppercase;
  color: rgb(233, 52, 233);
  margin-bottom: 30px;
}
.lg-badge-dot {
  width: 7px;
  height: 7px;
  background: purple;
  border-radius: 50%;
  animation: lgPulse 1.5s ease-in-out infinite;
}

.lg-h1 {
  font-size: clamp(2rem, 4.6vw, 3.2rem);
  font-weight: 700;
  color: black;
  line-height: 1.12;
  margin-bottom: 20px;
}
.lg-gold-text {
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.lg-h1 .lg-italic {
  font-style: italic;
  color: rgba(43, 42, 42, 0.75);
}

.lg-hero-p {
  font-size: 1.06rem;
  color: black;
  max-width: 580px;
  margin: 0 auto 40px;
  line-height: 1.85;
}

/* Letter type pills */
.lg-type-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 38px;
}
.lg-type-pill {
  background: rgba(233, 109, 227, 0.04);
  border: 1px solid rgba(238, 143, 214, 0.08);
  font-size: 11.5px;
  padding: 6px 14px;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.2s;
}
.lg-type-pill:hover {
  background: rgba(230, 169, 245, 0.08);
  border-color: rgba(207, 74, 240, 0.25);
  color: rgb(226, 45, 226);
}

.lg-stat-strip {
  display: inline-flex;
  align-items: stretch;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--lg-border);
  border-radius: 16px;
  overflow: hidden;
}
.lg-stat {
  padding: 15px 26px;
  text-align: center;
  border-right: 1px solid var(--lg-border);
  border-color: rgba(245, 153, 245, 0.2);
  background: rgba(167, 139, 250, 0.06);
  border: 1px solid rgba(245, 153, 245, 0.2);
}
.lg-stat:last-child {
  border-right: none;
}
.lg-stat-n {
  display: block;
  font-size: 1.55rem;
  color: rgb(155, 11, 155);
  line-height: 1;
  margin-bottom: 4px;
}
.lg-stat-l {
  font-size: 10px;
  color:black;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

/* ── DAILY LIMIT CARD ── */
.lg-limit-sec {
  background: var(--lg-bg);
  padding: 0 0 28px;
}
.lg-limit-card {
  max-width: 920px;
  margin: 0 auto;
  background: linear-gradient(
    135deg,
    rgba(221, 153, 241, 0.05),
    rgba(238, 127, 232, 0.07)
  );
  border: 1px solid rgba(255, 202, 64, 0.14);
  border-radius: 18px;
  padding: 20px 28px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.lg-limit-icon {
  font-size: 2rem;
  flex-shrink: 0;
}
.lg-limit-body {
  flex: 1;
}
.lg-limit-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.lg-limit-title {
  font-size: 0.92rem;
  font-weight: 800;

}
.lg-limit-count {
  font-size: 13px;
  font-weight: 800;
  color: var(--lg-gold);
}
.lg-limit-track {
  height: 7px;
  background: rgba(41, 40, 40, 0.07);
  border-radius: 100px;
  overflow: hidden;
}
.lg-limit-fill {
  height: 100%;
  background: var(--lg-gold-grad);
  border-radius: 100px;
  transition: width 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}
.lg-limit-sub {
  font-size: 11.5px;
  color: var(--lg-txt-f);
  margin-top: 6px;
}
.lg-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;
}
.lg-upgrade-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 26px rgba(255, 202, 64, 0.44);
  color: #050505;
  text-decoration: none;
}

.lg-hard-limit {
  display: none;
  /* max-width: 920px; */
  padding: 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;
  animation: lgFadeUp 0.3s ease;
}
.lg-hard-limit p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
  flex: 1;
}
.lg-hard-limit p strong {
  color: #ff6b6b;
}
.lg-hard-limit a {
  background: var(--lg-gold-grad);
  color: #000;
  font-weight: 800;
  font-size: 12px;
  padding: 8px 20px;
  border-radius: 100px;
  text-decoration: none;
  flex-shrink: 0;
}

/* ── MAIN TOOL ── */
.lg-tool-sec {
  background: var(--lg-bg);
  padding: 0 0 80px;
}
.lg-tool-wrap {
  max-width: 920px;
  margin: 0 auto;
}

/* two-panel grid */
.lg-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}

/* Form panel */
.lg-form-panel {
  background: var(--lg-surf);
  border: 1px solid var(--lg-border);
  border-radius: 22px;
  overflow: hidden;
  transition: border-color 0.3s;
  position: sticky;
  top: 88px;
}
.lg-form-panel:focus-within {
  border-color: var(--lg-border-g);
}

.lg-panel-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 20px;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid var(--lg-border);
}
.lg-bar-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.lg-bar-dot:nth-child(1) {
  background: #ff5f56;
}
.lg-bar-dot:nth-child(2) {
  background: #ffbd2d;
}
.lg-bar-dot:nth-child(3) {
  background: #27c93f;
}
.lg-bar-title {
  margin-left: 8px;
  font-size: 11.5px;
  color: var(--lg-txt-f);
  font-weight: 600;
}
.lg-bar-badge {
  margin-left: auto;
  background: rgba(39, 201, 63, 0.12);
  border: 1px solid rgba(39, 201, 63, 0.22);
  color: #27c93f;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 100px;
}

.lg-form-inner {
  padding: 24px;
  background: var(--card-blue1);
}

.lg-field {
  margin-bottom: 16px;
}
.lg-label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 700;
  color: black;
  margin-bottom: 8px;
  letter-spacing: 0.2px;
}
.lg-label-hint {
  margin-left: auto;
  font-size: 10.5px;
  font-weight: 400;
  color: black;
}

.lg-input,
.lg-select,
.lg-textarea {
  width: 100%;
  background-color: white;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 11px;
  color: black;
  font-family: "Nunito Sans", sans-serif;
  font-size: 13px;
  padding: 11px 14px;
  outline: none;
  transition:
    border-color 0.25s,
    box-shadow 0.25s;
}
.lg-input::placeholder,
.lg-textarea::placeholder {
  color: var(--lg-txt-f);
  font-size: 12.5px;
}
.lg-input:focus,
.lg-select:focus,
.lg-textarea:focus {
  border-color: rgba(255, 202, 64, 0.42);
  box-shadow: 0 0 0 3px rgba(255, 202, 64, 0.06);
}
.lg-textarea {
  resize: vertical;
  line-height: 1.7;
}
.lg-select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  padding-right: 36px;
}
.lg-select option {
  background: white;
}
.lg-select-wrap {
  position: relative;
}
.lg-sel-arr {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--lg-txt-f);
  pointer-events: none;
  font-size: 11px;
}

.lg-row2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* tone chips */
.lg-tone-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 2px;
}
.lg-tone-chip {
   background-color: rgb(248, 204, 248);
  border-color: rgba(245, 167, 248, 0.35);
  color: black;
  font-size: 11.5px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.2s;
  user-select: none;
}
.lg-tone-chip:hover {
   background-color: rgb(248, 204, 248);
  border-color: rgba(245, 167, 248, 0.35);
  color: black;
}
.lg-tone-chip.active {
   background-color: rgb(248, 204, 248);
  border-color: rgba(245, 167, 248, 0.35);
  color: black;
}

.lg-gen-btn {
  width: 100%;
  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);
  margin-top: 4px;
}
.lg-gen-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.2);
  transform: translateX(-108%) skewX(-18deg);
  transition: transform 0.5s;
}
.lg-gen-btn:hover::after {
  transform: translateX(112%) skewX(-18deg);
}
.lg-gen-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 34px rgba(255, 202, 64, 0.42);
}
.lg-gen-btn:active {
  transform: translateY(0);
}
.lg-gen-btn:disabled {
  opacity: 0.42;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}
.lg-gen-btn:disabled::after {
  display: none;
}

/* Output panel */
.lg-out-panel {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Empty state */
.lg-empty {
  background: white;
  border: 2px dashed rgba(255, 255, 255, 0.06);
  border-radius: 22px;
  padding: 56px 28px;
  text-align: center;
}
.lg-empty-icon {
  font-size: 2.8rem;
  margin-bottom: 16px;
  opacity: 0.45;
}
.lg-empty-title {
  font-size: 1.3rem;
  color:black;
  margin-bottom: 9px;
}
.lg-empty-sub {
  font-size: 13px;
  color:black;
  line-height: 1.75;
  max-width: 320px;
  margin: 0 auto;
}

/* Loader */
.lg-loader {
  display: none;
  background: var(--lg-surf);
  border: 1px solid rgba(255, 202, 64, 0.12);
  border-radius: 22px;
  padding: 40px 28px;
  text-align: center;
  animation: lgFadeUp 0.35s ease;
}
.lg-loader-quill {
  font-size: 2.5rem;
  animation: lgQuill 1.2s ease-in-out infinite alternate;
  display: inline-block;
  margin-bottom: 20px;
}
.lg-loader-phrase {
  font-size: 1.15rem;
  color: var(--lg-txt);
  margin-bottom: 10px;
}
.lg-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-bottom: 24px;
}
.lg-dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 202, 64, 0.5);
  animation: lgDot 1.3s ease-in-out infinite;
}
.lg-dots span:nth-child(2) {
  animation-delay: 0.16s;
}
.lg-dots span:nth-child(3) {
  animation-delay: 0.32s;
}
.lg-skel {
  display: flex;
  flex-direction: column;
  gap: 9px;
  text-align: left;
}
.lg-skel-line {
  height: 13px;
  border-radius: 6px;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.04) 25%,
    rgba(255, 255, 255, 0.09) 50%,
    rgba(255, 255, 255, 0.04) 75%
  );
  background-size: 200% 100%;
  animation: lgShimmer 1.6s ease infinite;
}
.lg-skel-line:nth-child(1) {
  width: 45%;
}
.lg-skel-line:nth-child(2) {
  width: 90%;
}
.lg-skel-line:nth-child(3) {
  width: 85%;
}
.lg-skel-line:nth-child(4) {
  width: 92%;
}
.lg-skel-line:nth-child(5) {
  width: 80%;
}
.lg-skel-line:nth-child(6) {
  width: 60%;
}

/* Error */
.lg-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: lgFadeUp 0.3s ease;
}
.lg-error-ico {
  font-size: 1.8rem;
  margin-bottom: 10px;
}
.lg-error-msg {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 14px;
}
.lg-retry {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--lg-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;
}
.lg-retry:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Letter result */
.lg-result {
  display: none;
  animation: lgFadeUp 0.4s ease;
}

.lg-result-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}
.lg-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: 11px;
  font-weight: 800;
  padding: 5px 14px;
  border-radius: 100px;
}
.lg-res-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.lg-res-tag {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--lg-txt-f);
  font-size: 11px;
  padding: 3px 11px;
  border-radius: 100px;
}
.lg-res-actions {
  display: flex;
  gap: 9px;
}
.lg-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;
}
.lg-act-btn:hover {
  background: rgba(255, 202, 64, 0.09);
  border-color: rgba(255, 202, 64, 0.28);
  color: var(--lg-gold);
}

/* Letter paper */
.lg-letter-paper {
  background: var(--lg-surf);
  border: 1px solid rgba(255, 202, 64, 0.12);
  border-radius: 18px;
  padding: 36px;
  position: relative;
  overflow: hidden;
}
.lg-letter-paper::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--lg-gold-grad);
}
.lg-letter-watermark {
  position: absolute;
  bottom: 20px;
  right: 24px;
  font-size: 11px;
  color: rgba(255, 202, 64, 0.15);
  letter-spacing: 1px;
  text-transform: uppercase;
}
.lg-letter-text {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.95;
  white-space: pre-wrap;
  font-family: "Nunito Sans", sans-serif;
}

.lg-regen-row {
  display: flex;
  justify-content: center;
  margin-top: 16px;
}
.lg-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;
}
.lg-regen-btn:hover {
  background: rgba(255, 202, 64, 0.07);
  border-color: rgba(255, 202, 64, 0.22);
  color: var(--lg-gold);
}

/* ── SEO Sections ── */
.lg-sec {
  padding: 76px 0;
  background: var(--lg-surf);
}
.lg-sec-alt {
  background: var(--lg-surf2);
  border-top: 1px solid var(--lg-border);
  border-bottom: 1px solid var(--lg-border);
}
.lg-eyebrow {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 14px;
  display: block;
}
.lg-sec-h2 {
  font-size: clamp(1.9rem, 3.8vw, 2.75rem);
  color:black;
  line-height: 1.18;
  margin-bottom: 14px;
}
.lg-sec-p {
  color: black;
  font-size: 0.97rem;
  line-height: 1.9;
}

.lg-types-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 14px;
  margin-top: 40px;
}
.lg-type-card {
  background: white;
  border: 1px solid var(--lg-border);
  border-radius: 14px;
  padding: 20px;
  transition: all 0.25s;
  cursor: pointer;
}
.lg-type-card:hover {
  border-color: var(--lg-border-g);
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.4);
}
.lg-type-ico {
  font-size: 1.6rem;
  margin-bottom: 10px;
}
.lg-type-name {
  font-size: 0.88rem;
  font-weight: 800;
  color: black;
  margin-bottom: 5px;
}
.lg-type-desc {
  font-size: 12px;
  color: black;
  line-height: 1.65;
  margin: 0;
}

.lg-tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin-top: 40px;
}
.lg-tip-card {
  background: white;
  border: 1px solid var(--lg-border);
  border-radius: 14px;
  padding: 22px;
  transition: border-color 0.25s;
}
.lg-tip-card:hover {
  border-color: var(--lg-border-g);
}
.lg-tip-ico {
  font-size: 1.4rem;
  margin-bottom: 10px;
}
.lg-tip-title {
  font-size: 0.88rem;
  font-weight: 800;
  color: black;
  margin-bottom: 6px;
}
.lg-tip-desc {
  font-size: 12px;
  color: black;
  line-height: 1.7;
  margin: 0;
}

/* FAQ */
.lg-faq-wrap {
  max-width: 760px;
  margin: 0 auto;
}
.lg-faq-list {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-top: 40px;
}
.lg-faq-item {
  background: var(--card-blue1);
  border: 1px solid black;
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.25s;
}
.lg-faq-item.open {
  border-color: black;
}
.lg-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: black;
}
.lg-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(--lg-txt-f);
  transition:
    transform 0.25s,
    background 0.2s,
    color 0.2s;
}
.lg-faq-item.open .lg-faq-arr {
  transform: rotate(180deg);
  background: rgba(255, 202, 64, 0.12);
  color: var(--lg-gold);
}
.lg-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.34s ease;
  font-size: 13px;
  color: var(--lg-txt-d);
  line-height: 1.85;
}
.lg-faq-a-inner {
  padding: 0 22px 18px;
  border-top: 1px solid var(--lg-border);
  padding-top: 14px;
  color: black;
}
.lg-faq-item.open .lg-faq-a {
  max-height: 280px;
}

/* CTA */
.lg-cta-sec {
  background: var(--lg-bg);
  padding: 76px 0 96px;
  position: relative;
  overflow: hidden;
}
.lg-cta-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(
      ellipse 700px 280px at 50% 55%,
      rgba(255, 202, 64, 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;
}
.lg-cta-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 700px;
  margin: 0 auto 56px;
}
.lg-cta-h2 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  color: black;
  line-height: 1.18;
  margin-bottom: 18px;
}
.lg-cta-h2 em {
  font-style: italic;

}
.lg-cta-p {
  color: black;
  font-size: 1rem;
  line-height: 1.85;
  margin-bottom: 34px;
}
.lg-cta-btns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.lg-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;
}
.lg-btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.2);
  transform: translateX(-108%) skewX(-15deg);
  transition: transform 0.45s;
}
.lg-btn-primary:hover::after {
  transform: translateX(112%) skewX(-15deg);
}
.lg-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(255, 202, 64, 0.45);
  color: #080808;
  text-decoration: none;
}
.lg-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(--lg-txt);
  font-weight: 700;
  font-size: 14px;
  padding: 14px 30px;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.2s;
}
.lg-btn-demo:hover {
  background: rgba(15, 77, 60, 0.65);
  color: var(--lg-txt);
  text-decoration: none;
  transform: translateY(-2px);
}
.lg-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(17, 15, 15, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.11);
  color:black;
  font-weight: 700;
  font-size: 14px;
  padding: 14px 30px;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.2s;
}
.lg-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  color: black;
  text-decoration: none;
  transform: translateY(-2px);
    border: 1px solid rgba(3, 3, 3, 0.11);
}
.lg-trust-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}
.lg-trust-pill {
  font-size: 12px;
  padding: 4px 14px;
  border: 1px solid rgb(240, 161, 240);
  border-radius: 100px;
}
.lg-feat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  position: relative;
  z-index: 1;
}
.lg-feat-card {
  background:white;
  border: 1px solid var(--lg-border);
  border-radius: 18px;
  padding: 26px;
  transition: all 0.28s;
}
.lg-feat-card:hover {
  border-color: var(--lg-border-g);
  transform: translateY(-4px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.4);
}
.lg-feat-ico {
  font-size: 1.8rem;
  margin-bottom: 12px;
}
.lg-feat-title {
  font-size: 0.9rem;
  font-weight: 800;
  color:black;
  margin-bottom: 7px;
}
.lg-feat-desc {
  font-size: 12.5px;
  color: black;
  line-height: 1.75;
  margin-bottom: 14px;
}
.lg-feat-link {
  font-size: 12.5px;
  font-weight: 800;
  color:purple;
  text-decoration: none;
}
.lg-feat-link:hover {
  text-decoration: none;
}

/* Toast */
#lgToastWrap {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 99999;
  display: flex;
  flex-direction: column-reverse;
  gap: 10px;
  pointer-events: none;
}
.lg-toast {
  pointer-events: auto;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #161616;
  border: 1px solid rgba(255, 202, 64, 0.2);
  border-radius: 14px;
  padding: 14px 18px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.6);
  min-width: 270px;
  max-width: 360px;
  position: relative;
  overflow: hidden;
  animation: lgToastIn 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) both;
  transition:
    opacity 0.3s,
    transform 0.3s;
}
.lg-toast.hide {
  opacity: 0;
  transform: translateX(18px);
}
.lg-toast.t-success {
  border-color: rgba(39, 201, 63, 0.28);
}
.lg-toast.t-warn {
  border-color: rgba(255, 202, 64, 0.35);
}
.lg-toast.t-error {
  border-color: rgba(255, 75, 75, 0.28);
}
.lg-toast.t-limit {
  border-color: rgba(255, 75, 75, 0.35);
  background: rgba(18, 8, 8, 0.97);
}
.lg-toast-ico {
  font-size: 1.2rem;
  flex-shrink: 0;
  line-height: 1;
}
.lg-toast-body {
  flex: 1;
}
.lg-toast-title {
  font-size: 13px;
  font-weight: 800;
  color: var(--lg-txt);
  margin-bottom: 2px;
}
.lg-toast-msg {
  font-size: 11.5px;
  color: var(--lg-txt-d);
  line-height: 1.5;
}
.lg-toast-close {
  background: none;
  border: none;
  color: var(--lg-txt-f);
  font-size: 13px;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  flex-shrink: 0;
  transition: color 0.2s;
}
.lg-toast-close:hover {
  color: var(--lg-txt);
}
.lg-toast-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  border-radius: 0 0 14px 14px;
  background: var(--lg-gold-grad);
  animation: lgToastBar linear forwards;
}

/* Animations */
@keyframes lgPulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.4;
    transform: scale(0.7);
  }
}
@keyframes lgFadeUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes lgDot {
  0%,
  100% {
    opacity: 0.25;
    transform: scale(0.75);
  }
  50% {
    opacity: 1;
    transform: scale(1.25);
  }
}
@keyframes lgShimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}
@keyframes lgQuill {
  from {
    transform: rotate(-8deg) scale(0.95);
  }
  to {
    transform: rotate(4deg) scale(1.05);
  }
}
@keyframes lgToastIn {
  from {
    opacity: 0;
    transform: translateX(28px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}
@keyframes lgToastBar {
  from {
    width: 100%;
  }
  to {
    width: 0%;
  }
}

@media (max-width: 900px) {
  .lg-grid {
    grid-template-columns: 1fr;
  }
  .lg-form-panel {
    position: static;
  }
}
@media (max-width: 600px) {
  .lg-hero {
    padding: 58px 0 44px;
  }
  .lg-type-strip {
    display: none;
  }
  .lg-stat-strip {
    flex-direction: column;
    border-radius: 16px;
  }
  .lg-stat {
    border-right: none;
    border-bottom: 1px solid var(--lg-border);
  }
  .lg-stat:last-child {
    border-bottom: none;
  }
  .lg-limit-card {
    flex-direction: column;
    gap: 14px;
  }
  .lg-row2 {
    grid-template-columns: 1fr;
  }
  .lg-form-inner {
    padding: 18px;
  }
  .lg-cta-btns {
    flex-direction: column;
  }
  .lg-btn-primary,
  .lg-btn-demo,
  .lg-btn-ghost {
    width: 100%;
    justify-content: center;
  }
  #lgToastWrap {
    left: 16px;
    right: 16px;
  }
  .lg-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:white;
  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: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: purple;
  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(233, 165, 240, 0.14);
  border: 1px solid rgba(238, 95, 231, 0.28);
  color: rgb(216, 33, 216);
  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: black;
  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);
}
