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

body {
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background: #f8fafc;
  color: #0b1a2e;
  line-height: 1.6;
  transition: background 0.3s, color 0.3s;
}

body.dark {
  background: #0f172a;
  color: #e2e8f0;
}

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

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

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

.glass {
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
}

.dark .glass {
  background: rgba(15, 23, 42, 0.5);
  border-color: rgba(255, 255, 255, 0.05);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  transition: background 0.3s;
}

.dark .site-header {
  background: rgba(15, 23, 42, 0.75);
  border-color: rgba(255, 255, 255, 0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo svg {
  width: 140px;
  height: auto;
}

.nav {
  display: flex;
  gap: 16px;
  align-items: center;
}

.nav a {
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 40px;
  transition: 0.2s;
}

.nav a:hover, .nav a.active {
  background: rgba(240, 180, 41, 0.15);
  color: #b8860b;
}

.dark .nav a:hover, .dark .nav a.active {
  background: rgba(240, 180, 41, 0.2);
  color: #f0b429;
}

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

.menu-toggle span {
  width: 26px;
  height: 2px;
  background: #0b1a2e;
  border-radius: 4px;
  transition: 0.3s;
}

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

.dark-toggle {
  background: none;
  border: 1px solid #cbd5e1;
  border-radius: 40px;
  padding: 8px 14px;
  font-size: 14px;
  cursor: pointer;
  margin-left: 8px;
  transition: 0.2s;
}

.dark .dark-toggle {
  border-color: #475569;
  color: #e2e8f0;
}

.hero {
  padding: 80px 0 60px;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, #0f1a2e 0%, #1e3a5f 100%);
  opacity: 0.04;
  border-radius: 0 0 40% 40%;
}

.dark .hero-bg {
  opacity: 0.08;
}

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

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

.hero h1 {
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 24px;
}

.hero h1 span {
  color: #b8860b;
}

.hero p {
  font-size: 1.25rem;
  max-width: 600px;
  margin-bottom: 32px;
  color: #334155;
}

.dark .hero p {
  color: #cbd5e1;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #0f1a2e;
  color: white;
  padding: 14px 32px;
  border-radius: 60px;
  font-weight: 600;
  transition: 0.2s;
  border: none;
  cursor: pointer;
}

.btn:hover {
  background: #1e2f4a;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -8px rgba(0, 0, 0, 0.15);
}

.btn-outline {
  background: transparent;
  border: 1px solid #0f1a2e;
  color: #0f1a2e;
}

.dark .btn-outline {
  border-color: #e2e8f0;
  color: #e2e8f0;
}

.btn-outline:hover {
  background: #0f1a2e;
  color: white;
}

.hero-visual {
  flex: 1 1 400px;
  display: flex;
  justify-content: center;
}

.hero-card {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 40px;
  padding: 24px;
  box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 480px;
}

.dark .hero-card {
  background: rgba(30, 41, 59, 0.4);
}

.hero-card svg {
  width: 100%;
  height: auto;
}

section {
  padding: 80px 0;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.section-sub {
  color: #475569;
  max-width: 700px;
  margin-bottom: 48px;
}

.dark .section-sub {
  color: #94a3b8;
}

.grid-2, .grid-3, .grid-4 {
  display: grid;
  gap: 32px;
}

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

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.card {
  background: white;
  border-radius: 32px;
  padding: 28px 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
  transition: 0.2s;
  border: 1px solid #f1f5f9;
}

.dark .card {
  background: #1e293b;
  border-color: #334155;
}

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

.icon-svg {
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
}

.badge {
  background: #f0b42920;
  color: #b8860b;
  padding: 4px 14px;
  border-radius: 40px;
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-block;
}

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

.slider-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

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

.slider-controls {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
}

.slider-btn {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 60px;
  padding: 12px 24px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s;
}

.dark .slider-btn {
  background: #1e293b;
  border-color: #334155;
  color: #e2e8f0;
}

.slider-btn:hover {
  background: #f0b429;
  color: #0f1a2e;
  border-color: #f0b429;
}

.faq-item {
  border-bottom: 1px solid #e2e8f0;
  padding: 20px 0;
  cursor: pointer;
}

.dark .faq-item {
  border-color: #334155;
}

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

.faq-arrow {
  transition: 0.3s;
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: 0.35s;
  color: #475569;
}

.dark .faq-a {
  color: #94a3b8;
}

.faq-item.open .faq-a {
  max-height: 300px;
  padding-top: 16px;
}

.faq-item.open .faq-arrow {
  transform: rotate(180deg);
}

.site-footer {
  background: #0f172a;
  color: #cbd5e1;
  padding: 48px 0 24px;
  margin-top: 60px;
}

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

.footer-grid h4 {
  color: white;
  margin-bottom: 12px;
}

.footer-grid a {
  display: block;
  margin-bottom: 6px;
  font-size: 0.9rem;
  opacity: 0.8;
}

.footer-grid a:hover {
  opacity: 1;
}

.footer-bottom {
  border-top: 1px solid #1e293b;
  margin-top: 32px;
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  font-size: 0.85rem;
}

@media (max-width: 768px) {
  .nav {
    display: none;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.98);
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    padding: 24px;
    border-radius: 0 0 32px 32px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
  }

  .dark .nav {
    background: rgba(15, 23, 42, 0.98);
  }

  .nav.open {
    display: flex;
  }

  .menu-toggle {
    display: flex;
  }

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

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

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero h1 {
    font-size: 1.8rem;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s, transform 0.6s;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.counter-value {
  font-size: 2.5rem;
  font-weight: 700;
  color: #b8860b;
}

.dark .counter-value {
  color: #f0b429;
}