/* ============================================
   06_黑料社区高端品牌公关与危机声誉管理 - 主样式表
   高端商务灰+金配色方案
   采用CSS变量、Flexbox、Grid布局
   BEM命名规范
   ============================================ */

/* === CSS Variables === */
:root {
  --primary: #2C3E50;
  --secondary: #D4AF37;
  --bg: #FFFFFF;
  --card-bg: #F8F9FA;
  --accent: #34495E;
  --text: #1A1A1A;
  --text-light: #6C757D;
  --border: #E9ECEF;
  --shadow: 0 4px 20px rgba(44, 62, 80, 0.08);
  --shadow-hover: 0 8px 40px rgba(44, 62, 80, 0.15);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --radius: 8px;
  --max-width: 1200px;
  --header-height: 80px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Noto Sans SC', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background-color: var(--bg);
  line-height: 1.8;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Noto Serif SC', 'Playfair Display', serif;
  font-weight: 700;
  line-height: 1.3;
  color: var(--primary);
}

h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.25rem; }

p { margin-bottom: 1rem; }

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

a:hover {
  color: var(--secondary);
}

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

/* === Utility Classes === */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 100px 0;
}

.section--gray {
  background-color: var(--card-bg);
}

.section__title {
  text-align: center;
  margin-bottom: 1rem;
  position: relative;
}

.section__subtitle {
  text-align: center;
  color: var(--text-light);
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto 3rem;
}

.section__title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--secondary);
  margin: 1rem auto 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-decoration: none;
  gap: 8px;
}

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

.btn--primary:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.btn--secondary {
  background: var(--secondary);
  color: var(--primary);
}

.btn--secondary:hover {
  background: #C9A030;
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.btn--outline {
  background: transparent;
  border: 2px solid var(--secondary);
  color: var(--secondary);
}

.btn--outline:hover {
  background: var(--secondary);
  color: var(--primary);
}

.btn--emergency {
  background: var(--secondary);
  color: var(--primary);
  font-weight: 700;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.4); }
  50% { box-shadow: 0 0 0 10px rgba(212, 175, 55, 0); }
}

/* === Header === */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  transition: var(--transition);
  background: transparent;
}

.header--scrolled {
  background: rgba(44, 62, 80, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

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

.header__logo-text {
  font-family: 'Noto Serif SC', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
}

.header__logo-text span {
  color: var(--secondary);
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.header__nav-list {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.header__nav-link {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
  padding: 5px 0;
}

.header__nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--secondary);
  transition: var(--transition);
}

.header__nav-link:hover {
  color: var(--secondary);
}

.header__nav-link:hover::after {
  width: 100%;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header__lang {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  cursor: pointer;
}

.header__mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
}

.header__mobile-toggle span {
  width: 25px;
  height: 2px;
  background: #fff;
  transition: var(--transition);
}

/* === Hero Section === */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(44, 62, 80, 0.85) 0%, rgba(52, 73, 94, 0.75) 100%);
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 0 2rem;
}

.hero__title {
  font-size: 3.5rem;
  color: #fff;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero__title span {
  color: var(--secondary);
}

.hero__subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

.hero__buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero__scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  animation: bounce 2s infinite;
}

.hero__scroll-indicator span {
  display: block;
  width: 24px;
  height: 24px;
  border-bottom: 2px solid var(--secondary);
  border-right: 2px solid var(--secondary);
  transform: rotate(45deg);
  opacity: 0.6;
}

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

/* === Trust Section === */
.trust {
  padding: 80px 0;
  background: var(--card-bg);
}

.trust__metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.trust__metric {
  text-align: center;
  padding: 2rem;
}

.trust__metric-number {
  font-family: 'Montserrat', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--secondary);
  display: block;
}

.trust__metric-label {
  font-size: 0.95rem;
  color: var(--text-light);
  margin-top: 0.5rem;
}

.trust__logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  opacity: 0.5;
  filter: grayscale(100%);
}

.trust__logos img {
  height: 40px;
  width: auto;
}

/* === Services Section === */
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--secondary);
  transform: scaleX(0);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: var(--secondary);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card__icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--secondary);
  font-size: 1.5rem;
}

.service-card__title {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--primary);
}

.service-card__desc {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.7;
}

.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 1.5rem;
  color: var(--secondary);
  font-weight: 600;
  font-size: 0.9rem;
}

/* === Process Timeline === */
.process__timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.process__timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
  transform: translateX(-50%);
}

.process__step {
  display: flex;
  align-items: center;
  margin-bottom: 3rem;
  position: relative;
}

.process__step:nth-child(odd) {
  flex-direction: row;
}

.process__step:nth-child(even) {
  flex-direction: row-reverse;
}

.process__step-content {
  width: 45%;
  padding: 2rem;
  background: var(--bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.process__step-number {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 50px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  z-index: 2;
  border: 4px solid var(--bg);
}

.process__step.active .process__step-number {
  background: var(--secondary);
  color: var(--primary);
}

.process__step-title {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--primary);
}

.process__step-desc {
  font-size: 0.9rem;
  color: var(--text-light);
}

/* === Cases Carousel === */
.cases__carousel {
  position: relative;
  overflow: hidden;
  padding: 2rem 0;
}

.cases__track {
  display: flex;
  gap: 2rem;
  transition: transform 0.5s ease;
}

.case-card {
  min-width: 350px;
  background: var(--bg);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  flex-shrink: 0;
}

.case-card__industry {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(212, 175, 55, 0.1);
  color: var(--secondary);
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.case-card__title {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: var(--primary);
}

.case-card__challenge,
.case-card__result {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.case-card__result {
  color: var(--secondary);
  font-weight: 600;
}

.cases__controls {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.cases__control-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  color: var(--primary);
}

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

/* === Dashboard Section === */
.dashboard__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.dashboard__card {
  background: var(--primary);
  border-radius: var(--radius);
  padding: 2.5rem;
  text-align: center;
  color: #fff;
}

.dashboard__card-value {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 0.5rem;
}

.dashboard__card-label {
  font-size: 0.95rem;
  opacity: 0.8;
}

.dashboard__chart {
  grid-column: span 3;
  background: var(--primary);
  border-radius: var(--radius);
  padding: 2.5rem;
  min-height: 300px;
}

/* === Team Section === */
.team__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.team-card {
  text-align: center;
  padding: 2rem;
  background: var(--bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.team-card__avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1.5rem;
  border: 3px solid var(--secondary);
}

.team-card__name {
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.team-card__role {
  font-size: 0.85rem;
  color: var(--secondary);
  font-weight: 600;
  margin-bottom: 1rem;
}

.team-card__bio {
  font-size: 0.9rem;
  color: var(--text-light);
}

/* === CTA Section === */
.cta {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  padding: 100px 0;
  text-align: center;
}

.cta__title {
  color: #fff;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.cta__subtitle {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* === Contact Form === */
.form {
  max-width: 600px;
  margin: 0 auto;
}

.form__group {
  margin-bottom: 1.5rem;
  position: relative;
}

.form__label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.form__input,
.form__select,
.form__textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: inherit;
  transition: var(--transition);
  background: var(--bg);
  color: var(--text);
}

.form__input:focus,
.form__select:focus,
.form__textarea:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.form__textarea {
  min-height: 120px;
  resize: vertical;
}

.form__steps {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
}

.form__step-indicator {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-light);
}

.form__step-indicator.active {
  color: var(--secondary);
  font-weight: 600;
}

.form__step-indicator .step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
}

.form__step-indicator.active .step-num {
  background: var(--secondary);
  color: var(--primary);
}

/* === Footer === */
.footer {
  background: var(--primary);
  color: rgba(255, 255, 255, 0.8);
  padding: 80px 0 30px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer__brand-desc {
  font-size: 0.9rem;
  line-height: 1.8;
  margin-top: 1rem;
  opacity: 0.8;
}

.footer__title {
  font-family: 'Noto Sans SC', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1.5rem;
}

.footer__links {
  list-style: none;
}

.footer__links li {
  margin-bottom: 0.8rem;
}

.footer__links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer__links a:hover {
  color: var(--secondary);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer__copyright {
  font-size: 0.85rem;
  opacity: 0.7;
}

.footer__legal-links {
  display: flex;
  gap: 1.5rem;
}

.footer__legal-links a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
}

.footer__legal-links a:hover {
  color: var(--secondary);
}

/* === Page Header (Inner Pages) === */
.page-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  padding: 160px 0 80px;
  text-align: center;
}

.page-header__title {
  color: #fff;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.page-header__breadcrumb {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.page-header__breadcrumb a {
  color: rgba(255, 255, 255, 0.7);
}

.page-header__breadcrumb span {
  color: var(--secondary);
}

/* === Content Page === */
.content-page {
  padding: 80px 0;
}

.content-page__body {
  max-width: 800px;
  margin: 0 auto;
}

.content-page__body h2 {
  margin: 2rem 0 1rem;
}

.content-page__body h3 {
  margin: 1.5rem 0 0.8rem;
}

.content-page__body p {
  margin-bottom: 1.2rem;
  line-height: 1.9;
}

.content-page__body ul,
.content-page__body ol {
  margin: 1rem 0 1.5rem 1.5rem;
}

.content-page__body li {
  margin-bottom: 0.5rem;
  line-height: 1.8;
}

/* === Search Page === */
.search-page {
  padding: 80px 0;
  min-height: 60vh;
}

.search-page__input-wrapper {
  max-width: 600px;
  margin: 0 auto 3rem;
  position: relative;
}

.search-page__input {
  width: 100%;
  padding: 16px 50px 16px 20px;
  border: 2px solid var(--border);
  border-radius: 50px;
  font-size: 1.1rem;
  transition: var(--transition);
}

.search-page__input:focus {
  border-color: var(--secondary);
  outline: none;
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.1);
}

.search-page__btn {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--secondary);
  border: none;
  cursor: pointer;
  color: var(--primary);
  font-size: 1.1rem;
}

.search-page__results {
  max-width: 800px;
  margin: 0 auto;
}

.search-result-item {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border);
}

.search-result-item__title {
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.search-result-item__title mark {
  background: rgba(212, 175, 55, 0.2);
  color: var(--primary);
  padding: 0 3px;
}

.search-result-item__url {
  font-size: 0.85rem;
  color: var(--secondary);
  margin-bottom: 0.5rem;
}

.search-result-item__desc {
  font-size: 0.9rem;
  color: var(--text-light);
}

/* === 404 Page === */
.error-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: #fff;
}

.error-page__code {
  font-family: 'Montserrat', sans-serif;
  font-size: 8rem;
  font-weight: 700;
  color: var(--secondary);
  line-height: 1;
}

.error-page__title {
  font-size: 2rem;
  color: #fff;
  margin: 1rem 0;
}

.error-page__desc {
  opacity: 0.8;
  margin-bottom: 2rem;
}

/* === FAQ Section === */
.faq__list {
  max-width: 800px;
  margin: 0 auto;
}

.faq__item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 1rem;
  overflow: hidden;
}

.faq__question {
  padding: 1.5rem 2rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  color: var(--primary);
  transition: var(--transition);
}

.faq__question:hover {
  background: var(--card-bg);
}

.faq__answer {
  padding: 0 2rem 1.5rem;
  color: var(--text-light);
  line-height: 1.8;
  display: none;
}

.faq__item.active .faq__answer {
  display: block;
}

/* === App Download Page === */
.app-download {
  text-align: center;
  padding: 80px 0;
}

.app-download__mockup {
  max-width: 300px;
  margin: 2rem auto;
}

.app-download__buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.app-download__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius);
  transition: var(--transition);
}

.app-download__btn:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-2px);
}

/* === Responsive Design === */
@media (max-width: 1024px) {
  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer__grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .trust__metrics {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .dashboard__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .dashboard__chart {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  html { font-size: 14px; }
  
  .header__nav-list {
    display: none;
  }
  
  .header__mobile-toggle {
    display: flex;
  }
  
  .header__nav-list.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background: var(--primary);
    padding: 2rem;
    gap: 1rem;
  }
  
  .hero__title {
    font-size: 2.2rem;
  }
  
  .hero__subtitle {
    font-size: 1rem;
  }
  
  .services__grid {
    grid-template-columns: 1fr;
  }
  
  .team__grid {
    grid-template-columns: 1fr;
  }
  
  .trust__metrics {
    grid-template-columns: 1fr;
  }
  
  .footer__grid {
    grid-template-columns: 1fr;
  }
  
  .process__timeline::before {
    left: 20px;
  }
  
  .process__step {
    flex-direction: row !important;
    padding-left: 60px;
  }
  
  .process__step-content {
    width: 100%;
  }
  
  .process__step-number {
    left: 20px;
    transform: none;
  }
  
  .dashboard__grid {
    grid-template-columns: 1fr;
  }
  
  .dashboard__chart {
    grid-column: span 1;
  }
  
  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .section {
    padding: 60px 0;
  }
  
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
}

@media (max-width: 480px) {
  .hero__buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .btn {
    width: 100%;
    max-width: 280px;
  }
  
  .case-card {
    min-width: 280px;
  }
}

/* === Scroll Reveal Animation === */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* === Loading Animation === */
.page-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease;
}

.page-loader.hidden {
  opacity: 0;
  pointer-events: none;
}

.page-loader__spinner {
  width: 50px;
  height: 50px;
  border: 3px solid rgba(212, 175, 55, 0.2);
  border-top-color: var(--secondary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}
