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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background: #f5f7fa;
  color: #1a1a2e;
  line-height: 1.6;
  transition: background 0.3s, color 0.3s;
}

body.dark {
  background: #0f0f1a;
  color: #e0e0e0;
}

a {
  color: #f7971e;
  text-decoration: none;
}

img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.glass {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 24px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.dark .glass {
  background: rgba(20, 20, 40, 0.7);
  border-color: rgba(255, 255, 255, 0.05);
}

.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 50px;
  background: linear-gradient(135deg, #f7971e, #ffd200);
  color: #1a1a2e;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 4px 15px rgba(247, 151, 30, 0.3);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(247, 151, 30, 0.4);
}

.section {
  padding: 80px 0;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 20px;
  text-align: center;
  background: linear-gradient(135deg, #f7971e, #ffd200);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-sub {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px;
  color: #666;
}

.dark .section-sub {
  color: #aaa;
}

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

.card {
  background: #fff;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s, box-shadow 0.3s;
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.dark .card {
  background: #1a1a2e;
  border-color: rgba(255, 255, 255, 0.05);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.icon-svg {
  width: 48px;
  height: 48px;
  margin-bottom: 15px;
  fill: none;
  stroke: #f7971e;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.dark .icon-svg {
  stroke: #ffd200;
}

.banner {
  position: relative;
  overflow: hidden;
  min-height: 80vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
}

.banner-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.banner-slide.active {
  opacity: 1;
}

.banner-content {
  text-align: center;
  color: #fff;
  max-width: 800px;
}

.banner-content h1 {
  font-size: 3.5rem;
  font-weight: 900;
  margin-bottom: 20px;
  line-height: 1.2;
}

.banner-content p {
  font-size: 1.2rem;
  opacity: 0.9;
  margin-bottom: 30px;
}

.banner-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
}

.banner-dots span {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}

.banner-dots span.active {
  background: #f7971e;
  transform: scale(1.2);
}

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 15px 0;
  transition: background 0.3s, box-shadow 0.3s;
}

.nav.scrolled {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.dark .nav.scrolled {
  background: rgba(15, 15, 26, 0.9);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.nav-logo {
  font-size: 1.8rem;
  font-weight: 900;
  background: linear-gradient(135deg, #f7971e, #ffd200);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  gap: 25px;
  list-style: none;
  align-items: center;
}

.nav-links a {
  color: #1a1a2e;
  font-weight: 500;
  transition: color 0.3s;
  position: relative;
}

.dark .nav-links a {
  color: #e0e0e0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #f7971e;
  transition: width 0.3s;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  padding: 5px;
}

.nav-toggle span {
  width: 28px;
  height: 3px;
  background: #1a1a2e;
  border-radius: 3px;
  transition: 0.3s;
}

.dark .nav-toggle span {
  background: #e0e0e0;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 300px;
  height: 100vh;
  background: #fff;
  z-index: 2000;
  padding: 80px 30px 30px;
  transition: right 0.4s;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.1);
}

.dark .mobile-menu {
  background: #1a1a2e;
}

.mobile-menu.open {
  right: 0;
}

.mobile-menu a {
  display: block;
  padding: 12px 0;
  font-size: 1.1rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.dark .mobile-menu a {
  border-color: rgba(255, 255, 255, 0.05);
}

.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
}

.mobile-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.theme-toggle {
  background: none;
  border: 2px solid #f7971e;
  border-radius: 50px;
  padding: 6px 16px;
  cursor: pointer;
  font-size: 0.9rem;
  color: #1a1a2e;
  transition: 0.3s;
  display: flex;
  align-items: center;
  gap: 6px;
}

.dark .theme-toggle {
  color: #e0e0e0;
  border-color: #ffd200;
}

.theme-toggle:hover {
  background: #f7971e;
  color: #fff;
}

.dark .theme-toggle:hover {
  background: #ffd200;
  color: #1a1a2e;
}

.footer {
  background: #1a1a2e;
  color: #aaa;
  padding: 60px 0 30px;
}

.dark .footer {
  background: #0a0a14;
}

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

.footer h3 {
  color: #fff;
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.footer a {
  color: #aaa;
  display: block;
  padding: 4px 0;
  transition: color 0.3s;
}

.footer a:hover {
  color: #f7971e;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  text-align: center;
  font-size: 0.9rem;
}

.footer-qr {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-qr svg {
  width: 120px;
  height: 120px;
  border-radius: 12px;
  background: #fff;
  padding: 8px;
}

.back-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f7971e, #ffd200);
  color: #1a1a2e;
  border: none;
  cursor: pointer;
  font-size: 1.5rem;
  box-shadow: 0 4px 20px rgba(247, 151, 30, 0.4);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s, transform 0.4s;
  z-index: 999;
}

.back-top.show {
  opacity: 1;
  transform: translateY(0);
}

.search-box {
  position: relative;
  display: flex;
  align-items: center;
}

.search-box input {
  padding: 8px 15px;
  border-radius: 50px;
  border: 1px solid #ddd;
  background: rgba(255, 255, 255, 0.8);
  outline: none;
  width: 200px;
  transition: width 0.3s;
}

.dark .search-box input {
  background: rgba(255, 255, 255, 0.1);
  border-color: #444;
  color: #e0e0e0;
}

.search-box input:focus {
  width: 250px;
  border-color: #f7971e;
}

.search-results {
  position: absolute;
  top: 100%;
  right: 0;
  width: 300px;
  max-height: 400px;
  overflow-y: auto;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  z-index: 100;
  display: none;
  padding: 15px;
}

.dark .search-results {
  background: #1a1a2e;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.search-results.show {
  display: block;
}

.search-results a {
  display: block;
  padding: 10px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  color: #1a1a2e;
}

.dark .search-results a {
  color: #e0e0e0;
  border-color: rgba(255, 255, 255, 0.05);
}

.search-results a:hover {
  background: rgba(247, 151, 30, 0.1);
}

.faq-item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  padding: 18px 0;
  cursor: pointer;
}

.dark .faq-item {
  border-color: rgba(255, 255, 255, 0.08);
}

.faq-question {
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.1rem;
}

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  transition: transform 0.3s;
}

.faq-item.open .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s, padding 0.4s;
  padding-top: 0;
  color: #666;
}

.dark .faq-answer {
  color: #aaa;
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding-top: 15px;
}

.howto-step {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
  align-items: flex-start;
}

.howto-step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f7971e, #ffd200);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  flex-shrink: 0;
  color: #1a1a2e;
}

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

.stat-item h3 {
  font-size: 2.5rem;
  font-weight: 900;
  background: linear-gradient(135deg, #f7971e, #ffd200);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-item p {
  color: #666;
}

.dark .stat-item p {
  color: #aaa;
}

.article-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s;
}

.dark .article-card {
  background: #1a1a2e;
}

.article-card:hover {
  transform: translateY(-5px);
}

.article-card svg {
  width: 100%;
  height: 200px;
}

.article-card-body {
  padding: 20px;
}

.article-card-body h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.article-card-body .meta {
  font-size: 0.85rem;
  color: #999;
  margin-bottom: 10px;
}

.article-card-body p {
  color: #666;
  margin-bottom: 15px;
  font-size: 0.95rem;
}

.dark .article-card-body p {
  color: #aaa;
}

.article-card-body .btn {
  padding: 8px 20px;
  font-size: 0.9rem;
}

.timeline {
  position: relative;
  padding-left: 30px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 10px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, #f7971e, #ffd200);
}

.timeline-item {
  position: relative;
  margin-bottom: 30px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -24px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #f7971e;
  border: 2px solid #fff;
}

.dark .timeline-item::before {
  border-color: #0f0f1a;
}

.timeline-item h4 {
  font-size: 1.1rem;
  margin-bottom: 5px;
}

.timeline-item span {
  font-size: 0.85rem;
  color: #999;
}

.scroll-animate {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s, transform 0.6s;
}

.scroll-animate.visible {
  opacity: 1;
  transform: translateY(0);
}

.partner-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  align-items: center;
}

.partner-logos svg {
  width: 120px;
  height: 60px;
  opacity: 0.6;
  transition: opacity 0.3s;
}

.partner-logos svg:hover {
  opacity: 1;
}

.testimonial-card {
  background: #fff;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  position: relative;
}

.dark .testimonial-card {
  background: #1a1a2e;
}

.testimonial-card::before {
  content: '"';
  font-size: 4rem;
  position: absolute;
  top: 10px;
  left: 20px;
  color: rgba(247, 151, 30, 0.2);
  font-family: serif;
}

.testimonial-card p {
  font-style: italic;
  margin-bottom: 15px;
  color: #555;
}

.dark .testimonial-card p {
  color: #bbb;
}

.testimonial-card .author {
  font-weight: 600;
  color: #f7971e;
}

.schema-hidden {
  display: none;
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .banner-content h1 {
    font-size: 2.2rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .section {
    padding: 50px 0;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .search-box input {
    width: 140px;
  }

  .search-box input:focus {
    width: 180px;
  }
}

@media (max-width: 480px) {
  .banner-content h1 {
    font-size: 1.8rem;
  }

  .container {
    padding: 0 15px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

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