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

body {
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  color: #444;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

.topbar {
  background-color: #243670;
  padding: 6px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.main-navbar {
  background-color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  padding: 12px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: box-shadow 0.3s;
}

.main-navbar .navbar-brand {
  font-size: 26px;
  font-weight: 700;
  color: #29abe2;
  letter-spacing: -0.5px;
}

.main-navbar .navbar-brand span {
  color: #29abe2;
}

.main-navbar .nav-link {
  color: #444;
  font-size: 13px;
  font-weight: 500;
 
  transition: color 0.2s;
}

.main-navbar .nav-link:hover,
.main-navbar .nav-link.active {
  color: #29abe2;
}

.cards-section {
  padding: 60px 0;
  background: #fff;
}

.feature-card {
  background: #f8f9fa;
  border: 1px solid #e8e8e8;
  border-radius: 4px;
  padding: 40px 30px;
  text-align: center;
  transition: box-shadow 0.3s;
  height: 100%;
}

.feature-card:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.feature-card .icon-wrapper {
  width: 72px;
  height: 72px;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-card .icon-wrapper i {
  font-size: 52px;
}

.feature-card h4 {
  font-size: 17px;
  font-weight: 600;
  color: #333;
  margin-bottom: 6px;
}

.feature-card .meta {
  font-size: 12px;
  color: #999;
  margin-bottom: 20px;
}

/* Botões de ação */
.btn-red {
  background-color: #e74c3c;
  color: #fff;
  border: none;
  padding: 8px 20px;
  border-radius: 3px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  display: inline-block;
}

.btn-red:hover {
  background-color: #c0392b;
  color: #fff;
}

.btn-teal {
  background-color: #0d7abf;
  color: #fff;
  border: none;
  padding: 8px 20px;
  border-radius: 3px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  display: inline-block;
}

.btn-teal:hover {
  background-color: #0f5d8f;
  color: #fff;
}

.btn-green {
  background-color: #79c747;
  color: #fff;
  border: none;
  padding: 8px 20px;
  border-radius: 3px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  display: inline-block;
}

.btn-green:hover {
  background-color: #65a938;
  color: #fff;
}

.section-divider {
  border: none;
  height: 1px;
  background: #e0e6ed;
  margin: 0;
}

.topics-section {
  background: #eef2f5;
  padding: 60px 0;
}

.topics-section h2 {
  font-size: 22px;
  font-weight: 700;
  color: #333;
  margin-bottom: 8px;
}

.topic-group h5 {
  font-size: 20px;
  font-weight: 700;
  color: #333;
  margin-bottom: 10px;
}

.topic-group ul {
  list-style: none;
  padding: 0;
  margin-bottom: 24px;
}

.topic-group ul li {
  font-size: 14px;
  color: #555;
  padding: 4px 0;
  display: flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
}

.topic-group ul li i {
  color: #29abe2;
  font-size: 14px;
  flex-shrink: 0;
}

/* Sidebar */
.topics-sidebar h5 {
  font-size: 14px;
  font-weight: 700;
  color: #333;
  margin-bottom: 10px;
}

.topics-sidebar ul {
  list-style: none;
  padding: 0;
  margin-bottom: 24px;
}

.topics-sidebar ul li {
  font-size: 13px;
  color: #555;
  padding: 5px 0;
  border-bottom: 1px solid #dde2e6;
}

.topics-sidebar ul li:last-child {
  border-bottom: none;
}

.update-item {
  margin-bottom: 14px;
}

.update-item .update-title {
  font-size: 13px;
  color: #333;
  font-weight: 500;
}

.update-item .update-meta {
  font-size: 11px;
  color: #aaa;
}

.features-section {
  background: linear-gradient(135deg, #29abe2 0%, #0d7abf 100%);
  padding: 70px 0;
  position: relative;
  overflow: hidden;
}

.features-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 10% 50%, rgba(255, 255, 255, 0.07) 0%, transparent 50%),
    radial-gradient(circle at 90% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.features-section h2 {
  color: #fff;
  font-size: 26px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}

.features-section .section-desc {
  color: rgba(255, 255, 255, 0.85);
  text-align: center;
  font-size: 14px;
  max-width: 580px;
  margin: 0 auto 50px;
  position: relative;
  z-index: 1;
}

.feature-item {
  display: flex;
  gap: 16px;
  margin-bottom: 36px;
  position: relative;
  z-index: 1;
}

.feature-item .feat-icon {
  width: 52px;
  height: 52px;
  min-width: 52px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-item .feat-icon i {
  color: #fff;
  font-size: 20px;
}

.feature-item .feat-content h5 {
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
}

.feature-item .feat-content p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
}

.main-footer {
  background: #2c3e50;
  padding: 50px 0 0;
}

.main-footer h5 {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 16px;
}

.main-footer p,
.main-footer a {
  color: #aab7c4;
  font-size: 13px;
  line-height: 1.8;
}

.main-footer a:hover {
  color: #29abe2;
}

.main-footer ul {
  list-style: none;
  padding: 0;
}

.main-footer ul li {
  margin-bottom: 6px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #3d5166;
  color: #aab7c4;
  font-size: 13px;
  margin-right: 6px;
  transition: all 0.2s;
}

.footer-social a:hover {
  background: #29abe2;
  color: #fff;
}

.footer-newsletter {
  display: flex;
}

.footer-newsletter input {
  flex: 1;
  padding: 8px 12px;
  border: none;
  border-radius: 3px 0 0 3px;
  font-size: 12px;
  outline: none;
  font-family: 'Poppins', sans-serif;
}

.footer-newsletter button {
  background: #79c747;
  color: #fff;
  border: none;
  padding: 8px 14px;
  border-radius: 0 3px 3px 0;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  font-family: 'Poppins', sans-serif;
}

.footer-newsletter button:hover {
  background: #65a938;
}

.newsletter-note {
  font-size: 11px !important;
  margin-top: 6px;
}

/* Footer Bottom */
.footer-bottom {
  background: #243342;
  padding: 20px 0;
  margin-top: 40px;
  text-align: center;
}

.footer-bottom .footer-logo {
  font-size: 22px;
  font-weight: 700;
  color: #aab7c4;
  letter-spacing: -0.5px;
  display: block;
  margin-bottom: 10px;
}

.footer-bottom .footer-logo span {
  color: #5a6a7a;
}

.footer-logo img {
  width: 100px;
}

.footer-bottom .footer-links {
  display: flex;
  justify-content: center;
  gap: 5px;
  margin-bottom: 10px;
  flex-wrap: wrap;
  color: #7a8a9a;
}

.footer-bottom .footer-links a {
  color: #7a8a9a;
  font-size: 12px;
}

.footer-bottom .footer-links a:hover {
  color: #29abe2;
}

.footer-bottom p {
  color: #6a7a8a;
  font-size: 12px;
  margin: 0;
}

.footer-bottom p a {
  color: #29abe2;
}

@media (max-width: 991px) {
  .topics-sidebar {
    border-top: 1px solid #dde2e6;
    padding-top: 30px;
  }
}

@media (max-width: 768px) {

  .btn-outline-hero,
  .btn-green-hero {
    display: block;
    width: 100%;
    text-align: center;
    margin: 6px 0;
  }

  .cta-section .d-flex {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .btn-purchase {
    width: 100%;
    text-align: center;
  }

  .feature-card {
    margin-bottom: 10px;
  }

  .features-section h2 {
    font-size: 20px;
  }
}

@media (max-width: 576px) {
  .topbar {
    flex-direction: column;
    gap: 8px;
    text-align: center;
    padding: 10px 20px;
  }

  .main-navbar .navbar-brand {
    font-size: 19px;
    float: left;
    width: 50%;
  }

  .cta-section h3 {
    font-size: 17px;
  }

  .footer-bottom .footer-links {
    gap: 12px;
  }
}