/* ==============================================
   DrPadmaneeSharma.com — Single Page Stylesheet
   ============================================== */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: #1e293b;
  background: #fff;
}

/* ── NAV (unused, kept for reference) ── */

/* ── HERO ── */
.hero {
  background: linear-gradient(135deg, #0f172a 0%, #1a3a6b 60%, #1e4d8c 100%);
  color: #fff;
  padding: 4.5rem 1.5rem;
  text-align: center;
}
.hero .tag {
  display: inline-block;
  background: rgba(255,255,255,.13);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 20px;
  font-size: .75rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .3rem 1rem;
  margin-bottom: 1.1rem;
}
.hero h1 {
  font-size: clamp(1.9rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1rem;
  letter-spacing: -.02em;
}
.hero p {
  font-size: 1.1rem;
  opacity: .8;
  max-width: 650px;
  margin: 0 auto;
}

/* ── LAYOUT ── */
.page {
  max-width: 860px;
  margin: 0 auto;
  padding: 3.5rem 1.5rem;
}

/* ── SECTION HEADINGS ── */
h2 {
  font-size: 1.65rem;
  font-weight: 800;
  color: #0f172a;
  margin: 3rem 0 1rem;
  line-height: 1.25;
}
h2.section-first { margin-top: 0; }
h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #1e3a5f;
  margin: 2rem 0 .65rem;
}
h4 {
  font-size: .85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: #2563eb;
  margin: 1.5rem 0 .4rem;
}
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }
strong { color: #0f172a; }
a { color: #2563eb; }

/* ── DIVIDER ── */
hr {
  border: none;
  border-top: 1px solid #e2e8f0;
  margin: 3rem 0;
}

/* ── SECTION LABEL ── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .09em;
  padding: .3rem .9rem;
  border-radius: 20px;
  margin-bottom: .75rem;
}

/* ── TWEET CARD ── */
.tweet-card {
  border: 1.5px solid #e2e8f0;
  border-radius: 14px;
  padding: 1.4rem 1.6rem;
  background: #fff;
  box-shadow: 0 4px 16px rgba(0,0,0,.07);
  margin: 1.75rem 0;
  max-width: 530px;
}
.tweet-header {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: .9rem;
}
.tweet-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4a90d9, #1a56b0);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.tweet-author strong { display: block; font-size: .95rem; }
.tweet-author span { color: #64748b; font-size: .85rem; }
.tweet-body { font-size: .97rem; line-height: 1.65; }
.tweet-body .j { color: #2563eb; font-weight: 700; }
.tweet-body .c { color: #9333ea; font-weight: 700; }
.tweet-footer {
  margin-top: 1rem;
  padding-top: .85rem;
  border-top: 1px solid #e2e8f0;
}
.deleted-badge {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  background: #fee2e2;
  color: #991b1b;
  font-size: .78rem;
  font-weight: 600;
  padding: .25rem .75rem;
  border-radius: 20px;
}

/* ── ACROSTIC GRID ── */
.acrostic-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1.5rem 0;
}
@media (max-width: 560px) { .acrostic-grid { grid-template-columns: 1fr; } }
.acrostic-box { border: 1px solid #e2e8f0; border-radius: 8px; overflow: hidden; }
.acrostic-head {
  padding: .55rem 1rem;
  font-weight: 700;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.acrostic-head.j { background: #dbeafe; color: #1d4ed8; }
.acrostic-head.c { background: #ede9fe; color: #6d28d9; }
.acrostic-rows { padding: .6rem 1rem; }
.acrostic-row {
  display: flex;
  align-items: baseline;
  gap: .5rem;
  padding: .28rem 0;
  border-bottom: 1px solid #f1f5f9;
  font-size: .9rem;
}
.acrostic-row:last-child { border-bottom: none; }
.al { font-weight: 800; font-size: 1.05rem; min-width: 1.4rem; text-align: center; }
.al.j { color: #2563eb; }
.al.c { color: #9333ea; }
.aw { color: #64748b; }

/* ── AI SUMMARY BULLETS (homepage) ── */
.ai-bullets { margin: 1.5rem 0; }
.ai-bullet {
  border-left: 4px solid #e2e8f0;
  padding: .85rem 1.1rem;
  margin: .7rem 0;
  border-radius: 0 6px 6px 0;
  background: #f8fafc;
  font-size: .95rem;
}
.ai-bullet .ai-name {
  font-weight: 700;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: .2rem;
}
.ai-bullet.perplexity { border-color: #2563eb; }
.ai-bullet.perplexity .ai-name { color: #2563eb; }
.ai-bullet.chatgpt { border-color: #10a37f; }
.ai-bullet.chatgpt .ai-name { color: #10a37f; }
.ai-bullet.grok { border-color: #374151; }
.ai-bullet.grok .ai-name { color: #111; }
.ai-bullet.claude { border-color: #d97706; }
.ai-bullet.claude .ai-name { color: #92400e; }
.ai-bullet.google { border-color: #ea4335; }
.ai-bullet.google .ai-name { color: #b91c1c; }

/* ── CALLOUT ── */
.callout {
  border-left: 4px solid #2563eb;
  background: #eff6ff;
  padding: 1rem 1.25rem;
  border-radius: 0 8px 8px 0;
  margin: 1.5rem 0;
  font-size: .95rem;
}
.callout.warning { border-color: #f59e0b; background: #fefce8; }
.callout.danger  { border-color: #dc2626; background: #fef2f2; }
.callout.success { border-color: #16a34a; background: #f0fdf4; }
.callout.purple  { border-color: #9333ea; background: #faf5ff; }
.callout .label {
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #64748b;
  margin-bottom: .3rem;
}

/* ── STAT ROWS ── */
.stat-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: .9rem 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  margin: .65rem 0;
  background: #f8fafc;
}
.stat-num { font-size: 1.2rem; font-weight: 800; color: #dc2626; min-width: 160px; }
.stat-desc { font-size: .9rem; color: #64748b; }
@media (max-width: 500px) { .stat-row { flex-direction: column; align-items: flex-start; } .stat-num { min-width: unset; } }

/* ── VERDICT BANNER ── */
.verdict {
  background: linear-gradient(135deg, #0f172a, #1a3a6b);
  color: #fff;
  border-radius: 10px;
  padding: 1.5rem 2rem;
  margin: 2rem 0;
  text-align: center;
}
.verdict .label { font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; opacity: .65; margin-bottom: .35rem; }
.verdict .text { font-size: 1.1rem; font-weight: 700; line-height: 1.4; }

/* ── NUMBERED / BULLETED LISTS ── */
.list { list-style: none; margin: 1rem 0 1.5rem; }
.list li {
  position: relative;
  padding: .6rem 0 .6rem 2.1rem;
  border-bottom: 1px solid #f1f5f9;
  font-size: .95rem;
  line-height: 1.65;
}
.list li:last-child { border-bottom: none; }
.list.bullets li::before {
  content: '•';
  position: absolute;
  left: .55rem;
  color: #2563eb;
  font-size: 1.2rem;
  line-height: 1.4;
}
.list.numbered { counter-reset: n; }
.list.numbered li { padding-left: 2.6rem; }
.list.numbered li::before {
  counter-increment: n;
  content: counter(n);
  position: absolute;
  left: 0; top: .55rem;
  background: #2563eb;
  color: #fff;
  width: 1.55rem; height: 1.55rem;
  border-radius: 50%;
  font-size: .75rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}

/* ── PROMPTS ── */
.prompt-category-title {
  font-size: .85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: #1a3a6b;
  border-bottom: 2px solid #2563eb;
  padding-bottom: .4rem;
  margin: 2rem 0 .9rem;
}
.prompt {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-left: 3px solid #2563eb;
  border-radius: 0 6px 6px 0;
  padding: .85rem 1.1rem;
  margin: .6rem 0;
  font-size: .92rem;
  font-style: italic;
  line-height: 1.65;
}

/* ── TAB BAR ── */
.tab-bar {
  background: #fff;
  border-bottom: 2px solid #e2e8f0;
  position: sticky;
  top: 0;
  z-index: 90;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.tab-bar-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.tab-bar-inner::-webkit-scrollbar { display: none; }
.tab-btn {
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  padding: .85rem 1.1rem;
  font-size: .88rem;
  font-weight: 600;
  color: #64748b;
  cursor: pointer;
  white-space: nowrap;
  transition: color .2s, border-color .2s;
  margin-bottom: -2px;
  font-family: inherit;
}
.tab-btn:hover { color: #1e293b; }
.tab-btn.active { color: #1a3a6b; border-bottom-color: #1a3a6b; }

/* ── TAB PANELS ── */
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ── FOOTER ── */
footer {
  background: #0f172a;
  color: rgba(255,255,255,.55);
  text-align: center;
  padding: 2.5rem 1.5rem;
  font-size: .85rem;
  margin-top: 4rem;
}
footer ul { display: flex; justify-content: center; flex-wrap: wrap; gap: .9rem; list-style: none; margin-bottom: .8rem; }
footer a { color: rgba(255,255,255,.7); text-decoration: none; }
footer a:hover { color: #fff; }

/* ── HIGHLIGHT BOX ── */
.highlight-box {
  background: #fefce8;
  border: 1px solid #fde68a;
  border-radius: 8px;
  padding: 1.1rem 1.4rem;
  margin: 1.25rem 0;
  font-size: .95rem;
}

/* ── QUOTED TWEET EXCERPT ── */
.quote-block {
  border-left: 3px solid #cbd5e1;
  padding: .75rem 1.1rem;
  margin: 1.1rem 0;
  background: #f8fafc;
  border-radius: 0 6px 6px 0;
  font-style: italic;
  font-size: .95rem;
  color: #334155;
}
