/* ================================
   赤墨广告 - 共用样式
   ================================ */

:root {
  --ink-black: #1A1A1A;
  --ink-dark: #2B2B2B;
  --ad-red: #E63946;
  --ad-red-dark: #C92A38;
  --cream: #F5F0E8;
  --cream-dark: #E8E0D0;
  --warm-gray: #8A8A8A;
  --light-gray: #D4CDC0;
  --paper: #FAF7F2;
  --max-width: 1280px;
  --nav-height: 80px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink-black);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5 {
  font-family: 'Anton', 'Impact', sans-serif;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1.1;
}

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

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
}

/* ================================
   导航栏
   ================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: rgba(26, 26, 26, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  transition: background var(--transition);
}

.navbar.scrolled {
  background: rgba(26, 26, 26, 0.98);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
}

.logo-mark {
  width: 42px;
  height: 42px;
  background: var(--ad-red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Anton', sans-serif;
  font-size: 22px;
  color: #fff;
  letter-spacing: 0.05em;
}

.logo-text {
  font-family: 'Anton', sans-serif;
  font-size: 20px;
  letter-spacing: 0.08em;
  color: #fff;
}

.logo-text span {
  color: var(--ad-red);
}

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

.nav-links a {
  display: block;
  padding: 10px 18px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  position: relative;
  transition: color var(--transition);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 18px;
  right: 18px;
  height: 2px;
  background: var(--ad-red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: #fff;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

.nav-cta {
  margin-left: 12px;
  padding: 10px 24px !important;
  background: var(--ad-red);
  color: #fff !important;
  font-weight: 600 !important;
  transition: background var(--transition) !important;
}

.nav-cta:hover {
  background: var(--ad-red-dark) !important;
}

.nav-cta::after {
  display: none !important;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  transition: all var(--transition);
}

/* ================================
   页脚
   ================================ */
.footer {
  background: var(--ink-black);
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 0 30px;
}

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

.footer-brand .logo {
  margin-bottom: 24px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 24px;
  max-width: 320px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.footer-social a:hover {
  background: var(--ad-red);
  border-color: var(--ad-red);
}

.footer-col h4 {
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 24px;
}

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

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

.footer-col a {
  font-size: 14px;
  transition: color var(--transition);
}

.footer-col a:hover {
  color: var(--ad-red);
}

.footer-contact li {
  font-size: 14px;
  margin-bottom: 16px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.6;
}

.footer-contact svg {
  flex-shrink: 0;
  margin-top: 3px;
  opacity: 0.6;
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a:hover {
  color: var(--ad-red);
}

/* ================================
   通用组件
   ================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
}

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

.btn-primary:hover {
  background: var(--ad-red-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(230, 57, 70, 0.3);
}

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

.btn-outline:hover {
  background: var(--ink-black);
  color: #fff;
}

.btn-light {
  background: #fff;
  color: var(--ink-black);
}

.btn-light:hover {
  background: var(--cream);
  transform: translateY(-2px);
}

.section-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--ad-red);
  margin-bottom: 16px;
  position: relative;
  padding-left: 40px;
}

.section-label::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 30px;
  height: 2px;
  background: var(--ad-red);
}

.section-title {
  font-size: clamp(36px, 5vw, 64px);
  margin-bottom: 24px;
}

.section-desc {
  font-size: 18px;
  color: var(--warm-gray);
  max-width: 560px;
  line-height: 1.8;
}

/* 页面顶部 Hero（内页通用） */
.page-hero {
  background: var(--ink-black);
  color: #fff;
  padding: calc(var(--nav-height) + 100px) 0 100px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background-image: radial-gradient(circle at 80% 50%, rgba(230, 57, 70, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

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

.page-hero h1 {
  font-size: clamp(48px, 7vw, 96px);
  margin-bottom: 20px;
}

.page-hero h1 span {
  color: var(--ad-red);
}

.page-hero p {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.7);
  max-width: 600px;
  line-height: 1.8;
}

.breadcrumb {
  display: flex;
  gap: 10px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 30px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.breadcrumb a:hover {
  color: var(--ad-red);
}

.breadcrumb .current {
  color: rgba(255, 255, 255, 0.9);
}

/* 网点纹理背景 */
.halftone-bg {
  background-image: radial-gradient(circle, rgba(0,0,0,0.08) 1px, transparent 1px);
  background-size: 6px 6px;
}

/* ================================
   响应式
   ================================ */
@media (max-width: 968px) {
  .container {
    padding: 0 24px;
  }

  .nav-links {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--ink-black);
    flex-direction: column;
    padding: 20px;
    gap: 4px;
    transform: translateY(-120%);
    transition: transform var(--transition);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  }

  .nav-links.open {
    transform: translateY(0);
  }

  .nav-links a {
    padding: 14px 20px;
    width: 100%;
  }

  .nav-cta {
    margin-left: 0;
    text-align: center;
  }

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

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

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

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

  .page-hero {
    padding: calc(var(--nav-height) + 60px) 0 60px;
  }
}
