:root {
  --bg-primary: #0f0a1a;
  --bg-secondary: #1a1028;
  --bg-card: #231533;
  --bg-card-hover: #2d1b42;
  --text-primary: #f0e6ff;
  --text-secondary: #b8a3d4;
  --text-muted: #7a6899;
  --accent-primary: #d946ef;
  --accent-secondary: #a855f7;
  --accent-glow: rgba(217, 70, 239, 0.35);
  --border-subtle: rgba(168, 85, 247, 0.18);
  --gradient-brand: linear-gradient(135deg, #d946ef 0%, #8b5cf6 50%, #6366f1 100%);
  --gradient-card: linear-gradient(145deg, #231533 0%, #1a1028 100%);
  --shadow-soft: 0 8px 32px rgba(0, 0, 0, 0.45);
  --shadow-glow: 0 0 40px rgba(217, 70, 239, 0.15);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --font-sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --transition-smooth: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

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

body.light-mode {
  --bg-primary: #f8f6fc;
  --bg-secondary: #ffffff;
  --bg-card: #ffffff;
  --bg-card-hover: #f3f0fa;
  --text-primary: #1a1028;
  --text-secondary: #4a3a66;
  --text-muted: #8a7aa0;
  --border-subtle: rgba(139, 92, 246, 0.15);
  --shadow-soft: 0 8px 32px rgba(100, 60, 180, 0.08);
  --shadow-glow: 0 0 40px rgba(217, 70, 239, 0.08);
}

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

.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(15, 10, 26, 0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition-smooth);
}

body.light-mode .navbar {
  background: rgba(248, 246, 252, 0.88);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.nav-brand svg {
  width: 36px;
  height: 36px;
}

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

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: var(--transition-smooth);
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--text-primary);
  background: rgba(217, 70, 239, 0.12);
}

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

.theme-toggle {
  background: none;
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
  font-size: 1.1rem;
}

.theme-toggle:hover {
  border-color: var(--accent-primary);
  color: var(--accent-primary);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 1.3rem;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.search-bar {
  display: flex;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 50px;
  overflow: hidden;
  transition: var(--transition-smooth);
  max-width: 220px;
}

.search-bar:focus-within {
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.search-bar input {
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-primary);
  font-size: 0.85rem;
  padding: 8px 16px;
  width: 100%;
  font-family: inherit;
}

.search-bar input::placeholder {
  color: var(--text-muted);
}

.search-bar button {
  background: none;
  border: none;
  color: var(--text-muted);
  padding: 8px 12px;
  cursor: pointer;
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}

.search-bar button:hover {
  color: var(--accent-primary);
}

.breadcrumb {
  padding: 18px 0 0;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.breadcrumb li {
  display: flex;
  align-items: center;
  gap: 6px;
}

.breadcrumb a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition-smooth);
}

.breadcrumb a:hover {
  color: var(--accent-primary);
}

.breadcrumb .separator {
  color: var(--text-muted);
  font-size: 0.7rem;
  opacity: 0.6;
}

.hero {
  padding: 48px 0 56px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(217, 70, 239, 0.12) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(217, 70, 239, 0.1);
  border: 1px solid rgba(217, 70, 239, 0.25);
  color: var(--accent-primary);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  max-width: 800px;
}

.hero h1 .highlight {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 640px;
  margin-bottom: 32px;
  line-height: 1.8;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 30px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  font-family: inherit;
  transition: var(--transition-smooth);
  letter-spacing: 0.01em;
}

.btn-primary {
  background: var(--gradient-brand);
  color: #fff;
  box-shadow: 0 4px 20px var(--accent-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(217, 70, 239, 0.45);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid var(--border-subtle);
}

.btn-outline:hover {
  border-color: var(--accent-primary);
  color: var(--accent-primary);
  background: rgba(217, 70, 239, 0.06);
}

.banner-carousel {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft);
  margin-bottom: 56px;
}

.carousel-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-slide {
  min-width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 32px;
  min-height: 200px;
  position: relative;
}

.carousel-slide svg {
  width: 100%;
  height: auto;
  max-height: 180px;
}

.carousel-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.carousel-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--text-muted);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.carousel-dots span.active {
  background: var(--accent-primary);
  width: 24px;
  border-radius: 4px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 20px;
  margin-bottom: 64px;
}

.stat-item {
  background: var(--gradient-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 28px 20px;
  text-align: center;
  transition: var(--transition-smooth);
}

.stat-item:hover {
  border-color: rgba(217, 70, 239, 0.35);
  box-shadow: var(--shadow-glow);
  transform: translateY(-3px);
}

.stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 6px;
}

.section {
  padding: 56px 0;
}

.section-header {
  margin-bottom: 40px;
}

.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-primary);
  margin-bottom: 10px;
}

.section-header h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  line-height: 1.3;
}

.section-header p {
  color: var(--text-secondary);
  max-width: 680px;
  font-size: 0.95rem;
  line-height: 1.8;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 22px;
}

.card {
  background: var(--gradient-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-brand);
  opacity: 0;
  transition: var(--transition-smooth);
}

.card:hover {
  border-color: rgba(217, 70, 239, 0.3);
  box-shadow: var(--shadow-glow);
  transform: translateY(-4px);
}

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

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(217, 70, 239, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 1.4rem;
}

.card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.card h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--accent-primary);
  margin-bottom: 8px;
}

.card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.75;
}

.card ul {
  list-style: none;
  padding: 0;
  margin-top: 12px;
}

.card ul li {
  font-size: 0.88rem;
  color: var(--text-secondary);
  padding: 5px 0 5px 20px;
  position: relative;
  line-height: 1.7;
}

.card ul li::before {
  content: '◆';
  position: absolute;
  left: 0;
  color: var(--accent-primary);
  font-size: 0.65rem;
  top: 9px;
}

.article-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 20px;
}

.article-card {
  background: var(--gradient-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.article-card:hover {
  border-color: rgba(217, 70, 239, 0.3);
  box-shadow: var(--shadow-glow);
  transform: translateY(-3px);
}

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

.article-meta .tag {
  background: rgba(217, 70, 239, 0.12);
  color: var(--accent-primary);
  padding: 2px 10px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.72rem;
}

.article-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.45;
  letter-spacing: -0.01em;
}

.article-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.75;
  flex: 1;
  margin-bottom: 16px;
}

.article-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent-primary);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  transition: var(--transition-smooth);
  align-self: flex-start;
}

.article-link:hover {
  gap: 10px;
  color: #e879f9;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--gradient-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-smooth);
}

.faq-item:hover {
  border-color: rgba(217, 70, 239, 0.25);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  text-align: left;
  padding: 20px 24px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: var(--transition-smooth);
  line-height: 1.5;
}

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

.faq-question .arrow {
  font-size: 0.8rem;
  transition: transform 0.35s ease;
  color: var(--text-muted);
  flex-shrink: 0;
}

.faq-item.open .faq-question .arrow {
  transform: rotate(180deg);
  color: var(--accent-primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.open .faq-answer {
  max-height: 600px;
}

.faq-answer-inner {
  padding: 0 24px 22px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.8;
  border-top: 1px solid var(--border-subtle);
  padding-top: 18px;
}

.howto-steps {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
  counter-reset: step;
}

.howto-step {
  background: var(--gradient-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 26px 22px;
  position: relative;
  transition: var(--transition-smooth);
  counter-increment: step;
}

.howto-step:hover {
  border-color: rgba(217, 70, 239, 0.3);
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}

.howto-step::before {
  content: counter(step);
  position: absolute;
  top: -14px;
  left: 22px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gradient-brand);
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px var(--accent-glow);
}

.howto-step h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
  margin-top: 8px;
}

.howto-step p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.75;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 22px;
}

.case-card {
  background: var(--gradient-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  transition: var(--transition-smooth);
  position: relative;
}

.case-card:hover {
  border-color: rgba(217, 70, 239, 0.3);
  box-shadow: var(--shadow-glow);
}

.case-card .quote-mark {
  font-size: 3rem;
  line-height: 1;
  color: var(--accent-primary);
  opacity: 0.25;
  font-family: Georgia, serif;
  margin-bottom: 4px;
}

.case-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 18px;
  font-style: italic;
}

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

.case-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--gradient-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: #fff;
  flex-shrink: 0;
}

.case-author-info strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
}

.case-author-info span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.news-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.news-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  background: var(--gradient-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  transition: var(--transition-smooth);
  text-decoration: none;
  color: inherit;
}

.news-item:hover {
  border-color: rgba(217, 70, 239, 0.3);
  transform: translateX(6px);
  box-shadow: var(--shadow-glow);
}

.news-date {
  flex-shrink: 0;
  text-align: center;
  background: rgba(217, 70, 239, 0.1);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  min-width: 64px;
}

.news-date .day {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--accent-primary);
  line-height: 1.1;
}

.news-date .month {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 600;
}

.news-content h3 {
  font-size: 0.98rem;
  font-weight: 700;
  margin-bottom: 6px;
  line-height: 1.45;
}

.news-content p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}

.contact-item {
  background: var(--gradient-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  text-align: center;
  transition: var(--transition-smooth);
}

.contact-item:hover {
  border-color: rgba(217, 70, 239, 0.3);
  box-shadow: var(--shadow-glow);
}

.contact-item .icon {
  font-size: 1.6rem;
  margin-bottom: 12px;
  display: block;
}

.contact-item h4 {
  font-size: 0.92rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.contact-item p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.contact-item a {
  color: var(--accent-primary);
  text-decoration: none;
  font-weight: 500;
}

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

.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  padding: 56px 0 32px;
  margin-top: 40px;
}

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

.footer-brand p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-top: 14px;
  max-width: 320px;
}

.footer-col h4 {
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.84rem;
  transition: var(--transition-smooth);
}

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

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.footer-bottom p {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-links a {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition-smooth);
}

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

.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--gradient-brand);
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px var(--accent-glow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: var(--transition-smooth);
  z-index: 999;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(217, 70, 239, 0.5);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.mobile-nav {
  display: none;
  position: fixed;
  top: 68px;
  left: 0;
  right: 0;
  background: rgba(15, 10, 26, 0.97);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 16px 24px 24px;
  z-index: 999;
  flex-direction: column;
  gap: 4px;
}

body.light-mode .mobile-nav {
  background: rgba(248, 246, 252, 0.97);
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  transition: var(--transition-smooth);
}

.mobile-nav a:hover {
  color: var(--text-primary);
  background: rgba(217, 70, 239, 0.1);
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .nav-links {
    display: none;
  }

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

  .search-bar {
    display: none;
  }
}

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

  .hero {
    padding: 32px 0 40px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .card-grid,
  .article-list,
  .case-grid {
    grid-template-columns: 1fr;
  }

  .howto-steps {
    grid-template-columns: 1fr;
  }

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

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .news-item {
    flex-direction: column;
    gap: 12px;
  }

  .news-date {
    display: flex;
    gap: 6px;
    align-items: baseline;
    min-width: auto;
    padding: 6px 12px;
  }

  .news-date .day {
    font-size: 1rem;
  }

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

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

@media (max-width: 380px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
}

@media print {
  .navbar,
  .back-to-top,
  .theme-toggle,
  .search-bar,
  .mobile-menu-btn {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }
}