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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  font-family: 'Inter', sans-serif;
  background: #ffffff;
  color: #1a1a2e;
  line-height: 1.5;
}

.container {
  width: 100%;
  margin: 0 auto;
  padding: 0 48px;
}

/* Header */
.header {
  background: white;
  border-bottom: 1px solid #e2e8f0;
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  gap: 20px;
  flex-wrap: nowrap;
}

.logo h1 {
  font-size: 1.6rem;
  font-weight: 700;
  color: #0f172a;
}
.logo span {
  color: #3b82f6;
  font-weight: 800;
}
.logo p {
  font-size: 0.75rem;
  color: #64748b;
  letter-spacing: 0.5px;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  text-decoration: none;
  color: #334155;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover {
  color: #3b82f6;
}

.btn-small {
  background: #3b82f6;
  color: white;
  padding: 8px 20px;
  border-radius: 40px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: background 0.2s;
}
.btn-small:hover {
  background: #2563eb;
}

/* Hero */
.hero {
  padding: 80px 0 60px;
  text-align: center;
  background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%);
}
.hero h1 {
  font-size: 3rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 20px;
}
.hero .highlight {
  color: #3b82f6;
}
.hero .subhead {
  font-size: 1.25rem;
  color: #475569;
  max-width: 700px;
  margin: 0 auto 24px;
}
.hero .description {
  max-width: 900px;
  margin: 0 auto 32px;
  color: #334155;
  font-size: 1.05rem;
}
.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-primary {
  background: #3b82f6;
  color: white;
  padding: 12px 32px;
  border-radius: 40px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-primary:hover {
  background: #2563eb;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(59,130,246,0.3);
}
.btn-outline {
  border: 1.5px solid #cbd5e1;
  background: white;
  color: #1e293b;
  padding: 12px 32px;
  border-radius: 40px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-outline:hover {
  border-color: #3b82f6;
  color: #3b82f6;
}

/* Sections */
section {
  padding: 64px 0;
  border-bottom: 1px solid #eef2f6;
}
.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 16px;
  text-align: center;
}
.section-sub {
  text-align: center;
  color: #64748b;
  max-width: 900px;
  margin: 0 auto 48px;
  font-size: 1.1rem;
}

/* Cards */
.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
  margin-top: 20px;
}
.grid-5 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  margin-top: 20px;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 20px;
}
.grid-3 .card {
  display: flex;
  flex-direction: column;
}
.grid-3 .card .btn-outline {
  margin-top: auto;
}
.grid-5 .card {
  display: flex;
  flex-direction: column;
}
.grid-5 .card > .btn-outline {
  margin-top: auto;
  align-self: flex-start;
}
.grid-5 .card p {
  flex: 1;
}
@media (max-width: 1024px) {
  .grid-5 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
  .grid-3 { grid-template-columns: 1fr; }
}
.card {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 28px 24px;
  transition: all 0.25s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}
.card:hover {
  border-color: #3b82f6;
  box-shadow: 0 12px 24px -12px rgba(0,0,0,0.12);
  transform: translateY(-4px);
}
.card-icon {
  font-size: 2.2rem;
  color: #3b82f6;
  margin-bottom: 20px;
}
.card h3 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: #0f172a;
}
.card p {
  color: #475569;
  font-size: 0.9rem;
  margin-bottom: 16px;
}
.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.tag {
  background: #f1f5f9;
  padding: 4px 12px;
  border-radius: 30px;
  font-size: 0.7rem;
  font-weight: 500;
  color: #334155;
}

/* Stats */
.stats {
  background: #f8fafc;
  border-radius: 32px;
  padding: 48px 40px;
  margin: 32px 0;
}
.stats-grid {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
  text-align: center;
}
.stat-item h3 {
  font-size: 2.2rem;
  font-weight: 800;
  color: #0f172a;
}
.stat-item p {
  color: #64748b;
  font-weight: 500;
}

/* Repositórios */
.repo-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
}
.repo-badge {
  background: #f1f5f9;
  border-radius: 60px;
  padding: 8px 20px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 500;
  color: #0f172a;
  text-decoration: none;
  transition: all 0.2s;
  border: 1px solid #e2e8f0;
}
.repo-badge i {
  color: #3b82f6;
}
.repo-badge:hover {
  background: #eef2ff;
  border-color: #3b82f6;
}

/* CTA final */
.cta-section {
  background: #0f172a;
  color: white;
  border-radius: 32px;
  padding: 56px 48px;
  text-align: center;
  margin: 32px 0 64px;
}
.cta-section h2 {
  font-size: 1.8rem;
  margin-bottom: 16px;
}
.cta-section p {
  color: #cbd5e1;
  max-width: 600px;
  margin: 0 auto 32px;
}
.btn-white {
  background: white;
  color: #0f172a;
  padding: 12px 32px;
  border-radius: 40px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: 0.2s;
}
.btn-white:hover {
  background: #e2e8f0;
  transform: translateY(-2px);
}

footer {
  padding: 48px 0 32px;
  text-align: center;
  color: #64748b;
  font-size: 0.85rem;
  border-top: 1px solid #eef2f6;
}
@media (max-width: 768px) {
  .navbar { flex-direction: column; text-align: center; }
  .hero h1 { font-size: 2rem; }
  .section-title { font-size: 1.6rem; }
  .cta-section { padding: 32px 24px; }
  .container { padding: 0 16px; }
}
