:root {
  --primary: #3498db;
  --primary-dark: #2980b9;
  --dark: #2c3e50;
  --light: #ecf0f1;
  --text: #34495e;
  --border: #e0e0e0;
  --shadow: rgba(0, 0, 0, 0.1);
  --card-hover: #f8f9fa;
}

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

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  color: var(--text);
}

.container {
  max-width: 900px;
  width: 100%;
  background: white;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  padding: 40px;
  animation: fadeIn 0.5s ease-out;
}

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

header {
  text-align: center;
  margin-bottom: 40px;
}

h1 {
  color: var(--dark);
  font-size: 2.5rem;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

h1 i {
  color: var(--primary);
}

.subtitle {
  color: #7f8c8d;
  font-size: 1.1rem;
}

.tools-grid {
  display: grid;
  gap: 20px;
  margin-bottom: 40px;
}

.tool-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 25px;
  background: white;
  border: 2px solid var(--border);
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.tool-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--primary);
  transform: scaleY(0);
  transition: transform 0.3s ease;
}

.tool-card:hover {
  transform: translateX(5px);
  box-shadow: 0 5px 20px var(--shadow);
  border-color: var(--primary);
  background: var(--card-hover);
}

.tool-card:hover::before {
  transform: scaleY(1);
}

.tool-card:hover .tool-arrow {
  transform: translateX(5px);
}

.tool-icon {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: white;
}

.tool-content {
  flex: 1;
}

.tool-content h3 {
  color: var(--dark);
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.tool-content p {
  color: #7f8c8d;
  font-size: 0.95rem;
  line-height: 1.5;
}

.tool-arrow {
  flex-shrink: 0;
  font-size: 20px;
  color: var(--primary);
  transition: transform 0.3s ease;
}

footer {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  color: #95a5a6;
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .container {
    padding: 25px;
  }

  h1 {
    font-size: 2rem;
  }

  .tool-card {
    flex-direction: column;
    text-align: center;
  }

  .tool-content h3 {
    font-size: 1.2rem;
  }

  .tool-arrow {
    transform: rotate(90deg);
  }

  .tool-card:hover .tool-arrow {
    transform: rotate(90deg) translateX(5px);
  }
}
