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

:root {
  --primary: #FF6B35;
  --primary-dark: #E55A2B;
  --primary-light: #FF8C5A;
  --secondary: #2EC4B6;
  --secondary-dark: #25A89C;
  --accent: #FFBF69;
  --accent-dark: #E5A030;
  --dark: #1A1A2E;
  --dark-soft: #16213E;
  --light: #F7F7F7;
  --light-soft: #FAFAFA;
  --text: #2D2D3A;
  --text-light: #6B6B7B;
  --text-lighter: #9B9BAB;
  --white: #FFFFFF;
  --border: #E8E8EE;
  --border-light: #F0F0F5;
  --shadow-sm: 0 1px 4px rgba(0, 0, 0, 0.06);
  --shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.15);
  --shadow-glow: 0 8px 32px rgba(255, 107, 53, 0.25);
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  --glass-bg: rgba(255, 255, 255, 0.72);
  --glass-border: rgba(255, 255, 255, 0.35);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  --transition-fast: 0.15s ease;
  --transition: 0.3s ease;
  --transition-slow: 0.5s ease;
  --font-sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

[data-theme="dark"] {
  --primary: #FF8C5A;
  --primary-dark: #FF6B35;
  --primary-light: #FFA07A;
  --secondary: #3DD9C9;
  --secondary-dark: #2EC4B6;
  --accent: #FFD166;
  --accent-dark: #FFBF69;
  --dark: #E8E8F0;
  --dark-soft: #D0D0E0;
  --light: #1E1E2E;
  --light-soft: #252538;
  --text: #E0E0E8;
  --text-light: #AAAAB8;
  --text-lighter: #777788;
  --white: #2A2A3E;
  --border: #3A3A50;
  --border-light: #333348;
  --shadow-sm: 0 1px 4px rgba(0, 0, 0, 0.2);
  --shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.4);
  --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.45);
  --shadow-glow: 0 8px 32px rgba(255, 140, 90, 0.2);
  --glass-bg: rgba(42, 42, 62, 0.78);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--white);
  line-height: 1.8;
  font-size: 16px;
  transition: background var(--transition), color var(--transition);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background: var(--primary);
  color: #fff;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--primary-dark);
}

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

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

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--glass-bg);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: var(--shadow-sm);
  transition: background var(--transition), box-shadow var(--transition);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.5px;
  transition: transform var(--transition);
}

.logo:hover {
  transform: scale(1.02);
}

.logo svg {
  width: 36px;
  height: 36px;
  transition: transform var(--transition);
}

.logo:hover svg {
  transform: rotate(-10deg) scale(1.05);
}

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

.nav a {
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
  position: relative;
}

.nav a:hover {
  color: var(--primary);
  background: rgba(255, 107, 53, 0.08);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.search-btn,
.theme-btn,
.mobile-menu-btn {
  padding: 8px;
  border: none;
  background: transparent;
  cursor: pointer;
  color: var(--text);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-btn:hover,
.theme-btn:hover,
.mobile-menu-btn:hover {
  background: var(--light);
  color: var(--primary);
  transform: translateY(-1px);
}

.mobile-menu-btn {
  display: none;
}

.mobile-nav {
  display: none;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
  padding: 8px 20px 16px;
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mobile-nav a {
  display: block;
  padding: 12px 0;
  color: var(--text);
  font-size: 15px;
  font-weight: 500;
  border-bottom: 1px solid var(--border-light);
  transition: all var(--transition-fast);
}

.mobile-nav a:last-child {
  border-bottom: none;
}

.mobile-nav a:hover {
  color: var(--primary);
  padding-left: 6px;
}

.mobile-nav.active {
  display: block;
}

.search-bar {
  display: none;
  padding: 12px 20px;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
  animation: slideDown 0.3s ease;
}

.search-bar.active {
  display: block;
}

.search-bar input {
  width: 100%;
  padding: 12px 18px;
  border: 2px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 15px;
  background: var(--white);
  color: var(--text);
  outline: none;
  transition: all var(--transition-fast);
  font-family: inherit;
}

.search-bar input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.1);
}

.breadcrumb {
  padding: 12px 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 2px;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.75);
  transition: color var(--transition-fast);
}

.breadcrumb a:hover {
  color: #fff;
}

.breadcrumb span {
  margin: 0 6px;
  opacity: 0.7;
}

.hero {
  background: linear-gradient(135deg, #FF6B35 0%, #FF8C5A 35%, #FFBF69 70%, #FFD166 100%);
  color: #fff;
  padding: 60px 0 70px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: float 8s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: float 10s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(20px, -20px) scale(1.05);
  }
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 720px;
  animation: fadeInUp 0.8s ease both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero h1 {
  font-size: 38px;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 18px;
  letter-spacing: -0.5px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

.hero p {
  font-size: 17px;
  opacity: 0.95;
  margin-bottom: 28px;
  line-height: 1.9;
  max-width: 640px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 13px 30px;
  border-radius: var(--radius-full);
  font-size: 15px;
  font-weight: 600;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
  font-family: inherit;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn-primary {
  background: #fff;
  color: var(--primary);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.btn-primary:hover {
  background: #fff;
  color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.8);
  transform: translateY(-2px);
}

.section {
  padding: 70px 0;
  position: relative;
}

.section-alt {
  background: var(--light);
}

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

.section-title h2 {
  font-size: 30px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.section-title p {
  font-size: 15px;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.8;
}

.section-title .line {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 2px;
  margin: 16px auto 0;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: 0;
  transition: opacity var(--transition);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(255, 107, 53, 0.2);
}

.card:hover::before {
  opacity: 1;
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 22px;
  transition: transform var(--transition);
}

.card:hover .card-icon {
  transform: scale(1.1) rotate(-3deg);
}

.card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text);
  line-height: 1.5;
}

.card p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.9;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-number {
  font-size: 38px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

.stat-label {
  font-size: 14px;
  color: var(--text-light);
  margin-top: 6px;
}

.article-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.article-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
}

.article-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.article-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.article-card:hover::after {
  transform: scaleX(1);
}

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

.article-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.55;
}

.article-card h3 a {
  color: var(--text);
  transition: color var(--transition-fast);
}

.article-card h3 a:hover {
  color: var(--primary);
}

.article-meta {
  font-size: 13px;
  color: var(--text-lighter);
  margin-bottom: 12px;
  display: flex;
  gap: 16px;
  align-items: center;
}

.article-excerpt {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.9;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.read-more {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap var(--transition);
}

.read-more:hover {
  gap: 10px;
  color: var(--primary-dark);
}

.faq-list {
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  background: var(--white);
  transition: all var(--transition);
}

.faq-item:hover {
  border-color: rgba(255, 107, 53, 0.3);
  box-shadow: var(--shadow-sm);
}

.faq-item.open {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.faq-question {
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text);
  transition: background var(--transition-fast), color var(--transition-fast);
  user-select: none;
  gap: 16px;
}

.faq-question:hover {
  background: var(--light);
}

.faq-item.open .faq-question {
  color: var(--primary);
  background: rgba(255, 107, 53, 0.04);
}

.faq-question::after {
  content: '+';
  font-size: 24px;
  font-weight: 300;
  color: var(--primary);
  transition: transform var(--transition);
  flex-shrink: 0;
  line-height: 1;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.faq-answer {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s ease, padding 0.3s ease;
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.95;
}

.faq-item.open .faq-answer {
  max-height: 600px;
  padding: 0 24px 22px;
}

.howto-steps {
  max-width: 820px;
  margin: 0 auto;
  counter-reset: step;
}

.howto-step {
  position: relative;
  padding: 26px 26px 26px 86px;
  background: var(--white);
  border-radius: var(--radius-lg);
  margin-bottom: 18px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.howto-step:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(255, 107, 53, 0.25);
}

.howto-step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 26px;
  top: 26px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
  transition: transform var(--transition);
}

.howto-step:hover::before {
  transform: scale(1.1) rotate(-8deg);
}

.howto-step h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}

.howto-step p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.9;
}

.testimonial {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition);
  overflow: hidden;
}

.testimonial::before {
  content: '"';
  font-size: 80px;
  color: var(--primary);
  opacity: 0.12;
  position: absolute;
  top: 0;
  left: 20px;
  font-family: Georgia, serif;
  line-height: 1;
  pointer-events: none;
}

.testimonial:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.testimonial-text {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.95;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  flex-shrink: 0;
  border: 2px solid var(--border);
  transition: transform var(--transition);
}

.testimonial:hover .testimonial-avatar {
  transform: scale(1.08);
}

.testimonial-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}

.testimonial-role {
  font-size: 13px;
  color: var(--text-lighter);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px;
  border-radius: var(--radius);
  transition: background var(--transition);
}

.contact-item:hover {
  background: var(--light);
}

.contact-item svg {
  flex-shrink: 0;
  margin-top: 3px;
  transition: transform var(--transition);
}

.contact-item:hover svg {
  transform: scale(1.15);
}

.contact-item h4 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text);
}

.contact-item p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.8;
}

.newsletter {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-soft) 100%);
  color: #fff;
  padding: 60px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.newsletter::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(255, 107, 53, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.newsletter .container {
  position: relative;
  z-index: 2;
}

.newsletter h2 {
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.newsletter p {
  font-size: 15px;
  opacity: 0.8;
  margin-bottom: 28px;
}

.newsletter-form {
  display: flex;
  gap: 12px;
  max-width: 500px;
  margin: 0 auto;
}

.newsletter-form input {
  flex: 1;
  padding: 14px 22px;
  border: 2px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-full);
  font-size: 15px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  outline: none;
  transition: all var(--transition);
  font-family: inherit;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

.newsletter-form input:focus {
  border-color: var(--primary);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.2);
}

.newsletter-form button {
  padding: 14px 32px;
  border: none;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  font-family: inherit;
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(255, 107, 53, 0.35);
}

.newsletter-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 107, 53, 0.5);
}

.footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 60px 0 28px;
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer h3 {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

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

.footer p {
  font-size: 13px;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.6);
}

.footer ul {
  list-style: none;
}

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

.footer ul a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
  transition: all var(--transition-fast);
  display: inline-block;
}

.footer ul a:hover {
  color: var(--primary);
  transform: translateX(4px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--transition-fast);
}

.footer-bottom a:hover {
  color: var(--primary);
}

.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  border: none;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-glow);
  z-index: 999;
  transition: all var(--transition);
}

.back-to-top.show {
  display: flex;
  animation: popIn 0.3s ease;
}

@keyframes popIn {
  from {
    opacity: 0;
    transform: scale(0.5);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.back-to-top:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 12px 32px rgba(255, 107, 53, 0.5);
}

.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  background: rgba(255, 107, 53, 0.1);
  color: var(--primary);
  transition: all var(--transition-fast);
}

.tag:hover {
  background: var(--primary);
  color: #fff;
}

.sitemap-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.sitemap-links a {
  font-size: 13px;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  background: var(--white);
  color: var(--text-light);
  border: 1px solid var(--border);
  transition: all var(--transition);
}

.sitemap-links a:hover {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

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

.team-card {
  text-align: center;
  padding: 30px 24px;
}

.team-avatar {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  margin: 0 auto 16px;
  transition: transform var(--transition);
}

.team-card:hover .team-avatar {
  transform: scale(1.1) rotate(5deg);
}

.team-name {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text);
}

.team-role {
  font-size: 13px;
  color: var(--primary);
  margin-bottom: 12px;
  font-weight: 600;
}

.team-bio {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.8;
}

input[type="text"],
input[type="email"],
textarea {
  font-family: inherit;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.1);
  outline: none;
}

.btn-primary[style*="width:100%"] {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
}

.btn-primary[style*="width:100%"]:hover {
  box-shadow: var(--shadow-glow);
}

@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .hero h1 {
    font-size: 32px;
  }
}

@media (max-width: 768px) {
  .nav {
    display: none;
  }
  .mobile-menu-btn {
    display: flex;
  }
  .hero {
    padding: 40px 0 50px;
  }
  .hero h1 {
    font-size: 26px;
  }
  .hero p {
    font-size: 15px;
  }
  .hero-actions {
    gap: 10px;
  }
  .btn {
    padding: 11px 24px;
    font-size: 14px;
  }
  .grid-2,
  .grid-3,
  .article-list,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .section {
    padding: 48px 0;
  }
  .section-title {
    margin-bottom: 32px;
  }
  .section-title h2 {
    font-size: 22px;
  }
  .newsletter-form {
    flex-direction: column;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .team-grid {
    grid-template-columns: 1fr;
  }
  .howto-step {
    padding: 20px 20px 20px 72px;
  }
  .howto-step::before {
    left: 18px;
    top: 20px;
    width: 36px;
    height: 36px;
    font-size: 15px;
  }
  .card {
    padding: 24px;
  }
  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 42px;
    height: 42px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 22px;
  }
  .hero p {
    font-size: 14px;
  }
  .stat-number {
    font-size: 28px;
  }
  .card {
    padding: 20px;
  }
  .article-card-body {
    padding: 20px;
  }
  .section-title h2 {
    font-size: 20px;
  }
  .faq-question {
    padding: 16px 18px;
    font-size: 15px;
  }
  .faq-answer {
    padding: 0 18px;
  }
  .faq-item.open .faq-answer {
    padding: 0 18px 18px;
  }
  .newsletter h2 {
    font-size: 20px;
  }
  .testimonial {
    padding: 24px;
  }
  .contact-item {
    padding: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .fade-in {
    opacity: 1;
    transform: none;
  }
}

@media print {
  .header,
  .back-to-top,
  .newsletter,
  .footer {
    display: none;
  }
  .hero {
    background: none;
    color: #000;
  }
  .card,
  .article-card,
  .testimonial {
    box-shadow: none;
    border: 1px solid #ccc;
  }
}