@import url('../../assets/footer/footer.css');

/* ===== UNIVERSAL RESPONSIVE FIXES ===== */
* {
  box-sizing: border-box;
}

html, body {
  overflow-x: hidden;
  max-width: 100%;
}

/* ===== CSS CUSTOM PROPERTIES ===== */
:root {
  /* Primary color palette */
  --primary-color: #6c63ff;
  --primary-dark: #564fcc;
  --primary-light: #a29bfe;
  --primary-lighter: #c8c4ff;
  --primary-transparent: rgba(108, 99, 255, 0.1);
  
  /* Secondary colors */
  --secondary-color: #3f6d6b;
  --accent-color: #a29bfe;
  
  /* Background colors */
  --background-color: #ffffff;
  --surface-color: #f8fafc;
  --surface-light: #edf2f7;
  
  /* Text colors */
  --text-primary: #2d3748;
  --text-secondary: #4a5568;
  --text-muted: #718096;
  
  /* Border and status colors */
  --border-color: #e2e8f0;
  --success-color: #48bb78;
  --warning-color: #ed8936;
  --error-color: #f56565;

  /* Dark mode colors */
  --dark-primary: #7b73ff;
  --dark-primary-dark: #6b63e6;
  --dark-primary-light: #9d94ff;
  --dark-bg: #1a202c;
  --dark-bg-light: #2d3748;
  --dark-bg-dark: #1e2734;
  --dark-text-primary: #f7fafc;
  --dark-text-secondary: #cbd5e0;
  --dark-text-muted: #a0aec0;
  --dark-border-color: #4a5568;
}

/* ===== MAIN THEME ===== */
.tool-header {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark)) !important;
  color: white;
  padding: 2rem 0;
  position: relative;
  overflow: hidden;
}

.tool-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="10" cy="60" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="90" cy="40" r="0.5" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.3;
}

.tool-header .container {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.tool-header .back-button {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  margin-bottom: 1.5rem;
}

.tool-header .back-button:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
  color: white;
}

.tool-meta h1 {
  font-size: 3rem;
  font-weight: 800;
  margin: 0 0 0.5rem 0;
  background: linear-gradient(45deg, #ffffff, #e0e7ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.tool-meta h1 i {
  font-size: 2.5rem;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.tool-meta p {
  font-size: 1.2rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 400;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  max-width: 600px;
}

/* ===== TOOL NAVIGATION ===== */
.tool-navigation {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 3rem;
  background: var(--surface-color);
  padding: 0.75rem;
  border-radius: 16px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--border-color);
}

.tool-navigation::-webkit-scrollbar {
  display: none;
}

.nav-btn {
  flex: 1;
  min-width: 100px;
  max-width: 160px;
  background: transparent;
  border: none;
  padding: 1rem 0.75rem;
  border-radius: 12px;
  color: var(--text-secondary);
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  white-space: nowrap;
  font-size: 0.9rem;
  position: relative;
}

.nav-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--primary-color);
  border-radius: 12px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.nav-btn.active::before {
  opacity: 1;
}

.nav-btn.active {
  color: white;
  /* box-shadow: 0 4px 12px var(--primary-transparent); */
  /* transform: translateY(-1px); */
}

.nav-btn.active i,
.nav-btn.active span {
  position: relative;
  z-index: 1;
}

.nav-btn:hover:not(.active) {
  background: var(--primary-transparent);
  color: var(--primary-color);
  transform: translateY(-1px);
}

.nav-btn i {
  font-size: 1rem;
}

/* ===== TAB CONTENT ===== */
.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

/* ===== PLATFORM SELECTOR ===== */
.platform-selector {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.platform-btn {
  flex: 1;
  min-width: 120px;
  background: var(--primary-transparent);
  border: 2px solid transparent;
  padding: 0.75rem 0.5rem;
  border-radius: 8px;
  color: var(--primary-color);
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.2s;
  font-size: 0.9rem;
}

.platform-btn.active {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-dark);
}

.platform-btn:hover:not(.active) {
  border-color: var(--primary-light);
  background: var(--primary-lighter);
}

.platform-btn i {
  font-size: 1.2rem;
}

/* ===== INPUT SECTIONS ===== */
.input-section, .hashtag-input-section, .seo-input-section {
  margin-bottom: 2rem;
}

.username-input, .hashtag-input {
  position: relative;
  margin-bottom: 1rem;
}

.username-input i, .hashtag-input i {
  position: absolute;
  left: 1rem;
  top: 1rem;
  color: var(--text-muted);
  z-index: 1;
}

.username-input input, .hashtag-input textarea {
  width: 100%;
  padding: 1rem 1rem 1rem 2.5rem;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.2s;
  background: var(--background-color);
  color: var(--text-primary);
}

.username-input input:focus, .hashtag-input textarea:focus {
  border-color: var(--primary-color);
  outline: none;
  box-shadow: 0 0 0 3px var(--primary-transparent);
}

.hashtag-input textarea {
  resize: vertical;
  min-height: 80px;
  padding-top: 1rem;
}

.hashtag-input i {
  top: 1rem;
}

/* ===== SEO INPUT SECTION ===== */
.input-group {
  margin-bottom: 1rem;
}

.input-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--text-primary);
}

.input-group input, .input-group textarea, .input-group select {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.2s;
  background: var(--background-color);
  color: var(--text-primary);
}

.input-group input:focus, .input-group textarea:focus, .input-group select:focus {
  border-color: var(--primary-color);
  outline: none;
  box-shadow: 0 0 0 3px var(--primary-transparent);
}

/* ===== BUTTONS ===== */
.btn-check {
  width: 100%;
  background: var(--primary-color);
  color: white;
  border: none;
  padding: 1rem;
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-check:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px var(--primary-transparent);
}

.btn-primary {
  background: var(--primary-color);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--surface-color);
  color: var(--text-primary);
  border: 2px solid var(--border-color);
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-secondary:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
  background: var(--primary-transparent);
}

/* ===== RESULTS SECTION ===== */
.results-section {
  margin-top: 2rem;
}

.result-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
}

.account-preview {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary-light);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.username {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.verdict-badge {
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.verdict-badge.safe {
  background: rgba(72, 187, 120, 0.2);
  color: var(--success-color);
}

.verdict-badge.warning {
  background: rgba(237, 137, 54, 0.2);
  color: var(--warning-color);
}

.verdict-badge.banned {
  background: rgba(245, 101, 101, 0.2);
  color: var(--error-color);
}

/* ===== METRICS GRID ===== */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.metric-card {
  background: var(--surface-color);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  border: 1px solid var(--border-color);
  transition: all 0.2s;
}

.metric-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.metric-value {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}

.metric-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  font-weight: 500;
}

.metric-bar {
  height: 6px;
  background: var(--border-color);
  border-radius: 3px;
  overflow: hidden;
}

.metric-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
  width: 0%;
  transition: width 1s ease-out;
}

/* ===== DETAILED RESULTS ===== */
.detailed-results {
  margin: 2rem 0;
}

.detailed-results h3 {
  color: var(--text-primary);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.indicator-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}

.indicator-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem;
  margin-bottom: 0.5rem;
  background: var(--surface-color);
  border-radius: 8px;
  border-left: 4px solid transparent;
  transition: all 0.2s;
}

.indicator-item:hover {
  background: var(--surface-light);
}

.indicator-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.indicator-icon.good {
  background: rgba(72, 187, 120, 0.2);
  color: var(--success-color);
}

.indicator-icon.good + .indicator-content {
  border-left-color: var(--success-color);
}

.indicator-icon.warning {
  background: rgba(237, 137, 54, 0.2);
  color: var(--warning-color);
}

.indicator-icon.warning + .indicator-content {
  border-left-color: var(--warning-color);
}

.indicator-icon.bad {
  background: rgba(245, 101, 101, 0.2);
  color: var(--error-color);
}

.indicator-icon.bad + .indicator-content {
  border-left-color: var(--error-color);
}

.indicator-content {
  flex: 1;
}

.indicator-title {
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: var(--text-primary);
}

.indicator-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* ===== ACTION BUTTONS ===== */
.action-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

/* ===== HASHTAG RESULTS ===== */
.hashtag-results {
  margin-top: 2rem;
}

.hashtag-results h3 {
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hashtag-results h3::before {
  content: '🏷️';
  font-size: 1.2rem;
}

.hashtag-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.hashtag-result-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--surface-color);
  border-radius: 12px;
  border-left: 4px solid transparent;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.hashtag-result-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.hashtag-result-item.safe {
  border-left-color: var(--success-color);
  background: linear-gradient(135deg, var(--surface-color), rgba(72, 187, 120, 0.05));
}

.hashtag-result-item.banned {
  border-left-color: var(--error-color);
  background: linear-gradient(135deg, var(--surface-color), rgba(245, 101, 101, 0.05));
}

.hashtag-status {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.hashtag-result-item.safe .hashtag-status {
  background: rgba(72, 187, 120, 0.2);
  color: var(--success-color);
}

.hashtag-result-item.banned .hashtag-status {
  background: rgba(245, 101, 101, 0.2);
  color: var(--error-color);
}

.hashtag-info {
  flex: 1;
}

.hashtag-name {
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.hashtag-reason {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.4;
  margin-bottom: 0.25rem;
}

.hashtag-platform {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: capitalize;
  background: var(--primary-transparent);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  display: inline-block;
  font-weight: 500;
}

/* ===== SEO RESULTS ===== */
.seo-results {
  margin-top: 2rem;
}

.seo-score-card {
  text-align: center;
  margin-bottom: 3rem;
  padding: 2rem;
  background: linear-gradient(135deg, var(--surface-color), var(--surface-light));
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.seo-score {
  display: inline-block;
}

.score-circle {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2.5rem;
  font-weight: 800;
  margin: 0 auto 1.5rem;
  box-shadow: 0 8px 24px var(--primary-transparent);
  position: relative;
}

.score-circle::before {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
  border-radius: 50%;
  z-index: -1;
  opacity: 0.3;
}

.score-circle small {
  font-size: 1.2rem;
  opacity: 0.9;
  font-weight: 600;
}

.score-label {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.seo-recommendations {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.seo-recommendation {
  display: flex;
  gap: 1.25rem;
  padding: 1.5rem;
  background: var(--surface-color);
  border-radius: 16px;
  border-left: 5px solid transparent;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

.seo-recommendation:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.seo-recommendation.high {
  border-left-color: var(--error-color);
  background: linear-gradient(135deg, var(--surface-color), rgba(245, 101, 101, 0.05));
}

.seo-recommendation.medium {
  border-left-color: var(--warning-color);
  background: linear-gradient(135deg, var(--surface-color), rgba(237, 137, 54, 0.05));
}

.seo-recommendation.low {
  border-left-color: var(--success-color);
  background: linear-gradient(135deg, var(--surface-color), rgba(72, 187, 120, 0.05));
}

.rec-priority {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.seo-recommendation.high .rec-priority {
  background: rgba(245, 101, 101, 0.2);
  color: var(--error-color);
}

.seo-recommendation.medium .rec-priority {
  background: rgba(237, 137, 54, 0.2);
  color: var(--warning-color);
}

.seo-recommendation.low .rec-priority {
  background: rgba(72, 187, 120, 0.2);
  color: var(--success-color);
}

.rec-content h4 {
  margin: 0 0 0.75rem 0;
  color: var(--text-primary);
  font-size: 1.2rem;
  font-weight: 700;
}

.rec-content p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.5;
}

.seo-perfect {
  text-align: center;
  padding: 3rem 2rem;
  background: linear-gradient(135deg, var(--success-color), #38a169);
  color: white;
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(72, 187, 120, 0.3);
}

.seo-perfect i {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  opacity: 0.9;
}

.seo-perfect h3 {
  margin: 0 0 1rem 0;
  font-size: 1.8rem;
  font-weight: 800;
}

.seo-perfect p {
  margin: 0;
  opacity: 0.95;
  font-size: 1.1rem;
  line-height: 1.4;
}

/* ===== RECOVERY GUIDE ===== */
.tool-description {
  color: var(--text-secondary);
  margin-bottom: 3rem;
  font-size: 1.2rem;
  line-height: 1.6;
  text-align: center;
  padding: 1.5rem;
  background: var(--surface-color);
  border-radius: 12px;
  border-left: 4px solid var(--primary-color);
}

.recovery-steps {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 4rem;
}

.step-card {
  display: flex;
  gap: 1.5rem;
  padding: 2rem;
  background: var(--surface-color);
  border-radius: 16px;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.step-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--primary-color), var(--primary-light));
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.step-number {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.5rem;
  box-shadow: 0 4px 16px var(--primary-transparent);
  position: relative;
}

.step-number::before {
  content: '';
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
  border-radius: 50%;
  z-index: -1;
  opacity: 0.3;
}

.step-content h3 {
  margin: 0 0 1.5rem 0;
  color: var(--text-primary);
  font-size: 1.4rem;
  font-weight: 700;
}

.step-content ul {
  margin: 0;
  padding-left: 0;
  list-style: none;
}

.step-content li {
  margin-bottom: 0.75rem;
  color: var(--text-secondary);
  line-height: 1.5;
  padding-left: 2rem;
  position: relative;
  font-size: 1rem;
}

.step-content li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--success-color);
  font-weight: bold;
  font-size: 1.1rem;
}

.recovery-tips {
  margin-top: 4rem;
  padding: 2rem;
  background: linear-gradient(135deg, var(--surface-color), var(--surface-light));
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
}

.recovery-tips h3 {
  color: var(--text-primary);
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.5rem;
  font-weight: 800;
  text-align: center;
  justify-content: center;
}

.recovery-tips h3 i {
  color: var(--warning-color);
  font-size: 1.3rem;
}

.tip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.tip-card {
  padding: 2rem;
  background: var(--background-color);
  border-radius: 16px;
  border: 1px solid var(--border-color);
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

.tip-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.tip-card i {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  display: block;
}

.tip-card h4 {
  margin: 0 0 1rem 0;
  color: var(--text-primary);
  font-size: 1.2rem;
  font-weight: 700;
}

.tip-card p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.5;
}

/* ===== HISTORY ===== */
.history-controls {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
  justify-content: flex-end;
  padding: 1rem;
  background: var(--surface-color);
  border-radius: 12px;
  border: 1px solid var(--border-color);
}

.history-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.empty-state {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--text-muted);
  background: var(--surface-color);
  border-radius: 20px;
  border: 2px dashed var(--border-color);
}

.empty-state i {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  opacity: 0.5;
  color: var(--primary-color);
}

.empty-state h3 {
  margin: 0 0 1rem 0;
  color: var(--text-secondary);
  font-size: 1.5rem;
  font-weight: 700;
}

.empty-state p {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.4;
}

.history-item {
  padding: 2rem;
  background: var(--surface-color);
  border-radius: 16px;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.history-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--primary-color), var(--primary-light));
}

.history-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.history-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
}

.history-user {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  color: var(--text-primary);
  font-size: 1.1rem;
}

.history-user i {
  color: var(--primary-color);
  font-size: 1.2rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--primary-transparent);
  display: flex;
  align-items: center;
  justify-content: center;
}

.history-date {
  font-size: 0.9rem;
  color: var(--text-muted);
  background: var(--surface-light);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: 500;
}

.history-verdict {
  font-weight: 700;
  margin-bottom: 1.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  display: inline-block;
  background: var(--primary-transparent);
  color: var(--primary-color);
  font-size: 1rem;
  border: 2px solid var(--primary-color);
}

.history-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.5rem;
}

.metric {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1rem;
  background: var(--background-color);
  border-radius: 12px;
  border: 1px solid var(--border-color);
}

.metric-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.metric-value {
  font-weight: 800;
  color: var(--text-primary);
  font-size: 1.3rem;
}

/* ===== LOADING STATE ===== */
.loading-section {
  text-align: center;
  padding: 3rem 0;
}

.loading-spinner {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.loading-section p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.progress-bar {
  height: 6px;
  background: var(--border-color);
  border-radius: 3px;
  margin-top: 1.5rem;
  overflow: hidden;
  max-width: 300px;
  margin-left: auto;
  margin-right: auto;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
  width: 0%;
  transition: width 0.3s ease;
}

/* ===== FAQ SECTION ===== */
.faq-section {
  margin-top: 4rem;
}

.faq-section h2 {
  color: var(--text-primary);
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.faq-item {
  margin-bottom: 1rem;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  background: var(--surface-color);
}

.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  padding: 1.5rem;
  text-align: left;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-primary);
  transition: all 0.2s;
}

.faq-question:hover {
  background: var(--primary-transparent);
}

.faq-question i {
  transition: transform 0.3s ease;
  color: var(--primary-color);
}

.faq-question.active i {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer.active {
  padding: 0 1.5rem 1.5rem 1.5rem;
  max-height: 500px;
}

.faq-answer p {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ===== TOAST NOTIFICATIONS ===== */
.toast {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  color: white;
  font-weight: 500;
  z-index: 1000;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

.toast.show {
  transform: translateX(0);
}

.toast.success {
  background: var(--success-color);
}

.toast.error {
  background: var(--error-color);
}

.toast.warning {
  background: var(--warning-color);
}

.toast.info {
  background: var(--primary-color);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
  .tool-main .container {
    padding: 0 1rem;
  }
  
  .tool-card {
    padding: 1.5rem;
    border-radius: 12px;
  }
  
  .tool-header .container {
    padding: 0 1rem;
  }
  
  .tool-meta h1 {
    font-size: 2.2rem;
  }
  
  .tool-meta p {
    font-size: 1rem;
  }
  
  .tool-navigation {
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
  }
  
  .nav-btn {
    min-width: 80px;
    font-size: 0.8rem;
    padding: 0.75rem 0.5rem;
  }
  
  .platform-selector {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .platform-btn {
    min-width: auto;
    width: 100%;
  }
  
  .result-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
  
  .action-buttons {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .btn-primary, .btn-secondary {
    width: 100%;
    justify-content: center;
  }
  
  .tip-grid {
    grid-template-columns: 1fr;
  }
  
  .history-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  
  .history-metrics {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .step-card {
    flex-direction: column;
    text-align: center;
  }
  
  .step-number {
    align-self: center;
  }
}

@media (max-width: 480px) {
  .tool-main .container {
    padding: 0 0.75rem;
  }
  
  .tool-card {
    padding: 1rem;
    border-radius: 8px;
  }
  
  .tool-header .container {
    padding: 0 0.75rem;
  }
  
  .tool-meta h1 {
    font-size: 1.8rem;
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }
  
  .tool-meta p {
    font-size: 0.9rem;
    text-align: center;
  }
  
  .platform-selector {
    flex-direction: column;
  }
  
  .tool-navigation {
    flex-direction: column;
    gap: 0.25rem;
  }
  
  .nav-btn {
    min-width: auto;
    width: 100%;
    font-size: 0.9rem;
  }
  
  .metrics-grid {
    grid-template-columns: 1fr;
  }
  
  .history-metrics {
    grid-template-columns: 1fr;
  }
  
  .tip-grid {
    grid-template-columns: 1fr;
  }
  
  .account-preview {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.5rem;
  }
  
  .result-header {
    text-align: center;
  }
}

@media (max-width: 320px) {
  .tool-main .container {
    padding: 0 0.5rem;
  }
  
  .tool-card {
    padding: 0.75rem;
    border-radius: 8px;
  }
  
  .tool-header .container {
    padding: 0 0.5rem;
  }
  
  .tool-meta h1 {
    font-size: 1.5rem;
  }
  
  .nav-btn {
    font-size: 0.8rem;
    padding: 0.5rem 0.25rem;
  }
  
  .platform-btn {
    font-size: 0.8rem;
    padding: 0.5rem;
  }
}

/* ===== DARK MODE SUPPORT ===== */
[data-theme="dark"] {
  --background-color: var(--dark-bg);
  --surface-color: var(--dark-bg-light);
  --surface-light: var(--dark-bg-dark);
  --text-primary: var(--dark-text-primary);
  --text-secondary: var(--dark-text-secondary);
  --text-muted: var(--dark-text-muted);
  --border-color: var(--dark-border-color);
  --primary-color: var(--dark-primary);
  --primary-dark: var(--dark-primary-dark);
  --primary-light: var(--dark-primary-light);
}

/* ===== UTILITY CLASSES ===== */
.hidden {
  display: none !important;
}

.text-center {
  text-align: center;
}

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

/* ===== MAIN TOOL INTERFACE ===== */
.tool-main {
  padding: 2rem 0;
  min-height: calc(100vh - 200px);
}

.tool-main .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
}

.tool-card {
  background: var(--background-color);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--border-color);
  margin: 0 auto 2rem;
  max-width: 100%;
  width: 100%;
  padding: 2rem;
}

/* ===== INPUT SECTION ===== */
.input-section {
  padding: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.username-input {
  position: relative;
}

.username-input i {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}

.username-input input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.5rem;
  border: 2px solid var(--border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  transition: border 0.2s;
}

.username-input input:focus {
  outline: none;
  border-color: var(--primary);
}

.action-buttons {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.btn-primary {
  background: var(--primary);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s;
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-secondary {
  background: transparent;
  color: var(--primary);
  border: 1px solid var(--primary);
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s;
}

.btn-secondary:hover {
  background: rgba(108, 99, 255, 0.1);
}

/* ===== RESULTS SECTION ===== */
.results-section {
  padding: 1.5rem;
}

.result-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.account-preview {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.verdict-badge {
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* ===== METRICS GRID ===== */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin: 1.5rem 0;
}

.metric-card {
  background: var(--bg);
  border-radius: 8px;
  padding: 1rem;
  border: 1px solid var(--border);
  text-align: center;
}

.metric-value {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: var(--primary);
}

.metric-label {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 0.75rem;
}

.metric-bar {
  height: 6px;
  background: var(--border);
  border-radius: 3px;
  overflow: hidden;
}

.metric-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  width: 0%;
  transition: width 1s ease-out;
}

/* ===== DETAILED RESULTS ===== */
.detailed-results h3 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  color: var(--text-light);
}

.indicator-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.indicator-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  margin-bottom: 0.5rem;
  background: var(--bg);
  border-radius: 8px;
  border-left: 3px solid transparent;
}

.indicator-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
}

.indicator-content {
  flex: 1;
}

.indicator-title {
  font-weight: 600;
  margin-bottom: 0.1rem;
}

.indicator-desc {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.4;
}

/* ===== RESPONSIVE ADJUSTMENTS ===== */
@media (max-width: 768px) {
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .metrics-grid {
    grid-template-columns: 1fr;
  }
  
  .action-buttons {
    flex-direction: column;
  }
  
  .btn-primary, .btn-secondary {
    width: 100%;
    justify-content: center;
  }
}

/* ===== DARK MODE ADJUSTMENTS ===== */
[data-theme="dark"] .tool-card {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}