*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --white:   #ffffff;
  --off:     #f5f5f7;
  --off2:    #e8e8ed;
  --border:  #d2d2d7;
  --text:    #1d1d1f;
  --muted:   #6e6e73;
  --light:   #86868b;
  --acc:     #0071e3;
  --acc-h:   #0077ed;
  --acc-dim: rgba(0,113,227,0.08);
  --green:   #1d8348;
  --red:     #c0392b;
  --yellow:  #b7770d;
  --radius:  18px;
  --radius-sm: 10px;
  --mono: 'SF Mono', 'Fira Code', monospace;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --max: 980px;
  --shadow: 0 2px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
}
html { scroll-behavior: smooth; }
body { background: var(--white); color: var(--text); font-family: var(--sans); line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: var(--acc); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; }

/* ── Navbar ───────────────────────────────────────────────────────────── */
/* ── Navbar ───────────────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.85);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--max); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 24px; height: 52px;
}
.nav-logo {
  font-size: 15px; font-weight: 600; color: var(--text);
  display: flex; align-items: center; gap: 8px; text-decoration: none;
}
.nav-logo-icon {
  width: 26px; height: 26px; background: var(--text); border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
}
.nav-logo-icon svg { color: white; }
.nav-links { display: flex; gap: 24px; align-items: center; }
.nav-links a { font-size: 13px; color: var(--muted); font-weight: 400; text-decoration: none; transition: color .15s; }
.nav-links a:hover { color: var(--text); }

/* Hamburger */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--text); border-radius: 2px;
  transition: all .25s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  display: none; position: absolute; top: 52px; left: 0; right: 0;
  background: rgba(255,255,255,0.97);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 8px 0 12px; z-index: 99;
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block; padding: 12px 24px;
  font-size: 15px; color: var(--text); text-decoration: none;
  border-bottom: 1px solid var(--off2); transition: background .1s;
}
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a:hover { background: var(--off); }

/* ── Hero ─────────────────────────────────────────────────────────────── */
.hero {
  text-align: center;
  padding: 46px 24px 42px;
  background: linear-gradient(180deg, #f5f5f7 0%, #ffffff 100%);
  border-bottom: 1px solid var(--border);
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--acc-dim); border: 1px solid rgba(0,113,227,0.2);
  color: var(--acc); font-size: 12px; font-weight: 500; letter-spacing: .04em;
  text-transform: uppercase; padding: 5px 12px; border-radius: 20px;
  margin-bottom: 28px;
}
.hero h1 {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 700; letter-spacing: -.03em; line-height: 1.05;
  color: var(--text); margin-bottom: 20px;
}
.hero h1 span { color: var(--acc); }
.hero-sub {
  font-size: clamp(16px, 2.2vw, 20px); color: var(--muted);
  max-width: 640px; margin: 0 auto 10px; font-weight: 400; line-height: 1.55;
}
.hero-badges {
  display: flex; justify-content: center; gap: 20px; flex-wrap: wrap;
  font-size: 13px; color: var(--light);
}
.hero-badge { display: flex; align-items: center; gap: 6px; }
.hero-badge svg { color: var(--green); }

/* ── Tool Section ─────────────────────────────────────────────────────── */
.tool-section {
  max-width: 680px; margin: 0 auto;
  padding: 30px 24px 80px;
}
.tool-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transition: box-shadow .3s;
}
.tool-card-header {
  background: var(--off);
  border-bottom: 1px solid var(--border);
  padding: 16px 24px;
  display: flex; align-items: center; gap: 10px;
}
.tool-card-header-dot { width: 12px; height: 12px; border-radius: 50%; }
.d1{background:#ff5f57;}.d2{background:#febc2e;}.d3{background:#28c840;}
.tool-card-title { font-size: 13px; font-weight: 500; color: var(--muted); margin: 0 auto; }

.tool-body { padding: 28px 28px 24px; }

/* Tabs */
.tabs { display: flex; gap: 0; background: var(--off); border: 1px solid var(--border); border-radius: 10px; padding: 3px; margin-bottom: 20px; width: fit-content; }
.tab {
  padding: 7px 20px; border-radius: 8px; border: none;
  background: transparent; color: var(--muted);
  font-family: var(--sans); font-size: 13px; font-weight: 500;
  cursor: pointer; transition: all .18s;
}
.tab.active { background: var(--white); color: var(--text); box-shadow: 0 1px 4px rgba(0,0,0,0.1); }

/* Input row */
.input-row { display: flex; gap: 10px; margin-bottom: 10px; }
.url-input {
  flex: 1; background: var(--off); border: 1px solid var(--border);
  border-radius: var(--radius-sm); color: var(--text);
  font-family: var(--mono); font-size: 13px; padding: 13px 16px;
  outline: none; transition: border-color .15s, box-shadow .15s, background .15s;
}
.url-input:focus {
  border-color: var(--acc); background: var(--white);
  box-shadow: 0 0 0 3px var(--acc-dim);
}
.url-input::placeholder { color: var(--light); }
.btn-gen {
  padding: 13px 22px; background: var(--acc); border: none;
  border-radius: var(--radius-sm); color: #fff;
  font-family: var(--sans); font-size: 14px; font-weight: 600;
  cursor: pointer; white-space: nowrap;
  display: flex; align-items: center; gap: 7px;
  transition: background .15s, transform .1s; flex-shrink: 0;
}
.btn-gen:hover { background: var(--acc-h); }
.btn-gen:active { transform: scale(.98); }
.btn-gen:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.tab-hint { font-size: 12px; color: var(--light); font-family: var(--mono); }

/* Alerts */
.alert {
  border-radius: var(--radius-sm); padding: 12px 16px; font-size: 13px;
  margin-bottom: 16px; display: none; align-items: flex-start; gap: 9px; line-height: 1.5;
}
.alert.show { display: flex; }
.a-err  { background: #fef2f2; border: 1px solid #fecaca; color: var(--red); }
.a-warn { background: #fffbeb; border: 1px solid #fde68a; color: var(--yellow); }

/* ── Loading ──────────────────────────────────────────────────────────── */
#loadingBox {
  display: none; padding: 40px 28px 36px; text-align: center;
}
.spin-ring {
  width: 44px; height: 44px;
  border: 3px solid var(--off2); border-top-color: var(--acc);
  border-radius: 50%; animation: spin .8s linear infinite;
  margin: 0 auto 24px;
}
.load-title { font-size: 17px; font-weight: 600; color: var(--text); margin-bottom: 8px; }
.load-msg   { font-size: 13px; color: var(--muted); margin-bottom: 24px; min-height: 20px; }
.progress-track { width: 100%; height: 3px; background: var(--off2); border-radius: 2px; overflow: hidden; margin-bottom: 20px; }
.progress-bar   { height: 100%; background: var(--acc); border-radius: 2px; width: 0; transition: width .7s ease; }
.steps-list { text-align: left; max-width: 260px; margin: 0 auto; }
.step-item  {
  display: flex; align-items: center; gap: 10px;
  font-size: 12px; color: var(--light);
  font-family: var(--mono); padding: 3px 0; transition: color .2s;
}
.step-item.active { color: var(--text); font-weight: 500; }
.step-item.done   { color: var(--green); }
.step-icon { width: 16px; flex-shrink: 0; text-align: center; }

/* ── Result ───────────────────────────────────────────────────────────── */
#resultWrap { display: none; }
.result-top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 20px; border-bottom: 1px solid var(--border);
  background: var(--off); flex-wrap: wrap; gap: 10px;
}
.rlabel { font-size: 12px; font-weight: 600; color: var(--green); display: flex; align-items: center; gap: 6px; }
.rmeta  { font-size: 11px; color: var(--light); font-family: var(--mono); margin-top: 2px; }
.rbtns  { display: flex; gap: 8px; }
.btn-sm {
  display: flex; align-items: center; gap: 5px;
  padding: 7px 14px; border-radius: 8px; font-size: 12px; font-weight: 500;
  cursor: pointer; border: none; font-family: var(--sans); transition: all .15s;
}
.btn-sm:hover { opacity: .85; }
.bcopy { background: var(--white); border: 1px solid var(--border); color: var(--muted); }
.bcopy.ok { color: var(--green); border-color: #86efac; background: #f0fdf4; }
.bdl   { background: var(--acc); color: #fff; }
.rpre  {
  padding: 20px 22px; max-height: 480px; overflow-y: auto;
  font-family: var(--mono); font-size: 12px; line-height: 1.85;
  color: var(--muted); white-space: pre-wrap; word-break: break-word;
}
.rpre::-webkit-scrollbar { width: 4px; }
.rpre::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }
.s-h1 { color: var(--text); font-weight: 700; }
.s-h2 { color: var(--acc); font-weight: 600; }
.s-bq { color: var(--muted); font-style: italic; }
.s-lk { color: #0071e3; }
.s-dc { color: var(--light); }

/* New file btn */
.new-file-wrap { text-align: center; margin-top: 28px; }
.btn-new {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 980px;
  background: var(--text); color: var(--white);
  font-size: 15px; font-weight: 500; text-decoration: none;
  transition: background .15s, transform .1s;
}
.btn-new:hover { background: #333; transform: scale(1.02); text-decoration: none; color: var(--white); }
.powered-tag { text-align: center; margin-top: 12px; font-size: 11px; color: var(--light); font-family: var(--mono); }
.powered-tag span { color: var(--acc); }

/* ── Divider ──────────────────────────────────────────────────────────── */
.section-divider { border: none; border-top: 1px solid var(--border); }

/* ── Reviews ──────────────────────────────────────────────────────────── */
.reviews-section { background: var(--off); padding: 80px 24px; }
.section-inner { max-width: var(--max); margin: 0 auto; }
.section-eyebrow { font-size: 12px; font-weight: 500; color: var(--acc); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 10px; }
.section-title { font-size: clamp(26px, 4vw, 38px); font-weight: 700; letter-spacing: -.02em; color: var(--text); margin-bottom: 8px; }
.section-sub { font-size: 16px; color: var(--muted); margin-bottom: 48px; max-width: 480px; }
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.review-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px;
  box-shadow: var(--shadow);
}
.stars { color: #f59e0b; font-size: 14px; margin-bottom: 12px; letter-spacing: 2px; }
.review-text { font-size: 14px; color: var(--muted); line-height: 1.65; margin-bottom: 16px; }
.reviewer { display: flex; align-items: center; gap: 12px; }
.reviewer-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--acc-dim); display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 600; color: var(--acc);
}
.reviewer-name  { font-size: 13px; font-weight: 600; color: var(--text); }
.reviewer-role  { font-size: 11px; color: var(--light); }

/* ── About ────────────────────────────────────────────────────────────── */
.about-section { padding: 80px 24px; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-features { display: flex; flex-direction: column; gap: 28px; margin-top: 32px; }
.about-feature { display: flex; gap: 16px; }
.feature-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--acc-dim); display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; color: var(--acc);
}
.feature-title { font-size: 15px; font-weight: 600; color: var(--text); margin-bottom: 4px; }
.feature-desc  { font-size: 13px; color: var(--muted); line-height: 1.6; }
.about-visual {
  background: var(--off); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px;
  font-family: var(--mono); font-size: 12px; line-height: 1.9;
  color: var(--muted);
}
.av-h1 { color: var(--text); font-weight: 700; }
.av-h2 { color: var(--acc); font-weight: 600; }
.av-lk { color: #0071e3; }
.av-dc { color: var(--light); }

/* ── FAQ ──────────────────────────────────────────────────────────────── */
.faq-section { background: var(--off); padding: 80px 24px; }
.faq-list { max-width: 680px; margin: 0 auto; display: flex; flex-direction: column; gap: 2px; }
.faq-item { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; }
.faq-item + .faq-item { margin-top: 8px; }
.faq-q {
  width: 100%; text-align: left; padding: 18px 22px;
  background: none; border: none; cursor: pointer;
  font-family: var(--sans); font-size: 15px; font-weight: 600;
  color: var(--text); display: flex; justify-content: space-between;
  align-items: center; gap: 16px; transition: background .15s;
}
.faq-q:hover { background: var(--off); }
.faq-chevron { flex-shrink: 0; transition: transform .25s; color: var(--light); }
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-a {
  max-height: 0; overflow: hidden; transition: max-height .3s ease, padding .3s ease;
  font-size: 14px; color: var(--muted); line-height: 1.7;
  padding: 0 22px;
}
.faq-item.open .faq-a { max-height: 300px; padding: 0 22px 18px; }

/* ── Footer ───────────────────────────────────────────────────────────── */
.footer { background: var(--text); color: var(--light); padding: 48px 24px 32px; }
.footer-inner { max-width: var(--max); margin: 0 auto; }
.footer-top {
  display: flex; justify-content: space-between;
  align-items: flex-start; gap: 40px; flex-wrap: wrap;
  padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 24px;
}
.footer-brand { max-width: 280px; }
.footer-logo  { font-size: 16px; font-weight: 600; color: var(--white); margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.footer-logo-icon { width: 24px; height: 24px; background: var(--acc); border-radius: 5px; display: flex; align-items: center; justify-content: center; }
.footer-tagline { font-size: 13px; color: rgba(255,255,255,0.45); line-height: 1.6; }
.footer-links { display: flex; gap: 48px; flex-wrap: wrap; }
.footer-col h4 { font-size: 12px; font-weight: 600; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 14px; }
.footer-col a  { display: block; font-size: 13px; color: rgba(255,255,255,0.4); margin-bottom: 8px; text-decoration: none; transition: color .15s; }
.footer-col a:hover { color: var(--white); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.3); }
.footer-legal { display: flex; gap: 16px; }
.footer-legal a { font-size: 12px; color: rgba(255,255,255,0.3); text-decoration: none; }
.footer-legal a:hover { color: rgba(255,255,255,0.6); }

/* ── Animations ───────────────────────────────────────────────────────── */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes fadeIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
.fade-in { animation: fadeIn .4s ease forwards; }

/* ── Responsive ───────────────────────────────────────────────────────── */
@media (max-width: 760px) {
  .nav-links  { display: none; }
  .hamburger  { display: flex; }
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .input-row  { flex-direction: column; }
  .result-top { flex-direction: column; align-items: flex-start; }
  .footer-top { flex-direction: column; }
}
/* ── Content Section (Privacy Policy, Terms, Disclaimer, etc.) ─────────── */
/* Usage: <section class="morecontenthere"> ... </section>                   */

.morecontenthere {
  max-width: 740px;
  margin: 0 auto;
  padding: 64px 24px 80px;
  font-family: -apple-system, BlinkMacSystemFont, 'Inter', sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* Page Title */
.morecontenthere h1 {
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 700;
  letter-spacing: -.025em;
  color: #1d1d1f;
  margin-bottom: 8px;
  line-height: 1.1;
}

/* Lead paragraph (first p after h1) */
.morecontenthere h1 + p {
  font-size: 16px;
  color: #6e6e73;
  margin-bottom: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid #d2d2d7;
  line-height: 1.7;
}

/* Headings */
.morecontenthere h2 {
  font-size: 22px;
  font-weight: 700;
  color: #1d1d1f;
  margin: 44px 0 12px;
  letter-spacing: -.015em;
  line-height: 1.2;
}

.morecontenthere h3 {
  font-size: 17px;
  font-weight: 600;
  color: #1d1d1f;
  margin: 28px 0 8px;
  line-height: 1.3;
}

/* Body text */
.morecontenthere p {
  font-size: 15px;
  color: #6e6e73;
  line-height: 1.75;
  margin-bottom: 16px;
}

/* Inline styles */
.morecontenthere strong { color: #1d1d1f; font-weight: 600; }
.morecontenthere em     { font-style: italic; }
.morecontenthere a      { color: #0071e3; text-decoration: none; }
.morecontenthere a:hover{ text-decoration: underline; }

/* Unordered list — blue dot */
.morecontenthere ul {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}
.morecontenthere ul li {
  font-size: 15px;
  color: #6e6e73;
  line-height: 1.75;
  padding: 4px 0 4px 26px;
  position: relative;
}
.morecontenthere ul li::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 13px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #0071e3;
}

/* Ordered list */
.morecontenthere ol {
  padding-left: 22px;
  margin-bottom: 20px;
}
.morecontenthere ol li {
  font-size: 15px;
  color: #6e6e73;
  line-height: 1.75;
  padding: 4px 0;
  margin-bottom: 4px;
}
.morecontenthere ol li::marker {
  color: #0071e3;
  font-weight: 600;
}

/* Image */
.morecontenthere img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  border: 1px solid #d2d2d7;
  margin: 24px 0;
}

/* Table */
.morecontenthere table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  margin: 24px 0;
  border: 1px solid #d2d2d7;
  border-radius: 12px;
  overflow: hidden;
}
.morecontenthere table thead {
  background: #f5f5f7;
}
.morecontenthere table th {
  text-align: left;
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 600;
  color: #1d1d1f;
  border-bottom: 1px solid #d2d2d7;
}
.morecontenthere table td {
  padding: 11px 16px;
  color: #6e6e73;
  border-bottom: 1px solid #e8e8ed;
  vertical-align: top;
  line-height: 1.6;
}
.morecontenthere table tr:last-child td {
  border-bottom: none;
}
.morecontenthere table tr:hover td {
  background: #f5f5f7;
}

/* Horizontal rule */
.morecontenthere hr {
  border: none;
  border-top: 1px solid #d2d2d7;
  margin: 40px 0;
}

/* Last updated badge */
.morecontenthere .last-updated {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f5f5f7;
  border: 1px solid #d2d2d7;
  border-radius: 20px;
  padding: 5px 12px;
  font-size: 12px;
  color: #86868b;
  font-family: 'SF Mono', 'Fira Code', monospace;
  margin-bottom: 28px;
}

/* Blockquote */
.morecontenthere blockquote {
  border-left: 3px solid #0071e3;
  margin: 24px 0;
  padding: 12px 20px;
  background: rgba(0,113,227,0.05);
  border-radius: 0 8px 8px 0;
}
.morecontenthere blockquote p {
  margin: 0;
  color: #1d1d1f;
  font-style: italic;
}

/* Code inline */
.morecontenthere code {
  background: #f5f5f7;
  border: 1px solid #e8e8ed;
  border-radius: 5px;
  padding: 2px 7px;
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 13px;
  color: #1d1d1f;
}

/* Responsive */
@media (max-width: 600px) {
  .morecontenthere { padding: 40px 18px 60px; }
  .morecontenthere table { font-size: 13px; }
  .morecontenthere table th,
  .morecontenthere table td { padding: 9px 12px; }
}