/* Global Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  background-color: #1a1a1a;
  color: #e0e0e0;
  line-height: 1.6;
}

/* Header */
header {
  background: #222;
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

header h1 {
  font-size: 1.8rem;
  color: #ffcc00;
}

header nav a {
  color: #e0e0e0;
  text-decoration: none;
  margin-left: 1.5rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

header nav a:hover {
  color: #ffcc00;
}

/* Main */
main {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 1rem;
}

/* Search Section */
.search-section {
  text-align: center;
  margin-bottom: 2rem;
}

.search-section input {
  width: 100%;
  max-width: 500px;
  padding: 0.8rem;
  font-size: 1rem;
  border: 1px solid #444;
  border-radius: 4px;
  background-color: #2a2a2a;
  color: #e0e0e0;
  transition: border-color 0.3s ease;
}

.search-section input:focus {
  border-color: #ffcc00;
  outline: none;
}

/* Grid Container for AI Cards */
.grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

/* Category Title */
.category-title {
  grid-column: 1 / -1;
  font-size: 1.4rem;
  font-weight: bolder;
  margin: 1rem 0 0.5rem;
  color: #ff6f00;
  border-bottom: 1px solid #444;
  padding-bottom: 0.3rem;
  text-decoration: solid;
}

/* AI Card */
.ai-card {
  background: #2a2a2a;
  padding: 1.2rem;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
  position: relative;
}

.ai-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

/* Subtle Shine Effect on Hover */
.ai-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 204, 0, 0.3),
    transparent
  );
  transform: skewX(-25deg);
  transition: left 0.5s ease;
}

.ai-card:hover::before {
  left: 100%;
}

/* Card Title and Button */
.ai-card h3 {
  margin-bottom: 0.8rem;
  color: #ffcc00;
  font-size: 1.2rem;
}

.ai-card a {
  display: inline-block;
  text-decoration: none;
  background: #ffcc00;
  color: #1a1a1a;
  padding: 0.6rem 1rem;
  border-radius: 4px;
  font-weight: 500;
  transition: background 0.3s ease;
}

.ai-card a:hover {
  background: #e6b800;
}
.ai-logo {
  width: 60px;
  height: 60px;
  object-fit: contain;
  margin-bottom: 1rem;
  border-radius: 4px;  /* Optional: if you want rounded corners */
}
footer {
  background: #222;
  text-align: center;
  padding: 1rem 0;
  font-size: 0.9rem;
}