/* ============================================================
   CHH INFO - 苏州承和信息技术有限公司
   Main Stylesheet
   ============================================================ */

/* ----- CSS Variables ----- */
:root {
  --primary: #00d4aa;
  --primary-dark: #00a88a;
  --primary-glow: rgba(0, 212, 170, 0.3);
  --accent-blue: #0088ff;
  --accent-purple: #6c5ce7;
  --bg-dark: #0a0a0f;
  --bg-card: #0f0f1a;
  --bg-section-alt: #0d0d1a;
  --bg-section: #0a0a0f;
  --text-primary: #f0f0f5;
  --text-secondary: #8899aa;
  --text-muted: #556677;
  --border-color: rgba(0, 212, 170, 0.15);
  --glass-bg: rgba(10, 10, 15, 0.70);
  --glass-border: rgba(0, 212, 170, 0.1);
  --header-height: 72px;
  --section-py: 120px;
  --font-sans: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

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

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

body {
  font-family: var(--font-sans);
  background: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.3s ease;
}
a:hover { color: var(--primary-dark); }

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

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--text-primary), var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-header p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto;
}

/* ----- Glassmorphism Header ----- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  transition: all 0.3s ease;
}
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary) !important;
  text-shadow: 0 0 12px rgba(0, 212, 170, 0.5), 0 0 30px rgba(0, 212, 170, 0.2);
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.logo-sub {
  font-size: 0.6rem;
  font-weight: 400;
  color: var(--text-secondary);
  text-shadow: none;
  letter-spacing: 1px;
}
.logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary), var(--accent-blue));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.1rem;
  color: #fff;
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav > li {
  list-style: none;
  position: relative;
}
.nav > li > a {
  display: block;
  padding: 8px 16px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  border-radius: 6px;
  transition: all 0.3s ease;
}
.nav > li > a:hover,
.nav > li > a.active {
  color: var(--primary);
  background: rgba(0, 212, 170, 0.08);
}

/* Dropdown Menu */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: rgba(15, 15, 26, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 8px;
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}
.nav > li:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(4px);
}
.dropdown-menu a {
  display: block;
  padding: 10px 16px;
  color: var(--text-secondary);
  font-size: 0.85rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  white-space: nowrap;
}
.dropdown-menu a:hover {
  color: var(--primary);
  background: rgba(0, 212, 170, 0.08);
}

.btn-consult {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff !important;
  padding: 10px 24px !important;
  border-radius: 8px !important;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease !important;
  box-shadow: 0 4px 20px rgba(0, 212, 170, 0.25);
}
.btn-consult:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 212, 170, 0.35);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* ============================================================
   HERO SLIDER
   ============================================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
}

.hero-slider {
  position: absolute;
  inset: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}
.hero-slide.active {
  opacity: 1;
}
.slide-bg-1 {
  position: absolute;
  inset: 0;
  background: url('../images/hero-slide1.jpg') center center / cover no-repeat;
}
.slide-bg-2 {
  position: absolute;
  inset: 0;
  background: url('../images/hero-slide2.jpg') center center / cover no-repeat;
}
.slide-bg-3 {
  position: absolute;
  inset: 0;
  background: url('../images/hero-slide3.jpg') center center / cover no-repeat;
}
.slide-bg-4 {
  position: absolute;
  inset: 0;
  background: url('../images/hero-slide4.jpg') center center / cover no-repeat;
}
.slide-bg-5 {
  position: absolute;
  inset: 0;
  background: url('../images/hero-slide5.jpg') center center / cover no-repeat;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10, 10, 15, 0.45), rgba(10, 10, 15, 0.20));
  z-index: 1;
}

.hero-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 40px;
  padding-top: var(--header-height);
}
.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 24px;
  max-width: 800px;
  background: linear-gradient(135deg, #ffffff, var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-content p {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 640px;
  margin-bottom: 40px;
  line-height: 1.8;
}
.hero-buttons {
  display: flex;
  gap: 16px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  text-decoration: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  box-shadow: 0 4px 24px rgba(0, 212, 170, 0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 212, 170, 0.45);
  color: #fff;
}
.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.25);
}
.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

/* Slider Dots */
.slider-dots {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 12px;
}
.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.4s ease;
  border: none;
}
.slider-dot.active {
  background: var(--primary);
  box-shadow: 0 0 20px var(--primary-glow);
  width: 32px;
  border-radius: 5px;
}

/* Scroll Down Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  margin-left: 200px;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: opacity 0.3s ease;
  animation: fadeInUp 2s ease-in-out infinite;
}
.scroll-text {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 300;
}
.scroll-mouse {
  width: 22px;
  height: 34px;
  border: 2px solid rgba(0, 212, 170, 0.6);
  border-radius: 12px;
  position: relative;
  box-sizing: border-box;
  animation: scrollBounce 2s ease-in-out infinite;
}
.scroll-mouse-wheel {
  width: 3px;
  height: 8px;
  background: rgba(0, 212, 170, 0.7);
  border-radius: 2px;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  animation: wheelScroll 2s ease-in-out infinite;
}
@keyframes scrollBounce {
  0%, 100% {
    transform: translateY(0);
    opacity: 0.4;
  }
  50% {
    transform: translateY(5px);
    opacity: 1;
  }
}
@keyframes wheelScroll {
  0% { opacity: 1; transform: translateX(-50%) translateY(0); }
  100% { opacity: 0; transform: translateX(-50%) translateY(10px); }
}
@keyframes fadeInUp {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}
.scroll-indicator:hover .scroll-text {
  color: rgba(255, 255, 255, 0.7);
}
.scroll-indicator:hover .scroll-mouse {
  border-color: rgba(0, 212, 170, 0.9);
}
.scroll-indicator:hover .scroll-mouse-wheel {
  background: rgba(0, 212, 170, 0.95);
}

/* ============================================================
   SVG SLIDE PATTERNS
   ============================================================ */
.slide-svg {
  width: 100%;
  height: 100%;
}

/* ============================================================
   SECTION BASE
   ============================================================ */
.section {
  padding: var(--section-py) 0;
  position: relative;
}
.section-alt {
  background: var(--bg-section-alt);
}
.section-dark {
  background: var(--bg-section);
}

/* ============================================================
   SERVICE SECTIONS (Z-Layout)
   ============================================================ */
.service-section {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}
.service-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 212, 170, 0.03), transparent 70%);
  pointer-events: none;
}
.service-section:nth-child(even)::before {
  right: auto;
  left: -20%;
}

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

.service-text h3 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 8px;
  background: linear-gradient(135deg, var(--text-primary), var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.service-tag {
  display: inline-block;
  padding: 4px 14px;
  background: rgba(0, 212, 170, 0.1);
  border: 1px solid rgba(0, 212, 170, 0.2);
  border-radius: 20px;
  font-size: 0.8rem;
  color: var(--primary);
  margin-bottom: 16px;
}
.service-text p {
  color: var(--text-secondary);
  line-height: 1.9;
  margin-bottom: 16px;
  font-size: 0.95rem;
}
.service-features {
  list-style: none;
  margin: 20px 0 28px;
}
.service-features li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  color: var(--text-secondary);
  font-size: 0.9rem;
}
.service-features li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--primary);
}

.btn-learn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: transparent;
  color: var(--primary);
  border: 1px solid rgba(0, 212, 170, 0.3);
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  margin-top: 8px;
}
.btn-learn:hover {
  background: rgba(0, 212, 170, 0.1);
  border-color: var(--primary);
  transform: translateX(4px);
  color: var(--primary);
}
.btn-learn .arrow {
  transition: transform 0.3s ease;
}
.btn-learn:hover .arrow {
  transform: translateX(4px);
}

/* Service Illustration */
.service-illustration {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 360px;
  padding: 24px;
}
.service-illustration::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 24px;
  border: 1.5px solid rgba(0, 212, 170, 0.08);
  transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
  opacity: 0;
}
.service-illustration:hover::before {
  opacity: 1;
  border-color: rgba(0, 212, 170, 0.5);
  box-shadow:
    0 0 20px rgba(0, 212, 170, 0.15),
    0 0 40px rgba(0, 212, 170, 0.08),
    0 0 80px rgba(0, 212, 170, 0.04),
    inset 0 0 20px rgba(0, 212, 170, 0.06);
  animation: glowPulse 2.5s ease-in-out infinite;
}
@keyframes glowPulse {
  0%, 100% {
    box-shadow:
      0 0 20px rgba(0, 212, 170, 0.15),
      0 0 40px rgba(0, 212, 170, 0.08),
      0 0 80px rgba(0, 212, 170, 0.04),
      inset 0 0 20px rgba(0, 212, 170, 0.06);
    border-color: rgba(0, 212, 170, 0.4);
  }
  50% {
    box-shadow:
      0 0 30px rgba(0, 212, 170, 0.25),
      0 0 60px rgba(0, 212, 170, 0.12),
      0 0 120px rgba(0, 212, 170, 0.06),
      inset 0 0 30px rgba(0, 212, 170, 0.1);
    border-color: rgba(0, 212, 170, 0.7);
  }
}

.service-illustration svg {
  max-width: 100%;
  height: auto;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  z-index: 1;
}
.service-illustration:hover svg {
  transform: scale(1.05) translateY(-8px);
}
.service-illustration::after {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 212, 170, 0.06), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* ============================================================
   TOOLS SECTION
   ============================================================ */
.tools-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* Terminal Animation */
.terminal-window {
  background: #0d0d14;
  border: 1px solid rgba(0, 212, 170, 0.15);
  border-radius: 12px;
  overflow: hidden;
  font-family: "Menlo", "Consolas", monospace;
  font-size: 0.8rem;
}
.terminal-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid rgba(0, 212, 170, 0.1);
}
.terminal-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.terminal-dot.red { background: #ff5f56; }
.terminal-dot.yellow { background: #ffbd2e; }
.terminal-dot.green { background: #27c93f; }
.terminal-body {
  padding: 20px;
  min-height: 280px;
  color: #c0c0c0;
  line-height: 1.8;
}
.terminal-line {
  opacity: 0;
  animation: terminalTyping 0.5s ease forwards;
}
.terminal-line .prompt { color: var(--primary); }
.terminal-line .cmd { color: #e0e0e0; }
.terminal-line .info { color: #8899aa; }
.terminal-line .success { color: #27c93f; }
.terminal-line .highlight { color: #ffbd2e; }

@keyframes terminalTyping {
  to { opacity: 1; }
}

/* Tool Features */
.tool-features h3 {
  font-size: 2rem;
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--text-primary), var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.tool-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
}
.tool-stat {
  text-align: center;
  padding: 24px 16px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(0, 212, 170, 0.1);
  border-radius: 12px;
}
.tool-stat .number {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary);
}
.tool-stat .label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ============================================================
   CASE STUDIES (Accordion)
   ============================================================ */
.case-list {
  max-width: 900px;
  margin: 0 auto;
}
.case-item {
  border: 1px solid var(--border-color);
  border-radius: 12px;
  margin-bottom: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
  background: rgba(255,255,255,0.02);
}
.case-item:hover {
  border-color: rgba(0, 212, 170, 0.25);
}
.case-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 28px;
  cursor: pointer;
  user-select: none;
  transition: background 0.3s ease;
}
.case-header:hover {
  background: rgba(0, 212, 170, 0.03);
}
.case-header h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
}
.case-toggle {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 212, 170, 0.1);
  border-radius: 50%;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}
.case-item.active .case-toggle {
  transform: rotate(180deg);
}
.case-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.case-content {
  padding: 0 28px 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.case-content p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.8;
}
.case-content .case-details {
  list-style: none;
}
.case-content .case-details li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  color: var(--text-secondary);
  font-size: 0.85rem;
}
.case-content .case-details li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary);
}

/* ============================================================
   QUALIFICATIONS
   ============================================================ */
.qual-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  margin-bottom: 64px;
}
.qual-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-primary);
  transition: all 0.3s ease;
}
.qual-badge:hover {
  border-color: var(--primary);
  background: rgba(0, 212, 170, 0.05);
  transform: translateY(-2px);
}
.qual-badge .badge-icon {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 800;
  color: #fff;
}

/* Qualification Certificate Popup */
.qual-badge-wrapper {
  position: relative;
  display: inline-flex;
}
.qual-popup {
  position: absolute;
  bottom: calc(100% + 16px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 9999;
  pointer-events: none;
  filter: drop-shadow(0 20px 60px rgba(0, 0, 0, 0.6));
}
.qual-badge-wrapper:hover .qual-popup {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.qual-popup svg {
  display: block;
  width: 340px;
  height: auto;
}
/* Arrow pointing down from popup */
.qual-popup::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 16px;
  background: #0a0f1a;
  border-right: 1.5px solid rgba(0, 212, 170, 0.3);
  border-bottom: 1.5px solid rgba(0, 212, 170, 0.3);
  rotate: 45deg;
}

@media (max-width: 768px) {
  .qual-popup {
    position: fixed;
    bottom: auto;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    width: 90vw;
    max-width: 340px;
  }
  .qual-popup::after { display: none; }
  .qual-badge-wrapper:hover .qual-popup {
    transform: translate(-50%, -50%) scale(1);
  }
}

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}
.contact-info h3 {
  font-size: 1.5rem;
  margin-bottom: 24px;
}
.contact-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}
.contact-icon {
  width: 44px;
  height: 44px;
  background: rgba(0, 212, 170, 0.08);
  border: 1px solid rgba(0, 212, 170, 0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  cursor: default;
}
.contact-icon:hover {
  background: rgba(0, 212, 170, 0.15);
  border-color: var(--primary);
  box-shadow:
    0 0 20px rgba(0, 212, 170, 0.2),
    0 0 40px rgba(0, 212, 170, 0.08);
  transform: translateY(-3px) scale(1.08);
}
.contact-icon svg {
  width: 20px;
  height: 20px;
  transition: all 0.4s ease;
}
.contact-icon:hover svg {
  stroke: #ffffff !important;
  filter: drop-shadow(0 0 6px rgba(0, 212, 170, 0.6));
}
.contact-detail h4 {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 2px;
}
.contact-detail p {
  font-size: 0.95rem;
  color: var(--text-primary);
}

/* Contact Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-group label {
  font-size: 0.85rem;
  color: var(--text-secondary);
}
.form-group input,
.form-group textarea,
.form-group select {
  padding: 12px 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 0.9rem;
  font-family: var(--font-sans);
  transition: border-color 0.3s ease;
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}
.form-group textarea {
  min-height: 120px;
  resize: vertical;
}
.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238899aa' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
}
.form-group select option {
  background: #1a1a2e;
  color: var(--text-primary);
}
.btn-submit {
  padding: 14px 32px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}
.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 212, 170, 0.3);
}

/* QR Code Row */
.qr-row {
  display: flex;
  justify-content: flex-start;
  gap: 16px;
  flex-wrap: wrap;
}
.qr-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.qr-placeholder {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  padding: 8px;
}
.qr-placeholder:hover {
  border-color: var(--primary);
  box-shadow: 0 0 20px rgba(0, 212, 170, 0.18);
  transform: translateY(-3px);
}
.qr-placeholder svg {
  width: 60px;
  height: 60px;
  transition: transform 0.4s ease;
}
.qr-placeholder:hover svg {
  transform: scale(1.06);
}
.qr-label {
  font-size: 0.75rem;
  color: var(--text-secondary);
  font-weight: 500;
}
.qr-label:hover {
  color: var(--primary);
}

@media (max-width: 480px) {
  .qr-row {
    gap: 20px;
  }
  .qr-placeholder {
    width: 90px;
    height: 90px;
    padding: 8px;
  }
  .qr-placeholder svg {
    width: 64px;
    height: 64px;
  }
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  padding: 40px 0;
  border-top: 1px solid var(--border-color);
  text-align: center;
}
.footer p {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ============================================================
   PAGE HEADER (for detail pages)
   ============================================================ */
.page-header {
  padding-top: calc(var(--header-height) + 60px);
  padding-bottom: 60px;
  text-align: center;
  background: linear-gradient(180deg, rgba(0, 212, 170, 0.05), transparent);
}
.page-header h1 {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--text-primary), var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.page-header .breadcrumb {
  color: var(--text-muted);
  font-size: 0.9rem;
}
.page-header .breadcrumb a {
  color: var(--text-secondary);
}
.page-header .breadcrumb a:hover {
  color: var(--primary);
}

/* ============================================================
   DETAIL PAGE CONTENT
   ============================================================ */
.detail-section {
  padding: 80px 0;
}
.detail-section h2 {
  font-size: 1.8rem;
  margin-bottom: 24px;
  color: var(--text-primary);
}
.detail-section h3 {
  font-size: 1.3rem;
  margin-bottom: 16px;
  color: var(--text-primary);
}
.detail-section p {
  color: var(--text-secondary);
  line-height: 1.9;
  margin-bottom: 20px;
}
.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 60px;
}
.detail-grid.reverse {
  direction: rtl;
}
.detail-grid.reverse > * {
  direction: ltr;
}
.detail-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 16px;
}
.detail-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  border: 1.5px solid rgba(0, 212, 170, 0.08);
  transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
  opacity: 0;
}
.detail-visual:hover::before {
  opacity: 1;
  border-color: rgba(0, 212, 170, 0.5);
  box-shadow:
    0 0 20px rgba(0, 212, 170, 0.15),
    0 0 40px rgba(0, 212, 170, 0.08),
    inset 0 0 20px rgba(0, 212, 170, 0.06);
  animation: glowPulse 2.5s ease-in-out infinite;
}
.detail-visual svg {
  max-width: 100%;
  height: auto;
  transition: transform 0.6s ease;
  position: relative;
  z-index: 1;
}
.detail-visual:hover svg {
  transform: scale(1.05);
}
.detail-benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin: 40px 0;
}
.benefit-card {
  padding: 24px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  text-align: center;
  transition: all 0.3s ease;
}
.benefit-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
}
.benefit-card .icon {
  font-size: 2rem;
  margin-bottom: 12px;
}
.benefit-card h4 {
  font-size: 1rem;
  margin-bottom: 8px;
}
.benefit-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* Tech Stack Display */
.tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 20px 0;
}
.tech-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: rgba(0, 212, 170, 0.06);
  border: 1px solid rgba(0, 212, 170, 0.15);
  border-radius: 8px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* Workflow Steps */
.workflow {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin: 40px 0;
}
.workflow-step {
  text-align: center;
  padding: 28px 16px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  position: relative;
}
.workflow-step .step-num {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: #fff;
  margin: 0 auto 12px;
}
.workflow-step h4 {
  font-size: 0.95rem;
  margin-bottom: 8px;
}
.workflow-step p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* CTA Banner */
.cta-banner {
  background: linear-gradient(135deg, rgba(0, 212, 170, 0.08), rgba(0, 136, 255, 0.05));
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 60px 40px;
  text-align: center;
  margin: 60px 0;
}
.cta-banner h2 {
  font-size: 2rem;
  margin-bottom: 12px;
}
.cta-banner p {
  color: var(--text-secondary);
  margin-bottom: 28px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .service-inner {
    gap: 48px;
  }
  .tools-showcase {
    gap: 48px;
  }
  .hero-content h1 {
    font-size: 2.8rem;
  }
}

@media (max-width: 768px) {
  :root {
    --section-py: 80px;
  }

  .container {
    padding: 0 24px;
  }

  .nav {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 16px;
    border-bottom: 1px solid var(--glass-border);
  }
  .nav.open {
    display: flex;
  }
  .nav > li > a {
    padding: 12px 16px;
  }
  .dropdown-menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    background: transparent;
    border: none;
    padding: 0 0 0 16px;
    box-shadow: none;
    min-width: auto;
  }
  .dropdown-menu a {
    font-size: 0.85rem;
    padding: 8px 16px;
  }

  .menu-toggle {
    display: flex;
  }

  .hero-content h1 {
    font-size: 2rem;
  }
  .hero-content p {
    font-size: 1rem;
  }
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .service-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .service-section:nth-child(even) .service-inner {
    direction: ltr;
  }
  .service-section:nth-child(even) .service-inner > * {
    direction: ltr;
  }

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

  .case-content {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

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

  .detail-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .detail-grid.reverse {
    direction: ltr;
  }

  .page-header h1 {
    font-size: 2rem;
  }

  .qual-grid {
    gap: 12px;
  }

  .service-illustration {
    min-height: 240px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }
  .hero-content h1 {
    font-size: 1.6rem;
  }
  .section-header h2 {
    font-size: 1.8rem;
  }
  .service-text h3 {
    font-size: 1.4rem;
  }
  .tool-stats {
    grid-template-columns: 1fr;
  }
  .detail-benefits {
    grid-template-columns: 1fr;
  }
  .workflow {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   BACK TO TOP
   ============================================================ */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
  box-shadow: 0 4px 20px rgba(0, 212, 170, 0.25);
}
.back-to-top.show {
  opacity: 1;
  visibility: visible;
}
.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 212, 170, 0.4);
}


/* ============================================================
   FAQ Section - AI SEO
   ============================================================ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
}
.faq-item:hover {
  border-color: rgba(0, 212, 170, 0.3);
}
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-primary);
  gap: 16px;
}
.faq-question svg {
  flex-shrink: 0;
  transition: transform 0.3s ease;
}
.faq-item.faq-open .faq-question svg {
  transform: rotate(180deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}
.faq-item.faq-open .faq-answer {
  max-height: 600px;
  padding: 0 24px 18px;
}
.faq-answer p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin: 0;
}

@media (max-width: 768px) {
  .faq-question {
    font-size: 0.88rem;
    padding: 14px 16px;
  }
  .faq-item.faq-open .faq-answer {
    padding: 0 16px 14px;
  }
  .faq-answer p {
    font-size: 0.82rem;
  }
}
