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

:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --secondary: #1e40af;
  --accent: #f59e0b;
  --background: #f8fafc;
  --surface: #ffffff;
  --text-primary: #1e293b;
  --text-secondary: #64748b;
  --text-light: #94a3b8;
  --border: #e2e8f0;
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
  --radius: 8px;
  --radius-lg: 12px;
  --transition: all 0.3s ease;
  --font-sans: 'DM Sans', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: 'Noto Serif SC', Georgia, serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--background);
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

/* ===== Layout ===== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

/* ===== Navigation ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  transition: var(--transition);
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow);
}

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

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

.logo-icon {
  width: 90px;
  height: 90px;
  object-fit: contain;
}

.logo-text-img {
  height: 64px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-link {
  font-size: 17px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--primary);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-cta {
  margin-left: 16px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.5);
}

.btn-secondary {
  background: var(--surface);
  color: var(--primary);
  border: 2px solid var(--primary);
}

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

.btn-lg {
  padding: 16px 32px;
  font-size: 16px;
}

/* ===== Hero Section ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 50%, #bfdbfe 100%);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-gradient {
  position: absolute;
  top: -50%;
  right: -20%;
  width: 80%;
  height: 150%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.1) 0%, transparent 70%);
  animation: float 15s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(30px, -30px) rotate(5deg); }
  66% { transform: translate(-20px, 20px) rotate(-5deg); }
}

.hero-particles {
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(circle at 20% 30%, rgba(37, 99, 235, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(245, 158, 11, 0.1) 0%, transparent 50%);
  animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.8; }
  50% { opacity: 1; }
}

.hero-content {
  text-align: center;
  z-index: 10;
  padding: 120px 24px 80px;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 24px;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 40px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-light);
  font-size: 14px;
}

.scroll-arrow {
  width: 24px;
  height: 24px;
  border-right: 2px solid var(--text-light);
  border-bottom: 2px solid var(--text-light);
  transform: rotate(45deg);
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: rotate(45deg) translateY(0); }
  40% { transform: rotate(45deg) translateY(10px); }
  60% { transform: rotate(45deg) translateY(5px); }
}

/* ===== Section Headers ===== */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
}

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

/* ===== Services Section ===== */
.services {
  background: var(--surface);
}

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

.service-card {
  padding: 32px;
  background: var(--background);
  border-radius: var(--radius-lg);
  transition: var(--transition);
  border: 1px solid transparent;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.service-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(30, 64, 175, 0.1) 100%);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.service-icon svg {
  width: 28px;
  height: 28px;
  color: var(--primary);
}

.service-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.service-desc {
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ===== Stats Section ===== */
.stats {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: white;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  text-align: center;
}

.stat-item {
  padding: 24px;
}

.stat-number {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-unit {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  opacity: 0.9;
  margin-left: 4px;
  vertical-align: baseline;
}

.stat-label {
  font-size: 1rem;
  opacity: 0.85;
  margin-top: 8px;
}

/* ===== Process Section ===== */
.process {
  background: var(--background);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--border);
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  padding: 24px;
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.timeline-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.timeline-marker {
  width: 16px;
  height: 16px;
  background: var(--primary);
  border-radius: 50%;
  margin-bottom: 16px;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.2);
}

.timeline-number {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  opacity: 0.3;
  margin-bottom: 8px;
}

.timeline-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.timeline-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* ===== Team Section ===== */
.team {
  background: var(--surface);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 32px;
}

.team-intro {
  text-align: center;
  margin-bottom: 48px;
}

.team-intro-text {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 900px;
  margin: 0 auto;
}

.team-card {
  text-align: center;
  padding: 0;
  background: var(--surface);
  border-radius: var(--radius-lg);
  transition: var(--transition);
  border: 1px solid var(--border);
  overflow: hidden;
}

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

.team-card-img {
  width: 100%;
  height: auto;
  display: block;
}

/* ===== Cases Section ===== */
.cases {
  background: var(--background);
}

.cases-carousel {
  position: relative;
  overflow: visible;
  padding-right: 0;
}

.cases-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.case-card {
  padding: 24px;
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

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

.case-score {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent) 0%, #d97706 100%);
  color: white;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.case-name {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.case-origin {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.case-result {
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 12px;
}

.case-story {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

.cases-nav {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
}

.case-nav-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.case-nav-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.case-nav-btn svg {
  width: 24px;
  height: 24px;
}

/* ===== FAQ Section ===== */
.faq {
  background: var(--surface);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  text-align: left;
  transition: var(--transition);
}

.faq-question:hover {
  color: var(--primary);
}

.faq-arrow {
  width: 24px;
  height: 24px;
  transition: var(--transition);
}

.faq-item.active .faq-arrow {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-answer p {
  padding-bottom: 24px;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* ===== Contact Section ===== */
.contact {
  background: var(--background);
}

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

.contact-info h2 {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.contact-info p {
  color: var(--text-secondary);
  margin-bottom: 32px;
  font-size: 1.1rem;
}

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

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

.contact-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(30, 64, 175, 0.1) 100%);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-icon svg {
  width: 24px;
  height: 24px;
  color: var(--primary);
}

.contact-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 4px;
}

.contact-value {
  font-size: 1.1rem;
  font-weight: 600;
}

.phone-link {
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.phone-link:hover {
  color: var(--primary);
}

.contact-form {
  background: var(--surface);
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

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

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

.form-group label .required {
  color: #ef4444;
  font-weight: 700;
  margin-right: 2px;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-size: 1rem;
  transition: var(--transition);
  font-family: inherit;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
}

.form-group input:invalid:not(:placeholder-shown) {
  border-color: #ef4444;
}

.form-group input:invalid:not(:placeholder-shown):focus {
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.field-error {
  display: none;
  font-size: 0.85rem;
  color: #ef4444;
  margin-top: 6px;
}

.field-error.visible {
  display: block;
}

.contact-form .btn {
  width: 100%;
  padding: 16px;
}

/* ===== Footer ===== */
.footer {
  background: #3d4a5f;
  color: white;
  padding: 60px 0 30px;
}

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

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

.footer-brand .logo-text {
  color: white;
}

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

.footer-links h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
}

.footer-links a:hover {
  color: white;
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
}

/* ===== About Section ===== */
.about {
  background: var(--surface);
}

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

.about-image img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.about-content .section-title {
  text-align: left;
  margin-bottom: 24px;
}

.about-text {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
  font-size: 1.05rem;
}

.about-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.about-list li {
  padding: 10px 0;
  color: var(--text-primary);
  font-size: 1.05rem;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  line-height: 1.6;
}

.about-list-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ===== Model Section ===== */
.model {
  background: var(--background);
}

.model-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.model-pain-card {
  background: linear-gradient(135deg, #1e3a5f 0%, #2d5a87 100%);
  border-radius: var(--radius-lg);
  padding: 32px;
  color: white;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.model-pain-card::before {
  content: '❓';
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 8rem;
  opacity: 0.15;
}

.model-pain-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

.model-pain-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.model-pain-item {
  display: flex;
  gap: 8px;
  font-size: 0.95rem;
  line-height: 1.6;
}

.model-pain-num {
  color: #f0d9a0;
  font-weight: 700;
  flex-shrink: 0;
}

.model-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.model-feature {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.model-feature:hover {
  transform: translateX(8px);
  box-shadow: var(--shadow-lg);
}

.model-feature-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(30, 64, 175, 0.1) 100%);
  border-radius: var(--radius);
}

.model-feature-text h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-primary);
}

.model-feature-text p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

/* ===== Process Diagram (Flowchart) ===== */
.flowchart-diagram {
  max-width: 100%;
  margin: 0 auto 48px;
  background: linear-gradient(180deg, #1a3a5c 0%, #0f2744 100%);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  box-shadow: var(--shadow-lg);
}

.flow-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.flow-row-arrow {
  justify-content: center;
  padding: 8px 0;
}

.flow-node {
  background: rgba(255, 255, 255, 0.95);
  color: #1a3a5c;
  padding: 18px 36px;
  border-radius: 12px;
  font-size: 1.15rem;
  font-weight: 600;
  text-align: center;
  min-width: 180px;
  white-space: nowrap;
}

.flow-node-sub {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 200px;
  white-space: normal;
}

.flow-node-sub small {
  font-size: 0.85rem;
  font-weight: 400;
  color: #6b7c93;
}

.flow-node-wide {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 300px;
  white-space: normal;
}

.flow-node-wide small {
  font-size: 0.85rem;
  font-weight: 400;
  color: #6b7c93;
}

.flow-arrow-right,
.flow-arrow-left {
  width: 40px;
  height: 3px;
  background: #f0d9a0;
  position: relative;
  flex-shrink: 0;
}

.flow-arrow-right::after {
  content: '';
  position: absolute;
  right: -2px;
  top: 50%;
  transform: translateY(-50%);
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 12px solid #f0d9a0;
}

.flow-arrow-left::after {
  content: '';
  position: absolute;
  left: -2px;
  top: 50%;
  transform: translateY(-50%);
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-right: 12px solid #f0d9a0;
}

.flow-arrow-down {
  width: 3px;
  height: 32px;
  background: #f0d9a0;
  position: relative;
}

.flow-arrow-down::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 12px solid #f0d9a0;
}

.flow-spacer {
  width: 140px;
  flex-shrink: 0;
}

/* ===== Process Section ===== */
.process {
  background: var(--surface);
}

.process .container {
  max-width: 100%;
  padding: 0 40px;
}

/* ===== Service Steps Section ===== */
.service-steps {
  background: var(--surface);
}

.service-steps .container {
  max-width: 100%;
  padding: 0 40px;
}

.flowchart {
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.flow-step {
  width: 100%;
  background: var(--background);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 2px solid var(--border);
}

.flow-step-header {
  background: linear-gradient(135deg, #1e3a5f 0%, #2d5a87 100%);
  color: white;
  text-align: center;
  padding: 16px 24px;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 2px;
}

.flow-step-body {
  padding: 20px;
  display: flex;
  gap: 16px;
  justify-content: center;
}

.flow-sub-box {
  flex: 1;
  background: #1e3a5f;
  border-radius: var(--radius);
  padding: 16px;
  color: white;
}

.flow-sub-box.flow-sub-full {
  max-width: 100%;
  margin: 0 auto;
}

.flow-sub-title {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 12px;
  text-align: center;
  color: #f0d9a0;
}

.flow-sub-items {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.flow-sub-items span {
  background: rgba(255, 255, 255, 0.12);
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 0.9rem;
  white-space: nowrap;
}

.flow-arrow {
  width: 2px;
  height: 32px;
  background: var(--primary);
  position: relative;
}

.flow-arrow::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 10px solid var(--primary);
}

/* ===== Pricing Section ===== */
.pricing {
  background: var(--background);
}

.pricing-image {
  margin-bottom: 48px;
}

.pricing-image img {
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
  display: block;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.pricing-card {
  padding: 32px;
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  border: 2px solid transparent;
}

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

.pricing-card.featured {
  border-color: var(--primary);
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.15);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  right: 24px;
  background: linear-gradient(135deg, var(--accent) 0%, #d97706 100%);
  color: white;
  padding: 4px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

.pricing-header h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.pricing-price {
  margin-bottom: 20px;
}

.price-amount {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
}

.price-unit {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-left: 4px;
}

.pricing-features {
  list-style: none;
  padding: 0;
}

.pricing-features li {
  padding: 8px 0;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  border-bottom: 1px solid var(--border);
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-features li::before {
  content: '✓';
  color: var(--primary);
  font-weight: 700;
  margin-right: 8px;
}

/* ===== Featured Team Card ===== */
.featured-team {
  border: 2px solid var(--primary);
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.15);
}

/* ===== Scroll Animations ===== */
.animate-item {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-item.visible {
  opacity: 1;
  transform: translateY(0);
}

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

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: var(--transition);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--surface);
  z-index: 999;
  padding: 24px;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

.mobile-menu.active {
  transform: translateX(0);
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mobile-nav-link {
  display: block;
  padding: 16px;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.mobile-nav-link:hover {
  color: var(--primary);
}

.mobile-cta {
  margin-top: 16px;
  text-align: center;
}

/* ===== Fixed WeChat QR Code ===== */
.fixed-wechat {
  position: fixed;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 9999;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 20px 16px;
  box-shadow: 
    0 4px 20px rgba(0, 0, 0, 0.1),
    0 8px 40px rgba(7, 193, 96, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.5);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  animation: slideIn 0.6s ease-out 0.5s both;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-50%) translateX(100%);
  }
  to {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
  }
}

.fixed-wechat:hover {
  transform: translateY(-50%) translateX(-12px);
  box-shadow: 
    0 8px 30px rgba(0, 0, 0, 0.15),
    0 12px 50px rgba(7, 193, 96, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.wechat-qr-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.wechat-qr-image {
  width: 130px;
  height: 130px;
  border-radius: 12px;
  object-fit: cover;
  border: 2px solid rgba(7, 193, 96, 0.2);
  box-shadow: 
    0 2px 8px rgba(0, 0, 0, 0.08),
    inset 0 0 0 1px rgba(7, 193, 96, 0.1);
  position: relative;
  overflow: hidden;
}

.wechat-qr-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(7, 193, 96, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.wechat-qr-text {
  font-size: 13px;
  font-weight: 600;
  color: #07c160;
  text-align: center;
  margin: 0;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 6px;
}

.wechat-qr-text::before {
  content: '';
  width: 12px;
  height: 12px;
  background: #07c160;
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(7, 193, 96, 0.4);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(7, 193, 96, 0);
  }
}

/* ===== Responsive Design ===== */
@media (max-width: 1024px) {
  .cases-carousel {
    padding-right: 160px;
  }

  .cases-track {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-content {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links,
  .nav-cta,
  .fixed-wechat {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .mobile-menu {
    display: block;
  }

  .section {
    padding: 60px 0;
  }

  .hero-content {
    padding: 100px 24px 60px;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
  }

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

  .timeline::before {
    display: none;
  }

  .cases-carousel {
    padding-right: 0;
  }

  .cases-track {
    grid-template-columns: 1fr;
  }

  .about-wrapper {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .about-image {
    order: 1;
  }

  .about-content {
    order: 2;
  }

  .model-wrapper {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .model-pain-card {
    order: 1;
  }

  .model-content {
    order: 2;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn-lg {
    padding: 14px 24px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 24px;
  }
}

/* ===== Custom Modal ===== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal-overlay.show {
  opacity: 1;
}

.modal-box {
  background: white;
  border-radius: 16px;
  padding: 40px;
  max-width: 400px;
  width: 90%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.modal-overlay.show .modal-box {
  transform: scale(1);
}

.modal-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: bold;
  margin: 0 auto 20px;
  color: white;
}

.modal-success .modal-icon {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.modal-error .modal-icon {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.modal-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.modal-message {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
  line-height: 1.6;
}

.modal-btn {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  border: none;
  padding: 12px 40px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.modal-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.4);
}

