/* Mboguaga - Shared Styles */

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

:root {
  --primary: #1e3a5f;
  --primary-dark: #152a45;
  --secondary: #22c55e;
  --dark: #1e293b;
  --gray: #64748b;
  --light: #f8fafc;
  --white: #ffffff;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--dark);
  line-height: 1.6;
}

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

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--white);
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  z-index: 100;
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.logo {
  font-size: 24px;
  font-weight: 800;
  color: var(--primary);
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--gray);
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-cta {
  display: flex;
  gap: 12px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
  font-size: 14px;
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-lg {
  padding: 14px 28px;
  font-size: 16px;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 13px;
}

.btn-whatsapp {
  background: #25d366;
  color: var(--white);
}

.btn-whatsapp:hover {
  background: #1fb855;
}

.mobile-menu {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
}

/* Page Hero */
.page-hero {
  padding: 140px 0 60px;
  background: linear-gradient(135deg, #eff6ff 0%, #f0fdf4 100%);
  text-align: center;
}

.page-hero h1 {
  font-size: 42px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 16px;
}

.page-hero p {
  font-size: 18px;
  color: var(--gray);
}

/* Page Content */
.page-content {
  padding: 60px 0 100px;
}

.page-content h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--dark);
}

.page-content p {
  color: var(--gray);
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 16px;
}

/* Updates */
.updates-list {
  max-width: 800px;
  margin: 0 auto;
}

.update-card {
  background: var(--white);
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 32px;
  margin-bottom: 24px;
  position: relative;
}

.update-date {
  font-size: 14px;
  color: var(--gray);
  margin-bottom: 12px;
}

.update-card h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
}

.update-card ul {
  margin-left: 20px;
  color: var(--gray);
}

.update-card li {
  margin-bottom: 6px;
}

.update-badge {
  position: absolute;
  top: 24px;
  right: 24px;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.update-badge.new {
  background: #dcfce7;
  color: #166534;
}

.update-badge.coming {
  background: #fef3c7;
  color: #92400e;
}

/* Roadmap */
.roadmap-timeline {
  max-width: 700px;
  margin: 0 auto;
}

.roadmap-item {
  display: flex;
  gap: 24px;
  margin-bottom: 40px;
}

.roadmap-marker {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}

.roadmap-item.completed .roadmap-marker {
  background: var(--secondary);
  color: white;
}

.roadmap-item.current .roadmap-marker {
  background: var(--primary);
  color: white;
}

.roadmap-content h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}

.roadmap-content ul {
  list-style: none;
}

.roadmap-content li {
  padding: 6px 0;
  color: var(--gray);
}

/* Documentation */
.docs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.doc-card {
  background: var(--white);
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 28px;
  transition: all 0.3s;
}

.doc-card:hover {
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
  transform: translateY(-5px);
}

.doc-icon {
  font-size: 36px;
  margin-bottom: 16px;
}

.doc-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.doc-card ul {
  list-style: none;
  margin-top: 16px;
}

.doc-card li {
  padding: 6px 0;
}

.doc-card a {
  color: var(--primary);
  text-decoration: none;
}

.doc-card a:hover {
  text-decoration: underline;
}

/* Tutorials */
.tutorials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.tutorial-card {
  background: var(--white);
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s;
}

.tutorial-card:hover {
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.tutorial-thumb {
  height: 140px;
  background: linear-gradient(135deg, var(--primary), #3b82f6);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.play-icon {
  width: 50px;
  height: 50px;
  background: rgba(255,255,255,0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--primary);
}

.duration {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0,0,0,0.7);
  color: white;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 12px;
}

.tutorial-card h3 {
  font-size: 16px;
  font-weight: 700;
  padding: 16px 16px 8px;
}

.tutorial-card p {
  font-size: 14px;
  padding: 0 16px;
}

.tutorial-level {
  display: inline-block;
  margin: 12px 16px 16px;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
}

.tutorial-level.beginner {
  background: #dcfce7;
  color: #166534;
}

.tutorial-level.intermediate {
  background: #fef3c7;
  color: #92400e;
}

.tutorial-level.advanced {
  background: #fee2e2;
  color: #991b1b;
}

.coming-soon-notice {
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  margin-top: 40px;
}

.coming-soon-notice a {
  color: var(--primary);
}

/* Blog */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.blog-card {
  background: var(--white);
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s;
}

.blog-card:hover {
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.blog-image {
  height: 160px;
}

.blog-content {
  padding: 20px;
}

.blog-category {
  display: inline-block;
  background: #eff6ff;
  color: var(--primary);
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 12px;
}

.blog-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.blog-meta {
  display: flex;
  gap: 8px;
  font-size: 13px;
  color: var(--gray);
  margin-top: 12px;
}

/* FAQ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  background: var(--white);
  border: none;
  font-size: 16px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: background 0.2s;
}

.faq-question:hover {
  background: var(--light);
}

.faq-icon {
  font-size: 24px;
  color: var(--gray);
  transition: transform 0.3s;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  display: none;
  padding: 0 24px 20px;
  background: var(--white);
}

.faq-item.active .faq-answer {
  display: block;
}

.faq-contact {
  text-align: center;
  margin-top: 60px;
  padding: 40px;
  background: var(--light);
  border-radius: 16px;
}

.faq-contact h3 {
  margin-bottom: 8px;
}

.faq-contact .btn {
  margin-top: 16px;
}

/* About */
.about-section {
  max-width: 800px;
  margin: 0 auto 40px;
}

.about-values {
  margin-top: 60px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 24px;
}

.value-card {
  text-align: center;
  padding: 24px;
}

.value-icon {
  font-size: 40px;
  display: block;
  margin-bottom: 12px;
}

.value-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.about-cta {
  text-align: center;
  margin-top: 60px;
  padding: 60px;
  background: linear-gradient(135deg, #eff6ff 0%, #f0fdf4 100%);
  border-radius: 16px;
}

.about-cta h2 {
  margin-bottom: 20px;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
}

.contact-item {
  display: flex;
  gap: 16px;
  margin-bottom: 32px;
}

.contact-icon {
  font-size: 28px;
}

.contact-item strong {
  display: block;
  margin-bottom: 4px;
}

.contact-form-container {
  background: var(--light);
  padding: 40px;
  border-radius: 16px;
}

.contact-form .form-group {
  margin-bottom: 20px;
}

.contact-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: 16px;
  font-family: inherit;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary);
}

/* Partners */
.partners-intro {
  max-width: 700px;
  margin: 0 auto 60px;
  text-align: center;
}

.partners-benefits h2,
.partners-types h2 {
  text-align: center;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 24px;
}

.benefit-card {
  text-align: center;
  padding: 32px 20px;
  background: var(--white);
  border: 1px solid #e2e8f0;
  border-radius: 16px;
}

.benefit-icon {
  font-size: 40px;
  display: block;
  margin-bottom: 16px;
}

.benefit-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.types-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 24px;
}

.type-card {
  padding: 32px;
  background: var(--light);
  border-radius: 16px;
}

.type-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.partners-cta {
  text-align: center;
  margin-top: 60px;
  padding: 60px;
  background: linear-gradient(135deg, var(--primary), #3b82f6);
  border-radius: 16px;
  color: white;
}

.partners-cta h2 {
  color: white;
}

.partners-cta p {
  color: rgba(255,255,255,0.9);
}

/* Careers */
.careers-intro {
  max-width: 700px;
  margin: 0 auto 40px;
  text-align: center;
}

.careers-perks {
  margin-bottom: 60px;
}

.perks-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-top: 20px;
}

.perk {
  background: var(--light);
  padding: 12px 24px;
  border-radius: 24px;
  font-weight: 500;
}

.job-card {
  background: var(--white);
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 32px;
  margin-bottom: 24px;
}

.job-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.job-header h3 {
  font-size: 22px;
  font-weight: 700;
}

.job-type {
  color: var(--gray);
  font-size: 14px;
}

.job-requirements {
  margin: 20px 0;
}

.job-requirements ul {
  margin-left: 20px;
  margin-top: 10px;
}

.job-requirements li {
  margin-bottom: 6px;
  color: var(--gray);
}

.careers-cta {
  text-align: center;
  margin-top: 60px;
  padding: 40px;
  background: var(--light);
  border-radius: 16px;
}

/* Footer */
footer {
  background: var(--dark);
  color: var(--white);
  padding: 40px 0;
}

.footer-simple {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-simple p {
  color: #94a3b8;
  font-size: 14px;
}

/* Blog Article */
.blog-article {
  padding: 140px 0 60px;
}

.article-header {
  max-width: 800px;
  margin: 0 auto 40px;
}

.back-link {
  display: inline-block;
  color: var(--primary);
  text-decoration: none;
  margin-bottom: 20px;
  font-weight: 500;
}

.back-link:hover {
  text-decoration: underline;
}

.article-category {
  display: inline-block;
  background: #eff6ff;
  color: var(--primary);
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 16px;
}

.article-header h1 {
  font-size: 36px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 16px;
}

.article-meta {
  display: flex;
  gap: 8px;
  color: var(--gray);
  font-size: 14px;
}

.article-content {
  max-width: 800px;
  margin: 0 auto;
}

.article-content p {
  color: var(--dark);
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: 20px;
}

.article-content .lead {
  font-size: 20px;
  color: var(--gray);
  margin-bottom: 32px;
}

.article-content h2 {
  font-size: 26px;
  font-weight: 700;
  margin: 40px 0 16px;
  color: var(--dark);
}

.article-content h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 32px 0 12px;
  color: var(--dark);
}

.article-content ul,
.article-content ol {
  margin: 0 0 20px 24px;
  color: var(--dark);
}

.article-content li {
  margin-bottom: 8px;
  line-height: 1.7;
}

.article-content a {
  color: var(--primary);
}

.article-cta {
  background: var(--light);
  padding: 40px;
  border-radius: 16px;
  text-align: center;
  margin: 40px 0;
}

.article-cta p {
  margin-bottom: 16px;
}

.info-box {
  background: #f0f9ff;
  border-left: 4px solid var(--primary);
  padding: 16px 20px;
  margin: 24px 0;
  border-radius: 0 8px 8px 0;
}

.info-box p {
  margin: 0;
}

/* Legal Pages */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-content h2 {
  font-size: 22px;
  font-weight: 700;
  margin: 36px 0 12px;
  color: var(--dark);
}

.legal-content h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 24px 0 8px;
  color: var(--dark);
}

.legal-content p {
  color: var(--gray);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 16px;
}

.legal-content ul {
  margin: 0 0 16px 20px;
  color: var(--gray);
}

.legal-content li {
  margin-bottom: 6px;
  line-height: 1.7;
}

.legal-content a {
  color: var(--primary);
}

.legal-notice {
  background: var(--light);
  padding: 20px;
  border-radius: 8px;
  margin-top: 40px;
}

.legal-notice p {
  margin: 0;
  font-size: 14px;
}

/* Doc Table */
.doc-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}

.doc-table th,
.doc-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid #e2e8f0;
}

.doc-table th {
  background: var(--light);
  font-weight: 600;
}

/* Clickable cards */
.doc-card[onclick],
.blog-card[onclick] {
  cursor: pointer;
}

/* Mobile */
@media (max-width: 768px) {
  .nav-links, .nav-cta {
    display: none;
  }
  
  .mobile-menu {
    display: block;
  }

  .page-hero h1 {
    font-size: 32px;
  }

  .docs-grid,
  .tutorials-grid,
  .blog-grid,
  .types-grid {
    grid-template-columns: 1fr;
  }

  .values-grid,
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-simple {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .job-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}
