/* Reset & Base */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: #f5f7fc;
  color: #1a1a2e;
  line-height: 1.6;
  transition: background 0.3s, color 0.3s;
}

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

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

ul {
  list-style: none;
}

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

/* Header & Nav */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(20px);
  background: rgba(255, 255, 255, 0.7);
  border-bottom: 1px solid rgba(26, 115, 232, 0.1);
  transition: background 0.3s;
}

body.dark header {
  background: rgba(10, 14, 39, 0.8);
  border-bottom-color: rgba(26, 115, 232, 0.2);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.6rem;
  font-weight: 700;
  color: #1a73e8;
}

.logo svg {
  width: 40px;
  height: 40px;
}

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

nav a {
  position: relative;
  padding: 6px 0;
  transition: color 0.2s;
}

nav a:hover,
nav a.active {
  color: #1a73e8;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #1a73e8;
  transition: width 0.3s;
}

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

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

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

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

.dark-toggle {
  background: none;
  border: 2px solid #1a73e8;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.2rem;
  transition: 0.3s;
}

.dark-toggle:hover {
  background: #1a73e8;
  color: white;
}

/* Hero Banner */
.hero {
  position: relative;
  padding: 80px 0 100px;
  background: linear-gradient(135deg, #0a0e27 0%, #1a3a6b 50%, #1a73e8 100%);
  color: white;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 50%, rgba(26, 115, 232, 0.15) 0%, transparent 60%);
  animation: heroGlow 8s ease-in-out infinite alternate;
}

@keyframes heroGlow {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(20px, -20px);
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

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

.hero-text h1 {
  font-size: 3.2rem;
  line-height: 1.2;
  margin-bottom: 24px;
  background: linear-gradient(90deg, #fff, #8ab4f8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-text p {
  font-size: 1.2rem;
  opacity: 0.9;
  margin-bottom: 32px;
  max-width: 600px;
}

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

.btn {
  padding: 14px 36px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  display: inline-block;
}

.btn-primary {
  background: #1a73e8;
  color: white;
  box-shadow: 0 8px 30px rgba(26, 115, 232, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(26, 115, 232, 0.5);
}

.btn-outline {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.6);
  color: white;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: white;
}

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

.hero-visual svg {
  width: 100%;
  max-width: 450px;
  height: auto;
  filter: drop-shadow(0 20px 60px rgba(0, 0, 0, 0.3));
}

/* Section common */
section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 56px;
}

.section-title h2 {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.section-title p {
  color: #666;
  max-width: 600px;
  margin: 0 auto;
}

body.dark .section-title p {
  color: #aaa;
}

/* Glass card */
.glass-card {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(16px);
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: transform 0.3s, box-shadow 0.3s;
}

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

body.dark .glass-card {
  background: rgba(20, 30, 60, 0.5);
  border-color: rgba(255, 255, 255, 0.05);
}

/* Grids */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

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

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

/* Stats */
.stats {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 24px;
  margin: 40px 0;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 2.8rem;
  font-weight: 800;
  color: #1a73e8;
}

.stat-label {
  color: #666;
}

body.dark .stat-label {
  color: #aaa;
}

/* Timeline */
.timeline {
  position: relative;
  padding-left: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 18px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #1a73e8;
}

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

.timeline-item::before {
  content: '';
  position: absolute;
  left: -30px;
  top: 8px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #1a73e8;
  border: 3px solid white;
}

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

.timeline-year {
  font-weight: 700;
  color: #1a73e8;
  font-size: 1.1rem;
}

/* FAQ */
.faq-item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  padding: 20px 0;
  cursor: pointer;
}

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

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

.faq-question span {
  transition: transform 0.3s;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s;
}

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

/* Footer */
footer {
  background: #0a0e27;
  color: #ccc;
  padding: 60px 0 20px;
}

footer a {
  color: #8ab4f8;
}

footer .grid-4 {
  gap: 40px;
}

.footer-copyright {
  text-align: center;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  margin-top: 40px;
  font-size: 0.9rem;
}

/* Back to top */
.back-top {
  position: fixed;
  bottom: 40px;
  right: 40px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #1a73e8;
  color: white;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(26, 115, 232, 0.4);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  z-index: 999;
}

.back-top.visible {
  opacity: 1;
  visibility: visible;
}

/* Responsive */
@media (max-width: 768px) {
  nav ul {
    display: none;
    flex-direction: column;
    gap: 12px;
    background: white;
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    position: absolute;
    top: 70px;
    right: 24px;
    width: 240px;
  }

  body.dark nav ul {
    background: #12163a;
  }

  nav.open ul {
    display: flex;
  }

  .menu-toggle {
    display: flex;
  }

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

  .hero {
    padding: 60px 0 80px;
  }

  section {
    padding: 56px 0;
  }

  .back-top {
    bottom: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
  }
}

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

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

  .btn {
    padding: 12px 24px;
    font-size: 0.9rem;
  }
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Search overlay */
.search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
}

.search-overlay.open {
  display: flex;
}

.search-box {
  background: white;
  border-radius: 32px;
  padding: 24px;
  width: 90%;
  max-width: 600px;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.2);
}

body.dark .search-box {
  background: #12163a;
}

.search-box input {
  width: 100%;
  padding: 16px 24px;
  border: none;
  background: #f0f2f6;
  border-radius: 50px;
  font-size: 1.1rem;
  outline: none;
}

body.dark .search-box input {
  background: #1a1e3a;
  color: white;
}

.search-results {
  margin-top: 16px;
  max-height: 300px;
  overflow-y: auto;
}

.search-results a {
  display: block;
  padding: 12px 16px;
  border-radius: 12px;
  transition: background 0.2s;
}

.search-results a:hover {
  background: #f0f2f6;
}

body.dark .search-results a:hover {
  background: #1a1e3a;
}

/* Breadcrumb */
.breadcrumb {
  padding: 16px 0;
  font-size: 0.9rem;
  color: #888;
}

.breadcrumb a {
  color: #1a73e8;
}

/* Map placeholder */
.map-placeholder {
  background: #e8edf5;
  border-radius: 24px;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
}

body.dark .map-placeholder {
  background: #1a1e3a;
  color: #aaa;
}