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

:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-light: #3b82f6;
  --secondary: #8b5cf6;
  --accent: #06b6d4;
  --success: #10b981;
  --warning: #f59e0b;
  --text-dark: #1e293b;
  --text-gray: #64748b;
  --text-light: #94a3b8;
  --bg-light: #f8fafc;
  --bg-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --bg-gradient-alt: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  --card-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --card-shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text-dark);
  background: var(--bg-light);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: translateY(-2px);
}

.logo img {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
}

.logo-tag {
  font-size: 12px;
  color: var(--text-gray);
}

nav {
  display: flex;
  gap: 32px;
}

nav a {
  color: var(--text-gray);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  transition: all 0.3s ease;
  position: relative;
  padding: 8px 0;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
}

nav a:hover, nav a.active {
  color: var(--primary);
}

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

.header-contact {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--bg-gradient-alt);
  color: white;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.header-contact:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
}

.hero {
  background: var(--bg-gradient);
  color: white;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  filter: blur(60px);
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  filter: blur(40px);
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero-icon {
  font-size: 64px;
  margin-bottom: 24px;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.hero h1 {
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #fff 0%, #e0e7ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 18px;
  opacity: 0.95;
  font-weight: 400;
  max-width: 600px;
  margin: 0 auto;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 60px;
  margin-top: 40px;
}

.stat-item {
  text-align: center;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 20px 30px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-number {
  font-size: 32px;
  font-weight: 700;
}

.stat-label {
  font-size: 13px;
  opacity: 0.85;
  margin-top: 4px;
}

.section {
  padding: 60px 0;
}

.faq-container {
  background: white;
  border-radius: var(--radius-xl);
  box-shadow: var(--card-shadow);
  overflow: hidden;
  position: relative;
}

.faq-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--bg-gradient);
}

.faq-categories {
  display: flex;
  border-bottom: 1px solid #f1f5f9;
  overflow-x: auto;
  padding: 0 20px;
  gap: 8px;
}

.faq-category {
  padding: 20px 28px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-gray);
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  border-radius: var(--radius) var(--radius) 0 0;
  position: relative;
}

.faq-category::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: var(--bg-gradient);
  border-radius: 2px;
  transition: width 0.3s ease;
}

.faq-category.active {
  color: var(--primary);
  background: rgba(37, 99, 235, 0.05);
}

.faq-category.active::after {
  width: 60%;
}

.faq-category:hover {
  color: var(--primary);
  background: rgba(37, 99, 235, 0.03);
}

.faq-content {
  padding: 40px;
}

.faq-item {
  background: white;
  border-radius: var(--radius);
  margin-bottom: 16px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.faq-item:hover {
  box-shadow: var(--card-shadow);
  border-color: rgba(37, 99, 235, 0.1);
}

.faq-item.active {
  box-shadow: var(--card-shadow-hover);
  border-color: rgba(37, 99, 235, 0.2);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
  padding: 20px 24px;
  transition: color 0.3s;
  position: relative;
}

.faq-question::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 20px;
  background: var(--bg-gradient);
  border-radius: 0 2px 2px 0;
  opacity: 0;
  transition: opacity 0.3s;
}

.faq-question:hover::before,
.faq-item.active .faq-question::before {
  opacity: 1;
}

.faq-question:hover {
  color: var(--primary);
}

.faq-question-icon {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(37, 99, 235, 0.1);
  color: var(--primary);
  border-radius: 50%;
  font-size: 16px;
  font-weight: 300;
  transition: all 0.3s ease;
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item.active .faq-question-icon {
  background: var(--bg-gradient);
  color: white;
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 24px 20px;
  font-size: 15px;
  color: var(--text-gray);
  line-height: 1.9;
  display: none;
  overflow: hidden;
}

.faq-answer.active {
  display: block;
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from { 
    opacity: 0; 
    max-height: 0;
    padding-top: 0;
  }
  to { 
    opacity: 1; 
    max-height: 1000px;
    padding-top: 0;
  }
}

.faq-answer p {
  margin-bottom: 12px;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

.faq-answer ul {
  margin: 16px 0;
  padding-left: 24px;
}

.faq-answer li {
  margin-bottom: 10px;
  position: relative;
}

.faq-answer li::marker {
  color: var(--primary);
}

.highlight {
  color: var(--primary);
  font-weight: 600;
}

.tips {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  border-left: 4px solid var(--primary);
  padding: 20px;
  margin-top: 16px;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 14px;
  color: var(--text-gray);
  position: relative;
}

.tips::before {
  content: '💡';
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 20px;
}

.category-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 2px solid #f1f5f9;
}

.category-icon {
  width: 48px;
  height: 48px;
  background: var(--bg-gradient);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.category-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-dark);
}

.category-desc {
  font-size: 14px;
  color: var(--text-light);
  margin-top: 4px;
}

footer {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #cbd5e1;
  padding: 80px 0;
  margin-top: 80px;
  position: relative;
  overflow: hidden;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--bg-gradient);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h3 {
  font-size: 16px;
  font-weight: 600;
  color: white;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
}

.footer-section h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--bg-gradient);
  border-radius: 1px;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 12px;
}

.footer-section ul li a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-section ul li a:hover {
  color: white;
  transform: translateX(4px);
}

.footer-contact {
  font-size: 14px;
  line-height: 2;
}

.footer-contact strong {
  color: white;
}

.footer-contact a {
  color: var(--accent);
  text-decoration: none;
}

.footer-contact a:hover {
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 32px;
  text-align: center;
  font-size: 13px;
  color: #64748b;
}

.contact-card {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
  border-radius: var(--radius);
  padding: 30px;
  margin-top: 40px;
  text-align: center;
  border: 1px solid rgba(37, 99, 235, 0.1);
}

.contact-card h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.contact-card p {
  color: var(--text-gray);
  font-size: 14px;
  margin-bottom: 20px;
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: var(--bg-gradient);
  color: white;
  text-decoration: none;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 15px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.contact-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
}

.faq-section {
  display: none;
}

.faq-section.active {
  display: block;
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
  
  .faq-categories {
    flex-wrap: wrap;
    padding: 0 10px;
  }
  
  .faq-category {
    padding: 12px 16px;
    font-size: 14px;
  }
  
  .faq-content {
    padding: 20px;
  }
  
  .hero h1 {
    font-size: 28px;
  }
  
  .hero-stats {
    gap: 20px;
  }
  
  .stat-item {
    padding: 12px 16px;
  }
  
  .stat-number {
    font-size: 24px;
  }

  nav {
    display: none;
  }
}