@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  margin: 0;
  padding: 0;
  background: #f8fafc;
  color: #1e293b;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

header {
  background: #ea580c;
  color: #fff;
  text-align: center;
  padding: 2.5rem 1rem;
  position: relative;
  overflow: hidden;
}

header::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 80% 20%, rgba(255,255,255,0.1) 0%, transparent 60%);
}

.logo {
  width: 80px;
  height: 80px;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.15));
}

header h1 {
  font-size: 2.2rem;
  margin: 0 0 0.4rem;
  color: #fff;
  font-weight: 700;
  letter-spacing: -0.02em;
  position: relative;
  z-index: 1;
}

header p {
  font-size: 1.1rem;
  margin: 0;
  opacity: 0.85;
  font-weight: 400;
  position: relative;
  z-index: 1;
}

nav {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226,232,240,0.6);
  padding: 0.5rem 1rem;
  position: sticky;
  top: 0;
  z-index: 100;
}

nav a {
  text-decoration: none;
  padding: 0.6rem 1.2rem;
  color: #64748b;
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 10px;
  transition: all 0.2s;
  position: relative;
}

nav a:hover {
  color: #fff;
  background: #ea580c;
  box-shadow: 0 4px 12px rgba(234,88,12,0.3);
}

nav a.active {
  color: #fff;
  background: #ea580c;
  box-shadow: 0 4px 12px rgba(234,88,12,0.3);
  font-weight: 600;
}

main {
  max-width: 900px;
  margin: 2.5rem auto;
  padding: 0 1.5rem;
  text-align: center;
  flex: 1;
}

main h2 {
  margin-bottom: 1.5rem;
  color: #1e293b;
  font-size: 1.5rem;
  font-weight: 700;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

.card {
  background: #fff;
  border-radius: 16px;
  padding: 2rem 1.5rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  transition: transform 0.2s, box-shadow 0.2s;
  border: 1px solid #f1f5f9;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(249,115,22,0.1), 0 4px 8px rgba(0,0,0,0.05);
}

.card-icon {
  font-size: 2.8rem;
  margin-bottom: 0.8rem;
}

.card h3 {
  margin: 0.5rem 0;
  color: #1e293b;
  font-size: 1.15rem;
  font-weight: 600;
}

.card p {
  font-size: 0.9rem;
  color: #94a3b8;
  margin-bottom: 1.2rem;
  line-height: 1.5;
}

.card button {
  background: #ea580c;
  color: #fff;
  border: none;
  padding: 0.65rem 1.6rem;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
}

.card button:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(249,115,22,0.35);
}


footer {
  background: #1e293b;
  color: #94a3b8;
  text-align: center;
  padding: 1.5rem 1rem;
  margin-top: 3rem;
  font-size: 0.85rem;
}

footer a {
  color: #fb923c;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  header { padding: 1.8rem 1rem; }
  header h1 { font-size: 1.6rem; }
  header p { font-size: 0.95rem; }
  .logo { width: 60px; height: 60px; }
  nav { gap: 0.3rem; padding: 0.4rem 0.5rem; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  nav a { padding: 0.5rem 0.8rem; font-size: 0.8rem; white-space: nowrap; }
  main { margin: 1.5rem auto; padding: 0 1rem; }
  main h2 { font-size: 1.25rem; }
  .cards { grid-template-columns: 1fr; gap: 1rem; }
  .card { padding: 1.5rem 1.2rem; }
  footer { font-size: 0.78rem; padding: 1.2rem 1rem; }
}

@media (max-width: 480px) {
  header { padding: 1.2rem 0.8rem; }
  header h1 { font-size: 1.3rem; }
  header p { font-size: 0.85rem; }
  .logo { width: 48px; height: 48px; margin-bottom: 0.6rem; }
  nav a { padding: 0.4rem 0.6rem; font-size: 0.75rem; border-radius: 8px; }
  main { margin: 1rem auto; padding: 0 0.8rem; }
}
