/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --accent: #f59e0b;
  --bg: #0f172a;
  --bg-alt: #1e293b;
  --bg-card: #1e293b;
  --border: #334155;
  --text: #f1f5f9;
  --text-muted: #94a3b8;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(0,0,0,0.4);
}
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; background: var(--bg); color: var(--text); line-height: 1.6; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; }

/* ── Layout ── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); }
.section-title { font-size: 2rem; font-weight: 800; text-align: center; margin-bottom: 12px; }
.section-sub { text-align: center; color: var(--text-muted); max-width: 600px; margin: 0 auto 48px; font-size: 1.05rem; }
.center-cta { text-align: center; margin-top: 40px; }

/* ── Nav ── */
.nav { position: sticky; top: 0; z-index: 100; background: rgba(15,23,42,0.95); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: flex; align-items: center; gap: 8px; font-size: 1.1rem; font-weight: 700; color: var(--text); }
.logo-icon { color: var(--primary); font-size: 1.2rem; }
.logo-dot { color: var(--primary); }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a { color: var(--text-muted); font-size: 0.95rem; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--text); text-decoration: none; }
.nav-toggle { display: none; background: none; border: none; color: var(--text); font-size: 1.4rem; cursor: pointer; }

/* ── Buttons ── */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; border-radius: 8px; font-weight: 600; font-size: 0.95rem; cursor: pointer; border: 2px solid transparent; transition: all 0.18s cubic-bezier(0.23,1,0.32,1); text-decoration: none; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--primary); color: #fff; border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); }
.btn-outline { background: transparent; color: var(--text); border-color: var(--border); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-accent { background: var(--accent); color: #000; border-color: var(--accent); font-weight: 700; }
.btn-accent:hover { background: #d97706; border-color: #d97706; }
.btn-white { background: #fff; color: var(--primary); border-color: #fff; font-weight: 700; }
.btn-white:hover { background: #f1f5f9; }
.btn-sm { padding: 7px 14px; font-size: 0.875rem; }
.btn-lg { padding: 14px 28px; font-size: 1rem; }

/* ── Hero ── */
.hero { padding: 80px 0 60px; background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #0f172a 100%); }
.hero-inner { text-align: center; }
.hero-badge { display: inline-block; background: rgba(37,99,235,0.2); border: 1px solid rgba(37,99,235,0.4); color: #93c5fd; padding: 6px 16px; border-radius: 100px; font-size: 0.85rem; font-weight: 600; margin-bottom: 24px; letter-spacing: 0.05em; text-transform: uppercase; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 800; line-height: 1.15; margin-bottom: 20px; }
.hero-sub { font-size: 1.1rem; color: var(--text-muted); max-width: 600px; margin: 0 auto 40px; }
.hero-sub a { color: var(--accent); }

/* ── Tool Card ── */
.tool-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; max-width: 780px; margin: 0 auto; box-shadow: var(--shadow); }
.tool-input-row { display: flex; gap: 12px; }
.tool-input { flex: 1; background: var(--bg); border: 2px solid var(--border); border-radius: 8px; padding: 14px 18px; color: var(--text); font-size: 1rem; font-family: inherit; transition: border-color 0.2s; }
.tool-input:focus { outline: none; border-color: var(--primary); }
.tool-input::placeholder { color: var(--text-muted); }
.tool-error { margin-top: 12px; padding: 12px 16px; background: rgba(239,68,68,0.1); border: 1px solid rgba(239,68,68,0.3); border-radius: 8px; color: #fca5a5; font-size: 0.9rem; }
.tool-result { margin-top: 20px; }
.result-header { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; }
.result-meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.result-title { font-weight: 600; font-size: 0.95rem; color: var(--text); }
.result-badge { background: rgba(37,99,235,0.2); color: #93c5fd; padding: 3px 10px; border-radius: 100px; font-size: 0.8rem; font-weight: 600; }
.result-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.transcript-box { background: var(--bg); border: 1px solid var(--border); border-radius: 8px; padding: 20px; max-height: 320px; overflow-y: auto; font-size: 0.9rem; line-height: 1.8; color: var(--text-muted); white-space: normal; }
/* Timestamp markers in transcript */
.ts-marker {
  display: inline-block;
  background: rgba(37, 99, 235, 0.15);
  color: #60a5fa;
  font-size: 0.75rem;
  font-weight: 600;
  font-family: monospace;
  padding: 1px 5px;
  border-radius: 4px;
  border: 1px solid rgba(96, 165, 250, 0.3);
  text-decoration: none;
  margin-right: 4px;
  vertical-align: middle;
  cursor: pointer;
  transition: background 0.15s;
}
.ts-marker:hover {
  background: rgba(37, 99, 235, 0.35);
  color: #93c5fd;
  text-decoration: none;
}

.upsell-banner { margin-top: 20px; background: linear-gradient(135deg, rgba(245,158,11,0.1), rgba(37,99,235,0.1)); border: 1px solid rgba(245,158,11,0.3); border-radius: 10px; padding: 16px 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.upsell-text { display: flex; flex-direction: column; gap: 4px; }
.upsell-text strong { color: var(--accent); }
.upsell-text span { font-size: 0.875rem; color: var(--text-muted); }
.spinner { width: 18px; height: 18px; border: 2px solid rgba(255,255,255,0.3); border-top-color: #fff; border-radius: 50%; animation: spin 0.7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.hidden { display: none !important; }

/* ── Stats Bar ── */
.stats-bar { background: var(--primary); padding: 24px 0; }
.stats-inner { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 20px; }
.stat { text-align: center; }
.stat strong { display: block; font-size: 1.6rem; font-weight: 800; color: #fff; }
.stat span { font-size: 0.8rem; color: rgba(255,255,255,0.75); }

/* ── Cards Grid ── */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; transition: border-color 0.2s, transform 0.2s; }
.card:hover { border-color: var(--primary); transform: translateY(-3px); }
.card-icon { font-size: 2rem; margin-bottom: 14px; }
.card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 10px; }
.card p { color: var(--text-muted); font-size: 0.9rem; }

/* ── Steps ── */
.steps { display: flex; align-items: flex-start; justify-content: center; gap: 8px; flex-wrap: wrap; }
.step { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; max-width: 220px; text-align: center; flex: 1; min-width: 160px; }
.step-num { width: 40px; height: 40px; background: var(--primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.1rem; margin: 0 auto 14px; }
.step h3 { font-size: 0.95rem; font-weight: 700; margin-bottom: 8px; }
.step p { font-size: 0.85rem; color: var(--text-muted); }
.step-arrow { font-size: 1.5rem; color: var(--primary); align-self: center; margin-top: -20px; }

/* ── Blog Grid ── */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.blog-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 10px; transition: border-color 0.2s, transform 0.2s; color: var(--text); }
.blog-card:hover { border-color: var(--primary); transform: translateY(-3px); text-decoration: none; }
.blog-tag { display: inline-block; background: rgba(37,99,235,0.2); color: #93c5fd; padding: 3px 10px; border-radius: 100px; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; width: fit-content; }
.blog-card h3 { font-size: 1rem; font-weight: 700; line-height: 1.4; }
.blog-card p { color: var(--text-muted); font-size: 0.875rem; flex: 1; }
.blog-read { color: var(--primary); font-size: 0.875rem; font-weight: 600; }

/* ── FAQ ── */
.faq-list { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.faq-item summary { padding: 18px 24px; font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq-item summary::after { content: '+'; font-size: 1.2rem; color: var(--primary); transition: transform 0.2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding: 0 24px 18px; color: var(--text-muted); font-size: 0.9rem; line-height: 1.7; }
.faq-item a { color: var(--primary); }

/* ── CTA Section ── */
.cta-section { background: linear-gradient(135deg, var(--primary-dark), #1e40af); padding: 80px 0; text-align: center; }
.cta-inner h2 { font-size: 2rem; font-weight: 800; margin-bottom: 16px; }
.cta-inner p { color: rgba(255,255,255,0.8); max-width: 560px; margin: 0 auto 32px; font-size: 1.05rem; }

/* ── Footer ── */
.footer { background: var(--bg-alt); border-top: 1px solid var(--border); padding: 60px 0 0; }
.footer-inner { display: grid; grid-template-columns: 1fr 2fr; gap: 48px; padding-bottom: 48px; }
.footer-brand p { color: var(--text-muted); font-size: 0.875rem; margin-top: 12px; max-width: 260px; }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer-links div { display: flex; flex-direction: column; gap: 10px; }
.footer-links strong { font-size: 0.875rem; color: var(--text); }
.footer-links a { color: var(--text-muted); font-size: 0.875rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--text); text-decoration: none; }
.footer-bottom { border-top: 1px solid var(--border); padding: 20px 0; }
.footer-bottom p { color: var(--text-muted); font-size: 0.8rem; text-align: center; }
.footer-bottom a { color: var(--primary); }

/* ── Blog Page ── */
.blog-hero { padding: 60px 0 40px; background: var(--bg-alt); text-align: center; border-bottom: 1px solid var(--border); }
.blog-hero h1 { font-size: 2.2rem; font-weight: 800; }
.blog-hero p { color: var(--text-muted); margin-top: 12px; }
.article-body { max-width: 720px; margin: 0 auto; padding: 60px 24px; }
.article-body h1 { font-size: 2rem; font-weight: 800; margin-bottom: 16px; line-height: 1.25; }
.article-body h2 { font-size: 1.4rem; font-weight: 700; margin: 40px 0 16px; }
.article-body h3 { font-size: 1.1rem; font-weight: 700; margin: 28px 0 12px; }
.article-body p { color: var(--text-muted); margin-bottom: 20px; line-height: 1.8; }
.article-body ul, .article-body ol { color: var(--text-muted); padding-left: 24px; margin-bottom: 20px; }
.article-body li { margin-bottom: 8px; line-height: 1.7; }
.article-meta { display: flex; gap: 16px; align-items: center; margin-bottom: 32px; flex-wrap: wrap; }
.article-meta .blog-tag { font-size: 0.75rem; }
.article-meta span { color: var(--text-muted); font-size: 0.875rem; }
.article-cta { background: linear-gradient(135deg, rgba(37,99,235,0.15), rgba(245,158,11,0.1)); border: 1px solid rgba(37,99,235,0.3); border-radius: var(--radius); padding: 28px; margin: 40px 0; text-align: center; }
.article-cta h3 { margin-bottom: 10px; }
.article-cta p { margin-bottom: 20px; }

/* ── Responsive ── */
@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: var(--bg-alt); padding: 20px; border-bottom: 1px solid var(--border); gap: 16px; }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .tool-input-row { flex-direction: column; }
  .steps { flex-direction: column; align-items: center; }
  .step-arrow { transform: rotate(90deg); margin: -8px 0; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: repeat(2, 1fr); }
  .stats-inner { gap: 28px; }
  .result-header { flex-direction: column; align-items: flex-start; }
}

/* Cancel any time badge */
.cancel-badge {
  font-size: 0.75rem;
  color: #22c55e;
  font-weight: 600;
  margin-top: 0.25rem;
  margin-bottom: 0;
  letter-spacing: 0.01em;
}


/* ── Suite Navigation Bar ──────────────────────────────────────────────────── */
.suite-bar {
  background: #0a0f1e;
  border-bottom: 1px solid #1e293b;
  padding: 0;
  position: relative;
  z-index: 200;
}
.suite-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
}
.suite-bar-label {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #475569;
  padding: .6rem .75rem .6rem 0;
  white-space: nowrap;
  border-right: 1px solid #1e293b;
  margin-right: .75rem;
  flex-shrink: 0;
}
.suite-tools {
  display: flex;
  align-items: center;
  gap: .25rem;
  flex-wrap: wrap;
  flex: 1;
}
.suite-tool {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .45rem .85rem;
  border-radius: .4rem;
  font-size: .8rem;
  font-weight: 600;
  text-decoration: none;
  transition: background .15s, color .15s;
  white-space: nowrap;
  color: #64748b;
  background: transparent;
  border: none;
}
.suite-tool:hover {
  background: #1e293b;
  color: #e2e8f0;
  text-decoration: none;
}
.suite-tool.active {
  background: #1e293b;
  color: #a78bfa;
  cursor: default;
  pointer-events: none;
}





.suite-tool .st-icon {
  font-size: .9rem;
  line-height: 1;
}
.suite-tool .st-badge {
  font-size: .65rem;
  background: #334155;
  color: #94a3b8;
  padding: .1rem .35rem;
  border-radius: .25rem;
  font-weight: 600;
}
.suite-tool.active .st-badge {
  background: #3730a3;
  color: #c4b5fd;
}
.suite-arrow {
  color: #334155;
  font-size: .75rem;
  padding: 0 .1rem;
  flex-shrink: 0;
}
@media (max-width: 640px) {
  .suite-bar-label { display: none; }
  .suite-tool { padding: .4rem .6rem; font-size: .75rem; }
}


/* ── Suite Suggestion Box ──────────────────────────────────────────────────── */
.suite-suggestions {
  background: #080d1a;
  border-bottom: 1px solid #1e293b;
  padding: .85rem 0;
  overflow: hidden;
}
.suite-suggestions-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.suite-suggestions-label {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: #334155;
  margin-bottom: .55rem;
}
.suite-suggestion-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
}
.suggestion-chip {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .3rem .75rem;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 500;
  background: #0f172a;
  border: 1px solid #1e293b;
  color: #94a3b8;
  cursor: pointer;
  transition: background .15s, border-color .15s, color .15s, transform .1s;
  text-decoration: none;
  white-space: nowrap;
  user-select: none;
}
.suggestion-chip:hover {
  background: #1e293b;
  border-color: #334155;
  color: #e2e8f0;
  text-decoration: none;
  transform: translateY(-1px);
}
.suggestion-chip .chip-icon {
  font-size: .85rem;
  line-height: 1;
}
.suggestion-chip.chip-active {
  background: #1e1b4b;
  border-color: #4338ca;
  color: #a5b4fc;
}
@media (max-width: 640px) {
  .suite-suggestion-chips { gap: .3rem; }
  .suggestion-chip { font-size: .72rem; padding: .25rem .6rem; }
}


/* ── AdSense Ad Units ──────────────────────────────────────────────────────── */
.ad-unit {
  text-align: center;
  padding: 1rem 0;
  overflow: hidden;
}
.ad-unit::before {
  content: 'Advertisement';
  display: block;
  font-size: .65rem;
  color: #475569;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: .35rem;
}
.ad-leaderboard { max-width: 728px; margin: 0 auto; }
.ad-responsive { width: 100%; }

/* == What Can I Do Here Dropdown == */


.wcdh-bar {
  background: #080d1a;
  border-bottom: 1px solid #1e293b;
  padding: .6rem 0;
}
.wcdh-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
}
.wcdh-dropdown {
  position: relative;
  display: inline-block;
}
.wcdh-btn {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .4rem 1rem;
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 600;
  background: #0f172a;
  border: 1px solid #2563eb;
  color: #3b82f6;
  cursor: pointer;
  transition: background .15s, box-shadow .15s, transform .1s;
  letter-spacing: .01em;
  white-space: nowrap;
  user-select: none;
}
.wcdh-btn:hover {
  background: rgba(37,99,235,0.18);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.18);
  transform: translateY(-1px);
}
.wcdh-btn:active { transform: scale(0.97); }
.wcdh-btn-icon { font-size: .9rem; }
.wcdh-chevron {
  font-size: .65rem;
  transition: transform .2s cubic-bezier(0.23,1,0.32,1);
  display: inline-block;
}
.wcdh-chevron.open { transform: rotate(180deg); }
.wcdh-menu {
  position: absolute;
  top: calc(100% + .5rem);
  left: 0;
  z-index: 9999;
  background: #0f172a;
  border: 1px solid #2563eb;
  border-radius: .75rem;
  padding: .4rem;
  min-width: 280px;
  max-width: 340px;
  box-shadow: 0 8px 32px rgba(0,0,0,.5);
  opacity: 0;
  transform: scale(0.95) translateY(-6px);
  transform-origin: top left;
  pointer-events: none;
  transition: opacity .18s cubic-bezier(0.23,1,0.32,1), transform .18s cubic-bezier(0.23,1,0.32,1);
}
.wcdh-menu.open {
  opacity: 1;
  transform: scale(1) translateY(0);
  pointer-events: auto;
}
.wcdh-item {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .55rem .85rem;
  border-radius: .5rem;
  font-size: .83rem;
  font-weight: 500;
  color: #94a3b8;
  text-decoration: none;
  transition: background .12s, color .12s;
}
.wcdh-item:hover {
  background: rgba(37,99,235,0.18);
  color: #e2e8f0;
  text-decoration: none;
}
.wcdh-item-icon { font-size: .95rem; flex-shrink: 0; }
@media (max-width: 640px) {
  .wcdh-menu { min-width: 240px; max-width: calc(100vw - 2rem); }
  .wcdh-btn { font-size: .75rem; padding: .35rem .8rem; }
}

/* ── Generation Progress Bar ── */
.gen-progress-wrap { display: none; margin-top: 1rem; background: #0f172a; border: 1px solid #1e293b; border-radius: .75rem; padding: 1rem 1.25rem; }
.gen-progress-wrap.active { display: block; }
.gen-progress-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: .6rem; }
.gen-progress-stage { font-size: .875rem; font-weight: 600; color: #e2e8f0; }
.gen-progress-timer { font-size: .8rem; color: #64748b; font-variant-numeric: tabular-nums; }
.gen-progress-bar-track { height: 6px; background: #1e293b; border-radius: 3px; overflow: hidden; }
.gen-progress-bar-fill { height: 100%; border-radius: 3px; transition: width .4s cubic-bezier(0.23,1,0.32,1); }
.gen-progress-steps { display: flex; gap: .5rem; margin-top: .75rem; flex-wrap: wrap; }
.gen-progress-step { font-size: .75rem; padding: .2rem .6rem; border-radius: 999px; border: 1px solid #334155; color: #64748b; transition: all .3s; }
.gen-progress-step.done { border-color: #10b981; color: #10b981; background: rgba(16,185,129,.1); }
.gen-progress-step.active { border-color: #6366f1; color: #a5b4fc; background: rgba(99,102,241,.15); animation: pulse-step .8s ease-in-out infinite alternate; }
@keyframes pulse-step { from { opacity:.7; } to { opacity:1; } }

/* ── Language Selector ─────────────────────────────────────────────────── */
.lang-selector-row { margin: 1rem 0 0.5rem; }
.lang-selector-label { display:block; font-size:.85rem; font-weight:600; color:#94a3b8; margin-bottom:.5rem; text-transform:uppercase; letter-spacing:.05em; }
.lang-options { display:flex; flex-wrap:wrap; gap:.5rem 1.2rem; align-items:center; }
.lang-option { display:flex; align-items:center; gap:.35rem; cursor:pointer; font-size:.9rem; color:#e2e8f0; }
.lang-option input[type=radio] { accent-color:#a78bfa; cursor:pointer; }
.lang-other-input { background:#1e293b; border:1px solid #334155; border-radius:.4rem; color:#e2e8f0; font-size:.85rem; padding:.25rem .5rem; width:7rem; }
.lang-other-input.hidden { display:none; }
.lang-accuracy-note { margin:.5rem 0 0; font-size:.8rem; color:#64748b; font-style:italic; }
