/* Import Bulma CSS Framework */
@import url('https://cdn.jsdelivr.net/npm/bulma@0.9.4/css/bulma.min.css');

/* Import Satoshi Font */
@import url('https://api.fontshare.com/v2/css?f[]=satoshi@900,700,500,400&display=swap');

/* Import Bootstrap Icons */
@import url('https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css');

/* Root Variables */
:root {
  --primary-color: #10b981;
  --accent-color: #10b981;
  --text-color: #1f2937;
  --light-bg: #f9fafb;
  --white: #ffffff;
  --border-color: #e5e7eb;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Satoshi', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-color);
  background-color: var(--white);
}

/* Reset list styles globally */
ul, ol {
  list-style: none !important;
  margin: 0;
  padding: 0;
}

/* Content lists styling */
.content ul li,
.content ol li {
  position: relative;
  padding-left: 1.8em;
  margin-bottom: 1em;
  font-size: 18px;
  line-height: 1.7;
}

.content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 0.5em;
  height: 0.5em;
  background-color: var(--primary-color);
  border-radius: 50%;
}

.content ol {
  counter-reset: list-counter;
}

.content ol li {
  counter-increment: list-counter;
}

.content ol li::before {
  content: counter(list-counter) '.';
  position: absolute;
  left: 0;
  font-weight: 700;
  color: var(--primary-color);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-color);
  margin-bottom: 1.5rem;
}

h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 2.25rem;
  margin-top: 3rem;
  margin-bottom: 1.5rem;
}

h3 {
  font-size: 1.75rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

p {
  font-size: 18px;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

strong {
  font-weight: 700;
  color: var(--text-color);
}

/* Navigation */
.navbar {
  background-color: var(--white) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.navbar-logo {
  width: 40px;
  height: 40px;
}

.navbar-brand-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-color);
}

.navbar-menu {
  list-style: none !important;
}

.navbar-item {
  list-style: none !important;
  font-size: 18px;
  font-weight: 500;
  color: var(--text-color);
  padding: 0.5rem 1rem;
  transition: color 0.3s ease;
}

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

.navbar-item:hover {
  color: var(--primary-color);
  background-color: transparent;
}

.navbar-end .button {
  margin-left: 1rem;
}

/* Hero Section */
.hero-section {
  position: relative !important;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
  padding: 8rem 2rem 6rem 2rem !important;
  overflow: hidden !important;
  min-height: 600px !important;
  display: flex !important;
  align-items: center !important;
}

.hero-section::before {
  content: '' !important;
  position: absolute !important;
  top: -50% !important;
  right: -10% !important;
  width: 600px !important;
  height: 600px !important;
  background: rgba(255, 255, 255, 0.1) !important;
  border-radius: 40% 60% 70% 30% / 40% 50% 60% 50% !important;
  animation: float 20s infinite ease-in-out !important;
}

.hero-section::after {
  content: '' !important;
  position: absolute !important;
  bottom: -30% !important;
  left: -5% !important;
  width: 500px !important;
  height: 500px !important;
  background: rgba(255, 255, 255, 0.08) !important;
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40% !important;
  animation: float 25s infinite ease-in-out reverse !important;
}

@keyframes float {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg);
  }
  50% {
    transform: translate(30px, 30px) rotate(10deg);
  }
}

.hero-content {
  position: relative !important;
  z-index: 2 !important;
  max-width: 900px !important;
  margin: 0 auto !important;
}

.hero-section h1 {
  color: var(--white) !important;
  font-size: 3.5rem !important;
  font-weight: 900 !important;
  margin-bottom: 1.5rem !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
}

.hero-section .hero-text {
  color: var(--white) !important;
  font-size: 1.25rem !important;
  line-height: 1.8 !important;
  margin-bottom: 2.5rem !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) !important;
}

/* Buttons */
.button {
  font-family: 'Satoshi', sans-serif;
  font-size: 18px;
  font-weight: 700;
  padding: 5px 20px !important;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  white-space: nowrap;
  text-align: center;
}

.button-primary {
  background-color: var(--white) !important;
  color: var(--primary-color) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.button-primary:hover {
  background-color: #f9fafb !important;
  color: var(--primary-color) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.button-cta {
  background-color: var(--primary-color) !important;
  color: var(--white) !important;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.button-cta:hover {
  background-color: #059669 !important;
  color: var(--white) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

/* Table of Contents */
.toc-section {
  background-color: var(--light-bg);
  padding: 3rem 0;
  margin-bottom: 3rem;
}

.toc-card {
  background: var(--white);
  border-radius: 12px;
  padding: 2.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.toc-card h2 {
  margin-top: 0;
  color: var(--primary-color);
}

.toc-list {
  list-style: none !important;
  padding: 0 !important;
}

.toc-list li {
  margin-bottom: 1rem;
  list-style: none !important;
}

.toc-list li::before,
.toc-list li::after {
  display: none !important;
  content: none !important;
}

.toc-list a {
  display: flex;
  align-items: center;
  padding: 1rem 1.5rem;
  background-color: var(--light-bg);
  border-radius: 8px;
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
  font-size: 18px;
  transition: all 0.3s ease;
  border-left: 4px solid transparent;
}

.toc-list a:hover {
  background-color: #e8f5e9;
  border-left-color: var(--primary-color);
  transform: translateX(8px);
}

.toc-list i {
  color: var(--primary-color);
  margin-right: 1rem;
  font-size: 1.25rem;
}

/* Content Sections */
.content-section {
  padding: 4rem 0;
}

.content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Cards */
.card {
  background: var(--white);
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.card h3 {
  color: var(--primary-color);
  margin-top: 0;
}

/* Images */
picture {
  display: block;
  margin: 2rem 0;
}

img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Tables */
.table-container {
  width: 100%;
  overflow-x: auto;
  margin: 2rem 0;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  font-size: 18px;
  min-width: 600px;
}

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

thead th {
  padding: 1.25rem 1.5rem;
  text-align: left;
  font-weight: 700;
  font-size: 18px;
}

tbody tr {
  border-bottom: 1px solid var(--border-color);
  transition: background-color 0.3s ease;
}

tbody tr:hover {
  background-color: var(--light-bg);
}

tbody td {
  padding: 1.25rem 1.5rem;
  font-size: 18px;
}

tbody tr:last-child {
  border-bottom: none;
}

/* Icon Lists */
.icon-list {
  list-style: none !important;
  padding: 0 !important;
}

.icon-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
  padding-left: 0 !important;
}

.icon-list li::before {
  display: none !important;
}

.icon-list i {
  color: var(--primary-color);
  font-size: 1.5rem;
  margin-right: 1rem;
  margin-top: 0.2rem;
  flex-shrink: 0;
}

/* Footer */
.footer {
  background-color: #1f2937;
  color: #e5e7eb;
  padding: 4rem 0 2rem 0;
  margin-top: 4rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-column h4 {
  color: var(--white);
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}

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

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

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

.footer-links a {
  color: #e5e7eb;
  text-decoration: none;
  font-size: 18px;
  transition: color 0.3s ease;
}

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

.footer-bottom {
  border-top: 1px solid #374151;
  padding-top: 2rem;
  text-align: center;
  color: #9ca3af;
  font-size: 16px;
}

/* Responsive Design */
@media screen and (max-width: 1024px) {
  .hero-section h1 {
    font-size: 2.75rem !important;
  }

  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2rem;
  }

  h3 {
    font-size: 1.5rem;
  }
}

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

  .hero-section {
    padding: 5rem 1.5rem 4rem 1.5rem !important;
    min-height: 500px !important;
  }

  .hero-section h1 {
    font-size: 2.25rem !important;
  }

  .hero-section .hero-text {
    font-size: 1.1rem !important;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  h3 {
    font-size: 1.35rem;
  }

  p, .content ul li, .content ol li {
    font-size: 17px;
  }

  .card {
    padding: 1.5rem;
  }

  .toc-card {
    padding: 2rem 1.5rem;
  }

  .footer-columns {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .button {
    font-size: 17px;
    padding: 5px 20px !important;
    height: unset !important;    
  }

  .navbar-burger {
    color: var(--text-color);
  }
}

@media screen and (max-width: 480px) {
  .hero-section {
    padding: 4rem 1rem 3rem 1rem !important;
  }

  .hero-section h1 {
    font-size: 1.85rem !important;
  }

  h1 {
    font-size: 1.75rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .content {
    padding: 0 1rem;
  }
}