/* Base Styles */
:root {
  --background: #ffffff;
  --foreground: #0f172a;
  --card: #ffffff;
  --card-foreground: #0f172a;
  --primary: #3b82f6;
  --primary-foreground: #f8fafc;
  --secondary: #f1f5f9;
  --secondary-foreground: #1e293b;
  --muted: #f1f5f9;
  --muted-foreground: #64748b;
  --accent: #f1f5f9;
  --accent-foreground: #1e293b;
  --destructive: #ef4444;
  --destructive-foreground: #f8fafc;
  --border: #e2e8f0;
  --input: #e2e8f0;
  --ring: #3b82f6;
  --radius: 0.5rem;
  --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.dark {
  --background: #0f172a;
  --foreground: #f8fafc;
  --card: #1e293b;
  --card-foreground: #f8fafc;
  --primary: #3b82f6;
  --primary-foreground: #f8fafc;
  --secondary: #1e293b;
  --secondary-foreground: #f8fafc;
  --muted: #1e293b;
  --muted-foreground: #94a3b8;
  --accent: #1e293b;
  --accent-foreground: #f8fafc;
  --destructive: #7f1d1d;
  --destructive-foreground: #f8fafc;
  --border: #1e293b;
  --input: #1e293b;
  --ring: #2563eb;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.site-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}

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

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--ring);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

.hidden {
  display: none !important;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

p {
  margin-bottom: 1rem;
}

.small {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  border-bottom: 1px solid var(--border);
  background-color: var(--background);
  backdrop-filter: blur(10px);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

.logo {
  font-size: 1.25rem;
  font-weight: 700;
}

.logo a {
  color: var(--foreground);
  display: flex;
  align-items: center;
}

.logo-text {
  font-weight: 700;
}

.logo-dot {
  color: var(--primary);
}

.desktop-nav {
  display: none;
}

.desktop-nav ul {
  display: flex;
  gap: 1.5rem;
}

.desktop-nav a {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.desktop-nav a:hover,
.desktop-nav a.active {
  color: var(--foreground);
}

.nav-buttons {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.theme-toggle,
.mobile-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius);
  background-color: transparent;
  border: none;
  color: var(--foreground);
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.theme-toggle:hover,
.mobile-menu-toggle:hover {
  background-color: var(--secondary);
}

.theme-toggle {
  position: relative;
}

.light-icon,
.dark-icon {
  position: absolute;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.dark .light-icon {
  opacity: 0;
  transform: rotate(-90deg) scale(0);
}

.dark .dark-icon {
  opacity: 1;
  transform: rotate(0) scale(1);
}

.light-icon {
  opacity: 1;
  transform: rotate(0) scale(1);
}

.dark-icon {
  opacity: 0;
  transform: rotate(90deg) scale(0);
}

.mobile-menu {
  display: none;
  padding: 1rem 0;
  border-top: 1px solid var(--border);
}

.mobile-menu.active {
  display: block;
}

.mobile-menu ul {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-menu a {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.mobile-menu a:hover,
.mobile-menu a.active {
  color: var(--foreground);
}

/* Buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  height: 2.5rem;
  padding: 0 1rem;
  transition: all 0.2s ease;
  cursor: pointer;
}

.button.primary {
  background-color: var(--primary);
  color: var(--primary-foreground);
  border: none;
}

.button.primary:hover {
  background-color: var(--ring);
}

.button.secondary {
  background-color: var(--secondary);
  color: var(--secondary-foreground);
  border: none;
}

.button.secondary:hover {
  background-color: var(--accent);
}

.button.outline {
  background-color: transparent;
  border: 1px solid var(--border);
  color: var(--foreground);
}

.button.outline:hover {
  background-color: var(--secondary);
}

.button.small {
  height: 2rem;
  font-size: 0.75rem;
  padding: 0 0.75rem;
}

.button.disabled,
.button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.button.disabled:hover,
.button:disabled:hover {
  background-color: inherit;
}

.button i {
  margin-right: 0.5rem;
}

.button.full-width {
  width: 100%;
}

.button-group {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

/* Hero Section */
.hero {
  padding: 3rem 0 4rem;
  background: linear-gradient(to bottom, var(--background), var(--muted));
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  margin-bottom: 1rem;
}

.hero p {
  color: var(--muted-foreground);
  font-size: 1.125rem;
  margin-bottom: 2rem;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
  }
}

/* Section Styles */
section {
  padding: 3rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 2rem;
}

.section-header h2 {
  margin-bottom: 0.5rem;
}

.section-header p {
  color: var(--muted-foreground);
  max-width: 700px;
  margin: 0 auto;
}

/* Card Styles */
.card {
  background-color: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

.card-header {
  padding: 1.5rem;
}

.card-content {
  padding: 0 1.5rem 1.5rem;
}

.card-footer {
  padding: 1.5rem;
  border-top: 1px solid var(--border);
  margin-top: auto;
}

.date {
  display: block;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: 0.5rem;
}

.tool-icon,
.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 9999px;
  background-color: rgba(59, 130, 246, 0.1);
  color: var(--primary);
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

/* Grid Layouts */
.tools-grid,
.blog-grid,
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.view-all {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  color: var(--foreground);
  font-weight: 500;
}

.text-link i {
  margin-left: 0.5rem;
  font-size: 0.875rem;
}

/* Footer */
.footer {
  background-color: var(--background);
  border-top: 1px solid var(--border);
  padding: 3rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-col h3 {
  font-size: 1.125rem;
  margin-bottom: 1rem;
}

.footer-col p {
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-col a {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--foreground);
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 9999px;
  background-color: var(--secondary);
  color: var(--secondary-foreground);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.social-links a:hover {
  background-color: var(--primary);
  color: var(--primary-foreground);
}

.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* Tool Styles */
.tool-header {
  padding: 3rem 0;
}

.tool-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem;
  background-color: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  margin-bottom: 3rem;
}

.drop-area {
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  padding: 3rem 2rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.drop-area:hover, .drop-area.drag-over {
  border-color: var(--primary);
  background-color: rgba(59, 130, 246, 0.05);
}

.upload-icon-container {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.drop-area .icon {
  font-size: 3rem;
  color: var(--muted-foreground);
}

.file-input {
  display: none;
}

/* Editor Styles */
.editor-tabs {
  display: flex;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.5rem;
}

.editor-tab {
  padding: 0.75rem 1.5rem;
  cursor: pointer;
  border: none;
  background: none;
  font-weight: 500;
  color: var(--muted-foreground);
  border-bottom: 2px solid transparent;
}

.editor-tab.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.editor-tab-content {
  display: none;
}

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

.preview-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.preview-box {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.preview-header {
  background-color: var(--muted);
  padding: 0.75rem 1rem;
  font-weight: 600;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
}

.preview-header i {
  margin-right: 0.5rem;
}

.preview-content {
  padding: 1rem;
}

.preview-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 1rem;
  max-height: 300px;
  object-fit: contain;
}

.preview-info {
  font-size: 0.875rem;
}

.compression-options {
  margin-top: 2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.compression-types {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .compression-types {
    grid-template-columns: 1fr 1fr;
  }
}

.compression-column h4 {
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.tabs {
  display: flex;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.5rem;
}

.tab {
  padding: 0.75rem 1.5rem;
  cursor: pointer;
  font-weight: 500;
  color: var(--muted-foreground);
  border-bottom: 2px solid transparent;
}

.tab.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.tab-content {
  display: none;
}

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

.option-group {
  margin-bottom: 1.5rem;
}

.option-title {
  font-weight: 600;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
}

.option-title i {
  margin-right: 0.5rem;
}

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

.radio-option {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.radio-option input {
  margin-right: 0.5rem;
}

.custom-options {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.custom-kb-options {
  margin-top: 1rem;
  padding: 1rem;
  background-color: var(--secondary);
  border-radius: var(--radius);
}

.custom-kb-input {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.custom-kb-input input {
  width: 5rem;
  padding: 0.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background-color: var(--background);
  color: var(--foreground);
}

.dimension-inputs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.dimension-inputs input {
  width: 5rem;
  padding: 0.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background-color: var(--background);
  color: var(--foreground);
}

.quality-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 0.5rem;
  border-radius: 0.25rem;
  background: var(--secondary);
  outline: none;
  margin: 1rem 0;
}

.quality-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
}

.quality-slider::-moz-range-thumb {
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
  border: none;
}

.slider-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.download-btn {
  width: 100%;
  margin-bottom: 1rem;
}

.success-message {
  padding: 0.75rem;
  background-color: rgba(34, 197, 94, 0.1);
  color: #16a34a;
  border-radius: var(--radius);
  text-align: center;
  margin-bottom: 1rem;
}

.alert {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  border-radius: var(--radius);
  background-color: rgba(59, 130, 246, 0.1);
  margin-top: 1rem;
}

.alert i {
  color: var(--primary);
  font-size: 1rem;
  margin-top: 0.25rem;
}

.alert h3 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.alert p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: 0;
}

/* Crop Styles */
.crop-container {
  margin-bottom: 2rem;
}

.crop-preview-container {
  margin-bottom: 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

#crop-preview {
  max-height: 500px;
  background-color: var(--muted);
}

#crop-preview img {
  display: block;
  max-width: 100%;
}

.crop-controls {
  padding: 1rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
}

.crop-aspect-ratio {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.crop-aspect-ratio select {
  padding: 0.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background-color: var(--background);
  color: var(--foreground);
}

.crop-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.crop-actions {
  display: flex;
  gap: 1rem;
}

.result-preview {
  margin-bottom: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  padding: 1rem;
  text-align: center;
}

.result-preview img {
  max-height: 400px;
  max-width: 100%;
}

.result-info {
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
}

.result-actions {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

/* PDF Merge Styles */
.editor-header {
  margin-bottom: 1.5rem;
}

.pdf-files-container {
  margin-bottom: 2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.pdf-file-header {
  background-color: var(--muted);
  padding: 0.75rem 1rem;
  font-weight: 600;
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr auto;
}

.pdf-files-list {
  max-height: 400px;
  overflow-y: auto;
}

.pdf-file-item {
  padding: 1rem;
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
}

.pdf-file-item:last-child {
  border-bottom: none;
}

.pdf-file-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.pdf-file-icon {
  color: var(--muted-foreground);
  font-size: 1.5rem;
}

.pdf-file-name {
  font-weight: 500;
  word-break: break-all;
}

.pdf-file-size {
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.pdf-file-actions {
  display: flex;
  gap: 0.5rem;
}

.action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: var(--radius);
  background-color: var(--secondary);
  border: none;
  color: var(--secondary-foreground);
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.action-btn:hover {
  background-color: var(--accent);
}

.action-btn.delete {
  color: var(--destructive);
}

.action-btn.delete:hover {
  background-color: var(--destructive);
  color: var(--destructive-foreground);
}

.action-btn.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.action-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

/* How It Works Section */
.how-it-works {
  background-color: var(--muted);
  padding: 4rem 0;
}

.steps-container {
  max-width: 800px;
  margin: 0 auto;
}

.step {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.step:last-child {
  margin-bottom: 0;
}

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 9999px;
  background-color: var(--primary);
  color: var(--primary-foreground);
  font-weight: 700;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.step-content h3 {
  margin-bottom: 0.5rem;
}

.privacy-note {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-top: 3rem;
  padding: 1.5rem;
  border-radius: var(--radius);
  background-color: rgba(59, 130, 246, 0.1);
}

.privacy-note i {
  color: var(--primary);
  font-size: 1.25rem;
  margin-top: 0.25rem;
}

/* Toast Notification */
#toast-container {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 100;
}

.toast {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  margin-bottom: 0.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  max-width: 350px;
  animation: slideIn 0.3s ease;
}

.toast.success {
  border-left: 4px solid #16a34a;
}

.toast.error {
  border-left: 4px solid var(--destructive);
}

.toast.info {
  border-left: 4px solid var(--primary);
}

@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Loading Spinner */
.loading-spinner {
  display: inline-block;
  width: 1rem;
  height: 1rem;
  border: 2px solid var(--muted);
  border-top: 2px solid var(--primary);
  border-radius: 50%;
  margin-right: 0.5rem;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Feature List */
.feature-list {
  margin: 1rem 0;
  padding-left: 0.5rem;
}

.feature-list li {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.feature-list li i {
  color: var(--primary);
  margin-right: 0.5rem;
  font-size: 0.75rem;
}

/* Blog Styles */
.blog-post {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
  background-color: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.blog-post-header {
  margin-bottom: 2rem;
}

.blog-post-header .date {
  margin-bottom: 0.5rem;
}

.blog-post-content {
  line-height: 1.8;
}

.blog-post-content p {
  margin-bottom: 1.5rem;
}

.blog-post-content h2 {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.blog-post-content img {
  border-radius: var(--radius);
  margin: 1.5rem 0;
}

.blog-post-content ul, 
.blog-post-content ol {
  margin-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.blog-post-content li {
  margin-bottom: 0.5rem;
}

/* Content Layout */
.content-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.content-section {
  margin-bottom: 3rem;
}

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

.sidebar-section {
  background-color: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.sidebar-section h3 {
  margin-bottom: 1rem;
}

.sidebar-list li {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.sidebar-list li i {
  color: var(--primary);
  font-size: 1.25rem;
  margin-top: 0.25rem;
}

.sidebar-list li h4 {
  margin-bottom: 0.25rem;
}

.sidebar-list li p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: 0;
}

.sidebar-tools li {
  margin-bottom: 0.75rem;
}

.sidebar-tools a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  border-radius: var(--radius);
  transition: background-color 0.2s ease;
}

.sidebar-tools a:hover {
  background-color: var(--secondary);
}

.sidebar-tools i {
  color: var(--primary);
}

.numbered-list {
  counter-reset: item;
  list-style-type: none;
  margin-left: 0;
}

.numbered-list li {
  counter-increment: item;
  margin-bottom: 1.5rem;
  position: relative;
  padding-left: 3rem;
}

.numbered-list li::before {
  content: counter(item);
  background-color: var(--primary);
  color: var(--primary-foreground);
  font-weight: 700;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  left: 0;
  top: 0;
}

.info-card {
  display: flex;
  gap: 1rem;
  padding: 1.5rem;
  background-color: var(--secondary);
  border-radius: var(--radius);
  margin: 1.5rem 0;
}

.info-card-icon {
  font-size: 2rem;
  color: var(--primary);
}

.info-card-content h3 {
  margin-bottom: 0.5rem;
}

.info-card-content p {
  margin-bottom: 0;
  font-size: 0.875rem;
}

/* Responsive Styles */
@media (min-width: 640px) {
  .tools-grid,
  .blog-grid,
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .preview-container {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .action-buttons {
    flex-wrap: nowrap;
  }
}

@media (min-width: 768px) {
  .desktop-nav {
    display: block;
  }
  
  .mobile-menu-toggle {
    display: none;
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .content-grid {
    grid-template-columns: 2fr 1fr;
  }
}

@media (min-width: 1024px) {
  .tools-grid,
  .blog-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .features-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Page-specific styles */
.page-header {
  padding: 3rem 0;
  background-color: var(--muted);
}

.how-it-works-content {
  padding: 3rem 0;
}