/* ============================================================
   四川智哆哆餐饮管理集团 - 官方网站样式
   Color: 川味红 + 暖米色 + 金色点缀
   ============================================================ */

:root {
  --primary: #B5343A;
  --primary-light: #D4534A;
  --primary-dark: #8B1A1F;
  --accent: #C8963E;
  --accent-light: #E0B860;
  --bg-cream: #FFFDF8;
  --bg-warm: #FFF9F0;
  --bg-white: #FFFFFF;
  --bg-dark: #1A1817;
  --text-dark: #1A1A1A;
  --text: #333333;
  --text-light: #777777;
  --border: #E8E2D5;
  --border-light: #F0EBE0;
  --shadow: 0 2px 16px rgba(0,0,0,0.06);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.10);
  --radius: 12px;
  --radius-sm: 8px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1200px;
}

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

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;
  color: var(--text);
  background: var(--bg-cream);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

/* ---- Navbar ---- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition);
}
.navbar.scrolled { box-shadow: var(--shadow); }
.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  height: 68px;
}
.nav-logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 1px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-logo .logo-icon {
  width: 38px;
  height: 38px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 900;
  overflow: hidden;
}
.logo-icon .logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.nav-links {
  display: flex;
  list-style: none;
  gap: 36px;
  align-items: center;
}
.nav-links a {
  text-decoration: none;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
}
.nav-links a:hover { color: var(--primary); }
.nav-links a:hover::after { width: 100%; }

/* ---- Section Common ---- */
.section {
  padding: 100px 32px;
}
.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}
.section-label {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-title {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 16px;
  line-height: 1.3;
}
.section-desc {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 680px;
  margin-bottom: 48px;
  line-height: 1.8;
}

/* ---- Hero ---- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(160deg, #FFFDF8 0%, #FFF5EB 40%, #FDE8E4 100%);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -180px;
  right: -120px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(181,52,58,0.06) 0%, transparent 70%);
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -60px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200,150,62,0.08) 0%, transparent 70%);
}
.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 120px 32px 80px;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: start;
}
.hero-text h1 {
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.25;
  margin-bottom: 20px;
}
.hero-text h1 span { color: var(--primary); }
.hero-text p {
  font-size: 1.15rem;
  color: var(--text-light);
  line-height: 1.9;
  margin-bottom: 36px;
  max-width: 400px;
}
.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  letter-spacing: 0.5px;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 18px rgba(181,52,58,0.3);
}
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 6px 24px rgba(181,52,58,0.4); }
.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline:hover { background: var(--primary); color: #fff; }
.hero-visual {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 20px;
}
.hero-card {
  background: var(--bg-white);
  border-radius: 20px;
  padding: 24px 28px;
  box-shadow: var(--shadow-lg);
  position: relative;
  flex: 0 0 auto;
}
.hero-card .stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.hero-card .stat-item {
  text-align: center;
}
.hero-card .stat-num {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}
.hero-card .stat-label {
  font-size: 0.75rem;
  color: var(--text-light);
  margin-top: 4px;
}

/* ---- Hero Carousel ---- */
.hero-carousel {
  display: none; /* hidden until slides are loaded */
  flex: 1 1 auto;
  width: 100%;
}
.carousel-viewport {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--bg-white);
  aspect-ratio: 16 / 10;
  position: relative;
}
.carousel-viewport {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--bg-white);
  aspect-ratio: 16 / 10;
  position: relative;
}
.carousel-track {
  display: flex;
  height: 100%;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.carousel-slide {
  min-width: 100%;
  height: 100%;
}
.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.carousel-caption {
  text-align: center;
  margin-top: 14px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1.6;
  min-height: 24px;
  transition: opacity 0.4s ease;
}
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 12px;
}
.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: var(--border);
  cursor: pointer;
  padding: 0;
  transition: var(--transition);
}
.carousel-dot.active {
  background: var(--primary);
  width: 28px;
  border-radius: 6px;
}
.carousel-dot:hover { background: var(--primary-light); }

/* ---- About ---- */
#about { background: var(--bg-white); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-image {
  background: linear-gradient(135deg, var(--bg-warm), #FDE8E4);
  border-radius: var(--radius);
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  position: relative;
  overflow: hidden;
}
.about-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}
.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 24px;
}
.about-feat {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  background: var(--bg-cream);
  border-radius: var(--radius-sm);
}
.about-feat .feat-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  background: rgba(181,52,58,0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}
.about-feat .feat-text strong { display: block; font-size: 0.9rem; color: var(--text-dark); }
.about-feat .feat-text span { font-size: 0.8rem; color: var(--text-light); }

/* ---- Products ---- */
#products { background: var(--bg-cream); }
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.product-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid transparent;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  overflow: hidden;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border);
}
.product-image {
  min-height: 260px;
  background: linear-gradient(135deg, rgba(181,52,58,0.04), rgba(200,150,62,0.08));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.product-image .visual-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}
.product-placeholder-lg {
  width: 100%;
  height: 100%;
  min-height: 260px;
  border: 2px dashed var(--border);
  background: var(--bg-cream);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.placeholder-icon-lg {
  font-size: 3rem;
  opacity: 0.3;
}
.placeholder-text-lg {
  font-size: 0.9rem;
  color: var(--text-light);
  opacity: 0.5;
}
.product-info {
  padding: 28px 28px 28px 0;
  display: flex;
  flex-direction: column;
}
.product-info h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}
.product-info p {
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.75;
  flex: 1;
}
.product-price {
  display: inline-block;
  margin-top: 14px;
  padding: 6px 16px;
  background: rgba(181,52,58,0.08);
  color: var(--primary);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  align-self: flex-start;
}

/* ---- Solution (集装箱) ---- */
#solution { background: var(--bg-white); }
.solution-banner {
  background: linear-gradient(135deg, #1A1817 0%, #2D2522 100%);
  border-radius: var(--radius);
  padding: 56px 48px;
  color: #fff;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 40px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.solution-banner::before {
  content: '';
  position: absolute;
  right: -40px;
  top: -40px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200,150,62,0.2) 0%, transparent 70%);
}
.solution-banner h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 16px;
  position: relative;
}
.solution-banner h2 span { color: var(--accent-light); }
.solution-banner p {
  color: rgba(255,255,255,0.75);
  line-height: 1.9;
  margin-bottom: 24px;
  position: relative;
}
.solution-features {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  position: relative;
}
.solution-tag {
  padding: 8px 18px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.85);
}
.solution-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8rem;
  position: relative;
}

/* ---- Partners ---- */
#partners { background: var(--bg-cream); }
#investment { background: var(--bg-white); }

/* Investment */
.invest-section { margin-bottom: 48px; }
.invest-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}
.invest-desc {
  font-size: 0.95rem;
  color: var(--text-light);
  margin-bottom: 24px;
}
.invest-table-wrap { overflow-x: auto; }
.invest-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  font-size: 0.95rem;
}
.invest-table thead th {
  background: var(--primary);
  color: #fff;
  padding: 14px 20px;
  font-weight: 600;
  text-align: center;
}
.invest-table thead th:first-child { text-align: left; }
.invest-table tbody td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border-light);
  text-align: center;
}
.invest-table tbody td:first-child { text-align: left; font-weight: 600; color: var(--text-dark); }
.invest-table .roi-cell { color: var(--primary); font-weight: 700; }

/* Equity */
.equity-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 48px;
}
.equity-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 28px 32px;
  box-shadow: var(--shadow);
}
.equity-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
}
.equity-card p { font-size: 0.95rem; color: var(--text); line-height: 1.8; }
.equity-card-highlight {
  background: linear-gradient(135deg, #FFF9F0, #FDE8E4);
  border: 2px solid var(--primary);
}
.equity-card-highlight h4 { color: var(--primary); }

/* Support */
.support-section { margin-bottom: 48px; }
.support-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.support-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--primary);
  transition: var(--transition);
}
.support-card:nth-child(2) { border-left-color: var(--accent); }
.support-card:nth-child(3) { border-left-color: #2D8C4A; }
.support-card:nth-child(4) { border-left-color: #3B6FB6; }
.support-card:nth-child(5) { border-left-color: #E07030; }
.support-card:nth-child(6) { border-left-color: #8B5CF6; }
.support-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.support-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}
.support-card p {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* Process Steps */
.process-section { margin-bottom: 48px; }
.process-steps {
  display: flex;
  gap: 0;
  justify-content: center;
  flex-wrap: wrap;
}
.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 16px 10px;
  min-width: 100px;
  position: relative;
}
.process-step::after {
  content: '→';
  position: absolute;
  right: -8px;
  top: 24px;
  font-size: 1.2rem;
  color: var(--primary);
}
.process-step:last-child::after { display: none; }
.step-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 10px;
}
.step-text {
  font-size: 0.82rem;
  color: var(--text);
  font-weight: 500;
  max-width: 80px;
}

/* Success Cases */
.cases-section { margin-bottom: 48px; }
.cases-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.case-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border-top: 4px solid var(--accent);
  overflow: hidden;
}
.case-card.case-flagship {
  border-top: 4px solid var(--primary);
}
.case-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 14px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  background: var(--accent);
  z-index: 2;
}
.case-flagship .case-badge {
  background: var(--primary);
}
.case-image {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, rgba(181,52,58,0.03), rgba(200,150,62,0.06));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.case-image .visual-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}
.case-image-placeholder {
  width: 100%;
  height: 100%;
  border: 2px dashed var(--border);
  background: var(--bg-cream);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--text-light);
  opacity: 0.5;
}
.case-image-placeholder span:first-child { font-size: 2.5rem; }
.case-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 20px 24px 14px;
}
.case-stats {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.9rem;
  color: var(--text);
  padding: 0 24px 24px;
}
.case-stats span {
  padding: 6px 14px;
  background: var(--bg-cream);
  border-radius: 50px;
  font-weight: 500;
}
.case-stats .case-profit {
  background: rgba(200,150,62,0.12);
  color: var(--accent);
  font-weight: 700;
}

/* Financial Transparency */
.transparency-section {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 32px;
  margin-bottom: 40px;
  box-shadow: var(--shadow);
  border-left: 4px solid #2D8C4A;
}
.transparency-section h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}
.transparency-section p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.8;
}

/* Partner CTA */
.partner-cta {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: var(--radius);
  padding: 40px 36px;
  text-align: center;
  color: #fff;
}
.partner-cta h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.partner-cta p {
  font-size: 1.05rem;
  opacity: 0.9;
}
.partner-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.partner-type-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 36px 28px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border-top: 4px solid var(--primary);
  position: relative;
}
.partner-type-card:nth-child(2) { border-top-color: var(--accent); }
.partner-type-card:nth-child(3) { border-top-color: #2D8C4A; }
.partner-type-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.partner-num {
  font-size: 3rem;
  font-weight: 900;
  color: rgba(181,52,58,0.08);
  position: absolute;
  top: 16px;
  right: 24px;
}
.partner-type-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
}
.partner-type-card p {
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.8;
}
.partner-type-card ul {
  margin-top: 16px;
  list-style: none;
}
.partner-type-card ul li {
  font-size: 0.88rem;
  color: var(--text);
  padding: 6px 0;
  padding-left: 20px;
  position: relative;
}
.partner-type-card ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
}

/* ---- Contact ---- */
#contact { background: var(--bg-white); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
}
.contact-info {}
.contact-info h3 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}
.contact-info > p {
  color: var(--text-light);
  margin-bottom: 32px;
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}
.contact-item .ci-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: rgba(181,52,58,0.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}
.contact-item .ci-text strong { display: block; font-size: 0.95rem; color: var(--text-dark); margin-bottom: 2px; }
.contact-item .ci-text span { font-size: 0.9rem; color: var(--text-light); }
.contact-form {
  background: var(--bg-cream);
  border-radius: var(--radius);
  padding: 36px;
}
.contact-form h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 24px;
}
.form-group {
  margin-bottom: 18px;
}
.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: inherit;
  background: var(--bg-white);
  color: var(--text);
  transition: var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(181,52,58,0.08);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-submit {
  width: 100%;
  padding: 14px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 0.5px;
}
.form-submit:hover { background: var(--primary-dark); }

/* ---- Footer ---- */
.footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,0.6);
  padding: 48px 32px 28px;
}
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
}
.footer-brand h3 {
  font-size: 1.3rem;
  color: #fff;
  font-weight: 700;
  margin-bottom: 12px;
}
.footer-brand p { font-size: 0.9rem; line-height: 1.8; }
.footer-col h4 {
  font-size: 0.95rem;
  color: #fff;
  font-weight: 600;
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  font-size: 0.9rem;
  padding: 4px 0;
  transition: var(--transition);
}
.footer-col a:hover { color: var(--accent-light); }
.footer-bottom {
  max-width: var(--max-width);
  margin: 32px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 0.85rem;
  text-align: center;
}

/* ---- Mobile Nav Toggle ---- */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: var(--transition);
}

/* ---- Software ---- */
#software { background: var(--bg-white); }
.software-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}
.sw-feat-card {
  background: var(--bg-cream);
  border-radius: var(--radius);
  transition: var(--transition);
  border-left: 4px solid var(--primary);
  overflow: hidden;
}
.sw-feat-card:nth-child(2) { border-left-color: var(--accent); }
.sw-feat-card:nth-child(3) { border-left-color: #2D8C4A; }
.sw-feat-card:nth-child(4) { border-left-color: #3B6FB6; }
.sw-feat-card:hover { transform: translateX(4px); box-shadow: var(--shadow); }
.sw-feat-image {
  width: 100%;
  height: 180px;
  background: linear-gradient(135deg, rgba(181,52,58,0.03), rgba(200,150,62,0.06));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.sw-feat-image .visual-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}
.sw-image-placeholder {
  width: 100%;
  height: 100%;
  border: 2px dashed var(--border);
  background: var(--bg-white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--text-light);
  opacity: 0.5;
}
.sw-image-placeholder span:first-child { font-size: 2rem; }
.sw-feat-content {
  padding: 24px 28px 28px;
}
.sw-feat-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}
.sw-feat-highlight {
  display: inline-block;
  padding: 4px 14px;
  background: rgba(181,52,58,0.08);
  color: var(--primary);
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.sw-feat-card p {
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.8;
}

/* ---- Price Compare Table ---- */
.price-compare {
  background: var(--bg-cream);
  border-radius: var(--radius);
  padding: 36px 32px;
}
.price-compare-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-dark);
  text-align: center;
  margin-bottom: 28px;
}
.price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}
.price-table thead th {
  background: var(--primary);
  color: #fff;
  padding: 14px 20px;
  text-align: center;
  font-weight: 600;
}
.price-table thead th:first-child { border-radius: 8px 0 0 0; text-align: left; }
.price-table thead th:last-child { border-radius: 0 8px 0 0; }
.price-table tbody td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border-light);
  text-align: center;
}
.price-table tbody td:first-child { text-align: left; font-weight: 600; color: var(--text-dark); }
.price-table .our-price { color: var(--primary); font-weight: 700; }
.price-table .other-price { color: var(--text-light); }
.price-table .total-row td {
  border-top: 2px solid var(--primary);
  border-bottom: none;
  font-weight: 700;
  font-size: 1rem;
  padding-top: 18px;
}
.price-table .total-row .our-price { font-size: 1.1rem; }

/* ---- Training Course Card ---- */
.training-course-wrapper {
  max-width: 720px;
  margin: 0 auto;
}
.training-course-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  border: 1px solid var(--border-light);
}
.training-course-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 28px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.training-course-header h3 {
  color: #fff;
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0;
}
.training-course-badge {
  display: inline-block;
  padding: 6px 18px;
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 50px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.9);
  font-weight: 500;
  white-space: nowrap;
}
.training-course-body {
  padding: 32px 36px;
}
.training-course-meta {
  display: flex;
  gap: 28px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.training-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  color: var(--text);
  font-weight: 500;
}
.training-meta-icon {
  font-size: 1.2rem;
}
.training-course-content {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.9;
  margin-bottom: 24px;
  padding: 20px 24px;
  background: var(--bg-cream);
  border-radius: var(--radius-sm);
  border-left: 4px solid var(--primary);
}
.training-course-pricing {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.training-price-original {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: line-through;
  text-decoration-color: var(--text-light);
}
.training-price-early {
  display: inline-block;
  padding: 10px 24px;
  background: rgba(200,150,62,0.12);
  color: var(--accent);
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 50px;
  border: 1px solid rgba(200,150,62,0.25);
}

/* ---- Image support ---- */
.visual-emoji { font-size: inherit; }
.visual-img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.about-image .visual-img { border-radius: var(--radius); }
.solution-visual .visual-img { max-width: 200px; height: auto; }

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .product-card { grid-template-columns: 1fr; }
  .product-info { padding: 0 28px 28px; }
  .product-image { min-height: 220px; }
  .partner-grid { grid-template-columns: 1fr; }
  .support-grid { grid-template-columns: repeat(2, 1fr); }
  .equity-section { grid-template-columns: 1fr; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-text h1 { font-size: 2.4rem; }
  .hero-text p { max-width: 520px; }
  .hero-carousel { max-width: 540px; }
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .solution-banner { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .software-grid { grid-template-columns: 1fr; }
  .price-table { font-size: 0.82rem; }
  .price-table thead th,
  .price-table tbody td { padding: 10px 10px; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: #fff;
    padding: 20px 32px;
    gap: 16px;
    box-shadow: var(--shadow-lg);
  }
  .nav-toggle { display: flex; }
  .training-course-header { flex-direction: column; text-align: center; }
  .training-course-pricing { flex-direction: column; align-items: flex-start; }
  .product-grid { grid-template-columns: 1fr; }
  .product-card { grid-template-columns: 1fr; }
  .product-image { min-height: 200px; }
  .product-info { padding: 0 24px 24px; }
  .sw-feat-image { height: 150px; }
  .case-image { height: 160px; }
  .section-title { font-size: 1.8rem; }
  .hero-text h1 { font-size: 2rem; }
  .hero-visual { flex-direction: column; }
  .hero-card { padding: 16px 20px; }
  .hero-card .stats { grid-template-columns: repeat(4, 1fr); gap: 12px; }
  .hero-card .stat-num { font-size: 1.3rem; }
  .hero-carousel { width: 100%; }
  .section { padding: 60px 20px; }
  .footer-inner { grid-template-columns: 1fr; }
  .support-grid { grid-template-columns: 1fr; }
  .cases-grid { grid-template-columns: 1fr; }
  .process-steps { justify-content: flex-start; }
  .process-step { min-width: 60px; }
  .process-step::after { display: none; }
}

/* ---- Animations ---- */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Toast ---- */
.toast {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: #2D8C4A;
  color: #fff;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 600;
  z-index: 9999;
  box-shadow: var(--shadow-lg);
  animation: toastIn 0.3s ease, toastOut 0.3s ease 2.7s forwards;
}
@keyframes toastIn { from { opacity: 0; transform: translateX(-50%) translateY(-12px); } to { opacity: 1; transform: translateX(-50%) translateY(0); } }
@keyframes toastOut { from { opacity: 1; } to { opacity: 0; } }
