/*
Theme Name: 鸿运堂
Theme URI: https://hongyuntang.com
Description: 深圳鸿运堂文化传播有限公司官方网站主题，周易文化服务品牌展示。
Author: 鸿运堂
Version: 1.0.1
Text Domain: hongyuntang
*/

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

:root {
  --red-deep: #8B1A1A;
  --red-primary: #B22222;
  --red-light: #D4453A;
  --gold-primary: #C9A96E;
  --gold-light: #E8D5A3;
  --gold-bright: #DAA520;
  --warm-bg: #F7F0E5;
  --warm-card: #FFFFFF;
  --warm-surface: #FBF6EE;
  --footer-bg: #3A2E22;
  --cream: #FDF8F0;
  --cream-dark: #F5EDE0;
  --text-light: #2C2418;
  --text-muted: #8A7D6B;
  --text-dark: #2C2418;
  --text-body: #4A4035;
  --font-serif: 'Noto Serif SC', 'SimSun', serif;
  --font-sans: 'Noto Sans SC', 'Microsoft YaHei', sans-serif;
}

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

body {
  font-family: var(--font-sans);
  color: var(--text-body);
  background: var(--cream);
  line-height: 1.8;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: color 0.3s; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

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

/* ========== Decorative Patterns ========== */
.chinese-border {
  position: relative;
  border: 2px solid var(--gold-primary);
}
.chinese-border::before {
  content: '';
  position: absolute;
  top: 4px; left: 4px; right: 4px; bottom: 4px;
  border: 1px solid var(--gold-primary);
  opacity: 0.5;
  pointer-events: none;
}

/* ========== Section Title ========== */
.section-title {
  text-align: center;
  margin-bottom: 60px;
}
.section-title .en-sub {
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold-primary);
  display: block;
  margin-bottom: 12px;
}
.section-title h2 {
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 700;
  color: var(--text-dark);
  position: relative;
  display: inline-block;
}
.section-title h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-primary), var(--gold-bright));
  margin: 16px auto 0;
  border-radius: 2px;
}
.section-title p {
  margin-top: 16px;
  font-size: 15px;
  color: var(--text-muted);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* dark section title - now used on light warm backgrounds */
.section-title.dark h2 { color: var(--text-dark); }
.section-title.dark .en-sub { color: var(--gold-primary); }
.section-title.dark p { color: var(--text-muted); }

/* ========== Navigation ========== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: all 0.4s ease;
  padding: 0;
}
.navbar.transparent { background: transparent; }
.navbar.scrolled {
  background: rgba(253, 248, 240, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

.nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}
.navbar.scrolled .nav-inner { height: 64px; }

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-logo .logo-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--red-primary), var(--red-deep));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 900;
  color: var(--gold-light);
  border: 2px solid var(--gold-primary);
  flex-shrink: 0;
}
.nav-logo .logo-img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  flex-shrink: 0;
}
.navbar.scrolled .nav-logo .logo-img {
  width: 40px;
  height: 40px;
}
.nav-logo .logo-text {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--text-dark);
  white-space: nowrap;
}
.nav-logo .logo-sub {
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 2px;
  display: block;
  margin-top: -2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-links a {
  font-size: 15px;
  color: var(--text-body);
  padding: 8px 18px;
  border-radius: 4px;
  transition: all 0.3s;
  font-weight: 400;
  position: relative;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--red-primary);
  background: rgba(178,34,34,0.06);
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gold-primary);
  transition: all 0.3s;
  transform: translateX(-50%);
}
.nav-links a:hover::after { width: 60%; }

.nav-cta {
  margin-left: 12px;
  padding: 10px 28px !important;
  background: linear-gradient(135deg, var(--red-primary), var(--red-deep)) !important;
  border-radius: 30px !important;
  color: var(--gold-light) !important;
  font-weight: 500 !important;
  border: 1px solid rgba(201,169,110,0.3);
}
.nav-cta:hover {
  background: linear-gradient(135deg, var(--red-light), var(--red-primary)) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(178,34,34,0.4);
}
.nav-cta::after { display: none !important; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}
.hamburger span {
  width: 26px;
  height: 2px;
  background: var(--text-dark);
  transition: all 0.3s;
  border-radius: 2px;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile Nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(253, 248, 240, 0.98);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  transition: opacity 0.3s;
}
.mobile-nav.show { display: flex; opacity: 1; }
.mobile-nav a {
  font-size: 20px;
  color: var(--text-dark);
  padding: 14px 40px;
  font-family: var(--font-serif);
  letter-spacing: 2px;
  transition: color 0.3s;
}
.mobile-nav a:hover { color: var(--red-primary); }

/* ========== Hero Section ========== */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, #FDF8F0 0%, #F7F0E5 30%, #FBF3E4 70%, #FDF8F0 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

/* Decorative background elements */
.hero::before {
  content: '';
  position: absolute;
  top: -50%; right: -20%;
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(178,34,34,0.05) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 20s ease-in-out infinite;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -30%; left: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(201,169,110,0.06) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 15s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(30px, -30px); }
}

/* Bagua decorative pattern */
.hero-pattern {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 700px; height: 700px;
  opacity: 0.03;
  pointer-events: none;
}
.hero-pattern svg { width: 100%; height: 100%; }

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  margin: 0 auto;
  padding: 120px 48px 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  width: 100%;
}

.hero-left {}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201,169,110,0.1);
  border: 1px solid rgba(201,169,110,0.2);
  border-radius: 30px;
  padding: 6px 20px;
  font-size: 13px;
  color: var(--gold-primary);
  margin-bottom: 32px;
  letter-spacing: 1px;
}
.hero-badge .dot {
  width: 6px; height: 6px;
  background: var(--gold-bright);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero-title {
  font-family: var(--font-serif);
  font-size: 52px;
  font-weight: 900;
  line-height: 1.3;
  color: var(--text-light);
  margin-bottom: 24px;
}
.hero-title .highlight {
  background: linear-gradient(135deg, var(--gold-primary), var(--gold-bright));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 2;
  margin-bottom: 40px;
  max-width: 500px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 36px;
  background: linear-gradient(135deg, var(--red-primary), var(--red-deep));
  color: var(--gold-light);
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  border: 1px solid rgba(201,169,110,0.2);
  transition: all 0.3s;
  cursor: pointer;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(178,34,34,0.4);
}
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 36px;
  background: transparent;
  color: var(--gold-primary);
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  border: 1px solid rgba(201,169,110,0.3);
  transition: all 0.3s;
  cursor: pointer;
}
.btn-outline:hover {
  background: rgba(201,169,110,0.1);
  border-color: var(--gold-primary);
}

.hero-right {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.stat-card {
  background: rgba(255,255,255,0.85);
  border: 1px solid rgba(201,169,110,0.2);
  border-radius: 16px;
  padding: 28px 24px;
  text-align: center;
  backdrop-filter: blur(8px);
  transition: all 0.3s;
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}
.stat-card:hover {
  border-color: rgba(201,169,110,0.4);
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.08);
}
.stat-num {
  font-family: var(--font-serif);
  font-size: 40px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--gold-primary), var(--gold-bright));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}
.stat-unit {
  font-size: 16px;
  -webkit-text-fill-color: var(--gold-primary);
}
.stat-label {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Hero scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 12px;
  letter-spacing: 2px;
  animation: scrollBounce 2s infinite;
}
.scroll-indicator .line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--gold-primary), transparent);
}
@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ========== About Section ========== */
.about {
  padding: 120px 0;
  background: var(--cream);
  position: relative;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-image {
  position: relative;
}
.about-image .img-wrapper {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, var(--warm-surface), var(--cream-dark));
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-image .img-wrapper .placeholder-art {
  font-family: var(--font-serif);
  font-size: 120px;
  font-weight: 900;
  color: rgba(201,169,110,0.08);
  user-select: none;
}
.about-image .float-card {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: linear-gradient(135deg, var(--red-primary), var(--red-deep));
  border-radius: 16px;
  padding: 24px 32px;
  color: var(--gold-light);
  box-shadow: 0 12px 40px rgba(139,26,26,0.3);
}
.float-card .fc-num {
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 900;
}
.float-card .fc-label {
  font-size: 13px;
  opacity: 0.8;
}

.about-content h3 {
  font-family: var(--font-serif);
  font-size: 28px;
  color: var(--text-dark);
  margin-bottom: 8px;
}
.about-content .subtitle {
  font-size: 14px;
  color: var(--gold-primary);
  letter-spacing: 2px;
  margin-bottom: 24px;
}
.about-content p {
  font-size: 15px;
  color: var(--text-body);
  line-height: 2;
  margin-bottom: 16px;
}

.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}
.about-tags span {
  padding: 8px 20px;
  background: rgba(201,169,110,0.1);
  border: 1px solid rgba(201,169,110,0.2);
  border-radius: 30px;
  font-size: 13px;
  color: var(--text-body);
}

/* ========== Brands Section ========== */
.brands {
  padding: 120px 0;
  background: var(--warm-bg);
  position: relative;
}
.brands::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
}

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

.brand-card {
  background: var(--warm-card);
  border: 1px solid rgba(201,169,110,0.15);
  border-radius: 20px;
  padding: 40px 24px;
  text-align: center;
  transition: all 0.4s;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}
.brand-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-primary), var(--red-primary));
  opacity: 0;
  transition: opacity 0.3s;
}
.brand-card:hover {
  transform: translateY(-8px);
  border-color: rgba(201,169,110,0.35);
  box-shadow: 0 16px 50px rgba(0,0,0,0.08);
}
.brand-card:hover::before { opacity: 1; }

.brand-icon {
  width: 72px; height: 72px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, rgba(201,169,110,0.12), rgba(178,34,34,0.06));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 30px;
  font-weight: 900;
  color: var(--red-primary);
  border: 2px solid rgba(201,169,110,0.3);
  position: relative;
}
.brand-icon::after {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  border: 1px solid rgba(201,169,110,0.2);
}
.brand-card h3 {
  font-family: var(--font-serif);
  font-size: 18px;
  color: var(--text-dark);
  margin-bottom: 12px;
  font-weight: 700;
}
.brand-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.8;
}

/* ========== Services Section ========== */
.services {
  padding: 120px 0;
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-dark) 100%);
}

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

.service-card {
  background: #fff;
  border-radius: 20px;
  padding: 40px 32px;
  transition: all 0.4s;
  border: 1px solid rgba(201,169,110,0.1);
  position: relative;
  overflow: hidden;
}
.service-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red-primary), var(--gold-primary));
  transform: scaleX(0);
  transition: transform 0.4s;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.08);
}
.service-card:hover::after { transform: scaleX(1); }

.service-icon {
  width: 60px; height: 60px;
  background: linear-gradient(135deg, rgba(178,34,34,0.06), rgba(201,169,110,0.08));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 900;
  color: var(--red-primary);
  margin-bottom: 24px;
  border: 1px solid rgba(201,169,110,0.2);
}
.service-card h3 {
  font-family: var(--font-serif);
  font-size: 20px;
  color: var(--text-dark);
  margin-bottom: 12px;
}
.service-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 20px;
}
.service-link {
  font-size: 14px;
  color: var(--red-primary);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.3s;
}
.service-link:hover { gap: 12px; }

/* ========== AI Section ========== */
.ai-section {
  padding: 120px 0;
  background: linear-gradient(135deg, #FDF8F0 0%, #F5EDE0 50%, #FBF3E4 100%);
  position: relative;
  overflow: hidden;
}
.ai-section::before {
  content: '';
  position: absolute;
  top: 50%; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(201,169,110,0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.ai-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.ai-left {}
.ai-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201,169,110,0.1);
  border: 1px solid rgba(201,169,110,0.2);
  border-radius: 30px;
  padding: 6px 18px;
  font-size: 12px;
  color: var(--gold-primary);
  margin-bottom: 24px;
  letter-spacing: 1px;
}
.ai-left h2 {
  font-family: var(--font-serif);
  font-size: 40px;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 20px;
  line-height: 1.4;
}
.ai-left h2 .highlight {
  background: linear-gradient(135deg, var(--gold-primary), var(--gold-bright));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.ai-left > p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 2;
  margin-bottom: 36px;
}

.ai-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.ai-feature {
  background: rgba(255,255,255,0.8);
  border: 1px solid rgba(201,169,110,0.15);
  border-radius: 14px;
  padding: 24px 20px;
  transition: all 0.3s;
  box-shadow: 0 2px 12px rgba(0,0,0,0.03);
}
.ai-feature:hover {
  border-color: rgba(201,169,110,0.35);
  background: rgba(255,255,255,0.95);
  box-shadow: 0 6px 24px rgba(0,0,0,0.06);
}
.ai-feature .af-icon {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 900;
  color: var(--red-primary);
  margin-bottom: 12px;
}
.ai-feature h4 {
  font-family: var(--font-serif);
  font-size: 16px;
  color: var(--text-dark);
  margin-bottom: 6px;
}
.ai-feature p {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.6;
}

.ai-right {
  display: flex;
  justify-content: center;
}
.ai-visual {
  width: 400px;
  height: 400px;
  position: relative;
}
.ai-circle {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(201,169,110,0.15);
}
.ai-circle-1 {
  width: 100%; height: 100%;
  top: 0; left: 0;
  animation: rotate 30s linear infinite;
}
.ai-circle-2 {
  width: 75%; height: 75%;
  top: 12.5%; left: 12.5%;
  animation: rotate 20s linear infinite reverse;
  border-color: rgba(178,34,34,0.2);
}
.ai-circle-3 {
  width: 50%; height: 50%;
  top: 25%; left: 25%;
  animation: rotate 15s linear infinite;
}
@keyframes rotate { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.ai-center {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 120px; height: 120px;
  background: linear-gradient(135deg, var(--red-primary), var(--red-deep));
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(201,169,110,0.3);
  box-shadow: 0 0 60px rgba(178,34,34,0.3);
}
.ai-center .ai-text {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 900;
  color: var(--gold-light);
}
.ai-center .ai-sub {
  font-size: 10px;
  color: var(--gold-primary);
  letter-spacing: 2px;
}

/* orbit dots */
.orbit-dot {
  position: absolute;
  width: 10px; height: 10px;
  background: var(--gold-primary);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(201,169,110,0.5);
}
.ai-circle-1 .orbit-dot { top: -5px; left: 50%; }
.ai-circle-2 .orbit-dot { bottom: -5px; right: 20%; }
.ai-circle-3 .orbit-dot { top: 50%; right: -5px; }

/* ========== Training Section ========== */
.training {
  padding: 120px 0;
  background: var(--cream);
}

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

.training-card {
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(201,169,110,0.1);
  transition: all 0.4s;
}
.training-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.08);
}
.training-card .card-img {
  height: 200px;
  background: linear-gradient(135deg, var(--warm-surface), var(--cream-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.training-card .card-img .course-icon {
  font-family: var(--font-serif);
  font-size: 48px;
  font-weight: 900;
  color: rgba(178,34,34,0.25);
  user-select: none;
}
.training-card .card-img .course-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: linear-gradient(135deg, var(--red-primary), var(--red-deep));
  color: var(--gold-light);
  font-size: 12px;
  padding: 4px 14px;
  border-radius: 20px;
  font-weight: 500;
}
.training-card .card-body {
  padding: 28px 24px;
}
.training-card h3 {
  font-family: var(--font-serif);
  font-size: 18px;
  color: var(--text-dark);
  margin-bottom: 8px;
}
.training-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 16px;
}
.training-card .card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--text-muted);
}
.card-meta .price {
  font-family: var(--font-serif);
  font-size: 18px;
  color: var(--red-primary);
  font-weight: 700;
}

/* ========== Cases Section ========== */
.cases {
  padding: 120px 0;
  background: var(--cream-dark);
}

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

.case-card {
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(201,169,110,0.1);
  transition: all 0.4s;
}
.case-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.08);
}
.case-card .case-img {
  height: 180px;
  background: linear-gradient(135deg, var(--warm-surface), var(--cream-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.case-card .case-img .case-icon {
  font-family: var(--font-serif);
  font-size: 56px;
  font-weight: 900;
  color: rgba(178,34,34,0.15);
  user-select: none;
}
.case-card .case-img .case-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: linear-gradient(135deg, var(--red-primary), var(--red-deep));
  color: var(--gold-light);
  font-size: 12px;
  padding: 4px 14px;
  border-radius: 20px;
  font-weight: 500;
}
.case-card .case-body {
  padding: 28px 24px;
}
.case-card h3 {
  font-family: var(--font-serif);
  font-size: 17px;
  color: var(--text-dark);
  margin-bottom: 10px;
  line-height: 1.5;
}
.case-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 16px;
}
.case-card .case-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--text-muted);
  padding-top: 12px;
  border-top: 1px solid rgba(201,169,110,0.1);
}

/* ========== News Section ========== */
.news {
  padding: 120px 0;
  background: var(--cream);
}

.news-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.news-card {
  display: flex;
  gap: 24px;
  background: #fff;
  border-radius: 16px;
  padding: 28px;
  border: 1px solid rgba(201,169,110,0.1);
  transition: all 0.3s;
}
.news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.06);
  border-color: rgba(201,169,110,0.25);
}
.news-date {
  flex-shrink: 0;
  width: 64px;
  text-align: center;
  padding-top: 4px;
}
.news-date .day {
  display: block;
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 900;
  color: var(--red-primary);
  line-height: 1.2;
}
.news-date .month {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 4px;
}
.news-body {
  flex: 1;
  min-width: 0;
}
.news-cat {
  display: inline-block;
  font-size: 11px;
  color: var(--gold-primary);
  background: rgba(201,169,110,0.1);
  border: 1px solid rgba(201,169,110,0.15);
  padding: 2px 10px;
  border-radius: 20px;
  margin-bottom: 10px;
  letter-spacing: 1px;
}
.news-body h3 {
  font-family: var(--font-serif);
  font-size: 16px;
  color: var(--text-dark);
  margin-bottom: 8px;
  line-height: 1.5;
  font-weight: 600;
}
.news-body p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-link {
  font-size: 13px;
  color: var(--red-primary);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.3s;
}
.news-link:hover { gap: 10px; }

/* ========== CTA Section ========== */
.cta-section {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--red-primary) 0%, var(--red-deep) 50%, var(--red-primary) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c9a96e' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}
.cta-inner {
  position: relative;
  z-index: 1;
}
.cta-inner h2 {
  font-family: var(--font-serif);
  font-size: 40px;
  color: var(--gold-light);
  margin-bottom: 16px;
}
.cta-inner p {
  font-size: 16px;
  color: rgba(232,213,163,0.7);
  margin-bottom: 40px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}
.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 40px;
  background: linear-gradient(135deg, var(--gold-primary), var(--gold-bright));
  color: #2C2418;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  transition: all 0.3s;
  cursor: pointer;
  border: none;
  font-family: var(--font-sans);
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(201,169,110,0.4);
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 40px;
  background: transparent;
  color: var(--gold-light);
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  border: 1px solid rgba(201,169,110,0.3);
  transition: all 0.3s;
  cursor: pointer;
}
.btn-ghost:hover {
  background: rgba(201,169,110,0.1);
  border-color: var(--gold-primary);
}

/* ========== Footer ========== */
.footer {
  background: var(--footer-bg);
  padding: 80px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(201,169,110,0.1);
}

.footer-brand .f-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.footer-brand .f-logo-icon {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--red-primary), var(--red-deep));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 900;
  color: var(--gold-light);
  border: 2px solid var(--gold-primary);
}
.footer-brand .f-logo-text {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--gold-light);
}
.footer-brand > p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 24px;
  max-width: 320px;
}
.footer-social {
  display: flex;
  gap: 12px;
}
.footer-social a {
  width: 40px; height: 40px;
  background: rgba(201,169,110,0.08);
  border: 1px solid rgba(201,169,110,0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 700;
  color: var(--gold-light);
  transition: all 0.3s;
}
.footer-social a:hover {
  background: rgba(201,169,110,0.2);
  border-color: var(--gold-primary);
}

.footer-col h4 {
  font-family: var(--font-serif);
  font-size: 16px;
  color: var(--gold-light);
  margin-bottom: 24px;
  font-weight: 600;
}
.footer-col ul li {
  margin-bottom: 12px;
}
.footer-col ul li a {
  font-size: 14px;
  color: var(--text-muted);
  transition: color 0.3s;
}
.footer-col ul li a:hover {
  color: var(--gold-primary);
}

.footer-bottom {
  padding: 24px 0;
  text-align: center;
  font-size: 13px;
  color: rgba(160,152,128,0.5);
}

/* ========== Animations ========== */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========== Responsive ========== */
@media (max-width: 1200px) {
  .brands-grid { grid-template-columns: repeat(3, 1fr); }
  .cases-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 120px 32px 80px;
  }
  .hero-title { font-size: 40px; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-image { max-width: 400px; margin: 0 auto; }
  .ai-content { grid-template-columns: 1fr; gap: 48px; }
  .ai-right { order: -1; }
  .ai-visual { width: 300px; height: 300px; }
  .cases-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }

  .nav-links a { padding: 8px 12px; font-size: 14px; }
  .nav-cta { padding: 8px 20px !important; margin-left: 6px; }
}

@media (max-width: 768px) {
  html { font-size: 15px; }

  .nav-links { display: none; }
  .hamburger { display: flex; }

  .hero { min-height: auto; padding-bottom: 40px; }
  .hero-content { padding: 100px 20px 60px; }
  .hero-title { font-size: 32px; }
  .hero-desc { font-size: 14px; }
  .hero-stats { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stat-card { padding: 20px 16px; }
  .stat-num { font-size: 30px; }

  .section-title h2 { font-size: 28px; }
  .section-title { margin-bottom: 40px; }

  .about, .brands, .services, .ai-section, .training, .cases, .news { padding: 80px 0; }

  .brands-grid { grid-template-columns: 1fr 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .training-grid { grid-template-columns: 1fr; }
  .cases-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }

  .ai-features { grid-template-columns: 1fr; }
  .ai-left h2 { font-size: 28px; }
  .ai-visual { width: 250px; height: 250px; }
  .ai-center { width: 80px; height: 80px; }
  .ai-center .ai-text { font-size: 18px; }

  .cta-inner h2 { font-size: 28px; }

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

  .news-card { padding: 20px; gap: 16px; }
  .news-date { width: 52px; }
  .news-date .day { font-size: 26px; }
  .news-body h3 { font-size: 15px; }

  .scroll-indicator { display: none; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 26px; }
  .hero-buttons { flex-direction: column; }
  .btn-primary, .btn-outline { justify-content: center; }
  .brands-grid { grid-template-columns: 1fr; }
  .nav-inner { padding: 0 16px; }
  .container { padding: 0 16px; }
  .cta-buttons { flex-direction: column; align-items: center; }

  .news-card { flex-direction: column; gap: 12px; }
  .news-date {
    width: auto;
    display: flex;
    align-items: baseline;
    gap: 8px;
    text-align: left;
  }
  .news-date .day { font-size: 20px; }
  .news-date .month { margin-top: 0; }

  .case-card .case-img { height: 140px; }
  .case-card .case-img .case-icon { font-size: 40px; }
}
