/* ================================================================
   HelpingTools – YouTube Comment Exporter Pro
   style.css — Full UI Stylesheet
   HelpingDude.com
   ================================================================ */

/* ─── CSS VARIABLES ─────────────────────────────────────────── */
:root {
  --primary:       #FF0000;
  --primary-dark:  #CC0000;
  --primary-light: #FF4444;
  --accent:        #FF6B35;
  --pro-color:     #7C3AED;
  --agency-color:  #0EA5E9;

  --bg:            #0A0A0A;
  --bg-card:       #141414;
  --bg-input:      #1A1A1A;
  --bg-hover:      #202020;

  --text-primary:  #FFFFFF;
  --text-secondary:#A0A0A0;
  --text-muted:    #606060;

  --border:        #2A2A2A;
  --border-focus:  #FF0000;

  --success:       #22C55E;
  --warning:       #F59E0B;
  --error:         #EF4444;

  --radius-sm:     6px;
  --radius:        12px;
  --radius-lg:     20px;
  --radius-xl:     28px;

  --shadow:        0 4px 24px rgba(0,0,0,0.5);
  --shadow-glow:   0 0 40px rgba(255,0,0,0.15);
  --shadow-card:   0 2px 12px rgba(0,0,0,0.4);

  --font:         'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono:    'JetBrains Mono', 'Fira Code', 'Courier New', monospace;

  --transition:   all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width:    1200px;
}

/* ─── RESET ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text-primary);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-light); }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ─── CONTAINER ─────────────────────────────────────────────── */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }

/* ─── TYPOGRAPHY ────────────────────────────────────────────── */
h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; line-height: 1.2; }
h2 { font-size: clamp(1.4rem, 3vw, 2rem);   font-weight: 700; line-height: 1.3; }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 600; }
p  { color: var(--text-secondary); }

/* ─── NAVBAR ────────────────────────────────────────────────── */
.navbar {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(10,10,10,0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 0 20px;
}
.navbar-inner {
  max-width: var(--max-width); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 60px;
}
.navbar-brand {
  display: flex; align-items: center; gap: 10px;
  font-size: 1.1rem; font-weight: 700; color: var(--text-primary);
}
.navbar-brand span { color: var(--primary); }
.navbar-brand .logo-icon {
  width: 32px; height: 32px;
  background: var(--primary);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
}
.navbar-links { display: flex; align-items: center; gap: 24px; }
.navbar-links a {
  font-size: 0.9rem; color: var(--text-secondary); font-weight: 500;
}
.navbar-links a:hover { color: var(--text-primary); }
.navbar-cta {
  background: var(--primary); color: white !important;
  padding: 6px 16px; border-radius: 20px; font-size: 0.85rem !important;
}
.navbar-cta:hover { background: var(--primary-dark) !important; color: white !important; }

/* ─── HERO ──────────────────────────────────────────────────── */
.hero {
  padding: 80px 0 60px;
  background: radial-gradient(ellipse at 50% 0%, rgba(255,0,0,0.08) 0%, transparent 60%);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23FF0000' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='4'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,0,0,0.1); border: 1px solid rgba(255,0,0,0.3);
  color: var(--primary-light); padding: 4px 14px;
  border-radius: 100px; font-size: 0.8rem; font-weight: 600;
  margin-bottom: 20px;
}
.hero-badge::before { content: '▶'; font-size: 0.7rem; }
.hero h1 { margin-bottom: 16px; }
.hero h1 span { color: var(--primary); }
.hero p.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem); max-width: 640px;
  margin: 0 auto 36px; color: var(--text-secondary);
}
.hero-stats {
  display: flex; justify-content: center; gap: 40px;
  flex-wrap: wrap; margin-top: 40px;
}
.hero-stat { text-align: center; }
.hero-stat strong { display: block; font-size: 1.8rem; font-weight: 800; color: var(--primary); }
.hero-stat span   { font-size: 0.85rem; color: var(--text-muted); }

/* ─── TOOL CARD ─────────────────────────────────────────────── */
.tool-section { padding: 0 0 80px; }

.tool-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  max-width: 900px;
  margin: 0 auto;
}

.tool-header {
  padding: 28px 32px 20px;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 14px;
}
.tool-header .icon {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; flex-shrink: 0;
}
.tool-header h2 { font-size: 1.3rem; margin-bottom: 2px; }
.tool-header p   { font-size: 0.85rem; margin: 0; color: var(--text-muted); }

.tool-body { padding: 28px 32px; }

/* ─── FORM ELEMENTS ─────────────────────────────────────────── */
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block; font-size: 0.85rem; font-weight: 600;
  color: var(--text-secondary); margin-bottom: 8px; letter-spacing: 0.02em;
  text-transform: uppercase;
}
.url-row { display: flex; gap: 10px; }
.url-input {
  flex: 1;
  background: var(--bg-input);
  border: 1.5px solid var(--border);
  color: var(--text-primary);
  padding: 14px 18px;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-family: var(--font);
  transition: var(--transition);
  outline: none;
}
.url-input::placeholder { color: var(--text-muted); }
.url-input:focus { border-color: var(--border-focus); box-shadow: 0 0 0 3px rgba(255,0,0,0.1); }
.url-input.error { border-color: var(--error); }

/* Filters row */
.filters-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
}
.filter-group label { font-size: 0.78rem; font-weight: 600; text-transform: uppercase;
                       color: var(--text-muted); display: block; margin-bottom: 6px; }
.filter-select, .filter-input {
  width: 100%;
  background: var(--bg-input);
  border: 1.5px solid var(--border);
  color: var(--text-primary);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-family: var(--font);
  outline: none;
  transition: var(--transition);
}
.filter-select:focus, .filter-input:focus {
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(255,0,0,0.08);
}
.filter-select option { background: #1A1A1A; }

/* ─── BUTTONS ───────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 13px 24px; border-radius: var(--radius);
  font-size: 0.95rem; font-weight: 600; font-family: var(--font);
  cursor: pointer; border: none; transition: var(--transition);
  white-space: nowrap; text-decoration: none;
}
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  box-shadow: 0 4px 16px rgba(255,0,0,0.3);
}
.btn-primary:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(255,0,0,0.4);
}

.btn-outline {
  background: transparent; color: var(--text-secondary);
  border: 1.5px solid var(--border);
}
.btn-outline:hover { border-color: var(--text-secondary); color: var(--text-primary); }

.btn-pro {
  background: linear-gradient(135deg, #7C3AED, #5B21B6);
  color: white;
  box-shadow: 0 4px 16px rgba(124,58,237,0.3);
}
.btn-pro:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(124,58,237,0.4); }

.btn-sm { padding: 8px 16px; font-size: 0.85rem; border-radius: var(--radius-sm); }
.btn-lg { padding: 16px 32px; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-icon { width: 38px; height: 38px; padding: 0; border-radius: var(--radius-sm); font-size: 1rem; }

/* Export buttons */
.export-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.export-btn {
  background: var(--bg-input); border: 1.5px solid var(--border);
  color: var(--text-secondary); padding: 8px 16px;
  border-radius: var(--radius-sm); font-size: 0.85rem; font-weight: 600;
  cursor: pointer; transition: var(--transition); display: flex; align-items: center; gap: 6px;
  font-family: var(--font);
}
.export-btn:hover { border-color: var(--primary); color: var(--primary); background: rgba(255,0,0,0.05); }
.export-btn.csv:hover    { border-color: var(--success); color: var(--success); background: rgba(34,197,94,0.05); }
.export-btn.xlsx:hover   { border-color: #22C55E; color: #22C55E; background: rgba(34,197,94,0.05); }
.export-btn.json:hover   { border-color: var(--warning); color: var(--warning); background: rgba(245,158,11,0.05); }
.export-btn.txt:hover    { border-color: var(--agency-color); color: var(--agency-color); background: rgba(14,165,233,0.05); }

/* ─── PROGRESS BAR ──────────────────────────────────────────── */
.progress-wrap { margin: 20px 0; }
.progress-info { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.progress-label { font-size: 0.85rem; color: var(--text-secondary); }
.progress-pct   { font-size: 0.85rem; font-weight: 600; color: var(--primary); }
.progress-bar-outer {
  height: 6px; background: var(--bg-input);
  border-radius: 100px; overflow: hidden;
}
.progress-bar-inner {
  height: 100%; width: 0;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  border-radius: 100px;
  transition: width 0.4s ease;
}

/* Loading shimmer */
.shimmer {
  background: linear-gradient(90deg, var(--bg-card) 25%, var(--bg-hover) 50%, var(--bg-card) 75%);
  background-size: 400% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-sm);
}
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* ─── ANALYTICS GRID ────────────────────────────────────────── */
.results-section { display: none; margin-top: 28px; }
.results-section.visible { display: block; }

.analytics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 14px;
  margin-bottom: 28px;
}
.analytics-card {
  background: var(--bg-input); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 18px 16px;
  text-align: center; transition: var(--transition);
}
.analytics-card:hover { border-color: rgba(255,0,0,0.3); transform: translateY(-2px); }
.analytics-card .icon { font-size: 1.6rem; margin-bottom: 8px; }
.analytics-card .value {
  font-size: 1.5rem; font-weight: 800; color: var(--text-primary);
  margin-bottom: 4px;
}
.analytics-card .label { font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; font-weight: 600; }

/* Sentiment bar */
.sentiment-section { margin-bottom: 24px; }
.sentiment-bars { display: flex; gap: 8px; margin-top: 12px; }
.sentiment-bar-wrap { flex: 1; }
.sentiment-bar-wrap label { font-size: 0.75rem; text-transform: uppercase; color: var(--text-muted); margin-bottom: 6px; display: block; }
.sentiment-bar-outer { height: 8px; background: var(--bg-input); border-radius: 100px; overflow: hidden; }
.sentiment-bar-inner { height: 100%; border-radius: 100px; transition: width 1s ease; }
.sentiment-bar-inner.pos { background: var(--success); }
.sentiment-bar-inner.neg { background: var(--error); }
.sentiment-bar-inner.neu { background: var(--text-muted); }
.sentiment-pct { font-size: 0.85rem; font-weight: 700; margin-top: 4px; }

/* Keywords */
.keywords-section { margin-bottom: 24px; }
.keywords-wrap { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.keyword-tag {
  background: rgba(255,0,0,0.08); border: 1px solid rgba(255,0,0,0.2);
  color: var(--primary-light); padding: 4px 12px;
  border-radius: 100px; font-size: 0.8rem; font-weight: 500;
}
.keyword-tag.size-lg { font-size: 0.95rem; background: rgba(255,0,0,0.15); }
.keyword-tag.size-md { font-size: 0.85rem; }

/* Top commenters */
.commenters-list { margin-top: 12px; }
.commenter-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 0; border-bottom: 1px solid var(--border);
}
.commenter-row:last-child { border: none; }
.commenter-name { font-size: 0.9rem; font-weight: 500; }
.commenter-count { font-size: 0.8rem; background: rgba(255,0,0,0.1); color: var(--primary); padding: 2px 8px; border-radius: 100px; font-weight: 600; }

/* ─── COMMENTS TABLE ────────────────────────────────────────── */
.comments-table-wrap {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 20px;
}
.comments-table-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 18px; background: var(--bg-input);
  border-bottom: 1px solid var(--border);
}
.comments-table-header h4 { font-size: 0.95rem; }
.table-search {
  background: var(--bg); border: 1px solid var(--border);
  color: var(--text-primary); padding: 6px 12px;
  border-radius: var(--radius-sm); font-size: 0.85rem;
  font-family: var(--font); outline: none; width: 200px;
}
.table-search:focus { border-color: var(--primary); }

.comments-table { width: 100%; border-collapse: collapse; }
.comments-table th {
  padding: 12px 16px; font-size: 0.75rem; text-transform: uppercase;
  color: var(--text-muted); font-weight: 700; background: var(--bg-input);
  border-bottom: 1px solid var(--border); text-align: left;
}
.comments-table td {
  padding: 12px 16px; font-size: 0.88rem; border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.comments-table tr:last-child td { border-bottom: none; }
.comments-table tr:hover td { background: var(--bg-hover); }
.comments-table .reply-row td { background: rgba(255,255,255,0.02); }
.comments-table .reply-row .author { padding-left: 24px; }
.reply-indicator { color: var(--text-muted); margin-right: 6px; }

.comment-text { max-width: 400px; }
.comment-text p { color: var(--text-primary); font-size: 0.88rem; line-height: 1.5; }
.comment-text.truncated p { overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.author-name { font-weight: 600; font-size: 0.85rem; }
.author-name a { color: var(--text-secondary); }
.author-name a:hover { color: var(--primary); }
.type-badge {
  display: inline-block; padding: 2px 8px; border-radius: 100px;
  font-size: 0.7rem; font-weight: 700; text-transform: uppercase;
}
.type-badge.comment { background: rgba(255,0,0,0.1); color: var(--primary); }
.type-badge.reply   { background: rgba(14,165,233,0.1); color: var(--agency-color); }
.likes-badge { display: flex; align-items: center; gap: 4px; font-weight: 600; font-size: 0.85rem; }
.likes-badge svg { color: var(--primary); }
.date-cell { color: var(--text-muted); font-size: 0.8rem; white-space: nowrap; }

/* Pagination */
.pagination {
  display: flex; align-items: center; justify-content: center;
  gap: 6px; padding: 16px;
}
.page-btn {
  width: 34px; height: 34px; border-radius: var(--radius-sm);
  background: var(--bg-input); border: 1px solid var(--border);
  color: var(--text-secondary); cursor: pointer; font-size: 0.85rem;
  font-family: var(--font); transition: var(--transition);
  display: flex; align-items: center; justify-content: center;
}
.page-btn:hover, .page-btn.active {
  background: var(--primary); border-color: var(--primary); color: white;
}

/* ─── AI INSIGHTS PANEL ─────────────────────────────────────── */
.ai-panel {
  background: linear-gradient(135deg, rgba(124,58,237,0.08), rgba(124,58,237,0.03));
  border: 1px solid rgba(124,58,237,0.3);
  border-radius: var(--radius);
  padding: 24px;
  margin-top: 24px;
}
.ai-panel-header { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.ai-panel-header .ai-icon {
  width: 40px; height: 40px; background: linear-gradient(135deg, #7C3AED, #5B21B6);
  border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center;
  font-size: 18px;
}
.ai-panel-header h3 { font-size: 1.1rem; }
.ai-panel-header .pro-tag {
  background: rgba(124,58,237,0.2); color: #A78BFA;
  padding: 2px 10px; border-radius: 100px; font-size: 0.75rem; font-weight: 700;
}

.ai-ideas { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.ai-idea-card {
  background: rgba(124,58,237,0.06); border: 1px solid rgba(124,58,237,0.2);
  border-radius: var(--radius-sm); padding: 12px 14px;
  font-size: 0.88rem; color: var(--text-secondary);
  display: flex; align-items: flex-start; gap: 8px;
}
.ai-idea-card::before { content: '💡'; flex-shrink: 0; }

.ai-locked {
  text-align: center; padding: 32px 20px;
}
.ai-locked .lock-icon { font-size: 2.5rem; margin-bottom: 12px; }
.ai-locked h4 { margin-bottom: 8px; font-size: 1.1rem; }
.ai-locked p  { font-size: 0.9rem; margin-bottom: 20px; }

/* ─── UPGRADE SECTION ───────────────────────────────────────── */
.upgrade-section {
  padding: 80px 0;
  background: linear-gradient(180deg, var(--bg) 0%, rgba(10,10,10,0.8) 100%);
}
.upgrade-section h2 { text-align: center; margin-bottom: 12px; }
.upgrade-section > .container > p { text-align: center; margin-bottom: 48px; font-size: 1.05rem; }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}
.pricing-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  position: relative;
  transition: var(--transition);
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.pricing-card.popular {
  border-color: var(--pro-color);
  box-shadow: 0 0 40px rgba(124,58,237,0.15);
}
.pricing-card.popular::before {
  content: 'MOST POPULAR';
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--pro-color); color: white;
  padding: 4px 16px; border-radius: 100px; font-size: 0.7rem; font-weight: 800;
  letter-spacing: 0.06em; white-space: nowrap;
}
.pricing-badge {
  display: inline-block; padding: 4px 12px; border-radius: 100px;
  font-size: 0.75rem; font-weight: 700; text-transform: uppercase; margin-bottom: 16px;
}
.badge-free    { background: rgba(255,255,255,0.05); color: var(--text-muted); }
.badge-pro     { background: rgba(124,58,237,0.2);   color: #A78BFA; }
.badge-agency  { background: rgba(14,165,233,0.15);  color: #38BDF8; }

.pricing-name  { font-size: 1.3rem; font-weight: 700; margin-bottom: 4px; }
.pricing-price { margin: 16px 0; }
.pricing-price .amount { font-size: 2.8rem; font-weight: 800; }
.pricing-price .period { font-size: 0.9rem; color: var(--text-muted); }
.pricing-price .free-label { font-size: 2rem; font-weight: 800; color: var(--text-secondary); }

.pricing-features { margin: 20px 0 24px; }
.pricing-feature {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.88rem; padding: 7px 0; color: var(--text-secondary);
}
.pricing-feature .check { color: var(--success); flex-shrink: 0; font-size: 0.9rem; }
.pricing-feature .cross { color: var(--text-muted); flex-shrink: 0; }
.pricing-feature.locked  { opacity: 0.4; }

/* ─── COMPARISON TABLE ──────────────────────────────────────── */
.comparison-section { padding: 60px 0; }
.comparison-section h2 { text-align: center; margin-bottom: 36px; }
.comp-table-wrap { overflow-x: auto; }
.comp-table {
  width: 100%; border-collapse: collapse; min-width: 600px;
  background: var(--bg-card); border-radius: var(--radius-lg);
  overflow: hidden; border: 1px solid var(--border);
}
.comp-table th {
  padding: 16px 20px; font-size: 0.85rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.04em;
  background: var(--bg-input); border-bottom: 1px solid var(--border);
}
.comp-table th:first-child { text-align: left; }
.comp-table th:not(:first-child) { text-align: center; }
.comp-table td {
  padding: 14px 20px; font-size: 0.9rem;
  border-bottom: 1px solid var(--border);
}
.comp-table tr:last-child td { border-bottom: none; }
.comp-table td:not(:first-child) { text-align: center; }
.comp-table tr:hover td { background: var(--bg-hover); }
.comp-check { color: var(--success); font-size: 1rem; }
.comp-cross { color: var(--text-muted); font-size: 1rem; }
.comp-pro   { color: #A78BFA; font-weight: 700; }

/* ─── SEO CONTENT SECTION ───────────────────────────────────── */
.seo-section {
  padding: 80px 0;
  max-width: 860px;
  margin: 0 auto;
}
.seo-section h1, .seo-section h2, .seo-section h3 {
  color: var(--text-primary); margin-bottom: 16px;
}
.seo-section h2 { margin-top: 48px; }
.seo-section h3 { margin-top: 32px; }
.seo-section p   { margin-bottom: 16px; line-height: 1.8; }
.seo-section ul  { padding-left: 20px; margin-bottom: 16px; }
.seo-section li  { list-style: disc; color: var(--text-secondary); margin-bottom: 8px; line-height: 1.7; }
.seo-section ol  { padding-left: 20px; }
.seo-section ol li { list-style: decimal; }
.step-list { counter-reset: steps; padding-left: 0 !important; }
.step-list li {
  counter-increment: steps; list-style: none !important;
  display: flex; gap: 16px; margin-bottom: 20px; align-items: flex-start;
}
.step-num {
  width: 32px; height: 32px; background: var(--primary); color: white;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; font-weight: 700; flex-shrink: 0; margin-top: 2px;
}

/* ─── FAQ ───────────────────────────────────────────────────── */
.faq-section { padding: 60px 0; }
.faq-section h2 { text-align: center; margin-bottom: 36px; }
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--border); border-radius: var(--radius);
  margin-bottom: 10px; overflow: hidden;
  transition: var(--transition);
}
.faq-item.open { border-color: rgba(255,0,0,0.3); }
.faq-question {
  padding: 18px 22px; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  background: var(--bg-card); transition: var(--transition);
  font-weight: 600; font-size: 0.95rem;
}
.faq-question:hover { background: var(--bg-hover); }
.faq-arrow { transition: transform 0.3s ease; color: var(--text-muted); font-size: 0.8rem; }
.faq-item.open .faq-arrow { transform: rotate(180deg); color: var(--primary); }
.faq-answer {
  max-height: 0; overflow: hidden;
  background: var(--bg-input); transition: max-height 0.4s ease;
}
.faq-item.open .faq-answer { max-height: 300px; }
.faq-answer p { padding: 16px 22px; font-size: 0.9rem; line-height: 1.7; margin: 0; }

/* ─── FOOTER ────────────────────────────────────────────────── */
.footer {
  background: var(--bg-card); border-top: 1px solid var(--border);
  padding: 48px 20px 24px;
}
.footer-grid {
  max-width: var(--max-width); margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px; margin-bottom: 36px;
}
.footer-brand p { font-size: 0.88rem; margin-top: 12px; max-width: 280px; }
.footer-col h4 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); margin-bottom: 14px; }
.footer-col a  { display: block; font-size: 0.88rem; color: var(--text-secondary); margin-bottom: 8px; }
.footer-col a:hover { color: var(--text-primary); }
.footer-bottom {
  max-width: var(--max-width); margin: 0 auto;
  padding-top: 24px; border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: 0.82rem; color: var(--text-muted); margin: 0; }
.yt-attribution {
  font-size: 0.78rem; color: var(--text-muted);
  display: flex; align-items: center; gap: 6px;
}

/* ─── TOAST NOTIFICATIONS ───────────────────────────────────── */
.toast-container {
  position: fixed; bottom: 24px; right: 24px; z-index: 9999;
  display: flex; flex-direction: column; gap: 10px;
}
.toast {
  background: var(--bg-card); border: 1px solid var(--border);
  padding: 14px 18px; border-radius: var(--radius);
  box-shadow: var(--shadow); font-size: 0.88rem;
  display: flex; align-items: center; gap: 10px; min-width: 260px;
  animation: slideIn 0.3s ease;
}
.toast.success { border-left: 3px solid var(--success); }
.toast.error   { border-left: 3px solid var(--error);   }
.toast.info    { border-left: 3px solid var(--primary); }
@keyframes slideIn { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

/* ─── UTILITY ───────────────────────────────────────────────── */
.hidden      { display: none !important; }
.text-center { text-align: center; }
.text-muted  { color: var(--text-muted); }
.mt-4  { margin-top: 16px; }
.mt-8  { margin-top: 32px; }
.mb-4  { margin-bottom: 16px; }
.divider { border: none; border-top: 1px solid var(--border); margin: 28px 0; }
.section-label {
  font-size: 0.75rem; font-weight: 700; text-transform: uppercase;
  color: var(--text-muted); letter-spacing: 0.08em; margin-bottom: 12px;
}
.gradient-text {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── RESPONSIVE ────────────────────────────────────────────── */
@media (max-width: 768px) {
  .navbar-links { display: none; }
  .hero { padding: 50px 0 40px; }
  .hero-stats { gap: 24px; }
  .tool-body { padding: 20px; }
  .tool-header { padding: 20px; }
  .filters-row { grid-template-columns: 1fr; }
  .url-row { flex-direction: column; }
  .analytics-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; }
  .ai-ideas { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .comp-table { min-width: 500px; }
  .seo-section { padding: 40px 0; }
}
@media (max-width: 480px) {
  .container { padding: 0 14px; }
  .analytics-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .export-btns { flex-wrap: wrap; }
}
