/* ===================================================================
   OmniTools Suite - Unified Master Stylesheet
   Modern, Sleek, Dark Cosmic Theme with Indigo/Cyan Accents
   =================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  --bg-main: #0a0e17;
  --bg-surface: #111827;
  --bg-elevated: #1a2234;
  --bg-input: #0d131f;
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-focus: rgba(99, 102, 241, 0.5);
  --border-active: #6366f1;

  --primary: #6366f1;
  --primary-hover: #4f46e5;
  --primary-light: rgba(99, 102, 241, 0.15);
  
  --secondary: #06b6d4;
  --secondary-hover: #0891b2;
  --secondary-light: rgba(6, 182, 212, 0.15);

  --accent-gradient: linear-gradient(135deg, #6366f1 0%, #06b6d4 100%);
  --accent-gradient-hover: linear-gradient(135deg, #4f46e5 0%, #0891b2 100%);
  --card-gradient: linear-gradient(180deg, rgba(26, 34, 52, 0.8) 0%, rgba(17, 24, 39, 0.95) 100%);

  --text-main: #f8fafc;
  --text-body: #cbd5e1;
  --text-muted: #94a3b8;
  --text-faint: #64748b;

  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 30px rgba(99, 102, 241, 0.25);

  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', Consolas, monospace;
}

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

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

body {
  font-family: var(--font-main);
  background-color: var(--bg-main);
  color: var(--text-body);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 15% 10%, rgba(99, 102, 241, 0.12) 0%, transparent 40%),
    radial-gradient(circle at 85% 25%, rgba(6, 182, 212, 0.10) 0%, transparent 40%),
    radial-gradient(circle at 50% 90%, rgba(99, 102, 241, 0.08) 0%, transparent 50%);
  background-attachment: fixed;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  outline: none;
  transition: all 0.2s ease;
}

input, textarea, select {
  font-family: inherit;
  color: var(--text-main);
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.65rem 1rem;
  font-size: 0.95rem;
  outline: none;
  transition: all 0.2s ease;
  width: 100%;
}

input:focus, textarea:focus, select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-light);
}

/* ===================================================================
   Header & Navigation
   =================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 14, 23, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
}

.header-container {
  max-width: 1380px;
  margin: 0 auto;
  padding: 0.85rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: var(--accent-gradient);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.4);
}

.logo-text span {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-search {
  flex: 1;
  max-width: 480px;
  position: relative;
}

.search-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.search-icon {
  position: absolute;
  left: 1rem;
  color: var(--text-muted);
  pointer-events: none;
}

.search-input-wrap input {
  padding-left: 2.75rem;
  padding-right: 2.5rem;
  border-radius: var(--radius-full);
  background: rgba(17, 24, 39, 0.7);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  height: 42px;
}

.search-input-wrap input:focus {
  background: var(--bg-surface);
  border-color: var(--primary);
}

.search-clear-btn {
  position: absolute;
  right: 0.75rem;
  background: none;
  color: var(--text-muted);
  font-size: 1.2rem;
  display: none;
  padding: 0 0.5rem;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.badge-tools-count {
  background: var(--primary-light);
  color: var(--secondary);
  border: 1px solid rgba(6, 182, 212, 0.3);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.825rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

/* ===================================================================
   Home Page Layout
   =================================================================== */

.home-hero {
  text-align: center;
  padding: 3.5rem 1.5rem 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.25);
  color: #a5b4fc;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text-main);
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.hero-title span {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto;
}

/* Category Filter Tabs */
.filter-nav {
  max-width: 1380px;
  margin: 1.5rem auto 2.5rem;
  padding: 0 1.5rem;
}

.category-tabs {
  display: flex;
  gap: 0.6rem;
  overflow-x: auto;
  padding-bottom: 0.75rem;
  scrollbar-width: thin;
  scrollbar-color: var(--primary) transparent;
}

.category-tabs::-webkit-scrollbar {
  height: 4px;
}

.category-tabs::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 4px;
}

.tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius-full);
  background: var(--bg-surface);
  color: var(--text-muted);
  border: 1px solid var(--border-subtle);
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.tab-btn:hover {
  color: var(--text-main);
  background: var(--bg-elevated);
  border-color: rgba(255, 255, 255, 0.15);
}

.tab-btn.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.35);
}

.tab-btn .tab-count {
  background: rgba(0, 0, 0, 0.25);
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
}

/* Search results summary */
.results-summary {
  max-width: 1380px;
  margin: 0 auto 1.5rem;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* ===================================================================
   Home Page Tools Grid - STRICT REQUIREMENT:
   "on home page only show tools name and photo"
   =================================================================== */

.tools-grid-container {
  max-width: 1800px;
  margin: 0 200px;
  padding: 0 0.5rem 4rem;
  flex: 2px;
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 1.25rem;
}

/* The Tool Card: contains ONLY tool photo and tool name */
.tool-card {
  display: flex;
  flex-direction: column;
  background: var(--card-gradient);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-align: center;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
}

.tool-card:hover {
  transform: translateY(-6px);
  border-color: rgba(99, 102, 241, 0.5);
  box-shadow: var(--shadow-glow), var(--shadow-md);
  background: linear-gradient(180deg, rgba(30, 41, 65, 0.9) 0%, rgba(19, 27, 46, 1) 100%);
}

/* Photo container */
.tool-card .tool-photo {
  height: 140px;
  background: radial-gradient(circle at center, rgba(99, 102, 241, 0.08) 0%, rgba(10, 14, 23, 0.6) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: transform 0.3s ease;
  overflow: hidden;
}

.tool-card:hover .tool-photo svg {
  transform: scale(1.1);
  filter: drop-shadow(0 6px 12px rgba(99, 102, 241, 0.45));
}

.tool-card .tool-photo svg {
  width: 68px;
  height: 68px;
  transition: all 0.3s ease;
}

/* Name container */
.tool-card .tool-name {
  padding: 1rem 0.85rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  line-height: 1.35;
  transition: color 0.2s ease;
}

.tool-card:hover .tool-name {
  color: #38bdf8;
}

/* No results state */
.no-results {
  grid-column: 1 / -1;
  text-align: center;
  padding: 4rem 1rem;
  color: var(--text-muted);
}

.no-results svg {
  width: 64px;
  height: 64px;
  margin-bottom: 1rem;
  opacity: 0.5;
}

/* ===================================================================
   Tool Dedicated Page Styles
   =================================================================== */

.tool-page-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
  flex: 1;
  width: 100%;
}

.tool-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.tool-breadcrumb a:hover {
  color: var(--text-main);
}

.tool-breadcrumb .separator {
  opacity: 0.5;
}

/* Tool Top Header */
.tool-header-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  background: var(--card-gradient);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 1.75rem 2rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-sm);
}

.tool-header-left {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.tool-header-icon {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-lg);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

.tool-header-icon svg {
  width: 44px;
  height: 44px;
}

.tool-header-info h1 {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.02em;
  margin-bottom: 0.35rem;
}

.tool-header-info .tool-category-badge {
  display: inline-block;
  background: var(--primary-light);
  color: #a5b4fc;
  border: 1px solid rgba(99, 102, 241, 0.3);
  font-size: 0.775rem;
  font-weight: 700;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-right: 0.5rem;
}

.tool-header-info .tool-subtitle {
  color: var(--text-muted);
  font-size: 0.95rem;
  display: inline-block;
}

.tool-header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn-back-home {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.btn-back-home:hover {
  background: var(--bg-elevated);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateX(-2px);
}

/* Tool Main Workspace */
.tool-workspace {
  background: var(--card-gradient);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  margin-bottom: 2.5rem;
  box-shadow: var(--shadow-md);
}

/* Common Interactive Tool Components */
.tool-section {
  margin-bottom: 1.75rem;
}

.tool-section:last-child {
  margin-bottom: 0;
}

.tool-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.tool-help-text {
  font-size: 0.825rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
}

.tool-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.tool-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.tool-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

@media (max-width: 768px) {
  .tool-grid-2, .tool-grid-3, .tool-grid-4 {
    grid-template-columns: 1fr;
  }
}

/* File Upload Zone */
.file-dropzone {
  border: 2px dashed rgba(99, 102, 241, 0.35);
  background: rgba(17, 24, 39, 0.6);
  border-radius: var(--radius-lg);
  padding: 2.5rem 1.5rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s ease;
  position: relative;
}

.file-dropzone:hover, .file-dropzone.drag-over {
  border-color: var(--primary);
  background: rgba(99, 102, 241, 0.08);
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.15);
}

.file-dropzone svg {
  width: 48px;
  height: 48px;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.file-dropzone .dropzone-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.25rem;
}

.file-dropzone .dropzone-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.file-dropzone input[type="file"] {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

/* Action Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--accent-gradient);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.35);
}

.btn-primary:hover {
  background: var(--accent-gradient-hover);
  box-shadow: 0 6px 22px rgba(99, 102, 241, 0.5);
  transform: translateY(-2px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--bg-surface);
  color: var(--text-main);
  border: 1px solid var(--border-subtle);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
}

.btn-secondary:hover {
  background: var(--bg-elevated);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

/* Textarea / Code Editor Styles */
.tool-textarea {
  min-height: 160px;
  resize: vertical;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Canvas Preview Container */
.canvas-preview-container {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #06090e;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  min-height: 280px;
  overflow: auto;
  position: relative;
  background-image: 
    linear-gradient(45deg, #0e1422 25%, transparent 25%), 
    linear-gradient(-45deg, #0e1422 25%, transparent 25%), 
    linear-gradient(45deg, transparent 75%, #0e1422 75%), 
    linear-gradient(-45deg, transparent 75%, #0e1422 75%);
  background-size: 20px 20px;
  background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
}

.canvas-preview-container canvas,
.canvas-preview-container img {
  max-width: 100%;
  max-height: 500px;
  box-shadow: var(--shadow-md);
  border-radius: var(--radius-sm);
}

/* Metrics & Stats Counter Row */
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.stat-card {
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem;
  text-align: center;
}

.stat-value {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--secondary);
  font-family: var(--font-mono);
  line-height: 1.2;
}

.stat-label {
  font-size: 0.775rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

/* Related Tools Section */
.related-tools-section {
  margin-top: 3.5rem;
}

.related-tools-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1.25rem;
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  pointer-events: none;
}

.toast {
  background: var(--bg-elevated);
  color: var(--text-main);
  border: 1px solid var(--primary);
  box-shadow: var(--shadow-lg), 0 0 20px rgba(99, 102, 241, 0.3);
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  animation: toastIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  pointer-events: auto;
}

@keyframes toastIn {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Footer */
.site-footer {
  margin-top: auto;
  background: rgba(10, 14, 23, 0.95);
  border-top: 1px solid var(--border-subtle);
  padding: 3rem 1.5rem 2rem;
}

.footer-container {
  max-width: 1380px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-main);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-copy {
  font-size: 0.825rem;
  color: var(--text-faint);
  border-top: 1px solid var(--border-subtle);
  width: 100%;
  padding-top: 1.5rem;
}

/* About Us Section Styles */
.about-section {
  max-width: 1380px;
  margin: 4.5rem auto 3rem;
  padding: 0 1.5rem;
}

.about-card {
  background: var(--card-gradient);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 3.5rem 3rem;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.about-card::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.about-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 3rem;
}

.about-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary-light);
  color: #a5b4fc;
  border: 1px solid rgba(99, 102, 241, 0.3);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.3rem 0.9rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.about-title {
  font-size: clamp(1.85rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.about-title span {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.about-description {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.about-feature-card {
  background: rgba(17, 24, 39, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  transition: all 0.25s ease;
  position: relative;
}

.about-feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(99, 102, 241, 0.4);
  background: rgba(26, 34, 52, 0.8);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.about-feature-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--primary-light);
  border: 1px solid rgba(99, 102, 241, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--secondary);
}

.about-feature-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.about-feature-desc {
  font-size: 0.925rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.about-stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.25rem;
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border-subtle);
  text-align: center;
}

.about-stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.2;
  font-family: var(--font-mono);
}

.about-stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
  font-weight: 600;
}

@media (max-width: 768px) {
  .about-card {
    padding: 2.25rem 1.5rem;
  }
}

/* Responsive adjustments */
@media (max-width: 640px) {
  .tools-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
  .tool-card .tool-photo {
    height: 110px;
    padding: 0.75rem;
  }
  .tool-card .tool-photo svg {
    width: 48px;
    height: 48px;
  }
  .tool-card .tool-name {
    font-size: 0.825rem;
    padding: 0.65rem 0.5rem;
    min-height: 48px;
  }
  .tool-workspace {
    padding: 1.25rem;
  }
}


/* ===================================================================
   Tool Blog Section
   =================================================================== */
.tool-blog-section {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  margin-top: 2rem;
}
.tool-blog-section h2 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 0 0 0.5rem;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.tool-blog-section .blog-subtitle {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 0 0 1.5rem;
}
.tool-blog-section .blog-illustration {
  width: 100%;
  max-width: 520px;
  margin: 0 auto 2rem;
  display: block;
  border-radius: var(--radius-md);
  background: var(--bg-elevated);
  padding: 1.5rem;
}
.tool-blog-section .blog-body {
  color: var(--text-body);
  line-height: 1.8;
  font-size: 0.97rem;
}
.tool-blog-section .blog-body p { margin: 0 0 1rem; }
.tool-blog-section .blog-steps-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 2rem 0 1rem;
}
.tool-blog-section .blog-steps {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.tool-blog-section .blog-steps li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1rem 1.2rem;
}
.tool-blog-section .blog-steps .step-num {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background: var(--accent-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: #fff;
  margin-top: 2px;
}
.tool-blog-section .blog-steps .step-text strong {
  display: block;
  color: var(--text-main);
  font-weight: 600;
  margin-bottom: 3px;
}
.tool-blog-section .blog-steps .step-text span {
  color: var(--text-muted);
  font-size: 0.9rem;
}
.tool-blog-section .blog-tips {
  background: var(--primary-light);
  border: 1px solid var(--border-focus);
  border-radius: var(--radius-md);
  padding: 1.2rem 1.5rem;
  margin-top: 1.5rem;
}
.tool-blog-section .blog-tips h4 {
  color: var(--primary);
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
}
.tool-blog-section .blog-tips ul {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--text-body);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ===================================================================
   Tool Contact / Feedback Section
   =================================================================== */
.tool-contact-section {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  margin-top: 2rem;
}
.tool-contact-section h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 0 0 0.4rem;
}
.tool-contact-section .contact-desc {
  color: var(--text-muted);
  font-size: 0.93rem;
  margin: 0 0 1.5rem;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.contact-form select,
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-size: 0.93rem;
  font-family: var(--font-main);
  transition: border-color 0.2s;
  box-sizing: border-box;
}
.contact-form select:focus,
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary);
}
.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}
.contact-form .btn-submit {
  align-self: flex-start;
  background: var(--accent-gradient);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  padding: 0.8rem 2rem;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s;
}
.contact-form .btn-submit:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}
@media (max-width: 600px) {
  .tool-blog-section { padding: 1.5rem; }
  .tool-contact-section { padding: 1.5rem; }
  .contact-form .form-row { grid-template-columns: 1fr; }
}
