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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen",
    "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue",
    sans-serif;
  padding: 0;
  background-color: #f5f8fb77;
  color: #1a1a1a;
  scroll-behavior: smooth;
}

/* Navbar */
.navbar {
  background-color: #ffffff;
  position: relative;
  top: 0;
  z-index: 1000;
}

.nav-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 8px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.nav-logo img {
  height: 40px;
  display: block;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 32px;
  margin: 0;
  padding: 0;
}

.nav-item {
  position: relative;
}

.nav-link {
  text-decoration: none;
  color: #4b5563;
  font-size: 15px;
  font-weight: 500;
  transition: color 0.2s ease;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.nav-link:hover {
  color: #1a1a1a;
}

/* Dropdown Toggle */
.nav-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-dropdown-toggle i {
  font-size: 14px;
  transition: transform 0.2s ease;
}

.nav-item.has-dropdown:hover .nav-dropdown-toggle i {
  transform: rotate(180deg);
}

/* Dropdown Menu */
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background-color: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  list-style: none;
  padding: 8px 0;
  margin: 0;
  min-width: 240px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  z-index: 1001;
}

.nav-item.has-dropdown:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
}

.nav-dropdown-link {
  display: block;
  padding: 12px 20px;
  text-decoration: none;
  color: #4b5563;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.15s ease;
}

.nav-dropdown-link:hover {
  background-color: #f9fafb;
  color: #1a1a1a;
}

/* Page Header */
.page-header {
  background-color: #ffffff;
  color: #1a1a1a;
  padding: 120px 40px;
  text-align: center;
}

.header-content {
  max-width: 900px;
  margin: 0 auto;
}

.page-title {
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -1px;
  margin-bottom: 20px;
  line-height: 1.2;
}

.highlight {
  background-color: #fef3c7;
  padding: 0 8px;
  border-radius: 4px;
  color: #1a1a1a;
}

.page-subtitle {
  font-size: 18px;
  line-height: 1.7;
  color: #666;
  max-width: 650px;
  margin: 0 auto;
  font-weight: 400;
}

/* About Section */
.about {
  background-color: #ffffff;
  padding: 80px 40px;
}

.about-container {
  max-width: 800px;
  margin: 0 auto;
}

.about-title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 30px;
  letter-spacing: -0.5px;
  color: #1a1a1a;
  text-align: center;
}

.about-content {
  font-size: 16px;
  line-height: 1.8;
  color: #4b5563;
}

.about-content p {
  margin-bottom: 24px;
}

.about-content h3 {
  font-size: 24px;
  font-weight: 700;
  margin-top: 40px;
  margin-bottom: 20px;
  color: #1a1a1a;
  letter-spacing: -0.5px;
}

.about-content ol {
  margin-left: 25px;
  margin-bottom: 20px;
}

.about-content li {
  margin-bottom: 12px;
  line-height: 1.8;
}

.about-content strong {
  font-weight: 600;
  color: #333;
}

.about-content a {
  color: #082845;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.about-content a:hover {
  text-decoration: none;
}

/* Features Section */
.features {
  padding: 80px 40px;
}

.features-container {
  max-width: 1000px;
  margin: 0 auto;
}

.features-title {
  font-size: 36px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 50px;
  letter-spacing: -0.5px;
  color: #1a1a1a;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.feature-card {
  background-color: #ffffff;
  padding: 32px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  text-align: center;
  transition: all 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border-color: #d1d5db;
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 20px;
  background-color: #fef3c7;
  border-radius: 8px;
}

.feature-icon i {
  font-size: 32px;
  color: #082845;
}

.feature-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #1a1a1a;
  letter-spacing: -0.3px;
}

.feature-description {
  font-size: 15px;
  line-height: 1.6;
  color: #6b7280;
}

/* Footer */
.footer {
  background-color: #ffffff;
  border-top: 1px solid #e5e7eb;
  padding: 40px 0;
}

.footer-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-logo img {
  height: 40px;
  display: block;
}

.footer-menu {
  display: flex;
  list-style: none;
  gap: 32px;
  margin: 0;
  padding: 0;
}

.footer-link {
  text-decoration: none;
  color: #4b5563;
  font-size: 15px;
  font-weight: 500;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: #1a1a1a;
}

.footer-bottom {
  max-width: 1000px;
  margin: 0 auto;
  padding: 24px 40px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #e5e7eb;
  margin-top: 24px;
}

.footer-copyright {
  font-size: 14px;
  color: #6b7280;
  margin: 0;
}

.footer-legal-link {
  font-size: 14px;
  color: #6b7280;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-legal-link:hover {
  color: #1a1a1a;
}

/* FAQ Section */
.faq {
  background-color: #ffffff;
  padding: 80px 40px;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-title {
  font-size: 36px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 50px;
  letter-spacing: -0.5px;
  color: #1a1a1a;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.faq-item {
  padding: 24px;
  background-color: #f9fafb;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
}

.faq-question {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #1a1a1a;
  letter-spacing: -0.3px;
}

.faq-answer {
  font-size: 15px;
  line-height: 1.7;
  color: #4b5563;
  margin: 0;
}

/* Utility Classes */
.no-print {
  /* Used for elements that should not appear in print */
}

/* Mobile Navigation */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1002;
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: #1a1a1a;
  transition: all 0.3s ease;
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 2px;
  background-color: #1a1a1a;
  transition: all 0.3s ease;
  left: 0;
}

.nav-toggle span::before {
  top: -7px;
}

.nav-toggle span::after {
  top: 7px;
}

/* Hamburger animation when open */
.nav-toggle.active span {
  background-color: transparent;
}

.nav-toggle.active span::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle.active span::after {
  top: 0;
  transform: rotate(-45deg);
}

/* Hide overlay on desktop */
.nav-overlay {
  display: none;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
  .nav-container {
    padding: 8px 16px;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background-color: #ffffff;
    flex-direction: column;
    padding: 80px 24px 24px;
    gap: 0;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    overflow-y: auto;
    z-index: 1001;
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-item {
    width: 100%;
    border-bottom: 1px solid #e5e7eb;
  }

  .nav-item:last-child {
    border-bottom: none;
  }

  .nav-link {
    display: block;
    padding: 16px 0;
    font-size: 16px;
  }

  /* Mobile Dropdown */
  .nav-dropdown-toggle {
    width: 100%;
    justify-content: space-between;
    text-align: left;
  }

  .nav-item.has-dropdown {
    border-bottom: none;
  }

  .nav-dropdown {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    border: none;
    border-radius: 0;
    padding: 0;
    min-width: auto;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background-color: #f9fafb;
    margin: 0 -24px;
    padding: 0 24px;
  }

  .nav-item.has-dropdown.open .nav-dropdown {
    max-height: 500px;
    padding: 8px 24px 16px;
  }

  .nav-item.has-dropdown:hover .nav-dropdown {
    max-height: 0;
    padding: 0 24px;
  }

  .nav-item.has-dropdown.open:hover .nav-dropdown {
    max-height: 500px;
    padding: 8px 24px 16px;
  }

  .nav-item.has-dropdown:hover .nav-dropdown-toggle i {
    transform: none;
  }

  .nav-item.has-dropdown.open .nav-dropdown-toggle i {
    transform: rotate(180deg);
  }

  .nav-dropdown-link {
    padding: 12px 0;
  }

  /* Mobile logo size */
  .nav-logo img {
    height: 32px;
  }

  /* Mobile overlay */
  .nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
  }

  .nav-overlay.active {
    display: block;
  }

  /* Page Header Mobile */
  .page-header {
    padding: 60px 20px;
  }

  .page-title {
    font-size: 32px;
  }

  .page-subtitle {
    font-size: 16px;
  }

  /* About Section Mobile */
  .about {
    padding: 60px 20px;
  }

  .about-title {
    font-size: 28px;
  }

  .about-content h3 {
    font-size: 20px;
  }

  /* Features Section Mobile */
  .features {
    padding: 60px 20px;
  }

  .features-title {
    font-size: 28px;
    margin-bottom: 30px;
  }

  /* FAQ Section Mobile */
  .faq {
    padding: 60px 20px;
  }

  .faq-title {
    font-size: 28px;
    margin-bottom: 30px;
  }

  .faq-item {
    padding: 20px;
  }

  .faq-question {
    font-size: 16px;
  }

  /* Footer Mobile */
  .footer-container {
    flex-direction: column;
    gap: 24px;
    padding: 0 20px;
  }

  .footer-logo img {
    height: 32px;
  }

  .footer-menu {
    gap: 24px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
    padding: 20px 20px 0;
  }
}

@media print {
  .no-print {
    display: none !important;
  }
}
