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

body {
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
  background: #f5f9fe;
  color: #1a2b3c;
  line-height: 1.5;
}

.dark body,
body.dark-mode {
  background: #0b1a2a;
  color: #e4edf5;
}

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

ul {
  list-style: none;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  transition: 0.2s;
}

.dark-mode .site-header {
  background: rgba(11, 26, 42, 0.8);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
}

.logo svg {
  height: 44px;
  width: auto;
  display: block;
}

.nav-menu {
  display: flex;
  gap: 28px;
  font-weight: 500;
}

.nav-menu a {
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: 0.2s;
}

.nav-menu a.active,
.nav-menu a:hover {
  border-bottom-color: #f0b040;
  color: #b8860b;
}

.dark-mode .nav-menu a.active,
.dark-mode .nav-menu a:hover {
  color: #f5d742;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: transparent;
  border: none;
}

.menu-toggle span {
  width: 28px;
  height: 3px;
  background: #1a2b3c;
  border-radius: 4px;
  transition: 0.2s;
}

.dark-mode .menu-toggle span {
  background: #e4edf5;
}

.dark-toggle {
  background: transparent;
  border: 1px solid #9aaec0;
  border-radius: 30px;
  padding: 6px 14px;
  font-size: 14px;
  cursor: pointer;
  color: #1a2b3c;
}

.dark-mode .dark-toggle {
  color: #f0e6c5;
  border-color: #f0e6c5;
  background: #1f3a4b;
}

.hero {
  background: linear-gradient(145deg, #dce9f5, #b5cfe0);
  padding: 60px 0 80px;
  border-radius: 0 0 60px 60px;
  margin-bottom: 30px;
}

.dark-mode .hero {
  background: linear-gradient(145deg, #1a3345, #0f2636);
}

.hero-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

.hero-text {
  flex: 1 1 300px;
}

.hero-text h1 {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-text p {
  font-size: 1.2rem;
  opacity: 0.85;
  max-width: 600px;
}

.hero-cta {
  margin-top: 30px;
  display: flex;
  gap: 16px;
}

.btn-primary {
  background: #1a3b5c;
  color: white;
  padding: 14px 34px;
  border-radius: 50px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: 0.2s;
}

.btn-primary:hover {
  background: #b8860b;
}

.dark-mode .btn-primary {
  background: #f0b040;
  color: #0b1a2a;
}

.hero-visual {
  flex: 1 1 280px;
  text-align: center;
}

.hero-visual svg {
  width: 100%;
  max-width: 400px;
  height: auto;
}

section {
  padding: 60px 0;
}

.section-title {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 30px;
  position: relative;
  display: inline-block;
}

.section-title:after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: #f0b040;
  margin-top: 10px;
}

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

.glass-card {
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(8px);
  border-radius: 28px;
  padding: 28px 20px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.6);
  transition: 0.25s;
}

.dark-mode .glass-card {
  background: rgba(25, 45, 65, 0.5);
  border-color: #2a4055;
}

.glass-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 30px rgba(0, 0, 0, 0.08);
}

.icon-wrap svg {
  width: 48px;
  height: 48px;
}

.value-text {
  margin-top: 14px;
}

.value-text h3 {
  margin-bottom: 10px;
  font-size: 1.5rem;
}

.site-footer {
  background: #0f1f2e;
  color: #bdcbd9;
  padding: 40px 0;
  margin-top: 30px;
}

.dark-mode .site-footer {
  background: #07121c;
}

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

.footer-grid h4 {
  color: #f0e6c5;
  margin-bottom: 16px;
  font-weight: 600;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-bottom {
  border-top: 1px solid #2a4055;
  margin-top: 30px;
  padding-top: 20px;
  text-align: center;
  font-size: 0.9rem;
}

.article-list,
.faq-list {
  display: grid;
  gap: 28px;
}

.article-item {
  background: white;
  border-radius: 28px;
  padding: 24px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.02);
}

.dark-mode .article-item {
  background: #1b3140;
}

.faq-item {
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(4px);
  border-radius: 28px;
  padding: 20px 24px;
  cursor: pointer;
}

.faq-question {
  font-weight: 600;
  font-size: 1.2rem;
}

.faq-answer {
  margin-top: 10px;
  display: none;
}

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

.howto-step {
  background: rgba(240, 176, 64, 0.06);
  border-left: 6px solid #f0b040;
  padding: 20px;
  border-radius: 20px;
  margin-bottom: 16px;
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 24px;
    gap: 18px;
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.1);
  }

  .dark-mode .nav-menu {
    background: rgba(11, 26, 42, 0.96);
  }

  .nav-menu.open {
    display: flex;
  }

  .menu-toggle {
    display: flex;
  }

  .hero-text h1 {
    font-size: 2.2rem;
  }
}

.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: 0.6s ease-out;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.count-up {
  font-weight: 700;
  font-size: 2.4rem;
}

.banner-slider {
  overflow: hidden;
  position: relative;
}

.slider-track {
  display: flex;
  transition: transform 0.5s ease;
}

.slider-item {
  min-width: 100%;
  padding: 20px 0;
}

.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #1a3b5c;
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: 0.2s;
  border: none;
  z-index: 99;
}

.back-to-top.show {
  opacity: 1;
  pointer-events: auto;
}

.search-sim {
  display: flex;
  max-width: 400px;
  background: white;
  border-radius: 60px;
  padding: 6px 6px 6px 20px;
}

.dark-mode .search-sim {
  background: #1f3345;
}

.search-sim input {
  border: none;
  background: transparent;
  flex: 1;
  outline: none;
  padding: 12px 0;
}

.search-sim button {
  background: #f0b040;
  border: none;
  border-radius: 40px;
  padding: 10px 24px;
  font-weight: 600;
  cursor: pointer;
}