/*
Theme Name: Tools Compass
Theme URI: https://toolscompass.com
Author: Tools Compass Team
Author URI: https://toolscompass.com
Description: A comprehensive free online tools platform WordPress theme with 60+ built-in tools including calculators, converters, text tools, image tools, developer tools, security tools, and more.
Version: 1.0.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tools-compass
Tags: tools, calculators, converters, utilities, productivity
Requires at least: 5.8
Requires PHP: 7.4
*/

/* WordPress Core Styles */
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 0.875rem; color: #6b7280; }
.sticky { display: block; }
.gallery-caption { font-size: 0.875rem; }
.bypostauthor { display: block; }
.alignleft { float: left; margin-right: 1.5rem; }
.alignright { float: right; margin-left: 1.5rem; }
.aligncenter { clear: both; display: block; margin-left: auto; margin-right: auto; }
.screen-reader-text { clip: rect(1px, 1px, 1px, 1px); position: absolute !important; height: 1px; width: 1px; overflow: hidden; }

/* ===== ROOT VARIABLES ===== */
:root {
  --primary: #7c3aed;
  --primary-dark: #6d28d9;
  --primary-light: #a78bfa;
  --primary-lighter: #ede9fe;
  --secondary: #8b5cf6;
  --accent: #c4b5fd;
  --dark: #1e1b4b;
  --darker: #0f0d2e;
  --text: #1f2937;
  --text-light: #6b7280;
  --bg: #f5f3ff;
  --card-bg: #ffffff;
  --border: #e5e7eb;
  --shadow: 0 4px 6px -1px rgba(124, 58, 237, 0.1), 0 2px 4px -1px rgba(124, 58, 237, 0.06);
  --shadow-lg: 0 20px 25px -5px rgba(124, 58, 237, 0.15), 0 10px 10px -5px rgba(124, 58, 237, 0.1);
  --gradient: linear-gradient(135deg, #7c3aed 0%, #8b5cf6 50%, #a78bfa 100%);
  --gradient-dark: linear-gradient(135deg, #6d28d9 0%, #7c3aed 100%);
}

/* ===== RESET & BASE ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { text-decoration: none; color: inherit; }
button { font-family: inherit; }

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--primary-light); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

/* ===== HEADER ===== */
.header {
  background: var(--gradient-dark);
  color: white;
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.3);
}
.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  max-width: 1400px;
  margin: 0 auto;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.5rem;
  font-weight: 800;
  cursor: pointer;
}
.logo-icon { font-size: 2rem; }
.logo span {
  background: linear-gradient(135deg, #fff, #c4b5fd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.search-box {
  flex: 1;
  max-width: 500px;
  margin: 0 24px;
  position: relative;
}
.search-box input {
  width: 100%;
  padding: 10px 16px 10px 40px;
  border: 2px solid rgba(255,255,255,0.2);
  border-radius: 50px;
  background: rgba(255,255,255,0.1);
  color: white;
  font-size: 0.95rem;
  outline: none;
  transition: all 0.3s;
}
.search-box input::placeholder { color: rgba(255,255,255,0.6); }
.search-box input:focus {
  background: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.4);
}
.search-box svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  fill: rgba(255,255,255,0.6);
}
.header-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}
.btn-header {
  padding: 8px 20px;
  border-radius: 50px;
  border: 2px solid rgba(255,255,255,0.3);
  background: transparent;
  color: white;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 0.9rem;
}
.btn-header:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.5);
}
.btn-header.primary {
  background: white;
  color: var(--primary);
  border-color: white;
}
.btn-header.primary:hover { background: var(--primary-lighter); }

/* ===== NAVIGATION ===== */
.nav-bar {
  background: rgba(0,0,0,0.15);
  border-top: 1px solid rgba(255,255,255,0.1);
}
.nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  gap: 0;
  padding: 0 24px;
}
.nav-item {
  position: relative;
  padding: 14px 20px;
  color: rgba(255,255,255,0.85);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s;
  border-bottom: 3px solid transparent;
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-item:hover {
  color: white;
  background: rgba(255,255,255,0.08);
  border-bottom-color: #c4b5fd;
}
.nav-item .arrow {
  font-size: 0.7rem;
  transition: transform 0.3s;
}
.nav-item:hover .arrow { transform: rotate(180deg); }

/* Mega Menu */
.mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: white;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  padding: 24px;
  min-width: 600px;
  max-width: 800px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1001;
  border: 1px solid var(--border);
}
.nav-item:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.mega-menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.mega-menu-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s;
  color: var(--text);
}
.mega-menu-item:hover {
  background: var(--primary-lighter);
  color: var(--primary);
}
.mega-menu-item .icon {
  font-size: 1.3rem;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-lighter);
  border-radius: 8px;
}
.mega-menu-item:hover .icon {
  background: var(--primary);
  color: white;
}
.mega-menu-item .title { font-weight: 600; font-size: 0.9rem; }
.mega-menu-item .desc { font-size: 0.75rem; color: var(--text-light); }

/* ===== HERO ===== */
.hero {
  background: var(--gradient);
  padding: 80px 24px 100px;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
  background-size: 30px 30px;
  opacity: 0.3;
  animation: float 20s linear infinite;
}
@keyframes float {
  0% { transform: translate(0,0); }
  100% { transform: translate(30px, 30px); }
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}
.hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.1;
}
.hero h1 span { color: #c4b5fd; }
.hero p {
  font-size: 1.25rem;
  opacity: 0.9;
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-top: 48px;
}
.stat { text-align: center; }
.stat-number { font-size: 2.5rem; font-weight: 800; }
.stat-label { font-size: 0.9rem; opacity: 0.8; }

/* ===== FEATURES ===== */
.features {
  padding: 60px 24px;
  max-width: 1200px;
  margin: -40px auto 0;
  position: relative;
  z-index: 2;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--card-bg);
  border-radius: 20px;
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  transition: transform 0.3s;
}
.feature-card:hover { transform: translateY(-5px); }
.feature-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.8rem;
  color: white;
}
.feature-card h3 { font-size: 1.1rem; margin-bottom: 8px; color: var(--dark); }
.feature-card p { font-size: 0.9rem; color: var(--text-light); }

/* ===== MAIN CONTENT ===== */
.main-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px 24px;
}
.section-header {
  text-align: center;
  margin-bottom: 40px;
}
.section-header h2 { font-size: 2rem; color: var(--dark); margin-bottom: 8px; }
.section-header p { color: var(--text-light); font-size: 1.1rem; }

/* ===== FILTER BAR ===== */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 40px;
}
.filter-tag {
  padding: 8px 18px;
  border-radius: 50px;
  border: 2px solid var(--border);
  background: white;
  color: var(--text-light);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.3s;
}
.filter-tag:hover,
.filter-tag.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3);
}

/* ===== TOOLS GRID ===== */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.tool-card {
  background: var(--card-bg);
  border-radius: 20px;
  padding: 28px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: all 0.3s;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.tool-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient);
  transform: scaleX(0);
  transition: transform 0.3s;
}
.tool-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.tool-card:hover::before { transform: scaleX(1); }
.tool-card .badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 12px;
  background: var(--primary-lighter);
  color: var(--primary);
}
.tool-card .badge.featured {
  background: var(--gradient);
  color: white;
}
.tool-card .tool-icon {
  font-size: 2.5rem;
  margin-bottom: 12px;
  display: block;
}
.tool-card h3 { font-size: 1.15rem; color: var(--dark); margin-bottom: 8px; }
.tool-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 16px;
  line-height: 1.5;
}
.tool-card .tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.tool-card .tag {
  padding: 3px 10px;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 600;
  background: #f3f4f6;
  color: var(--text-light);
}
.tool-card .open-btn {
  margin-top: 16px;
  padding: 10px 20px;
  border-radius: 10px;
  background: var(--gradient);
  color: white;
  border: none;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  transition: all 0.3s;
  font-size: 0.9rem;
}
.tool-card .open-btn:hover {
  box-shadow: 0 4px 15px rgba(124, 58, 237, 0.4);
  transform: scale(1.02);
}

/* ===== MODAL ===== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(30, 27, 75, 0.7);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  overflow-y: auto;
}
.modal-overlay.active { display: flex; }
.modal {
  background: white;
  border-radius: 24px;
  width: 100%;
  max-width: 900px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
  animation: modalIn 0.4s ease;
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(30px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.modal-header {
  padding: 24px 32px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--gradient);
  color: white;
  border-radius: 24px 24px 0 0;
}
.modal-header h2 {
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.modal-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.1);
  color: white;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}
.modal-close:hover {
  background: rgba(255,255,255,0.2);
  transform: rotate(90deg);
}
.modal-body { padding: 32px; }

/* ===== TOOL UI COMPONENTS ===== */
.tool-input {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--border);
  border-radius: 12px;
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.3s;
  margin-bottom: 16px;
  outline: none;
}
.tool-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.1);
}
.tool-textarea {
  width: 100%;
  min-height: 200px;
  padding: 14px 18px;
  border: 2px solid var(--border);
  border-radius: 12px;
  font-size: 1rem;
  font-family: inherit;
  resize: vertical;
  transition: all 0.3s;
  outline: none;
  margin-bottom: 16px;
}
.tool-textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.1);
}
.tool-btn {
  padding: 12px 28px;
  border-radius: 12px;
  border: none;
  background: var(--gradient);
  color: white;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.tool-btn:hover {
  box-shadow: 0 4px 15px rgba(124, 58, 237, 0.4);
  transform: translateY(-2px);
}
.tool-btn.secondary {
  background: #f3f4f6;
  color: var(--text);
}
.tool-btn.secondary:hover { background: #e5e7eb; }
.tool-output {
  background: #f8f7ff;
  border: 2px solid var(--primary-lighter);
  border-radius: 12px;
  padding: 20px;
  margin-top: 20px;
  min-height: 100px;
  font-family: 'Courier New', monospace;
  font-size: 0.9rem;
  white-space: pre-wrap;
  word-break: break-word;
}
.tool-row {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.tool-col { flex: 1; min-width: 200px; }
.tool-label {
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 6px;
  font-size: 0.9rem;
}
.tool-select {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: 10px;
  font-size: 0.95rem;
  background: white;
  cursor: pointer;
  outline: none;
}
.tool-select:focus { border-color: var(--primary); }
.tool-range {
  width: 100%;
  accent-color: var(--primary);
  margin: 8px 0;
}
.checkbox-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.checkbox-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 10px;
  background: #f3f4f6;
  cursor: pointer;
  transition: all 0.2s;
}
.checkbox-item:hover { background: var(--primary-lighter); }
.checkbox-item input {
  accent-color: var(--primary);
  width: 18px;
  height: 18px;
}
.result-box {
  background: var(--primary-lighter);
  border: 2px dashed var(--primary-light);
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  margin-top: 20px;
}
.result-box .result-value {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
}
.result-box .result-label {
  color: var(--text-light);
  font-size: 0.9rem;
}
.table-result {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
}
.table-result th,
.table-result td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.table-result th {
  background: var(--primary-lighter);
  color: var(--primary);
  font-weight: 700;
}
.table-result tr:hover { background: #f8f7ff; }
.copy-btn {
  padding: 6px 14px;
  border-radius: 8px;
  border: 1px solid var(--primary);
  background: white;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.2s;
}
.copy-btn:hover {
  background: var(--primary);
  color: white;
}
.download-btn {
  padding: 10px 20px;
  border-radius: 10px;
  border: none;
  background: var(--gradient);
  color: white;
  font-weight: 600;
  cursor: pointer;
  margin-top: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.color-preview {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  border: 2px solid var(--border);
  display: inline-block;
  vertical-align: middle;
  margin-left: 12px;
}
.palette-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-top: 12px;
}
.palette-color {
  height: 50px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: white;
  text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

/* ===== TYPING TEST ===== */
.typing-area {
  background: #1e1b4b;
  color: #c4b5fd;
  padding: 24px;
  border-radius: 16px;
  font-size: 1.3rem;
  line-height: 2;
  font-family: 'Courier New', monospace;
  margin-bottom: 16px;
  min-height: 120px;
}
.typing-area .correct { color: #34d399; }
.typing-area .incorrect { color: #f87171; background: rgba(248,113,113,0.2); }
.typing-area .current { background: rgba(124,58,237,0.3); border-radius: 2px; }
.typing-stats { display: flex; gap: 24px; margin-bottom: 16px; }
.typing-stat { text-align: center; }
.typing-stat .val { font-size: 1.8rem; font-weight: 800; color: var(--primary); }
.typing-stat .lab { font-size: 0.8rem; color: var(--text-light); }

/* ===== CANVAS / CHARTS ===== */
.canvas-container { text-align: center; margin: 16px 0; }
.canvas-container canvas {
  max-width: 100%;
  border-radius: 12px;
  border: 2px solid var(--border);
}
.image-controls {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin: 16px 0;
}
.image-controls button {
  padding: 8px 16px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: white;
  cursor: pointer;
  font-size: 0.85rem;
  transition: all 0.2s;
}
.image-controls button:hover {
  background: var(--primary-lighter);
  border-color: var(--primary);
}
.slider-control { margin: 10px 0; }
.slider-control label {
  display: block;
  font-weight: 600;
  margin-bottom: 4px;
  font-size: 0.9rem;
}

/* ===== PROGRESS BAR ===== */
.progress-bar {
  width: 100%;
  height: 8px;
  background: #e5e7eb;
  border-radius: 4px;
  overflow: hidden;
  margin: 8px 0;
}
.progress-bar .fill {
  height: 100%;
  background: var(--gradient);
  border-radius: 4px;
  transition: width 0.5s ease;
}

/* ===== CHART CONTAINER ===== */
.chart-container {
  width: 100%;
  height: 300px;
  margin: 16px 0;
}

/* ===== DIFF VIEW ===== */
.diff-view { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.diff-panel {
  border: 2px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  background: #f8f7ff;
}
.diff-panel h4 { margin-bottom: 8px; color: var(--primary); }
.diff-line {
  padding: 2px 8px;
  font-family: monospace;
  font-size: 0.85rem;
}
.diff-line.added { background: #d1fae5; color: #065f46; }
.diff-line.removed { background: #fee2e2; color: #991b1b; }

/* ===== TABS ===== */
.tabs {
  display: flex;
  gap: 4px;
  border-bottom: 2px solid var(--border);
  margin-bottom: 20px;
}
.tab {
  padding: 10px 20px;
  border: none;
  background: transparent;
  color: var(--text-light);
  font-weight: 600;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: all 0.3s;
}
.tab.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}
.tab:hover { color: var(--primary); }
.tab-content { display: none; }
.tab-content.active { display: block; }

/* ===== TOAST ===== */
.toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--dark);
  color: white;
  padding: 14px 24px;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  z-index: 3000;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.4s ease;
  font-weight: 600;
}
.toast.show {
  transform: translateY(0);
  opacity: 1;
}
.toast.success { background: #059669; }
.toast.error { background: #dc2626; }

/* ===== SPINNER ===== */
.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid var(--primary-lighter);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 20px auto;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ===== MOBILE MENU ===== */
.mobile-menu-btn {
  display: none;
  font-size: 1.5rem;
  color: white;
  background: none;
  border: none;
  cursor: pointer;
}

/* ===== PASSWORD STRENGTH ===== */
.password-strength-meter {
  height: 8px;
  border-radius: 4px;
  background: #e5e7eb;
  margin-top: 8px;
  overflow: hidden;
}
.password-strength-meter .fill {
  height: 100%;
  border-radius: 4px;
  transition: all 0.3s;
  width: 0%;
}
.password-strength-meter .fill.weak { background: #dc2626; width: 25%; }
.password-strength-meter .fill.fair { background: #f59e0b; width: 50%; }
.password-strength-meter .fill.good { background: #3b82f6; width: 75%; }
.password-strength-meter .fill.strong { background: #059669; width: 100%; }

/* ===== UUID DISPLAY ===== */
.uuid-display {
  font-family: 'Courier New', monospace;
  font-size: 1.1rem;
  background: #f8f7ff;
  padding: 16px;
  border-radius: 12px;
  border: 2px dashed var(--primary-light);
  word-break: break-all;
  text-align: center;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--darker);
  color: white;
  padding: 60px 24px 24px;
  margin-top: 80px;
}
.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-brand .logo { margin-bottom: 16px; }
.footer-brand p {
  color: rgba(255,255,255,0.6);
  font-size: 0.95rem;
  line-height: 1.7;
}
.footer-col h4 { color: #c4b5fd; font-size: 1rem; margin-bottom: 20px; }
.footer-col a {
  display: block;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  padding: 6px 0;
  font-size: 0.9rem;
  transition: color 0.3s;
}
.footer-col a:hover { color: white; }
.footer-bottom {
  max-width: 1200px;
  margin: 40px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  color: rgba(255,255,255,0.4);
  font-size: 0.85rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .mega-menu { min-width: 400px; }
  .mega-menu-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .hero h1 { font-size: 2.2rem; }
  .hero-stats { gap: 24px; }
  .features-grid { grid-template-columns: 1fr; }
  .tools-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .nav-inner { overflow-x: auto; }
  .search-box { display: none; }
  .mega-menu { display: none !important; }
  .tool-row { flex-direction: column; }
  .mobile-menu-btn { display: block; }
  .nav-bar { display: none; }
  .nav-bar.open { display: block; }
  .diff-view { grid-template-columns: 1fr; }
}
