/* Modern Reset & Base Styles */
:root {
  --bg-color: #0f1115;
  --card-bg: #161b22;
  --text-primary: #ffffff;
  --text-secondary: #8b949e;
  --accent-color: #238636; /* Fresh Green */
  --amazon-color: #ff9900;
  --hover-overlay: rgba(255, 255, 255, 0.05);
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --transition: all 0.3s ease;
}

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

body {
  font-family: var(--font-main);
  background-color: var(--bg-color);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

/* Layout Utilities */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
header {
  background: rgba(15, 17, 21, 0.8);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid #30363d;
  padding: 1rem 0;
}

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

header h1 {
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(90deg, #fff, #8b949e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

nav a {
  margin-left: 20px;
  color: var(--text-secondary);
  font-weight: 500;
}

nav a:hover, nav a.active {
  color: var(--text-primary);
}

/* Hero Section */
.hero {
  padding: 80px 0;
  text-align: center;
}

.hero h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 2rem;
}

/* Grid System */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

/* Cards */
.card {
  background-color: var(--card-bg);
  border: 1px solid #30363d;
  border-radius: 12px;
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  border-color: var(--text-secondary);
}

.card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  background-color: #21262d;
}

.card-content {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: var(--accent-color);
  color: white;
  border-radius: 6px;
  font-weight: 600;
  text-align: center;
  transition: var(--transition);
}

.btn:hover {
  background-color: #2ea043; /* Lighter green */
}

.btn-amazon {
  background-color: var(--amazon-color);
  color: #111;
}

.btn-amazon:hover {
  background-color: #ffac33;
}

/* Footer */
footer {
  border-top: 1px solid #30363d;
  padding: 3rem 0;
  color: var(--text-secondary);
  text-align: center;
  margin-top: auto;
}

footer p {
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
  .hero h2 {
    font-size: 2rem;
  }
}
