/* Reset and Base Styles */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Manrope', sans-serif !important;
  font-size: 18px !important;
  line-height: 1.7 !important;
  color: #333 !important;
  background-color: #fff !important;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Manrope', sans-serif !important;
  font-weight: 700 !important;
  color: #222 !important;
  margin-bottom: 1rem !important;
}

h1 {
  font-size: 2.5rem !important;
}

h2 {
  font-size: 2rem !important;
  margin-top: 2rem !important;
}

h3 {
  font-size: 1.5rem !important;
  margin-top: 1.5rem !important;
}

h4 {
  font-size: 1.25rem !important;
  margin-top: 1rem !important;
}

p {
  font-size: 18px !important;
  margin-bottom: 1rem !important;
}

/* Navigation */
.navbar {
  background-color: #1a1a2e !important;
  padding: 0.75rem 1.5rem !important;
}

.navbar-brand .navbar-item {
  padding: 0 !important;
}

.navbar-brand .navbar-item img {
  max-height: 40px !important;
}

.navbar-menu {
  background-color: #1a1a2e !important;
}

.navbar-item,
.navbar-link {
  color: #fff !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  list-style: none !important;
}

.navbar-item::before,
.navbar-item::after,
.navbar-link::before,
.navbar-link::after {
  display: none !important;
  content: none !important;
}

.navbar-item:hover,
.navbar-link:hover {
  background-color: rgba(64, 224, 208, 0.2) !important;
  color: #40E0D0 !important;
}

.navbar-burger {
  color: #fff !important;
}

.navbar-burger span {
  background-color: #fff !important;
}

.navbar .button.is-primary {
  background-color: #40E0D0 !important;
  color: #1a1a2e !important;
  border: none !important;
  border-radius: 50px !important;
  font-weight: 600 !important;
  white-space: nowrap !important;
}

.navbar .button.is-primary:hover {
  background-color: #2EB8A8 !important;
}

/* Hero Section */
.hero {
  position: relative !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}

.hero::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  background: linear-gradient(135deg, rgba(26, 26, 46, 0.95) 0%, rgba(26, 26, 46, 0.85) 100%) !important;
  z-index: 1 !important;
}

.hero .hero-body {
  position: relative !important;
  z-index: 2 !important;
  padding: 4rem 1.5rem !important;
}

.hero .title {
  color: #fff !important;
  font-size: 2.5rem !important;
  font-weight: 700 !important;
  margin-bottom: 1.5rem !important;
}

.hero .subtitle {
  color: rgba(255, 255, 255, 0.9) !important;
  font-size: 1.125rem !important;
  line-height: 1.8 !important;
  margin-bottom: 2rem !important;
}

.hero .button.is-primary {
  background-color: #40E0D0 !important;
  color: #1a1a2e !important;
  border: none !important;
  border-radius: 50px !important;
  font-weight: 600 !important;
  font-size: 1.1rem !important;
  white-space: nowrap !important;
}

.hero .button.is-primary:hover {
  background-color: #2EB8A8 !important;
  transform: translateY(-2px) !important;
}

/* Table of Contents */
.toc-section {
  background-color: #f8f9fa !important;
  padding: 2rem 0 !important;
}

.toc-box {
  background-color: #fff !important;
  border-left: 4px solid #40E0D0 !important;
  padding: 1.5rem 2rem !important;
  border-radius: 0 8px 8px 0 !important;
}

.toc-box ol {
  list-style: decimal !important;
  padding-left: 1.5rem !important;
  margin: 0 !important;
}

.toc-box ol li {
  padding: 0.5rem 0 !important;
  font-size: 17px !important;
}

.toc-box ol li::marker {
  color: #40E0D0 !important;
  font-weight: 700 !important;
}

.toc-box a {
  color: #333 !important;
  text-decoration: none !important;
  transition: color 0.3s ease !important;
}

.toc-box a:hover {
  color: #40E0D0 !important;
}

/* Sections */
.section {
  padding: 3rem 1.5rem !important;
}

.section:nth-child(even) {
  background-color: #f8f9fa !important;
}

.section-title {
  color: #1a1a2e !important;
  font-size: 2rem !important;
  font-weight: 700 !important;
  margin-bottom: 1.5rem !important;
  padding-bottom: 0.5rem !important;
  border-bottom: 3px solid #40E0D0 !important;
  display: inline-block !important;
}

/* Cards */
.card {
  background-color: #fff !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
  height: 100% !important;
}

.card:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12) !important;
}

.card-content {
  padding: 1.5rem !important;
}

.card-content .title {
  font-size: 1.25rem !important;
  margin-bottom: 0.75rem !important;
}

.card-content .content {
  font-size: 17px !important;
}

/* Images */
.content-image {
  width: 100% !important;
  height: auto !important;
  border-radius: 12px !important;
  margin: 1.5rem 0 !important;
  display: block !important;
}

.image-wrapper {
  overflow: hidden !important;
  border-radius: 12px !important;
  margin: 1.5rem 0 !important;
}

.image-wrapper img {
  width: 100% !important;
  height: auto !important;
  display: block !important;
  transition: transform 0.3s ease !important;
}

/* Lists */
.content ul,
.content ol {
  margin-left: 0 !important;
  padding-left: 1.5rem !important;
  margin-bottom: 1.5rem !important;
}

.content ul {
  list-style: none !important;
}

.content ul li {
  position: relative !important;
  padding-left: 1.5rem !important;
  margin-bottom: 0.75rem !important;
  font-size: 17px !important;
}

.content ul li::before {
  content: '' !important;
  position: absolute !important;
  left: 0 !important;
  top: 0.6em !important;
  width: 8px !important;
  height: 8px !important;
  background-color: #40E0D0 !important;
  border-radius: 50% !important;
}

.content ol {
  list-style: decimal !important;
}

.content ol li {
  margin-bottom: 0.75rem !important;
  font-size: 17px !important;
  padding-left: 0.5rem !important;
}

.content ol li::marker {
  color: #40E0D0 !important;
  font-weight: 700 !important;
}

/* Tables */
.table-container {
  overflow-x: auto !important;
  margin: 1.5rem 0 !important;
  border-radius: 12px !important;
}

.table {
  width: 100% !important;
  border-collapse: collapse !important;
  font-size: 16px !important;
}

.table th {
  background-color: #1a1a2e !important;
  color: #fff !important;
  padding: 1rem !important;
  text-align: left !important;
  font-weight: 600 !important;
  white-space: nowrap !important;
}

.table td {
  padding: 1rem !important;
  border-bottom: 1px solid #e0e0e0 !important;
  vertical-align: middle !important;
}

.table tbody tr:nth-child(even) {
  background-color: #f8f9fa !important;
}

.table tbody tr:hover {
  background-color: rgba(64, 224, 208, 0.1) !important;
}

/* Conversion Buttons */
.cta-button {
  display: inline-block !important;
  background-color: #40E0D0 !important;
  color: #1a1a2e !important;
  border: none !important;
  border-radius: 50px !important;
  font-weight: 600 !important;
  font-size: 1.1rem !important;
  white-space: nowrap !important;
  text-decoration: none !important;
  transition: all 0.3s ease !important;
  text-align: center !important;
}

.cta-button:hover {
  background-color: #2EB8A8 !important;
  color: #fff !important;
  transform: translateY(-2px) !important;
}

.cta-wrapper {
  text-align: center !important;
  margin: 2rem 0 !important;
}

/* Material Icons */
.material-icons {
  color: #40E0D0 !important;
  vertical-align: middle !important;
  margin-right: 0.5rem !important;
  font-size: 24px !important;
}

.material-icons.accent {
  color: #1a1a2e !important;
}

/* Footer */
.footer {
  background-color: #1a1a2e !important;
  padding: 3rem 1.5rem 1.5rem !important;
}

.footer .title {
  color: #40E0D0 !important;
  font-size: 1.25rem !important;
  margin-bottom: 1rem !important;
}

.footer p,
.footer a {
  color: rgba(255, 255, 255, 0.8) !important;
  font-size: 16px !important;
}

.footer a:hover {
  color: #40E0D0 !important;
}

.footer-links {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.footer-links li {
  margin-bottom: 0.5rem !important;
  list-style: none !important;
}

.footer-links li::before,
.footer-links li::after {
  display: none !important;
  content: none !important;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8) !important;
  text-decoration: none !important;
  transition: color 0.3s ease !important;
}

.footer-links a:hover {
  color: #40E0D0 !important;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
  margin-top: 2rem !important;
  padding-top: 1.5rem !important;
  text-align: center !important;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.6) !important;
  font-size: 14px !important;
  margin: 0 !important;
}

/* Responsive */
@media screen and (max-width: 1023px) {
  .navbar-menu {
    background-color: #1a1a2e !important;
    padding: 1rem !important;
  }

  .navbar-item {
    padding: 0.75rem 1rem !important;
  }

  .hero .title {
    font-size: 2rem !important;
  }

  .hero .subtitle {
    font-size: 1rem !important;
  }

  h1 {
    font-size: 2rem !important;
  }

  h2 {
    font-size: 1.75rem !important;
  }

  .section-title {
    font-size: 1.75rem !important;
  }
}

@media screen and (max-width: 768px) {
  body {
    font-size: 16px !important;
  }

  .hero .hero-body {
    padding: 3rem 1rem !important;
  }

  .hero .title {
    font-size: 1.75rem !important;
  }

  .section {
    padding: 2rem 1rem !important;
  }

  h1 {
    font-size: 1.75rem !important;
  }

  h2 {
    font-size: 1.5rem !important;
  }

  h3 {
    font-size: 1.25rem !important;
  }

  .section-title {
    font-size: 1.5rem !important;
  }

  .columns {
    margin: 0 !important;
  }

  .column {
    padding: 0.5rem !important;
  }

  .footer .columns {
    text-align: center !important;
  }

  .footer .column {
    margin-bottom: 1.5rem !important;
  }
}

/* Utility classes */
.has-text-turquoise {
  color: #40E0D0 !important;
}

.has-background-turquoise {
  background-color: #40E0D0 !important;
}

.has-text-dark-blue {
  color: #1a1a2e !important;
}

.has-background-dark-blue {
  background-color: #1a1a2e !important;
}

.mb-4 {
  margin-bottom: 1.5rem !important;
}

.mt-4 {
  margin-top: 1.5rem !important;
}

.py-4 {
  padding-top: 1.5rem !important;
  padding-bottom: 1.5rem !important;
}
