/* style.css - new modern look */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&family=Inter:wght@400;500&display=swap');

:root {
  --primary-color: #2563eb;
  --accent-color: #22c55e;
  --bg-color: #f8fafc;
  --text-color: #1e293b;
  --footer-bg: #0f172a;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
  transition: background 0.3s ease, color 0.3s ease;
}

h1, h2, h3, h4, h5 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
}

header.hero {
  background: linear-gradient(120deg, #2563eb, #22c55e);
  color: #fff;
  text-align: center;
  padding: 6rem 2rem 4rem;
  position: relative;
}
header.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}
header.hero p {
  max-width: 600px;
  margin: 0 auto 2rem;
  font-size: 1.25rem;
}

.btn-primary {
  background: #fff;
  color: #2563eb;
  padding: 0.75rem 2rem;
  border-radius: 9999px;
  font-weight: 600;
  transition: all 0.2s ease;
}
.btn-primary:hover {
  background: #f1f5f9;
  transform: scale(1.05);
}

section.apps {
  padding: 4rem 1rem;
  max-width: 1200px;
  margin: 0 auto;
}
section.apps h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
}

.card-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.card {
  background: #fff;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}
.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
}
.card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}
.card p {
  font-size: 1rem;
  color: #475569;
}

footer.footer {
  background: var(--footer-bg);
  color: #cbd5e1;
  text-align: center;
  padding: 2rem 1rem;
  margin-top: 4rem;
}
footer.footer a {
  color: #94a3b8;
  text-decoration: underline;
  margin: 0 0.5rem;
  transition: color 0.2s ease;
}
footer.footer a:hover {
  color: #fff;
}

/* Dark Mode */
@media (prefers-color-scheme: dark) {
  :root {
    --bg-color: #0f172a;
    --text-color: #f8fafc;
    --footer-bg: #000;
  }
  body {
    background: var(--bg-color);
    color: var(--text-color);
  }
  .card { background: #1e293b; }
  .card p { color: #cbd5e1; }
}
