/* ========================================
   中科存域科技（南京）有限责任公司官网样式
   www.cunyutech.cn
   ======================================== */

/* CSS Variables */
:root {
  --primary-color: #0066cc;
  --primary-dark: #004c99;
  --primary-light: #e6f0ff;
  --accent-color: #00a0e9;
  --text-dark: #1a1a2e;
  --text-gray: #666666;
  --text-light: #999999;
  --bg-light: #f8f9fc;
  --bg-white: #ffffff;
  --border-color: #e5e9f0;
  --shadow-sm: 0 2px 8px rgba(0, 102, 204, 0.08);
  --shadow-md: 0 4px 20px rgba(0, 102, 204, 0.12);
  --shadow-lg: 0 8px 40px rgba(0, 102, 204, 0.16);
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --container-width: 1200px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-dark);
  background-color: var(--bg-white);
}

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

ul {
  list-style: none;
}

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

/* Container */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header & Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  z-index: 1000;
  transition: all var(--transition-normal);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-md);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0;
}

.logo-img {
  height: 38px;
  width: auto;
}

.logo-icon {
  width: auto;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-icon img {
  height: 40px;
  width: auto;
}

.logo-text {
  display: none;
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  padding: 8px 20px;
  font-size: 15px;
  color: var(--text-gray);
  border-radius: 6px;
  transition: all var(--transition-fast);
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-color);
  background: var(--primary-light);
}

.nav-cta {
  background: var(--primary-color) !important;
  color: white !important;
  margin-left: 12px;
}

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

/* Mobile Menu */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}

.mobile-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

/* Hero Section */
.hero {
  padding: 160px 0 100px;
  background: linear-gradient(135deg, #f0f5ff 0%, #e8f4ff 50%, #dbeaff 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(0, 160, 233, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

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

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--primary-light);
  color: var(--primary-color);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 24px;
}

.hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--primary-color);
  border-radius: 50%;
}

.hero h1 {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-dark);
  margin-bottom: 20px;
}

.hero h1 span {
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 18px;
  color: var(--text-gray);
  margin-bottom: 36px;
  max-width: 520px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: all var(--transition-fast);
  border: none;
}

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

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: var(--bg-white);
  color: var(--text-dark);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
  transform: translateY(-2px);
}

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

.hero-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.hero-card {
  background: var(--bg-white);
  border-radius: 12px;
  padding: 24px;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
}

.hero-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.hero-card-icon {
  width: 48px;
  height: 48px;
  background: var(--primary-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 24px;
}

.hero-card h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}

.hero-card p {
  font-size: 13px;
  color: var(--text-gray);
}

/* Stats Section */
.stats {
  padding: 80px 0;
  background: var(--bg-white);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.stat-item {
  text-align: center;
  padding: 24px;
}

.stat-number {
  font-size: 48px;
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-unit {
  font-size: 24px;
  color: var(--accent-color);
}

.stat-label {
  font-size: 15px;
  color: var(--text-gray);
  margin-top: 8px;
}

/* Products Section */
.products {
  padding: 100px 0;
  background: var(--bg-light);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-tag {
  display: inline-block;
  padding: 6px 16px;
  background: var(--primary-light);
  color: var(--primary-color);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 16px;
}

.section-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.section-desc {
  font-size: 16px;
  color: var(--text-gray);
  max-width: 600px;
  margin: 0 auto;
}

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

.product-card {
  background: var(--bg-white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.product-visual {
  height: 220px;
  background: linear-gradient(135deg, #0f1923 0%, #1a2744 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 20px;
}

.product-visual::before {
  content: '';
  position: absolute;
  width: 150%;
  height: 150%;
  background: radial-gradient(circle at 30% 50%, rgba(0, 102, 204, 0.15) 0%, transparent 50%);
}

.product-icon {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: none;
  position: relative;
  z-index: 1;
}

.product-content {
  padding: 28px;
}

.product-series {
  font-size: 12px;
  color: var(--primary-color);
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.product-name {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.product-model {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 16px;
}

.product-desc {
  font-size: 14px;
  color: var(--text-gray);
  line-height: 1.7;
  margin-bottom: 20px;
}

.product-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.spec-tag {
  padding: 4px 12px;
  background: var(--bg-light);
  color: var(--text-gray);
  border-radius: 4px;
  font-size: 12px;
}

.product-slogan {
  font-size: 14px;
  color: var(--primary-color);
  font-style: italic;
  padding-top: 16px;
  border-top: 1px solid var(--border-color);
}

/* Features Section */
.features {
  padding: 100px 0;
  background: var(--bg-white);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.feature-item {
  display: flex;
  gap: 20px;
  padding: 24px;
  background: var(--bg-light);
  border-radius: 12px;
  transition: all var(--transition-fast);
}

.feature-item:hover {
  background: var(--primary-light);
}

.feature-icon {
  width: 56px;
  height: 56px;
  background: var(--bg-white);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.feature-content h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.feature-content p {
  font-size: 14px;
  color: var(--text-gray);
  line-height: 1.7;
}

/* About Section */
.about {
  padding: 100px 0;
  background: var(--bg-light);
}

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

.about-text h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 24px;
}

.about-text p {
  font-size: 16px;
  color: var(--text-gray);
  margin-bottom: 20px;
  line-height: 1.8;
}

.about-list {
  margin-top: 32px;
}

.about-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  font-size: 15px;
  color: var(--text-dark);
}

.about-list li::before {
  content: '✓';
  width: 24px;
  height: 24px;
  background: var(--primary-light);
  color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
}

.about-visual {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.about-card {
  background: var(--bg-white);
  border-radius: 12px;
  padding: 32px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.about-card-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 28px;
  color: white;
}

.about-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
}

.about-card p {
  font-size: 14px;
  color: var(--text-gray);
}

/* Contact Section */
.contact {
  padding: 100px 0;
  background: var(--bg-white);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

.contact-info h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 24px;
}

.contact-info > p {
  font-size: 16px;
  color: var(--text-gray);
  margin-bottom: 40px;
  line-height: 1.8;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-icon {
  width: 48px;
  height: 48px;
  background: var(--primary-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.contact-item h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
}

.contact-item p {
  font-size: 14px;
  color: var(--text-gray);
}

.contact-form {
  background: var(--bg-light);
  border-radius: 16px;
  padding: 40px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  transition: all var(--transition-fast);
  background: var(--bg-white);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* Footer */
.footer {
  background: var(--text-dark);
  color: white;
  padding: 60px 0 30px;
}

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

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

.footer-brand .logo-name,
.footer-brand .logo-domain {
  color: white;
}

.footer-brand p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
}

.footer-links h4 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 20px;
  color: white;
}

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

.footer-links a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--accent-color);
}

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

.footer-bottom p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.5);
  margin-left: 20px;
}

.footer-bottom a:hover {
  color: var(--accent-color);
}

/* Page Header */
.page-header {
  padding: 140px 0 80px;
  background: linear-gradient(135deg, #f0f5ff 0%, #e8f4ff 100%);
  text-align: center;
}

.page-header h1 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 16px;
}

.page-header p {
  font-size: 18px;
  color: var(--text-gray);
}

/* About Page Content */
.about-page {
  padding: 80px 0;
}

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

.about-page-text h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 24px;
}

.about-page-text p {
  font-size: 16px;
  color: var(--text-gray);
  line-height: 1.8;
  margin-bottom: 20px;
}

.about-values {
  margin-top: 40px;
}

.about-values h3 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 24px;
}

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

.value-item {
  background: var(--bg-light);
  border-radius: 12px;
  padding: 24px;
}

.value-item h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.value-item p {
  font-size: 14px;
  color: var(--text-gray);
}

/* Timeline */
.timeline {
  margin-top: 60px;
}

.timeline h3 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 32px;
}

.timeline-list {
  position: relative;
  padding-left: 32px;
}

.timeline-list::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border-color);
}

.timeline-item {
  position: relative;
  padding-bottom: 32px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -28px;
  top: 4px;
  width: 12px;
  height: 12px;
  background: var(--primary-color);
  border-radius: 50%;
}

.timeline-year {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 4px;
}

.timeline-item h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.timeline-item p {
  font-size: 14px;
  color: var(--text-gray);
}

/* Products Page */
.products-page {
  padding: 80px 0;
}

.products-detail {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.product-detail {
  background: var(--bg-white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.product-detail-header {
  background: linear-gradient(135deg, var(--primary-light), #dbeaff);
  padding: 60px;
  display: flex;
  align-items: center;
  gap: 40px;
}

.product-detail-icon {
  width: 120px;
  height: 120px;
  background: var(--bg-white);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 56px;
  box-shadow: var(--shadow-md);
  flex-shrink: 0;
}

.product-image {
  width: 450px;
  flex-shrink: 0;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(135deg, #0f1923 0%, #1a2744 100%);
  box-shadow: 0 8px 32px rgba(0, 102, 204, 0.2), inset 0 1px 0 rgba(255,255,255,0.1);
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  border-radius: 8px;
}

.product-detail-info h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 8px;
}

.product-detail-info .series {
  font-size: 14px;
  color: var(--primary-color);
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.product-detail-info .model {
  font-size: 16px;
  color: var(--text-gray);
  margin-bottom: 16px;
}

.product-detail-info .slogan {
  font-size: 18px;
  color: var(--primary-color);
  font-style: italic;
}

.product-detail-content {
  padding: 48px 60px;
}

.product-detail-content h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 20px;
}

.product-detail-content p {
  font-size: 15px;
  color: var(--text-gray);
  line-height: 1.8;
  margin-bottom: 24px;
}

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

.spec-item {
  background: var(--bg-light);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
}

.spec-item .value {
  font-size: 28px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 4px;
}

.spec-item .label {
  font-size: 13px;
  color: var(--text-gray);
}

/* Contact Page */
.contact-page {
  padding: 80px 0;
}

.contact-page-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-page-info {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.contact-page-item {
  background: var(--bg-light);
  border-radius: 12px;
  padding: 24px;
}

.contact-page-item h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.contact-page-item p {
  font-size: 14px;
  color: var(--text-gray);
  line-height: 1.7;
}

.map-placeholder {
  height: 300px;
  background: var(--bg-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  margin-top: 32px;
}

/* Responsive */
@media (max-width: 1024px) {
  .container {
    max-width: 100%;
  }
  
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-desc {
    margin: 0 auto 36px;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .hero-visual {
    display: none;
  }
  
  .hero h1 {
    font-size: 36px;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .about-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .contact-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
  
  .product-detail-header {
    flex-direction: column;
    text-align: center;
  }
  
  .product-detail-content {
    padding: 32px;
  }
  
  .specs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav {
    display: none;
  }
  
  .mobile-toggle {
    display: flex;
  }
  
  .hero {
    padding: 120px 0 60px;
  }
  
  .hero h1 {
    font-size: 28px;
  }
  
  .hero-desc {
    font-size: 16px;
  }
  
  .hero-buttons {
    flex-direction: column;
  }
  
  .btn {
    width: 100%;
    justify-content: center;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .stat-number {
    font-size: 32px;
  }
  
  .products-grid {
    grid-template-columns: 1fr;
  }
  
  .section-title {
    font-size: 28px;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
  
  .footer-bottom a {
    margin: 0 10px;
  }
  
  .about-page-content {
    grid-template-columns: 1fr;
  }
  
  .value-grid {
    grid-template-columns: 1fr;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .contact-page-content {
    grid-template-columns: 1fr;
  }
  
  .product-detail-header {
    padding: 32px;
  }
  
  .specs-grid {
    grid-template-columns: 1fr;
  }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.animate-fadeInUp {
  animation: fadeInUp 0.6s ease forwards;
}

.animate-pulse {
  animation: pulse 2s ease-in-out infinite;
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.mt-4 {
  margin-top: 16px;
}

.mb-4 {
  margin-bottom: 16px;
}

.mb-8 {
  margin-bottom: 32px;
}

/* ============================
   Solutions Pages
   ============================ */

/* Overview stats (solutions hub) */
.overview-stats {
  display: flex;
  gap: 32px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 40px;
}
.overview-stat {
  text-align: center;
  min-width: 100px;
}
.overview-stat .stat-number {
  font-size: 48px;
  font-weight: 800;
  color: var(--primary, #0057ff);
  line-height: 1;
}
.overview-stat .stat-unit {
  font-size: 20px;
  font-weight: 600;
  color: #333;
}
.overview-stat .stat-label {
  font-size: 14px;
  color: #666;
  margin-top: 4px;
}

/* Scenario overview (detail pages) */
.scenario-overview {
  padding: 60px 0;
  background: #f9fafb;
}
.overview-lead {
  font-size: 18px;
  color: #444;
  line-height: 1.8;
  max-width: 900px;
  margin: 0 auto 40px;
  text-align: center;
}
.overview-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.flow-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.flow-icon {
  font-size: 36px;
}
.flow-label {
  font-size: 14px;
  font-weight: 600;
  color: #333;
}
.flow-arrow {
  font-size: 24px;
  color: #aaa;
}
.flow-arrow.none {
  visibility: hidden;
}
.flow-note {
  text-align: center;
  font-size: 15px;
  color: #666;
  max-width: 700px;
  margin: 0 auto;
}

/* Scenario hero image */
.scenario-hero {
  padding: 40px 0;
  background: #0a0f1e;
}
.hero-scenario-img {
  width: 100%;
  max-width: 900px;
  display: block;
  margin: 0 auto;
  border-radius: 12px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.4);
}

/* Pain points */
.scenario-pain {
  padding: 80px 0;
}
.pain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.pain-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 28px;
  transition: box-shadow 0.3s;
}
.pain-card:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.pain-icon {
  font-size: 32px;
  margin-bottom: 12px;
}
.pain-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 8px;
}
.pain-card p {
  font-size: 15px;
  color: #555;
  line-height: 1.7;
}

/* Solution */
.scenario-solution {
  padding: 80px 0;
  background: #f9fafb;
}
.solution-detail {
  max-width: 800px;
  margin: 0 auto;
}
.solution-detail p {
  font-size: 17px;
  color: #333;
  line-height: 1.8;
  margin-bottom: 20px;
}
.solution-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.solution-list li {
  font-size: 16px;
  color: #444;
  line-height: 1.8;
  padding: 10px 0 10px 28px;
  position: relative;
  border-bottom: 1px solid #eee;
}
.solution-list li:last-child {
  border-bottom: none;
}
.solution-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary, #0057ff);
  font-weight: bold;
}

/* Effects */
.scenario-effects {
  padding: 80px 0;
}
.effects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.effect-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 28px 20px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}
.effect-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}
.effect-icon {
  font-size: 32px;
  margin-bottom: 12px;
}
.effect-num {
  font-size: 36px;
  font-weight: 800;
  color: var(--primary, #0057ff);
  line-height: 1;
  margin-bottom: 8px;
}
.effect-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 8px;
}
.effect-card p {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}

/* ============================
   Solutions Hub Page (solutions.html)
   ============================ */
.scenarios-list {
  padding: 80px 0;
}
.scenario-cards {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 40px;
}
.scenario-card {
  display: grid;
  grid-template-columns: 420px 1fr;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 16px;
  overflow: hidden;
  transition: box-shadow 0.3s;
}
.scenario-card:hover {
  box-shadow: 0 8px 40px rgba(0,0,0,0.1);
}
.scenario-card-img {
  overflow: hidden;
}
.scenario-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s;
}
.scenario-card:hover .scenario-card-img img {
  transform: scale(1.04);
}
.scenario-card-content {
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.scenario-card-tag {
  font-size: 12px;
  font-weight: 600;
  color: var(--primary, #0057ff);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}
.scenario-card-content h3 {
  font-size: 24px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 4px;
}
.scenario-card-subtitle {
  font-size: 15px;
  color: #888;
  margin-bottom: 12px;
}
.scenario-card-desc {
  font-size: 15px;
  color: #555;
  line-height: 1.7;
  margin-bottom: 16px;
}
.scenario-card-metrics {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.scenario-card-metrics .metric {
  font-size: 13px;
  color: #666;
  background: #f5f7ff;
  padding: 4px 10px;
  border-radius: 20px;
}
.scenario-card-metrics .metric strong {
  color: var(--primary, #0057ff);
}

/* Button outline style */
.btn-outline {
  display: inline-block;
  padding: 10px 24px;
  border: 2px solid var(--primary, #0057ff);
  color: var(--primary, #0057ff);
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.3s;
  align-self: flex-start;
}
.btn-outline:hover {
  background: var(--primary, #0057ff);
  color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
  .scenario-card {
    grid-template-columns: 1fr;
  }
  .scenario-card-img {
    height: 220px;
  }
  .overview-stats {
    gap: 20px;
  }
  .overview-stat .stat-number {
    font-size: 36px;
  }
  .effects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .scenario-card-content {
    padding: 24px 20px;
  }
}
