/* Savant Lube - Supplement styles not covered by Tailwind */

:root {
  --gold: #E8A020;
  --gold-l: #F5C050;
  --gold-d: #C4841A;
  --navy: #1A1A2E;
  --charcoal: #222222;
  --steel: #4A5568;
  --silver: #718096;
  --border: #E2E8F0;
  --bg-off: #F7F5F0;
  --bg-light: #FAFAF8;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: #f7f7f2;
  color: #222222;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.font-head { font-family: 'Montserrat', 'Inter', sans-serif; }

/* --- Reveal Animation --- */
.reveal { opacity: 0; transform: translateY(20px); transition: all 0.6s ease-out; }
.reveal.on { opacity: 1; transform: translateY(0); }

/* --- Cards: hover enhancements --- */
.card-luxury { border: 1px solid #e5e7eb; }
.card-luxury:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px rgba(0,0,0,0.08);
}

/* --- Product Cards --- */
.product-card { transition: all 0.3s ease; }
.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 70px rgba(0,0,0,0.1);
  border-color: #d1d5db;
}

/* --- Section spacing --- */
/* 移动端减少上下间距，避免 header 遮挡过多内容 */
.section-hero {
  padding: 3rem 1rem 4rem;
  background: linear-gradient(180deg, #f7f7f2 0%, #f2efe5 100%);
}
.section-page {
  padding: 6rem 1rem 3rem;
  background: linear-gradient(180deg, #f7f7f2 0%, #f2efe5 100%);
}
/* 桌面端恢复原始间距 */
@media (min-width: 768px) {
  .section-hero { padding: 5rem 1.5rem 5rem; }
  .section-page { padding: 10rem 1.5rem 4rem; }
}

/* --- Form: finer overrides --- */
.form-input {
  padding: 0.875rem 1rem;
  border-radius: 1.75rem;
  background: #fafaf7;
  font-size: 0.95rem;
  transition: all 0.2s;
}
.form-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(232,160,32,0.1);
}
.form-textarea {
  width: 100%;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: 1.75rem;
  background: #fafaf7;
  font-size: 0.95rem;
  min-height: 150px;
  resize: vertical;
  transition: all 0.2s;
}
.form-textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(232,160,32,0.1);
}

/* --- Tech Cards --- */
.tech-card {
  overflow: hidden;
  border-radius: 2rem;
  background: #fafaf7;
  border: 1px solid #e5e7eb;
  transition: all 0.3s ease;
}
.tech-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.04);
}

/* --- Footer --- */
.footer-link { color: #71717a; font-size: 0.9rem; transition: color 0.2s; }
.footer-link:hover { color: var(--gold); }

/* --- Divider --- */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, #e5e7eb, transparent);
}

/* --- Stats --- */
.stat-card { text-align: center; padding: 2rem; }
.stat-number {
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
}
@media (min-width: 768px) {
  .stat-number { font-size: 3rem; }
}
.stat-label { font-size: 0.85rem; color: #71717a; margin-top: 0.5rem; }

/* --- Animation --- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-in { animation: fadeInUp 0.6s ease-out forwards; }
