:root {
    --primary: #6366f1;
    --primary-hover: #4f46e5;
    --primary-light: #eef2ff;
    --primary-dark: #4338ca;
    --success: #10b981;
    --error: #ef4444;
    --text: #1f2937;
    --text-light: #6b7280;
    --text-lighter: #9ca3af;
    --border: #e5e7eb;
    --border-light: #f3f4f6;
    --radius: 16px;
    --radius-sm: 8px;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  }

  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
    color: var(--text);
    line-height: 1.5;
    min-height: 100vh;
  }

  .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
  }

  header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
  }

  header::after {
    content: "";
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 2px;
  }

  h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.025em;
    margin-bottom: 0.5rem;
  }

  .subtitle {
    font-size: 1.125rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
  }

  .tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
  }

  .tool-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
    height: 100%;
    display: flex;
    flex-direction: column;
  }

  .tool-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
  }

  .tool-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-dark) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
  }

  .tool-card:hover::before {
    opacity: 1;
  }

  .tool-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    color: var(--primary);
    transition: all 0.3s ease;
  }

  .tool-card:hover .tool-icon {
    transform: scale(1.1);
    background: var(--primary);
    color: white;
  }

  .tool-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
  }

  .tool-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text);
  }

  .tool-description {
    color: var(--text-light);
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
    flex: 1;
  }

  .tool-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid var(--border-light);
  }

  .tool-status {
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.25rem 0.5rem;
    border-radius: 20px;
    background: var(--primary-light);
    color: var(--primary);
  }

  .tool-arrow {
    width: 20px;
    height: 20px;
    color: var(--text-light);
    transition: transform 0.3s ease;
  }

  .tool-card:hover .tool-arrow {
    transform: translateX(3px);
    color: var(--primary);
  }

  .search-container {
    max-width: 600px;
    margin: 0 auto 2rem;
    position: relative;
  }

  .search-input {
    width: 100%;
    padding: 1rem 1.25rem 1rem 3rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 1rem;
    font-family: inherit;
    background: white;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
  }

  .search-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: var(--shadow);
  }

  .search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    color: var(--text-light);
  }

  .categories {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2rem;
    justify-content: center;
  }

  .category-btn {
    padding: 0.5rem 1rem;
    border: 1px solid var(--border);
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    background: white;
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.2s ease;
  }

  .category-btn:hover, .category-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
  }

  footer {
    text-align: center;
    padding: 2rem 0;
    color: var(--text-light);
    font-size: 0.875rem;
    margin-top: 3rem;
    border-top: 1px solid var(--border);
  }

  @media (max-width: 768px) {
    .container {
      padding: 1.5rem;
    }
    
    h1 {
      font-size: 2rem;
    }
    
    .subtitle {
      font-size: 1rem;
    }
    
    .tools-grid {
      grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
      gap: 1rem;
    }
  }

  @media (max-width: 480px) {
    .container {
      padding: 1rem;
    }
    
    h1 {
      font-size: 1.75rem;
    }
    
    .tools-grid {
      grid-template-columns: 1fr;
    }
    
    .categories {
      gap: 0.5rem;
    }
    
    .category-btn {
      padding: 0.4rem 0.75rem;
      font-size: 0.75rem;
    }
  }