:root {
  --bg: #f6f8ff;
  --card: #ffffff;
  --text: #152037;
  --muted: #5f6b85;
  --primary: #4f46e5;
  --primary-dark: #4338ca;
  --border: #dbe3ff;
  --accent: #eef2ff;
  --success: #1f9d55;
  --shadow: 0 14px 30px rgba(10, 15, 36, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family:
    Inter,
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    Helvetica,
    Arial,
    sans-serif;
  background: radial-gradient(
    circle at top right,
    #edf2ff 0%,
    #f9fbff 40%,
    #f5f7ff 100%
  );
  color: var(--text);
  line-height: 1.55;
  overflow-x: hidden;
}

.container {
  width: min(1120px, 92%);
  margin-inline: auto;
  padding: 0 2px;
}


.hero-grid {
  display: grid;
  gap: 34px;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 7px 13px;
  color: var(--primary);
  font-size: 0.84rem;
  font-weight: 700;
  margin-bottom: 15px;
}

h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.12;
  margin: 0 0 15px;
  letter-spacing: -0.02em;
}

/* ===== SEO CONTENT SECTION FIX CSS ===== */

.seo-content {
  margin-top: 40px;
}

/* Headings */
/* 
.seo-content h1{
  font-size:34px;
  font-weight:800;
  color:var(--text);
  margin-bottom:16px;
} */

.seo-content h2 {
  font-size: 26px;
  font-weight: 700;
  margin: 38px 0 14px;
  color: var(--text);
  border-left: 4px solid var(--primary);
  padding-left: 12px;
}

.seo-content h3 {
  font-size: 19px;
  font-weight: 600;
  margin: 24px 0 8px;
  color: var(--primary);
}

/* Paragraph */

.seo-content p {
  font-size: 16px;
  color: var(--muted);
  margin: 10px 0;
  line-height: 1.7;
}

/* Lists */

.seo-content ul {
  padding-left: 20px;
  margin: 14px 0;
}

.seo-content li {
  margin: 6px 0;
}

/* Example Bio List */

.seo-content ol {
  padding-left: 0;
  list-style-position: inside;
}

.seo-content ol li {
  background: linear-gradient(90deg, #f7f9ff, #eef2ff);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 18px;
  margin-bottom: 10px;
  color: var(--text);
  font-weight: 500;
}

/* FAQ Block */

.seo-content h3 + p {
  background: #f6f8ff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px;
  color: var(--muted);
}

/* Divider */

.seo-content hr {
  border: none;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    var(--border),
    transparent
  );
  margin: 40px 0;
}

/* CTA Button */

.seo-cta {
  display: inline-block;
  margin-top: 18px;
  background: var(--primary);
  color: #fff;
  padding: 14px 24px;
  border-radius: 40px;
  font-weight: 700;
  text-decoration: none;
  transition: 0.25s;
}

.seo-cta:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.lead {
  font-size: 1.05rem;
  color: var(--muted);
  margin: 0;
  max-width: 65ch;
}

main {
  padding: 10px 0 68px;
}

.tool {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: 0 10px 18px rgba(20, 40, 120, 0.07);
  padding: 24px;
}

.card h2 {
  margin: 0 0 6px;
  font-size: 1.35rem;
}

.card .desc {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 0.95rem;
}

form {
  display: grid;
  gap: 15px;
}

label {
  display: grid;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 600;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #ccd7ff;
  border-radius: 12px;
  padding: 11px 12px;
  font: inherit;
  color: var(--text);
  background: #fff;
  outline: none;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.12);
}

.inline {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  color: var(--muted);
}

.checkbox input {
  width: 16px;
  height: 16px;
}

.btn {
  border: 0;
  background: var(--primary);
  color: white;
  border-radius: 12px;
  padding: 12px 16px;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.95rem;
  transition:
    background 0.2s ease,
    transform 0.15s ease;
}

.btn:hover {
  background: var(--primary-dark);
}
.btn:active {
  transform: translateY(1px);
}

.result-list {
  display: grid;
  gap: 12px;
}

.result {
  border: 1px solid #d6ddff;
  background: #fbfcff;
  border-radius: 14px;
  padding: 14px;
  display: grid;
  gap: 11px;
}

.result p {
  margin: 0;
  white-space: pre-wrap;
  color: #1e2945;
  font-size: 0.95rem;
}

.copy {
  justify-self: start;
  border: 1px solid #c5d0ff;
  background: #fff;
  color: #2d3a68;
  border-radius: 10px;
  padding: 7px 11px;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
}

.copy.done {
  border-color: #8be0a8;
  color: var(--success);
  background: #f0fff5;
}

.load-more {
  margin-top: 14px;
  width: 100%;
  border: 1px solid #c9d3ff;
  background: #f5f7ff;
  color: #2f3a66;
  border-radius: 12px;
  padding: 11px 14px;
  cursor: pointer;
  font-size: 0.92rem;
  font-weight: 700;
}

.load-more:hover {
  background: #eef2ff;
}

.tips {
  margin-top: 26px;
  display: grid;
  gap: 12px;
  color: var(--muted);
  font-size: 0.94rem;
}

.tips strong {
  color: #24335c;
}

@media (max-width: 940px) {
  .hero-grid,
  .tool {
    grid-template-columns: 1fr;
  }

 
}

/* Related Tools Box CSS */
.related-tools {
  max-width: 1100px; /* box ki width control */
  margin: 40px auto; /* center align */
  padding: 22px;
  background: #fff;
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.related-tools h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 14px;
  color: #111827;
}

.related-tools ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.related-tools li a {
  display: block;
  text-decoration: none;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  padding: 12px 14px;
  border-radius: 12px;
  font-weight: 600;
  color: #2563eb;
  transition: all 0.25s ease;
}

.related-tools li a:hover {
  background: linear-gradient(90deg, #2563eb, #6366f1);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.25);
}

@media (max-width: 600px) {
  .related-tools {
    padding: 18px;
  }

  .related-tools h3 {
    font-size: 18px;
  }

  .related-tools li a {
    font-size: 14px;
    padding: 10px;
  }
}

.content-img {
  margin: 2px 0;
  text-align: center;
  padding: 0 2px;
}

.content-img img {
  width: 100%;
  max-width: 720px;
  height: auto;
  display: block;
  border-radius: 12px;
  margin: 2px auto;
}
@media (max-width: 768px) {
  .content-img img {
    width: 100%;
    max-width: 100%; /* mobile full width */
  }
}
